[MPlayer-cvslog] r20157 - trunk/configure
diego
subversion at mplayerhq.hu
Wed Oct 11 16:09:30 CEST 2006
Author: diego
Date: Wed Oct 11 16:09:30 2006
New Revision: 20157
Modified:
trunk/configure
Log:
Make the socklib check search gethostbyname/socket in libc.
On glibc it avoids a useless linking to libnsl.
patch by Emanuele Giaquinta, e.giaquinta glauco it
Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Wed Oct 11 16:09:30 2006
@@ -2744,7 +2744,7 @@
int main(void) { (void) gethostbyname(0); (void) socket(AF_INET, SOCK_STREAM, 0); return 0; }
EOF
_socklib=no
-for _ld_tmp in "-lsocket -lbind" "-lsocket -ldnet" "-lsocket -lnsl" "-lnsl" "-lsocket" ; do
+for _ld_tmp in "" "-lsocket -lbind" "-lsocket -ldnet" "-lsocket -lnsl" "-lnsl" "-lsocket" ; do
cc_check $_ld_tmp && _ld_sock="$_ld_tmp" && _socklib=yes && break
done
if test $_winsock2 = auto && not cygwin ; then
More information about the MPlayer-cvslog
mailing list