mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Gregor Hoffleit: don't link with libnet on non-BeOS systems
This commit is contained in:
parent
b924bd4610
commit
cb25d5e834
2 changed files with 198 additions and 190 deletions
|
|
@ -624,6 +624,10 @@ IRIX*) ;;
|
||||||
*)
|
*)
|
||||||
AC_CHECK_LIB(nsl, t_open, [LIBS="-lnsl $LIBS"]) # SVR4
|
AC_CHECK_LIB(nsl, t_open, [LIBS="-lnsl $LIBS"]) # SVR4
|
||||||
AC_CHECK_LIB(socket, socket, [LIBS="-lsocket $LIBS"], [], $LIBS) # SVR4 sockets
|
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
|
AC_CHECK_LIB(net, socket, [LIBS="-lnet $LIBS"], [], $LIBS) # BeOS
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue