Branch: Tag:

2000-07-09

2000-07-09 11:55:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Some versions of Solaris 2.5.1 need to link with both -lpthread and -lthread.

Rev: src/configure.in:1.384

1: - 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:    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:    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"    ;;