2 # Run this to generate all the initial makefiles, etc.
5 test -z "$srcdir" && srcdir
=.
11 FILE
=java
/lang
/Object.java
18 if ${LIBTOOLIZE} --version < /dev
/null
> /dev
/null
2>&1 ; then
19 libtool_version
=`${LIBTOOLIZE} --version | sed 's/^.*[^0-9.]\([0-9]\{1,\}\.[0-9.]\{1,\}\).*/\1/'`
20 case $libtool_version in
26 if $have_libtool ; then : ; else
28 echo "You must have libtool 1.5 installed to compile $PROJECT."
29 echo "Install the appropriate package for your distribution,"
30 echo "or get the source tarball at http://ftp.gnu.org/gnu/libtool/"
31 echo "For Darwin you need the latest stable (1.5.22) to support"
32 echo "Frameworks linking. Also, you have to point"
33 echo "LOCAL_AUTORECONF_FLAGS to this libtool/share/aclocal."
37 if test "$DIE" -eq 1; then
41 test $TEST_TYPE $FILE ||
{
42 echo "You must run this script in the top-level $PROJECT directory"
46 if test "x$AUTOGEN_SUBDIR_MODE" = "xyes"; then
48 echo "I am going to run ./configure with no arguments - if you wish "
49 echo "to pass any to it, please specify them on the $0 command line."
53 autoreconf
--force --install --warnings=no-portability ||
exit $?
55 cd $ORIGDIR ||
exit $?
57 if test "x$AUTOGEN_SUBDIR_MODE" = "xyes"; then
58 $srcdir/configure
--enable-maintainer-mode $AUTOGEN_CONFIGURE_ARGS "$@" ||
exit $?
61 echo "Now type 'make' to compile $PROJECT."