XORG_MACROS_VERSION test is filled with hate

Ian Romanick idr at freedesktop.org
Tue Jan 20 12:07:21 PST 2009


On Tue, 2009-01-20 at 11:48 -0800, Dan Nicholson wrote:
> 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

Thank you for the tip.  The problem was rendercheck's autogen.sh, and
your suggestion helped me track this down.  See commit
37eac61e71a313df9927ca2a41ef49bda92fd9c6 in app/rendercheck.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20090120/454eb5e6/attachment.pgp>


More information about the xorg mailing list