[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to configure Autoconf in /usr/local to use M4 in /usr/local?
From: |
Earnie |
Subject: |
Re: How to configure Autoconf in /usr/local to use M4 in /usr/local? |
Date: |
Sun, 7 Jan 2018 10:53:57 -0500 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 |
On 1/7/2018 10:38 AM, Jeffrey Walton wrote:
> On Sun, Jan 7, 2018 at 10:28 AM, Earnie <address@hidden> 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