AUDIT: r17803 - gnucash/trunk - Remove trailing commas in --enable-{debug, ref-counts-dump}.

Andreas Köhler andi5 at cvs.gnucash.org
Tue Jan 6 13:37:48 EST 2009


Author: andi5
Date: 2009-01-06 13:37:48 -0500 (Tue, 06 Jan 2009)
New Revision: 17803
Trac: http://svn.gnucash.org/trac/changeset/17803

Modified:
   gnucash/trunk/configure.in
Log:
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

Modified: gnucash/trunk/configure.in
===================================================================
--- gnucash/trunk/configure.in	2009-01-05 15:36:31 UTC (rev 17802)
+++ gnucash/trunk/configure.in	2009-01-06 18:37:48 UTC (rev 17803)
@@ -711,8 +711,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],
@@ -721,8 +721,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