From 064a422245f2ef4e881f50350dbbf686283ae310 Mon Sep 17 00:00:00 2001 From: Pixel Date: Wed, 2 May 2001 00:18:08 +0000 Subject: Pouet --- configure.in | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index e2f10e6..c11916c 100644 --- a/configure.in +++ b/configure.in @@ -24,6 +24,15 @@ AM_CONFIG_HEADER(config.h) AM_MAINTAINER_MODE +AC_ARG_WITH(debug, +[ --with-debug enable debug info], +[ with_debug=$withval; ], +[ with_debug=no; ]) + +if test x$with_debug = xyes; then + AC_DEFINE(DEBUG) +fi + dnl Checks for programs. AC_PROG_CXX AC_PROG_AWK -- cgit v1.2.3