summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: cc32b029594c9b426c7d840880a71cd1eddb35ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

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

ORIGDIR=`pwd`
cd $srcdir

rm -rf config.guess config.sub ltmain.sh

autoreconf -v --install || exit 1
cd $ORIGDIR || exit $?

$srcdir/configure --enable-maintainer-mode "$@"

make distclean

rm -rf autom4te.cache

#EOF