summaryrefslogtreecommitdiffstats
path: root/aclocal/enable-rtems-debug.m4
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-08-22 04:21:16 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-08-22 04:21:16 +0000
commitd2c6e4c19599272b7c33cedf234b9ff993d11b69 (patch)
tree512f37c0d1975fe69ca501a99942e337c494bd34 /aclocal/enable-rtems-debug.m4
parent2003-08-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-d2c6e4c19599272b7c33cedf234b9ff993d11b69.tar.bz2
2003-08-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/enable-rtems-debug.m4: New (Missed in yesterday's patches). * aclocal/enable-tests.m4: Change to support --enable-tests=no|yes|samples, default is samples.
Diffstat (limited to 'aclocal/enable-rtems-debug.m4')
-rw-r--r--aclocal/enable-rtems-debug.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/aclocal/enable-rtems-debug.m4 b/aclocal/enable-rtems-debug.m4
new file mode 100644
index 0000000000..47dfb32c4f
--- /dev/null
+++ b/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])
+])