From 41a2d0807aace08c3f2895d7768594c929edf3cd Mon Sep 17 00:00:00 2001 From: ticktock35 Date: Sun, 14 Dec 2008 23:19:59 -0500 Subject: opkg: fix configure checks for gpgme git-svn-id: http://opkg.googlecode.com/svn/trunk@20 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- diff --git a/Makefile.am b/Makefile.am index c6218c1..bb33843 100644 --- a/Makefile.am +++ b/Makefile.am @@ -52,7 +52,7 @@ libopkg_include_HEADERS= \ #\ replace/replace.h #libopkg_la_LIBADD = libbb/libbb.la replace/libreplace.a -libopkg_la_LIBADD = libbb/libbb.la $(CURL_LIBS) +libopkg_la_LIBADD = libbb/libbb.la $(CURL_LIBS) $(GPGME_LIBS) opkg_core_sources = args.c args.h opkg.c \ user.c user.h @@ -97,9 +97,9 @@ libopkg_la_SOURCES = $(opkg_libcore_sources) $(opkg_cmd_sources) $(opkg_db_sourc opkg_cl_SOURCES = opkg-frontend.c -libopkg_la_CFLAGS = -DOPKG_LIB $(ALL_CFLAGS) $(CURL_CFLAGS) +libopkg_la_CFLAGS = -DOPKG_LIB $(ALL_CFLAGS) $(CURL_CFLAGS) $(GPGME_CFLAGS) -opkg_CFLAGS = $(ALL_CFLAGS) $(CURL_CFLAGS) +opkg_CFLAGS = $(ALL_CFLAGS) $(CURL_CFLAGS) $(GPGME_CFLAGS) opkg_cl_CFLAGS = -DOPKG_LIB $(ALL_CFLAGS) diff --git a/configure.ac b/configure.ac index 2048313..3e1d0bb 100644 --- a/configure.ac +++ b/configure.ac @@ -66,7 +66,8 @@ else AC_MSG_ERROR(GPGME $min_gpgme_version or later needed) fi - +AC_SUBST(GPGME_CFLAGS) +AC_SUBST(GPGME_LIBS) # Checks for header files -- cgit v0.9.1