summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-03-21 18:21:00 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-03-21 18:21:00 +0000
commit255abc60b0ba5ffa930aa88fa399e52f5de5f540 (patch)
tree59c0b625d371841e38faf92f259ec34b333d7b95 /configure
parent7218ad587692fc2564883e329c366b91b7870798 (diff)
downloadmpv-255abc60b0ba5ffa930aa88fa399e52f5de5f540.tar.bz2
mpv-255abc60b0ba5ffa930aa88fa399e52f5de5f540.tar.xz
10l noticed by Steven M. Schultz <sms@2BSD.COM> and a bit cleaned up
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9642 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 2 insertions, 6 deletions
diff --git a/configure b/configure
index cfa77e0667..3d4a463477 100755
--- a/configure
+++ b/configure
@@ -2340,7 +2340,7 @@ if test "$_smbsupport" = auto; then
#include <libsmbclient.h>
int main(void) { smbc_opendir("smb://"); return 0; }
EOF
- if cc_check $_ld_smb $_inc_smb ; then
+ if cc_check -lsmbclient ; then
# this is not working for me becouse it needs -ldl and some NIS (YP) libs
# $_ld_dl and -lyp ? should be added
_smbsupport=yes
@@ -2348,13 +2348,10 @@ EOF
fi
if test "$_smbsupport" = yes; then
- _ld_smb=" -L/usr/lib -lsmbclient"
- _inc_smb=" -I/usr/include "
+ _ld_smb="-lsmbclient"
_def_smbsupport="#define LIBSMBCLIENT"
_inputmodules="smb $_inputmodules"
else
- _ld_smb=""
- _inc_smb=""
_def_smbsupport="#undef LIBSMBCLIENT"
_noinputmodules="smb $_noinputmodules"
fi
@@ -5096,7 +5093,6 @@ LIBLZO_LIB= $_ld_liblzo
MAD_LIB = $_ld_mad
VORBIS_LIB = $_ld_vorbis $_ld_libdv
FAAD_LIB = $_ld_faad
-SMBSUPPORT_INC = $_inc_smb
SMBSUPPORT_LIB = $_ld_smb
XMMS_PLUGINS = $_xmms
XMMS_LIB = $_xmms_lib