Statistics
| Branch: | Revision:

root / configure.user @ 6b81f4fa

History | View | Annotate | Download (7.83 KB)

1
# configure.user
2
#
3
# This file contains additional input for 'configure'. It is read (sourced)
4
# during the configuration process. You are free to edit the settings in here.
5
#
6
# The settings in this file are all optional in the sense that they all
7
# have reasonable default values in the configure script.
8
#
9

    
10
#############################################################################
11
#
12
# Horizon specific configuration flags
13
#
14
#############################################################################
15

    
16
#
17
# Enable or disable the use of barrier messages.
18
#    yes -> no NOT use barrier messages
19
#    no  -> use barrier messages
20
#
21
NOBARRIER=yes
22
#
23
# In combination with NOBARRIER: Define the cache line size used for aligning
24
# synchronization data structures to cache line borders.
25
#  0: Disable alignment.
26
# Check /sys/devices/system/cpu/cpu0/cache/index*/coherency_line_size to determine
27
# the cache line size of your system. Typically, this value is 64 or 128.
28
#
29
#WITH_CACHE_LINE_SIZE=0
30
WITH_CACHE_LINE_SIZE=`cat /sys/devices/system/cpu/cpu0/cache/index0/coherency_line_size`
31

    
32
#
33
# Enable or disable ownership management. Do NOT use ownership management
34
# in conjunction with parallel execution.
35
#
36
ENABLE_OWNERSHIP=no
37

    
38
#
39
# Substitute all atomic ops with pthread-locked operations. For debugging and
40
# profiling purposes only. 
41
#
42
ATOMIC_OPS_DEBUG=no
43

    
44
#
45
# Completely disable the use of atomic operations if the ATOMIC_OPS_DEBUG
46
# flag is set. Do NOT use if threading is activated.  
47
#
48
ATOMIC_OPS_DEBUG_PLAIN=no
49

    
50

    
51
#############################################################################
52
#
53
# OMNeT++ configuration flags
54
#
55
#############################################################################
56

    
57
#
58
# Edit here if you want to use a different compiler from the one autodetected
59
# by configure.
60
#
61
#CC=gcc
62
#CXX=g++
63

    
64
#
65
# Compiler optimization switches. There are two sets of switches,
66
# and the MODE variable ("debug" or "release") decides which one gets used.
67
# (Note: For maximum debugging info use switch -ggdb or -gstabs+3 when using gcc and gdb)
68
# With gcc, do NOT use --omit-frame-pointer (it crashes when coroutines and
69
# C++ exceptions (throw/catch) are used together)!
70
#
71
#CFLAGS_DEBUG='-g -Wall'
72
#CFLAGS_RELEASE='-O2 -DNDEBUG=1'
73

    
74
#
75
# Linker switches used for linking.
76
# For example use the -m64 switch to build 64 bit binaies on a 32bit operating system
77
# (only if the 64bit libraries are installed of course). You should add the -m64 flag
78
# to the CFLAGS_... variables too !!!
79
# NOTE: that not all 64 bit libraries may be present on your system (i.e. Tcl/Tk and other
80
# libraries may be missing. Use the NO_TCL=yes if you want to skip the Tcl/Tk based parts)
81
#
82
#LDFLAGS=""
83

    
84
#
85
# It is possible to have the Tcl files embedded into the compiled OMNeT++
86
# libraries and executables. This can be useful if you want to ship
87
# self-contained standalone executables which do not rely on external
88
# Tcl scripts. This option is available for Tkenv.
89
#
90
EMBED_TCL_CODE=yes
91

    
92
#
93
# Set to "yes" to enable simulation executables to load NED files dynamically.
94
#
95
WITH_NETBUILDER=yes
96

    
97
#
98
# Set to "yes" to enable the parallel distributed simulation feature.
99
#
100
WITH_PARSIM=yes
101

    
102
#
103
# Set to no if you want to create static OMNeT++ libraries. Can be overriden
104
# with "make SHARED_LIBS=no" but then simulation models also need to be built
105
# with "make SHARED_LIBS=no"
106
#
107
SHARED_LIBS=yes
108

    
109
#
110
# Compiler and linker options for Tcl/Tk
111
#
112
# You can explicitly tell 'configure' which compile switches (TK_CFLAGS)
113
# and linker switches (TK_LIBS) are needed to build an application with Tcl/Tk.
114
# Normally these settings are autodetected by 'configure', so you only need to
115
# edit here if autodetection doesn't work.
116
#
117
# With gcc, settings typically look like this:
118
#
119
# exaple:TK_CFLAGS="-I/usr/local/include"
120
# example:TK_LIBS="-L/usr/local/lib -ltk8.4 -ltcl8.4"
121
#
122
# /usr/local/include should be replaced with the directory where tcl.h and tk.h
123
# live. If they are in two different directories, use two -I switches.
124
#
125
# /usr/local/lib should be replaced with the directory that contains the Tcl/Tk
126
# library files (something like libtcl84.so, libtk8.4.a etc; search for libtcl*
127
# and libtk* to find them.) The -l options contain the library names: the
128
# library file names, with the leading 'lib' and trailing '.so*' or '.a*' cut
129
# off. Sometimes you need to explicitly link with the X11 libraries too, in that
130
# case add -lX11 to TK_LIBS.
131
#
132
# With MinGW I use the following:
133
# Note that we are using the "bin" directory as the LIB dir.
134
# i.e. directly linking to the DLLs instead of the importlibs in the "lib" directory.
135
#
136
#TK_CFLAGS="-I/c/Tools/Tcl-8.4.11/include"
137
#TK_LIBS="-L/c/Tools/Tcl-8.4.11/bin -ltk84 -ltcl84"
138
# or:
139
#TK_CFLAGS="-I$MSYS/include/tcl8.4"
140
#TK_LIBS="-L$MSYS/bin -ltk84 -ltcl84"
141

    
142
#
143
# With Cygwin, you can try:
144
# examle:TK_CFLAGS=
145
# examle:TK_LIBS="-ltk84 -ltcl84"
146
#
147
# If commented out, the configure script will try to autodetect it
148
#
149
# If you don't have Tcl/Tk installed, adding
150
#  NO_TCL=true
151
# below lets you build just the non-GUI components.
152

    
153
#
154
# BLT is a Tcl/Tk extension needed by the Tkenv component of OMNeT++.
155
# BLT 2.4z is required. BLT_LIBS should contain the -l flag for BLT.
156
# Default setting is:
157
#  BLT_LIBS="-lBLT24"
158
#
159
#
160
#BLT_LIBS=
161

    
162
#
163
# ZLib is a compression library needed by libxml2 and Tkenv's png support.
164
#
165
# On MinGW we use the following (dynamically linking against the DLL)
166
#
167
#ZLIB_CFLAGS="-I/c/Tools/zlib-1.2.3/include"
168
#ZLIB_LIBS="-L/c/Tools/zlib-1.2.3/bin -lzlib1"
169
# or:
170
#ZLIB_CFLAGS="-I$MSYS/include"
171
#ZLIB_LIBS="-L$MSYS/lib -lz"
172

    
173
#
174
# Compiler flags used to compile JNI code.
175
# -fno-strict-aliasing is needed for gcc when using -O2 otherwise Java
176
# native calls don't work
177
#
178
#JAVA_CFLAGS=-fno-strict-aliasing
179

    
180
#
181
# Compiler and linker options for MPI (optional component).
182
# On LAM/MPI, typing `mpic++ -showme' can give you a hint about MPI_LIBS.
183
#
184
# If commented out, the configure script will try to autodetect it
185
#
186
#MPI_CFLAGS="-I /usr/include"
187
#MPI_LIBS="-pthread -llammpio -llammpi++ -llamf77mpi -lmpi -llam -laio -laio -lutil"
188
#MPI_LIBS="-lmpi++ -lmpi"   #SGI
189

    
190
#
191
# Compiler and linker options for Expat (optional component)
192
#
193
# With MinGW I use the following:
194
#   EXPAT_CFLAGS="-I/d/home/tools/expat-1.95.2/Source/lib"
195
#   EXPAT_LIBS="-L/d/home/tools/expat-1.95.2/libs -lexpat"
196
# If commented out, the configure script will try to autodetect it
197
#
198
#EXPAT_CFLAGS=
199
#EXPAT_LIBS=
200

    
201
#
202
# Compiler and linker options for LIBXML (optional component)
203
#
204
# With MinGW I use the following:
205
#  LIBXML_CFLAGS="-I/c/Tools/libxml2-2.6.20.win32/include -I/c/Tools/iconv-1.9.1.win32/include"
206
#  LIBXML_LIBS="-L/c/Tools/libxml2-2.6.20.win32/bin -lxml2 -L/c/Tools/iconv-1.9.1.win32/lib -liconv"
207
# or:
208
#  LIBXML_CFLAGS="-I$MSYS/include"
209
#  LIBXML_LIBS="-L$MSYS/bin -lxml2 -L$MSYS/bin -liconv"
210
# If commented out, the configure script will try to autodetect it
211
#
212

    
213
#
214
# Compiler and linker options for Akaroa (optional component)
215
#
216
# With MinGW I use the following:
217
#  AKAROA_CFLAGS="-I/d/home/tools/akaroa-2.7.4/include"
218
#  AKAROA_LIBS="-L/d/home/tools/akaroa-2.7.4/lib -lakaroa"
219
# If commented out, the configure script will try to autodetect it
220
#
221
#AKAROA_CFLAGS=
222
#AKAROA_LIBS=
223

    
224
#
225
# The following OMNETPP_* variables don't need to be touched unless
226
# you want to relocate parts of the package (e.g. put libraries to
227
# /usr/lib, include files to /usr/include/omnetpp, and so on).
228
#
229
#OMNETPP_SRC_DIR="$OMNETPP_ROOT/src"
230
#OMNETPP_SAMPLES_DIR="$OMNETPP_ROOT/samples"
231
#OMNETPP_BIN_DIR="$OMNETPP_ROOT/bin"
232
#OMNETPP_INCL_DIR="$OMNETPP_ROOT/include"
233
#OMNETPP_LIB_DIR="$OMNETPP_ROOT/lib"
234

    
235
#
236
# Some more OMNeT++ variables. They select the programs opp_makemake-generated
237
# makefiles will use. (They get default values if commented out.)
238
#
239
#MSGC="$OMNETPP_BIN_DIR/opp_msgc"
240

    
241
#
242
#
243
# Override the following setting if you have additional icons somewhere else.
244
#
245
# OMNETPP_IMAGE_PATH="./images;./bitmaps;$OMNETPP_ROOT/images"
246

    
247
#
248
# On MinGW we use the following
249
#JDK=/c/Tools/jdk1.6.0
250
#SWIG=/c/Tools/swigwin-1.3.31/swig