summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-04-10 21:52:52 +0000
committerIan Lynagh <igloo@earth.li>2007-04-10 21:52:52 +0000
commitbdd44abe63ce79b32e3570e846afabad2024cd09 (patch)
treeb25fb1b882fff0ee82466475936e95ae67951c1e /boot
parenteaa67895758acd3ea1546c8d026a1ed67d5eae25 (diff)
downloadhaskell-bdd44abe63ce79b32e3570e846afabad2024cd09.tar.gz
Use a boot script instead of having autoreconf recurse
It used to be the case that autoreconf in the root would also autoreconf in any libraries that need it, and ./configure in the root would also configure all the libraries. However, cabal now configures the libraries, so they were getting configured twice. Thus now a small shellscript, boot, autoreconfs the root and all libraries that need it, and ./configure in the root doesn't configure the libraries.
Diffstat (limited to 'boot')
-rw-r--r--boot15
1 files changed, 15 insertions, 0 deletions
diff --git a/boot b/boot
new file mode 100644
index 0000000000..aa906266f6
--- /dev/null
+++ b/boot
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+
+autoreconf
+
+for lib in libraries/*; do
+ if test -e $lib/configure.ac
+ then
+ cd $lib
+ autoreconf
+ cd ../..
+ fi
+done
+