From e1d8abbe2800defb344dcce54c401733edd1d37a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 7 Sep 1999 13:45:03 +0000 Subject: Applied patch rtems-rc-19990820-6.diff.gz from Ralf Corsepius which converted many Makefile.in's to Makefile.am's. This added a lot of files. --- c/src/aclocal.m4 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'c/src/aclocal.m4') 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 -- cgit v1.2.3