forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
2003-08-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2003-08-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* Makefile.am: Correct bogus ACLOCAL_FILES.
|
* Makefile.am: Correct bogus ACLOCAL_FILES.
|
||||||
|
|||||||
12
aclocal/enable-rtems-debug.m4
Normal file
12
aclocal/enable-rtems-debug.m4
Normal file
@@ -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])
|
||||||
|
])
|
||||||
@@ -2,14 +2,12 @@ dnl $Id$
|
|||||||
|
|
||||||
AC_DEFUN(RTEMS_ENABLE_TESTS,
|
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_ARG_ENABLE(tests,
|
||||||
[AC_HELP_STRING([--enable-tests],[enable tests (default:disabled)])],
|
[AC_HELP_STRING([--enable-tests],[enable tests (default:samples)])],
|
||||||
[case "${enableval}" in
|
[case "${enableval}" in
|
||||||
yes) tests_enabled=yes ;;
|
samples) enable_tests=samples;;
|
||||||
no) tests_enabled=no ;;
|
yes) enable_tests=yes ;;
|
||||||
*) AC_MSG_ERROR(bad value ${enableval} for tests option) ;;
|
no) enable_tests=no ;;
|
||||||
esac], [tests_enabled=no])
|
*) AC_MSG_ERROR([bad value ${enableval} for --enable-tests]) ;;
|
||||||
AC_MSG_RESULT([$tests_enabled])
|
esac], [enable_tests=samples])
|
||||||
])
|
])
|
||||||
|
|||||||
Reference in New Issue
Block a user