Commit 4b7f154f by Tom Tromey Committed by Tom Tromey

configure: Rebuilt.

	* configure: Rebuilt.
	* configure.in: Look for -ldl when using the Boehm collector.
	Look for sched_yield in -lposix4.

From-SVN: r26905
parent 9615f239
1999-05-12 Tom Tromey <tromey@cygnus.com>
* configure: Rebuilt.
* configure.in: Look for -ldl when using the Boehm collector.
Look for sched_yield in -lposix4.
1999-05-12 Per Bothner <bothner@cygnus.com>
* java/io/File.java (mkdirs): Handle a null parent directory.
......
......@@ -325,6 +325,11 @@ else
save_LIBS="$LIBS"
LIBS="$LIBS $THREADLIBS"
AC_CHECK_FUNCS(pthread_mutexattr_settype pthread_mutexattr_setkind_np sched_yield)
# Look for sched_yield. Sometimes it is in the posix4 library.
AC_CHECK_FUNCS(sched_yield, , [
AC_CHECK_LIB(posix4, sched_yield, [
AC_DEFINE(HAVE_SCHED_YIELD)
THREADLIBS="$THREADLIBS -lposix4"])])
LIBS="$save_LIBS"
# We require a way to get the time.
......@@ -404,6 +409,12 @@ else
ZLIBSPEC=-lzgcj
fi
# On Solaris, and maybe other architectures, the Boehm collector
# requires -ldl.
if test "$GC" = boehm; then
AC_CHECK_LIB(dl, main, SYSTEMSPEC="$SYSTEMSPEC -ldl")
fi
if test -d "$libgcj_basedir/../gcc/java"; then
GCJ=
else
......
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