From: Martin Willi Date: Tue, 8 Feb 2011 10:11:01 +0000 (+0100) Subject: Check for libxml when building tnccs_11, use autoconf libxml CFLAGS/LIBS X-Git-Tag: 4.5.1~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=234955d1ea3f08cc77f98b65442369a9684e0e77;p=thirdparty%2Fstrongswan.git Check for libxml when building tnccs_11, use autoconf libxml CFLAGS/LIBS --- diff --git a/configure.in b/configure.in index 8b9b5a7a6d..d84d650383 100644 --- a/configure.in +++ b/configure.in @@ -234,7 +234,7 @@ if test x$fips_prf = xtrue; then fi fi -if test x$smp = xtrue; then +if test x$smp = xtrue -o x$tnccs_11 = xtrue; then xml=true fi diff --git a/src/libcharon/plugins/tnccs_11/Makefile.am b/src/libcharon/plugins/tnccs_11/Makefile.am index 4e2fcabd4c..1042c35149 100644 --- a/src/libcharon/plugins/tnccs_11/Makefile.am +++ b/src/libcharon/plugins/tnccs_11/Makefile.am @@ -1,10 +1,11 @@ INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libhydra \ - -I$(top_srcdir)/src/libcharon -I$(top_srcdir)/src/libtls \ - `xml2-config --cflags` + -I$(top_srcdir)/src/libcharon -I$(top_srcdir)/src/libtls ${xml_CFLAGS} AM_CFLAGS = -rdynamic +libstrongswan_tnccs_11_la_LIBADD = ${xml_LIBS} + if MONOLITHIC noinst_LTLIBRARIES = libstrongswan-tnccs-11.la else