gpgme.m4: Update _AM_PATH_GPGRT_CONFIG macro from gpg-error.m4.

* src/gpgme.m4 (_AM_PATH_GPGRT_CONFIG): Update.

--

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2024-05-14 10:30:47 +09:00
parent e4a95746ad
commit 882ccc8ea7
No known key found for this signature in database
GPG Key ID: 640114AF89DE6054

View File

@ -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: 2022-11-25 # Last-changed: 2024-05-14
dnl dnl
@ -73,12 +73,9 @@ AC_DEFUN([_AM_PATH_GPGRT_CONFIG],[dnl
fi fi
if test -n "$gpgrt_libdir"; then break; fi if test -n "$gpgrt_libdir"; then break; fi
done done
if test -z "$libdir_candidates"; then
# No valid pkgconfig dir in any of the system directories, fallback
gpgrt_libdir=${possible_libdir1}
fi fi
else if test -z "$gpgrt_libdir"; then
# When we cannot determine system libdir-format, use this: # No valid pkgconfig dir in any of the system directories, fallback
gpgrt_libdir=${possible_libdir1} gpgrt_libdir=${possible_libdir1}
fi fi
else else
@ -92,6 +89,7 @@ AC_DEFUN([_AM_PATH_GPGRT_CONFIG],[dnl
AC_MSG_NOTICE([Use gpgrt-config with $gpgrt_libdir as gpg-error-config]) AC_MSG_NOTICE([Use gpgrt-config with $gpgrt_libdir as gpg-error-config])
gpg_error_config_version=`$GPG_ERROR_CONFIG --modversion` gpg_error_config_version=`$GPG_ERROR_CONFIG --modversion`
else else
gpg_error_config_version=`$GPG_ERROR_CONFIG --version`
unset GPGRT_CONFIG unset GPGRT_CONFIG
fi fi
elif test "$GPG_ERROR_CONFIG" != "no"; then elif test "$GPG_ERROR_CONFIG" != "no"; then