diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | aclocal/enable-cxx.m4 | 2 | ||||
-rw-r--r-- | aclocal/rtems-cpu-subdirs.m4 | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -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 ]) |