#\ replace/replace.h
#libopkg_la_LIBADD = libbb/libbb.la replace/libreplace.a
#\ 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
opkg_core_sources = args.c args.h opkg.c \
user.c user.h
opkg_cl_SOURCES = opkg-frontend.c
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)
opkg_cl_CFLAGS = -DOPKG_LIB $(ALL_CFLAGS)
AC_MSG_ERROR(GPGME $min_gpgme_version or later needed)
fi
AC_MSG_ERROR(GPGME $min_gpgme_version or later needed)
fi
+AC_SUBST(GPGME_CFLAGS)
+AC_SUBST(GPGME_LIBS)
# Checks for header files
# Checks for header files