]> git.eshelyaron.com Git - emacs.git/commitdiff
Port to current Gnulib
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 23 Feb 2022 18:52:27 +0000 (10:52 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 23 Feb 2022 19:41:01 +0000 (11:41 -0800)
* 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).

configure.ac

index 00711cccd5dcd796e3d4c5092144f712eb50b66b..a315eeb6bd2304ae661399488aa0b3e9bb31d332 100644 (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' .