[MPlayer-cvslog] CVS: main configure,1.1079,1.1080
Diego Biurrun CVS
syncmail at mplayerhq.hu
Sat Oct 15 12:46:27 CEST 2005
CVS change done by Diego Biurrun CVS
Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv2758
Modified Files:
configure
Log Message:
Extend the network test to also check the socket libs.
patch by Derek E. Lewis < dlewis -- at -- solnetworks -- at -- net >
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.1079
retrieving revision 1.1080
diff -u -r1.1079 -r1.1080
--- configure 14 Oct 2005 00:16:04 -0000 1.1079
+++ configure 15 Oct 2005 10:46:24 -0000 1.1080
@@ -2482,7 +2482,8 @@
# for BeOS (socket stuff is in -lsocket, gethostbyname and friends in -lbind):
cat > $TMPC << EOF
#include <netdb.h>
-int main(void) { (void) gethostbyname(0); return 0; }
+#include <sys/socket.h>
+int main(void) { (void) gethostbyname(0); (void) socket(AF_INET, SOCK_STREAM, 0); return 0; }
EOF
for _ld_tmp in "-lsocket -lbind" "-lsocket -ldnet" "-lsocket -lnsl" "-lnsl" "-lsocket" ; do
cc_check $_ld_tmp && _ld_sock="$_ld_tmp" && break
More information about the MPlayer-cvslog
mailing list