Rename --enable-debug to --disable-debug since the default is enabled
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8345 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
a4a5262018
commit
fcd2a7b045
|
@ -140,9 +140,10 @@ elif test "x${ax_cv_c_compiler_vendor}" = "xgnu" ; then
|
||||||
APR_ADDTO(SWITCH_AM_CFLAGS, -Werror)
|
APR_ADDTO(SWITCH_AM_CFLAGS, -Werror)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Enable debugging
|
# Enable debugging (default: on)
|
||||||
|
# (rename option if the default is changed)
|
||||||
AC_ARG_ENABLE(debug,
|
AC_ARG_ENABLE(debug,
|
||||||
[AC_HELP_STRING([--enable-debug],[build with debug information])],[enable_debug="$enableval"],[enable_debug="yes"])
|
[AC_HELP_STRING([--disable-debug],[build without 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.])
|
||||||
|
|
Loading…
Reference in New Issue