summaryrefslogtreecommitdiff
path: root/m4/cond.m4
diff options
context:
space:
mode:
authorAlexandre Duret-Lutz <adl@gnu.org>2003-08-24 19:56:07 +0000
committerAlexandre Duret-Lutz <adl@gnu.org>2003-08-24 19:56:07 +0000
commit9e9f797472a14cc31681bcd551071b8f7e8e478e (patch)
treee123ab8dafbd28c70e86ffaa8d1594a37193e66c /m4/cond.m4
parent4de3f2b8f05b5f46d32af7585e02302382688cbb (diff)
downloadautomake-9e9f797472a14cc31681bcd551071b8f7e8e478e.tar.gz
* configure.in: Require Autoconf 2.57b to be sure
aclocal can use autom4te --language Autoconf-without-aclocal-m4. * m4/init.m4: Likewise. Move the AC_PREREQ and m4_pattern_allow calls inside the AM_INIT_AUTOMAKE macro. * m4/auxdir.m4, m4/cond.m4, m4/lex.m4, m4/regex.m4: Move AC_PREREQ calls inside the macros. * m4/header.m4: Remove AC_PREREQ.
Diffstat (limited to 'm4/cond.m4')
-rw-r--r--m4/cond.m47
1 files changed, 3 insertions, 4 deletions
diff --git a/m4/cond.m4 b/m4/cond.m4
index 9fc010d6c..5887388f3 100644
--- a/m4/cond.m4
+++ b/m4/cond.m4
@@ -17,15 +17,14 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
-# serial 5
-
-AC_PREREQ(2.52)
+# serial 6
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
# -------------------------------------
# Define a conditional.
AC_DEFUN([AM_CONDITIONAL],
-[ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
+[AC_PREREQ(2.52)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])