Guy Harris wrote:
>
> > Sounds like a request for enhancement to autoconf folks:
> > viz. a macro:
> >
> > AC_SET_PREFIX( gtk )
> >
> > that will set a variable a la:
> >
> > ac_gtk_prefix=/usr/local
>
> ...only if the setting of "ac_gtk_prefix" changes the contents of the
> "aclocal" script on your machine.
>
> What you want is to make "aclocal" (and anything else that searches for
> ".m4" auto* files) *always* search in all the directories that,
OTOH:
ac_${prog}_prefix=`${prog}-config --prefix`
It either works or fails :-)