diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2021-02-15 02:15:13 +0100 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2021-02-15 02:15:13 +0100 |
commit | 985e85dc0e6c54aa465a2af610c5a04fc10649a0 (patch) | |
tree | 6a27efe95b6905e8e9a15532501de24051a61788 /m4/gpg-error.m4 | |
parent | agent: Comment spell fix. (diff) | |
download | gnupg2-985e85dc0e6c54aa465a2af610c5a04fc10649a0.tar.xz gnupg2-985e85dc0e6c54aa465a2af610c5a04fc10649a0.zip |
build: Update gpg-error.m4.
* m4/gpg-error.m4: Update from libgpg-error.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to '')
-rw-r--r-- | m4/gpg-error.m4 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/m4/gpg-error.m4 b/m4/gpg-error.m4 index 726ff3a18..3cf95e11d 100644 --- a/m4/gpg-error.m4 +++ b/m4/gpg-error.m4 @@ -9,7 +9,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: 2021-02-12 +# Last-changed: 2021-02-15 dnl AM_PATH_GPG_ERROR([MINIMUM-VERSION, @@ -65,9 +65,7 @@ AC_DEFUN([AM_PATH_GPG_ERROR], ok=no AC_PATH_PROG(GPGRT_CONFIG, gpgrt-config, no) - if test "$GPGRT_CONFIG" == "no"; then - unset GPGRT_CONFIG - else + if test "$GPGRT_CONFIG" != "no"; then # Determine gpgrt_libdir # # Get the prefix of gpgrt-config assuming it's something like: @@ -103,9 +101,11 @@ AC_DEFUN([AM_PATH_GPG_ERROR], # When we cannot determine system libdir-format, use this: gpgrt_libdir=${possible_libdir1} fi + else + unset GPGRT_CONFIG fi - if test "$GPG_ERROR_CONFIG" = "no" -o -n "$gpgrt_libdir"; then + if test -n "$gpgrt_libdir"; then GPGRT_CONFIG="$GPGRT_CONFIG --libdir=$gpgrt_libdir" if $GPGRT_CONFIG gpg-error >/dev/null 2>&1; then GPG_ERROR_CONFIG="$GPGRT_CONFIG gpg-error" @@ -114,7 +114,7 @@ AC_DEFUN([AM_PATH_GPG_ERROR], else unset GPGRT_CONFIG fi - else + elif test "$GPG_ERROR_CONFIG" != "no"; then gpg_error_config_version=`$GPG_ERROR_CONFIG --version` fi if test "$GPG_ERROR_CONFIG" != "no"; then |