Mercurial > hg > brandweg
view autogen.sh @ 1:6dacd853fc28
Add autogen.sh and fix typo in classpath.
author | gnu_andrew@member.fsf.org |
---|---|
date | Tue, 08 Jan 2008 23:25:20 +0000 |
parents | |
children |
line wrap: on
line source
#!/bin/sh # Run this to generate all the initial makefiles, etc. srcdir=`dirname $0` test -z "$srcdir" && srcdir=. ORIGDIR=`pwd` cd $srcdir PROJECT=brandweg TEST_TYPE=-f FILE=configure.ac DIE=0 test $TEST_TYPE $FILE || { echo "You must run this script in the top-level $PROJECT directory" exit 1 } if test "x$AUTOGEN_SUBDIR_MODE" = "xyes"; then if test -z "$*"; then echo "I am going to run ./configure with no arguments - if you wish " echo "to pass any to it, please specify them on the $0 command line." fi fi autoreconf --force --install --warnings=no-portability || exit $? cd $ORIGDIR || exit $? if test "x$AUTOGEN_SUBDIR_MODE" = "xyes"; then $srcdir/configure --enable-maintainer-mode $AUTOGEN_CONFIGURE_ARGS "$@" || exit $? echo echo "Now type 'make' to compile $PROJECT." fi