Move autoreconf of the X server until after modules are built, because the X server build needs xtrans.m4 (which isn't always available on the system.)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3769 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/unix/build-xorg-7.4 b/unix/build-xorg-7.4
index bde6129..f5ad53c 100755
--- a/unix/build-xorg-7.4
+++ b/unix/build-xorg-7.4
@@ -76,7 +76,6 @@
pushd xserver
patch -p1 < ../xserver15.patch
- autoreconf -fiv
popd
autoreconf -fiv
@@ -151,6 +150,7 @@
# build xserver
echo "*** Building xserver ***"
cd xserver
+ autoreconf -fiv
./configure ${1+"$@"} --prefix=${PREFIX} --disable-xinerama --disable-xvfb --disable-xnest --disable-xorg
if [ $? -ne 0 ]; then
echo "Failed to configure X server."