aboutsummaryrefslogtreecommitdiff
path: root/autogen.sh
blob: 4831e1a9a588ddaee74b42d91b51db59a8606c2b (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
# autogen script for fluxbox.

dothis() {
    echo "Executing:  $*"
    echo
    $*
    if [ $? -ne 0 ]; then
        echo -e '\n ERROR: Carefully read the error message and'
        echo      '        try to figure out what went wrong.'
        exit 1
    fi
}

libtoolize --copy --force --automake
rm -f config.cache
dothis aclocal -I m4 ${ACLOCAL_FLAGS}
dothis autoheader
dothis automake -a -c
dothis autoconf

echo 'Success, now continue with ./configure'
echo 'Use configure --help for detailed help.'