From e704f021969119f255a323ca93ed479efe73b176 Mon Sep 17 00:00:00 2001 From: Mathieu Parent Date: Sun, 25 Jul 2010 10:10:06 +0200 Subject: [PATCH] FSBUILD-285: Fix build with --with-curl --- configure.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.in b/configure.in index 8d2307640b..c6d89f8d54 100644 --- a/configure.in +++ b/configure.in @@ -725,6 +725,10 @@ AC_ARG_WITH(libcurl, AC_HELP_STRING([--with-libcurl=DIR],[look for the curl library in DIR]), [_libcurl_with=$withval],[_libcurl_with=ifelse([$1],,[yes],[$1])]) +AC_CACHE_CHECK([whether to use system libcurl library], [ac_cv_use_system_curl], [ + LIBCURL_CHECK_CONFIG([yes], [7.13.0], [ac_cv_use_system_curl='yes'], [ac_cv_use_system_curl='no']) +]) + if test "$_libcurl_with" = "no" ; then ac_cv_use_system_curl=no; fi @@ -732,10 +736,6 @@ if test "$_libcurl_with" = "yes" ; then ac_cv_use_system_curl=yes; fi -AC_CACHE_CHECK([whether to use system libcurl library], [ac_cv_use_system_curl], [ - LIBCURL_CHECK_CONFIG([yes], [7.13.0], [ac_cv_use_system_curl='yes'], [ac_cv_use_system_curl='no']) -]) - if test "$ac_cv_use_system_curl" != "yes" ; then LIBCURL_DEPS='${switch_builddir}/libs/curl/lib/libcurl.la' LIBCURL='${switch_builddir}/libs/curl/lib/libcurl.la'