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/release/build-osx-64 b/release/build-osx-64
index 417450f..3328a8a 100755
--- a/release/build-osx-64
+++ b/release/build-osx-64
@@ -9,7 +9,9 @@
 CFLAGS='-O3'
 CXXFLAGS=$CFLAGS
 export CFLAGS CXXFLAGS
-autoreconf -fiv
+if [ ! -f ./configure ]; then
+    autoreconf -fiv
+fi
 configure --host=x86_64-apple-darwin10.0.0 NASM=/opt/local/bin/nasm
 make
 popd