Looks like AM_CONDITIONAL should not be in if blocks per
https://www.gnu.org/software/automake/manual/html_node/Usage-of-Conditionals.html
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
fi
AC_SUBST([DBI_LIBS])
+AM_CONDITIONAL(CHECK_TESTS, test x$enable_tests = xyes)
+
if test "x$openils_core" = "xtrue"; then
AC_PATH_PROG([OSRF_CONFIG], [osrf_config])
#---------------------------------
PKG_CHECK_MODULES([CHECK], [check >= 0.9.0], [enable_tests=yes],
[enable_tests=no])
- AM_CONDITIONAL(CHECK_TESTS, test x$enable_tests = xyes)
if test "x$enable_tests" = "xno"; then
AC_MSG_WARN(Check unit testing framework not found.)
fi