On Sun, 2010-11-28 at 21:26 +0100, Jan Engelhardt wrote: > On Sunday 2010-11-28 19:45, Gaetan Nadon wrote: > > >On Sun, 2010-11-28 at 15:46 +0100, Jan Engelhardt wrote: > > +ACLOCAL_AMFLAGS = -I m4 > > > >This will fail if m4 does not exist at clone time. > >It won't because there is a .gotognore file in there. > >However, it will be suggested later to use the same > >toplevel .gitignore file that is used in all other 240 xorg modules. > > Then perhaps you need to update the master xorg .gitignore, because the > suggestion to use ACLOACL_AMFLAGS will appear on any project with a > libtool library.
The suggestion to use ACLOCAL_AMFLAGS come from the Autoconf tools. I looked at the warnings and the output of autoupdate and autoscan and there are plenty of warnings that do not apply. If you are using 2.65 (or even 2.68), it will give you warnings that are not applicable to 2.60. The docs don't tell you (or rarely) which features belong to which release. The .gitignore file is not related to Autotools, just git. If you end up with an empty m4 directory, and you have -I m4, aclocal will fail. In fact you should not have -I m4 anyway because you have no macros in there. If you install the toplevel .gitignore as I suggested, you can remove .gitignore from m4. Then you need to remove -I m4 or it will fail during a clone. That's the chain of events I was warning about. If you grep for -I m4 in other xorg modules, you'll the pattern. I thought I'd share stuff I learned the hard way!
signature.asc
Description: This is a digitally signed message part
_______________________________________________ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com