diff options
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..1bf14e8 --- /dev/null +++ b/autogen.sh | |||
@@ -0,0 +1,22 @@ | |||
1 | #!/bin/sh | ||
2 | # autogen script for fluxbox. | ||
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 | } | ||
13 | |||
14 | libtoolize --copy --force --automake | ||
15 | rm -f config.cache | ||
16 | dothis aclocal -I . ${ACLOCAL_FLAGS} | ||
17 | dothis autoheader | ||
18 | dothis automake -a | ||
19 | dothis autoconf | ||
20 | |||
21 | echo 'Success, now continue with ./configure' | ||
22 | echo 'Use configure --help for detailed help.' | ||