Port to current Gnulib

* configure.ac (AM_COND_IF): New macro, needed because Gnulib
normally assumes Automake and now uses this Automake macro.
Problem reported by Lars Ingebrigtsen (Bug#32452#47).
This commit is contained in:
Paul Eggert 2022-02-23 10:52:27 -08:00
parent 435d5c84ed
commit 995aed477d

View file

@ -1201,6 +1201,8 @@ dnl Automake replacements.
AC_DEFUN([AM_CONDITIONAL],
[$2 && $1_CONDITION=1 || $1_CONDITION=
AC_SUBST([$1_CONDITION])])
AC_DEFUN([AM_COND_IF],
[AS_IF([test "$$1_CONDITION"], [$2], [$3])])
dnl Prefer silent make output. For verbose output, use
dnl 'configure --disable-silent-rules' or 'make V=1' .