Commit 258aa257 authored by johan's avatar johan

Merge branch 'master' of git.linphone.org:bzrtp

parents 3692c080 228ce6e6
......@@ -40,7 +40,13 @@ else
AC_DEFINE(ZIDCACHE_ENABLED,1,[defined when libxml2 is available])
fi
dnl check libxml2
PKG_CHECK_MODULES(LIBXML2, [libxml-2.0] ,[libxml2_found=yes] ,foo=bar)
if test "$libxml2_found$found_sqlite" != "yesyes" ; then
AC_MSG_WARN([libxml2 not found. Disabling cache.])
else
AC_DEFINE(HAVE_LIBXML2,1,[defined when libxml2 is available])
fi
AC_ARG_ENABLE(tests,
[AS_HELP_STRING([--disable-tests], [Disable compilation of tests])],
......
lib_LTLIBRARIES = libbzrtp.la
libbzrtp_la_LIBADD= $(SQLITE3_LIBS) $(BCTOOLBOX_LIBS)
libbzrtp_la_LIBADD= $(SQLITE3_LIBS) $(LIBXML2_LIBS) $(BCTOOLBOX_LIBS)
libbzrtp_la_SOURCES= bzrtp.c cryptoUtils.c packetParser.c zidCache.c stateMachine.c pgpwords.c
AM_CPPFLAGS= -I$(top_srcdir)/include
AM_CFLAGS= $(LIBSQLITE3_CFLAGS) $(BCTOOLBOX_CFLAGS)
AM_CFLAGS= $(LIBXML2_CFLAGS) $(LIBSQLITE3_CFLAGS) $(BCTOOLBOX_CFLAGS)
libbzrtp_la_LDFLAGS=-fvisibility=hidden -no-undefined
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment