diff --git a/autogen.sh b/autogen.sh index e7488cc..ce2e8f8 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,31 +1,20 @@ #!/bin/sh -dump_config() { - cat > $1 <> $1 - - echo 'INSTALL_DIR ?= "@INSTALL_DIR@" ;' >> $1 -} +# to save me from typing :P +if [ "$1" = "--compile" ]; then + compile=1 +fi if aclocal -I m4 && autoheader && autoconf; then - #dump_config "Jamconfig.in" - rm -f "config.h.in~" - echo "" echo "Now run ./configure [OPTIONS]" echo "or './configure --help' to see them" + + if [ $compile ]; then + ./configure --enable-debug --prefix=/opt/ede && jam + fi else echo "" - echo "We failed :(. There should be some output, right ?" + echo "We failed :(. There should be some output, right?" exit 1 fi