]> git.meshlink.io Git - catta/commitdiff
* bootstrap for MacOsX tiger
authorSebastien Estienne <sebastien.estienne@gmail.com>
Wed, 19 Oct 2005 15:17:42 +0000 (15:17 +0000)
committerSebastien Estienne <sebastien.estienne@gmail.com>
Wed, 19 Oct 2005 15:17:42 +0000 (15:17 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@825 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

bootstrap.sh

index 62422ea1356a2ff2491fc4988735b442432fe790..62d1e316923d48674c770e59675ffc1c0ca6349f 100755 (executable)
 FLAGS="--sysconfdir=/etc --localstatedir=/var --enable-tests --enable-compat-howl --enable-compat-libdns_sd"
 
 # Feel free to add your own custom flags in here -Lathiat
+
+case "$MACHTYPE" in
+    powerpc-apple-darwin8.0)
+    export LIBTOOLIZE=/opt/local/bin/glibtoolize
+    export CFLAGS="-I/opt/local/include"
+    export LDFLAGS="-L/opt/local/lib"
+    export PKG_CONFIG_PATH="/opt/local/lib/pkgconfig"
+    FLAGS="$FLAGS --disable-monodoc --disable-mono --disable-qt3 --disable-qt4 --disable-python --disable-glib --disable-gtk --disable-xmltoman --disable-dbus --prefix=/opt --with-distro=none"
+    ;;
+esac
+
 case "$USER" in
-    lathiat|sebest)
-        FLAGS="$FLAGS --disable-monodoc"
+    lathiat)
+    FLAGS="$FLAGS --disable-monodoc"
+    ;;
+    sebest)
+    FLAGS="$FLAGS --disable-monodoc --disable-mono --disable-qt3 --disable-qt4"
     ;;
 esac