diff options
| author | Nikola Pajkovsky <npajkovs@redhat.com> | 2009-09-01 13:53:03 +0200 |
|---|---|---|
| committer | Nikola Pajkovsky <npajkovs@redhat.com> | 2009-09-01 13:53:03 +0200 |
| commit | d36e7d502d590ce39f40ab08f0eaaaba507b456d (patch) | |
| tree | d8622ad5364fc99f8919e73dfb261652b4e45ee1 | |
| parent | a36b7a7b0ecdc9cac735cac99abd5d68576a20e5 (diff) | |
Add --enable-debug option. Default parameters are -DDEBUG -ggdb -g
| -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 |
