Use configure scripts included in the tarball, if they exist.  This is to avoid problems caused by trying to re-generate the configure scripts using older versions of Autotools than the ones that were used to generate the scripts in the tarball.



git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3953 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/unix/build-xorg-7.4 b/unix/build-xorg-7.4
index 69b5a03..a783f60 100755
--- a/unix/build-xorg-7.4
+++ b/unix/build-xorg-7.4
@@ -78,7 +78,9 @@
     popd
 
     cd ..
-    autoreconf -fiv
+    if [ ! -f ./configure ]; then
+        autoreconf -fiv
+    fi
     cd unix
 }