Roxen.git/
server/
start
Branch:
Tag:
Non-build tags
All tags
No tags
2002-04-02
2002-04-02 14:35:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>
e6e4f9bdf33ed80bba30f96ec0515bc921622fc3 (
10
lines) (+
9
/-
1
)
[
Show
|
Annotate
]
Branch:
5.2
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