Mercurial > hg > icepick
view autogen.sh @ 10:15425b469aea default tip
Add Makefile for tools subdirectory.
author | Andrew John Hughes <gnu_andrew@member.fsf.org> |
---|---|
date | Fri, 18 Jan 2008 14:39:07 +0000 |
parents | 46216729b691 |
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=classpath TEST_TYPE=-f FILE=tools/wrapper.c 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