fixed config.h header; removed it from public header
authorImran Zaman <imran.zaman@linux.intel.com>
Fri, 4 Jul 2014 12:35:25 +0000 (15:35 +0300)
committerImran Zaman <imran.zaman@linux.intel.com>
Fri, 4 Jul 2014 12:35:25 +0000 (15:35 +0300)
configure.ac
include/gsignond/gsignond-log.h

index 579ac5c..c7b43bf 100644 (file)
@@ -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"
index fcb65e0..ad1e6e0 100644 (file)
@@ -25,8 +25,6 @@
 #ifndef __GSIGNOND_LOG_H_
 #define __GSIGNOND_LOG_H_
 
-#include "config.h"
-
 #include <glib.h>
 
 #include <execinfo.h>