summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-10-11 16:43:10 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-10-11 16:43:10 +0000
commit0be2f35867a9e644b5f41e474c0447f824ca220d (patch)
tree84e94181c2c9014f0f4e78db2186387080b81da5
parentcae8bc927a108b3798241e1f8107124bdd28acd6 (diff)
downloadrtems-0be2f35867a9e644b5f41e474c0447f824ca220d.tar.bz2
2001-10-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: AC_PREREQ(2.52), Adapt CONFIG_SUBDIRS to autoconf-2.52.
-rw-r--r--c/src/lib/libcpu/sh/ChangeLog5
-rw-r--r--c/src/lib/libcpu/sh/configure.in18
2 files changed, 15 insertions, 8 deletions
diff --git a/c/src/lib/libcpu/sh/ChangeLog b/c/src/lib/libcpu/sh/ChangeLog
index 37deb916d3..3b6f56c23c 100644
--- a/c/src/lib/libcpu/sh/ChangeLog
+++ b/c/src/lib/libcpu/sh/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * configure.in: AC_PREREQ(2.52), Adapt CONFIG_SUBDIRS to
+ autoconf-2.52.
+
2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
diff --git a/c/src/lib/libcpu/sh/configure.in b/c/src/lib/libcpu/sh/configure.in
index 664b64f105..b58328cce5 100644
--- a/c/src/lib/libcpu/sh/configure.in
+++ b/c/src/lib/libcpu/sh/configure.in
@@ -2,8 +2,9 @@ dnl Process this file with autoconf to produce a configure script.
dnl
dnl $Id$
-AC_PREREQ(2.13)
-AC_INIT(sh7032)
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([sh7032])
RTEMS_TOP(../../../../..)
AC_CONFIG_AUX_DIR(../../../../..)
@@ -23,11 +24,12 @@ RTEMS_PROJECT_ROOT
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
-if test -d ${srcdir}/$RTEMS_CPU_MODEL; then
-RTEMS_CPU_MODEL_SUBDIR="$RTEMS_CPU_MODEL"
-fi
-AC_CONFIG_SUBDIRS($RTEMS_CPU_MODEL_SUBDIR)
+case "$RTEMS_CPU_MODEL" in
+sh7032 ) AC_CONFIG_SUBDIRS([sh7032]);;
+sh7045 ) AC_CONFIG_SUBDIRS([sh7045]);;
+*) AC_MSG_ERROR([Invalid RTEMS_CPU_MODEL]);
+esac
# Explicitly list all Makefiles here
-AC_OUTPUT(
-Makefile)
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT