summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2002-12-23 22:51:49 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2002-12-23 22:51:49 +0000
commit031b7bddbf69ada92f8e7549ef283a6e93a3177e (patch)
tree82390a81dde8a49c362187ce660404480c55652c /autogen.sh
parenta4c4e8e8b207a9d20ea8e6b8b75760d52920894a (diff)
downloadswig-031b7bddbf69ada92f8e7549ef283a6e93a3177e.tar.gz
Bootstrap changes sets up Automake and now also installs missing files for Autoconf.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4221 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 5afad78c2..332a9cc5d 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,7 +1,16 @@
#! /bin/sh
-# Bootstrap the development environment
+
+# Bootstrap the development environment - add extra files needed to run configure.
+# Note autoreconf should do what this file achieves, but it has a bug when working with automake!
+# The latest config.guess and config.sub should be copied into Tools/config and checked into CVS
+# when upgrading the autotools. Otherwise this script will ensure the latest is copied from
+# your autotool installation.
set -x
+test -d Tools/config || mkdir Tools/config
+aclocal -I Tools/config
autoheader
+automake --add-missing --copy --force-missing
autoconf
(cd Tools; autoconf)
+