Fri Jul 25 10:57:08 EDT 2008 Fabio Margarido <fabiomargarido AT gmail DOT com>

* m4/sac-general.m4: fixed --enable-ndebug and --enable-expensive-checks



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9271 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-08-12 17:04:57 +00:00
parent cf3a921708
commit 298bb4f720
2 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
Tue Aug 12 13:04:33 EDT 2008
Tue Aug 12 13:04:52 EDT 2008

View File

@ -325,7 +325,7 @@ AC_REQUIRE([SAC_TOOL_CC])
AC_ARG_ENABLE(ndebug,
[ --enable-ndebug compile with NDEBUG [[disabled]]],
, enable_ndebug=no)
AM_CONDITIONAL(NDEBUG, test x$enable_ndebug = yes)
AM_CONDITIONAL(NDEBUG, test x$enable_ndebug = xyes)
])
dnl ======================================================================
@ -336,10 +336,10 @@ AC_ARG_ENABLE(expensive-checks,
[ --enable-expensive-checks
run also expensive checks [[disabled]]],
, enable_expensive_checks=no)
if test $enable_expensive_checks != no; then
if test x$enable_expensive_checks != xno; then
AC_SUBST([TESTS_ENVIRONMENT], [EXPENSIVE_CHECKS=1])
fi
AM_CONDITIONAL(EXPENSIVE_CHECKS, test x$enable_expensive_checks != no)
AM_CONDITIONAL(EXPENSIVE_CHECKS, test x$enable_expensive_checks != xno)
])