1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

build: Update nPth configure macros.

* m4/npth.m4: Update.
This commit is contained in:
Werner Koch 2024-03-18 14:55:46 +01:00
parent ce1e671cdc
commit 8a4069527a
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

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: 2020-11-17 # Last-changed: 2022-11-01
AC_DEFUN([_AM_PATH_NPTH_CONFIG], AC_DEFUN([_AM_PATH_NPTH_CONFIG],
[ AC_ARG_WITH(npth-prefix, [ AC_ARG_WITH(npth-prefix,
@ -21,7 +21,7 @@ AC_DEFUN([_AM_PATH_NPTH_CONFIG],
fi fi
use_gpgrt_config="" use_gpgrt_config=""
if test x"$NPTH_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 npth --exists; then if $GPGRT_CONFIG npth --exists; then
NPTH_CONFIG="$GPGRT_CONFIG npth" NPTH_CONFIG="$GPGRT_CONFIG npth"
AC_MSG_NOTICE([Use gpgrt-config as npth-config]) AC_MSG_NOTICE([Use gpgrt-config as npth-config])