Roxen.git / server / start

version» Context lines:

Roxen.git/server/start: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.      if [ "x$1" = "x--silent-start" ] ; then    SILENT_START="y"    shift   fi      check_owner() {
Roxen.git/server/start:98:   find_pike      # Source environment   setup_environment      ####### BEGIN ARGUMENT PARSING         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    if uname -r | grep '5\.[5-9]' >/dev/null 2>&1; then    # FIXME: What about Solaris 10+ (SunOS 5.10+)?   # if [ $verbose -gt 0 ] ; then   # dp "Solaris 2.5 or later detected. Using threads by default."   # fi    DEFINES="$DEFINES -DENABLE_THREADS"    fi   fi   # Darwin 1.4 or later (Mac OS X 10.1 or newer) also uses threads.   if uname | grep 'Darwin' >/dev/null 2>&1; then    if uname -r | grep '^1\.[4-9]' >/dev/null 2>&1; then    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      remove_old_dot_o_files () {    dp "Removing old precompiled files ($1)"    # This really cannot be done from here anymore -- pass on an option    # to roxenloader instead.    pass="$pass --remove-dumped"   }