diff options
Diffstat (limited to '')
-rw-r--r-- | c/src/aclocal.m4 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/c/src/aclocal.m4 b/c/src/aclocal.m4 index 57a47d1675..717dff3c25 100644 --- a/c/src/aclocal.m4 +++ b/c/src/aclocal.m4 @@ -44,6 +44,20 @@ fi AC_MSG_RESULT($RTEMS_VERSION) ])dnl +dnl $Id$ + +AC_DEFUN(RTEMS_ENABLE_CXX, +[ +AC_ARG_ENABLE(cxx, +[ --enable-cxx enable C++ support,] +[ and build the rtems++ library], +[case "${enableval}" in + yes) RTEMS_HAS_CPLUSPLUS=yes ;; + no) RTEMS_HAS_CPLUSPLUS=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for enable-cxx option) ;; +esac], [RTEMS_HAS_CPLUSPLUS=no]) +]) + dnl dnl $Id$ dnl |