configure.ac (*-*-solaris2*): Add -lrt to THREADLIBS.

* configure.ac (*-*-solaris2*): Add -lrt to THREADLIBS.
	* configure: Regenerate.

From-SVN: r169436
This commit is contained in:
Rainer Orth 2011-01-31 14:00:46 +00:00 committed by Rainer Orth
parent c6092243c9
commit 7c1e8838b2
3 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* configure.ac (*-*-solaris2*): Add -lrt to THREADLIBS.
* configure: Regenerate.
2010-12-10 Iain Sandoe <iains@gcc.gnu.org>
* powerpc_darwin_mach_dep.s: Update for m64. Add eh frames.

4
boehm-gc/configure vendored
View File

@ -14910,7 +14910,9 @@ $as_echo "#define GC_SOLARIS_PTHREADS 1" >>confdefs.h
# The alternate thread library was only introduced in Solaris 8 and
# became the default in Solaris 9, so no need for the special code
# above otherwise.
THREADLIBS=-lpthread
# nanosleep, sched_yield, and sem_* only live in librt before
# Solaris 11.
THREADLIBS="-lpthread -lrt"
;;
*-*-irix*)

View File

@ -193,7 +193,9 @@ case "$THREADS" in
# The alternate thread library was only introduced in Solaris 8 and
# became the default in Solaris 9, so no need for the special code
# above otherwise.
THREADLIBS=-lpthread
# nanosleep, sched_yield, and sem_* only live in librt before
# Solaris 11.
THREADLIBS="-lpthread -lrt"
;;
*-*-irix*)
AC_DEFINE(GC_IRIX_THREADS,1,[support for Irix pthreads])