Re: Automake framework and peer directories


Subject: Re: Automake framework and peer directories
From: Sam TH (sam@uchicago.edu)
Date: Wed Jun 06 2001 - 18:22:00 CDT


On Thu, Jun 07, 2001 at 12:52:35AM +0200, Frodo Looijaard wrote:
> Hi folks,
>
> it has been a while since I wrote to this list (or, actually, did anything
> to AbiWord except use it); for those who forgot about me, I am the guy
> who added psiconv support.
>
> Just today I was exploring the new automake framework (nice work, Sam!).
> I fixed and committed one small bug in detecting a system-wide psiconv
> install (the detect script presumed psiconv.h would be available, which
> strangely enough never is installed; it now looks for psiconv/data.h
> instead).

Thanks.

>
> Another thing that I saw was that there was no support in the global
> GNUMakefile for automatically building the peer trees. Sam, did you
> do that on purpose? If not, you need two changes to make this work:
>
> * In the ac-helpers files, move the statements
> AM_CONDITIONAL(LOCAL_{PSICONV,WV,LIBPNG,EXPAT}) next to the
> AC_SUBST statements so that LOCAL_... always get defined.
> Automake will now substitute @LOCAL_*_TRUE@ and @LOCAL_*_FALSE@ with
> either the empty string or the hash mark (#)
> * In the main GNUMakefile.am, add the following lines:
> @LOCAL_EXPAT_TRUE@all: expat
> @LOCAL_WV_TRUE@all: wv
> @LOCAL_PSICONV_TRUE@all: psiconv
> I am not sure how libpng is handled currently, but you could add it like
> this.
>
> If you agree, Sam, I could commit it for you (but please explain how
> LIBPNG is handled?)

If that actually works, then please do. However, it never works for
me.

I'll be working on this some more when school gets out (about 48 more
hours).
           
sam th --- sam@uchicago.edu --- http://www.abisource.com/~sam/
OpenPGP Key: CABD33FC --- http://samth.dyndns.org/key
DeCSS: http://samth.dyndns.org/decss




This archive was generated by hypermail 2b25 : Wed Jun 06 2001 - 18:03:05 CDT