summaryrefslogtreecommitdiffstats
path: root/aclocal
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-01-16 04:29:28 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-01-16 04:29:28 +0000
commit2a2def9888ac690595e775d9501b687c13e81c5c (patch)
treea009e7809627a513680b4cf95840200d46cf5424 /aclocal
parent2003-01-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-2a2def9888ac690595e775d9501b687c13e81c5c.tar.bz2
2001-01-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/rtems-cpu-subdirs.m4: Print out RTEMS_CPU in error message. * aclocal/enable-cxx.m4: Use $enable_cxx instead of $enableval.
Diffstat (limited to 'aclocal')
-rw-r--r--aclocal/enable-cxx.m42
-rw-r--r--aclocal/rtems-cpu-subdirs.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/aclocal/enable-cxx.m4 b/aclocal/enable-cxx.m4
index 5ef4987941..cde862d39f 100644
--- a/aclocal/enable-cxx.m4
+++ b/aclocal/enable-cxx.m4
@@ -5,7 +5,7 @@ AC_DEFUN(RTEMS_ENABLE_CXX,
AC_ARG_ENABLE(cxx,
[AC_HELP_STRING([--enable-cxx],
[enable C++ support and build the rtems++ library])],
-[case "${enableval}" in
+[case "${enable_cxx}" in
yes) RTEMS_HAS_CPLUSPLUS=yes ;;
no) RTEMS_HAS_CPLUSPLUS=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-cxx option) ;;
diff --git a/aclocal/rtems-cpu-subdirs.m4 b/aclocal/rtems-cpu-subdirs.m4
index 16ed4205e3..fecb3b95b4 100644
--- a/aclocal/rtems-cpu-subdirs.m4
+++ b/aclocal/rtems-cpu-subdirs.m4
@@ -26,6 +26,6 @@ _RTEMS_CPU_SUBDIR([powerpc],[$1]);;
_RTEMS_CPU_SUBDIR([sh],[$1]);;
_RTEMS_CPU_SUBDIR([sparc],[$1]);;
_RTEMS_CPU_SUBDIR([unix],[$1]);;
-*) AC_MSG_ERROR([Invalid RTEMS_CPU])
+*) AC_MSG_ERROR([Invalid RTEMS_CPU <[$]{RTEMS_CPU}>])
esac
])