about summary refs log tree commit diff
path: root/configure.ng
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ng')
-rw-r--r--configure.ng3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ng b/configure.ng
index 732e55ee..47c95990 100644
--- a/configure.ng
+++ b/configure.ng
@@ -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!"