forked from Mirrors/freeswitch
Fix --enable-debug / --disable-debug configure option (disable did not work)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8344 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
628e1b4c4c
commit
a4a5262018
|
@ -64,8 +64,6 @@ if test "${enable_optimizer}" = "yes" ; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
AM_CONDITIONAL([WANT_DEBUG],[test "${enable_debug}" = "yes"])
|
|
||||||
|
|
||||||
# Optional Features
|
# Optional Features
|
||||||
|
|
||||||
AC_ARG_ENABLE(resample,
|
AC_ARG_ENABLE(resample,
|
||||||
|
@ -144,7 +142,7 @@ fi
|
||||||
|
|
||||||
# Enable debugging
|
# Enable debugging
|
||||||
AC_ARG_ENABLE(debug,
|
AC_ARG_ENABLE(debug,
|
||||||
[AC_HELP_STRING([--enable-debug],[build with debug information])],[enable_debug="$enable_debug"],[enable_debug="yes"])
|
[AC_HELP_STRING([--enable-debug],[build with debug information])],[enable_debug="$enableval"],[enable_debug="yes"])
|
||||||
|
|
||||||
if test "${enable_debug}" = "yes"; then
|
if test "${enable_debug}" = "yes"; then
|
||||||
AC_DEFINE([DEBUG],[],[Enable extra debugging.])
|
AC_DEFINE([DEBUG],[],[Enable extra debugging.])
|
||||||
|
@ -157,6 +155,8 @@ if test "${enable_debug}" = "yes"; then
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AM_CONDITIONAL([WANT_DEBUG],[test "${enable_debug}" = "yes"])
|
||||||
|
|
||||||
|
|
||||||
# tweak platform specific flags
|
# tweak platform specific flags
|
||||||
case "$host" in
|
case "$host" in
|
||||||
|
|
Loading…
Reference in New Issue