aboutsummaryrefslogtreecommitdiff
path: root/autogen.sh
blob: 27b75c66aecd9fab2a8c778506727270190f2dbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

PATH=/sw/bin:$PATH

PWD=${0%/*}


## git cannot really handle empty directories
## so let's create the missing ones
mkdir -p ${PWD}/m4/generated

case `uname -s` in
    MINGW*)
# autoreconf doesn't always work on MinGW
        libtoolize --install --force \
	        && aclocal \
	        && automake --add-missing --force-missing \
	        && autoconf
        ;;
    *)
        autoreconf --install --force --verbose
    ;;
esac