diff --git a/configure.ac b/configure.ac index 7e8bcc51..d2ff1a15 100644 --- a/configure.ac +++ b/configure.ac @@ -139,6 +139,7 @@ AC_ARG_ENABLE( [poll], [POLL="yes"]) if test "$DEBUG" != "no"; then + appendCXX -ggdb AC_DEFINE([_DEBUG], [1], [Define for debugging]) # These enable some debug options in g++'s STL, e.g. invalid use of iterators AC_DEFINE([_GLIBCXX_DEBUG], [1], [Enable extra debugging checks in libstdc++])