Radically improve autogen.sh

Peter O'Gorman peter at pogma.com
Sun Nov 6 09:50:50 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Hampton wrote:
| On Sun, 2005-11-06 at 11:30 +0900, Peter O'Gorman wrote:
|
|
|>Note that if someone could change all those FLAVOR=gnome guile -c in the
|>Makefile.am's to FLAVOR=gnome $(GUILE) -c and AC_SUBST(GUILE) life would be
|>easier :)
|
|
| Done.

Thank you that makes things a little easier. There remain 2 issues,
macros/legacy_macros.m4 has a bug and there is still a bareword guile in
src/engine/iso-currencies-to-c.

For the latter I moved iso-currencies-to-c to iso-currencies-to-c.in,
changed the guile to @GUILE@ and added iso-currencies-to-c to CONFIG_FILES
in configure.in. For the latter I used the patch at the end of this mail.

Now, env BUILD_GUILE=guile-1.6-config GUILE=guile-1.6 ./configure and make
works like a charm (well, I stilllset CPATh and LIBRARY_PATH everywhere)

I had some other issues with freetype includes that I'm almost sure are
local problems, so I'm pretending they didn't happen :-p

Thank you very much,
Peter
Index: legacy_macros.m4
===================================================================
- --- legacy_macros.m4	(revision 11850)
+++ legacy_macros.m4	(working copy)
@@ -21,7 +21,7 @@
~ AC_MSG_CHECKING(for guile - ${min_guile_version} <= version <
${max_guile_version})

~ if test x${BUILD_GUILE} != x -a ${BUILD_GUILE} != no ; then
- -  guile_version=`${name_build_guile} --version 2>&1`
+  guile_version=`${BUILD_GUILE} --version 2>&1`
~   guile_version="$guile_version.0"
~   guile_major_version=`echo $guile_version | \
~ 	sed 's/.*Guile version \([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\).*/\1/'`



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)

iQCVAwUBQ24YSriDAg3OZTLPAQLxJAP/fSKMN0r68YqWGMjzLHJmzoRfD8I7x3Tk
HrDUJ3WGrQh+KEdhWYm2WLz+EyGJp8y37yX4zWexn0abQCVHVWlc1Kzjf7DEJ4uR
z+GI0rDvNscRfWKxDH2OrqkoDcy5Gvp3JZPIj1P6vD+SlMUYrYSiHAx2UhBCiTeZ
gSeXZIqDiTo=
=2EN0
-----END PGP SIGNATURE-----


More information about the gnucash-devel mailing list