aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 30a9f282d..9751651c7 100644
--- a/configure.in
+++ b/configure.in
@@ -20,6 +20,7 @@ AC_INIT(strongSwan,4.2.2)
AM_INIT_AUTOMAKE(tar-ustar)
AC_C_BIGENDIAN
AC_SUBST(confdir, '${sysconfdir}')
+PKG_PROG_PKG_CONFIG
dnl =================================
dnl check --enable-xxx & --with-xxx
@@ -581,11 +582,17 @@ if test x$curl = xtrue; then
fi
if test x$xml = xtrue; then
- PKG_CHECK_MODULES(xml, [libxml-2.0],, AC_MSG_ERROR([No libxml2 package information found]))
+ PKG_CHECK_MODULES(xml, [libxml-2.0])
AC_SUBST(xml_CFLAGS)
AC_SUBST(xml_LIBS)
fi
+if test x$dumm = xtrue; then
+ PKG_CHECK_MODULES(gtk, [gtk+-2.0 vte])
+ AC_SUBST(gtk_CFLAGS)
+ AC_SUBST(gtk_LIBS)
+fi
+
if test x$fast = xtrue; then
AC_HAVE_LIBRARY([neo_cgi],[LIBS="$LIBS"],[AC_MSG_ERROR([ClearSilver library neo_cgi not found!])])
AC_HAVE_LIBRARY([neo_utl],[LIBS="$LIBS"],[AC_MSG_ERROR([ClearSilver library neo_utl not found!])])