]> xenbits.xensource.com Git - libvirt.git/commitdiff
Enable the <config.h>-requiring test; fix violations
authorJim Meyering <meyering@redhat.com>
Tue, 29 Jan 2008 18:15:54 +0000 (18:15 +0000)
committerJim Meyering <meyering@redhat.com>
Tue, 29 Jan 2008 18:15:54 +0000 (18:15 +0000)
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.

52 files changed:
.x-sc_require_config_h [new file with mode: 0644]
ChangeLog
Makefile.am
Makefile.cfg
proxy/libvirt_proxy.c
python/libvir.c
python/types.c
qemud/event.c
qemud/qemud.c
src/bridge.h
src/buf.c
src/conf.c
src/console.c
src/event.c
src/gnutls_1_0_compat.h
src/hash.c
src/iptables.c
src/libvirt.c
src/nodeinfo.c
src/openvz_conf.c
src/proxy_internal.c
src/qemu_conf.c
src/qemu_conf.h
src/qemu_driver.c
src/qemu_driver.h
src/remote_internal.c
src/sexpr.c
src/stats_linux.c
src/test.c
src/util.c
src/uuid.c
src/virsh.c
src/virterror.c
src/xen_internal.c
src/xen_unified.c
src/xend_internal.c
src/xm_internal.c
src/xml.c
src/xmlrpc.c
src/xs_internal.c
tests/conftest.c
tests/nodeinfotest.c
tests/qemuxml2argvtest.c
tests/qemuxml2xmltest.c
tests/reconnect.c
tests/sexpr2xmltest.c
tests/testutils.c
tests/virshtest.c
tests/xencapstest.c
tests/xmconfigtest.c
tests/xml2sexprtest.c
tests/xmlrpctest.c

diff --git a/.x-sc_require_config_h b/.x-sc_require_config_h
new file mode 100644 (file)
index 0000000..65b0d81
--- /dev/null
@@ -0,0 +1,6 @@
+^docs/examples/info1\.c$
+^docs/examples/suspend\.c$
+^gnulib/lib/dummy\.c$
+^gnulib/tests/dummy\.c$
+^qemud/remote_protocol\.c$
+^ChangeLog$
index aebe54da9b624b9affd437d00f7f2e0c2125fc29..85dcf561bb637e8d0034846240a623c292044523 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 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
        * Makefile.cfg (local-checks-to-skip) [sc_the_the]: Enable.
        * docs/virsh.pod: Remove a duplicate "the".
index 5154203723bfcc8253789036fee80600374814c2..e32033a4d0bd12ac7906096a45566539a9a449c4 100644 (file)
@@ -9,7 +9,8 @@ EXTRA_DIST = \
   libvirt.spec libvirt.spec.in \
   libvirt.pc libvirt.pc.in \
   $(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
 
index ba59f291443becdff49ba97bb8e11acbd12b7fe0..2c1c9e7587b5cfd8d1c5d38600e7fa4c32b48089 100644 (file)
@@ -49,7 +49,6 @@ local-checks-to-skip =                        \
   sc_prohibit_quote_without_use                \
   sc_prohibit_quotearg_without_use     \
   sc_prohibit_strcmp                   \
-  sc_require_config_h                  \
   sc_root_tests                                \
   sc_space_tab                         \
   sc_sun_os_names                      \
index 5ccf855988d9aba73e614d9164f3055aee2bd79a..83cf39d8715b0d181876f735b6551d1a9c22fd97 100644 (file)
@@ -9,7 +9,7 @@
  * Daniel Veillard <veillard@redhat.com>
  */
 
-#include "config.h"
+#include <config.h>
 
 #ifdef WITH_XEN
 
index 0fe11f221da27334c4e9fa4ba5fa11ef23cda287..e2f7c5b384d1347a1b0be5002d20ed6c66dfc80c 100644 (file)
@@ -9,7 +9,7 @@
  * Daniel Veillard <veillard@redhat.com>
  */
 
-#include "config.h"
+#include <config.h>
 
 #include <Python.h>
 #include "libvirt/libvirt.h"
index 146bb24564dc2dfd03299b5ecf5ecb6c7f18c666..c91d8da93971ab586b3684d3765264b21653a918 100644 (file)
@@ -7,7 +7,7 @@
  * Daniel Veillard <veillard@redhat.com>
  */
 
-#include "config.h"
+#include <config.h>
 
 #include "libvirt_wrap.h"
 
index b7d75a06d40a85246426f2b84a77754e44bedb1c..ca7dc117b2d2c66d15b6069e726c6b0a3fc4354c 100644 (file)
@@ -21,7 +21,7 @@
  * Author: Daniel P. Berrange <berrange@redhat.com>
  */
 
-#include "config.h"
+#include <config.h>
 
 #include <stdlib.h>
 #include <string.h>
index 5f3c875eca81b40095b3f9ec96dfd8a9280abbca..77a23520d92a31a0ac0460c3e036bd217f3440cc 100644 (file)
@@ -21,7 +21,7 @@
  * Author: Daniel P. Berrange <berrange@redhat.com>
  */
 
-#include "config.h"
+#include <config.h>
 
 #include <sys/types.h>
 #include <sys/wait.h>
index 52f805bf00b640bbaa97e045d0e3b390c628d008..5dcca000407b36a0fdaef119dc91b37c9cefe1ab 100644 (file)
@@ -22,7 +22,7 @@
 #ifndef __QEMUD_BRIDGE_H__
 #define __QEMUD_BRIDGE_H__
 
-#include "config.h"
+#include <config.h>
 
 #ifdef WITH_QEMU
 
index 188d040fb2891def48288f1157e4ef3e36b73b65..5bb2bd45bdf9a54a471c2b989058d7447e97d94b 100644 (file)
--- a/src/buf.c
+++ b/src/buf.c
@@ -8,7 +8,7 @@
  * Daniel Veillard <veillard@redhat.com>
  */
 
-#include "config.h"
+#include <config.h>
 
 #include "libvirt/libvirt.h"
 
index 8e66d845e9e0f90628f7a0cc21864ef15468be8f..8b3aae5789df44c9136212f5b9e6d3102f5d1423 100644 (file)
@@ -8,7 +8,7 @@
  * Daniel Veillard <veillard@redhat.com>
  */
 
-#include "config.h"
+#include <config.h>
 
 #include <string.h>
 
index 6b336d98a745ef34ca8b5231ab221967bc8163af..02a9c7f33013a75c9e583f95c58b0856e9476fbb 100644 (file)
@@ -20,7 +20,7 @@
  * Daniel Berrange <berrange@redhat.com>
  */
 
-#include "config.h"
+#include <config.h>
 
 #ifndef __MINGW32__
 
index 7dcbf3211eb7fa205d1a7bf8c53557788b4f0903..274db9de3fa116070b403308f881627acfcc2abb 100644 (file)
@@ -21,7 +21,7 @@
  * Author: Daniel P. Berrange <berrange@redhat.com>
  */
 
-#include "config.h"
+#include <config.h>
 
 #include "event.h"
 
index 7ec8b638233010b521de0f48efc1e0ffca4e6c11..38f69543d1c3ca9d11d0a48c38aef65d7e500894 100644 (file)
@@ -22,7 +22,7 @@
 
 #ifndef LIBVIRT_GNUTLS_1_0_COMPAT_H__
 
-#include "config.h"
+#include <config.h>
 
 #ifdef GNUTLS_1_0_COMPAT
 #define gnutls_session_t                 gnutls_session
index 4e4ce60cf3bf5ccb96d3a771b6b1d330f0c27627..d92c92cb7a8cb0f0b1d76e81b3b33d23c926cb62 100644 (file)
@@ -18,7 +18,7 @@
  *         Daniel Veillard <veillard@redhat.com>
  */
 
-#include "config.h"
+#include <config.h>
 
 #include <string.h>
 #include <stdlib.h>
index b59faa454a4dc7b688e8c3e4e55c13c2f32c6568..148641184e62ac4356f96e50926f020fb7eeb8a8 100644 (file)
@@ -19,7 +19,7 @@
  *     Mark McLoughlin <markmc@redhat.com>
  */
 
-#include "config.h"
+#include <config.h>
 
 #if WITH_QEMU
 
index f4ee2e0b91d68420047789f4f5ddf4b062813972..defadc19ef7ee554ec279a1d6b584ac43f9f99fa 100644 (file)
@@ -9,7 +9,7 @@
  * Daniel Veillard <veillard@redhat.com>
  */
 
-#include "config.h"
+#include <config.h>
 #include "libvirt/libvirt.h"
 
 #include <stdio.h>
index 1b0191b402a918a811fc6cbd2c55f8cf65ebd1f5..65a2cf140d4e45355e9327f593271968d7e037b3 100644 (file)
@@ -21,7 +21,7 @@
  * Author: Daniel P. Berrange <berrange@redhat.com>
  */
 
-#include "config.h"
+#include <config.h>
 
 #include <stdio.h>
 #include <string.h>
index 4e4019c4465a4245a00baa7bd5c8f15caf983125..908418458741798d854aeea939874d70d259bb32 100644 (file)
@@ -27,7 +27,7 @@
 
 #ifdef WITH_OPENVZ
 
-#include "config.h"
+#include <config.h>
 
 #include <stdio.h>
 #include <stdlib.h>
index e0e5631d14640d494cbc3a7d7b889e3c3333302c..a8a7962134368740e5c2aaa114c73ae641ae19f4 100644 (file)
@@ -10,7 +10,7 @@
 
 #ifdef WITH_XEN
 
-#include "config.h"
+#include <config.h>
 
 #include <stdio.h>
 #include <stdlib.h>
index 0de641d589102edb556c8ec5d59ed32aba7c8d12..9886300000c47f0bd3d3a04b2cd3390e9b474f60 100644 (file)
@@ -21,7 +21,7 @@
  * Author: Daniel P. Berrange <berrange@redhat.com>
  */
 
-#include "config.h"
+#include <config.h>
 
 #ifdef WITH_QEMU
 
index 7b242f7c752630bfbb72ac8dfcdceee5e6a00227..9f09ec1d157585968a1d515d51fafebfd6e75441 100644 (file)
@@ -24,7 +24,7 @@
 #ifndef __QEMUD_CONF_H
 #define __QEMUD_CONF_H
 
-#include "config.h"
+#include <config.h>
 
 #ifdef WITH_QEMU
 
index 71a31254b043472c90ab48b266bbd49c831f28f6..f80a121a9c66e1802fa74b2a7e72602ee2f009b9 100644 (file)
@@ -21,7 +21,7 @@
  * Author: Daniel P. Berrange <berrange@redhat.com>
  */
 
-#include "config.h"
+#include <config.h>
 
 #ifdef WITH_QEMU
 
index 66b60b705862a3022aa4a35308153b1e6e31d568..72b397c6e0142aa17b9a252b74bbf0a6baf348c9 100644 (file)
@@ -25,7 +25,7 @@
 #ifndef QEMUD_DRIVER_H
 #define QEMUD_DRIVER_H
 
-#include "config.h"
+#include <config.h>
 
 #ifdef WITH_QEMU
 
index 4d855abe8340db4f2ce52b1292fa57c7adf6aec5..aa6bb5c757aee8ce0dab4d64754429f872aa5be9 100644 (file)
@@ -21,7 +21,7 @@
  * Author: Richard Jones <rjones@redhat.com>
  */
 
-#include "config.h"
+#include <config.h>
 
 /* Windows socket compatibility functions. */
 #include "socketcompat.h"
index bbf0791b130b1480899bfee5eec801d5cda3bdea..e7ea6c88c09c5b94eedda03563320e1ebadc7fdc 100644 (file)
@@ -10,7 +10,7 @@
  *  archive for more details.
  */
 
-#include "config.h"
+#include <config.h>
 
 #include <stdio.h>
 #include <stdlib.h>
index de73cef4cb06ce8fb88879a4974205204bb42996..d2dda88aeca285e253a97a73129710b2e03972c9 100644 (file)
@@ -8,7 +8,7 @@
  * Richard W.M. Jones <rjones@redhat.com>
  */
 
-#include "config.h"
+#include <config.h>
 
 /* This file only applies on Linux. */
 #ifdef __linux__
index d39207f35578b0c7b4dcc4d254b2e8f3a8dba0d1..2afd86fd710d1222fff8650a81078fbff0a30e38 100644 (file)
@@ -21,7 +21,7 @@
  * Daniel Berrange <berrange@redhat.com>
  */
 
-#include "config.h"
+#include <config.h>
 
 #ifdef WITH_TEST
 
index f16aaf49f496abd7f358812c8a7c5faa1892897c..0c421242798bccf7e3bc67a30aeb69e80b6db2ad 100644 (file)
@@ -24,7 +24,7 @@
  * File created Jul 18, 2007 - Shuveb Hussain <shuveb@binarykarma.com>
  */
 
-#include "config.h"
+#include <config.h>
 
 #include <stdio.h>
 #include <stdarg.h>
index b2022c493aaea64ea885e86b2940c0a4c0769f42..ae30217c76b86d4741e04cb1f3c68f10168e911e 100644 (file)
@@ -19,7 +19,7 @@
  *     Mark McLoughlin <markmc@redhat.com>
  */
 
-#include "config.h"
+#include <config.h>
 
 #include "uuid.h"
 
index d08100892f6e119a15e71990f2aea141ced01363..a1b3e382d6f7d3dbb794e4a6a1dda3669a0eeec6 100644 (file)
@@ -13,7 +13,7 @@
  * $Id$
  */
 
-#include "config.h"
+#include <config.h>
 
 #include "libvirt/libvirt.h"
 #include "libvirt/virterror.h"
index bf4062d3e780315ccaf78e6bad7b90e3fef6de19..83cf7ca16177742996fc879e4609e515579b9ded 100644 (file)
@@ -8,7 +8,7 @@
  * Author: Daniel Veillard <veillard@redhat.com>
  */
 
-#include "config.h"
+#include <config.h>
 
 #include <stdio.h>
 #include <stdlib.h>
index a8cecef5080ffdc9b485ac98df0edfb3d8546168..1292382ef374c35590753b902ceeede8eea55b69 100644 (file)
@@ -10,7 +10,7 @@
 
 #ifdef WITH_XEN
 
-#include "config.h"
+#include <config.h>
 
 #include <stdio.h>
 #include <string.h>
index d46e63b6fa1ba62edd1eee4f4bf45ea43c95b59e..d5b2ec2adf3aa5b779a7fbe8f70726054b098c55 100644 (file)
@@ -8,7 +8,7 @@
  * Richard W.M. Jones <rjones@redhat.com>
  */
 
-#include "config.h"
+#include <config.h>
 
 #ifdef WITH_XEN
 
index 61af69b85c61902d55b7d95b5acf146baa0208fa..814d16fda0acb94b59c3cc1b3fd38e6831887976 100644 (file)
@@ -11,7 +11,7 @@
  */
 
 #ifdef WITH_XEN
-#include "config.h"
+#include <config.h>
 
 #include <stdio.h>
 #include <sys/types.h>
index 90dc1a4298d157df0d1cfd788d00ed8299f510c1..57d0eb4d57f3ef2049c3b20c36ec3fc9c3b763c1 100644 (file)
@@ -23,7 +23,7 @@
  */
 
 #ifdef WITH_XEN
-#include "config.h"
+#include <config.h>
 
 #include <dirent.h>
 #include <time.h>
index a546002083e296437316573aca73d65139b8af8a..76ca91cce5a74b43dadedf5ffdc1f59bfba9fad2 100644 (file)
--- a/src/xml.c
+++ b/src/xml.c
@@ -8,7 +8,7 @@
  * Daniel Veillard <veillard@redhat.com>
  */
 
-#include "config.h"
+#include <config.h>
 
 #include "libvirt/libvirt.h"
 
index f956f0d40e23a9eedae2a996ad0ce614ea6ae3e2..ac4ea6e820c9e31ae12f4717355e31132fb1a02f 100644 (file)
@@ -8,7 +8,7 @@
  * Anthony Liguori <aliguori@us.ibm.com>
  */
 
-#include "config.h"
+#include <config.h>
 
 #include "xmlrpc.h"
 #include "internal.h"
index 1dbbba6709c1a99886ffed40bd6385d99eb642a0..6d8610cbac52a8720d387789b8d0ef91bff93bdd 100644 (file)
@@ -9,7 +9,7 @@
  */
 
 #ifdef WITH_XEN
-#include "config.h"
+#include <config.h>
 
 #include <stdio.h>
 #include <string.h>
index abb68fdc2e8525456ffb1d17e02bbac595368350..637b737c7734f2936dc725f60f13045575c497d2 100644 (file)
@@ -1,4 +1,4 @@
-#include "config.h"
+#include <config.h>
 
 #include <unistd.h>
 #include <stdlib.h>
index 969b85c5f07d92b8ff2c1c463002db7b4d675939..c80e65c49620df920c290cfae5fe945f65468e0f 100644 (file)
@@ -1,4 +1,4 @@
-#include "config.h"
+#include <config.h>
 
 #include <stdio.h>
 #include <stdlib.h>
index 22e2e8186132b2d407a2576b2488a329f80c4624..56067443fc1b2d5818d0c7a428847990b377c1a7 100644 (file)
@@ -1,4 +1,4 @@
-#include "config.h"
+#include <config.h>
 
 #include <stdio.h>
 #include <stdlib.h>
index 2ab169674d4899cc7fba2989847af2df6ca284fd..1be0e464a0fbcf6dd98e4e9d3962001e087f5a50 100644 (file)
@@ -1,4 +1,4 @@
-#include "config.h"
+#include <config.h>
 
 #include <stdio.h>
 #include <stdlib.h>
index 4c4d6489b936cf6e062134a9002d0bf0e2f0c587..e9bdcdb1e967526450459b1feab2a47e26e6227a 100644 (file)
@@ -1,4 +1,4 @@
-#include "config.h"
+#include <config.h>
 
 #include <stdio.h>
 #include <stdlib.h>
index 6586e92a69c76dc7bbc76c20e149a28de967e7c2..c55aa4bd0ba33fe2541b079a8c5db65233d7b0b8 100644 (file)
@@ -1,4 +1,4 @@
-#include "config.h"
+#include <config.h>
 
 #include <stdio.h>
 #include <string.h>
index 4fea6b61a6d5cbe4b5c485de08f4f98846a35fde..80b102224b11cdde3e5f82c1fffbf3f610eb454f 100644 (file)
@@ -10,7 +10,7 @@
  * $Id$
  */
 
-#include "config.h"
+#include <config.h>
 
 #include <stdio.h>
 #include <stdlib.h>
index fd6dcbb2a338db219434d977625dfbcb9dbee184..676cb716aca4293233ca8550c6f8acb9beea2371 100644 (file)
@@ -1,4 +1,4 @@
-#include "config.h"
+#include <config.h>
 
 #include <stdio.h>
 #include <string.h>
index bf9ce075287da969113b6e3a8b4a3c2fa45aba1f..1307d80af771e7ee73f15ccc31f00b60e458da51 100644 (file)
@@ -1,4 +1,4 @@
-#include "config.h"
+#include <config.h>
 
 #include <stdio.h>
 #include <stdlib.h>
index 51f4b675dae5639f8c38767cad011116892d0d16..424eae4e5c41002df4a4a877379a80df9b117e0b 100644 (file)
@@ -21,7 +21,7 @@
  *
  */
 
-#include "config.h"
+#include <config.h>
 
 #include <stdio.h>
 #include <string.h>
index 2d18e608b2e6c375e6c9a66e539efdaf867c40e6..3118379c72e4f811a092ce3f5cca1db118dcad0e 100644 (file)
@@ -1,5 +1,5 @@
 
-#include "config.h"
+#include <config.h>
 
 #include <stdio.h>
 #include <stdlib.h>
index 5fa937fd4ba795710e08387318fa3a7fae00978c..eb75f6436db9e057ca0c7af4a28b4e60f994fd55 100644 (file)
@@ -10,7 +10,7 @@
  * $Id$
  */
 
-#include "config.h"
+#include <config.h>
 
 #include <stdio.h>
 #include <stdlib.h>