Bump library version.
[shibboleth/cpp-opensaml.git] / bootstrap
1 #!/bin/sh
2
3 find_program()
4 {
5     prog="$1"
6     #vers="$2"
7
8     #if test `"$prog-$vers" --version | head -1 | grep -c "$vers"` != 0 ; then
9         #program="$prog-$vers"
10     #else
11         program="$prog"
12     #fi
13 }
14
15 # Find appropriate versions of the auto tools
16 find_program aclocal 1.9
17 aclocal="$program"
18 find_program autoheader 2.53
19 autoheader="$program"
20 find_program automake 1.9
21 automake="$program"
22 find_program autoconf 2.53
23 autoconf="$program"
24
25 set -x
26
27 # Remove autoconf 2.5x's cache directory
28 rm -rf autom4te*.cache
29
30 $aclocal -I .                            || exit 1
31 $autoheader                              || exit 1
32 # libtoolize --force --copy               || exit 1
33 $automake --foreign --add-missing --copy || exit 1
34 $autoconf                                || exit 1