forked from Imagelibrary/rtems
* aclocal/canonical-host.m4: Abandon changequotes (autoconf-2.49b). * aclocal/check-newlib.m4: Let check message refer to RTEMS newlib. * aclocal/rtems-debug.m4: Fix formating and contents of the check's help string. * aclocal/rtems-top.m4: Remove AC_ARG_WITH(target-subdir).
22 lines
485 B
Plaintext
22 lines
485 B
Plaintext
## $Id$
|
|
|
|
AC_DEFUN(RTEMS_ENABLE_RTEMS_DEBUG,
|
|
[
|
|
AC_ARG_ENABLE(rtems-debug,
|
|
[ --enable-rtems-debug enable RTEMS_DEBUG],
|
|
[case "${enableval}" in
|
|
yes) RTEMS_DEBUG=yes ;;
|
|
no) RTEMS_DEBUG=no ;;
|
|
*) AC_MSG_ERROR([bad value ${enableval} for RTEMS_DEBUG]) ;;
|
|
esac],[RTEMS_DEBUG=no])
|
|
])
|
|
|
|
AC_DEFUN(RTEMS_CHECK_RTEMS_DEBUG,
|
|
[AC_REQUIRE([RTEMS_ENABLE_RTEMS_DEBUG])
|
|
if test x"${RTEMS_DEBUG}" = x"yes";
|
|
then
|
|
AC_DEFINE_UNQUOTED(RTEMS_DEBUG,1,[if RTEMS_DEBUG is enabled])
|
|
fi
|
|
])
|
|
|