pacemaker  2.1.4-dc6eb4362e
Scalable High-Availability cluster resource manager
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 "dc6eb4362e"
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/lib/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 lha monotonic nagios ncurses 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 "/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 "/run/crm"
49 
50 /* Define to 1 if translation of program messages to the user's native
51  language is requested. */
52 /* #undef ENABLE_NLS */
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 /* #undef HAVE_DCGETTEXT */
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 /* #undef HAVE_GETTEXT */
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 #define HAVE_LIBPILS 1
237 
238 /* Define to 1 if you have the `plumb' library (-lplumb). */
239 #define HAVE_LIBPLUMB 1
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 `nanosleep' function. */
278 #define HAVE_NANOSLEEP 1
279 
280 /* Define to 1 if you have the <ncurses.h> header file. */
281 #define HAVE_NCURSES_H 1
282 
283 /* Define to 1 if you have the <ncurses/ncurses.h> header file. */
284 /* #undef HAVE_NCURSES_NCURSES_H */
285 
286 /* Define to 1 if you have the <netdb.h> header file. */
287 #define HAVE_NETDB_H 1
288 
289 /* Define to 1 if you have the <netinet/in.h> header file. */
290 #define HAVE_NETINET_IN_H 1
291 
292 /* Define to 1 if you have the <netinet/ip.h> header file. */
293 #define HAVE_NETINET_IP_H 1
294 
295 /* Define to 1 if you have the `NoSuchFunctionName' function. */
296 /* #undef HAVE_NOSUCHFUNCTIONNAME */
297 
298 /* Define to 1 if you have the `opendir' function. */
299 #define HAVE_OPENDIR 1
300 
301 /* Define to 1 if libcrypto is used for MD5. */
302 /* #undef HAVE_OPENSSL_MD5 */
303 
304 /* Define to 1 if you have the <openssl/md5.h> header file. */
305 /* #undef HAVE_OPENSSL_MD5_H */
306 
307 /* Define to 1 if you have the <pam/pam_appl.h> header file. */
308 /* #undef HAVE_PAM_PAM_APPL_H */
309 
310 /* Define if libtool can extract symbol lists from object files. */
311 #define HAVE_PRELOADED_SYMBOLS 1
312 
313 /* Define to 1 if you have the <pwd.h> header file. */
314 #define HAVE_PWD_H 1
315 
316 /* Define to 1 if you have the `qb_ipcc_auth_get' function. */
317 #define HAVE_QB_IPCC_AUTH_GET 1
318 
319 /* Define to 1 if you have the `qb_ipcc_connect_async' function. */
320 #define HAVE_QB_IPCC_CONNECT_ASYNC 1
321 
322 /* Define to 1 if you have the `readdir' function. */
323 #define HAVE_READDIR 1
324 
325 /* Define to 1 if you have the `scandir' function. */
326 #define HAVE_SCANDIR 1
327 
328 /* Define to 1 if you have the `sched_setscheduler' function. */
329 #define HAVE_SCHED_SETSCHEDULER 1
330 
331 /* Define to 1 if you have the <security/pam_appl.h> header file. */
332 #define HAVE_SECURITY_PAM_APPL_H 1
333 
334 /* Define if you have the shl_load function. */
335 /* #undef HAVE_SHL_LOAD */
336 
337 /* Define to 1 if sighandler_t is available */
338 /* #undef HAVE_SIGHANDLER_T */
339 
340 /* Define to 1 if you have the <signal.h> header file. */
341 #define HAVE_SIGNAL_H 1
342 
343 /* Define to 1 if you have the <stddef.h> header file. */
344 #define HAVE_STDDEF_H 1
345 
346 /* Define to 1 if you have the <stdint.h> header file. */
347 #define HAVE_STDINT_H 1
348 
349 /* Define to 1 if you have the <stdio.h> header file. */
350 #define HAVE_STDIO_H 1
351 
352 /* Define to 1 if you have the <stdlib.h> header file. */
353 #define HAVE_STDLIB_H 1
354 
355 /* Define to 1 if you have the <stonith/stonith.h> header file. */
356 #define HAVE_STONITH_STONITH_H 1
357 
358 /* Define to 1 if you have the `strchrnul' function. */
359 #define HAVE_STRCHRNUL 1
360 
361 /* Define to 1 if you have the `strerror' function. */
362 #define HAVE_STRERROR 1
363 
364 /* Define to 1 if you have the <strings.h> header file. */
365 #define HAVE_STRINGS_H 1
366 
367 /* Define to 1 if you have the <string.h> header file. */
368 #define HAVE_STRING_H 1
369 
370 /* Define to 1 if you have the `strlcat' function. */
371 /* #undef HAVE_STRLCAT */
372 
373 /* Define to 1 if you have the `strlcpy' function. */
374 /* #undef HAVE_STRLCPY */
375 
376 /* Define to 1 if you have the `strndup' function. */
377 #define HAVE_STRNDUP 1
378 
379 /* Define to 1 if you have the `strnlen' function. */
380 #define HAVE_STRNLEN 1
381 
382 /* Define this if struct dirent has d_type */
383 #define HAVE_STRUCT_DIRENT_D_TYPE 1
384 
385 /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */
386 #define HAVE_STRUCT_TM_TM_GMTOFF 1
387 
388 /* Define to 1 if you have the <sys/dl.h> header file. */
389 /* #undef HAVE_SYS_DL_H */
390 
391 /* Define to 1 if you have the <sys/ioctl.h> header file. */
392 #define HAVE_SYS_IOCTL_H 1
393 
394 /* Define to 1 if you have the <sys/param.h> header file. */
395 #define HAVE_SYS_PARAM_H 1
396 
397 /* Define to 1 if you have the <sys/reboot.h> header file. */
398 #define HAVE_SYS_REBOOT_H 1
399 
400 /* Define to 1 if you have the <sys/resource.h> header file. */
401 #define HAVE_SYS_RESOURCE_H 1
402 
403 /* Define to 1 if you have the <sys/signalfd.h> header file. */
404 #define HAVE_SYS_SIGNALFD_H 1
405 
406 /* Define to 1 if you have the <sys/socket.h> header file. */
407 #define HAVE_SYS_SOCKET_H 1
408 
409 /* Define to 1 if you have the <sys/stat.h> header file. */
410 #define HAVE_SYS_STAT_H 1
411 
412 /* Define to 1 if you have the <sys/time.h> header file. */
413 #define HAVE_SYS_TIME_H 1
414 
415 /* Define to 1 if you have the <sys/types.h> header file. */
416 #define HAVE_SYS_TYPES_H 1
417 
418 /* Define to 1 if you have the <sys/utsname.h> header file. */
419 #define HAVE_SYS_UTSNAME_H 1
420 
421 /* Define to 1 if you have the <sys/wait.h> header file. */
422 #define HAVE_SYS_WAIT_H 1
423 
424 /* Define to 1 if you have the <time.h> header file. */
425 #define HAVE_TIME_H 1
426 
427 /* Define to 1 if you have the <unistd.h> header file. */
428 #define HAVE_UNISTD_H 1
429 
430 /* Define to 1 if you have the `usleep' function. */
431 #define HAVE_USLEEP 1
432 
433 /* Define to 1 if you have the `uuid_unparse' function. */
434 #define HAVE_UUID_UNPARSE 1
435 
436 /* Define to 1 if you have the <uuid/uuid.h> header file. */
437 #define HAVE_UUID_UUID_H 1
438 
439 /* This value is set to 1 to indicate that the system argz facility works */
440 #define HAVE_WORKING_ARGZ 1
441 
442 /* */
443 /* #undef HAVE___PROGNAME */
444 
445 /* Whether enum qb_log_conf supports QB_LOG_CONF_ELLIPSIS */
446 #define HAVE_qb_log_conf_QB_LOG_CONF_ELLIPSIS 1
447 
448 /* Whether enum qb_log_conf supports QB_LOG_CONF_MAX_LINE_LEN */
449 #define HAVE_qb_log_conf_QB_LOG_CONF_MAX_LINE_LEN 1
450 
451 /* Location for CIB secrets */
452 #define LRM_CIBSECRETS_DIR "/var/lib/pacemaker/lrm/secrets"
453 
454 /* Define if the OS needs help to load dependent libraries for dlopen(). */
455 /* #undef LTDL_DLOPEN_DEPLIBS */
456 
457 /* Define to the system default library search path. */
458 #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/local/lib:/usr/local/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu"
459 
460 /* The archive extension */
461 #define LT_LIBEXT "a"
462 
463 /* The archive prefix */
464 #define LT_LIBPREFIX "lib"
465 
466 /* Define to the extension used for runtime loadable modules, say, ".so". */
467 #define LT_MODULE_EXT ".so"
468 
469 /* Define to the name of the environment variable that determines the run-time
470  module search path. */
471 #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
472 
473 /* Define to the sub-directory where libtool stores uninstalled libraries. */
474 #define LT_OBJDIR ".libs/"
475 
476 /* Define to the shared library suffix, say, ".dylib". */
477 /* #undef LT_SHARED_EXT */
478 
479 /* Define to the shared archive member specification, say "(shr.o)". */
480 /* #undef LT_SHARED_LIB_MEMBER */
481 
482 /* Directory for nagios plugins metadata */
483 #define NAGIOS_METADATA_DIR "/usr/share/nagios/plugins-metadata"
484 
485 /* Directory for nagios plugins */
486 #define NAGIOS_PLUGIN_DIR "/usr/lib/nagios/plugins"
487 
488 /* Define if dlsym() requires a leading underscore in symbol names. */
489 /* #undef NEED_USCORE */
490 
491 /* OCF directories to search for resource agents */
492 #define OCF_RA_PATH "/usr/lib/ocf/resource.d"
493 
494 /* OCF root directory for resource agents and libraries */
495 #define OCF_ROOT_DIR "/usr/lib/ocf"
496 
497 /* Where to keep configuration files like authkey */
498 #define PACEMAKER_CONFIG_DIR "/etc/pacemaker"
499 
500 /* Version number of this Pacemaker build */
501 #define PACEMAKER_VERSION "2.1.4"
502 
503 /* Name of package */
504 #define PACKAGE "pacemaker"
505 
506 /* Define to the address where bug reports for this package should be sent. */
507 #define PACKAGE_BUGREPORT "users@clusterlabs.org"
508 
509 /* Define to the full name of this package. */
510 #define PACKAGE_NAME "pacemaker"
511 
512 /* Define to the full name and version of this package. */
513 #define PACKAGE_STRING "pacemaker 2.1.4"
514 
515 /* Define to the one symbol short name of this package. */
516 #define PACKAGE_TARNAME "pacemaker"
517 
518 /* Define to the home page for this package. */
519 #define PACKAGE_URL "https://ClusterLabs.org/pacemaker/"
520 
521 /* Define to the version of this package. */
522 #define PACKAGE_VERSION "2.1.4"
523 
524 /* GnuTLS cipher priorities */
525 #define PCMK_GNUTLS_PRIORITIES "NORMAL"
526 
527 /* Location for modifiable per-process data */
528 #define PCMK_RUN_DIR "/run"
529 
530 /* Keep certain output compatible with 2.0 release series */
531 /* #undef PCMK__COMPAT_2_0 */
532 
533 /* Default value for concurrent-fencing cluster option */
534 #define PCMK__CONCURRENT_FENCING_DEFAULT "false"
535 
536 /* Location for executable fence agents */
537 #define PCMK__FENCE_BINDIR "/usr/sbin"
538 
539 /* Base directory for message catalogs */
540 #define PCMK__LOCALE_DIR "/usr/share/locale"
541 
542 /* Location for LSB init scripts */
543 #define PCMK__LSB_INIT_DIR "/etc/init.d"
544 
545 /* Default value for resource-stickiness resource meta-attribute */
546 #define PCMK__RESOURCE_STICKINESS_DEFAULT 0
547 
548 /* Default value for SBD_SYNC_RESOURCE_STARTUP environment variable */
549 #define PCMK__SBD_SYNC_DEFAULT false
550 
551 /* Where to keep scheduler outputs */
552 #define PE_STATE_DIR "/var/lib/pacemaker/pengine"
553 
554 /* Location for system binaries */
555 #define SBIN_DIR "/usr/sbin"
556 
557 /* The size of `char', as computed by sizeof. */
558 #define SIZEOF_CHAR 1
559 
560 /* The size of `int', as computed by sizeof. */
561 #define SIZEOF_INT 4
562 
563 /* The size of `long', as computed by sizeof. */
564 #define SIZEOF_LONG 8
565 
566 /* The size of `long long', as computed by sizeof. */
567 #define SIZEOF_LONG_LONG 8
568 
569 /* The size of `short', as computed by sizeof. */
570 #define SIZEOF_SHORT 2
571 
572 /* */
573 #define SSCANF_HAS_M 1
574 
575 /* Define to 1 if all of the C90 standard headers exist (not just the ones
576  required in a freestanding environment). This macro is provided for
577  backward compatibility; new code need not use it. */
578 #define STDC_HEADERS 1
579 
580 /* Support CIB secrets */
581 #define SUPPORT_CIBSECRETS 1
582 
583 /* Support the Corosync messaging and membership layer */
584 #define SUPPORT_COROSYNC 1
585 
586 /* Support dbus */
587 #define SUPPORT_DBUS 1
588 
589 /* Support nagios plugins */
590 #define SUPPORT_NAGIOS 1
591 
592 /* Define to 1 if procfs is supported */
593 #define SUPPORT_PROCFS 1
594 
595 /* Support profiling */
596 #define SUPPORT_PROFILING 0
597 
598 /* Support systemd resources */
599 #define SUPPORT_SYSTEMD 1
600 
601 /* Support Upstart resources */
602 #define SUPPORT_UPSTART 0
603 
604 /* Correct format specifier for U32T */
605 #define U32T PRIu32
606 
607 /* Correct format specifier for U64T */
608 #define U64T PRIu64
609 
610 /* Correct format specifier for U64TS */
611 #define U64TS SCNu64
612 
613 /* Define if Unix socket auth method is getpeereid(s, &uid, &gid) */
614 /* #undef US_AUTH_GETPEEREID */
615 
616 /* Define if Unix socket auth method is getpeercred(s, &ucred) */
617 /* #undef US_AUTH_GETPEERUCRED */
618 
619 /* Define if Unix socket auth method is getsockopt(s, SO_PEERCRED,
620  &sockpeercred, ...) */
621 /* #undef US_AUTH_PEERCRED_SOCKPEERCRED */
622 
623 /* Define if Unix socket auth method is getsockopt(s, SO_PEERCRED, &ucred,
624  ...) */
625 #define US_AUTH_PEERCRED_UCRED 1
626 
627 /* Valgrind command */
628 #define VALGRIND_BIN "/usr/bin/valgrind"
629 
630 /* Version number of package */
631 #define VERSION "2.1.4"
632 
633 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
634  significant byte first (like Motorola and SPARC, unlike Intel). */
635 #if defined AC_APPLE_UNIVERSAL_BUILD
636 # if defined __BIG_ENDIAN__
637 # define WORDS_BIGENDIAN 1
638 # endif
639 #else
640 # ifndef WORDS_BIGENDIAN
641 /* # undef WORDS_BIGENDIAN */
642 # endif
643 #endif
644 
645 /* Correct format specifier for X32T */
646 #define X32T PRIx32
647 
648 /* True if the compiler says it groks GNU C version MAJOR.MINOR. */
649 #if defined __GNUC__ && defined __GNUC_MINOR__
650 # define _GL_GNUC_PREREQ(major, minor) \
651  ((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__))
652 #else
653 # define _GL_GNUC_PREREQ(major, minor) 0
654 #endif
655 
656 
657 /* The _Noreturn keyword of C11. */
658 #ifndef _Noreturn
659 # if (defined __cplusplus \
660  && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \
661  || (defined _MSC_VER && 1900 <= _MSC_VER)) \
662  && 0)
663  /* [[noreturn]] is not practically usable, because with it the syntax
664  extern _Noreturn void func (...);
665  would not be valid; such a declaration would only be valid with 'extern'
666  and '_Noreturn' swapped, or without the 'extern' keyword. However, some
667  AIX system header files and several gnulib header files use precisely
668  this syntax with 'extern'. */
669 # define _Noreturn [[noreturn]]
670 # elif ((!defined __cplusplus || defined __clang__) \
671  && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \
672  || _GL_GNUC_PREREQ (4, 7) \
673  || (defined __apple_build_version__ \
674  ? 6000000 <= __apple_build_version__ \
675  : 3 < __clang_major__ + (5 <= __clang_minor__))))
676  /* _Noreturn works as-is. */
677 # elif _GL_GNUC_PREREQ (2, 8) || defined __clang__ || 0x5110 <= __SUNPRO_C
678 # define _Noreturn __attribute__ ((__noreturn__))
679 # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0)
680 # define _Noreturn __declspec (noreturn)
681 # else
682 # define _Noreturn
683 # endif
684 #endif
685 
686 
687 /* Define so that glibc/gnulib argp.h does not typedef error_t. */
688 /* #undef __error_t_defined */
689 
690 /* The _GL_ASYNC_SAFE marker should be attached to functions that are
691  signal handlers (for signals other than SIGABRT, SIGPIPE) or can be
692  invoked from such signal handlers. Such functions have some restrictions:
693  * All functions that it calls should be marked _GL_ASYNC_SAFE as well,
694  or should be listed as async-signal-safe in POSIX
695  <https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04>
696  section 2.4.3. Note that malloc(), sprintf(), and fwrite(), in
697  particular, are NOT async-signal-safe.
698  * All memory locations (variables and struct fields) that these functions
699  access must be marked 'volatile'. This holds for both read and write
700  accesses. Otherwise the compiler might optimize away stores to and
701  reads from such locations that occur in the program, depending on its
702  data flow analysis. For example, when the program contains a loop
703  that is intended to inspect a variable set from within a signal handler
704  while (!signal_occurred)
705  ;
706  the compiler is allowed to transform this into an endless loop if the
707  variable 'signal_occurred' is not declared 'volatile'.
708  Additionally, recall that:
709  * A signal handler should not modify errno (except if it is a handler
710  for a fatal signal and ends by raising the same signal again, thus
711  provoking the termination of the process). If it invokes a function
712  that may clobber errno, it needs to save and restore the value of
713  errno. */
714 #define _GL_ASYNC_SAFE
715 
716 
717 /* Attributes. */
718 #ifdef __has_attribute
719 # define _GL_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__)
720 #else
721 # define _GL_HAS_ATTRIBUTE(attr) _GL_ATTR_##attr
722 # define _GL_ATTR_alloc_size _GL_GNUC_PREREQ (4, 3)
723 # define _GL_ATTR_always_inline _GL_GNUC_PREREQ (3, 2)
724 # define _GL_ATTR_artificial _GL_GNUC_PREREQ (4, 3)
725 # define _GL_ATTR_cold _GL_GNUC_PREREQ (4, 3)
726 # define _GL_ATTR_const _GL_GNUC_PREREQ (2, 95)
727 # define _GL_ATTR_deprecated _GL_GNUC_PREREQ (3, 1)
728 # define _GL_ATTR_diagnose_if 0
729 # define _GL_ATTR_error _GL_GNUC_PREREQ (4, 3)
730 # define _GL_ATTR_externally_visible _GL_GNUC_PREREQ (4, 1)
731 # define _GL_ATTR_fallthrough _GL_GNUC_PREREQ (7, 0)
732 # define _GL_ATTR_format _GL_GNUC_PREREQ (2, 7)
733 # define _GL_ATTR_leaf _GL_GNUC_PREREQ (4, 6)
734 # ifdef _ICC
735 # define _GL_ATTR_may_alias 0
736 # else
737 # define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3)
738 # endif
739 # define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0)
740 # define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1)
741 # define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3)
742 # define _GL_ATTR_nonstring _GL_GNUC_PREREQ (8, 0)
743 # define _GL_ATTR_nothrow _GL_GNUC_PREREQ (3, 3)
744 # define _GL_ATTR_packed _GL_GNUC_PREREQ (2, 7)
745 # define _GL_ATTR_pure _GL_GNUC_PREREQ (2, 96)
746 # define _GL_ATTR_returns_nonnull _GL_GNUC_PREREQ (4, 9)
747 # define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0)
748 # define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7)
749 # define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4)
750 #endif
751 
752 
753 #if _GL_HAS_ATTRIBUTE (alloc_size)
754 # define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args))
755 #else
756 # define _GL_ATTRIBUTE_ALLOC_SIZE(args)
757 #endif
758 
759 #if _GL_HAS_ATTRIBUTE (always_inline)
760 # define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__))
761 #else
762 # define _GL_ATTRIBUTE_ALWAYS_INLINE
763 #endif
764 
765 #if _GL_HAS_ATTRIBUTE (artificial)
766 # define _GL_ATTRIBUTE_ARTIFICIAL __attribute__ ((__artificial__))
767 #else
768 # define _GL_ATTRIBUTE_ARTIFICIAL
769 #endif
770 
771 /* Avoid __attribute__ ((cold)) on MinGW; see thread starting at
772  <https://lists.gnu.org/r/emacs-devel/2019-04/msg01152.html>.
773  Also, Oracle Studio 12.6 requires 'cold' not '__cold__'. */
774 #if _GL_HAS_ATTRIBUTE (cold) && !defined __MINGW32__
775 # ifndef __SUNPRO_C
776 # define _GL_ATTRIBUTE_COLD __attribute__ ((__cold__))
777 # else
778 # define _GL_ATTRIBUTE_COLD __attribute__ ((cold))
779 # endif
780 #else
781 # define _GL_ATTRIBUTE_COLD
782 #endif
783 
784 #if _GL_HAS_ATTRIBUTE (const)
785 # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
786 #else
787 # define _GL_ATTRIBUTE_CONST
788 #endif
789 
790 #if 201710L < __STDC_VERSION__
791 # define _GL_ATTRIBUTE_DEPRECATED [[__deprecated__]]
792 #elif _GL_HAS_ATTRIBUTE (deprecated)
793 # define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__))
794 #else
795 # define _GL_ATTRIBUTE_DEPRECATED
796 #endif
797 
798 #if _GL_HAS_ATTRIBUTE (error)
799 # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__error__ (msg)))
800 # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__warning__ (msg)))
801 #elif _GL_HAS_ATTRIBUTE (diagnose_if)
802 # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__diagnose_if__ (1, msg, "error")))
803 # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__diagnose_if__ (1, msg, "warning")))
804 #else
805 # define _GL_ATTRIBUTE_ERROR(msg)
806 # define _GL_ATTRIBUTE_WARNING(msg)
807 #endif
808 
809 #if _GL_HAS_ATTRIBUTE (externally_visible)
810 # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible))
811 #else
812 # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE
813 #endif
814 
815 /* FALLTHROUGH is special, because it always expands to something. */
816 #if 201710L < __STDC_VERSION__
817 # define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]]
818 #elif _GL_HAS_ATTRIBUTE (fallthrough)
819 # define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__))
820 #else
821 # define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0)
822 #endif
823 
824 #if _GL_HAS_ATTRIBUTE (format)
825 # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec))
826 #else
827 # define _GL_ATTRIBUTE_FORMAT(spec)
828 #endif
829 
830 #if _GL_HAS_ATTRIBUTE (leaf)
831 # define _GL_ATTRIBUTE_LEAF __attribute__ ((__leaf__))
832 #else
833 # define _GL_ATTRIBUTE_LEAF
834 #endif
835 
836 /* Oracle Studio 12.6 mishandles may_alias despite __has_attribute OK. */
837 #if _GL_HAS_ATTRIBUTE (may_alias) && !defined __SUNPRO_C
838 # define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__))
839 #else
840 # define _GL_ATTRIBUTE_MAY_ALIAS
841 #endif
842 
843 #if 201710L < __STDC_VERSION__
844 # define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
845 #elif _GL_HAS_ATTRIBUTE (unused)
846 # define _GL_ATTRIBUTE_MAYBE_UNUSED __attribute__ ((__unused__))
847 #else
848 # define _GL_ATTRIBUTE_MAYBE_UNUSED
849 #endif
850 /* Earlier spellings of this macro. */
851 #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
852 #define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED
853 
854 #if _GL_HAS_ATTRIBUTE (malloc)
855 # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__))
856 #else
857 # define _GL_ATTRIBUTE_MALLOC
858 #endif
859 
860 #if 201710L < __STDC_VERSION__
861 # define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]]
862 #elif _GL_HAS_ATTRIBUTE (warn_unused_result)
863 # define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__))
864 #else
865 # define _GL_ATTRIBUTE_NODISCARD
866 #endif
867 
868 #if _GL_HAS_ATTRIBUTE (noinline)
869 # define _GL_ATTRIBUTE_NOINLINE __attribute__ ((__noinline__))
870 #else
871 # define _GL_ATTRIBUTE_NOINLINE
872 #endif
873 
874 #if _GL_HAS_ATTRIBUTE (nonnull)
875 # define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args))
876 #else
877 # define _GL_ATTRIBUTE_NONNULL(args)
878 #endif
879 
880 #if _GL_HAS_ATTRIBUTE (nonstring)
881 # define _GL_ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__))
882 #else
883 # define _GL_ATTRIBUTE_NONSTRING
884 #endif
885 
886 /* There is no _GL_ATTRIBUTE_NORETURN; use _Noreturn instead. */
887 
888 #if _GL_HAS_ATTRIBUTE (nothrow) && !defined __cplusplus
889 # define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__))
890 #else
891 # define _GL_ATTRIBUTE_NOTHROW
892 #endif
893 
894 #if _GL_HAS_ATTRIBUTE (packed)
895 # define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__))
896 #else
897 # define _GL_ATTRIBUTE_PACKED
898 #endif
899 
900 #if _GL_HAS_ATTRIBUTE (pure)
901 # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
902 #else
903 # define _GL_ATTRIBUTE_PURE
904 #endif
905 
906 #if _GL_HAS_ATTRIBUTE (returns_nonnull)
907 # define _GL_ATTRIBUTE_RETURNS_NONNULL __attribute__ ((__returns_nonnull__))
908 #else
909 # define _GL_ATTRIBUTE_RETURNS_NONNULL
910 #endif
911 
912 #if _GL_HAS_ATTRIBUTE (sentinel)
913 # define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos))
914 #else
915 # define _GL_ATTRIBUTE_SENTINEL(pos)
916 #endif
917 
918 
919 /* To support C++ as well as C, use _GL_UNUSED_LABEL with trailing ';'. */
920 #if !defined __cplusplus || _GL_GNUC_PREREQ (4, 5)
921 # define _GL_UNUSED_LABEL _GL_ATTRIBUTE_MAYBE_UNUSED
922 #else
923 # define _GL_UNUSED_LABEL
924 #endif
925 
926 
927 /* Define to a type to use for 'error_t' if it is not otherwise available. */
928 /* #undef error_t */
929 
930 /* Please see the Gnulib manual for how to use these macros.
931 
932  Suppress extern inline with HP-UX cc, as it appears to be broken; see
933  <https://lists.gnu.org/r/bug-texinfo/2013-02/msg00030.html>.
934 
935  Suppress extern inline with Sun C in standards-conformance mode, as it
936  mishandles inline functions that call each other. E.g., for 'inline void f
937  (void) { } inline void g (void) { f (); }', c99 incorrectly complains
938  'reference to static identifier "f" in extern inline function'.
939  This bug was observed with Sun C 5.12 SunOS_i386 2011/11/16.
940 
941  Suppress extern inline (with or without __attribute__ ((__gnu_inline__)))
942  on configurations that mistakenly use 'static inline' to implement
943  functions or macros in standard C headers like <ctype.h>. For example,
944  if isdigit is mistakenly implemented via a static inline function,
945  a program containing an extern inline function that calls isdigit
946  may not work since the C standard prohibits extern inline functions
947  from calling static functions (ISO C 99 section 6.7.4.(3).
948  This bug is known to occur on:
949 
950  OS X 10.8 and earlier; see:
951  https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html
952 
953  DragonFly; see
954  http://muscles.dragonflybsd.org/bulk/clang-master-potential/20141111_102002/logs/ah-tty-0.3.12.log
955 
956  FreeBSD; see:
957  https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html
958 
959  OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and
960  for clang but remains for g++; see <https://trac.macports.org/ticket/41033>.
961  Assume DragonFly and FreeBSD will be similar.
962 
963  GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
964  inline semantics, unless -fgnu89-inline is used. It defines a macro
965  __GNUC_STDC_INLINE__ to indicate this situation or a macro
966  __GNUC_GNU_INLINE__ to indicate the opposite situation.
967  GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline
968  semantics but warns, unless -fgnu89-inline is used:
969  warning: C99 inline functions are not supported; using GNU89
970  warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute
971  It defines a macro __GNUC_GNU_INLINE__ to indicate this situation.
972  */
973 #if (((defined __APPLE__ && defined __MACH__) \
974  || defined __DragonFly__ || defined __FreeBSD__) \
975  && (defined __header_inline \
976  ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \
977  && ! defined __clang__) \
978  : ((! defined _DONT_USE_CTYPE_INLINE_ \
979  && (defined __GNUC__ || defined __cplusplus)) \
980  || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \
981  && defined __GNUC__ && ! defined __cplusplus))))
982 # define _GL_EXTERN_INLINE_STDHEADER_BUG
983 #endif
984 #if ((__GNUC__ \
985  ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \
986  : (199901L <= __STDC_VERSION__ \
987  && !defined __HP_cc \
988  && !defined __PGI \
989  && !(defined __SUNPRO_C && __STDC__))) \
990  && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
991 # define _GL_INLINE inline
992 # define _GL_EXTERN_INLINE extern inline
993 # define _GL_EXTERN_INLINE_IN_USE
994 #elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \
995  && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
996 # if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__
997  /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */
998 # define _GL_INLINE extern inline __attribute__ ((__gnu_inline__))
999 # else
1000 # define _GL_INLINE extern inline
1001 # endif
1002 # define _GL_EXTERN_INLINE extern
1003 # define _GL_EXTERN_INLINE_IN_USE
1004 #else
1005 # define _GL_INLINE static _GL_UNUSED
1006 # define _GL_EXTERN_INLINE static _GL_UNUSED
1007 #endif
1008 
1009 /* In GCC 4.6 (inclusive) to 5.1 (exclusive),
1010  suppress bogus "no previous prototype for 'FOO'"
1011  and "no previous declaration for 'FOO'" diagnostics,
1012  when FOO is an inline function in the header; see
1013  <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113> and
1014  <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>. */
1015 #if __GNUC__ == 4 && 6 <= __GNUC_MINOR__
1016 # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__
1017 # define _GL_INLINE_HEADER_CONST_PRAGMA
1018 # else
1019 # define _GL_INLINE_HEADER_CONST_PRAGMA \
1020  _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"")
1021 # endif
1022 # define _GL_INLINE_HEADER_BEGIN \
1023  _Pragma ("GCC diagnostic push") \
1024  _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \
1025  _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \
1026  _GL_INLINE_HEADER_CONST_PRAGMA
1027 # define _GL_INLINE_HEADER_END \
1028  _Pragma ("GCC diagnostic pop")
1029 #else
1030 # define _GL_INLINE_HEADER_BEGIN
1031 # define _GL_INLINE_HEADER_END
1032 #endif
1033 
1034 /* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
1035  the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
1036  earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
1037  __APPLE__ && __MACH__ test for Mac OS X.
1038  __APPLE_CC__ tests for the Apple compiler and its version.
1039  __STDC_VERSION__ tests for the C99 mode. */
1040 #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
1041 # define __GNUC_STDC_INLINE__ 1
1042 #endif
1043 
1044 /* _GL_CMP (n1, n2) performs a three-valued comparison on n1 vs. n2, where
1045  n1 and n2 are expressions without side effects, that evaluate to real
1046  numbers (excluding NaN).
1047  It returns
1048  1 if n1 > n2
1049  0 if n1 == n2
1050  -1 if n1 < n2
1051  The naïve code (n1 > n2 ? 1 : n1 < n2 ? -1 : 0) produces a conditional
1052  jump with nearly all GCC versions up to GCC 10.
1053  This variant (n1 < n2 ? -1 : n1 > n2) produces a conditional with many
1054  GCC versions up to GCC 9.
1055  The better code (n1 > n2) - (n1 < n2) from Hacker's Delight § 2-9
1056  avoids conditional jumps in all GCC versions >= 3.4. */
1057 #define _GL_CMP(n1, n2) (((n1) > (n2)) - ((n1) < (n2)))
1058 
1059 
1060 /* Define to the equivalent of the C99 'restrict' keyword, or to
1061  nothing if this is not supported. Do not define if restrict is
1062  supported directly. */
1063 #define restrict __restrict
1064 /* Work around a bug in older versions of Sun C++, which did not
1065  #define __restrict__ or support _Restrict or __restrict__
1066  even though the corresponding Sun C compiler ended up with
1067  "#define restrict _Restrict" or "#define restrict __restrict__"
1068  in the previous line. This workaround can be removed once
1069  we assume Oracle Developer Studio 12.5 (2016) or later. */
1070 #if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__
1071 # define _Restrict
1072 # define __restrict__
1073 #endif
1074 
1075 /* Define to `unsigned int' if <sys/types.h> does not define. */
1076 /* #undef size_t */