diff options
Diffstat (limited to 'boehm-gc/configure')
-rwxr-xr-x | boehm-gc/configure | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/boehm-gc/configure b/boehm-gc/configure index 0bcfb592af3..557d30583ac 100755 --- a/boehm-gc/configure +++ b/boehm-gc/configure @@ -14893,7 +14893,7 @@ $as_echo "#define GC_FREEBSD_THREADS 1" >>confdefs.h AM_CPPFLAGS="$AM_CPPFLAGS -pthread" THREADLIBS=-pthread ;; - *-*-solaris*) + *-*-solaris2.8*) $as_echo "#define GC_SOLARIS_PTHREADS 1" >>confdefs.h @@ -14903,6 +14903,15 @@ $as_echo "#define GC_SOLARIS_PTHREADS 1" >>confdefs.h THREADLIBS="-L/usr/lib/lwp/$multi_os_directory \ -R/usr/lib/lwp/$multi_os_directory -lpthread -lthread -lrt" ;; + *-*-solaris2*) + +$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 + ;; *-*-irix*) $as_echo "#define GC_IRIX_THREADS 1" >>confdefs.h |