]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Be explicit about why were not building rlm_rest
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 17 Feb 2013 20:55:11 +0000 (15:55 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 17 Feb 2013 20:55:11 +0000 (15:55 -0500)
src/modules/rlm_rest/configure
src/modules/rlm_rest/configure.in

index 03d4e1bb3e6df89cf5990c8d91ca853f875d6b70..2bbeda2a71be6351ce2ab9344506551814a91b54 100755 (executable)
@@ -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
index bac5018adfbd80ddf3c9e5b98b308570ffb0218e..c140df3718acfff0c19a8b96aee949610225bcb4 100644 (file)
@@ -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