(metux) fixed autogen.sh
[oss-qm-packages.git] / autogen.sh
blob8601ca8916b7b3eb923b549307d35fdb9cfdb7c8
1 #!/bin/sh
3 [ "$AUTOCONF" ] || AUTOCONF=autoconf
4 [ "$AUTOHEADER" ] || AUTOHEADER=autoheader
5 [ "$LIBTOOLIZE" ] || LIBTOOLIZE=libtoolize
7 rm -rf autom4te.cache
8 rm -f configure config.h.in
10 IPATHS="-I libreplace -I lib/replace -I ../libreplace -I ../replace"
12 $LIBTOOLIZE --install
13 $AUTOCONF $IPATHS || exit 1
14 $AUTOHEADER $IPATHS || exit 1
16 rm -rf autom4te.cache
18 echo "Now run ./configure and then make."
19 exit 0