summaryrefslogtreecommitdiffstats
path: root/testsuites/aclocal/enable-cxx.m4
blob: 759d81b1e9cf8f0d2b6b7154cf68bda8a80ceae3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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])
])