* Fixed macro checking for version of libreadline (Mac OS X) [Sheplyakov].
authorJens Vollinga <vollinga@thep.physik.uni-mainz.de>
Wed, 21 Nov 2007 04:01:20 +0000 (04:01 +0000)
committerJens Vollinga <vollinga@thep.physik.uni-mainz.de>
Wed, 21 Nov 2007 04:01:20 +0000 (04:01 +0000)
acinclude.m4

index 11c80399c6b4200c18d8f1879a3a46f29b7e78c4..dd7299c08ebea595232594d3c224e39918fe1015 100644 (file)
@@ -26,7 +26,7 @@ int main()
     return 0;
 }], [
 dnl Some non-GNU readline implementations have non-numeric rl_library_version
     return 0;
 }], [
 dnl Some non-GNU readline implementations have non-numeric rl_library_version
-ginac_cv_rlversion=`sed -e 's/[^0-9.]//g' 'conftest.out'`], [ ginac_cv_rlversion='unknown'], [ ginac_cv_rlversion='4.2'])])
+ginac_cv_rlversion=`sed -e 's/[[^0-9.]]//g' 'conftest.out'`], [ ginac_cv_rlversion='unknown'], [ ginac_cv_rlversion='4.2'])])
 if test -z "$ginac_cv_rlversion"; then
        GINAC_WARNING([Unsupported version of libreadline.])
        ginac_cv_rlversion='unknown'
 if test -z "$ginac_cv_rlversion"; then
        GINAC_WARNING([Unsupported version of libreadline.])
        ginac_cv_rlversion='unknown'