diff options
-rw-r--r-- | configure.ac | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 9864b2fc..69ee4181 100644 --- a/configure.ac +++ b/configure.ac @@ -2,6 +2,11 @@ AC_INIT([abrt], [0.0.8], [jmoskovc@redhat.com, zprikryl@redhat.com]) AM_INIT_AUTOMAKE([-Wall -Werror foreign]) +AC_ARG_ENABLE(debug, + [AC_HELP_STRING([--enable-debug], + [Enable debug information])], + [CXXFLAGS="$CXXFLAGS -DDEBUG -ggdb -g"]) + AC_DISABLE_STATIC AC_PROG_LIBTOOL AC_PROG_CXX @@ -82,4 +87,4 @@ AC_CONFIG_FILES([ po/Makefile.in ]) -AC_OUTPUT
\ No newline at end of file +AC_OUTPUT |