]> git.sur5r.net Git - openldap/commitdiff
Added -lnet for BeOS libs. Also need to add some sort of workaround for inet_aton...
authorBen Collins <bcollins@openldap.org>
Tue, 4 May 1999 12:33:21 +0000 (12:33 +0000)
committerBen Collins <bcollins@openldap.org>
Tue, 4 May 1999 12:33:21 +0000 (12:33 +0000)
configure
configure.in

index 7c88e31f8d0c30c1dd4cf892fc23a970969718f0..eb3dc6f93553e78ea5f90dc86e55df3b88e1393e 100755 (executable)
--- a/configure
+++ b/configure
@@ -2803,7 +2803,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-lbe -lroot $LIBS"
+LIBS="-lbe -lroot -lnet $LIBS"
 cat > conftest.$ac_ext <<EOF
 #line 2809 "configure"
 #include "confdefs.h"
@@ -2831,7 +2831,7 @@ LIBS="$ac_save_LIBS"
 fi
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
   echo "$ac_t""yes" 1>&6
-  LIBS="$LIBS -lbe -lroot"
+  LIBS="$LIBS -lbe -lroot -lnet"
 else
   echo "$ac_t""no" 1>&6
 :
index 8fa745d166a97711181dbd6b6fc84ced2832355e..89672c1a520b6f2b48b2ef5dbb8da50a90ce2a46 100644 (file)
@@ -369,8 +369,8 @@ AC_AIX
 AC_ISC_POSIX
 AC_MINIX
 
-dnl BeOS requires -lbe -lroot
-AC_CHECK_LIB(be, be_app, [LIBS="$LIBS -lbe -lroot"], :, [-lroot])
+dnl BeOS requires -lbe -lroot -lnet
+AC_CHECK_LIB(be, be_app, [LIBS="$LIBS -lbe -lroot -lnet"], :, [-lroot -lnet])
 
 dnl Checks for system services
 AC_CYGWIN