From 30d5640ffffec4012a94a12d2e6c1693de799e06 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 18 Aug 2003 09:45:40 +0000 Subject: 2003-08-18 Ralf Corsepius * aclocal/rtems-debug.m4: Remove. * aclocal/enable-rtems-debug.m4: New (Split out from rtems-debug.m4). * aclocal/check-rtems-debug.m4: New (Split out from rtems-debug.m4). --- cpukit/ChangeLog | 6 ++++++ cpukit/aclocal/check-rtems-debug.m4 | 7 +++++++ cpukit/aclocal/enable-rtems-debug.m4 | 12 ++++++++++++ cpukit/aclocal/rtems-debug.m4 | 19 ------------------- 4 files changed, 25 insertions(+), 19 deletions(-) create mode 100644 cpukit/aclocal/check-rtems-debug.m4 create mode 100644 cpukit/aclocal/enable-rtems-debug.m4 delete mode 100644 cpukit/aclocal/rtems-debug.m4 diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 398598aec3..764122ccfa 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,9 @@ +2003-08-18 Ralf Corsepius + + * aclocal/rtems-debug.m4: Remove. + * aclocal/enable-rtems-debug.m4: New (Split out from rtems-debug.m4). + * aclocal/check-rtems-debug.m4: New (Split out from rtems-debug.m4). + 2003-08-18 Ralf Corsepius * automake/local.am: Remove "debug". diff --git a/cpukit/aclocal/check-rtems-debug.m4 b/cpukit/aclocal/check-rtems-debug.m4 new file mode 100644 index 0000000000..0c25b5d993 --- /dev/null +++ b/cpukit/aclocal/check-rtems-debug.m4 @@ -0,0 +1,7 @@ +## $Id$ + +AC_DEFUN(RTEMS_CHECK_RTEMS_DEBUG, +[AC_REQUIRE([RTEMS_ENABLE_RTEMS_DEBUG]) +AS_IF([test x"${enable_rtems_debug}" = x"yes"] + [AC_DEFINE_UNQUOTED(RTEMS_DEBUG,1,[if RTEMS_DEBUG is enabled])]) +]) diff --git a/cpukit/aclocal/enable-rtems-debug.m4 b/cpukit/aclocal/enable-rtems-debug.m4 new file mode 100644 index 0000000000..47dfb32c4f --- /dev/null +++ b/cpukit/aclocal/enable-rtems-debug.m4 @@ -0,0 +1,12 @@ +## $Id$ + +AC_DEFUN(RTEMS_ENABLE_RTEMS_DEBUG, +[ +AC_ARG_ENABLE(rtems-debug, +AC_HELP_STRING([--enable-rtems-debug],[enable RTEMS_DEBUG]), +[case "${enable_rtems_debug}" in + yes) enable_rtems_debug=yes ;; + no) enable_rtems_debug=no ;; + *) AC_MSG_ERROR([bad value ${enable_rtems_debug} for RTEMS_DEBUG]) ;; +esac],[enable_rtems_debug=no]) +]) diff --git a/cpukit/aclocal/rtems-debug.m4 b/cpukit/aclocal/rtems-debug.m4 deleted file mode 100644 index 9a9f15a33f..0000000000 --- a/cpukit/aclocal/rtems-debug.m4 +++ /dev/null @@ -1,19 +0,0 @@ -## $Id$ - -AC_DEFUN(RTEMS_ENABLE_RTEMS_DEBUG, -[ -AC_ARG_ENABLE(rtems-debug, -AC_HELP_STRING([--enable-rtems-debug],[enable RTEMS_DEBUG]), -[case "${enable_rtems_debug}" in - yes) enable_rtems_debug=yes ;; - no) enable_rtems_debug=no ;; - *) AC_MSG_ERROR([bad value ${enable_rtems_debug} for RTEMS_DEBUG]) ;; -esac],[enable_rtems_debug=no]) -]) - -AC_DEFUN(RTEMS_CHECK_RTEMS_DEBUG, -[AC_REQUIRE([RTEMS_ENABLE_RTEMS_DEBUG]) -AS_IF([test x"${enable_rtems_debug}" = x"yes"] - [AC_DEFINE_UNQUOTED(RTEMS_DEBUG,1,[if RTEMS_DEBUG is enabled])]) -]) - -- cgit v1.2.3