Mercurial > mplayer.hg
changeset 36605:76bf1d04f31b
stream_smb: Make autodetection work for samba 4.0.
author | reimar |
---|---|
date | Wed, 22 Jan 2014 19:38:43 +0000 |
parents | 426713eff5fd |
children | baa7a9f7ce9e |
files | configure |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Wed Jan 22 19:37:37 2014 +0000 +++ b/configure Wed Jan 22 19:38:43 2014 +0000 @@ -4272,9 +4272,12 @@ 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