1 # Increment this whenever this file is changed.
9 AC_ARG_ENABLE(installed-tests,
10 AS_HELP_STRING([--enable-installed-tests],
11 [Enable installation of some test cases]),
13 yes) ENABLE_INSTALLED_TESTS="1" ;;
14 no) ENABLE_INSTALLED_TESTS="" ;;
15 *) AC_MSG_ERROR([bad value ${enableval} for --enable-installed-tests]) ;;
17 AM_CONDITIONAL([ENABLE_INSTALLED_TESTS], test "$ENABLE_INSTALLED_TESTS" = "1")
18 AC_ARG_ENABLE(always-build-tests,
19 AS_HELP_STRING([--enable-always-build-tests],
20 [Enable always building tests during 'make all']),
22 yes) ENABLE_ALWAYS_BUILD_TESTS="1" ;;
23 no) ENABLE_ALWAYS_BUILD_TESTS="" ;;
24 *) AC_MSG_ERROR([bad value ${enableval} for --enable-always-build-tests]) ;;
26 AM_CONDITIONAL([ENABLE_ALWAYS_BUILD_TESTS], test "$ENABLE_ALWAYS_BUILD_TESTS" = "1")
27 if test "$ENABLE_INSTALLED_TESTS" = "1"; then
28 AC_SUBST(installed_test_metadir, [${datadir}/installed-tests/]AC_PACKAGE_NAME)
29 AC_SUBST(installed_testdir, [${libexecdir}/installed-tests/]AC_PACKAGE_NAME)