aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2022-11-02 01:08:52 +0000
committerNIIBE Yutaka <[email protected]>2022-11-02 01:12:46 +0000
commit9f55dceca0cf2926d14cb4a70bd0cdc454d89f03 (patch)
tree092899edaba59bca8be9a5ff4e51af8819e83ffd /src
parentcore: New global flags "inst-type". (diff)
downloadgpgme-9f55dceca0cf2926d14cb4a70bd0cdc454d89f03.tar.gz
gpgme-9f55dceca0cf2926d14cb4a70bd0cdc454d89f03.zip
build: Prefer gpgrt-config when available.
* src/gpgme.m4: Overriding the decision by --with-gpgme-prefix, use gpgrt-config gpgme when gpgrt-config is available. -- This may offer better migration. GnuPG-bug-id: 5034 Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gpgme.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpgme.m4 b/src/gpgme.m4
index c749a5dd..09a282d0 100644
--- a/src/gpgme.m4
+++ b/src/gpgme.m4
@@ -9,7 +9,7 @@
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
-# Last-changed: 2020-11-20
+# Last-changed: 2022-11-02
AC_DEFUN([_AM_PATH_GPGME_CONFIG],
@@ -37,7 +37,7 @@ AC_DEFUN([_AM_PATH_GPGME_CONFIG],
fi
use_gpgrt_config=""
- if test x"${GPGME_CONFIG}" = x -a x"$GPGRT_CONFIG" != x -a "$GPGRT_CONFIG" != "no"; then
+ if test x"$GPGRT_CONFIG" != x -a "$GPGRT_CONFIG" != "no"; then
if $GPGRT_CONFIG gpgme --exists; then
GPGME_CONFIG="$GPGRT_CONFIG gpgme"
AC_MSG_NOTICE([Use gpgrt-config as gpgme-config])