[Mplayer-cvslog] CVS: main configure,1.343,1.344

pl pl at mplayer.dev.hu
Sat Dec 29 01:09:16 CET 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv30432

Modified Files:
	configure 
Log Message:
missing -lsocket for sunos
qnx & win32


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.343
retrieving revision 1.344
diff -u -r1.343 -r1.344
--- configure	29 Dec 2001 00:03:47 -0000	1.343
+++ configure	29 Dec 2001 00:09:10 -0000	1.344
@@ -1065,8 +1065,9 @@
 #include <netdb.h>
 int main(void) { (void) gethostbyname(0); return 0; }
 EOF
-cc_check $_ld_sock -lsocket && _ld_sock="$_ld_sock -lsocket"
-cc_check $_ld_sock -lnsl && _ld_sock="$_ld_sock -lnsl"
+cc_check -lsocket && _ld_sock="-lsocket"
+cc_check -lnsl && _ld_sock="-lnsl"
+cc_check -lsocket -lnsl && _ld_sock="-lsocket -lnsl"
 if test "$_ld_sock" ; then
   echores "yes (using $_ld_sock)"
 else
@@ -2134,9 +2135,7 @@
 
 
 echocheck "Win32 DLL support"
-if test "$_win32" = auto && qnx ; then
-  _win32=no
-fi
+qnx && _win32=no
 if test "$_win32" = auto ; then
   _win32=no
   if x86 ; then




More information about the MPlayer-cvslog mailing list