[MPlayer-cvslog] r36701 - trunk/configure
reimar
subversion at mplayerhq.hu
Wed Jan 22 20:38:43 CET 2014
Author: reimar
Date: Wed Jan 22 20:38:43 2014
New Revision: 36701
Log:
stream_smb: Make autodetection work for samba 4.0.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Wed Jan 22 20:37:37 2014 (r36700)
+++ trunk/configure Wed Jan 22 20:38:43 2014 (r36701)
@@ -4272,9 +4272,12 @@ if test "$_smb" = yes; then
fi
if test "$_smb" = auto; then
_smb=no
+ pkg_inc=$($_pkg_config --cflags smbclient)
for ld_tmp in "-lsmbclient" "-lsmbclient $ld_dl" "-lsmbclient $ld_dl -lnsl" "-lsmbclient $ld_dl -lssl -lnsl" ; do
statement_check libsmbclient.h 'smbc_opendir("smb://")' $ld_tmp &&
extra_ldflags="$extra_ldflags $ld_tmp" && _smb=yes && break
+ statement_check libsmbclient.h 'smbc_opendir("smb://")' $ld_tmp $pkg_inc &&
+ extra_ldflags="$extra_ldflags $ld_tmp" && extra_cflags="$extra_cflags $pkg_inc" && _smb=yes && break
done
fi
More information about the MPlayer-cvslog
mailing list