Mercurial > pidgin
diff configure.ac @ 17007:481e8da0d6a2
Remove the fatal asserts. If you think they helped you find and fix bugs, you can use 'G_DEBUG=fatal_warnings pidgin' to get back the crashes.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Thu, 10 May 2007 21:45:55 +0000 |
parents | 9133ce89c9d7 |
children | a0ab4040a857 |
line wrap: on
line diff
--- a/configure.ac Thu May 10 03:56:05 2007 +0000 +++ b/configure.ac Thu May 10 21:45:55 2007 +0000 @@ -996,6 +996,10 @@ ]) fi + if test "x$enable_debug" = "xyes"; then + CFLAGS="$CFLAGS -O0" + fi + DEBUG_CFLAGS="-Wall $DEBUG_CFLAGS" CFLAGS="-g $CFLAGS" fi @@ -2000,16 +2004,11 @@ AC_ARG_ENABLE(debug, [AC_HELP_STRING([--enable-debug], [compile with debugging support])], , enable_debug=no) + if test "x$enable_debug" = "xyes" ; then AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.]) fi -AC_ARG_ENABLE(fatal-asserts, [AC_HELP_STRING([--enable-fatal-asserts], - [make assertions fatal (useful for debugging)])], , enable_fatal_asserts=no) -if test "x$enable_fatal_asserts" = "xyes" ; then - AC_DEFINE(PURPLE_FATAL_ASSERTS, 1, [Define to make assertions fatal (useful for debugging).]) -fi - AC_OUTPUT([Makefile Doxyfile doc/Makefile @@ -2158,7 +2157,6 @@ echo Build with Tk support......... : $enable_tk echo echo Print debugging messages...... : $enable_debug -echo Assertions are fatal.......... : $enable_fatal_asserts echo eval eval echo Pidgin will be installed in $bindir. if test "x$pidginpath" != "x" ; then