mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-22 17:35:55 +03:00
build: Use both pkg-config and AM_PATH_GPGME
Apparently OpenEmbeddeded only supports pkg-config (and includes gpgme.pc in its content), and Fedora only has the latter. So do both.
This commit is contained in:
parent
187e8d632e
commit
c732178a43
14
configure.ac
14
configure.ac
@ -100,14 +100,14 @@ AM_CONDITIONAL(BUILDOPT_INTROSPECTION, test "x$found_introspection" = xyes)
|
||||
|
||||
LIBGPGME_DEPENDENCY="1.1.8"
|
||||
|
||||
m4_ifdef([AM_PATH_GPGME], [
|
||||
AM_PATH_GPGME($LIBGPGME_DEPENDENCY, have_gpgme=yes, have_gpgme=no)
|
||||
],[ have_gpgme=no ])
|
||||
PKG_CHECK_MODULES(OT_DEP_GPGME, gpgme >= $LIBGPGME_DEPENDENCY, have_gpgme=yes, [
|
||||
m4_ifdef([AM_PATH_GPGME], [
|
||||
AM_PATH_GPGME($LIBGPGME_DEPENDENCY, have_gpgme=yes, have_gpgme=no)
|
||||
],[ have_gpgme=no ])
|
||||
])
|
||||
AS_IF([ test x$have_gpgme = xno ], [
|
||||
AC_MSG_ERROR([
|
||||
|
||||
Need GPGME version $LIBGPGME_DEPENDENCY or later
|
||||
])])
|
||||
AC_MSG_ERROR([Need GPGME version $LIBGPGME_DEPENDENCY or later])
|
||||
])
|
||||
OSTREE_FEATURES="$OSTREE_FEATURES +gpgme"
|
||||
|
||||
LIBARCHIVE_DEPENDENCY="libarchive >= 2.8.0"
|
||||
|
Loading…
Reference in New Issue
Block a user