Roxen.git/
server/
start
Branch:
Tag:
Non-build tags
All tags
No tags
1997-10-11
1997-10-11 19:50:44 by Henrik Grubbström (Grubba) <grubba@grubba.org>
1bc3d8c7d5f0d2aede792c9f1e30559b85b1078b (
12
lines) (+
11
/-
1
)
[
Show
|
Annotate
]
Branch:
5.2
Now only enables threads on Solaris.
Rev: server/start:1.22
1:
#!/bin/sh #
-
# $Id: start,v 1.
21
1997/
09
/
07
16
:
37
:
59
grubba Exp $
+
# $Id: start,v 1.
22
1997/
10
/
11
19
:
50
:
44
grubba Exp $
VERSION=201; BETA=.a;
45:
DEFINES="$DEFINES -DHPUX_KLUDGE" fi
+
# 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\.' >/dev/null 2>&1; then
+
echo 'Solaris detected. Enabling threads (if available).'
+
DEFINES="$DEFINES -DENABLE_THREADS"
+
fi
+
fi
+
pike=pike if [ -x bin/pike ] ; then pike=bin/pike; fi if [ -x bin/roxen ] ; then pike=bin/roxen; fi