[MPlayer-dev-eng] [PATCH] -lsmbclient not found

Steven M. Schultz sms at 2BSD.COM
Fri Mar 21 18:37:17 CET 2003


Hi -

	The check for -lsmbclient leaves "_ld_smb" set even if the smbclient
	library can not be found, this results in a linker error about
	not finding -lsmbclient.

	I think the fix, below, is to set _ld_smb to an empty string if the
	test compilation fails.

	Cheers,

	Steven Schultz
-------------- next part --------------
--- configure.dist	Fri Mar 21 09:24:34 2003
+++ configure	Fri Mar 21 09:31:43 2003
@@ -2353,6 +2353,8 @@
     _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-dev-eng mailing list