summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
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])