import source from 1.3.40
[external/swig.git] / autogen.sh
1 #! /bin/sh
2
3 # Bootstrap the development environment - add extra files needed to run configure. 
4 # Note autoreconf should do what this file achieves, but it has a bug when working with automake!
5 # The latest config.guess and config.sub should be copied into Tools/config.
6 # This script will ensure the latest is copied from your autotool installation.
7
8 set -e
9 set -x
10 test -d Tools/config || mkdir Tools/config
11 ${ACLOCAL-aclocal} -I Tools/config
12 ${AUTOHEADER-autoheader}
13 ${AUTOMAKE-automake} --add-missing --copy --force-missing
14 ${AUTOCONF-autoconf}
15 cd CCache && ${AUTORECONF-autoreconf}