Branch: Tag:

2002-04-02

2002-04-02 14:35:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Enable threads by default on Linux.

Rev: server/start:1.192

1:   #!/bin/sh   # - # $Id: start,v 1.191 2002/01/03 13:07:29 grubba Exp $ + # $Id: start,v 1.192 2002/04/02 14:35:05 grubba Exp $      ### If --silent-start is given as the first argument,   ### nothing will be printed to stdout by the script.
105:      DEFINES="$DEFINES -DRAM_CACHE"    + # Thread enabling. + # FIXME: Ought to use case...esac. +    # 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
122:    DEFINES="$DEFINES -DENABLE_THREADS"    fi   fi + # Also enabled on Linux. + if uname | grep 'Linux' >/dev/null 2>&1; then +  DEFINES="$DEFINES -DENABLE_THREADS" + fi      gdb=no