From 87061c0260bb2a129a98bd9445cdc4220f542c15 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Thu, 16 May 2024 09:25:35 +0900 Subject: [PATCH] gpgme.m4: Set $host correctly always. * src/gpgme.m4 (AM_PATH_GPGME): Add AC_CANONICAL_HOST. -- GnuPG-bug-id: 7114 Reported-by: Andreas Metzler Signed-off-by: NIIBE Yutaka --- src/gpgme.m4 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gpgme.m4 b/src/gpgme.m4 index 25d1e531..bcfcc79e 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: 2024-05-14 +# Last-changed: 2024-05-16 dnl @@ -184,7 +184,8 @@ dnl config script does not match the host specification the script dnl is added to the gpg_config_script_warn variable. dnl AC_DEFUN([AM_PATH_GPGME], -[ AC_REQUIRE([_AM_PATH_GPGME_CONFIG])dnl +[ AC_REQUIRE([AC_CANONICAL_HOST])dnl + AC_REQUIRE([_AM_PATH_GPGME_CONFIG])dnl tmp=ifelse([$1], ,1:0.4.2,$1) if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then req_gpgme_api=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\1/'`