pacemaker
2.1.3-ea053b43a
Scalable High-Availability cluster resource manager
include
config.h
Go to the documentation of this file.
1
/* include/config.h. Generated from config.h.in by configure. */
2
/* include/config.h.in. Generated from configure.ac by autoheader. */
3
4
/* Define if building universal (internal helper macro) */
5
/* #undef AC_APPLE_UNIVERSAL_BUILD */
6
7
/* Build version */
8
#define BUILD_VERSION "ea053b43a"
9
10
/* Where to keep blackbox dumps */
11
#define CRM_BLACKBOX_DIR "/var/lib/pacemaker/blackbox"
12
13
/* Location for Pacemaker bundle logs */
14
#define CRM_BUNDLE_DIR "/var/log/pacemaker/bundles"
15
16
/* Where to keep configuration files */
17
#define CRM_CONFIG_DIR "/var/lib/pacemaker/cib"
18
19
/* Directory Pacemaker daemons should change to (without systemd, core files
20
will go here) */
21
#define CRM_CORE_DIR "/var/lib/pacemaker/cores"
22
23
/* Location for Pacemaker daemons */
24
#define CRM_DAEMON_DIR "/usr/libexec/pacemaker"
25
26
/* Group to run Pacemaker daemons as */
27
#define CRM_DAEMON_GROUP "haclient"
28
29
/* User to run Pacemaker daemons as */
30
#define CRM_DAEMON_USER "hacluster"
31
32
/* Set of enabled features */
33
#define CRM_FEATURES "agent-manpages ascii-docs books cibsecrets corosync-ge-2 generated-manpages monotonic nagios ncurses nls remote systemd"
34
35
/* Location for Pacemaker log file */
36
#define CRM_LOG_DIR "/var/log/pacemaker"
37
38
/* Location to store directory produced by Pacemaker daemons */
39
#define CRM_PACEMAKER_DIR "/var/lib/pacemaker"
40
41
/* Where resource agents should keep state files */
42
#define CRM_RSCTMP_DIR "/var/run/resource-agents"
43
44
/* Location for the Pacemaker Relax-NG Schema */
45
#define CRM_SCHEMA_DIRECTORY "/usr/share/pacemaker"
46
47
/* Where to keep state files and sockets */
48
#define CRM_STATE_DIR "/var/run/crm"
49
50
/* Define to 1 if translation of program messages to the user's native
51
language is requested. */
52
#define ENABLE_NLS 1
53
54
/* Enable versioned attributes */
55
#define ENABLE_VERSIONED_ATTRS 0
56
57
/* gcc can complain about nonliterals in format */
58
#define GCC_FORMAT_NONLITERAL_CHECKING_ENABLED
59
60
/* Define to 1 if you have the `alphasort' function. */
61
#define HAVE_ALPHASORT 1
62
63
/* Define to 1 if you have the `argz_add' function. */
64
#define HAVE_ARGZ_ADD 1
65
66
/* Define to 1 if you have the `argz_append' function. */
67
#define HAVE_ARGZ_APPEND 1
68
69
/* Define to 1 if you have the `argz_count' function. */
70
#define HAVE_ARGZ_COUNT 1
71
72
/* Define to 1 if you have the `argz_create_sep' function. */
73
#define HAVE_ARGZ_CREATE_SEP 1
74
75
/* Define to 1 if you have the <argz.h> header file. */
76
#define HAVE_ARGZ_H 1
77
78
/* Define to 1 if you have the `argz_insert' function. */
79
#define HAVE_ARGZ_INSERT 1
80
81
/* Define to 1 if you have the `argz_next' function. */
82
#define HAVE_ARGZ_NEXT 1
83
84
/* Define to 1 if you have the `argz_stringify' function. */
85
#define HAVE_ARGZ_STRINGIFY 1
86
87
/* Define to 1 if you have the <arpa/inet.h> header file. */
88
#define HAVE_ARPA_INET_H 1
89
90
/* Define to 1 if you have the <byteswap.h> header file. */
91
#define HAVE_BYTESWAP_H 1
92
93
/* Define to 1 if you have the <bzlib.h> header file. */
94
#define HAVE_BZLIB_H 1
95
96
/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
97
CoreFoundation framework. */
98
/* #undef HAVE_CFLOCALECOPYCURRENT */
99
100
/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
101
the CoreFoundation framework. */
102
/* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */
103
104
/* Define to 1 if you have the `closedir' function. */
105
#define HAVE_CLOSEDIR 1
106
107
/* Define to 1 if you have the `corosync_cfg_trackstart' function. */
108
#define HAVE_COROSYNC_CFG_TRACKSTART 1
109
110
/* Define to 1 if you have the <ctype.h> header file. */
111
#define HAVE_CTYPE_H 1
112
113
/* Define to 1 if you have the <curses/curses.h> header file. */
114
/* #undef HAVE_CURSES_CURSES_H */
115
116
/* Define to 1 if you have the <curses.h> header file. */
117
#define HAVE_CURSES_H 1
118
119
/* Define to 1 if the system has the type `DBusBasicValue'. */
120
#define HAVE_DBUSBASICVALUE 1
121
122
/* Define if the GNU dcgettext() function is already present or preinstalled.
123
*/
124
#define HAVE_DCGETTEXT 1
125
126
/* Define to 1 if you have the declaration of `assert_float_equal', and to 0
127
if you don't. */
128
#define HAVE_DECL_ASSERT_FLOAT_EQUAL 1
129
130
/* Define to 1 if you have the declaration of `CLOCK_MONOTONIC', and to 0 if
131
you don't. */
132
#define HAVE_DECL_CLOCK_MONOTONIC 1
133
134
/* Define to 1 if you have the declaration of `cygwin_conv_path', and to 0 if
135
you don't. */
136
/* #undef HAVE_DECL_CYGWIN_CONV_PATH */
137
138
/* Define to 1 if you have the declaration of `PRIu32', and to 0 if you don't.
139
*/
140
#define HAVE_DECL_PRIU32 1
141
142
/* Define to 1 if you have the declaration of `PRIu64', and to 0 if you don't.
143
*/
144
#define HAVE_DECL_PRIU64 1
145
146
/* Define to 1 if you have the declaration of `PRIx32', and to 0 if you don't.
147
*/
148
#define HAVE_DECL_PRIX32 1
149
150
/* Define to 1 if you have the declaration of `SCNu64', and to 0 if you don't.
151
*/
152
#define HAVE_DECL_SCNU64 1
153
154
/* Define to 1 if you have the <dirent.h> header file. */
155
#define HAVE_DIRENT_H 1
156
157
/* Define if you have the GNU dld library. */
158
/* #undef HAVE_DLD */
159
160
/* Define to 1 if you have the <dld.h> header file. */
161
/* #undef HAVE_DLD_H */
162
163
/* Define to 1 if you have the `dlerror' function. */
164
#define HAVE_DLERROR 1
165
166
/* Define to 1 if you have the <dlfcn.h> header file. */
167
#define HAVE_DLFCN_H 1
168
169
/* Define to 1 if you have the <dl.h> header file. */
170
/* #undef HAVE_DL_H */
171
172
/* Define if you have the _dyld_func_lookup function. */
173
/* #undef HAVE_DYLD */
174
175
/* Define to 1 if you have the <errno.h> header file. */
176
#define HAVE_ERRNO_H 1
177
178
/* Define to 1 if the system has the type `error_t'. */
179
#define HAVE_ERROR_T 1
180
181
/* Define to 1 if you have the <getopt.h> header file. */
182
#define HAVE_GETOPT_H 1
183
184
/* Define if the GNU gettext() function is already present or preinstalled. */
185
#define HAVE_GETTEXT 1
186
187
/* Define to 1 if you have the <glib.h> header file. */
188
#define HAVE_GLIB_H 1
189
190
/* Define to 1 if you have the <gnutls/gnutls.h> header file. */
191
#define HAVE_GNUTLS_GNUTLS_H 1
192
193
/* Define to 1 if you have the <grp.h> header file. */
194
#define HAVE_GRP_H 1
195
196
/* Define if you have the iconv() function and it works. */
197
/* #undef HAVE_ICONV */
198
199
/* Define to 1 if curses library has incompatible printw() */
200
/* #undef HAVE_INCOMPATIBLE_PRINTW */
201
202
/* Define to 1 if you have the <inttypes.h> header file. */
203
#define HAVE_INTTYPES_H 1
204
205
/* Define to 1 if you have the `asan' library (-lasan). */
206
/* #undef HAVE_LIBASAN */
207
208
/* Define to 1 if you have the `bz2' library (-lbz2). */
209
#define HAVE_LIBBZ2 1
210
211
/* Define to 1 if you have the `c' library (-lc). */
212
/* #undef HAVE_LIBC */
213
214
/* have curses library */
215
/* #undef HAVE_LIBCURSES */
216
217
/* Define to 1 if you have the `dl' library (-ldl). */
218
#define HAVE_LIBDL 1
219
220
/* Define if libdlloader will be built on this platform */
221
#define HAVE_LIBDLLOADER 1
222
223
/* Define to 1 if you have the `gnugetopt' library (-lgnugetopt). */
224
/* #undef HAVE_LIBGNUGETOPT */
225
226
/* Define to 1 if you have the `gnutls' library (-lgnutls). */
227
#define HAVE_LIBGNUTLS 1
228
229
/* have ncurses library */
230
#define HAVE_LIBNCURSES 1
231
232
/* Define to 1 if you have the `pam' library (-lpam). */
233
#define HAVE_LIBPAM 1
234
235
/* Define to 1 if you have the `pils' library (-lpils). */
236
/* #undef HAVE_LIBPILS */
237
238
/* Define to 1 if you have the `plumb' library (-lplumb). */
239
/* #undef HAVE_LIBPLUMB */
240
241
/* Define to 1 if you have the `rt' library (-lrt). */
242
#define HAVE_LIBRT 1
243
244
/* Define to 1 if you have the `socket' library (-lsocket). */
245
/* #undef HAVE_LIBSOCKET */
246
247
/* Define to 1 if you have the `tsan' library (-ltsan). */
248
/* #undef HAVE_LIBTSAN */
249
250
/* Define to 1 if you have the `ubsan' library (-lubsan). */
251
/* #undef HAVE_LIBUBSAN */
252
253
/* Define to 1 if you have the <libxml/xpath.h> header file. */
254
#define HAVE_LIBXML_XPATH_H 1
255
256
/* Define to 1 if you have the `xslt' library (-lxslt). */
257
#define HAVE_LIBXSLT 1
258
259
/* Define to 1 if you have the <libxslt/xslt.h> header file. */
260
#define HAVE_LIBXSLT_XSLT_H 1
261
262
/* Define to 1 if you have the <limits.h> header file. */
263
#define HAVE_LIMITS_H 1
264
265
/* Define to 1 if you have the <linux/swab.h> header file. */
266
#define HAVE_LINUX_SWAB_H 1
267
268
/* Define this if a modern libltdl is already installed */
269
#define HAVE_LTDL 1
270
271
/* Define to 1 if you have the <mach-o/dyld.h> header file. */
272
/* #undef HAVE_MACH_O_DYLD_H */
273
274
/* Define to 1 if you have the <malloc.h> header file. */
275
/* #undef HAVE_MALLOC_H */
276
277
/* Define to 1 if you have the <memory.h> header file. */
278
#define HAVE_MEMORY_H 1
279
280
/* Define to 1 if you have the `nanosleep' function. */
281
#define HAVE_NANOSLEEP 1
282
283
/* Define to 1 if you have the <ncurses.h> header file. */
284
#define HAVE_NCURSES_H 1
285
286
/* Define to 1 if you have the <ncurses/ncurses.h> header file. */
287
#define HAVE_NCURSES_NCURSES_H 1
288
289
/* Define to 1 if you have the <netdb.h> header file. */
290
#define HAVE_NETDB_H 1
291
292
/* Define to 1 if you have the <netinet/in.h> header file. */
293
#define HAVE_NETINET_IN_H 1
294
295
/* Define to 1 if you have the <netinet/ip.h> header file. */
296
#define HAVE_NETINET_IP_H 1
297
298
/* Define to 1 if you have the `NoSuchFunctionName' function. */
299
/* #undef HAVE_NOSUCHFUNCTIONNAME */
300
301
/* Define to 1 if you have the `opendir' function. */
302
#define HAVE_OPENDIR 1
303
304
/* Define to 1 if libcrypto is used for MD5. */
305
/* #undef HAVE_OPENSSL_MD5 */
306
307
/* Define to 1 if you have the <openssl/md5.h> header file. */
308
/* #undef HAVE_OPENSSL_MD5_H */
309
310
/* Define to 1 if you have the <pam/pam_appl.h> header file. */
311
/* #undef HAVE_PAM_PAM_APPL_H */
312
313
/* Define if libtool can extract symbol lists from object files. */
314
#define HAVE_PRELOADED_SYMBOLS 1
315
316
/* Define to 1 if you have the <pwd.h> header file. */
317
#define HAVE_PWD_H 1
318
319
/* Define to 1 if you have the `qb_ipcc_auth_get' function. */
320
/* #undef HAVE_QB_IPCC_AUTH_GET */
321
322
/* Define to 1 if you have the `qb_ipcc_connect_async' function. */
323
/* #undef HAVE_QB_IPCC_CONNECT_ASYNC */
324
325
/* Define to 1 if you have the `readdir' function. */
326
#define HAVE_READDIR 1
327
328
/* Define to 1 if you have the `scandir' function. */
329
#define HAVE_SCANDIR 1
330
331
/* Define to 1 if you have the `sched_setscheduler' function. */
332
#define HAVE_SCHED_SETSCHEDULER 1
333
334
/* Define to 1 if you have the <security/pam_appl.h> header file. */
335
#define HAVE_SECURITY_PAM_APPL_H 1
336
337
/* Define if you have the shl_load function. */
338
/* #undef HAVE_SHL_LOAD */
339
340
/* Define to 1 if sighandler_t is available */
341
/* #undef HAVE_SIGHANDLER_T */
342
343
/* Define to 1 if you have the <signal.h> header file. */
344
#define HAVE_SIGNAL_H 1
345
346
/* Define to 1 if you have the <stddef.h> header file. */
347
#define HAVE_STDDEF_H 1
348
349
/* Define to 1 if you have the <stdint.h> header file. */
350
#define HAVE_STDINT_H 1
351
352
/* Define to 1 if you have the <stdio.h> header file. */
353
#define HAVE_STDIO_H 1
354
355
/* Define to 1 if you have the <stdlib.h> header file. */
356
#define HAVE_STDLIB_H 1
357
358
/* Define to 1 if you have the <stonith/stonith.h> header file. */
359
/* #undef HAVE_STONITH_STONITH_H */
360
361
/* Define to 1 if you have the `strchrnul' function. */
362
#define HAVE_STRCHRNUL 1
363
364
/* Define to 1 if you have the `strerror' function. */
365
#define HAVE_STRERROR 1
366
367
/* Define to 1 if you have the <strings.h> header file. */
368
#define HAVE_STRINGS_H 1
369
370
/* Define to 1 if you have the <string.h> header file. */
371
#define HAVE_STRING_H 1
372
373
/* Define to 1 if you have the `strlcat' function. */
374
/* #undef HAVE_STRLCAT */
375
376
/* Define to 1 if you have the `strlcpy' function. */
377
/* #undef HAVE_STRLCPY */
378
379
/* Define to 1 if you have the `strndup' function. */
380
#define HAVE_STRNDUP 1
381
382
/* Define to 1 if you have the `strnlen' function. */
383
#define HAVE_STRNLEN 1
384
385
/* Define this if struct dirent has d_type */
386
#define HAVE_STRUCT_DIRENT_D_TYPE 1
387
388
/* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */
389
#define HAVE_STRUCT_TM_TM_GMTOFF 1
390
391
/* Define to 1 if you have the <sys/dl.h> header file. */
392
/* #undef HAVE_SYS_DL_H */
393
394
/* Define to 1 if you have the <sys/ioctl.h> header file. */
395
#define HAVE_SYS_IOCTL_H 1
396
397
/* Define to 1 if you have the <sys/param.h> header file. */
398
#define HAVE_SYS_PARAM_H 1
399
400
/* Define to 1 if you have the <sys/reboot.h> header file. */
401
#define HAVE_SYS_REBOOT_H 1
402
403
/* Define to 1 if you have the <sys/resource.h> header file. */
404
#define HAVE_SYS_RESOURCE_H 1
405
406
/* Define to 1 if you have the <sys/signalfd.h> header file. */
407
#define HAVE_SYS_SIGNALFD_H 1
408
409
/* Define to 1 if you have the <sys/socket.h> header file. */
410
#define HAVE_SYS_SOCKET_H 1
411
412
/* Define to 1 if you have the <sys/stat.h> header file. */
413
#define HAVE_SYS_STAT_H 1
414
415
/* Define to 1 if you have the <sys/time.h> header file. */
416
#define HAVE_SYS_TIME_H 1
417
418
/* Define to 1 if you have the <sys/types.h> header file. */
419
#define HAVE_SYS_TYPES_H 1
420
421
/* Define to 1 if you have the <sys/utsname.h> header file. */
422
#define HAVE_SYS_UTSNAME_H 1
423
424
/* Define to 1 if you have the <sys/wait.h> header file. */
425
#define HAVE_SYS_WAIT_H 1
426
427
/* Define to 1 if you have the <time.h> header file. */
428
#define HAVE_TIME_H 1
429
430
/* Define to 1 if you have the <unistd.h> header file. */
431
#define HAVE_UNISTD_H 1
432
433
/* Define to 1 if you have the `usleep' function. */
434
#define HAVE_USLEEP 1
435
436
/* Define to 1 if you have the `uuid_unparse' function. */
437
#define HAVE_UUID_UNPARSE 1
438
439
/* Define to 1 if you have the <uuid/uuid.h> header file. */
440
#define HAVE_UUID_UUID_H 1
441
442
/* This value is set to 1 to indicate that the system argz facility works */
443
#define HAVE_WORKING_ARGZ 1
444
445
/* */
446
/* #undef HAVE___PROGNAME */
447
448
/* Whether enum qb_log_conf supports QB_LOG_CONF_ELLIPSIS */
449
/* #undef HAVE_qb_log_conf_QB_LOG_CONF_ELLIPSIS */
450
451
/* Whether enum qb_log_conf supports QB_LOG_CONF_MAX_LINE_LEN */
452
/* #undef HAVE_qb_log_conf_QB_LOG_CONF_MAX_LINE_LEN */
453
454
/* Location for CIB secrets */
455
#define LRM_CIBSECRETS_DIR "/var/lib/pacemaker/lrm/secrets"
456
457
/* Define if the OS needs help to load dependent libraries for dlopen(). */
458
/* #undef LTDL_DLOPEN_DEPLIBS */
459
460
/* Define to the system default library search path. */
461
#define LT_DLSEARCH_PATH "/lib64:/usr/lib64:/lib:/usr/lib:/usr/lib64/atlas:/usr/lib64//bind9-export/:/usr/lib64/dyninst:/usr/lib64/iscsi"
462
463
/* The archive extension */
464
#define LT_LIBEXT "a"
465
466
/* The archive prefix */
467
#define LT_LIBPREFIX "lib"
468
469
/* Define to the extension used for runtime loadable modules, say, ".so". */
470
#define LT_MODULE_EXT ".so"
471
472
/* Define to the name of the environment variable that determines the run-time
473
module search path. */
474
#define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
475
476
/* Define to the sub-directory where libtool stores uninstalled libraries. */
477
#define LT_OBJDIR ".libs/"
478
479
/* Define to the shared library suffix, say, ".dylib". */
480
/* #undef LT_SHARED_EXT */
481
482
/* Define to the shared archive member specification, say "(shr.o)". */
483
/* #undef LT_SHARED_LIB_MEMBER */
484
485
/* Directory for nagios plugins metadata */
486
#define NAGIOS_METADATA_DIR "/usr/share/nagios/plugins-metadata"
487
488
/* Directory for nagios plugins */
489
#define NAGIOS_PLUGIN_DIR "/usr/libexec/nagios/plugins"
490
491
/* Define if dlsym() requires a leading underscore in symbol names. */
492
/* #undef NEED_USCORE */
493
494
/* OCF directories to search for resource agents */
495
#define OCF_RA_PATH "/usr/lib/ocf/resource.d"
496
497
/* OCF root directory for resource agents and libraries */
498
#define OCF_ROOT_DIR "/usr/lib/ocf"
499
500
/* Where to keep configuration files like authkey */
501
#define PACEMAKER_CONFIG_DIR "/etc/pacemaker"
502
503
/* Version number of this Pacemaker build */
504
#define PACEMAKER_VERSION "2.1.3"
505
506
/* Name of package */
507
#define PACKAGE "pacemaker"
508
509
/* Define to the address where bug reports for this package should be sent. */
510
#define PACKAGE_BUGREPORT "users@clusterlabs.org"
511
512
/* Define to the full name of this package. */
513
#define PACKAGE_NAME "pacemaker"
514
515
/* Define to the full name and version of this package. */
516
#define PACKAGE_STRING "pacemaker 2.1.3"
517
518
/* Define to the one symbol short name of this package. */
519
#define PACKAGE_TARNAME "pacemaker"
520
521
/* Define to the home page for this package. */
522
#define PACKAGE_URL "https://ClusterLabs.org/pacemaker/"
523
524
/* Define to the version of this package. */
525
#define PACKAGE_VERSION "2.1.3"
526
527
/* GnuTLS cipher priorities */
528
#define PCMK_GNUTLS_PRIORITIES "NORMAL"
529
530
/* Location for modifiable per-process data */
531
#define PCMK_RUN_DIR "/var/run"
532
533
/* Keep certain output compatible with 2.0 release series */
534
/* #undef PCMK__COMPAT_2_0 */
535
536
/* Default value for concurrent-fencing cluster option */
537
#define PCMK__CONCURRENT_FENCING_DEFAULT "false"
538
539
/* Location for executable fence agents */
540
#define PCMK__FENCE_BINDIR "/usr/sbin"
541
542
/* Base directory for message catalogs */
543
#define PCMK__LOCALE_DIR "/usr/share/locale"
544
545
/* Location for LSB init scripts */
546
#define PCMK__LSB_INIT_DIR "/etc/init.d"
547
548
/* Default value for resource-stickiness resource meta-attribute */
549
#define PCMK__RESOURCE_STICKINESS_DEFAULT 0
550
551
/* Default value for SBD_SYNC_RESOURCE_STARTUP environment variable */
552
#define PCMK__SBD_SYNC_DEFAULT false
553
554
/* Where to keep scheduler outputs */
555
#define PE_STATE_DIR "/var/lib/pacemaker/pengine"
556
557
/* Location for system binaries */
558
#define SBIN_DIR "/usr/sbin"
559
560
/* The size of `char', as computed by sizeof. */
561
#define SIZEOF_CHAR 1
562
563
/* The size of `int', as computed by sizeof. */
564
#define SIZEOF_INT 4
565
566
/* The size of `long', as computed by sizeof. */
567
#define SIZEOF_LONG 8
568
569
/* The size of `long long', as computed by sizeof. */
570
#define SIZEOF_LONG_LONG 8
571
572
/* The size of `short', as computed by sizeof. */
573
#define SIZEOF_SHORT 2
574
575
/* */
576
#define SSCANF_HAS_M 1
577
578
/* Define to 1 if you have the ANSI C header files. */
579
#define STDC_HEADERS 1
580
581
/* Support CIB secrets */
582
#define SUPPORT_CIBSECRETS 1
583
584
/* Support the Corosync messaging and membership layer */
585
#define SUPPORT_COROSYNC 1
586
587
/* Support dbus */
588
#define SUPPORT_DBUS 1
589
590
/* Support nagios plugins */
591
#define SUPPORT_NAGIOS 1
592
593
/* Define to 1 if procfs is supported */
594
#define SUPPORT_PROCFS 1
595
596
/* Support profiling */
597
#define SUPPORT_PROFILING 0
598
599
/* Support systemd resources */
600
#define SUPPORT_SYSTEMD 1
601
602
/* Support Upstart resources */
603
#define SUPPORT_UPSTART 0
604
605
/* Correct format specifier for U32T */
606
#define U32T PRIu32
607
608
/* Correct format specifier for U64T */
609
#define U64T PRIu64
610
611
/* Correct format specifier for U64TS */
612
#define U64TS SCNu64
613
614
/* Define if Unix socket auth method is getpeereid(s, &uid, &gid) */
615
/* #undef US_AUTH_GETPEEREID */
616
617
/* Define if Unix socket auth method is getpeercred(s, &ucred) */
618
/* #undef US_AUTH_GETPEERUCRED */
619
620
/* Define if Unix socket auth method is getsockopt(s, SO_PEERCRED,
621
&sockpeercred, ...) */
622
/* #undef US_AUTH_PEERCRED_SOCKPEERCRED */
623
624
/* Define if Unix socket auth method is getsockopt(s, SO_PEERCRED, &ucred,
625
...) */
626
#define US_AUTH_PEERCRED_UCRED 1
627
628
/* Valgrind command */
629
#define VALGRIND_BIN "/usr/bin/valgrind"
630
631
/* Version number of package */
632
#define VERSION "2.1.3"
633
634
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
635
significant byte first (like Motorola and SPARC, unlike Intel). */
636
#if defined AC_APPLE_UNIVERSAL_BUILD
637
# if defined __BIG_ENDIAN__
638
# define WORDS_BIGENDIAN 1
639
# endif
640
#else
641
# ifndef WORDS_BIGENDIAN
642
/* # undef WORDS_BIGENDIAN */
643
# endif
644
#endif
645
646
/* Correct format specifier for X32T */
647
#define X32T PRIx32
648
649
/* True if the compiler says it groks GNU C version MAJOR.MINOR. */
650
#if defined __GNUC__ && defined __GNUC_MINOR__
651
# define _GL_GNUC_PREREQ(major, minor) \
652
((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__))
653
#else
654
# define _GL_GNUC_PREREQ(major, minor) 0
655
#endif
656
657
658
/* The _Noreturn keyword of C11. */
659
#ifndef _Noreturn
660
# if (defined __cplusplus \
661
&& ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \
662
|| (defined _MSC_VER && 1900 <= _MSC_VER)) \
663
&& 0)
664
/* [[noreturn]] is not practically usable, because with it the syntax
665
extern _Noreturn void func (...);
666
would not be valid; such a declaration would only be valid with 'extern'
667
and '_Noreturn' swapped, or without the 'extern' keyword. However, some
668
AIX system header files and several gnulib header files use precisely
669
this syntax with 'extern'. */
670
# define _Noreturn [[noreturn]]
671
# elif ((!defined __cplusplus || defined __clang__) \
672
&& (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \
673
|| _GL_GNUC_PREREQ (4, 7) \
674
|| (defined __apple_build_version__ \
675
? 6000000 <= __apple_build_version__ \
676
: 3 < __clang_major__ + (5 <= __clang_minor__))))
677
/* _Noreturn works as-is. */
678
# elif _GL_GNUC_PREREQ (2, 8) || defined __clang__ || 0x5110 <= __SUNPRO_C
679
# define _Noreturn __attribute__ ((__noreturn__))
680
# elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0)
681
# define _Noreturn __declspec (noreturn)
682
# else
683
# define _Noreturn
684
# endif
685
#endif
686
687
688
/* Define so that glibc/gnulib argp.h does not typedef error_t. */
689
/* #undef __error_t_defined */
690
691
/* The _GL_ASYNC_SAFE marker should be attached to functions that are
692
signal handlers (for signals other than SIGABRT, SIGPIPE) or can be
693
invoked from such signal handlers. Such functions have some restrictions:
694
* All functions that it calls should be marked _GL_ASYNC_SAFE as well,
695
or should be listed as async-signal-safe in POSIX
696
<https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04>
697
section 2.4.3. Note that malloc(), sprintf(), and fwrite(), in
698
particular, are NOT async-signal-safe.
699
* All memory locations (variables and struct fields) that these functions
700
access must be marked 'volatile'. This holds for both read and write
701
accesses. Otherwise the compiler might optimize away stores to and
702
reads from such locations that occur in the program, depending on its
703
data flow analysis. For example, when the program contains a loop
704
that is intended to inspect a variable set from within a signal handler
705
while (!signal_occurred)
706
;
707
the compiler is allowed to transform this into an endless loop if the
708
variable 'signal_occurred' is not declared 'volatile'.
709
Additionally, recall that:
710
* A signal handler should not modify errno (except if it is a handler
711
for a fatal signal and ends by raising the same signal again, thus
712
provoking the termination of the process). If it invokes a function
713
that may clobber errno, it needs to save and restore the value of
714
errno. */
715
#define _GL_ASYNC_SAFE
716
717
718
/* Attributes. */
719
#ifdef __has_attribute
720
# define _GL_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__)
721
#else
722
# define _GL_HAS_ATTRIBUTE(attr) _GL_ATTR_##attr
723
# define _GL_ATTR_alloc_size _GL_GNUC_PREREQ (4, 3)
724
# define _GL_ATTR_always_inline _GL_GNUC_PREREQ (3, 2)
725
# define _GL_ATTR_artificial _GL_GNUC_PREREQ (4, 3)
726
# define _GL_ATTR_cold _GL_GNUC_PREREQ (4, 3)
727
# define _GL_ATTR_const _GL_GNUC_PREREQ (2, 95)
728
# define _GL_ATTR_deprecated _GL_GNUC_PREREQ (3, 1)
729
# define _GL_ATTR_diagnose_if 0
730
# define _GL_ATTR_error _GL_GNUC_PREREQ (4, 3)
731
# define _GL_ATTR_externally_visible _GL_GNUC_PREREQ (4, 1)
732
# define _GL_ATTR_fallthrough _GL_GNUC_PREREQ (7, 0)
733
# define _GL_ATTR_format _GL_GNUC_PREREQ (2, 7)
734
# define _GL_ATTR_leaf _GL_GNUC_PREREQ (4, 6)
735
# ifdef _ICC
736
# define _GL_ATTR_may_alias 0
737
# else
738
# define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3)
739
# endif
740
# define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0)
741
# define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1)
742
# define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3)
743
# define _GL_ATTR_nonstring _GL_GNUC_PREREQ (8, 0)
744
# define _GL_ATTR_nothrow _GL_GNUC_PREREQ (3, 3)
745
# define _GL_ATTR_packed _GL_GNUC_PREREQ (2, 7)
746
# define _GL_ATTR_pure _GL_GNUC_PREREQ (2, 96)
747
# define _GL_ATTR_returns_nonnull _GL_GNUC_PREREQ (4, 9)
748
# define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0)
749
# define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7)
750
# define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4)
751
#endif
752
753
754
#if _GL_HAS_ATTRIBUTE (alloc_size)
755
# define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args))
756
#else
757
# define _GL_ATTRIBUTE_ALLOC_SIZE(args)
758
#endif
759
760
#if _GL_HAS_ATTRIBUTE (always_inline)
761
# define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__))
762
#else
763
# define _GL_ATTRIBUTE_ALWAYS_INLINE
764
#endif
765
766
#if _GL_HAS_ATTRIBUTE (artificial)
767
# define _GL_ATTRIBUTE_ARTIFICIAL __attribute__ ((__artificial__))
768
#else
769
# define _GL_ATTRIBUTE_ARTIFICIAL
770
#endif
771
772
/* Avoid __attribute__ ((cold)) on MinGW; see thread starting at
773
<https://lists.gnu.org/r/emacs-devel/2019-04/msg01152.html>.
774
Also, Oracle Studio 12.6 requires 'cold' not '__cold__'. */
775
#if _GL_HAS_ATTRIBUTE (cold) && !defined __MINGW32__
776
# ifndef __SUNPRO_C
777
# define _GL_ATTRIBUTE_COLD __attribute__ ((__cold__))
778
# else
779
# define _GL_ATTRIBUTE_COLD __attribute__ ((cold))
780
# endif
781
#else
782
# define _GL_ATTRIBUTE_COLD
783
#endif
784
785
#if _GL_HAS_ATTRIBUTE (const)
786
# define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
787
#else
788
# define _GL_ATTRIBUTE_CONST
789
#endif
790
791
#if 201710L < __STDC_VERSION__
792
# define _GL_ATTRIBUTE_DEPRECATED [[__deprecated__]]
793
#elif _GL_HAS_ATTRIBUTE (deprecated)
794
# define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__))
795
#else
796
# define _GL_ATTRIBUTE_DEPRECATED
797
#endif
798
799
#if _GL_HAS_ATTRIBUTE (error)
800
# define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__error__ (msg)))
801
# define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__warning__ (msg)))
802
#elif _GL_HAS_ATTRIBUTE (diagnose_if)
803
# define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__diagnose_if__ (1, msg, "error")))
804
# define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__diagnose_if__ (1, msg, "warning")))
805
#else
806
# define _GL_ATTRIBUTE_ERROR(msg)
807
# define _GL_ATTRIBUTE_WARNING(msg)
808
#endif
809
810
#if _GL_HAS_ATTRIBUTE (externally_visible)
811
# define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible))
812
#else
813
# define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE
814
#endif
815
816
/* FALLTHROUGH is special, because it always expands to something. */
817
#if 201710L < __STDC_VERSION__
818
# define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]]
819
#elif _GL_HAS_ATTRIBUTE (fallthrough)
820
# define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__))
821
#else
822
# define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0)
823
#endif
824
825
#if _GL_HAS_ATTRIBUTE (format)
826
# define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec))
827
#else
828
# define _GL_ATTRIBUTE_FORMAT(spec)
829
#endif
830
831
#if _GL_HAS_ATTRIBUTE (leaf)
832
# define _GL_ATTRIBUTE_LEAF __attribute__ ((__leaf__))
833
#else
834
# define _GL_ATTRIBUTE_LEAF
835
#endif
836
837
/* Oracle Studio 12.6 mishandles may_alias despite __has_attribute OK. */
838
#if _GL_HAS_ATTRIBUTE (may_alias) && !defined __SUNPRO_C
839
# define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__))
840
#else
841
# define _GL_ATTRIBUTE_MAY_ALIAS
842
#endif
843
844
#if 201710L < __STDC_VERSION__
845
# define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
846
#elif _GL_HAS_ATTRIBUTE (unused)
847
# define _GL_ATTRIBUTE_MAYBE_UNUSED __attribute__ ((__unused__))
848
#else
849
# define _GL_ATTRIBUTE_MAYBE_UNUSED
850
#endif
851
/* Earlier spellings of this macro. */
852
#define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
853
#define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED
854
855
#if _GL_HAS_ATTRIBUTE (malloc)
856
# define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__))
857
#else
858
# define _GL_ATTRIBUTE_MALLOC
859
#endif
860
861
#if 201710L < __STDC_VERSION__
862
# define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]]
863
#elif _GL_HAS_ATTRIBUTE (warn_unused_result)
864
# define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__))
865
#else
866
# define _GL_ATTRIBUTE_NODISCARD
867
#endif
868
869
#if _GL_HAS_ATTRIBUTE (noinline)
870
# define _GL_ATTRIBUTE_NOINLINE __attribute__ ((__noinline__))
871
#else
872
# define _GL_ATTRIBUTE_NOINLINE
873
#endif
874
875
#if _GL_HAS_ATTRIBUTE (nonnull)
876
# define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args))
877
#else
878
# define _GL_ATTRIBUTE_NONNULL(args)
879
#endif
880
881
#if _GL_HAS_ATTRIBUTE (nonstring)
882
# define _GL_ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__))
883
#else
884
# define _GL_ATTRIBUTE_NONSTRING
885
#endif
886
887
/* There is no _GL_ATTRIBUTE_NORETURN; use _Noreturn instead. */
888
889
#if _GL_HAS_ATTRIBUTE (nothrow) && !defined __cplusplus
890
# define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__))
891
#else
892
# define _GL_ATTRIBUTE_NOTHROW
893
#endif
894
895
#if _GL_HAS_ATTRIBUTE (packed)
896
# define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__))
897
#else
898
# define _GL_ATTRIBUTE_PACKED
899
#endif
900
901
#if _GL_HAS_ATTRIBUTE (pure)
902
# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
903
#else
904
# define _GL_ATTRIBUTE_PURE
905
#endif
906
907
#if _GL_HAS_ATTRIBUTE (returns_nonnull)
908
# define _GL_ATTRIBUTE_RETURNS_NONNULL __attribute__ ((__returns_nonnull__))
909
#else
910
# define _GL_ATTRIBUTE_RETURNS_NONNULL
911
#endif
912
913
#if _GL_HAS_ATTRIBUTE (sentinel)
914
# define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos))
915
#else
916
# define _GL_ATTRIBUTE_SENTINEL(pos)
917
#endif
918
919
920
/* To support C++ as well as C, use _GL_UNUSED_LABEL with trailing ';'. */
921
#if !defined __cplusplus || _GL_GNUC_PREREQ (4, 5)
922
# define _GL_UNUSED_LABEL _GL_ATTRIBUTE_MAYBE_UNUSED
923
#else
924
# define _GL_UNUSED_LABEL
925
#endif
926
927
928
/* Define to a type to use for 'error_t' if it is not otherwise available. */
929
/* #undef error_t */
930
931
/* Please see the Gnulib manual for how to use these macros.
932
933
Suppress extern inline with HP-UX cc, as it appears to be broken; see
934
<https://lists.gnu.org/r/bug-texinfo/2013-02/msg00030.html>.
935
936
Suppress extern inline with Sun C in standards-conformance mode, as it
937
mishandles inline functions that call each other. E.g., for 'inline void f
938
(void) { } inline void g (void) { f (); }', c99 incorrectly complains
939
'reference to static identifier "f" in extern inline function'.
940
This bug was observed with Sun C 5.12 SunOS_i386 2011/11/16.
941
942
Suppress extern inline (with or without __attribute__ ((__gnu_inline__)))
943
on configurations that mistakenly use 'static inline' to implement
944
functions or macros in standard C headers like <ctype.h>. For example,
945
if isdigit is mistakenly implemented via a static inline function,
946
a program containing an extern inline function that calls isdigit
947
may not work since the C standard prohibits extern inline functions
948
from calling static functions (ISO C 99 section 6.7.4.(3).
949
This bug is known to occur on:
950
951
OS X 10.8 and earlier; see:
952
https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html
953
954
DragonFly; see
955
http://muscles.dragonflybsd.org/bulk/clang-master-potential/20141111_102002/logs/ah-tty-0.3.12.log
956
957
FreeBSD; see:
958
https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html
959
960
OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and
961
for clang but remains for g++; see <https://trac.macports.org/ticket/41033>.
962
Assume DragonFly and FreeBSD will be similar.
963
964
GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
965
inline semantics, unless -fgnu89-inline is used. It defines a macro
966
__GNUC_STDC_INLINE__ to indicate this situation or a macro
967
__GNUC_GNU_INLINE__ to indicate the opposite situation.
968
GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline
969
semantics but warns, unless -fgnu89-inline is used:
970
warning: C99 inline functions are not supported; using GNU89
971
warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute
972
It defines a macro __GNUC_GNU_INLINE__ to indicate this situation.
973
*/
974
#if (((defined __APPLE__ && defined __MACH__) \
975
|| defined __DragonFly__ || defined __FreeBSD__) \
976
&& (defined __header_inline \
977
? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \
978
&& ! defined __clang__) \
979
: ((! defined _DONT_USE_CTYPE_INLINE_ \
980
&& (defined __GNUC__ || defined __cplusplus)) \
981
|| (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \
982
&& defined __GNUC__ && ! defined __cplusplus))))
983
# define _GL_EXTERN_INLINE_STDHEADER_BUG
984
#endif
985
#if ((__GNUC__ \
986
? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \
987
: (199901L <= __STDC_VERSION__ \
988
&& !defined __HP_cc \
989
&& !defined __PGI \
990
&& !(defined __SUNPRO_C && __STDC__))) \
991
&& !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
992
# define _GL_INLINE inline
993
# define _GL_EXTERN_INLINE extern inline
994
# define _GL_EXTERN_INLINE_IN_USE
995
#elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \
996
&& !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
997
# if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__
998
/* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */
999
# define _GL_INLINE extern inline __attribute__ ((__gnu_inline__))
1000
# else
1001
# define _GL_INLINE extern inline
1002
# endif
1003
# define _GL_EXTERN_INLINE extern
1004
# define _GL_EXTERN_INLINE_IN_USE
1005
#else
1006
# define _GL_INLINE static _GL_UNUSED
1007
# define _GL_EXTERN_INLINE static _GL_UNUSED
1008
#endif
1009
1010
/* In GCC 4.6 (inclusive) to 5.1 (exclusive),
1011
suppress bogus "no previous prototype for 'FOO'"
1012
and "no previous declaration for 'FOO'" diagnostics,
1013
when FOO is an inline function in the header; see
1014
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113> and
1015
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>. */
1016
#if __GNUC__ == 4 && 6 <= __GNUC_MINOR__
1017
# if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__
1018
# define _GL_INLINE_HEADER_CONST_PRAGMA
1019
# else
1020
# define _GL_INLINE_HEADER_CONST_PRAGMA \
1021
_Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"")
1022
# endif
1023
# define _GL_INLINE_HEADER_BEGIN \
1024
_Pragma ("GCC diagnostic push") \
1025
_Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \
1026
_Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \
1027
_GL_INLINE_HEADER_CONST_PRAGMA
1028
# define _GL_INLINE_HEADER_END \
1029
_Pragma ("GCC diagnostic pop")
1030
#else
1031
# define _GL_INLINE_HEADER_BEGIN
1032
# define _GL_INLINE_HEADER_END
1033
#endif
1034
1035
/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
1036
the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
1037
earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
1038
__APPLE__ && __MACH__ test for Mac OS X.
1039
__APPLE_CC__ tests for the Apple compiler and its version.
1040
__STDC_VERSION__ tests for the C99 mode. */
1041
#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
1042
# define __GNUC_STDC_INLINE__ 1
1043
#endif
1044
1045
/* _GL_CMP (n1, n2) performs a three-valued comparison on n1 vs. n2, where
1046
n1 and n2 are expressions without side effects, that evaluate to real
1047
numbers (excluding NaN).
1048
It returns
1049
1 if n1 > n2
1050
0 if n1 == n2
1051
-1 if n1 < n2
1052
The naïve code (n1 > n2 ? 1 : n1 < n2 ? -1 : 0) produces a conditional
1053
jump with nearly all GCC versions up to GCC 10.
1054
This variant (n1 < n2 ? -1 : n1 > n2) produces a conditional with many
1055
GCC versions up to GCC 9.
1056
The better code (n1 > n2) - (n1 < n2) from Hacker's Delight § 2-9
1057
avoids conditional jumps in all GCC versions >= 3.4. */
1058
#define _GL_CMP(n1, n2) (((n1) > (n2)) - ((n1) < (n2)))
1059
1060
1061
/* Define to the equivalent of the C99 'restrict' keyword, or to
1062
nothing if this is not supported. Do not define if restrict is
1063
supported directly. */
1064
#define restrict __restrict
1065
/* Work around a bug in older versions of Sun C++, which did not
1066
#define __restrict__ or support _Restrict or __restrict__
1067
even though the corresponding Sun C compiler ended up with
1068
"#define restrict _Restrict" or "#define restrict __restrict__"
1069
in the previous line. This workaround can be removed once
1070
we assume Oracle Developer Studio 12.5 (2016) or later. */
1071
#if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__
1072
# define _Restrict
1073
# define __restrict__
1074
#endif
1075
1076
/* Define to `unsigned int' if <sys/types.h> does not define. */
1077
/* #undef size_t */
Generated on Wed Jun 1 2022 18:54:47 for pacemaker by
1.8.14