* Makefile.cfg (local-checks-to-skip): Remove sc_no_have_config_h.
* qemud/mdns.c: Remove "#ifdef HAVE_CONFIG_H".
* Makefile.maint (sc_no_have_config_h): Tighten up regexp,
so that the above mention of "HAVE_CONFIG_H" doesn't match.
* .x-sc_no_have_config_h: New file, to exempt gnulib/ straggler.
--- /dev/null
+^gnulib/lib/strsep\.c$
Thu Feb 7 20:19:19 CET 2008 Jim Meyering <meyering@redhat.com>
+ Enable another syntax-check rule.
+ * Makefile.cfg (local-checks-to-skip): Remove sc_no_have_config_h.
+ * qemud/mdns.c: Remove "#ifdef HAVE_CONFIG_H".
+ * Makefile.maint (sc_no_have_config_h): Tighten up regexp,
+ so that the above mention of "HAVE_CONFIG_H" doesn't match.
+ * .x-sc_no_have_config_h: New file, to exempt gnulib/ straggler.
+
* autobuild.sh: Run "make syntax-check", so the autobuilder does this.
Thu Feb 7 18:02:22 CET 2008 Daniel Veillard <veillard@redhat.com>
local-checks-to-skip = \
makefile_path_separator_check \
makefile-check \
- sc_no_have_config_h \
sc_tight_scope \
sc_GPL_version \
sc_always_defined_macros \
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; } || :
* Author: Daniel P. Berrange <berrange@redhat.com>
*/
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif
#include <time.h>
#include <stdio.h>