* Makefile.maint (sc_no_have_config_h): Use a more precise regexp.
authorJim Meyering <meyering@redhat.com>
Tue, 18 Mar 2008 22:44:53 +0000 (23:44 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 18 Mar 2008 22:44:53 +0000 (23:44 +0100)
Makefile.maint

index 3ad0c5d..1b85559 100644 (file)
@@ -150,7 +150,7 @@ sc_file_system:
            exit 1; } || :
 
 sc_no_have_config_h:
-       @grep -n 'HAVE''_CONFIG_H' $$($(CVS_LIST_EXCEPT)) &&            \
+       @grep -n '^# *if.*HAVE''_CONFIG_H' $$($(CVS_LIST_EXCEPT)) &&    \
          { echo '$(ME): found use of HAVE''_CONFIG_H; remove'          \
                1>&2; exit 1; } || :