From 7fcd310f2d55106d906416ce9d1f0c2e8fb164c1 Mon Sep 17 00:00:00 2001 From: Thadeu Lima de Souza Cascardo Date: Thu, 4 Jun 2009 12:03:10 -0300 Subject: [PATCH] Detects GNUTLS and build with it. --- configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 754648f..dd580a5 100644 --- a/configure.ac +++ b/configure.ac @@ -5,8 +5,9 @@ AC_PROG_INSTALL AM_PATH_GNET_2_0(,,AC_MSG_ERROR(GNet not found)) PKG_CHECK_MODULES(IKSEMEL, iksemel, , AC_MSG_ERROR(Could not find iksemel)) PKG_CHECK_MODULES(GSASL, libgsasl >= 0.2.0, , AC_MSG_ERROR(Could not find gsasl)) -LIBS="$GSASL_LIBS $GNET_LIBS $IKSEMEL_LIBS $LIBS" -CFLAGS="$GSASL_CFLAGS $GNET_CFLAGS $IKSEMEL_CFLAGS $CFLAGS" +PKG_CHECK_MODULES(GNUTLS, gnutls >= 1.4.0, , AC_MSG_ERROR(Could not find gnutls)) +LIBS="$GNUTLS_LIBS $GSASL_LIBS $GNET_LIBS $IKSEMEL_LIBS $LIBS" +CFLAGS="$GNUTLS_CFLAGS $GSASL_CFLAGS $GNET_CFLAGS $IKSEMEL_CFLAGS $CFLAGS" if test "${sysconfdir}x" = '${prefix}/etcx'; then if test "${prefix}x" = 'NONEx'; then AC_DEFINE_UNQUOTED(SYSCONFDIR, "${ac_default_prefix}/etc") -- 2.20.1