]> granicus.if.org Git - curl/commitdiff
fixed the dlopen check
authorDaniel Stenberg <daniel@haxx.se>
Thu, 31 May 2001 08:24:50 +0000 (08:24 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 31 May 2001 08:24:50 +0000 (08:24 +0000)
configure.in

index 78bfb92f9fed2b375161dff287be6caa1776f296..d07158775819447e83eb6be41f2874866568edb4 100644 (file)
@@ -418,7 +418,7 @@ dnl ucb lib?
 AC_CHECK_FUNC(gethostname, , AC_CHECK_LIB(ucb, gethostname))
 
 dnl dl lib?
-AC_CHECK_FUNC(dlopen, , AC_CHECK_LIB(dl, dlopen))
+AC_CHECK_FUNC(dlclose, , AC_CHECK_LIB(dl, dlopen))
 
 dnl **********************************************************************
 dnl Check for the random seed preferences 
@@ -799,7 +799,8 @@ AC_CHECK_FUNCS( socket \
                 getpass_r \
                 strlcat \
                 getpwuid \
-                geteuid
+                geteuid \
+                dlopen
 )
 
 dnl removed 'getpass' check on October 26, 2000