improved
fluxgen fluxgen
1 files changed,
19 insertions(+),
7 deletions(-)
jump to
M
autogen.sh
→
autogen.sh
@@ -1,10 +1,22 @@
#!/bin/sh -libtoolize --copy --force --automake -rm -f config.cache -aclocal -I . -autoheader -automake -a -autoconf -echo "Done." +# 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 +} +dothis libtoolize --copy --force --automake +dothis 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.'