XORG_MACROS_VERSION test is filled with hate

Dan Nicholson dbn.lists at gmail.com
Tue Jan 20 11:48:05 PST 2009


On Tue, Jan 20, 2009 at 11:37 AM, Ian Romanick <idr at freedesktop.org> wrote:
> On Tue, 2009-01-20 at 11:28 -0800, Ian Romanick wrote:
>
>> I run autogen.sh in, for example, app/rendercheck as:
>>
>> CC=gcc ACLOCAL="aclocal -I /opt/xorg-master-x86_64/share/aclocal"
>> sh ./autogen.sh --prefix=/opt/xorg-master-x86_64
>> --libdir=/opt/xorg-master-x86_64/lib64 --disable-dmx --disable-xvfb
>> --disable-xnest --disable-xwin --disable-xgl --disable-xglx
>> --disable-xegl --disable-kdrive --disable-xprint --enable-glx
>> --enable-glx-tls --enable-dri CFLAGS="-momit-leaf-frame-pointer
>> -march=core2"
>>
>
> aclocal = fail.  It seems that aclocal looks in the default places
> before the places specified by -I.  The --acdir option makes it look in
> the specified place only.  Really?  Could we get an option that does the
> sensible thing of looking in the specified directory FIRST, then look in
> the default places?  sigh...

Are you sure about that? I do X development all the time with
ACLOCAL="aclocal -I/opt/gfx/share/aclocal", and it does the right
thing.

$ aclocal --verbose -I /opt/gfx/share/aclocal
...
aclocal: found macro XORG_MACROS_VERSION in
/opt/gfx/share/aclocal/xorg-macros.m4: 44
...
aclocal: ignoring macro XORG_MACROS_VERSION in
/usr/share/aclocal/xorg-macros.m4: 43

--
Dan



More information about the xorg mailing list