Move --enable-tests out of Python configure and flip the default.

This commit is contained in:
wolfbeast 2018-04-29 13:27:12 +02:00 committed by Roy Tam
commit 8ffcc15d3f
4 changed files with 40 additions and 32 deletions

View file

@ -1539,6 +1539,14 @@ MOZ_ARG_ENABLE_STRING(ui-locale,
MOZ_UI_LOCALE=$enableval )
AC_SUBST(MOZ_UI_LOCALE)
dnl ========================================================
dnl Build the tests?
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(tests,
[ --enable-tests Build test libraries & programs],
ENABLE_TESTS=1,
ENABLE_TESTS= )
dnl ========================================================
dnl =
dnl = Module specific options
@ -2097,6 +2105,8 @@ AC_SUBST(MOZ_DEBUG_LDFLAGS)
AC_SUBST(WARNINGS_AS_ERRORS)
AC_SUBST(LIBICONV)
AC_SUBST(ENABLE_TESTS)
AC_SUBST(ENABLE_STRIP)
AC_SUBST(PKG_SKIP_STRIP)
AC_SUBST(INCREMENTAL_LINKER)