Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.72 1999/08/30 09:36:58 per Exp $ + # $Id: start,v 1.73 1999/09/02 18:30:52 per Exp $      cd `dirname $0`      # Can be set with '--config-dir=DIR'   DIR=../configurations/   LOGDIR=../logs/   FILES="default"   program=base_server/roxenloader.pike   extra_args=""   
Roxen.git/server/start:39:      DEFINES="$DEFINES -DKEEP_ALIVE"      # 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\.[5-9]' >/dev/null 2>&1; then    if [ $verbose -gt 0 ] ; then    echo 'Solaris 2.5 or later detected. Enabling threads (if available).'    fi -  DEFINES="$DEFINES -DENABLE_THREADS" +  DEFINES="$DEFINES -DENABLE_THREADS -DTHREADS"    if $pike --version 2>&1|head -1|grep 0.5 ; then    if [ $verbose -gt 0 ] ; then    echo Pike 0.5 detected. Threads disabled    fi    DEFINES="`echo $DEFINES | sed -e 's/-DENABLE_THREADS//'`"    fi    fi   fi      gdb=no