X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=bootstrap;fp=bootstrap;h=3f9499f57bd0f91ea2ad4666822491ec8fb48c55;hp=0000000000000000000000000000000000000000;hb=a01e3f87ebd87f3f3df92f17d8d0cda5825d5275;hpb=6cac121dfd537a95c5d399062050b55bc38e46ad diff --git a/bootstrap b/bootstrap new file mode 100644 index 0000000..3f9499f --- /dev/null +++ b/bootstrap @@ -0,0 +1,34 @@ +#!/bin/sh + +find_program() +{ + prog="$1" + #vers="$2" + + #if test `"$prog-$vers" --version | head -1 | grep -c "$vers"` != 0 ; then + #program="$prog-$vers" + #else + program="$prog" + #fi +} + +# Find appropriate versions of the auto tools +find_program aclocal 1.7 +aclocal="$program" +find_program autoheader 2.53 +autoheader="$program" +find_program automake 1.7 +automake="$program" +find_program autoconf 2.53 +autoconf="$program" + +set -x + +# Remove autoconf 2.5x's cache directory +rm -rf autom4te*.cache + +$aclocal -I . || exit 1 +$autoheader || exit 1 +# libtoolize --force --copy || exit 1 +$automake --foreign --add-missing --copy || exit 1 +$autoconf || exit 1