httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <...@light.plus.com>
Subject [PATCH] apr configure cosmetics
Date Mon, 30 Oct 2000 21:11:46 GMT
This is just cosmetics: use AC_SEARCH_LIBS rather than AC_CHECK_LIB in a
couple of places. Doing this for gethostname just means -lnsl won't get
put into LIBS twice which has been bugging me for ages.

--- configure.in.2nd	Mon Oct 30 20:54:29 2000
+++ configure.in	Mon Oct 30 21:08:48 2000
@@ -201,10 +201,9 @@
 
 dnl #----------------------------- Checks for Any required Libraries
 AC_CHECK_LIB(nsl,gethostbyname)
-AC_CHECK_LIB(nsl,gethostname)
+AC_SEARCH_LIBS(gethostname, nsl)
 AC_CHECK_LIB(socket,socket)
-AC_CHECK_LIB(crypt,crypt)
-AC_CHECK_LIB(ufc,crypt)
+AC_SEARCH_LIBS(crypt, crypt ufc)
 AC_CHECK_LIB(truerand,main)
 AC_CHECK_LIB(iconv,iconv)
 


Mime
View raw message