PKG_CHECK_MODULES([TLS2], [gnutls >= 2.10.2],
[AC_DEFINE(USE_GNUTLS2, 1, [Use GnuTLS 2 or higher])],
[dummy="no"])
- PKG_CHECK_MODULES([TLSTICKET], [gnutls >= 2.10.2],
- [AC_DEFINE(USE_GNUTLS2_10, 1, [Use GnuTLS 2.10])],
- [dummy="no"])
- PKG_CHECK_MODULES([TLSSTRERROR], [gnutls >= 2.10.2],
- [AC_DEFINE(USE_GNUTLS2_6, 1, [Use GnuTLS 2.6])],
- [dummy="no"])
if test "x$_ecore_have_gnutls" = "xyes";then
AC_PATH_GENERIC([libgcrypt], [], [_ecore_have_gnutls="yes"], [_ecore_have_gnutls="no"])
if test "x${_ecore_have_gnutls}" = "xyes" ; then
- TLS_CFLAGS+=" ${LIBGCRYPT_CFLAGS}"
- TLS_LIBS+=" ${LIBGCRYPT_LIBS}"
+ TLS_CFLAGS="${TLS_CFLAGS} ${LIBGCRYPT_CFLAGS}"
+ TLS_LIBS="${TLS_LIBS} ${LIBGCRYPT_LIBS}"
fi
fi