aboutsummaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..45a5ad4
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+# autogen script for fluxbox.
+
+dothis() {
+ echo "Executing: $*"
+ echo
+ if ! $* ;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 .
+dothis autoheader
+dothis automake -a
+dothis autoconf
+
+echo 'Succes, now continue with ./configure'
+echo 'Use configure --help for detailed help.'