Statistics
| Branch: | Revision:

root / configure.user @ aeae20a1

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
#
24
# In combination with NOBARRIER: Define the cache line size used for aligning
25
# synchronization data structures to cache line borders.
26
#  0: Disable alignment.
27
# Check /sys/devices/system/cpu/cpu0/cache/index*/coherency_line_size to determine
28
# the cache line size of your system. Typically, this value is 64 or 128.
29
#
30
#WITH_CACHE_LINE_SIZE=0
31
WITH_CACHE_LINE_SIZE=`cat /sys/devices/system/cpu/cpu0/cache/index0/coherency_line_size`
32

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

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

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

    
51

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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