summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: 1bb014a04b9fbd76add4d2525095c0a71ee1dcde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -e
set -x

autopoint --force || exit 1
libtoolize --automake --copy --force || exit 1
intltoolize --copy --force || exit 1
aclocal -I m4 --force || exit 1
autoheader --force || exit 1
automake --add-missing --copy --force || exit 1
autoconf --force || exit 1
export CFLAGS="-Wall -g -O0 -Wl,--no-undefined"
export CXXFLAGS="$CFLAGS"
./configure --enable-maintainer-mode $* || exit 1