3 #OPTIONS="--disable-optimization --enable-debug"
4 export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/X11R6/lib/pkgconfig
5 export MACOSX_DEPLOYMENT_TARGET=10.4
7 #OPTIONS="$OPTIONS --enable-timelimit=120"
8 OPTIONS="$OPTIONS --enable-optimization=2"
9 #OPTIONS="$OPTIONS --enable-optimization=3 --enable-g5opt"
10 #OPTIONS="$OPTIONS --disable-optimization"
11 OPTIONS="$OPTIONS --disable-debug"
12 #export LDFLAGS='-undefined dynamic-lookup'
13 LDFLAGS="-prebind -prebind_all_twolevel_modules -twolevel_namespace -bind_at_load -undefined dynamic_lookup"
16 [ -e configure ] || ./bootstrap || exit 1
18 [ -d $BUILDDIR ] && rm -fr $BUILDDIR
26 ../configure $OPTIONS LDFLAGS="$LDFLAGS" || exit 1