aboutsummaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh23
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
4dothis() {
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
15libtoolize --copy --force --automake
16rm -f config.cache
17dothis aclocal -I . ${ACLOCAL_FLAGS}
18dothis autoheader
19dothis automake --warnings=none -a
20dothis autoconf
21
22echo 'Success, now continue with ./configure'
23echo 'Use configure --help for detailed help.'