summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--aclocal/enable-cxx.m42
-rw-r--r--aclocal/rtems-cpu-subdirs.m42
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index c8ee32d2f1..ec242aad22 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2002-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/prog-cxx.m4: Remove RTEMS_PROG_CXX.
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
])