diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2022-11-01 13:38:17 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2022-11-01 13:38:17 +0900 |
commit | d769ec2db2e0a89fe446fb90b3c4be8ec05abebd (patch) | |
tree | 326a92cf53371a21833366966460eb5cc3762db3 /src/libassuan.m4 | |
parent | 62547ec2497105bf95e7755ed88f996353539789 (diff) | |
download | libassuan-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>
Diffstat (limited to 'src/libassuan.m4')
-rw-r--r-- | src/libassuan.m4 | 4 |
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]) |