aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2024-05-16 00:25:35 +0000
committerNIIBE Yutaka <[email protected]>2024-05-16 00:27:58 +0000
commit87061c0260bb2a129a98bd9445cdc4220f542c15 (patch)
tree7a84b7dc038bdf4b43d342ef7a9bff7465188fb7 /src
parenttests: Fix test after changed behavior of gpgme_op_verify (diff)
downloadgpgme-87061c0260bb2a129a98bd9445cdc4220f542c15.tar.gz
gpgme-87061c0260bb2a129a98bd9445cdc4220f542c15.zip
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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gpgme.m45
1 files 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/'`