blob: 52082e6d024f337917738c68d15f977b8827a3df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#! /bin/sh
# /*@@
# @file setup.sh
# @date Wed Oct 25 16:32:39 2000
# @author Tom Goodale
# @desc
# Setup for compilation with pthreads
# @enddesc
# @@*/
if test -n "$PTHREADS" ; then
echo "Configuring with PTHREADS."
# Write the data out to the header and make files.
CCTK_WriteLine cctk_Extradefs.h "#define PTHREADS"
CCTK_WriteLine make.extra.defn "PTHREADS_LIBS = pthread"
CCTK_WriteLine make.extra.defn ""
CCTK_WriteLine make.extra.defn ""
CCTK_WriteLine make.extra.defn 'LIBS += $(PTHREADS_LIBS)'
fi
|