Changeset 9a4eca5 in rtems for aclocal


Ignore:
Timestamp:
Aug 10, 2016, 3:07:29 AM (3 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
03c1038
Parents:
709594f0
git-author:
Chris Johns <chrisj@…> (08/10/16 03:07:29)
git-committer:
Chris Johns <chrisj@…> (08/11/16 07:20:10)
Message:

build-system: Always enable C++ if the compiler is present.

We always build a C++ compiler and building with C++ does not effect
RTEMS or the runtime. This patch always enabled the support. There is
no need to manually enable it any more.

You can disable C++ with '--disable-cxx'.

If an architecture does not have a C++ compiler support is automatically
disabled.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • aclocal/enable-cxx.m4

    r709594f0 r9a4eca5  
    33AC_ARG_ENABLE(cxx,
    44[AS_HELP_STRING([--enable-cxx],
    5 [enable C++ support and build the rtems++ library])],
     5[enable C++ support])],
    66[case "${enable_cxx}" in
    77  yes) RTEMS_HAS_CPLUSPLUS=yes ;;
    88  no) RTEMS_HAS_CPLUSPLUS=no   ;;
    99  *)  AC_MSG_ERROR(bad value ${enableval} for enable-cxx option) ;;
    10 esac], [RTEMS_HAS_CPLUSPLUS=no])
     10esac], [RTEMS_HAS_CPLUSPLUS=yes])
    1111])
Note: See TracChangeset for help on using the changeset viewer.