summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2022-11-01 13:38:17 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2022-11-01 13:38:17 +0900
commitd769ec2db2e0a89fe446fb90b3c4be8ec05abebd (patch)
tree326a92cf53371a21833366966460eb5cc3762db3
parent62547ec2497105bf95e7755ed88f996353539789 (diff)
downloadlibassuan-d769ec2db2e0a89fe446fb90b3c4be8ec05abebd.tar.gz
build: Prefer gpgrt-config when available.
* src/libassuan.m4: Overriding the decision by --with-libassuan-prefix, use gpgrt-config libassuan when gpgrt-config is available. -- This may offer better migration. GnuPG-bug-id: 5034 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
-rw-r--r--src/libassuan.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libassuan.m4 b/src/libassuan.m4
index df50484..79391bb 100644
--- a/src/libassuan.m4
+++ b/src/libassuan.m4
@@ -9,7 +9,7 @@ dnl This file is distributed in the hope that it will be useful, but
dnl WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
dnl implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
dnl SPDX-License-Identifier: FSFULLR
-# Last-changed: 2020-11-17
+# Last-changed: 2022-11-01
dnl
dnl Common code used for libassuan detection [internal]
@@ -28,7 +28,7 @@ AC_DEFUN([_AM_PATH_LIBASSUAN_COMMON],
fi
use_gpgrt_config=""
- if test x"${LIBASSUAN_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 libassuan --exists; then
LIBASSUAN_CONFIG="$GPGRT_CONFIG libassuan"
AC_MSG_NOTICE([Use gpgrt-config as libassuan-config])