summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-03-21 18:11:18 +0000
committerhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-03-21 18:11:18 +0000
commit7218ad587692fc2564883e329c366b91b7870798 (patch)
tree6d05ab67bdf6bfb4b88ad9e8f583c78145bf8957 /configure
parent79926901bcbd34758b7a84ee9ceac18440a7bc02 (diff)
downloadmpv-7218ad587692fc2564883e329c366b91b7870798.tar.bz2
mpv-7218ad587692fc2564883e329c366b91b7870798.tar.xz
fix compile without libsmbclient
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9641 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure b/configure
index 02d607276e..cfa77e0667 100755
--- a/configure
+++ b/configure
@@ -2340,8 +2340,6 @@ if test "$_smbsupport" = auto; then
#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 @@ EOF
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