Merge trunk version 204345 into gupc branch.
[official-gcc.git] / libgupc / config.h.in
blobe3687ab4eb7eac772b3a4eabfb3b9479fe791f8b
1 /* config.h.in. Generated from configure.ac by autoheader. */
3 /* Copyright (C) 2008-2013 Free Software Foundation, Inc.
4 This file is part of the UPC runtime Library.
5 Written by Gary Funck <gary@intrepid.com>
6 and Nenad Vukicevic <nenad@intrepid.com>
8 This library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License as
10 published by the Free Software Foundation; either version 2, or (at
11 your option) any later version.
13 This library is distributed in the hope that it will be useful, but
14 WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this library; see the file COPYING. If not, write to
20 the Free Software Foundation, 59 Temple Place - Suite 330, Boston,
21 MA 02111-1307, USA.
23 As a special exception, if you link this library with files
24 compiled with a GNU compiler to produce an executable, this does
25 not cause the resulting executable to be covered by the GNU General
26 Public License. This exception does not however invalidate any
27 other reasons why the executable file might be covered by the GNU
28 General Public License. */
29 #ifndef __CONFIG_H__
30 #define __CONFIG_H__ 1
33 //begin gupcr_config_h
35 /* Define path to preferred addr2line for backtrace */
36 #undef GUPCR_BACKTRACE_ADDR2LINE
38 /* Define path to preferred GDB for backtrace */
39 #undef GUPCR_BACKTRACE_GDB
41 /* Define to preferred signal for UPC backtrace. */
42 #undef GUPCR_BACKTRACE_SIGNAL
44 /* Size of get/put bounce buffer */
45 #undef GUPCR_BOUNCE_BUFFER_SIZE
47 /* upc_global_exit() timeout in seconds. */
48 #undef GUPCR_GLOBAL_EXIT_TIMEOUT
50 /* Define to 1 if UPC runtime checks are supported. */
51 #undef GUPCR_HAVE_CHECKS
53 /* Define to 1 if UPC runtime debugging mode is enabled. */
54 #undef GUPCR_HAVE_DEBUG
56 /* Define if UPC GUM debug server is supported. */
57 #undef GUPCR_HAVE_GUM_DEBUG
59 /* Define to 1 if UPC runtime statistics collection is supported. */
60 #undef GUPCR_HAVE_STATS
62 /* Define to 1 if UPC runtime tracing is supported. */
63 #undef GUPCR_HAVE_TRACE
65 /* Use SLURM for UPC Portals4 job launcher */
66 #undef GUPCR_JOB_LAUNCHER_SLURM
68 /* Use YOD for UPC Portals4 job launcher */
69 #undef GUPCR_JOB_LAUNCHER_YOD
71 /* Maximum number of locks held per thread */
72 #undef GUPCR_MAX_LOCKS
74 /* Maximum number of outstanding remote puts */
75 #undef GUPCR_MAX_OUTSTANDING_PUTS
77 /* Target system memory page size. */
78 #undef GUPCR_MEMORY_PAGE_SIZE
80 /* Define to 1 if UPC runtime will use node local memory accesses. */
81 #undef GUPCR_NODE_LOCAL_MEM
83 /* Define to 1 if UPC node local access uses mmap-ed file. */
84 #undef GUPCR_NODE_LOCAL_MEM_MMAP
86 /* Define to 1 if UPC node local access uses Posix shared memory. */
87 #undef GUPCR_NODE_LOCAL_MEM_POSIX
89 /* Portals4 PTE base index. */
90 #undef GUPCR_PTE_BASE
92 /* The required alignment for the UPC struct shared pointer representation. */
93 #undef GUPCR_PTS_ALIGN
95 /* Whether UPC pointers-to-shared use the 'packed' representation */
96 #undef GUPCR_PTS_PACKED_REP
98 /* Size of shared pointer's phase field (in bits) */
99 #undef GUPCR_PTS_PHASE_SIZE
101 /* The data type of the 'phase' field in a UPC shared pointer */
102 #undef GUPCR_PTS_PHASE_TYPE
104 /* Whether UPC shared pointers use the 'struct' representation */
105 #undef GUPCR_PTS_STRUCT_REP
107 /* Size of shared pointer's thread field (in bits) */
108 #undef GUPCR_PTS_THREAD_SIZE
110 /* The data type of the 'thread' field in a UPC shared pointer */
111 #undef GUPCR_PTS_THREAD_TYPE
113 /* Whether the 'vaddr' field comes first (ie, [[vaddr,thread,phase]]) */
114 #undef GUPCR_PTS_VADDR_FIRST
116 /* Size of shared pointer's vaddr field (in bits) */
117 #undef GUPCR_PTS_VADDR_SIZE
119 /* The data type of the 'vaddr' field in a UPC shared pointer */
120 #undef GUPCR_PTS_VADDR_TYPE
122 /* Maximum number of children at each level of a collective operation tree. */
123 #undef GUPCR_TREE_FANOUT
125 /* Define to 1 if UPC runtime will use Portals4 triggered operations. */
126 #undef GUPCR_USE_PORTALS4_TRIGGERED_OPS
128 //end gupcr_config_h
130 /* Define to 1 if the target assembler supports .symver directive. */
131 #undef HAVE_AS_SYMVER_DIRECTIVE
133 /* Define to 1 if the target supports __attribute__((alias(...))). */
134 #undef HAVE_ATTRIBUTE_ALIAS
136 /* Define to 1 if the target supports __attribute__((dllexport)). */
137 #undef HAVE_ATTRIBUTE_DLLEXPORT
139 /* Define to 1 if the target supports __attribute__((visibility(...))). */
140 #undef HAVE_ATTRIBUTE_VISIBILITY
142 /* Define to 1 if you have the `backtrace' function. */
143 #undef HAVE_BACKTRACE
145 /* Define to 1 if you have the `backtrace_symbols' function. */
146 #undef HAVE_BACKTRACE_SYMBOLS
148 /* Define to 1 if you have the `backtrace_symbols_fd' function. */
149 #undef HAVE_BACKTRACE_SYMBOLS_FD
151 /* Define if the POSIX Semaphores do not work on your system. */
152 #undef HAVE_BROKEN_POSIX_SEMAPHORES
154 /* Define to 1 if the target assembler supports thread-local storage. */
155 #undef HAVE_CC_TLS
157 /* Define to 1 if you have the `clock_gettime' function. */
158 #undef HAVE_CLOCK_GETTIME
160 /* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
161 don't. */
162 #undef HAVE_DECL_SYS_SIGLIST
164 /* Define to 1 if you have the <dlfcn.h> header file. */
165 #undef HAVE_DLFCN_H
167 /* Define to 1 if you have the <execinfo.h> header file. */
168 #undef HAVE_EXECINFO_H
170 /* Define to 1 if you have the <fcntl.h> header file. */
171 #undef HAVE_FCNTL_H
173 /* Define to 1 if you have the `fork' function. */
174 #undef HAVE_FORK
176 /* Define to 1 if you have the `ftruncate' function. */
177 #undef HAVE_FTRUNCATE
179 /* Define to 1 if you have the `getcwd' function. */
180 #undef HAVE_GETCWD
182 /* Define to 1 if you have the `gethostbyname' function. */
183 #undef HAVE_GETHOSTBYNAME
185 /* Define to 1 if you have the `gethostname' function. */
186 #undef HAVE_GETHOSTNAME
188 /* Define to 1 if you have the `getloadavg' function. */
189 #undef HAVE_GETLOADAVG
191 /* Define to 1 if you have the `getpagesize' function. */
192 #undef HAVE_GETPAGESIZE
194 /* Define if the compiler has a thread header that is non single. */
195 #undef HAVE_GTHR_DEFAULT
197 /* Define to 1 if you have the <inttypes.h> header file. */
198 #undef HAVE_INTTYPES_H
200 /* Define to 1 if you have the <limits.h> header file. */
201 #undef HAVE_LIMITS_H
203 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
204 to 0 otherwise. */
205 #undef HAVE_MALLOC
207 /* Define to 1 if you have the <memory.h> header file. */
208 #undef HAVE_MEMORY_H
210 /* Define to 1 if you have the `memset' function. */
211 #undef HAVE_MEMSET
213 /* Define to 1 if you have the `mkdir' function. */
214 #undef HAVE_MKDIR
216 /* Define to 1 if you have a working `mmap' system call. */
217 #undef HAVE_MMAP
219 /* Define to 1 if you have the `munmap' function. */
220 #undef HAVE_MUNMAP
222 /* Define to 1 if you have the <netdb.h> header file. */
223 #undef HAVE_NETDB_H
225 /* Define to 1 if you have the <netinet/in.h> header file. */
226 #undef HAVE_NETINET_IN_H
228 /* Define to 1 if pthread_{,attr_}{g,s}etaffinity_np is supported. */
229 #undef HAVE_PTHREAD_AFFINITY_NP
231 /* Define to 1 if the system has the type `ptrdiff_t'. */
232 #undef HAVE_PTRDIFF_T
234 /* Define to 1 if you have the <sched.h> header file. */
235 #undef HAVE_SCHED_H
237 /* Define to 1 if you have the <semaphore.h> header file. */
238 #undef HAVE_SEMAPHORE_H
240 /* Define to 1 if you have the 'shm_open' function. */
241 #undef HAVE_SHM_OPEN
243 /* Define to 1 if you have the `socket' function. */
244 #undef HAVE_SOCKET
246 /* Define to 1 if `stat' has the bug that it succeeds when given the
247 zero-length file name argument. */
248 #undef HAVE_STAT_EMPTY_STRING_BUG
250 /* Define to 1 if you have the <stddef.h> header file. */
251 #undef HAVE_STDDEF_H
253 /* Define to 1 if you have the <stdint.h> header file. */
254 #undef HAVE_STDINT_H
256 /* Define to 1 if you have the <stdlib.h> header file. */
257 #undef HAVE_STDLIB_H
259 /* Define to 1 if you have the `strcasecmp' function. */
260 #undef HAVE_STRCASECMP
262 /* Define to 1 if you have the `strdup' function. */
263 #undef HAVE_STRDUP
265 /* Define to 1 if you have the `strerror' function. */
266 #undef HAVE_STRERROR
268 /* Define to 1 if you have the <strings.h> header file. */
269 #undef HAVE_STRINGS_H
271 /* Define to 1 if you have the <string.h> header file. */
272 #undef HAVE_STRING_H
274 /* Define to 1 if you have the `strtol' function. */
275 #undef HAVE_STRTOL
277 /* Define to 1 if you have the `strtoull' function. */
278 #undef HAVE_STRTOULL
280 /* Define to 1 if the target supports __sync_*_compare_and_swap. */
281 #undef HAVE_SYNC_BUILTINS
283 /* Define to 1 if the compiler provides the __sync_fetch_and_add function for
284 uint32 */
285 #undef HAVE_SYNC_FETCH_AND_ADD_4
287 /* Define to 1 if the compiler provides the __sync_fetch_and_add function for
288 uint64 */
289 #undef HAVE_SYNC_FETCH_AND_ADD_8
291 /* Define to 1 if you have the <sys/loadavg.h> header file. */
292 #undef HAVE_SYS_LOADAVG_H
294 /* Define to 1 if you have the <sys/socket.h> header file. */
295 #undef HAVE_SYS_SOCKET_H
297 /* Define to 1 if you have the <sys/stat.h> header file. */
298 #undef HAVE_SYS_STAT_H
300 /* Define to 1 if you have the <sys/types.h> header file. */
301 #undef HAVE_SYS_TYPES_H
303 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
304 #undef HAVE_SYS_WAIT_H
306 /* Define to 1 if the target supports thread-local storage. */
307 #undef HAVE_TLS
309 /* Define to 1 if you have the <unistd.h> header file. */
310 #undef HAVE_UNISTD_H
312 /* Define to 1 if UPC backtrace is enabled. */
313 #undef HAVE_UPC_BACKTRACE
315 /* Define to 1 if UPC backtrace with ADDR2LINE is enabled. */
316 #undef HAVE_UPC_BACKTRACE_ADDR2LINE
318 /* Define to 1 if UPC backtrace with GDB is enabled. */
319 #undef HAVE_UPC_BACKTRACE_GDB
321 /* Define to 1 if UPC backtrace signal is enabled. */
322 #undef HAVE_UPC_BACKTRACE_SIGNAL
324 /* Define to 1 if UPC link script is supported. */
325 #undef HAVE_UPC_LINK_SCRIPT
327 /* Define to 1 if you have the `vfork' function. */
328 #undef HAVE_VFORK
330 /* Define to 1 if you have the <vfork.h> header file. */
331 #undef HAVE_VFORK_H
333 /* Define to 1 if `fork' works. */
334 #undef HAVE_WORKING_FORK
336 /* Define to 1 if `vfork' works. */
337 #undef HAVE_WORKING_VFORK
339 /* Define to 1 if GNU symbol versioning is used for libgupc. */
340 #undef LIBGUPC_GNU_SYMBOL_VERSIONING
342 /* Define to 1 if `lstat' dereferences a symlink specified with a trailing
343 slash. */
344 #undef LSTAT_FOLLOWS_SLASHED_SYMLINK
346 /* Define to the sub-directory in which libtool stores uninstalled libraries.
348 #undef LT_OBJDIR
350 /* Name of package */
351 #undef PACKAGE
353 /* Define to the address where bug reports for this package should be sent. */
354 #undef PACKAGE_BUGREPORT
356 /* Define to the full name of this package. */
357 #undef PACKAGE_NAME
359 /* Define to the full name and version of this package. */
360 #undef PACKAGE_STRING
362 /* Define to the one symbol short name of this package. */
363 #undef PACKAGE_TARNAME
365 /* Define to the home page for this package. */
366 #undef PACKAGE_URL
368 /* Define to the version of this package. */
369 #undef PACKAGE_VERSION
371 /* The size of `char', as computed by sizeof. */
372 #undef SIZEOF_CHAR
374 /* The size of `int', as computed by sizeof. */
375 #undef SIZEOF_INT
377 /* The size of `long', as computed by sizeof. */
378 #undef SIZEOF_LONG
380 /* The size of `short', as computed by sizeof. */
381 #undef SIZEOF_SHORT
383 /* The size of `void *', as computed by sizeof. */
384 #undef SIZEOF_VOID_P
386 /* Define to 1 if you have the ANSI C header files. */
387 #undef STDC_HEADERS
389 /* Define if you can safely include both <string.h> and <strings.h>. */
390 #undef STRING_WITH_STRINGS
392 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
393 #undef TIME_WITH_SYS_TIME
395 /* Version number of package */
396 #undef VERSION
398 /* Number of bits in a file offset, on hosts where this is settable. */
399 #undef _FILE_OFFSET_BITS
401 /* Define for large files, on AIX-style hosts. */
402 #undef _LARGE_FILES
404 /* Define to empty if `const' does not conform to ANSI C. */
405 #undef const
407 /* Define to `__inline__' or `__inline' if that's what the C compiler
408 calls it, or to nothing if 'inline' is not supported under any name. */
409 #ifndef __cplusplus
410 #undef inline
411 #endif
413 /* Define to rpl_malloc if the replacement function should be used. */
414 #undef malloc
416 /* Define to `int' if <sys/types.h> does not define. */
417 #undef mode_t
419 /* Define to `long int' if <sys/types.h> does not define. */
420 #undef off_t
422 /* Define to `int' if <sys/types.h> does not define. */
423 #undef pid_t
425 /* Define to `unsigned int' if <sys/types.h> does not define. */
426 #undef size_t
428 /* Define as `fork' if `vfork' does not work. */
429 #undef vfork
431 /* Define to empty if the keyword `volatile' does not work. Warning: valid
432 code using `volatile' can become incorrect without. Disable with care. */
433 #undef volatile
436 #ifndef ARG_UNUSED
437 # define ARG_UNUSED(NAME) NAME __attribute__ ((__unused__))
438 #endif
442 #endif /* __CONFIG_H__ */