root/include/config.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


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

/* [previous][next][first][last][top][bottom][index][help] */