diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index ab6fe98..2391cf9 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -380,6 +380,18 @@ AC_CHECK_LIB(tidy, tidyInitSource, | |||
380 | LIBS=$LIBSOLD | 380 | LIBS=$LIBSOLD |
381 | 381 | ||
382 | 382 | ||
383 | |||
384 | # should 'make check' run tests? | ||
385 | AC_MSG_CHECKING(whether to run tests) | ||
386 | AC_ARG_ENABLE([testruns], | ||
387 | [AS_HELP_STRING([--disable-testruns], [disable running tests on make check (default is YES)])], | ||
388 | [enable_tests_run=${enableval}], | ||
389 | [enable_tests_run=yes]) | ||
390 | AC_MSG_RESULT($enable_test_run) | ||
391 | AM_CONDITIONAL([ENABLE_TEST_RUN], [test "x$enable_tests_run" = "xyes"]) | ||
392 | |||
393 | |||
394 | |||
383 | # Checks for header files. | 395 | # Checks for header files. |
384 | AC_HEADER_STDC | 396 | AC_HEADER_STDC |
385 | AC_HEADER_DIRENT | 397 | AC_HEADER_DIRENT |