[PATCH] Change autogen.sh scripts to respect NOCONFIGURE

Colin Walters walters at verbum.org
Wed Jan 4 15:22:15 PST 2012


On Thu, 2012-01-05 at 00:12 +0100, Cyril Brulebois wrote:
> Colin Walters <walters at verbum.org> (04/01/2012):
> > Background: I'm trying hard to bring continuous integration and testing
> > to the FOSS stack between linux and gnome-shell.  That means building
> > from git, not manual integration via tarballs.  The current xorg
> > autogen.sh scripts just need one minor tweak to match the ones we use in
> > GNOME.  I've been slowly massaging and harmonizing the ad-hoc
> > autogen.sh/bootstrap scripts found in various modules.
> 
> In the meanwhile, that would achieve the same effect without any patching:
> -./autogen.sh
> +autoreconf -vfi

Yes, but the reason we use autogen.sh scripts in GNOME is because over
time we've added multiple tools (gtk-doc, intltool) that follow the
autoconf pattern of copying crap into your tarball so the build fails
slightly later when you try to build on the copy of HP-UX you found in
your basement.  

autoreconf isn't extensible, hence the autogen.sh script.

Also, the autogen.sh pattern supports e.g. modules using waf - they can
copy waf from the system into their build tree.  (Of course, this would
probably have to come after severing Thomas Nagy's internet connection,
but hey).




More information about the xorg-devel mailing list