Automatically enabled when configured with --enable-debug
Signed-off-by: David Sterba dsterba@suse.cz --- configure.ac | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac index b6464da..167034a 100644 --- a/configure.ac +++ b/configure.ac @@ -773,6 +773,7 @@ dnl -- end socket -- AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [Enable debugging support]), [ if test x$enableval = xyes ; then AC_DEFINE(DEBUG,1,[ Define to enable debugging info. ]) + CFLAGS="$CFLAGS -g" fi ])