summaryrefslogtreecommitdiffstats
path: root/cpukit/aclocal/check-rtems-debug.m4
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-08-18 09:45:40 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-08-18 09:45:40 +0000
commit30d5640ffffec4012a94a12d2e6c1693de799e06 (patch)
tree85872f502ebe646bd67a1a49c9a4fdb51dd0c270 /cpukit/aclocal/check-rtems-debug.m4
parentRemove bogus file src/list (diff)
downloadrtems-30d5640ffffec4012a94a12d2e6c1693de799e06.tar.bz2
2003-08-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* 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).
Diffstat (limited to 'cpukit/aclocal/check-rtems-debug.m4')
-rw-r--r--cpukit/aclocal/check-rtems-debug.m47
1 files changed, 7 insertions, 0 deletions
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])])
+])