mirror of
https://github.com/t-crest/rtems.git
synced 2025-11-16 12:34:47 +00:00
14 lines
343 B
Plaintext
14 lines
343 B
Plaintext
dnl $Id$
|
|
|
|
AC_DEFUN([RTEMS_ENABLE_CXX],
|
|
[
|
|
AC_ARG_ENABLE(cxx,
|
|
[AS_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])
|
|
])
|