summaryrefslogtreecommitdiffstats
path: root/c/src/aclocal.m4
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-09-07 13:45:03 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-09-07 13:45:03 +0000
commite1d8abbe2800defb344dcce54c401733edd1d37a (patch)
tree56e416222d2ed47222be37f868a06c93656edc72 /c/src/aclocal.m4
parentRemoved by patch rtems-rc-19990820-6.diff.gz from (diff)
downloadrtems-e1d8abbe2800defb344dcce54c401733edd1d37a.tar.bz2
Applied patch rtems-rc-19990820-6.diff.gz from
Ralf Corsepius <corsepiu@faw.uni-ulm.de> which converted many Makefile.in's to Makefile.am's. This added a lot of files.
Diffstat (limited to 'c/src/aclocal.m4')
-rw-r--r--c/src/aclocal.m414
1 files changed, 14 insertions, 0 deletions
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