forked from Imagelibrary/rtems
* aclocal/enable-bare.m4: Improve quoting of AC_HELP_STRING. * aclocal/enable-cxx.m4: Improve quoting of AC_HELP_STRING. * aclocal/enable-inlines.m4: Improve quoting of AC_HELP_STRING. * aclocal/enable-itron.m4: Improve quoting of AC_HELP_STRING. * aclocal/enable-multiprocessing.m4: Improve quoting of AC_HELP_STRING. * aclocal/enable-networking.m4: Improve quoting of AC_HELP_STRING. * aclocal/enable-posix.m4: Improve quoting of AC_HELP_STRING. * aclocal/enable-rdbg.m4: Improve quoting of AC_HELP_STRING. * aclocal/enable-rtemsbsp.m4: Improve quoting of AC_HELP_STRING. * aclocal/enable-tests.m4: Improve quoting of AC_HELP_STRING. (autoconf > 2.54 seems to have problems with the old form of quoting).
14 lines
340 B
Plaintext
14 lines
340 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 "${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])
|
|
])
|