From ffa67907e63a84dc5ff664a0541fe5876cc95400 Mon Sep 17 00:00:00 2001 From: short <> Date: Sun, 31 Aug 2003 12:57:40 +0000 Subject: [PATCH] Compile with debugging+warnings if in '--enable-maintainer-mode'. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index cd09701..4407c29 100644 --- a/configure.ac +++ b/configure.ac @@ -16,6 +16,9 @@ if test "x$nonopt" != "xNONE"; then fi AM_MAINTAINER_MODE +if test "$USE_MAINTAINER_MODE" = "yes";then + CFLAGS="$CFLAGS -ggdb3 -Wall -Wstrict-prototypes -Wsign-compare" ## FIXME: fix all sources: -Wsign-compare + fi AC_PREFIX_DEFAULT(/usr/local) if test "x$prefix" = "xNONE"; then -- 1.8.3.1