Gregor Hoffleit: don't link with libnet on non-BeOS systems

This commit is contained in:
Jeremy Hylton 2000-07-27 21:23:28 +00:00
parent b924bd4610
commit cb25d5e834
2 changed files with 198 additions and 190 deletions

384
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -624,6 +624,10 @@ IRIX*) ;;
*)
AC_CHECK_LIB(nsl, t_open, [LIBS="-lnsl $LIBS"]) # SVR4
AC_CHECK_LIB(socket, socket, [LIBS="-lsocket $LIBS"], [], $LIBS) # SVR4 sockets
;;
esac
case "$ac_sys_system" in
BeOS*)
AC_CHECK_LIB(net, socket, [LIBS="-lnet $LIBS"], [], $LIBS) # BeOS
;;
esac