diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-04-12 20:24:56 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-04-12 20:24:56 +0000 |
commit | 82f490f786d2d14f54399aa5313db140a0cc78d4 (patch) | |
tree | 9497ca30c57785ad51edf2216d1ad8c45e22be9d /aclocal.m4 | |
parent | Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>: (diff) | |
download | rtems-82f490f786d2d14f54399aa5313db140a0cc78d4.tar.bz2 |
Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to correct the
--enable-tests problem a better way.
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index ea2acf87c5..79fbbddcf0 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -876,14 +876,14 @@ 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? ]) -tests_enabled=no AC_ARG_ENABLE(tests, [ --enable-tests enable tests (default:disabled)], [case "${enableval}" in - yes) AC_MSG_RESULT(yes) ;; - no) AC_MSG_RESULT(no) ; tests_enabled=no ;; + yes) tests_enabled=yes ;; + no) tests_enabled=no ;; *) AC_MSG_ERROR(bad value ${enableval} for tests option) ;; - esac], AC_MSG_RESULT(no)) + esac], [tests_enabled=no]) +AC_MSG_RESULT([$tests_enabled]) ]) dnl $Id$ |