summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: 45f0aed0f5d5c5ea0be08ef2eb4e9b93c732f0d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
# Run this to generate all the initial makefiles, etc.

srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.

pushd $srcdir
echo "autogen.sh: running: intltoolize --force"
intltoolize --force || exit 1
autoreconf -vif || exit 1

popd

if test -z "$NOCONFIGURE"; then
    $srcdir/configure --enable-maintainer-mode "$@" && echo "Now type \`make' to compile" || exit 1
fi