From 006523dc4793702f35c330af3b9095593c316b0e Mon Sep 17 00:00:00 2001 From: oliva Date: Sat, 18 Sep 1999 18:25:50 +0000 Subject: * configure.in: Pick up thread library on Solaris/x86 just like on Solaris/sparc. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29501 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/configure.in | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'gcc/configure.in') diff --git a/gcc/configure.in b/gcc/configure.in index 1ae1a9ad27e..51687e82ba6 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -1548,8 +1548,18 @@ changequote([,])dnl tmake_file=i386/t-sol2 extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o" xmake_file=x-svr4 - if test x$enable_threads = xyes; then + if test x${enable_threads} = x; then + enable_threads=$have_pthread_h + if test x${enable_threads} = x; then + enable_threads=$have_thread_h + fi + fi + if test x${enable_threads} = xyes; then + if test x${have_pthread_h} = xyes; then + thread_file='posix' + else thread_file='solaris' + fi fi ;; changequote(,)dnl -- cgit v1.2.1