Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.50 1998/09/19 13:19:58 grubba Exp $ + # $Id: start,v 1.51 1998/10/16 17:48:37 grubba Exp $      VERSION=202; BETA=.b;      # Can be set with '--config-dir=DIR'   DIR=../configurations/   LOGDIR=../logs/   FILES="default"   program=base_server/roxenloader.pike      # Enable threads (if available) on Solaris.
Roxen.git/server/start:60:   fi      # Extra include-path (2)   if [ -d base_server ]; then    DEFINES="$DEFINES -Ibase_server"   fi      # Extra program-path   DEFINES="$DEFINES -P`pwd`"    + # Support for adding local pike-modules + if [ -d ../local/etc/. ]; then +  # Extra module-path +  if [ -d ../local/etc/modules/. ]; then +  DEFINES="$DEFINES -M../local/etc/modules" +  fi +  +  # Extra include-path +  if [ -d ../local/etc/include ]; then +  DEFINES="$DEFINES -I../local/etc/include" +  fi +  +  # Extra program-path +  DEFINES="$DEFINES -P../local/etc" + fi +    # Extra kludge for HPUX   # HPUX doesn't like group 60001(nobody)   if uname | grep 'HP-UX' >/dev/null 2>&1; then    echo 'WARNING: Applying kludge for HPUX. (see base_server/privs.pike)'    DEFINES="$DEFINES -DHPUX_KLUDGE"   fi      pike=pike   if [ -x bin/pike ] ; then pike=bin/pike; fi   if [ -x bin/roxen ] ; then pike=bin/roxen; fi