]> arthur.barton.de Git - ngircd.git/blobdiff - configure.ng
MODE: don't report error on "more modes than parameters"
[ngircd.git] / configure.ng
index 84e27508c793721cade924c8ee25f743affbddcd..01da7f6cf8d853056c13ac43a445c093a48bfcbc 100644 (file)
@@ -711,7 +711,8 @@ echo $ECHO_N "   libiconv support: $ECHO_C"
 
 echo
 
-if ! grep "^AUTOMAKE_OPTIONS = ../portab/ansi2knr" src/ngircd/Makefile.am >/dev/null 2>&1; then
+define(_automake_regex_,[[^AUTOMAKE_OPTIONS = [a-z .\-]*/portab/ansi2knr]])
+if ! grep "_automake_regex_" src/ngircd/Makefile.am >/dev/null 2>&1; then
        echo "WARNING:"
        echo "This GNU automake generated build system does not support \"de-ANSI-fication\","
        echo "therefore don't use it to generate \"official\" distribution archives!"