summaryrefslogtreecommitdiffstats
path: root/cpukit/aclocal/enable-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/enable-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/enable-rtems-debug.m4')
-rw-r--r--cpukit/aclocal/enable-rtems-debug.m412
1 files changed, 12 insertions, 0 deletions
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])
+])