source: rtems/aclocal/enable-cxx.m4 @ 7a928017

4.104.114.84.95
Last change on this file since 7a928017 was 2a2def9, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/16/03 at 04:29:28

2001-01-16 Ralf Corsepius <corsepiu@…>

  • aclocal/rtems-cpu-subdirs.m4: Print out RTEMS_CPU in error message.
  • aclocal/enable-cxx.m4: Use $enable_cxx instead of $enableval.
  • Property mode set to 100644
File size: 341 bytes
Line 
1dnl $Id$
2
3AC_DEFUN(RTEMS_ENABLE_CXX,
4[
5AC_ARG_ENABLE(cxx,
6[AC_HELP_STRING([--enable-cxx],
7[enable C++ support and build the rtems++ library])],
8[case "${enable_cxx}" in
9  yes) RTEMS_HAS_CPLUSPLUS=yes ;;
10  no) RTEMS_HAS_CPLUSPLUS=no   ;;
11  *)  AC_MSG_ERROR(bad value ${enableval} for enable-cxx option) ;;
12esac], [RTEMS_HAS_CPLUSPLUS=no])
13])
Note: See TracBrowser for help on using the repository browser.