Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
<http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2930>.
SUBDIRS += minitasn1
endif
-
localedir = $(datadir)/locale
AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" \
-I$(top_srcdir)/lgl -I$(top_builddir)/lgl \
-I$(top_srcdir)/includes -I../includes \
-I$(srcdir)/x509 \
- -I$(top_srcdir)/libextra -I$(top_srcdir)/lib/openpgp/ \
- $(LIBGCRYPT_CFLAGS)
+ -I$(top_srcdir)/libextra -I$(top_srcdir)/lib/openpgp/
if ENABLE_OPENPGP
SUBDIRS += opencdk
AM_CPPFLAGS += $(LIBTASN1_CFLAGS)
endif
+# Make sure this comes after any -I's for internal headers.
+AM_CPPFLAGS += $(LIBGCRYPT_CFLAGS)
+
bin_SCRIPTS = libgnutls-config
m4datadir = $(datadir)/aclocal