summaryrefslogtreecommitdiffstats
path: root/aclocal/enable-cxx.m4
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/enable-cxx.m4
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/enable-cxx.m4')
-rw-r--r--aclocal/enable-cxx.m42
1 files changed, 1 insertions, 1 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) ;;