From: Lennart Poettering Date: Wed, 22 Apr 2009 00:46:35 +0000 (+0200) Subject: build-system: get rid of config.h inclusion checks X-Git-Tag: dbus-1.3.0~4^2~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3801b6de7878074a8e77445bad2a2d093889a3af;p=platform%2Fupstream%2Fdbus.git build-system: get rid of config.h inclusion checks 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. --- diff --git a/dbus/dbus-marshal-basic.h b/dbus/dbus-marshal-basic.h index 28c751f..bcc15ee 100644 --- a/dbus/dbus-marshal-basic.h +++ b/dbus/dbus-marshal-basic.h @@ -31,10 +31,6 @@ #include #include -#ifndef PACKAGE -#error "config.h not included here" -#endif - #ifdef WORDS_BIGENDIAN #define DBUS_COMPILER_BYTE_ORDER DBUS_BIG_ENDIAN #else diff --git a/dbus/dbus-marshal-byteswap.h b/dbus/dbus-marshal-byteswap.h index 880c837..e0f90e3 100644 --- a/dbus/dbus-marshal-byteswap.h +++ b/dbus/dbus-marshal-byteswap.h @@ -28,10 +28,6 @@ #include #include -#ifndef PACKAGE -#error "config.h not included here" -#endif - void _dbus_marshal_byteswap (const DBusString *signature, int signature_start, int old_byte_order, diff --git a/dbus/dbus-marshal-header.h b/dbus/dbus-marshal-header.h index 52b6c73..e1cf52e 100644 --- a/dbus/dbus-marshal-header.h +++ b/dbus/dbus-marshal-header.h @@ -28,10 +28,6 @@ #include #include -#ifndef PACKAGE -#error "config.h not included here" -#endif - typedef struct DBusHeader DBusHeader; typedef struct DBusHeaderField DBusHeaderField; diff --git a/dbus/dbus-marshal-recursive.h b/dbus/dbus-marshal-recursive.h index 14f38b2..e533227 100644 --- a/dbus/dbus-marshal-recursive.h +++ b/dbus/dbus-marshal-recursive.h @@ -28,10 +28,6 @@ #include #include -#ifndef PACKAGE -#error "config.h not included here" -#endif - typedef struct DBusTypeReader DBusTypeReader; typedef struct DBusTypeWriter DBusTypeWriter; typedef struct DBusTypeReaderClass DBusTypeReaderClass; diff --git a/dbus/dbus-marshal-validate.h b/dbus/dbus-marshal-validate.h index d09acc6..2941999 100644 --- a/dbus/dbus-marshal-validate.h +++ b/dbus/dbus-marshal-validate.h @@ -26,10 +26,6 @@ #include -#ifndef PACKAGE -#error "config.h not included here" -#endif - /** * @addtogroup DBusMarshal *