diff options
Diffstat (limited to 'autogen.sh')
| -rwxr-xr-x | autogen.sh | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 00000000..fb70cc71 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,39 @@ +#!/bin/sh +# +# Run this to generate all the initial makefiles, etc. +# + +PROJECT="PROJ.4" + +(autoconf --version) < /dev/null > /dev/null 2>&1 || { + echo "*** ERROR: GNU Autoconf is required to build $PROJECT." + exit 1 +} + +(libtool --version) < /dev/null > /dev/null 2>&1 || { + echo "*** ERROR: GNU Libtool is required to build $PROJECT." + exit 1 +} + +(automake --version) < /dev/null > /dev/null 2>&1 || { + echo "*** ERROR: GNU Automake is required to build $PROJECT." + exit 1 +} + +(aclocal --version) < /dev/null > /dev/null 2>&1 || { + echo "*** ERROR: aclocal program from GNU Automake package is required to build $PROJECT." + exit 1 +} + +echo "Running aclocal..." +aclocal +echo "Running libtoolize..." +libtoolize --force --copy +echo "Running automake..." +automake --add-missing --copy +echo "Running autoconf..." +autoconf + +echo +echo "Type './configure' to generate Makefile files for $PROJECT." +echo "or './configure --help' to list possible options." |
