LDFLAGS=$CFLAGS
CPPFLAGS=$CFLAGS
export CFLAGS CXXFLAGS LDFLAGS CPPFLAGS CC CXX CPP
-autoreconf -fiv
+if [ ! -f ./configure ]; then
+ autoreconf -fiv
+fi
configure --x-libraries=/usr/X11R6/lib/
make
popd
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
CXXFLAGS=$CFLAGS
LDFLAGS=$CFLAGS
export CFLAGS CXXFLAGS LDFLAGS
-autoreconf -fiv
+if [ ! -f ./configure ]; then
+ autoreconf -fiv
+fi
configure
make
popd
popd
cd ..
- autoreconf -fiv
+ if [ ! -f ./configure ]; then
+ autoreconf -fiv
+ fi
cd unix
}