diff options
author | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-08-15 19:13:23 +0000 |
---|---|---|
committer | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-08-15 19:13:23 +0000 |
commit | 755e127c26dac7beb48f19c2b989d02543afd7ae (patch) | |
tree | 411f6a126ada792e263ea481726a23b16f30db69 /configure | |
parent | 38a2fa46fd084eb21a3b348e6f73fabd5d992edc (diff) | |
download | mpv-755e127c26dac7beb48f19c2b989d02543afd7ae.tar.bz2 mpv-755e127c26dac7beb48f19c2b989d02543afd7ae.tar.xz |
ftp support. The change on connect2Server is needed bcs we need 2
different level of verbosity for control and data connections.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10626 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -172,6 +172,7 @@ Optional features: --disable-inet6 Disable IPv6 support [autodetect] --disable-gethostbyname2 gethostbyname() is not provided by the C library [autodetect] + --disable-ftp Disable ftp support [enabled] Codecs: --enable-gif enable gif support [autodetect] --enable-png enable png input/output support [autodetect] @@ -1139,6 +1140,7 @@ _fribidi=no _fribidiconfig='fribidi-config' _inet6=auto _gethostbyname2=auto +_ftp=yes for ac_option do case "$ac_option" in # Skip 1st pass @@ -1336,6 +1338,8 @@ for ac_option do --disable-freetype) _freetype=no ;; --enable-unrarlib) _unrarlib=yes ;; --disable-unrarlib) _unrarlib=no ;; + --enable-ftp) _ftp=yes ;; + --disable-ftp) _ftp=no ;; --enable-fribidi) _fribidi=yes ;; --disable-fribidi) _fribidi=no ;; @@ -4943,6 +4947,16 @@ else fi echores "$_network" +echocheck "ftp" +if test "$_ftp" != no ; then + _def_ftp='#define HAVE_FTP 1' + _inputmodules="ftp $_inputmodules" +else + _noinputmodules="ftp $_noinputmodules" + _def_ftp='#undef HAVE_FTP' +fi +echores "$_ftp" + # endian testing echocheck "byte order" if test "$_big_endian" = auto ; then @@ -5914,6 +5928,9 @@ $_def_faad_version /* enable network */ $_def_network +/* enable ftp support */ +$_def_ftp + /* enable winsock2 instead of Unix functions*/ $_def_winsock2 |