autoconf
[Top][All Lists]
Advanced

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

Re: how to pass new path to aclocal when using autoreconf


From: Ralf Wildenhues
Subject: Re: how to pass new path to aclocal when using autoreconf
Date: Mon, 18 Apr 2011 09:27:53 +0200

Hello Vincent,

* Vincent Torri wrote on Mon, Apr 18, 2011 at 08:13:48AM CEST:
> I want to install XCB on  Windows. It requires libXau, which requires
> xorg-macros. I install everything in /usr/x11 (prefix value)
> 
> The autotools are in /usr/local
> 
> libXau's configure.ac wants xorg-macros.m4 which is in
> /usr/x11/share/aclocal, and libXau's autogen.sh calls autoreconf.
> 
> It fails as xorg-macros.m4 is not found

Two possibilities:
1) add the line /usr/x11/share/aclocal to the file
/usr/local/share/aclocal/dirlist

2) ACLOCAL='aclocal -I /usr/x11/share/aclocal' ./autogen.sh
(autoreconf honors the environment variable).

> I tried to export ACLOCAL_FLAGS to "-I /usr/x11/share/aclocal" but it does
> not help; not surprising, actually, as that env var is not documented here:

That will only work in the next version.

Cheers,
Ralf



reply via email to

[Prev in Thread] Current Thread [Next in Thread]