X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=config9.m4;fp=config9.m4;h=8bedac7fec173d1f098ce9e709ed4acf7871160b;hp=8ad36a39f6eac84ab79f3e5b30b7d43fb49a880a;hb=8c1ed3eb9cb4d30b619cbf7a7a1141687cadeaaa;hpb=a0b353aee79cf73b632d81d3426697c5413da280 diff --git a/config9.m4 b/config9.m4 index 8ad36a3..8bedac7 100644 --- a/config9.m4 +++ b/config9.m4 @@ -170,7 +170,7 @@ dnl ---- AC_MSG_CHECKING([for curl version >= 7.12.3]) CURL_VERSION=`$CURL_CONFIG --version | $SED -e 's/[[^0-9\.]]//g'` AC_MSG_RESULT([$CURL_VERSION]) - if test `echo $CURL_VERSION | $AWK '{print $1*10000 + $2*100 + $3}'` -lt 71203; then + if test `echo $CURL_VERSION | $SED -e 's/[[^0-9]]/ /g' | $AWK '{print $1*10000 + $2*100 + $3}'` -lt 71203; then AC_MSG_ERROR([libcurl version greater or equal to 7.12.3 required]) fi