Merge trunk version 216723 into gupc branch.
[official-gcc.git] / libgupc / config.h.in
blob9d82e0a5548f47a081258ede8fd7850e67025093
1 /* config.h.in. Generated from configure.ac by autoheader. */
3 /* Copyright (C) 2008-2014 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 /* Define to 1 if UPC runtime is based on Portals4. */
90 #undef GUPCR_PORTALS_RUNTIME
92 /* Portals4 PTE base index. */
93 #undef GUPCR_PTE_BASE
95 /* The required alignment for the UPC struct shared pointer representation. */
96 #undef GUPCR_PTS_ALIGN
98 /* Whether UPC pointers-to-shared use the 'packed' representation */
99 #undef GUPCR_PTS_PACKED_REP
101 /* Size of shared pointer's phase field (in bits) */
102 #undef GUPCR_PTS_PHASE_SIZE
104 /* The data type of the 'phase' field in a UPC shared pointer */
105 #undef GUPCR_PTS_PHASE_TYPE
107 /* Whether UPC shared pointers use the 'struct' representation */
108 #undef GUPCR_PTS_STRUCT_REP
110 /* Size of shared pointer's thread field (in bits) */
111 #undef GUPCR_PTS_THREAD_SIZE
113 /* The data type of the 'thread' field in a UPC shared pointer */
114 #undef GUPCR_PTS_THREAD_TYPE
116 /* Whether the 'vaddr' field comes first (ie, [[vaddr,thread,phase]]) */
117 #undef GUPCR_PTS_VADDR_FIRST
119 /* Size of shared pointer's vaddr field (in bits) */
120 #undef GUPCR_PTS_VADDR_SIZE
122 /* The data type of the 'vaddr' field in a UPC shared pointer */
123 #undef GUPCR_PTS_VADDR_TYPE
125 /* Maximum number of children at each level of a collective operation tree. */
126 #undef GUPCR_TREE_FANOUT
128 /* Define to 1 if UPC runtime will use Portals4 triggered operations. */
129 #undef GUPCR_USE_PORTALS4_TRIGGERED_OPS
131 //end gupcr_config_h
133 /* Define to 1 if the target assembler supports .symver directive. */
134 #undef HAVE_AS_SYMVER_DIRECTIVE
136 /* Define to 1 if the target supports __attribute__((alias(...))). */
137 #undef HAVE_ATTRIBUTE_ALIAS
139 /* Define to 1 if the target supports __attribute__((dllexport)). */
140 #undef HAVE_ATTRIBUTE_DLLEXPORT
142 /* Define to 1 if the target supports __attribute__((visibility(...))). */
143 #undef HAVE_ATTRIBUTE_VISIBILITY
145 /* Define to 1 if you have the `backtrace' function. */
146 #undef HAVE_BACKTRACE
148 /* Define to 1 if you have the `backtrace_symbols' function. */
149 #undef HAVE_BACKTRACE_SYMBOLS
151 /* Define to 1 if you have the `backtrace_symbols_fd' function. */
152 #undef HAVE_BACKTRACE_SYMBOLS_FD
154 /* Define if the POSIX Semaphores do not work on your system. */
155 #undef HAVE_BROKEN_POSIX_SEMAPHORES
157 /* Define to 1 if the target assembler supports thread-local storage. */
158 #undef HAVE_CC_TLS
160 /* Define to 1 if you have the `clock_gettime' function. */
161 #undef HAVE_CLOCK_GETTIME
163 /* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
164 don't. */
165 #undef HAVE_DECL_SYS_SIGLIST
167 /* Define to 1 if you have the <dlfcn.h> header file. */
168 #undef HAVE_DLFCN_H
170 /* Define to 1 if you have the <execinfo.h> header file. */
171 #undef HAVE_EXECINFO_H
173 /* Define to 1 if you have the <fcntl.h> header file. */
174 #undef HAVE_FCNTL_H
176 /* Define to 1 if you have the `fork' function. */
177 #undef HAVE_FORK
179 /* Define to 1 if you have the `ftruncate' function. */
180 #undef HAVE_FTRUNCATE
182 /* Define to 1 if you have the `getcwd' function. */
183 #undef HAVE_GETCWD
185 /* Define to 1 if you have the `gethostbyname' function. */
186 #undef HAVE_GETHOSTBYNAME
188 /* Define to 1 if you have the `gethostname' function. */
189 #undef HAVE_GETHOSTNAME
191 /* Define to 1 if you have the `getloadavg' function. */
192 #undef HAVE_GETLOADAVG
194 /* Define to 1 if you have the `getpagesize' function. */
195 #undef HAVE_GETPAGESIZE
197 /* Define if the compiler has a thread header that is non single. */
198 #undef HAVE_GTHR_DEFAULT
200 /* Define to 1 if you have the <inttypes.h> header file. */
201 #undef HAVE_INTTYPES_H
203 /* Define to 1 if you have the <limits.h> header file. */
204 #undef HAVE_LIMITS_H
206 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
207 to 0 otherwise. */
208 #undef HAVE_MALLOC
210 /* Define to 1 if you have the <memory.h> header file. */
211 #undef HAVE_MEMORY_H
213 /* Define to 1 if you have the `memset' function. */
214 #undef HAVE_MEMSET
216 /* Define to 1 if you have the `mkdir' function. */
217 #undef HAVE_MKDIR
219 /* Define to 1 if you have a working `mmap' system call. */
220 #undef HAVE_MMAP
222 /* Define to 1 if you have the `munmap' function. */
223 #undef HAVE_MUNMAP
225 /* Define to 1 if you have the <netdb.h> header file. */
226 #undef HAVE_NETDB_H
228 /* Define to 1 if you have the <netinet/in.h> header file. */
229 #undef HAVE_NETINET_IN_H
231 /* Define to 1 if pthread_{,attr_}{g,s}etaffinity_np is supported. */
232 #undef HAVE_PTHREAD_AFFINITY_NP
234 /* Define to 1 if the system has the type `ptrdiff_t'. */
235 #undef HAVE_PTRDIFF_T
237 /* Define to 1 if you have the <sched.h> header file. */
238 #undef HAVE_SCHED_H
240 /* Define to 1 if you have the <semaphore.h> header file. */
241 #undef HAVE_SEMAPHORE_H
243 /* Define to 1 if you have the 'shm_open' function. */
244 #undef HAVE_SHM_OPEN
246 /* Define to 1 if you have the `socket' function. */
247 #undef HAVE_SOCKET
249 /* Define to 1 if `stat' has the bug that it succeeds when given the
250 zero-length file name argument. */
251 #undef HAVE_STAT_EMPTY_STRING_BUG
253 /* Define to 1 if you have the <stddef.h> header file. */
254 #undef HAVE_STDDEF_H
256 /* Define to 1 if you have the <stdint.h> header file. */
257 #undef HAVE_STDINT_H
259 /* Define to 1 if you have the <stdlib.h> header file. */
260 #undef HAVE_STDLIB_H
262 /* Define to 1 if you have the `strcasecmp' function. */
263 #undef HAVE_STRCASECMP
265 /* Define to 1 if you have the `strdup' function. */
266 #undef HAVE_STRDUP
268 /* Define to 1 if you have the `strerror' function. */
269 #undef HAVE_STRERROR
271 /* Define to 1 if you have the <strings.h> header file. */
272 #undef HAVE_STRINGS_H
274 /* Define to 1 if you have the <string.h> header file. */
275 #undef HAVE_STRING_H
277 /* Define to 1 if you have the `strtol' function. */
278 #undef HAVE_STRTOL
280 /* Define to 1 if you have the `strtoull' function. */
281 #undef HAVE_STRTOULL
283 /* Define to 1 if the target supports __sync_*_compare_and_swap. */
284 #undef HAVE_SYNC_BUILTINS
286 /* Define to 1 if the compiler provides the __sync_fetch_and_add function for
287 uint32 */
288 #undef HAVE_SYNC_FETCH_AND_ADD_4
290 /* Define to 1 if the compiler provides the __sync_fetch_and_add function for
291 uint64 */
292 #undef HAVE_SYNC_FETCH_AND_ADD_8
294 /* Define to 1 if you have the <sys/loadavg.h> header file. */
295 #undef HAVE_SYS_LOADAVG_H
297 /* Define to 1 if you have the <sys/socket.h> header file. */
298 #undef HAVE_SYS_SOCKET_H
300 /* Define to 1 if you have the <sys/stat.h> header file. */
301 #undef HAVE_SYS_STAT_H
303 /* Define to 1 if you have the <sys/types.h> header file. */
304 #undef HAVE_SYS_TYPES_H
306 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
307 #undef HAVE_SYS_WAIT_H
309 /* Define to 1 if the target supports thread-local storage. */
310 #undef HAVE_TLS
312 /* Define to 1 if you have the <unistd.h> header file. */
313 #undef HAVE_UNISTD_H
315 /* Define to 1 if UPC backtrace is enabled. */
316 #undef HAVE_UPC_BACKTRACE
318 /* Define to 1 if UPC backtrace with ADDR2LINE is enabled. */
319 #undef HAVE_UPC_BACKTRACE_ADDR2LINE
321 /* Define to 1 if UPC backtrace with GDB is enabled. */
322 #undef HAVE_UPC_BACKTRACE_GDB
324 /* Define to 1 if UPC backtrace signal is enabled. */
325 #undef HAVE_UPC_BACKTRACE_SIGNAL
327 /* Define to 1 if UPC link script is supported. */
328 #undef HAVE_UPC_LINK_SCRIPT
330 /* Define to 1 if you have the `vfork' function. */
331 #undef HAVE_VFORK
333 /* Define to 1 if you have the <vfork.h> header file. */
334 #undef HAVE_VFORK_H
336 /* Define to 1 if `fork' works. */
337 #undef HAVE_WORKING_FORK
339 /* Define to 1 if `vfork' works. */
340 #undef HAVE_WORKING_VFORK
342 /* Define to 1 if GNU symbol versioning is used for libgupc. */
343 #undef LIBGUPC_GNU_SYMBOL_VERSIONING
345 /* Define to 1 if `lstat' dereferences a symlink specified with a trailing
346 slash. */
347 #undef LSTAT_FOLLOWS_SLASHED_SYMLINK
349 /* Define to the sub-directory in which libtool stores uninstalled libraries.
351 #undef LT_OBJDIR
353 /* Name of package */
354 #undef PACKAGE
356 /* Define to the address where bug reports for this package should be sent. */
357 #undef PACKAGE_BUGREPORT
359 /* Define to the full name of this package. */
360 #undef PACKAGE_NAME
362 /* Define to the full name and version of this package. */
363 #undef PACKAGE_STRING
365 /* Define to the one symbol short name of this package. */
366 #undef PACKAGE_TARNAME
368 /* Define to the home page for this package. */
369 #undef PACKAGE_URL
371 /* Define to the version of this package. */
372 #undef PACKAGE_VERSION
374 /* The size of `char', as computed by sizeof. */
375 #undef SIZEOF_CHAR
377 /* The size of `int', as computed by sizeof. */
378 #undef SIZEOF_INT
380 /* The size of `long', as computed by sizeof. */
381 #undef SIZEOF_LONG
383 /* The size of `short', as computed by sizeof. */
384 #undef SIZEOF_SHORT
386 /* The size of `void *', as computed by sizeof. */
387 #undef SIZEOF_VOID_P
389 /* Define to 1 if you have the ANSI C header files. */
390 #undef STDC_HEADERS
392 /* Define if you can safely include both <string.h> and <strings.h>. */
393 #undef STRING_WITH_STRINGS
395 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
396 #undef TIME_WITH_SYS_TIME
398 /* Version number of package */
399 #undef VERSION
401 /* Number of bits in a file offset, on hosts where this is settable. */
402 #undef _FILE_OFFSET_BITS
404 /* Define for large files, on AIX-style hosts. */
405 #undef _LARGE_FILES
407 /* Define to empty if `const' does not conform to ANSI C. */
408 #undef const
410 /* Define to `__inline__' or `__inline' if that's what the C compiler
411 calls it, or to nothing if 'inline' is not supported under any name. */
412 #ifndef __cplusplus
413 #undef inline
414 #endif
416 /* Define to rpl_malloc if the replacement function should be used. */
417 #undef malloc
419 /* Define to `int' if <sys/types.h> does not define. */
420 #undef mode_t
422 /* Define to `long int' if <sys/types.h> does not define. */
423 #undef off_t
425 /* Define to `int' if <sys/types.h> does not define. */
426 #undef pid_t
428 /* Define to `unsigned int' if <sys/types.h> does not define. */
429 #undef size_t
431 /* Define as `fork' if `vfork' does not work. */
432 #undef vfork
434 /* Define to empty if the keyword `volatile' does not work. Warning: valid
435 code using `volatile' can become incorrect without. Disable with care. */
436 #undef volatile
439 #ifndef ARG_UNUSED
440 # define ARG_UNUSED(NAME) NAME __attribute__ ((__unused__))
441 #endif
445 #endif /* __CONFIG_H__ */