source:
rtems/aclocal/enable-cxx.m4
@
6cb0f7ed
Last change on this file since 6cb0f7ed was 72896de, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/20/08 at 13:09:29 | |
---|---|
|
|
File size: 343 bytes |
Rev | Line | |
---|---|---|
[9ec96478] | 1 | dnl $Id$ |
2 | ||
[3959276e] | 3 | AC_DEFUN([RTEMS_ENABLE_CXX], |
[9ec96478] | 4 | [ |
5 | AC_ARG_ENABLE(cxx, | |
[72896de] | 6 | [AS_HELP_STRING([--enable-cxx], |
[314a962] | 7 | [enable C++ support and build the rtems++ library])], |
[2a2def9] | 8 | [case "${enable_cxx}" in |
[9ec96478] | 9 | yes) RTEMS_HAS_CPLUSPLUS=yes ;; |
10 | no) RTEMS_HAS_CPLUSPLUS=no ;; | |
11 | *) AC_MSG_ERROR(bad value ${enableval} for enable-cxx option) ;; | |
12 | esac], [RTEMS_HAS_CPLUSPLUS=no]) | |
13 | ]) |
Note: See TracBrowser
for help on using the repository browser.