# HG changeset patch # User diego # Date 1285538793 0 # Node ID 7a7456aea7d86c1a5bf274f8c88e61aa294eba47 # Parent 33d9f6230dffbc18ae048d4581903604fa65c9a9 Add proper autodetection for FTP support; should fix Bugzilla #1804. diff -r 33d9f6230dff -r 7a7456aea7d8 configure --- a/configure Sun Sep 26 21:51:39 2010 +0000 +++ b/configure Sun Sep 26 22:06:33 2010 +0000 @@ -781,7 +781,7 @@ _enca=auto _inet6=auto _gethostbyname2=auto -_ftp=yes +_ftp=auto _musepack=auto _vstream=auto _pthreads=auto @@ -7617,7 +7617,10 @@ echocheck "ftp" -if ! beos && test "$networking" = yes && test "$_ftp" = yes ; then +if test "$_ftp" = "auto" ; then +test "$networking" = "yes" && ! beos && _ftp=yes +fi +if test "$_ftp" = yes ; then def_ftp='#define CONFIG_FTP 1' inputmodules="ftp $inputmodules" else