From 21f4ab37dc9dcdbfe9efb1af3c80c52b3dcc6b9e Mon Sep 17 00:00:00 2001 From: Imran Zaman Date: Fri, 4 Jul 2014 15:54:02 +0300 Subject: Fixed config.h header inclusion problem Change-Id: Iece9f97a74fc8376ec0357d7383e63fdbec19cdb Signed-off-by: Imran Zaman --- configure | 2 ++ configure.ac | 2 ++ dists/debian/rules | 2 +- docs/html/api-index-full.html | 4 ++-- include/gsignond/gsignond-log.h | 2 -- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/configure b/configure index 2f20cc6..5579ec0 100755 --- a/configure +++ b/configure @@ -13032,6 +13032,8 @@ GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -D_POSIX_C_SOURCE=\\\"200809L\\\" -D_GNU_SOURC GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -Wall -DG_LOG_DOMAIN=\\\"gsignond\\\"" if test "x$enable_debug" = "xno" ; then GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -Werror" +else + GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -DENABLE_DEBUG" fi # GSIGNOND_LIBS="$GSIGNOND_LIBS -lduma" diff --git a/configure.ac b/configure.ac index 579ac5c..c7b43bf 100644 --- a/configure.ac +++ b/configure.ac @@ -177,6 +177,8 @@ GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -D_POSIX_C_SOURCE=\\\"200809L\\\" -D_GNU_SOURC GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -Wall -DG_LOG_DOMAIN=\\\"gsignond\\\"" if test "x$enable_debug" = "xno" ; then GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -Werror" +else + GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -DENABLE_DEBUG" fi # GSIGNOND_LIBS="$GSIGNOND_LIBS -lduma" diff --git a/dists/debian/rules b/dists/debian/rules index 55bee4d..c59a978 100755 --- a/dists/debian/rules +++ b/dists/debian/rules @@ -16,7 +16,7 @@ export DH_OPTIONS dh $@ --parallel override_dh_auto_configure: - dh_auto_configure -- --enable-dbus-type=session --enable-gtk-doc --enable-debug + dh_auto_configure -- --enable-dbus-type=session --enable-gtk-doc override_dh_auto_test: true diff --git a/docs/html/api-index-full.html b/docs/html/api-index-full.html index 503f5ef..8df48b8 100644 --- a/docs/html/api-index-full.html +++ b/docs/html/api-index-full.html @@ -277,11 +277,11 @@
-GSIGNOND_ERROR, macro in Errors +GSignondError, enum in Errors
-GSignondError, enum in Errors +GSIGNOND_ERROR, macro in Errors
diff --git a/include/gsignond/gsignond-log.h b/include/gsignond/gsignond-log.h index fcb65e0..ad1e6e0 100644 --- a/include/gsignond/gsignond-log.h +++ b/include/gsignond/gsignond-log.h @@ -25,8 +25,6 @@ #ifndef __GSIGNOND_LOG_H_ #define __GSIGNOND_LOG_H_ -#include "config.h" - #include #include -- cgit v1.2.3