diff options
-rwxr-xr-x | autogen.sh | 26 |
1 files changed, 19 insertions, 7 deletions
@@ -1,10 +1,22 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | libtoolize --copy --force --automake | 2 | # autogen script for fluxbox. |
3 | rm -f config.cache | ||
4 | aclocal -I . | ||
5 | autoheader | ||
6 | automake -a | ||
7 | autoconf | ||
8 | echo "Done." | ||
9 | 3 | ||
4 | dothis() { | ||
5 | echo "Executing: $*" | ||
6 | echo | ||
7 | if ! $* ;then | ||
8 | echo -e '\n ERROR: Carefully read the error message and' | ||
9 | echo ' try to figure out what went wrong.' | ||
10 | exit 1 | ||
11 | fi | ||
12 | } | ||
10 | 13 | ||
14 | dothis libtoolize --copy --force --automake | ||
15 | dothis rm -f config.cache | ||
16 | dothis aclocal -I . | ||
17 | dothis autoheader | ||
18 | dothis automake -a | ||
19 | dothis autoconf | ||
20 | |||
21 | echo 'Succes, now continue with ./configure' | ||
22 | echo 'Use configure --help for detailed help.' | ||