summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-04-03 20:01:31 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-04-03 20:01:31 +0000
commitc34eb10f5565c0043f9b04420f73cdf8639e3135 (patch)
treec2427937df3311452e9f0f9ab110d59a34e3fba5 /configure.in
parentThis commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'. (diff)
downloadrtems-c34eb10f5565c0043f9b04420f73cdf8639e3135.tar.bz2
Patch rtems-rc-4.5.0-7-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
The patch contains: * Many small cleanups wrt. make VARIANT=[DEBUG|PROFILE] support * several modifications to make/custom/*.cfg * Merger with the mvme2307.cfg you had posted two weeks ago (Please check it, I did not check it against to version you posted today). * Added a check to the toplevel configure.in to refuse building inside of the source tree.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 5ba77d2f8f..bd52725409 100644
--- a/configure.in
+++ b/configure.in
@@ -1,4 +1,3 @@
-
dnl Process this file with autoconf to produce a configure script.
dnl
dnl $Id$
@@ -7,6 +6,14 @@ AC_PREREQ(2.13)
AC_INIT(c)
RTEMS_TOP(.)
+# Abort if trying to build inside of the source tree.
+if test -f VERSION; then
+ 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
+
RTEMS_CANONICAL_TARGET_CPU
AM_INIT_AUTOMAKE(rtems,$RTEMS_VERSION,no)
AM_MAINTAINER_MODE