autogen.sh 572 Bytes
Newer Older
dkirov's avatar
dkirov committed
1
#!/usr/bin/env bash
2
  echo "[encoding: UTF-8]" > po/POTFILES.in \
dkirov's avatar
dkirov committed
3 4
  && ls -1 -U data/gajim.desktop.in.in data/glade/*.glade \
  src/*py src/common/*py src/common/zeroconf/*.py >> \
5
  po/POTFILES.in || exit 1
6 7 8 9 10
  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
dkirov's avatar
dkirov committed
11
  set -x
dkirov's avatar
dkirov committed
12 13 14
  intltoolize --force --automake \
  && aclocal -I ./m4 \
  && libtoolize --copy --force --automake \
dkirov's avatar
dkirov committed
15
  && autoheader \
dkirov's avatar
dkirov committed
16
  && autoconf  \
dkirov's avatar
dkirov committed
17
  && automake --add-missing --gnu --copy \
dkirov's avatar
dkirov committed
18
  && ./configure $@