From: Marko Kreen Date: Fri, 5 Sep 2008 11:02:08 +0000 (+0000) Subject: Default to --enable-debug X-Git-Tag: pgbouncer_1_3_rc1~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=792297557ff13cfc464cbcbd2ce87be6f970efe6;p=pgbouncer Default to --enable-debug To get the old behaviour - stripped binary and -fomit-frame-pointer in CFLAGS, --disable-debug must be used. Allowing debugging by default seems saner. --- diff --git a/configure.ac b/configure.ac index bc96f74..f82123a 100644 --- a/configure.ac +++ b/configure.ac @@ -150,7 +150,9 @@ AC_EGREP_CPP([HTTP_SERVUNAVAIL], # autoconf does not want to find 'install', if not using automake... INSTALL=install -AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug],[build binary with debugging symbols])) +AC_ARG_ENABLE(debug, + AC_HELP_STRING([--disable-debug],[add -fomit-frame-pointer to CFLAGS and strip binary]), + [], [enable_debug=yes]) AC_MSG_CHECKING([whether to build debug binary]) if test "$enable_debug" = "yes"; then LDFLAGS="-g $LDFLAGS"