aboutsummaryrefslogtreecommitdiff
path: root/security/krb5/files/patch-plugins-kdb-db2-configure
diff options
context:
space:
mode:
Diffstat (limited to 'security/krb5/files/patch-plugins-kdb-db2-configure')
-rw-r--r--security/krb5/files/patch-plugins-kdb-db2-configure28
1 files changed, 28 insertions, 0 deletions
diff --git a/security/krb5/files/patch-plugins-kdb-db2-configure b/security/krb5/files/patch-plugins-kdb-db2-configure
new file mode 100644
index 000000000000..11f54c68b352
--- /dev/null
+++ b/security/krb5/files/patch-plugins-kdb-db2-configure
@@ -0,0 +1,28 @@
+--- plugins/kdb/db2/configure.orig Fri Jun 30 22:09:11 2006
++++ plugins/kdb/db2/configure Sun Jul 16 08:30:10 2006
+@@ -5306,13 +5306,13 @@
+ CFLAGS="$old_CFLAGS"
+
+
+-echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
+-echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++echo "$as_me:$LINENO: checking for dlopen in -lc" >&5
++echo $ECHO_N "checking for dlopen in -lc... $ECHO_C" >&6
+ if test "${ac_cv_lib_dl_dlopen+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-ldl $LIBS"
++LIBS="$LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -5371,7 +5371,7 @@
+ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
+ echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
+ if test $ac_cv_lib_dl_dlopen = yes; then
+- DL_LIB=-ldl
++ DL_LIB=""
+
+ cat >>confdefs.h <<\_ACEOF
+ #define USE_DLOPEN 1