forked from Imagelibrary/rtems
* aclocal/rtems-cpu-subdirs.m4: Print out RTEMS_CPU in error message. * aclocal/enable-cxx.m4: Use $enable_cxx instead of $enableval.
14 lines
341 B
Plaintext
14 lines
341 B
Plaintext
dnl $Id$
|
|
|
|
AC_DEFUN(RTEMS_ENABLE_CXX,
|
|
[
|
|
AC_ARG_ENABLE(cxx,
|
|
[AC_HELP_STRING([--enable-cxx],
|
|
[enable C++ support and build the rtems++ library])],
|
|
[case "${enable_cxx}" 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])
|
|
])
|