From 82f490f786d2d14f54399aa5313db140a0cc78d4 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 12 Apr 1999 20:24:56 +0000 Subject: Patch from Ralf Corsepius to correct the --enable-tests problem a better way. --- aclocal/enable-tests.m4 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'aclocal/enable-tests.m4') diff --git a/aclocal/enable-tests.m4 b/aclocal/enable-tests.m4 index 626cd5d0fb..31419f597a 100644 --- a/aclocal/enable-tests.m4 +++ b/aclocal/enable-tests.m4 @@ -4,12 +4,12 @@ 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]) ]) -- cgit v1.2.3