diff options
author | NIIBE Yutaka <[email protected]> | 2024-06-13 06:00:10 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2024-06-14 02:57:01 +0000 |
commit | c4e6b6aba2c9bb9ec517e9f16a1347794de32d6f (patch) | |
tree | dff10bbe74daa72f5762a1f7b80760817eb1dba9 /m4/libgcrypt.m4 | |
parent | gpg: Add --import-option "no-seckeys". (diff) | |
download | gnupg-c4e6b6aba2c9bb9ec517e9f16a1347794de32d6f.tar.gz gnupg-c4e6b6aba2c9bb9ec517e9f16a1347794de32d6f.zip |
m4: Update m4 files.
* m4/gpg-error.m4: Update libgpg-error master.
* m4/libassuan.m4: Update libassuan master.
* m4/libgcrypt.m4: Update libgcrypt master.
* m4/ksba.m4: Update libksba master.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'm4/libgcrypt.m4')
-rw-r--r-- | m4/libgcrypt.m4 | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/m4/libgcrypt.m4 b/m4/libgcrypt.m4 index 309d941a2..353df81b6 100644 --- a/m4/libgcrypt.m4 +++ b/m4/libgcrypt.m4 @@ -10,7 +10,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-06-13 dnl @@ -84,17 +84,16 @@ AC_DEFUN([_AM_PATH_GPGRT_CONFIG],[dnl fi if test -n "$gpgrt_libdir"; then + # Add the --libdir option to GPGRT_CONFIG GPGRT_CONFIG="$GPGRT_CONFIG --libdir=$gpgrt_libdir" - if $GPGRT_CONFIG gpg-error >/dev/null 2>&1; then - GPG_ERROR_CONFIG="$GPGRT_CONFIG gpg-error" - AC_MSG_NOTICE([Use gpgrt-config with $gpgrt_libdir as gpg-error-config]) - gpg_error_config_version=`$GPG_ERROR_CONFIG --modversion` - else - gpg_error_config_version=`$GPG_ERROR_CONFIG --version` + # Make sure if gpgrt-config really works, by testing config gpg-error + if ! $GPGRT_CONFIG gpg-error --exists; then + # If it doesn't work, clear the GPGRT_CONFIG variable. unset GPGRT_CONFIG fi - elif test "$GPG_ERROR_CONFIG" != "no"; then - gpg_error_config_version=`$GPG_ERROR_CONFIG --version` + else + # GPGRT_CONFIG found but no suitable dir for --libdir found. + # This is a failure. Clear the GPGRT_CONFIG variable. unset GPGRT_CONFIG fi ]) |