diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 1a295d4..c9e2de5 100644 --- a/configure.ac +++ b/configure.ac @@ -112,6 +112,15 @@ fi AM_CONDITIONAL(ENABLE_DBUS, test "x$ENABLE_DBUS" = "xyes") +AC_CHECK_LIB(expat, XML_ParserCreate, [ AC_CHECK_HEADERS(expat.h, have_expat=true, have_expat=false) ], have_expat=false) + +if ! $have_expat ; then + AC_MSG_ERROR([*** libexpat not found ***]) +fi + +PKG_CHECK_MODULES(LIBDAEMON, [ libdaemon >= 0.5 ]) +AC_SUBST(LIBDAEMON_CFLAGS) +AC_SUBST(LIBDAEMON_LIBS) # If using GCC specify some additional parameters if test "x$GCC" = "xyes" ; then |