From d6f470a9795b0b3d14661885840d74d563e61030 Mon Sep 17 00:00:00 2001 From: Thadeu Lima de Souza Cascardo Date: Fri, 8 Dec 2006 20:03:18 +0000 Subject: [PATCH] Detects GNU SASL Detects GNU SASL using autoconf and builds with it. --- configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 0be9d2f..141e9e7 100644 --- a/configure.ac +++ b/configure.ac @@ -4,8 +4,9 @@ AC_PROG_CC 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)) -LIBS="$GNET_LIBS $IKSEMEL_LIBS $LIBS" -CFLAGS="$GNET_CFLAGS $IKSEMEL_CFLAGS $CFLAGS" +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" if test "${sysconfdir}x" = '${prefix}/etcx'; then if test "${prefix}x" = 'NONEx'; then AC_DEFINE_UNQUOTED(SYSCONFDIR, "${ac_default_prefix}/etc") -- 2.20.1