summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-03-18 23:44:53 +0100
committerJim Meyering <meyering@redhat.com>2008-03-18 23:44:53 +0100
commit7feeb7cf23c987fe70cf41acbe1f4d854bf6807b (patch)
treeb18337adb39545d2411b77ad7c2603f98b64e6dd
parent8378eca4d4468f76bf1a26987e5792c4ded9e10b (diff)
downloadcoreutils-7feeb7cf23c987fe70cf41acbe1f4d854bf6807b.tar.xz
* Makefile.maint (sc_no_have_config_h): Use a more precise regexp.
-rw-r--r--Makefile.maint2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.maint b/Makefile.maint
index 3ad0c5d6f..1b85559b3 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -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; } || :