configure.ac 13 KB
Newer Older
1
### Configuration
Stephan Herhut's avatar
Stephan Herhut committed
2

3
4
5
dnl Old versions of Autoconf appear to fail
AC_PREREQ([2.63])

Stephan Herhut's avatar
Stephan Herhut committed
6
7
dnl tell configure who we are
dnl parameters: package name, version, where to send bugreports
Artem Shinkarov's avatar
Artem Shinkarov committed
8
AC_INIT(sac2c, git, info@sac-home.org)
Stephan Herhut's avatar
Stephan Herhut committed
9
10

dnl set source directory and scripting directory
11
12
AC_CONFIG_SRCDIR([setup])
AC_CONFIG_AUX_DIR([setup/config])
Stephan Herhut's avatar
Stephan Herhut committed
13

14
dnl where to find the SAC standard library sources
15
CHECK_STDLIB([modules/structures/ArrayBasics.xsac])
16

Stephan Herhut's avatar
Stephan Herhut committed
17
18
19
20
dnl we use C as our compiler language
AC_LANG(C)

dnl and which files to create
21
AC_CONFIG_FILES([src/makefiles/config.mkf setup/sac2crc.pre setup/sac2crc.local src/tools/saccc])
22
AC_CONFIG_HEADER([src/include/config.h])
Stephan Herhut's avatar
Stephan Herhut committed
23
24

dnl check for host type
25
26
27
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
Stephan Herhut's avatar
Stephan Herhut committed
28

29
30
31
32
33
34
35
36
dnl if cygwin set IS_CYGWIN
is_cygwin=0
case "$target_os" in
  *cygwin*) is_cygwin=1 ;;
esac
AC_DEFINE_UNQUOTED([IS_CYGWIN], [$is_cygwin],
                   [Set to 1 if target is Cygwin, otherwise 0.])

Stephan Herhut's avatar
Stephan Herhut committed
37
dnl set OS and ARCH flags
38
39
AC_DEFINE_UNQUOTED([OS], ["$target_os"], [OS string])
AC_DEFINE_UNQUOTED([ARCH], ["$target_cpu"], [CPU architecture string])
Stephan Herhut's avatar
Stephan Herhut committed
40

41
dnl Enable sac2c compilation with C++
42
43
44
45
46
AC_ARG_ENABLE([cplusplus],
              [AS_HELP_STRING([[--enable-cplusplus]],
                               [Use the C++ compiler to compile files produced by sac2c])],
              [enable_cplusplus=$enableval],
              [enable_cplusplus=no])
47

48
49
dnl Check if C compiler and preprocessor are available
dnl we force CFLAGS to be empty, so that it does not default to -g -O2
50
CFLAGS=" "
Raphael 'kena' Poss's avatar
Raphael 'kena' Poss committed
51
AC_PROG_CC_C99
52
AC_PROG_CPP
53

54
dnl Enable system extensions when they are disabled by default
55
56
AC_USE_SYSTEM_EXTENSIONS

57
dnl Find out if we are using GCC/SunC/DECC/"Mac C"
58
CHECK_COMPILER_VENDOR
59

60
dnl Try to enable link time optimizations (LTO)
61
62
CHECK_LTO

63
dnl Check if C compiler supports SIMD syntax
64
CHECK_SIMD_SYNTAX
65

66
67
68
69
70
71
72
73
74
75
76
77
78
dnl Prints the value of a makefile variable.
getmakevar() {
    makefile="$1"
    var="$2"

    make getmakevar -f -  <<EOI
include $makefile

getmakevar:
	@echo \$($var)
EOI
}

79
dnl Check for SAC back-ends (CHECK_LPEL must appear after CHECK_MT)
80
81
CHECK_MT
CHECK_LPEL
82
CHECK_CUDA
83
CHECK_SL
84
CHECK_OMP
85
dnl enable private heap manager?
86
CHECK_PHM
87
CHECK_DISTMEM
88

89
90
91
dnl check for ranlib
AC_PROG_RANLIB

92
93
94
95
96
97
98
dnl check for some standard tools
AC_PROG_LN_S
AC_PROG_SED
AC_PROG_FGREP
AC_PROG_INSTALL
AC_PROG_MKDIR_P

99
dnl find a code beautifier.
100
CHECK_CODE_BEAUTIFIER
101

102
dnl search/check various utilities
103
104
105
106
CHECK_REQUIRED_TOOL([SORT], [sort])
CHECK_REQUIRED_TOOL([UNIQ], [uniq])
CHECK_REQUIRED_TOOL([M4], [gm4 m4])
CHECK_REQUIRED_TOOL([XSLT], [xsltproc sabcmd])
107
CHECK_REQUIRED_TOOL([BASH], [bash])
108

109
dnl search for dot
110
CHECK_GRAPHVIZ
111

112
dnl check for various environment features
113
114
115
116
117
118
CHECK_PTR_PREFIX
CHECK_CONST_STDERR
AC_CHECK_HEADERS([malloc.h])
AC_CHECK_FUNCS([mkdtemp])
AC_SEARCH_LIBS([sqrt], [m])
AC_CHECK_FUNCS([strtok strrchr])
119
CHECK_HR_CLOCK
Stephan Herhut's avatar
Stephan Herhut committed
120

121
dnl check support for dynamic libraries
122
123
AC_CHECK_HEADER([dlfcn.h], [], [AC_MSG_ERROR([dlfcn.h is required.])])
AC_SEARCH_LIBS([dlopen], [dl])
124
CHECK_DLL_EXT
125

126
127
128
129
130
131
132
133
134
135
136
enable_uuid=no
AC_SEARCH_LIBS([uuid_generate], [uuid], [enable_uuid=yes], [enable_uuid=no])
AC_CHECK_HEADER([uuid/uuid.h], [enable_uuid=yes], [enable_uuid=no])
have_uuid=`if test $enable_uuid = yes; then echo 1; else echo 0; fi`
AC_DEFINE_UNQUOTED([ENABLE_UUID], [$have_uuid],
                   [Define to 1 if libuuid is available, otherwise 0.])
AC_SUBST([ENABLE_UUID], [$enable_uuid])

enable_crypt=no
AC_SEARCH_LIBS([crypt], [crypt], [enable_crypt=yes], [enable_crypt=no])
AC_CHECK_HEADER([crypt.h], [enable_crypt=yes], [enable_crypt=no])
137
138
139
140
have_crypt=`if test $enable_crypt = yes; then echo 1; else echo 0; fi`
AC_DEFINE_UNQUOTED([ENABLE_HASH], [$have_crypt],
                   [Define to 1 if libcrypt is available, otherwise 0.])
AC_SUBST([ENABLE_HASH], [$enable_crypt])
141

142
dnl set rtspec flag
143
enable_rtspec=no
144
145
146
147
if test x"$ac_cv_search_dlopen" != xno -a x"$enable_mt" = xyes ; then
  if test x"$enable_uuid" != xno -o x"$enable_crypt" != xno ; then
    enable_rtspec=yes
  fi
148
fi
149

150
AC_CHECK_LIB(polylib64,DomainIntersection)
151
152
AC_SUBST(POLYLIBINCLUDE,["$POLYLIBINCLUDE -I/usr/include/polylib -I/usr/local/include/polylib "])

153
dnl canonicalize dlopen_libs
154
case $ac_cv_search_dlopen in
Artem Shinkarov's avatar
Artem Shinkarov committed
155
  no | none*) dlopen_libs= ;;
156
157
  * ) dlopen_libs=$ac_cv_search_dlopen ;;
esac
158
159
160
161
have_rtspec=`if test $enable_rtspec = yes; then echo 1; else echo 0; fi`
AC_DEFINE_UNQUOTED([ENABLE_RTSPEC], [$have_rtspec],
                   [Define to 1 if runtime specialization is enabled, otherwise 0.])
AC_SUBST([ENABLE_RTSPEC], [$enable_rtspec])
162

163
dnl Check which GCC warning options are available and
164
dnl add them later to MKCCFLAGS and PDCCFLAGS
165
166
167
168
169
170
171
172
173
gcc_options=
if test "$GCC" = yes ; then
  CHECK_CC_OPTION([-Wall], [gcc_options])
  CHECK_CC_OPTION([-Wextra], [gcc_options])
  CHECK_CC_OPTION([-Wstrict-prototypes], [gcc_options])
  CHECK_CC_OPTION([-Wno-unused-parameter], [gcc_options])
  CHECK_CC_OPTION([-Wno-unused-but-set-variable], [gcc_options])
fi

174
175
176
177
178
179
gcc_native=
if test "$GCC" = yes ; then
  CHECK_CC_OPTION([-march=native], [gcc_native])
  CHECK_CC_OPTION([-mtune=native], [gcc_native])
fi

180
181
182
dnl
dnl test for compiler flags for sac2crc
dnl
183

Artem Shinkarov's avatar
Artem Shinkarov committed
184
dnl test for compiler flags for sac2crc
Stephan Herhut's avatar
Stephan Herhut committed
185
186
187
188
189
190
191
AC_MSG_CHECKING([sac2crc compiler flags])
if [ test "$GCC" = yes ]; then
  AC_SUBST(OPT_O0, [""])
  AC_SUBST(OPT_O1, [-O1])
  AC_SUBST(OPT_O2, [-O2])
  AC_SUBST(OPT_O3, [-O3])
  AC_SUBST(OPT_g, [-g])
192
  AC_SUBST(RCCCFLAGS, ["-Wall -Wno-unused -fno-builtin $flags_lto"])
193
194
  AC_SUBST(MKCCFLAGS, ["$gcc_options $gcc_native -pedantic -g $flags_lto"])
  AC_SUBST(PDCCFLAGS, ["$gcc_options $gcc_native -pedantic -g -O3 $flags_lto"])
195
196
197
198
  if [ test "$IS_CYGWIN" = yes ]; then
    AC_SUBST(GENPIC, ["-DPIC"])
  else
    AC_SUBST(GENPIC, ["-fPIC -DPIC"])
199
  fi
Stephan Herhut's avatar
Stephan Herhut committed
200
  AC_SUBST(DEPSFLAG, ["-M"])
201
202
  AC_SUBST(CPPFILE, ["$CPP -C -x c"])
  AC_SUBST(CPP, ["$CPP -P -x c"])
Stephan Herhut's avatar
Stephan Herhut committed
203
204
205
206
207
  AC_MSG_RESULT([gcc settings])
elif [ test "$SUNC" = yes ]; then
  AC_SUBST(OPT_O0, [""])
  AC_SUBST(OPT_O1, [-xO2])
  AC_SUBST(OPT_O2, [-xO4])
208
  AC_SUBST(OPT_O3, [-xO5])
Stephan Herhut's avatar
Stephan Herhut committed
209
  AC_SUBST(OPT_g, [-g])
210
211
212
  AC_SUBST(RCCCFLAGS, ["-dalign -fsimple -xsafe=mem"])
  AC_SUBST(MKCCFLAGS, ["-erroff=E_CAST_DOESNT_YIELD_LVALUE -g"])
  AC_SUBST(PDCCFLAGS, ["-erroff=E_CAST_DOESNT_YIELD_LVALUE -g -xO4 -KPIC"])
213
  AC_SUBST(GENPIC, ["-KPIC"])
Stephan Herhut's avatar
Stephan Herhut committed
214
  AC_SUBST(DEPSFLAG, ["-xM"])
215
216
  AC_SUBST(CPPFILE, ["$CPP -C -x c"])
  AC_SUBST(CPP, ["$CPP -P -x c"])
Stephan Herhut's avatar
Stephan Herhut committed
217
218
219
  AC_MSG_RESULT([Sun cc settings])
elif [ test "$DECC" = yes ]; then
  AC_SUBST(OPT_O0, [""])
Stephan Herhut's avatar
Stephan Herhut committed
220
221
  AC_SUBST(OPT_O1, [-O1])
  AC_SUBST(OPT_O2, [-O2])
222
  AC_SUBST(OPT_O3, [-O3])
Stephan Herhut's avatar
Stephan Herhut committed
223
224
225
226
  AC_SUBST(OPT_g, [-g])
  AC_SUBST(RCCCFLAGS, [""])
  AC_SUBST(MKCCFLAGS, ["-g"])
  AC_SUBST(PDCCFLAGS, ["-g3"])
227
  AC_SUBST(GENPIC, [""])
Stephan Herhut's avatar
Stephan Herhut committed
228
  AC_SUBST(DEPSFLAG, ["-M"])
229
230
  AC_SUBST(CPPFILE, ["$CPP -C -x c"])
  AC_SUBST(CPP, ["$CPP -P -x c"])
Stephan Herhut's avatar
Stephan Herhut committed
231
232
233
  AC_MSG_RESULT([Compaq/DEC cc settings])
elif [ test "$MACC" = yes ]; then
  AC_SUBST(OPT_O0, [""])
Stephan Herhut's avatar
Stephan Herhut committed
234
235
236
  AC_SUBST(OPT_O1, [-O1])
  AC_SUBST(OPT_O2, [-O2])
  AC_SUBST(OPT_O3, [-O3])
Stephan Herhut's avatar
Stephan Herhut committed
237
  AC_SUBST(OPT_g, [-g])
238
239
240
  AC_SUBST(RCCCFLAGS, ["-Wall -Wno-unused -fno-builtin"])
  AC_SUBST(MKCCFLAGS, ["-Wall -g"])
  AC_SUBST(PDCCFLAGS, [""])
241
  AC_SUBST(GENPIC, [""])
Stephan Herhut's avatar
Stephan Herhut committed
242
  AC_SUBST(DEPSFLAG, ["-M"])
243
244
  AC_SUBST(CPPFILE, ["$CPP -C -x c"])
  AC_SUBST(CPP, ["$CPP -P -x c"])
Stephan Herhut's avatar
Stephan Herhut committed
245
246
247
248
249
250
251
252
  AC_MSG_RESULT([Apple cc settings])
else
  AC_SUBST(OPT_O0, [""])
  AC_SUBST(OPT_O1, [""])
  AC_SUBST(OPT_O2, [""])
  AC_SUBST(OPT_O3, [""])
  AC_SUBST(OPT_g, [""])
  AC_SUBST(RCCCFLAGS, [""])
Stephan Herhut's avatar
Stephan Herhut committed
253
254
  AC_SUBST(MKCCFLAGS, [""])
  AC_SUBST(PDCCFLAGS, [""])
255
  AC_SUBST(GENPIC, [""])
Stephan Herhut's avatar
Stephan Herhut committed
256
  AC_SUBST(DEPSFLAG, ["-M"])
257
258
  AC_SUBST(CPPFILE, ["$CPP -C"])
  AC_SUBST(CPP, ["$CPP -P"])
Stephan Herhut's avatar
Stephan Herhut committed
259
  AC_MSG_RESULT([none found])
260
fi
261
262
AC_SUBST(CCMT_PTH_LINK, ["$PTHREAD_LIBS"])
AC_SUBST(CCMT_PTH_CFLAGS, ["$PTHREAD_CFLAGS"])
263
AC_SUBST(CCDLLINK, ["$dlopen_libs $flags_lto"])
Stephan Herhut's avatar
Stephan Herhut committed
264

265
dnl This is a special case for building sac2c with c++ compiler.
266
267
268
269
270
271
272
if [[ "$GXX" = yes -a "$enable_cplusplus" = yes ]]; then
  AC_SUBST(SAC2C_CC, ["g++"])
  AC_SUBST(OPT_O0, [""])
  AC_SUBST(OPT_O1, [-O1])
  AC_SUBST(OPT_O2, [-O2])
  AC_SUBST(OPT_O3, [-O3])
  AC_SUBST(OPT_g, [-g])
273
274
  AC_SUBST(RCCCFLAGS, ["-Wall -Wno-unused -fno-builtin"])
  AC_SUBST(SAC2C_MKCCFLAGS, ["-Wno-write-strings -g"])
275
  AC_SUBST(SAC2C_PDCCFLAGS, ["-Wno-write-strings -g -O3"])
276
277
  AC_SUBST(GENPIC, ["-fPIC -DPIC"])
  AC_SUBST(DEPSFLAG, ["-M"])
278
279
  AC_SUBST(CPPFILE, ["$CPP -C -x c"])
  AC_SUBST(CPP, ["$CPP -P -x c"])
280
281
282
283
284
285
  AC_MSG_RESULT([gcc settings])
else
  AC_SUBST(SAC2C_CC, ["$CC"])
  AC_SUBST(SAC2C_MKCCFLAGS, ["$MKCCFLAGS"])
  AC_SUBST(SAC2C_PDCCFLAGS, ["$PDCCFLAGS"])
fi
286

287
dnl
288
dnl append platform specific files to sac2crc
289
dnl
290

291
292
293
294
295
AC_SUBST_FILE([RCMUTC])
AC_SUBST_FILE([RCCUDA])
AC_SUBST_FILE([RCCC])
AC_SUBST_FILE([RCMALLOC])
AC_SUBST_FILE([RCRCM])
296
297
298
299
AC_SUBST_FILE([RCSUN])
AC_SUBST_FILE([RCX86])
AC_SUBST_FILE([RCALPHA])
AC_SUBST_FILE([RCMAC])
300
301
302
303
304
RCMUTC=setup/sac2crc.backend.mutc
RCCUDA=setup/sac2crc.backend.cuda
RCCC=setup/sac2crc.modifiers.cc
RCMALLOC=setup/sac2crc.modifiers.malloc
RCRCM=setup/sac2crc.modifiers.rcm
305
306
307
308
RCSUN=setup/sac2crc.SUN
RCX86=setup/sac2crc.X86
RCALPHA=setup/sac2crc.ALPHA
RCMAC=setup/sac2crc.MAC
Stephan Herhut's avatar
Stephan Herhut committed
309

310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
dnl
dnl Append GASNet conduit targets file to sac2crc.
dnl
AC_SUBST_FILE([GASNET_CONDUIT_TARGETS])
GASNET_CONDUIT_TARGETS=./sac2crc.GASNetconduits

dnl
dnl Append GASNet conduit settings file to config.mkf.
dnl
AC_SUBST_FILE([GASNET_CONDUIT_SETTINGS])
GASNET_CONDUIT_SETTINGS=./config.GASNetconduits

dnl
dnl Append rules for building libsacdistmem GASNet object files to build.mkf
dnl
AC_SUBST_FILE([GASNET_CONDUIT_BUILD_OBJECT_FILES])
GASNET_CONDUIT_BUILD_OBJECT_FILES=./build.GASNetconduits
327

Thomas Macht's avatar
Thomas Macht committed
328
329
330
331
332
dnl
dnl Append rules for building libsacdistmem GASNet cross variant object files to build.mkf
dnl
AC_SUBST_FILE([GASNET_CONDUIT_BUILD_OBJECT_FILES_CROSS_VARIANT])
GASNET_CONDUIT_BUILD_OBJECT_FILES_CROSS_VARIANT=./build.GASNetconduitsCrossVariant
333

Artem Shinkarov's avatar
Artem Shinkarov committed
334
# generate specific flags for known os
335
AC_MSG_CHECKING([sac2crc system flags])
336

Stephan Herhut's avatar
Stephan Herhut committed
337
338
OSFLAGS=""
case "$target_os" in
339
  solaris*)
340
    OSFLAGS=["-D__EXTENSIONS__ -D_XPG6 -DMUST_INIT_YY -DPIC"]
341
    LD_DYNAMIC=["-G -dy"]
342
    LD_PATH=["-L%path% -R%path%"]
Stephan Herhut's avatar
Stephan Herhut committed
343
    LD_FLAGS="-Wl,-z,nodefs,-z,lazyload"
344
    AC_MSG_RESULT([solaris settings])
345
    ;;
346
  *linux*)
347
    OSFLAGS=["-fPIC -DPIC -D_POSIX_SOURCE -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE"]
348
    LD_DYNAMIC=["-shared -Wl,-allow-shlib-undefined -O3 $flags_lto"]
349
    LD_PATH=["-L%path% -Wl,-rpath,%path%"]
350
    LD_FLAGS="-Wl,-allow-shlib-undefined $flags_lto"
351
    AC_MSG_RESULT([linux settings])
352
    ;;
353
  *cygwin* | *mingw*)
Artem Shinkarov's avatar
Artem Shinkarov committed
354
    OSFLAGS=["-D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE"]
355
356
357
358
359
    LD_DYNAMIC=["-dy -shared"]
    LD_PATH=["-L%path% -Wl,-rpath,%path%"]
    LD_FLAGS=""
    AC_MSG_RESULT([cygwin settings])
    ;;
360
  *osf*)
361
    OSFLAGS=["-D_OSF_SOURCE"]
362
    LD_DYNAMIC=[""]
363
    LD_PATH=["-L%path%"]
Stephan Herhut's avatar
Stephan Herhut committed
364
    LD_FLAGS=""
365
    AC_MSG_RESULT([OSF settings])
366
    ;;
367
  *darwin*)
368
369
    dnl darwin needs some extra flags
    RANLIB="$RANLIB -c"
Artem Shinkarov's avatar
Artem Shinkarov committed
370
    OSFLAGS=["-D_DARWIN_C_SOURCE"]
371
    LD_DYNAMIC=["-undefined suppress -flat_namespace -dynamiclib -install_name '@rpath/%libname%.dylib' "]
Artem Shinkarov's avatar
Artem Shinkarov committed
372
373
374
375
    LD_PATH=["-L%path% -Wl,-rpath,%path%"]
    LD_FLAGS=""
    AC_MSG_RESULT([darwin settings])
    ;;
Stephan Herhut's avatar
Stephan Herhut committed
376
  *bsd*)
377
378
379
380
    OSFLAGS=["-fPIC -DPIC"]
    LD_DYNAMIC=["-shared -symbolic -Wl,-allow-shlib-undefined $flags_lto"]
    LD_PATH=["-L%path% -Wl,-rpath,%path%"]
    LD_FLAGS=["$flags_lto"]
Stephan Herhut's avatar
Stephan Herhut committed
381
382
    AC_MSG_RESULT([BSD settings])
    ;;
383
  *)
384
    OSFLAGS=["-fPIC -DPIC -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE"]
385
386
387
    LD_DYNAMIC=["-dy -shared -Wl,-allow-shlib-undefined"]
    LD_PATH=["-L%path% -Wl,-rpath,%path%"]
    LD_FLAGS="-Wl,-allow-shlib-undefined"
388
    AC_MSG_RESULT([unknown])
389
    ;;
Stephan Herhut's avatar
Stephan Herhut committed
390
esac
391

392
393
394
395
396
397
398
399
400
AC_SUBST([OS], [$target_os])
AC_SUBST([OSFLAGS])
AC_SUBST([CFLAGS])
AC_SUBST([CPPFLAGS])
AC_SUBST([LDFLAGS])
AC_SUBST([LD_DYNAMIC])
AC_SUBST([LD_PATH])
AC_SUBST([LD_FLAGS])

401
dnl
402
403
dnl static sac2c settings for config.h
dnl
Artem Shinkarov's avatar
Artem Shinkarov committed
404

405
406
AC_DEFINE([PF_MAXFUN], [100], [set to maximum number of sac functions for profiling])
AC_DEFINE([PF_MAXFUNAP], [100],
407
           [set to maximum number of sac function applications for profiling])
408
AC_DEFINE([PF_MAXFUNNAMELEN], [100],
409
410
           [set to maximum length of sac function names for profiling])

411
AC_DEFINE([SAC_PRELUDE_NAME], ["sacprelude"], [Name of the sac prelude module.])
412
AC_DEFINE( UNUSED, __attribute__((unused)), define macro for unused variables)
Stephan Herhut's avatar
Stephan Herhut committed
413

414

415
416
417
418
419
420
421
422
423
424



if test x"$enable_distmem_gasnet" = xyes; then
  gasnet_conduit_names_print=" (conduits: $gasnet_conduit_names)"
else
  gasnet_conduit_names_print=""
fi

if test x"$enable_distmem" = xyes; then
425
  distmem_details_print=" (experimental)
426
427
428
429
430
431
432
433
*   - GASNet:              $enable_distmem_gasnet$gasnet_conduit_names_print
*   - GPI:                 $enable_distmem_gpi
*   - MPI:                 $enable_distmem_mpi
*   - ARMCI:               $enable_distmem_armci"
else
  distmem_details_print=""
fi

434
AC_OUTPUT
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449

cat <<EOF
* Configuration done.
*
* Detected OS string:      $target_os
* Detected CPU string:     $target_cpu
*
* Run-time specialization: $enable_rtspec
* Private heap manager:    $enable_phm
* Back-ends:
* - MT/pthread:            $enable_mt
* - MT/LPEL:               $enable_mt_lpel
* - CUDA:                  $enable_cuda
* - OpenMP:                $enable_omp
* - SL:                    $enable_sl
450
* - Distributed memory:    $enable_distmem$distmem_details_print
451
452
453
* - CC:                    $CC
* - SaC compiler CFLAGS:   $MKCCFLAGS
* - SaC programs CFLAGS:   $RCCCFLAGS
454
455
*
EOF