mirror of https://gitee.com/openkylin/libvirt.git
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.
This commit is contained in:
parent
3cb808d2a2
commit
db4037e592
|
@ -0,0 +1 @@
|
|||
^gnulib/lib/strsep\.c$
|
|
@ -1,5 +1,12 @@
|
|||
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>
|
||||
|
|
|
@ -28,7 +28,6 @@ url_dir_list = \
|
|||
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 \
|
||||
|
|
|
@ -96,7 +96,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; } || :
|
||||
|
||||
|
|
|
@ -22,9 +22,7 @@
|
|||
* Author: Daniel P. Berrange <berrange@redhat.com>
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <time.h>
|
||||
#include <stdio.h>
|
||||
|
|
Loading…
Reference in New Issue