From: Arran Cudbard-Bell Date: Sun, 17 Feb 2013 20:55:11 +0000 (-0500) Subject: Be explicit about why were not building rlm_rest X-Git-Tag: release_3_0_0_beta1~1058 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a9039c6a2555f7e4093c8160d422a548eafbbe3;p=thirdparty%2Ffreeradius-server.git Be explicit about why were not building rlm_rest --- diff --git a/src/modules/rlm_rest/configure b/src/modules/rlm_rest/configure index 03d4e1bb3e6..2bbeda2a71b 100755 --- a/src/modules/rlm_rest/configure +++ b/src/modules/rlm_rest/configure @@ -3258,7 +3258,9 @@ _ACEOF unset _libcurl_with - if test "x$libcurl_cv_lib_curl_usable" != "xyes"; then + if test "x$libcurl_cv_lib_version_ok" != "xyes"; then + fail="$fail libcurl too old" + elif test "x$libcurl_cv_lib_curl_usable" != "xyes"; then fail="$fail libcurl" else if test x$libcurl_protocol_HTTP != xyes; then diff --git a/src/modules/rlm_rest/configure.in b/src/modules/rlm_rest/configure.in index bac5018adfb..c140df3718a 100644 --- a/src/modules/rlm_rest/configure.in +++ b/src/modules/rlm_rest/configure.in @@ -20,7 +20,9 @@ if test x$with_[]modname != xno; then LIBCURL_CHECK_CONFIG([], [7.19.1]) - if test "x$libcurl_cv_lib_curl_usable" != "xyes"; then + if test "x$libcurl_cv_lib_version_ok" != "xyes"; then + fail="$fail libcurl too old" + elif test "x$libcurl_cv_lib_curl_usable" != "xyes"; then fail="$fail libcurl" else if test x$libcurl_protocol_HTTP != xyes; then