Make curl support work like others by making curl enabled by default and

using --disable-curl as an option.


SVN revision: 21916
This commit is contained in:
Christopher Michael 2006-04-06 22:44:31 +00:00
parent 533774b101
commit bb05e978df
1 changed files with 5 additions and 5 deletions

View File

@ -989,7 +989,7 @@ ecore_file_libs=""
use_fam="no"
use_inotify="yes"
use_poll="yes"
use_curl="no"
use_curl="yes"
AC_MSG_CHECKING(whether ecore_file module is to be built)
AC_ARG_ENABLE(ecore-file,
@ -1099,19 +1099,19 @@ if test "x$have_ecore_file" = "xyes"; then
AC_DEFINE(HAVE_POLL, 1, [ File monitoring with polling ])
fi
use_curl="no"
use_curl="yes"
AC_MSG_CHECKING(whether CURL is to be used for file download)
AC_ARG_ENABLE(curl,
[ --enable-curl enable curl in the ecore_file module],
[ --disable-curl disable curl in the ecore_file module],
[
if test "$enableval" = "yes"; then
AC_MSG_RESULT(yes)
use_curl="yes"
else
AC_MSG_RESULT(no)
use_curl="no"
fi
], [
AC_MSG_RESULT(no)
AC_MSG_RESULT(yes)
]
)