I've gotten pretty far into the automake conversion.  The last
bit remains and, unfortunately, is proving to be a real pain in
the butt.  The last straw for me was the g-wrap stuff.  We
./configure, make and install g-wrap as part of the gnc compile
process.  There is no straightforward way to do this in automake.
And as soon as you start doing custom stuff in automake you lose
a lot of its benefits.  Maybe an automake guru could make it
work, but increasingly I'm playing the "fight with the tool"
game.

So, let's return to the goals I started out with:

        Make it impossible for the user to attempt a make for
        gnome or motif if something is missing.

        Compile or link time errors should never happen -- they
        should be caught at configure time (as much as possible).

        Tell them what is missing so they can go and find it.

These goals can all be satisfied without a switch to automake (I
have now learned the secret techniques by watching how automake
does things -- hehe).  

They can be satisfied by beefing up configure.in and with some
straightforward games played with AC_SUBST in the makefiles.
Basically, you disable the gnome or motif targets in the
makefiles if all the prerequisites were not found.

So, I think I'll start over and proceed along these lines.  Lemme
know if either (a) you are an automake guru and would like to
take over where I left off or (b) you have any other thoughts.

-- 
matt
----- %< -------------------------------------------- >% ------
The GnuCash / X-Accountant Mailing List
To unsubscribe, send mail to [EMAIL PROTECTED] and
put "unsubscribe gnucash-devel [EMAIL PROTECTED]" in the body

Reply via email to