4 # This file is part of avahi.
6 # avahi is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU Lesser General Public License as
8 # published by the Free Software Foundation; either version 2 of the
9 # License, or (at your option) any later version.
11 # avahi is distributed in the hope that it will be useful, but WITHOUT
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
14 # License for more details.
16 # You should have received a copy of the GNU Lesser General Public
17 # License along with avahi; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
21 FLAGS="--sysconfdir=/etc --localstatedir=/var --enable-tests --enable-compat-howl --enable-compat-libdns_sd"
23 # Feel free to add your own custom flags in here -Lathiat
27 export LIBTOOLIZE=/opt/local/bin/glibtoolize
28 export CFLAGS="-I/opt/local/include"
29 export LDFLAGS="-L/opt/local/lib"
30 export PKG_CONFIG_PATH="/opt/local/lib/pkgconfig"
31 FLAGS="$FLAGS --prefix=/opt/local --disable-pygtk"
34 cp /usr/local/share/aclocal/libtool15.m4 common
35 cp /usr/local/share/aclocal/pkg.m4 common
36 export LIBTOOLIZE=/usr/local/bin/libtoolize15
37 export CFLAGS="-I/usr/local/include"
38 export LDFLAGS="-L/usr/local/lib"
39 export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"
40 FLAGS="$FLAGS --prefix=/opt/ --with-distro=none --disable-python --disable-dbus --disable-glib --disable-gtk"
43 export LIBTOOLIZE=libtoolize
44 export CFLAGS="-I/usr/pkg/include"
45 export LDFLAGS="-L/usr/pkg/lib"
46 export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"
47 FLAGS="$FLAGS --disable-monodoc --disable-mono --disable-qt3 --disable-qt4 --disable-xmltoman --prefix=/opt --with-distro=none --disable-python --disable-glib --disable-gtk --disable-manpages"
55 FLAGS="$FLAGS --disable-qt4"
58 FLAGS="$FLAGS --disable-monodoc --enable-dbus=no --enable-mono=no --enable-qt3=no --enable-qt4=no --sysconfdir=/etc --localstatedir=/var --prefix=/usr --disable-manpages --disable-xmltoman"
62 CFLAGS="$CFLAGS -g -O0" exec ./autogen.sh $FLAGS "$@"