Re: simple autoconf question

From:

Eric Gorr

Subject:

Re: simple autoconf question

Date:

Tue, 20 Dec 2011 16:31:41 -0500

On Dec 20, 2011, at 3:49 PM, Nick Bowler <address@hidden> wrote:
> On 2011-12-20 15:35 -0500, Eric Gorr wrote:
>>
>>
>> What I am not sure of is how to confirm just what directories will be
>> searched for autoconf macros...? 'aclocal --print-ac-dir' still only
>> outputs '/usr/bin/../share/aclocal'
>>
>> What is the appropriate way to make my additional search location
>> perminant? Add the call to one of the bash init files, like .bashrc?
>
> I think doing something with your shell startup scripts is probably the
> best approach in the short term. As I understand it, some future
> automake version should feature improved aclocal search path handling.
>
> However, many tools invoke aclocal directly and won't get your changes
> easily. Tools like autoreconf will use the ACLOCAL environment
> variable, if set, so you can probably do something like this (untested):
>
> ACLOCAL='aclocal -I/usr/local/share/aclocal'
> export ACLOCAL
>
> alias aclocal=$ACLOCAL
>
Thanks for the information.