From 07fcb271f7610e7a174bd6a6d54aaa84b01ec060 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Wed, 29 Aug 2018 15:13:14 +0900 Subject: Fix gpg-error.m4 to use pkg-config compatible way. * src/gpg-error.m4: Use --variable=xx. Signed-off-by: NIIBE Yutaka --- src/gpg-error.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gpg-error.m4 b/src/gpg-error.m4 index 60c88d8..ab29273 100644 --- a/src/gpg-error.m4 +++ b/src/gpg-error.m4 @@ -88,11 +88,11 @@ AC_DEFUN([AM_PATH_GPG_ERROR], if test $ok = yes; then GPG_ERROR_CFLAGS=`$GPG_ERROR_CONFIG $gpg_error_config_args --cflags` GPG_ERROR_LIBS=`$GPG_ERROR_CONFIG $gpg_error_config_args --libs` - GPG_ERROR_MT_CFLAGS=`$GPG_ERROR_CONFIG $gpg_error_config_args --mt --cflags 2>/dev/null` - GPG_ERROR_MT_LIBS=`$GPG_ERROR_CONFIG $gpg_error_config_args --mt --libs 2>/dev/null` + GPG_ERROR_MT_CFLAGS=`$GPG_ERROR_CONFIG $gpg_error_config_args --variable=mtcflags 2>/dev/null` + GPG_ERROR_MT_LIBS=`$GPG_ERROR_CONFIG $gpg_error_config_args --variable=mtlibs 2>/dev/null` AC_MSG_RESULT([yes ($gpg_error_config_version)]) ifelse([$2], , :, [$2]) - gpg_error_config_host=`$GPG_ERROR_CONFIG $gpg_error_config_args --host 2>/dev/null || echo none` + gpg_error_config_host=`$GPG_ERROR_CONFIG $gpg_error_config_args --variable=host 2>/dev/null || echo none` if test x"$gpg_error_config_host" != xnone ; then if test x"$gpg_error_config_host" != x"$host" ; then AC_MSG_WARN([[ -- cgit v1.2.3