1#! /bin/sh
2
3echo
4echo
5echo "NOTE:"
6echo "you will need libtool 1.3 or higher for this to work"
7echo
8echo
9
10srcdir=`dirname $0`
11test -z "$srcdir" && srcdir=.
12
13THEDIR="`pwd`"
14cd "$srcdir"
15DIE=0
16
17(glibtoolize -c -f || libtoolize -c -f)
18aclocal -I . $ACLOCAL_FLAGS
19autoheader
20automake -a -c -f
21autoconf
22
23if test -z "$*"; then
24        echo "I am going to run ./configure with no arguments - if you wish "
25        echo "to pass any to it, please specify them on the $0 command line."
26fi
27
28cd "$THEDIR"
29
30$srcdir/configure "$@"
31
32set +x
33
34echo "Now type:"
35echo
36echo "make"
37echo "make install"
38echo
39echo "have fun."
40
41