[Mplayer-cvslog] CVS: main configure,1.684,1.685

Jindrich Makovicka CVS henry at mplayerhq.hu
Fri Mar 21 19:11:21 CET 2003


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

Modified Files:
	configure 
Log Message:
fix compile without libsmbclient

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.684
retrieving revision 1.685
diff -u -r1.684 -r1.685
--- configure	21 Mar 2003 17:16:23 -0000	1.684
+++ configure	21 Mar 2003 18:11:18 -0000	1.685
@@ -2340,8 +2340,6 @@
 #include <libsmbclient.h>
 int main(void) { smbc_opendir("smb://"); return 0; }
 EOF
-    _ld_smb=" -L/usr/lib -lsmbclient"
-    _inc_smb=" -I/usr/include "
     if cc_check $_ld_smb $_inc_smb ; then 
 # this is not working for me becouse it needs -ldl and some NIS (YP) libs
 # $_ld_dl and -lyp ? should be added
@@ -2350,9 +2348,13 @@
 fi
 
 if test "$_smbsupport" = yes; then
+    _ld_smb=" -L/usr/lib -lsmbclient"
+    _inc_smb=" -I/usr/include "
     _def_smbsupport="#define LIBSMBCLIENT"
     _inputmodules="smb $_inputmodules"
 else
+    _ld_smb=""
+    _inc_smb=""
     _def_smbsupport="#undef LIBSMBCLIENT"
     _noinputmodules="smb $_noinputmodules"
 fi



More information about the MPlayer-cvslog mailing list