freebsd-ports/security/krb5-17/files/patch-configure

28 lines
824 B
Text

--- configure.orig Fri Jun 30 22:10:17 2006
+++ configure Sun Jul 16 08:03:41 2006
@@ -5337,13 +5337,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 -c... $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
@@ -5402,7 +5402,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