--- libaitcfg/configure.in 2008/09/30 14:45:09 1.1.2.2 +++ libaitcfg/configure.in 2009/09/09 09:29:37 1.2.2.1 @@ -1,4 +1,8 @@ -AC_INIT(libaitcfg, 3.0, misho@openbsd-bg.org) +# +# $Author: misho $ +# $Id: configure.in,v 1.2.2.1 2009/09/09 09:29:37 misho Exp $ +# +AC_INIT(libaitcfg, 3.1, misho@openbsd-bg.org) AC_CONFIG_SRCDIR([src/aitcfg.c]) AC_CONFIG_HEADERS([inc/config.h]) @@ -28,13 +32,15 @@ AC_FUNC_MALLOC AC_FUNC_REALLOC AC_CHECK_FUNCS([bzero memmove memset strchr strspn]) +DEBUG=no AC_MSG_CHECKING(Debug Build) AC_ARG_ENABLE(debug, [ --enable-debug Build library with debug information and additional messages], [ DEBUG=$enableval case "$enableval" in yes) - AC_DEFINE(_DEBUG,, [Build libraries with debug information and additional messages]) + AC_DEFINE(__DEBUG,, [Build libraries with debug information and additional messages]) + CFLAGS="-g ${CFLAGS}" ;; *) ;;