WD=`pwd`/`dirname $0`
LD=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ld CC=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc CXXFLAGS="-isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.1.sdk" CXX=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++ CFLAGS="-isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.1.sdk" LDFLAGS="-Wl,-syslibroot,/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.1.sdk,-framework,CoreFoundation" $WD/configure --with-tcl-libs=$WD/../tcl8.6a3/install/lib --with-tcl-inc=$WD/../tcl8.6a3/install/include --with-tcl-lib-name=tcl8.6 --disable-sdl $*
