[Python-checkins] CVS: python/dist/src configure.in,1.139,1.140 configure,1.130,1.131
Jeremy Hylton
python-dev@python.org
Thu, 27 Jul 2000 14:23:31 -0700
Update of /cvsroot/python/python/dist/src
In directory slayer.i.sourceforge.net:/tmp/cvs-serv31476
Modified Files:
configure.in configure
Log Message:
Gregor Hoffleit: don't link with libnet on non-BeOS systems
Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.139
retrieving revision 1.140
diff -C2 -r1.139 -r1.140
*** configure.in 2000/07/27 20:58:58 1.139
--- configure.in 2000/07/27 21:23:28 1.140
***************
*** 625,628 ****
--- 625,632 ----
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
;;
Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.130
retrieving revision 1.131
diff -C2 -r1.130 -r1.131
*** configure 2000/07/27 21:03:04 1.130
--- configure 2000/07/27 21:23:28 1.131
***************
*** 2795,2800 ****
fi
# SVR4 sockets
echo $ac_n "checking for socket in -lnet""... $ac_c" 1>&6
! echo "configure:2799: checking for socket in -lnet" >&5
ac_lib_var=`echo net'_'socket | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
--- 2795,2804 ----
fi
# SVR4 sockets
+ ;;
[...2260 lines suppressed...]
echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
! echo "configure:5707: checking for socklen_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_socklen_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 5712 "configure"
#include "confdefs.h"
#include <sys/types.h>
--- 5708,5717 ----
EOF
echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
! echo "configure:5711: checking for socklen_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_socklen_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 5716 "configure"
#include "confdefs.h"
#include <sys/types.h>