r17821 - gnucash/branches/2.2 - [17803] Remove trailing commas in --enable-{debug, ref-counts-dump}.

Christian Stimming cstim at cvs.gnucash.org
Wed Jan 14 15:12:58 EST 2009


Author: cstim
Date: 2009-01-14 15:12:58 -0500 (Wed, 14 Jan 2009)
New Revision: 17821
Trac: http://svn.gnucash.org/trac/changeset/17821

Modified:
   gnucash/branches/2.2/configure.in
Log:
[17803] 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.

Modified: gnucash/branches/2.2/configure.in
===================================================================
--- gnucash/branches/2.2/configure.in	2009-01-14 19:59:59 UTC (rev 17820)
+++ gnucash/branches/2.2/configure.in	2009-01-14 20:12:58 UTC (rev 17821)
@@ -663,8 +663,8 @@
        # ...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],
@@ -673,8 +673,8 @@
 
 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]) )
 
 
 ### --------------------------------------------------------------------------



More information about the gnucash-changes mailing list