diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-08-22 04:21:16 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-08-22 04:21:16 +0000 |
commit | d2c6e4c19599272b7c33cedf234b9ff993d11b69 (patch) | |
tree | 512f37c0d1975fe69ca501a99942e337c494bd34 /aclocal/enable-tests.m4 | |
parent | 2003-08-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-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-tests.m4')
-rw-r--r-- | aclocal/enable-tests.m4 | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/aclocal/enable-tests.m4 b/aclocal/enable-tests.m4 index 027dc212c0..a535f8214b 100644 --- a/aclocal/enable-tests.m4 +++ b/aclocal/enable-tests.m4 @@ -2,14 +2,12 @@ dnl $Id$ AC_DEFUN(RTEMS_ENABLE_TESTS, [ -# If the tests are enabled, then find all the test suite Makefiles -AC_MSG_CHECKING([if the test suites are enabled? ]) AC_ARG_ENABLE(tests, -[AC_HELP_STRING([--enable-tests],[enable tests (default:disabled)])], +[AC_HELP_STRING([--enable-tests],[enable tests (default:samples)])], [case "${enableval}" in - yes) tests_enabled=yes ;; - no) tests_enabled=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for tests option) ;; - esac], [tests_enabled=no]) -AC_MSG_RESULT([$tests_enabled]) + samples) enable_tests=samples;; + yes) enable_tests=yes ;; + no) enable_tests=no ;; + *) AC_MSG_ERROR([bad value ${enableval} for --enable-tests]) ;; + esac], [enable_tests=samples]) ]) |