From 435ddd4fa54167672506aa3f58554e764dd753f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20K=C3=B6hler?= Date: Tue, 6 Jan 2009 18:37:48 +0000 Subject: [PATCH] Remove trailing commas in --enable-{debug,ref-counts-dump}. Those commas will be interpreted as commands and warnings printed out. Also, put square brackets around the strings describing the corresponding autoconf definitions to save them from possible substitions. Noticed by Kevin HaleBoyes. BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17803 57a11ea4-9604-0410-9ed3-97b8803252fd --- configure.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.in b/configure.in index 173b0b5d91..0f6b64dcf7 100644 --- a/configure.in +++ b/configure.in @@ -711,8 +711,8 @@ AC_ARG_ENABLE( debug, # ...except for those the user wants. CFLAGS="${CFLAGS} -g ${USER_OPTIMIZATION}" LDFLAGS="${LDFLAGS} -g" - AC_DEFINE(DEBUG_MEMORY,1,Enable debug memory), - AC_DEFINE(DEBUG_MEMORY,0,Enable debug memory)]) + AC_DEFINE(DEBUG_MEMORY,1,[Enable debug memory]) + AC_DEFINE(DEBUG_MEMORY,0,[Enable debug memory])]) AC_ARG_ENABLE( profile, [ --enable-profile compile with profiling set], @@ -721,8 +721,8 @@ AC_ARG_ENABLE( profile, AC_ARG_ENABLE( ref-counts-dumps, [ --enable-ref-counts-dumps compile with ref count dumps], - AC_DEFINE(DEBUG_REFERENCE_COUNTING,1,Enable reference count dumps), - AC_DEFINE(DEBUG_REFERENCE_COUNTING,0,Enable reference count dumps) ) + AC_DEFINE(DEBUG_REFERENCE_COUNTING,1,[Enable reference count dumps]) + AC_DEFINE(DEBUG_REFERENCE_COUNTING,0,[Enable reference count dumps]) ) ### --------------------------------------------------------------------------