From 73ea7fd00655b71458a844a557e06b1f43ff0ee1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Sun, 9 Jul 2000 13:55:07 +0200
Subject: [PATCH] Some versions of Solaris 2.5.1 need to link with both
 -lpthread and -lthread.

Rev: src/configure.in:1.384
---
 src/configure.in | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/configure.in b/src/configure.in
index 77b1302019..9c1f7d2f52 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -1,4 +1,4 @@
-AC_REVISION("$Id: configure.in,v 1.383 2000/06/29 20:23:21 grubba Exp $")
+AC_REVISION("$Id: configure.in,v 1.384 2000/07/09 11:55:07 grubba Exp $")
 AC_INIT(interpret.c)
 AC_CONFIG_HEADER(machine.h)
 
@@ -841,7 +841,7 @@ if test $cflags_is_set = no; then
   DO_IF_OS(Windows_NT,
   [
     # FIXME: The test below probably doesn't work.
-    if test "x$CC" = "xecl"; then
+    if test "x$CC" = "xrntecl"; then
       # Some options used by ecl (Intel's IA64 compiler).
 
       # We want threads, and link libc statically.
@@ -1510,6 +1510,11 @@ rm confdefs.out.2 >/dev/null 2>/dev/null || :
       LIBS="${OLDLIBS} -lpthreads -lc_r"
     ;;
 
+    xSolaris*)
+      # Some versions of Solaris 2.5.1 require linking with -lthread too.
+      LIBS="${OLDLIBS} -lpthread -lthread"
+    ;;
+
     *)
       LIBS="${OLDLIBS} -lpthread"
     ;;
-- 
GitLab