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
This commit is contained in:
Andreas Köhler 2009-01-06 18:37:48 +00:00
parent 3614a48858
commit 435ddd4fa5

View File

@ -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]) )
### --------------------------------------------------------------------------