root/branches/gnu-tls-sasl/bootstrap

Revision 83, 0.8 KB (checked in by smoku, 2 years ago)

updated bootstrap for new autotools

  • Property svn:executable set to *
Line 
1#!/bin/sh
2
3# Check for proper versions of autotools
4# We require:
5#  - autoconf 2.50+
6#  - automake 1.4+
7#  - libtool 1.4+
8#
9## Using prereq in autoconf rather than here, mostly for the debian systems at
10## this point
11if test -z "`autoconf --version 2>&1|head -n 1|egrep '2.[56]'`"; then
12        echo "Autoconf 2.50+ is required. Aborting build...";
13    exit 1;
14fi
15
16if test -z "`automake --version 2>&1|head -n 1|egrep '1.([4-9]|10)'`"; then
17        echo "Automake 1.4+ is required. Aborting build...";
18        exit 1;
19fi
20
21if test -z "`libtool --version 2>&1|head -n 1|egrep '1.[45]'`"; then
22        echo "Libtool 1.4+ is required. Aborting build...";
23        exit 1;
24fi
25
26# Fire up autotools
27libtoolize --force && aclocal $ACLOCAL_FLAGS && autoheader && automake --include-deps --add-missing && autoconf
Note: See TracBrowser for help on using the browser.