Ethereal-dev: Re: RFE: "autogen" problems in [ethereal-dev] CVS sources

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxx>
Date: Fri, 21 Jul 2000 15:08:04 -0700 (PDT)
> 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, on the
system on which it's being run, happen to contain installed macros; an
application using auto* to build its config script by looking for those
macros can't use AC_SET_PREFIX, as the package isn't in a position to
know where those macros might be hidden, unless it just goes for the
brute-force approach I suggested in other mail, e.g. having "autogen.sh"
just pepper the invocation of "aclocal" with "-I" flags looking
everywhere somebody might have hidden the macros.