Hi Tim, > the command expands to > > if gawk --version | grep GNU >/dev/null 2>&1; then \ > (cd . && autoconf --trace AC_CONFIG_FILES:'$1') | \ > tr ' ' '\n' | \ > /usr/bin/sed -ne '/Makefile/{s/\.in$//;p;}' | \ > while read m; do \ > make -qp -f $m .DUMMY-TARGET 2>/dev/null | \ > gawk -v file=$m -e 'BEGIN { RS = "\n\n"; in_rules = 0; } /^# > Files/ { in_rules = 1; } /\$</ && in_rules && $0 !~ /^(.*\n)* > \.\w+(\.\w+)?:/ { print "Error: " file ": $< in a non implicit rule\n"
Does the attached patch fix it? Bruno
diff --git a/top/maint.mk b/top/maint.mk index 16e9360..cb52631 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -429,7 +429,7 @@ sc_prohibit_gnu_make_extensions_awk_ = \ in_rules = 1; \ } \ /\$$</ && in_rules && $$0 !~ /^(.*\n)*\.\w+(\.\w+)?:/ { \ - print "Error: " file ": $$< in a non implicit rule\n" $$0; \ + print "Error: " file ": $$" "< in a non implicit rule\n" $$0; \ status = 1; \ } \ END { \