aboutsummaryrefslogtreecommitdiff
path: root/security/krb5/files/patch-appl-telnet-configure
diff options
context:
space:
mode:
Diffstat (limited to 'security/krb5/files/patch-appl-telnet-configure')
-rw-r--r--security/krb5/files/patch-appl-telnet-configure28
1 files changed, 28 insertions, 0 deletions
diff --git a/security/krb5/files/patch-appl-telnet-configure b/security/krb5/files/patch-appl-telnet-configure
new file mode 100644
index 000000000000..c3aa120125c3
--- /dev/null
+++ b/security/krb5/files/patch-appl-telnet-configure
@@ -0,0 +1,28 @@
+--- appl/telnet/configure.orig Fri Jun 30 22:09:57 2006
++++ appl/telnet/configure Sun Jul 16 08:37:35 2006
+@@ -5304,13 +5304,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
+@@ -5369,7 +5369,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