Compile unit tests only on demand unless using --enable-debug.

This commit is contained in:
Romain Tartiere 2011-05-11 17:38:11 +00:00
parent ca3c5007f6
commit 520e64c095
2 changed files with 11 additions and 4 deletions

View file

@ -75,6 +75,7 @@ AC_ARG_ENABLE([debug],AS_HELP_STRING([--enable-debug],[Enable debug output]),[en
AC_MSG_CHECKING(for debug flag)
AC_MSG_RESULT($enable_debug)
AM_CONDITIONAL([WITH_DEBUG], [test "$enable_debug" != "no"])
if test x"$enable_debug" = "xyes"
then