On 16/08/11 05:12, Rémy Oudompheng wrote:
Signed-off-by: Rémy Oudompheng<[email protected]>
---
Here I am not really sure about the Automake syntax, does it also work
if the GPGME test is not run ?
I believe it is fine if the GPGME test is not run, but you can easily
test if everything works using --without-gpgme. Also, this should just
be part of the configure patch.
lib/libalpm/Makefile.am | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/lib/libalpm/Makefile.am b/lib/libalpm/Makefile.am
index 99f9c1b..2c7fea4 100644
--- a/lib/libalpm/Makefile.am
+++ b/lib/libalpm/Makefile.am
@@ -20,6 +20,8 @@ if ENABLE_GNU89_INLINE_CC
AM_CFLAGS += -fgnu89-inline
endif
+AM_CPPFLAGS = @LIBCURL_CPPFLAGS@ @GPGME_CFLAGS@
+
libalpm_la_SOURCES = \
add.h add.c \
alpm.h alpm.c \
@@ -60,7 +62,7 @@ libalpm_la_SOURCES += \
base64.h base64.c
endif
-libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO) @LIBCURL@
+libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO) @LIBCURL@
@GPGME_LIBS@
libalpm_la_LIBADD = $(LTLIBINTL)
# vim:set ts=2 sw=2 noet: