diff options
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..f862809 --- /dev/null +++ b/autogen.sh | |||
@@ -0,0 +1,23 @@ | |||
1 | #!/bin/sh | ||
2 | # autogen script for fluxbox. | ||
3 | |||
4 | dothis() { | ||
5 | echo "Executing: $*" | ||
6 | echo | ||
7 | $* | ||
8 | if [ $? -ne 0 ]; then | ||
9 | echo -e '\n ERROR: Carefully read the error message and' | ||
10 | echo ' try to figure out what went wrong.' | ||
11 | exit 1 | ||
12 | fi | ||
13 | } | ||
14 | |||
15 | libtoolize --copy --force --automake | ||
16 | rm -f config.cache | ||
17 | dothis aclocal -I . ${ACLOCAL_FLAGS} | ||
18 | dothis autoheader | ||
19 | dothis automake --warnings=none -a | ||
20 | dothis autoconf | ||
21 | |||
22 | echo 'Success, now continue with ./configure' | ||
23 | echo 'Use configure --help for detailed help.' | ||