Branch: Tag:

1997-11-19

1997-11-19 15:38:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Now only enables threads on Solaris 2.5 or later.

Rev: server/start:1.23

1:   #!/bin/sh   # - # $Id: start,v 1.22 1997/10/11 19:50:44 grubba Exp $ + # $Id: start,v 1.23 1997/11/19 15:38:05 grubba Exp $      VERSION=201; BETA=.a;   
48:   # Enable threads (if available) on Solaris.   # Most other OS's have thread bugs that cause them or Roxen to crash.   if uname | grep 'SunOS' >/dev/null 2>&1; then -  if uname -r | grep '5\.' >/dev/null 2>&1; then -  echo 'Solaris detected. Enabling threads (if available).' +  if uname -r | grep '5\.[5-9]' >/dev/null 2>&1; then +  echo 'Solaris 2.5 or later detected. Enabling threads (if available).'    DEFINES="$DEFINES -DENABLE_THREADS"    fi   fi