From bcf4d5bc29da62ed7d9f8f7a3f5ad552ea3d6a31 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 18 Nov 2002 02:55:01 +0000 Subject: 2002-11-18 Ralf Corsepius * acinclude.m4: Use AS_IF instead of if/then/else/endif. * configure.ac: Ditto. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 42e1ce0ed7..54a267c73f 100644 --- a/configure.ac +++ b/configure.ac @@ -8,12 +8,12 @@ AC_CONFIG_SRCDIR([c]) RTEMS_TOP([.]) # Abort if trying to build inside of the source tree. -if test -f aclocal/version.m4; then +AS_IF([test -f aclocal/version.m4],[ rm -f config.cache config.log confdefs.h AC_MSG_ERROR([***] [Attempt to build inside of the source tree] [Please use a separate build directory, instead] ) -fi +]) AC_CANONICAL_TARGET([]) AM_INIT_AUTOMAKE([no-define foreign 1.6]) -- cgit v1.2.3