mirror of https://github.com/python/cpython
Gregor Hoffleit: don't link with libnet on non-BeOS systems
This commit is contained in:
parent
b924bd4610
commit
cb25d5e834
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue