1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03:00

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.
This commit is contained in:
Jim Meyering 2008-01-29 18:15:54 +00:00
parent 9e4c8fcb3a
commit a378188194
52 changed files with 62 additions and 50 deletions

6
.x-sc_require_config_h Normal file
View File

@ -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$

View File

@ -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".

View 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

View 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 \

View File

@ -9,7 +9,7 @@
* Daniel Veillard <veillard@redhat.com>
*/
#include "config.h"
#include <config.h>
#ifdef WITH_XEN

View File

@ -9,7 +9,7 @@
* Daniel Veillard <veillard@redhat.com>
*/
#include "config.h"
#include <config.h>
#include <Python.h>
#include "libvirt/libvirt.h"

View File

@ -7,7 +7,7 @@
* Daniel Veillard <veillard@redhat.com>
*/
#include "config.h"
#include <config.h>
#include "libvirt_wrap.h"

View File

@ -21,7 +21,7 @@
* Author: Daniel P. Berrange <berrange@redhat.com>
*/
#include "config.h"
#include <config.h>
#include <stdlib.h>
#include <string.h>

View 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>

View File

@ -22,7 +22,7 @@
#ifndef __QEMUD_BRIDGE_H__
#define __QEMUD_BRIDGE_H__
#include "config.h"
#include <config.h>
#ifdef WITH_QEMU

View File

@ -8,7 +8,7 @@
* Daniel Veillard <veillard@redhat.com>
*/
#include "config.h"
#include <config.h>
#include "libvirt/libvirt.h"

View File

@ -8,7 +8,7 @@
* Daniel Veillard <veillard@redhat.com>
*/
#include "config.h"
#include <config.h>
#include <string.h>

View File

@ -20,7 +20,7 @@
* Daniel Berrange <berrange@redhat.com>
*/
#include "config.h"
#include <config.h>
#ifndef __MINGW32__

View File

@ -21,7 +21,7 @@
* Author: Daniel P. Berrange <berrange@redhat.com>
*/
#include "config.h"
#include <config.h>
#include "event.h"

View 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

View File

@ -18,7 +18,7 @@
* Daniel Veillard <veillard@redhat.com>
*/
#include "config.h"
#include <config.h>
#include <string.h>
#include <stdlib.h>

View File

@ -19,7 +19,7 @@
* Mark McLoughlin <markmc@redhat.com>
*/
#include "config.h"
#include <config.h>
#if WITH_QEMU

View File

@ -9,7 +9,7 @@
* Daniel Veillard <veillard@redhat.com>
*/
#include "config.h"
#include <config.h>
#include "libvirt/libvirt.h"
#include <stdio.h>

View File

@ -21,7 +21,7 @@
* Author: Daniel P. Berrange <berrange@redhat.com>
*/
#include "config.h"
#include <config.h>
#include <stdio.h>
#include <string.h>

View File

@ -27,7 +27,7 @@
#ifdef WITH_OPENVZ
#include "config.h"
#include <config.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -10,7 +10,7 @@
#ifdef WITH_XEN
#include "config.h"
#include <config.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -21,7 +21,7 @@
* Author: Daniel P. Berrange <berrange@redhat.com>
*/
#include "config.h"
#include <config.h>
#ifdef WITH_QEMU

View File

@ -24,7 +24,7 @@
#ifndef __QEMUD_CONF_H
#define __QEMUD_CONF_H
#include "config.h"
#include <config.h>
#ifdef WITH_QEMU

View File

@ -21,7 +21,7 @@
* Author: Daniel P. Berrange <berrange@redhat.com>
*/
#include "config.h"
#include <config.h>
#ifdef WITH_QEMU

View File

@ -25,7 +25,7 @@
#ifndef QEMUD_DRIVER_H
#define QEMUD_DRIVER_H
#include "config.h"
#include <config.h>
#ifdef WITH_QEMU

View File

@ -21,7 +21,7 @@
* Author: Richard Jones <rjones@redhat.com>
*/
#include "config.h"
#include <config.h>
/* Windows socket compatibility functions. */
#include "socketcompat.h"

View File

@ -10,7 +10,7 @@
* archive for more details.
*/
#include "config.h"
#include <config.h>
#include <stdio.h>
#include <stdlib.h>

View 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__

View File

@ -21,7 +21,7 @@
* Daniel Berrange <berrange@redhat.com>
*/
#include "config.h"
#include <config.h>
#ifdef WITH_TEST

View 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>

View File

@ -19,7 +19,7 @@
* Mark McLoughlin <markmc@redhat.com>
*/
#include "config.h"
#include <config.h>
#include "uuid.h"

View File

@ -13,7 +13,7 @@
* $Id$
*/
#include "config.h"
#include <config.h>
#include "libvirt/libvirt.h"
#include "libvirt/virterror.h"

View File

@ -8,7 +8,7 @@
* Author: Daniel Veillard <veillard@redhat.com>
*/
#include "config.h"
#include <config.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -10,7 +10,7 @@
#ifdef WITH_XEN
#include "config.h"
#include <config.h>
#include <stdio.h>
#include <string.h>

View File

@ -8,7 +8,7 @@
* Richard W.M. Jones <rjones@redhat.com>
*/
#include "config.h"
#include <config.h>
#ifdef WITH_XEN

View File

@ -11,7 +11,7 @@
*/
#ifdef WITH_XEN
#include "config.h"
#include <config.h>
#include <stdio.h>
#include <sys/types.h>

View File

@ -23,7 +23,7 @@
*/
#ifdef WITH_XEN
#include "config.h"
#include <config.h>
#include <dirent.h>
#include <time.h>

View File

@ -8,7 +8,7 @@
* Daniel Veillard <veillard@redhat.com>
*/
#include "config.h"
#include <config.h>
#include "libvirt/libvirt.h"

View File

@ -8,7 +8,7 @@
* Anthony Liguori <aliguori@us.ibm.com>
*/
#include "config.h"
#include <config.h>
#include "xmlrpc.h"
#include "internal.h"

View File

@ -9,7 +9,7 @@
*/
#ifdef WITH_XEN
#include "config.h"
#include <config.h>
#include <stdio.h>
#include <string.h>

View File

@ -1,4 +1,4 @@
#include "config.h"
#include <config.h>
#include <unistd.h>
#include <stdlib.h>

View File

@ -1,4 +1,4 @@
#include "config.h"
#include <config.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -1,4 +1,4 @@
#include "config.h"
#include <config.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -1,4 +1,4 @@
#include "config.h"
#include <config.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -1,4 +1,4 @@
#include "config.h"
#include <config.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -1,4 +1,4 @@
#include "config.h"
#include <config.h>
#include <stdio.h>
#include <string.h>

View File

@ -10,7 +10,7 @@
* $Id$
*/
#include "config.h"
#include <config.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -1,4 +1,4 @@
#include "config.h"
#include <config.h>
#include <stdio.h>
#include <string.h>

View File

@ -1,4 +1,4 @@
#include "config.h"
#include <config.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -21,7 +21,7 @@
*
*/
#include "config.h"
#include <config.h>
#include <stdio.h>
#include <string.h>

View File

@ -1,5 +1,5 @@
#include "config.h"
#include <config.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -10,7 +10,7 @@
* $Id$
*/
#include "config.h"
#include <config.h>
#include <stdio.h>
#include <stdlib.h>