Files
rtems-patmos/aclocal/enable-cxx.m4
Joel Sherrill 9ec964784b Towards automake VIII patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
OK, I 've made up my mind to cut a big chunk of my automake-patches (:-).

    Below you can find a drop-in replacement of the aclocal directory. It
    contains a lot of new macro files, most of them are directly cut from rtems
    top-level configure script, some are new some are identical to former
    versions. The motivation behind these files is to reuse parts from rtems
    current top-level configure.in script in up-coming subdirectory configure.in
    scripts.

    I'd like to ask you to untar the archive ontop of the source tree and to
    add/commit these files to CVS. Adding these files should not have any
    influence on RTEMS momentary configuration (except of you are required to
    run aclocal -I aclocal && autoconf afterwards), because most of them
    currently are not used at all.

    ---------

    BTW: Please upgrade to autoconf-2.13 and automake-2.4, if you havn't done
    this already (egcs/CVS require them, too). My upcoming automake files
    require automake-2.4 which requires autoconf-2.13 or later.
1999-03-19 21:54:36 +00:00

14 lines
387 B
Plaintext

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])
])