2003-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* aclocal/check-multiprocessing.m4: Add m4-quotes.
	Remove RTEMS_CHECK_CPU.
	* aclocal/check-itron.m4: Add m4-quotes.
	Require RTEMS_CANONICAL_TARGET_CPU instead of RTEMS_CHECK_CPU.
	* aclocal/check-networking.m4: Add m4-quotes.
	Require RTEMS_CANONICAL_TARGET_CPU instead of RTEMS_CHECK_CPU.
	* aclocal/check-cpu.m4: Remove.
	* aclocal/canonical-target-name.m4: Add m4-quotes.
	* configure.ac: Merge-in former aclocal/check-cpu.m4.
This commit is contained in:
Ralf Corsepius
2003-10-21 14:51:01 +00:00
parent 8727808edf
commit 5b2e19988f
7 changed files with 26 additions and 25 deletions

View File

@@ -1,3 +1,15 @@
2003-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/check-multiprocessing.m4: Add m4-quotes.
Remove RTEMS_CHECK_CPU.
* aclocal/check-itron.m4: Add m4-quotes.
Require RTEMS_CANONICAL_TARGET_CPU instead of RTEMS_CHECK_CPU.
* aclocal/check-networking.m4: Add m4-quotes.
Require RTEMS_CANONICAL_TARGET_CPU instead of RTEMS_CHECK_CPU.
* aclocal/check-cpu.m4: Remove.
* aclocal/canonical-target-name.m4: Add m4-quotes.
* configure.ac: Merge-in former aclocal/check-cpu.m4.
2003-10-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Check for sys/cdefs.h.

View File

@@ -8,7 +8,7 @@ dnl target naming conventions "processor-vendor-os"
dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them
dnl and we have to fix it for rtems ourselves
AC_DEFUN(RTEMS_CANONICAL_TARGET_CPU,
AC_DEFUN([RTEMS_CANONICAL_TARGET_CPU],
[
AC_CANONICAL_TARGET
AC_MSG_CHECKING(rtems target cpu)

View File

@@ -1,17 +0,0 @@
dnl $Id$
dnl check if RTEMS support a cpu
AC_DEFUN(RTEMS_CHECK_CPU,
[dnl
AC_REQUIRE([RTEMS_TOP])
AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])
# Is this a supported CPU?
AC_MSG_CHECKING([if cpu $RTEMS_CPU is supported])
if test -d "$srcdir/$RTEMS_TOPdir/cpukit/score/cpu/$RTEMS_CPU"; then
AC_MSG_RESULT(yes)
else
AC_MSG_ERROR(no)
fi
])dnl

View File

@@ -1,8 +1,8 @@
dnl $Id$
dnl
AC_DEFUN(RTEMS_CHECK_ITRON_API,
AC_DEFUN([RTEMS_CHECK_ITRON_API],
[dnl
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl
AC_REQUIRE([RTEMS_ENABLE_ITRON])dnl
AC_CACHE_CHECK([whether CPU supports libitron],

View File

@@ -2,10 +2,9 @@ dnl
dnl $Id$
dnl
AC_DEFUN(RTEMS_CHECK_MULTIPROCESSING,
AC_DEFUN([RTEMS_CHECK_MULTIPROCESSING],
[dnl
AC_REQUIRE([RTEMS_ENV_RTEMSCPU])dnl
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
AC_REQUIRE([RTEMS_ENABLE_MULTIPROCESSING])dnl
AS_IF([test "$enable_multiprocessing" = "yes"],

View File

@@ -1,8 +1,8 @@
dnl $Id$
dnl
AC_DEFUN(RTEMS_CHECK_NETWORKING,
AC_DEFUN([RTEMS_CHECK_NETWORKING],
[dnl
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl
AC_REQUIRE([RTEMS_ENABLE_NETWORKING])dnl
AC_CACHE_CHECK([whether CPU supports networking],

View File

@@ -23,7 +23,14 @@ RTEMS_ENABLE_NETWORKING
RTEMS_ENV_RTEMSCPU
RTEMS_CHECK_RTEMS_DEBUG
RTEMS_CHECK_CPU
# Is this a supported CPU?
AC_MSG_CHECKING([if cpu $RTEMS_CPU is supported])
if test -d "$srcdir/score/cpu/$RTEMS_CPU"; then
AC_MSG_RESULT(yes)
else
AC_MSG_ERROR(no)
fi
RTEMS_CANONICAL_HOST
RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])