Skip to content

Commit

Permalink
Changes to support JNI invocation API.
Browse files Browse the repository at this point in the history
  • Loading branch information
rlougher committed Aug 28, 2006
1 parent dd1dc72 commit 5796837
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
13 changes: 13 additions & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ DIE=0
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.

(libtoolize --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`libtool' installed to compile JamVM."
echo "Install the appropriate package for your distribution,"
echo "or get the source tarball at http://ftp.gnu.org/gnu/libtool"
DIE=1
}

(autoconf --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`autoconf' installed to compile JamVM."
Expand Down Expand Up @@ -66,11 +74,16 @@ aclocal $ACLOCAL_FLAGS || {
exit 1
}

echo "Running libtoolize ..."
libtoolize --force || { echo "**Error**: libtoolize failed."; exit 1; }

echo "Running autoheader ..."
autoheader || { echo "**Error**: autoheader failed."; exit 1; }

echo "Running automake --gnu ..."
automake --add-missing --gnu ||
{ echo "**Error**: automake failed."; exit 1; }

echo "Running autoconf ..."
autoconf || { echo "**Error**: autoconf failed."; exit 1; }

Expand Down
6 changes: 4 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,12 @@ AC_ARG_WITH(classpath-install-dir,

AC_SUBST(with_classpath_install_dir)

dnl Initialise libtool
AC_DISABLE_STATIC
AC_PROG_LIBTOOL

dnl Checks for programs.
AC_PROG_CC
AC_PROG_RANLIB

AM_PROG_AS

AC_CHECK_PROGS(JAVAC, ecj jikes "gcj -C" javac)
Expand Down

0 comments on commit 5796837

Please sign in to comment.