From: Michael Tremer Date: Thu, 23 Nov 2017 16:28:38 +0000 (+0100) Subject: configure: Depend on GPGME X-Git-Tag: 0.9.28~1285^2~1297 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0e75ae247792f698180ff87565de80c30812a4ed;p=pakfire.git configure: Depend on GPGME Signed-off-by: Michael Tremer --- diff --git a/Makefile.am b/Makefile.am index 029d24785..fd8326970 100644 --- a/Makefile.am +++ b/Makefile.am @@ -294,6 +294,7 @@ libpakfire_la_LDFLAGS = \ libpakfire_la_LIBADD = \ $(ARCHIVE_LIBS) \ + $(GPGME_LIBS) \ $(LZMA_LIBS) \ $(SOLV_LIBS) diff --git a/configure.ac b/configure.ac index f0c33604c..c4bb021be 100644 --- a/configure.ac +++ b/configure.ac @@ -148,6 +148,8 @@ PKG_CHECK_MODULES([ARCHIVE], [libarchive]) PKG_CHECK_MODULES([PYTHON_DEVEL], [python-${PYTHON_VERSION}]) PKG_CHECK_MODULES([LZMA], [liblzma]) +AM_PATH_GPGME([1.6.0], [], [AC_MSG_ERROR([*** GPGME not found])]) + AC_ARG_WITH([systemdsystemunitdir], AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]), [], [with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)])