Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:132:   find_pike      # Source environment   setup_environment      ####### BEGIN ARGUMENT PARSING         DEFINES="$DEFINES -DRAM_CACHE -DNEW_RAM_CACHE -DHTTP_COMPRESSION"    -  - # 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 -  vers="`uname -r|sed -e 's/5.\([0-9]*\)/\1/p' -ed`" -  if [ "$vers" -ge "5" ]; then - # if [ $verbose -gt 0 ] ; then - # dp "Solaris 2.5 or later detected. Using threads by default." - # fi -  DEFINES="$DEFINES -DENABLE_THREADS" -  fi - fi - # Darwin uses threads. - if uname | grep 'Darwin' >/dev/null 2>&1; then -  DEFINES="$DEFINES -DENABLE_THREADS" - fi - # Also enabled on Linux. - if uname | grep 'Linux' >/dev/null 2>&1; then -  DEFINES="$DEFINES -DENABLE_THREADS" - fi -  +    gdb=no   valgrind=   truss=      remove_dumped_passed=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.   
Roxen.git/server/start:301:    '--without-ram-cache-stat'|'--disable-ram-cache-stat')    DEFINES="`-DRAM_CACHE_ASUME_STATIC_CONTENT`"    ;;    '--dump-debug'|'--with-dump-debug'|'--enable-dump-debug')    DEFINES="-DDUMP_DEBUG $DEFINES"    ;;    '--threads'|'--with-threads'|'--enable-threads')    DEFINES="-DENABLE_THREADS $DEFINES"    ;;    '--no-threads'|'--without-threads'|'--disable-threads') -  DEFINES="`echo $DEFINES | sed -e 's/-DENABLE_THREADS//g'`" +  echo "Thread support not optional -- ignoring $1" >&2    ;;    '--with-profile'|'--profile')    DEFINES="-DPROFILE $DEFINES"    ;;    '--with-file-profile'|'--file-profile')    DEFINES="-DPROFILE -DFILE_PROFILE $DEFINES"    ;;    '--generations='*)    GENERATIONS=`echo $1 | sed -e 's/--generations=//'`    if test "$GENERATIONS" -gt 1; then :; else