diff options
author | Ian Lynagh <igloo@earth.li> | 2007-04-10 21:52:52 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2007-04-10 21:52:52 +0000 |
commit | bdd44abe63ce79b32e3570e846afabad2024cd09 (patch) | |
tree | b25fb1b882fff0ee82466475936e95ae67951c1e /boot | |
parent | eaa67895758acd3ea1546c8d026a1ed67d5eae25 (diff) | |
download | haskell-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-- | boot | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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 + |