summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2015-03-09 21:57:25 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2015-03-09 21:57:25 +0100
commit9df4631172fbc02df64d1b0f30bfc3546ec07cae (patch)
tree7b8cf6bfe22e4ceb557616e2b461ff218596867d /m4
parent80d7af4e25b159a2b233c89047a0ddeddcf7c0c8 (diff)
downloadgnutls-9df4631172fbc02df64d1b0f30bfc3546ec07cae.tar.gz
depend on libtasn1 4.3
Diffstat (limited to 'm4')
-rw-r--r--m4/hooks.m49
1 files changed, 1 insertions, 8 deletions
diff --git a/m4/hooks.m4 b/m4/hooks.m4
index ce756eeca8..a5c215606c 100644
--- a/m4/hooks.m4
+++ b/m4/hooks.m4
@@ -108,7 +108,7 @@ AC_MSG_ERROR([[
included_libtasn1=$withval,
included_libtasn1=no)
if test "$included_libtasn1" = "no"; then
- PKG_CHECK_MODULES(LIBTASN1, [libtasn1 >= 3.9], [], [included_libtasn1=yes])
+ PKG_CHECK_MODULES(LIBTASN1, [libtasn1 >= 4.3], [], [included_libtasn1=yes])
if test "$included_libtasn1" = yes; then
AC_MSG_WARN([[
***
@@ -124,13 +124,6 @@ AC_MSG_ERROR([[
GNUTLS_REQUIRES_PRIVATE="${GNUTLS_REQUIRES_PRIVATE}, libtasn1"
fi
- oldlibs="$LIBS"
- LIBS="$LIBS $LIBTASN1_LIBS"
- oldcflags="$CFLAGS"
- CFLAGS="$CFLAGS $LIBTASN1_CFLAGS"
- AC_CHECK_FUNC(asn1_decode_simple_ber,
- [AC_DEFINE(HAVE_ASN1_DECODE_SIMPLE_BER, 1, [Have this function])], [])
-
AC_MSG_CHECKING([whether C99 macros are supported])
AC_TRY_COMPILE(,
[