]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
build-system: get rid of config.h inclusion checks
authorLennart Poettering <lennart@poettering.net>
Wed, 22 Apr 2009 00:46:35 +0000 (02:46 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 15 May 2009 18:30:15 +0000 (20:30 +0200)
These header files include config.h explicitly anyway. These checks are
hence pointless.

Of course one could argue that including config.h from header files
sucks, but D-Bus generally seems not to have a problem with that, so
let's unify this.

dbus/dbus-marshal-basic.h
dbus/dbus-marshal-byteswap.h
dbus/dbus-marshal-header.h
dbus/dbus-marshal-recursive.h
dbus/dbus-marshal-validate.h

index 28c751f4b27db939bf3d04448363e3e2b42948b9..bcc15ee9c59f179dd5682426c95dbc8b92c717a6 100644 (file)
 #include <dbus/dbus-arch-deps.h>
 #include <dbus/dbus-string.h>
 
-#ifndef PACKAGE
-#error "config.h not included here"
-#endif
-
 #ifdef WORDS_BIGENDIAN
 #define DBUS_COMPILER_BYTE_ORDER DBUS_BIG_ENDIAN
 #else
index 880c837edd5377687687ace33d60230f44d66c9a..e0f90e3acd61ba2c4a35afb51ee36bc2b72cf6ac 100644 (file)
 #include <dbus/dbus-protocol.h>
 #include <dbus/dbus-marshal-recursive.h>
 
-#ifndef PACKAGE
-#error "config.h not included here"
-#endif
-
 void _dbus_marshal_byteswap (const DBusString *signature,
                              int               signature_start,
                              int               old_byte_order,
index 52b6c73784a79589b345c4ae588094b6be205404..e1cf52ee3bf205c76d81a3a16784c64d473897a5 100644 (file)
 #include <dbus/dbus-marshal-basic.h>
 #include <dbus/dbus-marshal-validate.h>
 
-#ifndef PACKAGE
-#error "config.h not included here"
-#endif
-
 typedef struct DBusHeader      DBusHeader;
 typedef struct DBusHeaderField DBusHeaderField;
 
index 14f38b2c466e84ed5803f09137712acf580392f0..e533227c1262768fcc073c5061b4ed68a298f810 100644 (file)
 #include <dbus/dbus-protocol.h>
 #include <dbus/dbus-list.h>
 
-#ifndef PACKAGE
-#error "config.h not included here"
-#endif
-
 typedef struct DBusTypeReader      DBusTypeReader;
 typedef struct DBusTypeWriter      DBusTypeWriter;
 typedef struct DBusTypeReaderClass DBusTypeReaderClass;
index d09acc6019c18595a8e1f5d37c8d197de5275d85..29419991be9d44a87bbe6f5f58384e85d33d86ae 100644 (file)
 
 #include <config.h>
 
-#ifndef PACKAGE
-#error "config.h not included here"
-#endif
-
 /**
  * @addtogroup DBusMarshal
  *