]> git.draconx.ca Git - upkg.git/blob - autogen.sh
Merge branch 'uobject' of git://git.draconx.ca/upkg into uobject
[upkg.git] / autogen.sh
1 #!/bin/sh
2
3 die()
4 {
5         echo $@ 1>&2
6         exit 1
7 }
8
9 test -d m4 || mkdir m4
10
11 aclocal    -I m4         || die "Failed to run aclocal."
12 autoheader               || die "Failed to run autoheader."
13 libtoolize --copy --ltdl || die "Failed to run libtoolize."
14 automake   --add-missing || die "Failed to run automake."
15 autoconf                 || die "Failed to run autoconf."