> Don't put anything but makefiles and makefile snippets into AC_OUTPUT.
> Instead, handle the non-makefile expansions manually from the relevant
> makefile.ins. For example, instead of putting
> src/scm/bootstrap.scm.in into AC_OUTPUT, I've modified
> src/scm/Makefile.in to conatain this:
>
> default: bootstrap.scm
>
> # We have to have a makefile dependency here to catch reconfigures.
> bootstrap.scm: bootstrap.scm.in Makefile
> perl -p \
> -e "s|\@GNC_SHAREDIR\@|${GNC_SHAREDIR}|o;" \
> -e "s|\@GNC_CONFIGDIR\@|${GNC_CONFIGDIR}|o" \
> < $< > $@
>
> TRASH += bootstrap.scm
>
> Now make will handle the expansion and replacement and everything will
> work the way it's supposed to.
>
>
> Unless someone has a good objection or better alternative, I'll go
> ahead and handle changing all the stuff we have now to follow this
> model.
If you have time, could you make gnc-prices configured as well?
Right now it has a hard-coded library directory which should be
configured with GNC_LIBDIR.
thanks,
dave
--
Gnucash Developer's List
To unsubscribe send empty email to: [EMAIL PROTECTED]