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.
17 lines
433 B
Plaintext
17 lines
433 B
Plaintext
AC_DEFUN([RTEMS_ENABLE_SMP],
|
|
[
|
|
## AC_BEFORE([$0], [RTEMS_CHECK_SMP])dnl
|
|
|
|
AC_ARG_ENABLE(smp,
|
|
[AS_HELP_STRING([--enable-smp],[enable smp interface])],
|
|
[case "${enableval}" in
|
|
yes) case "${RTEMS_CPU}" in
|
|
sparc|i386) RTEMS_HAS_SMP=yes ;;
|
|
*) RTEMS_HAS_SMP=no ;;
|
|
esac
|
|
;;
|
|
no) RTEMS_HAS_SMP=no ;;
|
|
*) AC_MSG_ERROR(bad value ${enableval} for enable-smp option) ;;
|
|
esac],[RTEMS_HAS_SMP=no])
|
|
])
|