From 854433f066e16a2506ed2aebf4e5c649bc1b002e Mon Sep 17 00:00:00 2001 From: Mateusz Loskot Date: Fri, 13 Oct 2006 18:40:06 +0000 Subject: Added autogen.sh script. git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1354 4e78687f-474d-0410-85f9-8d5e500ac6b2 --- autogen.sh | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100755 autogen.sh (limited to 'autogen.sh') 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." -- cgit v1.2.3