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
2.4
Andreas Köhler 18 years ago
parent 3614a48858
commit 435ddd4fa5

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

Loading…
Cancel
Save