forked from Imagelibrary/rtems
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
12 lines
333 B
Plaintext
12 lines
333 B
Plaintext
AC_DEFUN([RTEMS_ENABLE_CXX],
|
|
[
|
|
AC_ARG_ENABLE(cxx,
|
|
[AS_HELP_STRING([--enable-cxx],
|
|
[enable C++ support and build the rtems++ library])],
|
|
[case "${enable_cxx}" 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])
|
|
])
|