Added support for the SYNFIG_MODULE_LIST environment variable.
[synfig.git] / synfig-core / trunk / macosxbuild.sh
1 #!/bin/sh
2
3 #OPTIONS="--disable-optimization --enable-debug"
4
5 OPTIONS=""
6 #OPTIONS="$OPTIONS --enable-timelimit=120"
7 OPTIONS="$OPTIONS --enable-optimization=2"
8 OPTIONS="$OPTIONS --enable-optimization=3 --enable-g5opt"
9 #OPTIONS="$OPTIONS --disable-optimization"
10 OPTIONS="$OPTIONS --disable-debug"
11
12 BUILDDIR=macosxbuild
13
14 [ -e configure ] || ./bootstrap || exit 1
15
16 [ -d $BUILDDIR ] && rm -fr $BUILDDIR
17
18 mkdir $BUILDDIR
19
20 cd $BUILDDIR
21
22 ../configure $OPTIONS || exit 1
23
24 make package
25
26 #make installer
27
28