summaryrefslogtreecommitdiff
path: root/security/krb5-16/files/patch-tests-configure
blob: da346a96142413b9aa68a8f8a8ce3b23b4fe091e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- tests/configure.orig	Fri Jun 30 22:10:06 2006
+++ tests/configure	Sun Jul 16 08:36:33 2006
@@ -5303,13 +5303,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
@@ -5368,7 +5368,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