Commit 0f9c645e by Anthony Green Committed by Anthony Green

configure: Rebuilt.

	      * configure: Rebuilt.
	      * configure.in (ZLIBTESTSPEC): New macro.
	      (GCTESTSPEC): New macro.
        (LIBGCJTESTSPEC): New macro.
        * libgcj-test.spec.in: New file.

From-SVN: r32330
parent 49e6c08e
2000-03-04 Anthony Green <green@redhat.com>
* configure: Rebuilt.
* configure.in (ZLIBTESTSPEC): New macro.
(GCTESTSPEC): New macro.
(LIBGCJTESTSPEC): New macro.
* libgcj-test.spec.in: New file.
2000-03-02 Tom Tromey <tromey@cygnus.com> 2000-03-02 Tom Tromey <tromey@cygnus.com>
* include/java-interp.h: Don't include MethodInvocation.h. * include/java-interp.h: Don't include MethodInvocation.h.
......
...@@ -174,10 +174,15 @@ AC_LINK_FILES(java/lang/nat${PROCESS}Process.cc, java/lang/natConcreteProcess.cc ...@@ -174,10 +174,15 @@ AC_LINK_FILES(java/lang/nat${PROCESS}Process.cc, java/lang/natConcreteProcess.cc
SYSTEMSPEC= SYSTEMSPEC=
AC_SUBST(SYSTEMSPEC) AC_SUBST(SYSTEMSPEC)
LIBGCJTESTSPEC="-L`pwd`/.libs -rpath `pwd`/.libs"
AC_SUBST(LIBGCJTESTSPEC)
AC_ARG_WITH(system-zlib, AC_ARG_WITH(system-zlib,
[ --with-system-zlib use installed libz]) [ --with-system-zlib use installed libz])
ZLIBSPEC= ZLIBSPEC=
AC_SUBST(ZLIBSPEC) AC_SUBST(ZLIBSPEC)
ZLIBTESTSPEC=
AC_SUBST(ZLIBTESTSPEC)
dnl FIXME: this should be _libs on some hosts. dnl FIXME: this should be _libs on some hosts.
libsubdir=.libs libsubdir=.libs
...@@ -195,6 +200,7 @@ GCINCS= ...@@ -195,6 +200,7 @@ GCINCS=
GCDEPS= GCDEPS=
GCOBJS= GCOBJS=
GCSPEC= GCSPEC=
GCTESTSPEC=
case "$GC" in case "$GC" in
boehm) boehm)
AC_MSG_RESULT(boehm) AC_MSG_RESULT(boehm)
...@@ -204,6 +210,7 @@ case "$GC" in ...@@ -204,6 +210,7 @@ case "$GC" in
GCLIBS="$GCDEPS -L\$(here)/../boehm-gc/$libsubdir" GCLIBS="$GCDEPS -L\$(here)/../boehm-gc/$libsubdir"
GCINCS='-I$(top_srcdir)/../boehm-gc -I$(top_builddir)/../boehm-gc' GCINCS='-I$(top_srcdir)/../boehm-gc -I$(top_builddir)/../boehm-gc'
GCSPEC='-lgcjgc' GCSPEC='-lgcjgc'
GCTESTSPEC="-L`pwd`/../boehm-gc/.libs -rpath `pwd`/../boehm-gc/.libs"
dnl We also want to pick up some cpp flags required when including dnl We also want to pick up some cpp flags required when including
dnl boehm-config.h. Yuck. dnl boehm-config.h. Yuck.
GCINCS="$GCINCS `cat ../boehm-gc/boehm-cflags`" GCINCS="$GCINCS `cat ../boehm-gc/boehm-cflags`"
...@@ -226,6 +233,7 @@ AC_SUBST(GCINCS) ...@@ -226,6 +233,7 @@ AC_SUBST(GCINCS)
AC_SUBST(GCDEPS) AC_SUBST(GCDEPS)
AC_SUBST(GCOBJS) AC_SUBST(GCOBJS)
AC_SUBST(GCSPEC) AC_SUBST(GCSPEC)
AC_SUBST(GCTESTSPEC)
AC_LINK_FILES(include/$GCHDR, include/java-gc.h) AC_LINK_FILES(include/$GCHDR, include/java-gc.h)
...@@ -358,6 +366,7 @@ if test -n "${with_cross_host}"; then ...@@ -358,6 +366,7 @@ if test -n "${with_cross_host}"; then
AC_DEFINE(NO_GETUID) AC_DEFINE(NO_GETUID)
ZLIBSPEC=-lzgcj ZLIBSPEC=-lzgcj
ZLIBTESTSPEC="-L`pwd`/../zlib/.libs -rpath `pwd`/../zlib/.libs"
# If Canadian cross, then don't pick up tools from the build # If Canadian cross, then don't pick up tools from the build
# directory. # directory.
...@@ -546,6 +555,7 @@ else ...@@ -546,6 +555,7 @@ else
AC_CHECK_LIB(z, deflate, ZLIBSPEC=-lz, ZLIBSPEC=-lzgcj) AC_CHECK_LIB(z, deflate, ZLIBSPEC=-lz, ZLIBSPEC=-lzgcj)
else else
ZLIBSPEC=-lzgcj ZLIBSPEC=-lzgcj
ZLIBTESTSPEC="-L`pwd`/../zlib/.libs -rpath `pwd`/../zlib/.libs"
fi fi
# On Solaris, and maybe other architectures, the Boehm collector # On Solaris, and maybe other architectures, the Boehm collector
...@@ -720,7 +730,7 @@ fi ...@@ -720,7 +730,7 @@ fi
here=`pwd` here=`pwd`
AC_SUBST(here) AC_SUBST(here)
AC_OUTPUT(Makefile libgcj.spec gcj/Makefile include/Makefile testsuite/Makefile, AC_OUTPUT(Makefile libgcj.spec libgcj-test.spec gcj/Makefile include/Makefile testsuite/Makefile,
[if test -n "$CONFIG_FILES"; then [if test -n "$CONFIG_FILES"; then
ac_file=Makefile . ${libgcj_basedir}/../config-ml.in ac_file=Makefile . ${libgcj_basedir}/../config-ml.in
fi], fi],
......
#
# This spec file is read by gcj when linking.
# It is only used by the testing harnesses (in libjava and gdb).
#
%rename lib liborig2
*lib: @LIBGCJTESTSPEC@ @GCTESTSPEC@ @ZLIBTESTSPEC@ %(liborig2)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment