r3955 - trunk/src/target/opkg
thomas at sita.openmoko.org
thomas at sita.openmoko.org
Fri Jan 25 18:06:58 CET 2008
Author: thomas
Date: 2008-01-25 18:06:57 +0100 (Fri, 25 Jan 2008)
New Revision: 3955
Modified:
trunk/src/target/opkg/Makefile.am
trunk/src/target/opkg/configure.ac
Log:
opkg: fix configure checks for gpgme
Modified: trunk/src/target/opkg/Makefile.am
===================================================================
--- trunk/src/target/opkg/Makefile.am 2008-01-25 15:00:55 UTC (rev 3954)
+++ trunk/src/target/opkg/Makefile.am 2008-01-25 17:06:57 UTC (rev 3955)
@@ -52,7 +52,7 @@
#\ 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 @@
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)
Modified: trunk/src/target/opkg/configure.ac
===================================================================
--- trunk/src/target/opkg/configure.ac 2008-01-25 15:00:55 UTC (rev 3954)
+++ trunk/src/target/opkg/configure.ac 2008-01-25 17:06:57 UTC (rev 3955)
@@ -66,9 +66,10 @@
AC_MSG_ERROR(GPGME $min_gpgme_version or later needed)
fi
+AC_SUBST(GPGME_CFLAGS)
+AC_SUBST(GPGME_LIBS)
-
# Checks for header files
AC_HEADER_DIRENT
AC_HEADER_STDC
More information about the commitlog
mailing list