diff --git a/src/configure.in b/src/configure.in index 77b13020190f5f340afbaf6c3ae19212004da496..9c1f7d2f5219060bf5e028b792040ba12ba62178 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" ;;