* Version 2.5.5 (unreleased)
+** libgnutls: Fix include paths so that building with internal libtasn1 works.
+Reported by "jth.net ApS" <info@jth.net>.
+
** libgnutls: Fix segmentation fault when generating private keys.
Reported by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
-I$(top_srcdir)/includes -I$(top_builddir)/includes \
-I$(top_srcdir)/lgl -I$(top_builddir)/lgl
+if ENABLE_MINITASN1
+AM_CPPFLAGS += -I$(top_srcdir)/lib/minitasn1
+else
+AM_CPPFLAGS += $(LIBTASN1_CFLAGS)
+endif
+
noinst_LTLIBRARIES = libminiopencdk.la
libminiopencdk_la_SOURCES = armor.c filters.h keydb.h main.c types.h \
AM_CPPFLAGS = \
-I$(top_srcdir)/lgl -I$(top_builddir)/lgl \
- -I$(top_srcdir)/libextra -I$(top_srcdir)/lib/minitasn1 \
- -I$(top_srcdir)/lib \
+ -I$(top_srcdir)/lib \
-I$(top_srcdir)/includes -I$(top_builddir)/includes \
- $(LIBOPENCDK_CFLAGS) $(LIBTASN1_CFLAGS) $(LIBGCRYPT_CFLAGS)
+ $(LIBOPENCDK_CFLAGS) $(LIBGCRYPT_CFLAGS)
+
+if ENABLE_MINITASN1
+AM_CPPFLAGS += -I$(top_srcdir)/lib/minitasn1
+else
+AM_CPPFLAGS += $(LIBTASN1_CFLAGS)
+endif
noinst_LTLIBRARIES = libgnutls_x509.la