diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2022-11-04 16:48:08 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2022-11-04 16:48:08 +0900 |
commit | 6c6d42143dd5ccc8e4df285b97b6976399b0a19b (patch) | |
tree | b0e9d3877ce11d32999f0cb6d0f5ffe727cc4ac8 | |
parent | f85726db85685a732143fb705db6b9c423aeccb5 (diff) | |
parent | d769ec2db2e0a89fe446fb90b3c4be8ec05abebd (diff) | |
download | libassuan-6c6d42143dd5ccc8e4df285b97b6976399b0a19b.tar.gz |
Merge branch 'master' into gniibe/t6236
-rw-r--r-- | m4/gpg-error.m4 | 6 | ||||
-rw-r--r-- | src/Makefile.am | 2 | ||||
-rw-r--r-- | src/assuan-socket.c | 2 | ||||
-rw-r--r-- | src/libassuan.m4 | 4 |
4 files changed, 9 insertions, 5 deletions
diff --git a/m4/gpg-error.m4 b/m4/gpg-error.m4 index 4b5cd40..a975e53 100644 --- a/m4/gpg-error.m4 +++ b/m4/gpg-error.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: 2022-02-15 +# Last-changed: 2022-09-21 dnl AM_PATH_GPG_ERROR([MINIMUM-VERSION, @@ -120,6 +120,10 @@ AC_DEFUN([AM_PATH_GPG_ERROR], fi if test -n "$gpgrt_libdir"; then break; fi done + if test -z "$libdir_candidates"; then + # No valid pkgconfig dir in any of the system directories, fallback + gpgrt_libdir=${possible_libdir1} + fi else # When we cannot determine system libdir-format, use this: gpgrt_libdir=${possible_libdir1} diff --git a/src/Makefile.am b/src/Makefile.am index f3a3aac..61e1958 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -48,7 +48,7 @@ CLEANFILES = mkheader assuan.h BUILT_SOURCES = assuan.h parts_of_assuan_h = \ - posix-includes.inc.h \ + posix-includes.inc.h w32-includes.inc.h \ posix-types.inc.h w32-types.inc.h \ posix-fd-t.inc.h w32-fd-t.inc.h \ posix-sock-nonce.inc.h w32-sock-nonce.inc.h diff --git a/src/assuan-socket.c b/src/assuan-socket.c index 39e1a0c..c53468b 100644 --- a/src/assuan-socket.c +++ b/src/assuan-socket.c @@ -363,7 +363,7 @@ read_port_and_nonce (const char *fname, unsigned short *port, char *nonce, * * "!<socket >%u %c %08x-%08x-%08x-%08x\x00" * - * %d for port number, %c for kind of socket (s for STREAM), and + * %u for port number, %c for kind of socket (s for STREAM), and * we have 16-byte random bytes for nonce. We only support * stream mode. */ diff --git a/src/libassuan.m4 b/src/libassuan.m4 index df50484..79391bb 100644 --- a/src/libassuan.m4 +++ b/src/libassuan.m4 @@ -9,7 +9,7 @@ dnl This file is distributed in the hope that it will be useful, but dnl WITHOUT ANY WARRANTY, to the extent permitted by law; without even the dnl implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. dnl SPDX-License-Identifier: FSFULLR -# Last-changed: 2020-11-17 +# Last-changed: 2022-11-01 dnl dnl Common code used for libassuan detection [internal] @@ -28,7 +28,7 @@ AC_DEFUN([_AM_PATH_LIBASSUAN_COMMON], fi use_gpgrt_config="" - if test x"${LIBASSUAN_CONFIG}" = x -a x"$GPGRT_CONFIG" != x -a "$GPGRT_CONFIG" != "no"; then + if test x"$GPGRT_CONFIG" != x -a "$GPGRT_CONFIG" != "no"; then if $GPGRT_CONFIG libassuan --exists; then LIBASSUAN_CONFIG="$GPGRT_CONFIG libassuan" AC_MSG_NOTICE([Use gpgrt-config as libassuan-config]) |