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 <gniibe@fsij.org>
This commit is contained in:
parent
a73a41109f
commit
87061c0260
@ -9,7 +9,7 @@
|
|||||||
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
||||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
#
|
#
|
||||||
# Last-changed: 2024-05-14
|
# Last-changed: 2024-05-16
|
||||||
|
|
||||||
|
|
||||||
dnl
|
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 is added to the gpg_config_script_warn variable.
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN([AM_PATH_GPGME],
|
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)
|
tmp=ifelse([$1], ,1:0.4.2,$1)
|
||||||
if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then
|
if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then
|
||||||
req_gpgme_api=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\1/'`
|
req_gpgme_api=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\1/'`
|
||||||
|
Loading…
Reference in New Issue
Block a user