Check for libxml when building tnccs_11, use autoconf libxml CFLAGS/LIBS

This commit is contained in:
Martin Willi
2011-02-08 11:11:01 +01:00
parent 91f8ce562d
commit 234955d1ea
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -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
+3 -2
View File
@@ -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