gajim-plural/autogen.sh

27 lines
839 B
Bash
Raw Normal View History

2006-10-12 02:36:34 +02:00
#!/usr/bin/env bash
AM_ARGS="--add-missing --gnu --copy"
CONF_ARGS=""
if test x`uname -s 2>/dev/null` = 'xDarwin';then
. /Library/Frameworks/GTK+.framework/Versions/Current/env
AM_ARGS="${AM_ARGS} --ignore-deps"
CONF_ARGS="${CONF_ARGS} --disable-idle --without-x"
fi
echo "[encoding: UTF-8]" > po/POTFILES.in \
&& ls -1 data/gajim.desktop.in.in data/glade/*.glade \
2008-01-22 17:32:16 +01:00
src/*py src/common/*py src/common/zeroconf/*.py src/osx/*.py >> \
po/POTFILES.in || exit 1
2006-10-15 12:32:17 +02:00
if test -z `which pkg-config 2>/dev/null`;then
echo "***Error: pkg-config not found***"
echo "See README.html for build requirements."
exit 1
fi
2006-10-05 17:44:08 +02:00
intltoolize --force --automake \
&& aclocal -I ./m4 \
&& libtoolize --copy --force --automake \
&& autoheader \
&& autoconf \
&& automake ${AM_ARGS} \
&& ./configure ${CONF_ARGS} $@