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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/7/2018 10:38 AM, Jeffrey Walton wrote:
> On Sun, Jan 7, 2018 at 10:28 AM, Earnie <earnie@xxxxxxxxxxxxxxxxxxxxx> 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@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux