enable tests by default

This commit is contained in:
Vincent Torri 2020-05-01 16:15:14 +02:00
parent 65d07eece1
commit 1980c68e63

View File

@ -67,8 +67,14 @@ AC_ARG_ENABLE([extratests],
AM_CONDITIONAL([ENABLE_EXTRATESTS], [test "x$enable_extratests" = xyes]) AM_CONDITIONAL([ENABLE_EXTRATESTS], [test "x$enable_extratests" = xyes])
AC_ARG_ENABLE([tests], AC_ARG_ENABLE([tests],
AS_HELP_STRING([--enable-tests], [Enable tests])) [AS_HELP_STRING([--disable-tests], [Enable tests (default: yes)])],
AM_CONDITIONAL([ENABLE_TESTS], [test "x$enable_tests" = xyes]) [if test "x$enable-tests" = "xyes"; then
have_tests="yes"
else
have_tests="no"
fi],
[have_tests="yes"])
AM_CONDITIONAL([ENABLE_TESTS], [test "x$have_tests" = xyes])
# Add CPU-specific alignment flags # Add CPU-specific alignment flags
old_cflags=$CFLAGS old_cflags=$CFLAGS