Skip to content

Commit

Permalink
enable tests by default
Browse files Browse the repository at this point in the history
  • Loading branch information
vtorri committed May 1, 2020
1 parent 65d07ee commit 1980c68
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,14 @@ AC_ARG_ENABLE([extratests],
AM_CONDITIONAL([ENABLE_EXTRATESTS], [test "x$enable_extratests" = xyes])

AC_ARG_ENABLE([tests],
AS_HELP_STRING([--enable-tests], [Enable tests]))
AM_CONDITIONAL([ENABLE_TESTS], [test "x$enable_tests" = xyes])
[AS_HELP_STRING([--disable-tests], [Enable tests (default: yes)])],
[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
old_cflags=$CFLAGS
Expand Down

0 comments on commit 1980c68

Please sign in to comment.