Mercurial > mplayer.hg
comparison configure @ 27371:e243c8e00bd2
Rename _smbsupport variable to _smb.
author | diego |
---|---|
date | Sun, 03 Aug 2008 15:57:18 +0000 |
parents | 14c5017f40d2 |
children | fa3166857274 |
comparison
equal
deleted
inserted
replaced
27370:14c5017f40d2 | 27371:e243c8e00bd2 |
---|---|
624 _tv_dshow=auto | 624 _tv_dshow=auto |
625 _tv_teletext=auto | 625 _tv_teletext=auto |
626 _pvr=auto | 626 _pvr=auto |
627 _network=yes | 627 _network=yes |
628 _winsock2=auto | 628 _winsock2=auto |
629 _smbsupport=auto | 629 _smb=auto |
630 _vidix=auto | 630 _vidix=auto |
631 _vidix_pcidb=yes | 631 _vidix_pcidb=yes |
632 _dhahelper=no | 632 _dhahelper=no |
633 _svgalib_helper=no | 633 _svgalib_helper=no |
634 _joystick=no | 634 _joystick=no |
1025 --disable-fastmemcpy) _fastmemcpy=no ;; | 1025 --disable-fastmemcpy) _fastmemcpy=no ;; |
1026 --enable-network) _network=yes ;; | 1026 --enable-network) _network=yes ;; |
1027 --disable-network) _network=no ;; | 1027 --disable-network) _network=no ;; |
1028 --enable-winsock2) _winsock2=yes ;; | 1028 --enable-winsock2) _winsock2=yes ;; |
1029 --disable-winsock2) _winsock2=no ;; | 1029 --disable-winsock2) _winsock2=no ;; |
1030 --enable-smb) _smbsupport=yes ;; | 1030 --enable-smb) _smb=yes ;; |
1031 --disable-smb) _smbsupport=no ;; | 1031 --disable-smb) _smb=no ;; |
1032 --enable-vidix) _vidix=yes ;; | 1032 --enable-vidix) _vidix=yes ;; |
1033 --disable-vidix) _vidix=no ;; | 1033 --disable-vidix) _vidix=no ;; |
1034 --with-vidix-drivers=*) | 1034 --with-vidix-drivers=*) |
1035 _vidix_drivers=`echo $ac_option | cut -d '=' -f 2` | 1035 _vidix_drivers=`echo $ac_option | cut -d '=' -f 2` |
1036 ;; | 1036 ;; |
3708 echores "no" | 3708 echores "no" |
3709 fi | 3709 fi |
3710 | 3710 |
3711 | 3711 |
3712 echocheck "Samba support (libsmbclient)" | 3712 echocheck "Samba support (libsmbclient)" |
3713 if test "$_smbsupport" = yes; then | 3713 if test "$_smb" = yes; then |
3714 _ld_extra="$_ld_extra -lsmbclient" | 3714 _ld_extra="$_ld_extra -lsmbclient" |
3715 fi | 3715 fi |
3716 if test "$_smbsupport" = auto; then | 3716 if test "$_smb" = auto; then |
3717 _smbsupport=no | 3717 _smb=no |
3718 cat > $TMPC << EOF | 3718 cat > $TMPC << EOF |
3719 #include <libsmbclient.h> | 3719 #include <libsmbclient.h> |
3720 int main(void) { smbc_opendir("smb://"); return 0; } | 3720 int main(void) { smbc_opendir("smb://"); return 0; } |
3721 EOF | 3721 EOF |
3722 for _ld_tmp in "-lsmbclient" "-lsmbclient $_ld_dl" "-lsmbclient $_ld_dl -lnsl" "-lsmbclient $_ld_dl -lssl -lnsl" ; do | 3722 for _ld_tmp in "-lsmbclient" "-lsmbclient $_ld_dl" "-lsmbclient $_ld_dl -lnsl" "-lsmbclient $_ld_dl -lssl -lnsl" ; do |
3723 cc_check $_ld_tmp && _ld_extra="$_ld_extra $_ld_tmp" && \ | 3723 cc_check $_ld_tmp && _ld_extra="$_ld_extra $_ld_tmp" && \ |
3724 _smbsupport=yes && break | 3724 _smb=yes && break |
3725 done | 3725 done |
3726 fi | 3726 fi |
3727 | 3727 |
3728 if test "$_smbsupport" = yes; then | 3728 if test "$_smb" = yes; then |
3729 _def_smbsupport="#define LIBSMBCLIENT" | 3729 _def_smb="#define LIBSMBCLIENT" |
3730 _inputmodules="smb $_inputmodules" | 3730 _inputmodules="smb $_inputmodules" |
3731 else | 3731 else |
3732 _def_smbsupport="#undef LIBSMBCLIENT" | 3732 _def_smb="#undef LIBSMBCLIENT" |
3733 _noinputmodules="smb $_noinputmodules" | 3733 _noinputmodules="smb $_noinputmodules" |
3734 fi | 3734 fi |
3735 echores "$_smbsupport" | 3735 echores "$_smb" |
3736 | 3736 |
3737 | 3737 |
3738 ######### | 3738 ######### |
3739 # VIDEO # | 3739 # VIDEO # |
3740 ######### | 3740 ######### |
7831 LIBMAD = $_mad | 7831 LIBMAD = $_mad |
7832 LIBMENU = $_menu | 7832 LIBMENU = $_menu |
7833 LIBMENU_DVBIN = $_menu_dvbin | 7833 LIBMENU_DVBIN = $_menu_dvbin |
7834 LIBNEMESI = $_nemesi | 7834 LIBNEMESI = $_nemesi |
7835 LIBNUT = $_libnut | 7835 LIBNUT = $_libnut |
7836 LIBSMBCLIENT = $_smbsupport | 7836 LIBSMBCLIENT = $_smb |
7837 LIBTHEORA = $_theora | 7837 LIBTHEORA = $_theora |
7838 LIBVORBIS = $_vorbis | 7838 LIBVORBIS = $_vorbis |
7839 LIRC = $_lirc | 7839 LIRC = $_lirc |
7840 MACOSX_BUNDLE = $_macosx_bundle | 7840 MACOSX_BUNDLE = $_macosx_bundle |
7841 MACOSX_FINDER_SUPPORT = $_macosx_finder_support | 7841 MACOSX_FINDER_SUPPORT = $_macosx_finder_support |
8486 | 8486 |
8487 /* nanosleep support */ | 8487 /* nanosleep support */ |
8488 $_def_nanosleep | 8488 $_def_nanosleep |
8489 | 8489 |
8490 /* SMB support */ | 8490 /* SMB support */ |
8491 $_def_smbsupport | 8491 $_def_smb |
8492 | 8492 |
8493 /* termcap flag for getch2.c */ | 8493 /* termcap flag for getch2.c */ |
8494 $_def_termcap | 8494 $_def_termcap |
8495 | 8495 |
8496 /* termios flag for getch2.c */ | 8496 /* termios flag for getch2.c */ |