]> git.sur5r.net Git - openldap/commitdiff
ITS#7071 check for socket() in -lnet
authorHoward Chu <hyc@openldap.org>
Tue, 1 Nov 2011 19:09:01 +0000 (12:09 -0700)
committerHoward Chu <hyc@openldap.org>
Tue, 1 Nov 2011 19:09:01 +0000 (12:09 -0700)
configure.in

index d70d5c72ac4d46432c8be2361e4f7b543378319b..b347fe34b6da10656d58f36e042720ff12a6cfff 100644 (file)
@@ -939,7 +939,7 @@ dnl         -linet
 AC_CHECK_FUNC(socket, :, [     
 dnl hopefully we won't include too many libraries
        AC_CHECK_LIB(socket, main)
-       AC_CHECK_LIB(net, main)
+       AC_CHECK_LIB(net, socket)
        AC_CHECK_LIB(nsl_s, main)
        AC_CHECK_LIB(nsl, main)
        AC_CHECK_LIB(inet, socket)