Hi,

Keith Packard <kei...@keithp.com> (26/02/2011):
> I read through the automake docs and they suggest placing a
> dependency on the generated configuration header file. We've got
> several, but there's the auto-generated do-not-use-config.h which
> holds all of the cpp defines which sdksyms.c may use.
> 
> I think this is what we want: […]

at least, this fixes the issue I was having. Steps to reproduce:
  git checkout master
  git clean -xdf
  autoreconf -vfi
  ./configure
  make dist
  # elsewhere
  tar xf $tarball
  cd $directory
  ./configure --disable-xv

With master → fails, master + your patch → works. Accordingly:

Tested-by: Cyril Brulebois <k...@debian.org>

Also, the generated sdksyms.c lands in the build directory, meaning
one can happily do stuff like:
  mkdir build1 build2
  (cd build1 && ../configure --disable-stuff)
  (cd build2 && ../configure --enable-stuff)
  make -C build1
  make -C build2

And even “make” build1 and build2 in parallel.

(FYI, that's what we do in Debian: we build two flavours; one regular,
one for the debian-installer; with a configuration phase, then a build
phase; hence my issues with --disable-xv and the like. ;))

Thanks.

KiBi.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to