提交 a3781881 编写于 作者: J Jim Meyering

Enable the <config.h>-requiring test; fix violations

Use <config.h>, not "config.h", per autoconf documentation.
* Makefile.cfg (local-checks-to-skip) [sc_require_config_h]: Enable.
* .x-sc_require_config_h: New file, to list exempted files.
* Makefile.am (EXTRA_DIST): Add .x-sc_require_config_h.
上级 9e4c8fcb
^docs/examples/info1\.c$
^docs/examples/suspend\.c$
^gnulib/lib/dummy\.c$
^gnulib/tests/dummy\.c$
^qemud/remote_protocol\.c$
^ChangeLog$
Tue Jan 29 18:39:25 CET 2008 Jim Meyering <meyering@redhat.com> Tue Jan 29 18:39:25 CET 2008 Jim Meyering <meyering@redhat.com>
Enable the <config.h>-requiring test; fix violations
Use <config.h>, not "config.h", per autoconf documentation.
* Makefile.cfg (local-checks-to-skip) [sc_require_config_h]: Enable.
* .x-sc_require_config_h: New file, to list exempted files.
* Makefile.am (EXTRA_DIST): Add .x-sc_require_config_h.
Enable the duplicate-"the" test; fix violations Enable the duplicate-"the" test; fix violations
* Makefile.cfg (local-checks-to-skip) [sc_the_the]: Enable. * Makefile.cfg (local-checks-to-skip) [sc_the_the]: Enable.
* docs/virsh.pod: Remove a duplicate "the". * docs/virsh.pod: Remove a duplicate "the".
......
...@@ -9,7 +9,8 @@ EXTRA_DIST = \ ...@@ -9,7 +9,8 @@ EXTRA_DIST = \
libvirt.spec libvirt.spec.in \ libvirt.spec libvirt.spec.in \
libvirt.pc libvirt.pc.in \ libvirt.pc libvirt.pc.in \
$(man_MANS) autobuild.sh \ $(man_MANS) autobuild.sh \
.x-sc_avoid_if_before_free .x-sc_avoid_if_before_free \
.x-sc_require_config_h
man_MANS = virsh.1 man_MANS = virsh.1
......
...@@ -49,7 +49,6 @@ local-checks-to-skip = \ ...@@ -49,7 +49,6 @@ local-checks-to-skip = \
sc_prohibit_quote_without_use \ sc_prohibit_quote_without_use \
sc_prohibit_quotearg_without_use \ sc_prohibit_quotearg_without_use \
sc_prohibit_strcmp \ sc_prohibit_strcmp \
sc_require_config_h \
sc_root_tests \ sc_root_tests \
sc_space_tab \ sc_space_tab \
sc_sun_os_names \ sc_sun_os_names \
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* Daniel Veillard <veillard@redhat.com> * Daniel Veillard <veillard@redhat.com>
*/ */
#include "config.h" #include <config.h>
#ifdef WITH_XEN #ifdef WITH_XEN
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* Daniel Veillard <veillard@redhat.com> * Daniel Veillard <veillard@redhat.com>
*/ */
#include "config.h" #include <config.h>
#include <Python.h> #include <Python.h>
#include "libvirt/libvirt.h" #include "libvirt/libvirt.h"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Daniel Veillard <veillard@redhat.com> * Daniel Veillard <veillard@redhat.com>
*/ */
#include "config.h" #include <config.h>
#include "libvirt_wrap.h" #include "libvirt_wrap.h"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
* Author: Daniel P. Berrange <berrange@redhat.com> * Author: Daniel P. Berrange <berrange@redhat.com>
*/ */
#include "config.h" #include <config.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
* Author: Daniel P. Berrange <berrange@redhat.com> * Author: Daniel P. Berrange <berrange@redhat.com>
*/ */
#include "config.h" #include <config.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/wait.h> #include <sys/wait.h>
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#ifndef __QEMUD_BRIDGE_H__ #ifndef __QEMUD_BRIDGE_H__
#define __QEMUD_BRIDGE_H__ #define __QEMUD_BRIDGE_H__
#include "config.h" #include <config.h>
#ifdef WITH_QEMU #ifdef WITH_QEMU
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* Daniel Veillard <veillard@redhat.com> * Daniel Veillard <veillard@redhat.com>
*/ */
#include "config.h" #include <config.h>
#include "libvirt/libvirt.h" #include "libvirt/libvirt.h"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* Daniel Veillard <veillard@redhat.com> * Daniel Veillard <veillard@redhat.com>
*/ */
#include "config.h" #include <config.h>
#include <string.h> #include <string.h>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
* Daniel Berrange <berrange@redhat.com> * Daniel Berrange <berrange@redhat.com>
*/ */
#include "config.h" #include <config.h>
#ifndef __MINGW32__ #ifndef __MINGW32__
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
* Author: Daniel P. Berrange <berrange@redhat.com> * Author: Daniel P. Berrange <berrange@redhat.com>
*/ */
#include "config.h" #include <config.h>
#include "event.h" #include "event.h"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#ifndef LIBVIRT_GNUTLS_1_0_COMPAT_H__ #ifndef LIBVIRT_GNUTLS_1_0_COMPAT_H__
#include "config.h" #include <config.h>
#ifdef GNUTLS_1_0_COMPAT #ifdef GNUTLS_1_0_COMPAT
#define gnutls_session_t gnutls_session #define gnutls_session_t gnutls_session
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
* Daniel Veillard <veillard@redhat.com> * Daniel Veillard <veillard@redhat.com>
*/ */
#include "config.h" #include <config.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
* Mark McLoughlin <markmc@redhat.com> * Mark McLoughlin <markmc@redhat.com>
*/ */
#include "config.h" #include <config.h>
#if WITH_QEMU #if WITH_QEMU
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* Daniel Veillard <veillard@redhat.com> * Daniel Veillard <veillard@redhat.com>
*/ */
#include "config.h" #include <config.h>
#include "libvirt/libvirt.h" #include "libvirt/libvirt.h"
#include <stdio.h> #include <stdio.h>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
* Author: Daniel P. Berrange <berrange@redhat.com> * Author: Daniel P. Berrange <berrange@redhat.com>
*/ */
#include "config.h" #include <config.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#ifdef WITH_OPENVZ #ifdef WITH_OPENVZ
#include "config.h" #include <config.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#ifdef WITH_XEN #ifdef WITH_XEN
#include "config.h" #include <config.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
* Author: Daniel P. Berrange <berrange@redhat.com> * Author: Daniel P. Berrange <berrange@redhat.com>
*/ */
#include "config.h" #include <config.h>
#ifdef WITH_QEMU #ifdef WITH_QEMU
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#ifndef __QEMUD_CONF_H #ifndef __QEMUD_CONF_H
#define __QEMUD_CONF_H #define __QEMUD_CONF_H
#include "config.h" #include <config.h>
#ifdef WITH_QEMU #ifdef WITH_QEMU
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
* Author: Daniel P. Berrange <berrange@redhat.com> * Author: Daniel P. Berrange <berrange@redhat.com>
*/ */
#include "config.h" #include <config.h>
#ifdef WITH_QEMU #ifdef WITH_QEMU
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#ifndef QEMUD_DRIVER_H #ifndef QEMUD_DRIVER_H
#define QEMUD_DRIVER_H #define QEMUD_DRIVER_H
#include "config.h" #include <config.h>
#ifdef WITH_QEMU #ifdef WITH_QEMU
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
* Author: Richard Jones <rjones@redhat.com> * Author: Richard Jones <rjones@redhat.com>
*/ */
#include "config.h" #include <config.h>
/* Windows socket compatibility functions. */ /* Windows socket compatibility functions. */
#include "socketcompat.h" #include "socketcompat.h"
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* archive for more details. * archive for more details.
*/ */
#include "config.h" #include <config.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* Richard W.M. Jones <rjones@redhat.com> * Richard W.M. Jones <rjones@redhat.com>
*/ */
#include "config.h" #include <config.h>
/* This file only applies on Linux. */ /* This file only applies on Linux. */
#ifdef __linux__ #ifdef __linux__
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
* Daniel Berrange <berrange@redhat.com> * Daniel Berrange <berrange@redhat.com>
*/ */
#include "config.h" #include <config.h>
#ifdef WITH_TEST #ifdef WITH_TEST
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
* File created Jul 18, 2007 - Shuveb Hussain <shuveb@binarykarma.com> * File created Jul 18, 2007 - Shuveb Hussain <shuveb@binarykarma.com>
*/ */
#include "config.h" #include <config.h>
#include <stdio.h> #include <stdio.h>
#include <stdarg.h> #include <stdarg.h>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
* Mark McLoughlin <markmc@redhat.com> * Mark McLoughlin <markmc@redhat.com>
*/ */
#include "config.h" #include <config.h>
#include "uuid.h" #include "uuid.h"
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* $Id$ * $Id$
*/ */
#include "config.h" #include <config.h>
#include "libvirt/libvirt.h" #include "libvirt/libvirt.h"
#include "libvirt/virterror.h" #include "libvirt/virterror.h"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* Author: Daniel Veillard <veillard@redhat.com> * Author: Daniel Veillard <veillard@redhat.com>
*/ */
#include "config.h" #include <config.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#ifdef WITH_XEN #ifdef WITH_XEN
#include "config.h" #include <config.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* Richard W.M. Jones <rjones@redhat.com> * Richard W.M. Jones <rjones@redhat.com>
*/ */
#include "config.h" #include <config.h>
#ifdef WITH_XEN #ifdef WITH_XEN
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
*/ */
#ifdef WITH_XEN #ifdef WITH_XEN
#include "config.h" #include <config.h>
#include <stdio.h> #include <stdio.h>
#include <sys/types.h> #include <sys/types.h>
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
*/ */
#ifdef WITH_XEN #ifdef WITH_XEN
#include "config.h" #include <config.h>
#include <dirent.h> #include <dirent.h>
#include <time.h> #include <time.h>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* Daniel Veillard <veillard@redhat.com> * Daniel Veillard <veillard@redhat.com>
*/ */
#include "config.h" #include <config.h>
#include "libvirt/libvirt.h" #include "libvirt/libvirt.h"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* Anthony Liguori <aliguori@us.ibm.com> * Anthony Liguori <aliguori@us.ibm.com>
*/ */
#include "config.h" #include <config.h>
#include "xmlrpc.h" #include "xmlrpc.h"
#include "internal.h" #include "internal.h"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
*/ */
#ifdef WITH_XEN #ifdef WITH_XEN
#include "config.h" #include <config.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
......
#include "config.h" #include <config.h>
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
......
#include "config.h" #include <config.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
......
#include "config.h" #include <config.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
......
#include "config.h" #include <config.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
......
#include "config.h" #include <config.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
......
#include "config.h" #include <config.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* $Id$ * $Id$
*/ */
#include "config.h" #include <config.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
......
#include "config.h" #include <config.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
......
#include "config.h" #include <config.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
* *
*/ */
#include "config.h" #include <config.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
......
#include "config.h" #include <config.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* $Id$ * $Id$
*/ */
#include "config.h" #include <config.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册