autogen.sh 602 Bytes
Newer Older
Jack Moffitt's avatar
Jack Moffitt committed
1 2
#!/bin/sh
# Run this to set up the build system: configure, makefiles, etc.
3
set -e
Jack Moffitt's avatar
Jack Moffitt committed
4

5 6
srcdir=$(dirname "$0")
test -n "$srcdir" && cd "$srcdir"
Jack Moffitt's avatar
Jack Moffitt committed
7

8 9
(autoreconf --version) > /dev/null 2>&1 || {
        echo "You must have autoreconf installed to compile IceS."
10 11
        echo "Download the appropriate package for your distribution,"
        echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
12
        exit 1
Jack Moffitt's avatar
Jack Moffitt committed
13 14
}

15
echo "Updating build configuration files for IceS, please wait..."
Jack Moffitt's avatar
Jack Moffitt committed
16

17
autoreconf -isf
Jack Moffitt's avatar
Jack Moffitt committed
18

19 20 21 22
echo
echo "Done!"
echo "Now type '$srcdir/configure' to configure the build"
echo "Followed by 'make'"