mirror of
https://github.com/mpv-player/mpv
synced 2025-01-07 07:30:09 +00:00
Rename _smbsupport variable to _smb.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27403 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
02135001b4
commit
4649650cc0
26
configure
vendored
26
configure
vendored
@ -626,7 +626,7 @@ _tv_teletext=auto
|
|||||||
_pvr=auto
|
_pvr=auto
|
||||||
_network=yes
|
_network=yes
|
||||||
_winsock2=auto
|
_winsock2=auto
|
||||||
_smbsupport=auto
|
_smb=auto
|
||||||
_vidix=auto
|
_vidix=auto
|
||||||
_vidix_pcidb=yes
|
_vidix_pcidb=yes
|
||||||
_dhahelper=no
|
_dhahelper=no
|
||||||
@ -1027,8 +1027,8 @@ for ac_option do
|
|||||||
--disable-network) _network=no ;;
|
--disable-network) _network=no ;;
|
||||||
--enable-winsock2) _winsock2=yes ;;
|
--enable-winsock2) _winsock2=yes ;;
|
||||||
--disable-winsock2) _winsock2=no ;;
|
--disable-winsock2) _winsock2=no ;;
|
||||||
--enable-smb) _smbsupport=yes ;;
|
--enable-smb) _smb=yes ;;
|
||||||
--disable-smb) _smbsupport=no ;;
|
--disable-smb) _smb=no ;;
|
||||||
--enable-vidix) _vidix=yes ;;
|
--enable-vidix) _vidix=yes ;;
|
||||||
--disable-vidix) _vidix=no ;;
|
--disable-vidix) _vidix=no ;;
|
||||||
--with-vidix-drivers=*)
|
--with-vidix-drivers=*)
|
||||||
@ -3710,29 +3710,29 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
echocheck "Samba support (libsmbclient)"
|
echocheck "Samba support (libsmbclient)"
|
||||||
if test "$_smbsupport" = yes; then
|
if test "$_smb" = yes; then
|
||||||
_ld_extra="$_ld_extra -lsmbclient"
|
_ld_extra="$_ld_extra -lsmbclient"
|
||||||
fi
|
fi
|
||||||
if test "$_smbsupport" = auto; then
|
if test "$_smb" = auto; then
|
||||||
_smbsupport=no
|
_smb=no
|
||||||
cat > $TMPC << EOF
|
cat > $TMPC << EOF
|
||||||
#include <libsmbclient.h>
|
#include <libsmbclient.h>
|
||||||
int main(void) { smbc_opendir("smb://"); return 0; }
|
int main(void) { smbc_opendir("smb://"); return 0; }
|
||||||
EOF
|
EOF
|
||||||
for _ld_tmp in "-lsmbclient" "-lsmbclient $_ld_dl" "-lsmbclient $_ld_dl -lnsl" "-lsmbclient $_ld_dl -lssl -lnsl" ; do
|
for _ld_tmp in "-lsmbclient" "-lsmbclient $_ld_dl" "-lsmbclient $_ld_dl -lnsl" "-lsmbclient $_ld_dl -lssl -lnsl" ; do
|
||||||
cc_check $_ld_tmp && _ld_extra="$_ld_extra $_ld_tmp" && \
|
cc_check $_ld_tmp && _ld_extra="$_ld_extra $_ld_tmp" && \
|
||||||
_smbsupport=yes && break
|
_smb=yes && break
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$_smbsupport" = yes; then
|
if test "$_smb" = yes; then
|
||||||
_def_smbsupport="#define LIBSMBCLIENT"
|
_def_smb="#define LIBSMBCLIENT"
|
||||||
_inputmodules="smb $_inputmodules"
|
_inputmodules="smb $_inputmodules"
|
||||||
else
|
else
|
||||||
_def_smbsupport="#undef LIBSMBCLIENT"
|
_def_smb="#undef LIBSMBCLIENT"
|
||||||
_noinputmodules="smb $_noinputmodules"
|
_noinputmodules="smb $_noinputmodules"
|
||||||
fi
|
fi
|
||||||
echores "$_smbsupport"
|
echores "$_smb"
|
||||||
|
|
||||||
|
|
||||||
#########
|
#########
|
||||||
@ -7833,7 +7833,7 @@ LIBMENU = $_menu
|
|||||||
LIBMENU_DVBIN = $_menu_dvbin
|
LIBMENU_DVBIN = $_menu_dvbin
|
||||||
LIBNEMESI = $_nemesi
|
LIBNEMESI = $_nemesi
|
||||||
LIBNUT = $_libnut
|
LIBNUT = $_libnut
|
||||||
LIBSMBCLIENT = $_smbsupport
|
LIBSMBCLIENT = $_smb
|
||||||
LIBTHEORA = $_theora
|
LIBTHEORA = $_theora
|
||||||
LIBVORBIS = $_vorbis
|
LIBVORBIS = $_vorbis
|
||||||
LIRC = $_lirc
|
LIRC = $_lirc
|
||||||
@ -8488,7 +8488,7 @@ $_def_mkstemp
|
|||||||
$_def_nanosleep
|
$_def_nanosleep
|
||||||
|
|
||||||
/* SMB support */
|
/* SMB support */
|
||||||
$_def_smbsupport
|
$_def_smb
|
||||||
|
|
||||||
/* termcap flag for getch2.c */
|
/* termcap flag for getch2.c */
|
||||||
$_def_termcap
|
$_def_termcap
|
||||||
|
Loading…
Reference in New Issue
Block a user