aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2018-08-29 06:13:14 +0000
committerNIIBE Yutaka <[email protected]>2018-08-29 06:13:14 +0000
commit07fcb271f7610e7a174bd6a6d54aaa84b01ec060 (patch)
tree1f28ef3625ae3d9596248a29c9d8ba66b0533ef8
parentMore changes for new gpg-error-config. (diff)
downloadlibgpg-error-07fcb271f7610e7a174bd6a6d54aaa84b01ec060.tar.gz
libgpg-error-07fcb271f7610e7a174bd6a6d54aaa84b01ec060.zip
Fix gpg-error.m4 to use pkg-config compatible way.
* src/gpg-error.m4: Use --variable=xx. Signed-off-by: NIIBE Yutaka <[email protected]>
-rw-r--r--src/gpg-error.m46
1 files 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([[