r18572 - gnucash/trunk/src/bin - Bug #606077: Fix uncommon configure option --program-suffix.

Christian Stimming cstim at code.gnucash.org
Fri Jan 15 15:43:00 EST 2010


Author: cstim
Date: 2010-01-15 15:43:00 -0500 (Fri, 15 Jan 2010)
New Revision: 18572
Trac: http://svn.gnucash.org/trac/changeset/18572

Modified:
   gnucash/trunk/src/bin/Makefile.am
   gnucash/trunk/src/bin/gnucash-gdb.in
   gnucash/trunk/src/bin/gnucash-valgrind.in
   gnucash/trunk/src/bin/gnucash.in
Log:
Bug #606077: Fix uncommon configure option --program-suffix.

Patch by Peter Selinger:

OK, the attached patch fixes part of this problem. Specifically, it applies the
specified transform (from ./configure option --program-suffix,
--program-prefix, or --program-transform-name) to the files

src/bin/gnucash-valgrind
src/bin/gnucash-gdb
src/bin/gnucash

This is done in the Makefile at compile time.

In the end, I am not sure why the GnuCash configure.in provides the
--program-suffix mechanism at all, since apparently it hasn't been used in 10
years. According to info autoconf, these are supposed to be enabled by the
macro AC_ARG_PROGRAM, but I don't see this in configure.in. So perhaps it has
been enabled by accident and shouldn't really be there.



More information about the gnucash-patches mailing list