Re: How to configure Autoconf in /usr/local to use M4 in /usr/local?

2018-01-07 Thread Earnie
On 1/7/2018 10:38 AM, Jeffrey Walton wrote:
> On Sun, Jan 7, 2018 at 10:28 AM, Earnie  wrote:
>> On 1/4/2018 3:02 AM, Jeffrey Walton wrote:
>>>
>>> My question is, how do I tell Autoconf where the missing macros are?
>>>
>> Just like GCC, use one or more -I options.
> 
> Thanks. This is a site-wide setting. How do I configure it that way?
> 

See AC_CONFIG_MACRO_DIR[1] but if you plan to distribute the package
then using /usr/local or any other directory that isn't in the source
package is a bad idea.  So instead copy the /usr/local/m4 directory to
the source.

[1] https://www.gnu.org/software/autoconf/manual/autoconf.html#Input

-- 
Earnie

___
Autoconf mailing list
Autoconf@gnu.org
https://lists.gnu.org/mailman/listinfo/autoconf


Re: How to configure Autoconf in /usr/local to use M4 in /usr/local?

2018-01-07 Thread Jeffrey Walton
On Sun, Jan 7, 2018 at 10:28 AM, Earnie  wrote:
> On 1/4/2018 3:02 AM, Jeffrey Walton wrote:
>>
>> My question is, how do I tell Autoconf where the missing macros are?
>>
> Just like GCC, use one or more -I options.

Thanks. This is a site-wide setting. How do I configure it that way?

Jeff

___
Autoconf mailing list
Autoconf@gnu.org
https://lists.gnu.org/mailman/listinfo/autoconf


Re: How to configure Autoconf in /usr/local to use M4 in /usr/local?

2018-01-07 Thread Earnie
On 1/4/2018 3:02 AM, Jeffrey Walton wrote:
> 
> My question is, how do I tell Autoconf where the missing macros are?
> 
Just like GCC, use one or more -I options.

-- 
Earnie

___
Autoconf mailing list
Autoconf@gnu.org
https://lists.gnu.org/mailman/listinfo/autoconf