summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorArron Wang <arron.wang@intel.com>2014-11-02 16:14:16 +0800
committerArron Wang <arron.wang@intel.com>2014-11-25 16:21:34 +0800
commitb2d951971361e93c8a6ed67d1bb5fda4fae21532 (patch)
tree8d7b1111c1d3d0b0ef7bb926dfabce61ca609088 /configure.ac
parent12ab8cdb83253802061bff5a998d27a092f13bbc (diff)
downloadneardal-b2d951971361e93c8a6ed67d1bb5fda4fae21532.tar.gz
neardal-b2d951971361e93c8a6ed67d1bb5fda4fae21532.tar.bz2
neardal-b2d951971361e93c8a6ed67d1bb5fda4fae21532.zip
Enable tizen dlog log system
Change-Id: If46bf22a2bafeb16a8aac92498c8cc1ab10e4409
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 8915850..6d07ca2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,6 +73,12 @@ AC_SEARCH_LIBS([rl_initialize], [edit readline],
[CPPFLAGS="-DHAVE_LIBEDIT $CPPFLAGS"])],
[AC_MSG_ERROR(editline or readline is required)])
+PKG_CHECK_MODULES(DLOG, dlog, dummy=yes, AC_MSG_ERROR(dlog is required))
+AC_SUBST(DLOG_CFLAGS)
+AC_SUBST(DLOG_LIBS)
+LDFLAGS="$LDFLAGS -ldlog"
+CFLAGS="$CFLAGS -I/usr/include/dlog"
+
AC_PATH_TOOL([DOXYGEN], [doxygen])
AM_CONDITIONAL([HAVE_DOXYGEN], [test ! -z "$DOXYGEN"])
AM_COND_IF([HAVE_DOXYGEN], [AC_CONFIG_FILES([doxygen.cfg])])