Commit 1518ec60 by Tom Tromey Committed by Tom Tromey

configure: Rebuilt.

	* configure: Rebuilt.
	* configure.in (THREADSPEC): Don't set THREADLIBS on Cygwin.  From
	David Billinghurst.

From-SVN: r44576
parent 4b5eb038
2001-08-02 Tom Tromey <tromey@redhat.com>
* configure: Rebuilt.
* configure.in (THREADSPEC): Don't set THREADLIBS on Cygwin. From
David Billinghurst.
2001-08-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2001-08-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* include/posix.h (_POSIX_PII_SOCKET): Define. * include/posix.h (_POSIX_PII_SOCKET): Define.
......
...@@ -329,8 +329,15 @@ THREADH= ...@@ -329,8 +329,15 @@ THREADH=
THREADSPEC= THREADSPEC=
case "$THREADS" in case "$THREADS" in
posix) posix)
THREADLIBS=-lpthread case "$host" in
THREADSPEC=-lpthread *-*-cygwin*)
# Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
;;
*)
THREADLIBS=-lpthread
THREADSPEC=-lpthread
;;
esac
THREADOBJS=posix-threads.lo THREADOBJS=posix-threads.lo
THREADH=posix-threads.h THREADH=posix-threads.h
# MIT pthreads doesn't seem to have the mutexattr functions. # MIT pthreads doesn't seem to have the mutexattr functions.
......
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