+2001-10-08 Akim Demaille <akim@epita.fr>
+
+ * m4/cond.m4 (AM_CONDITIONAL): Don't use m4_match as Autoconf
+ changed its name.
+
2001-10-05 Akim Demaille <akim@epita.fr>
* automake.in (scan_autoconf_files): Use find_configure_ac from
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
-# serial 4
+# serial 5
AC_PREREQ(2.52)
# -------------------------------------
# Define a conditional.
AC_DEFUN([AM_CONDITIONAL],
-[m4_match([$1], [^TRUE\|FALSE$], [AC_FATAL([$0: invalid condition: $1])])dnl
+[ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
+ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
AC_SUBST([$1_TRUE])
AC_SUBST([$1_FALSE])
if $2; then