Differences From Artifact [96c544111a]:
- File
configure.ac
— part of check-in
[8897d12b45]
at
2018-03-10 19:57:14
on branch trunk
— configure: Check for INFINITY
If it is missing, check for __builtin_inf() and define it to that.
Otherwise, fail loudly. (user: js, size: 42594) [annotate] [blame] [check-ins using]
To Artifact [9dcc3f0bc7]:
- File configure.ac — part of check-in [f00a1da750] at 2018-03-10 20:24:42 on branch trunk — configure: Check for UINTPTR_MAX (user: js, size: 42849) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
566 567 568 569 570 571 572 573 574 575 576 577 578 579 | ], [ AC_MSG_RESULT(yes) ], [ AC_MSG_RESULT(no) AC_DEFINE(SSIZE_MAX, [((ssize_t)(SIZE_MAX / 2))], [Maximum value for ssize_t]) ]) AC_CHECK_HEADER(sys/types.h, [AC_DEFINE(OF_HAVE_SYS_TYPES_H, 1, [Whether we have <sys/types.h>])]) AC_CHECK_TYPE(max_align_t, [AC_DEFINE(OF_HAVE_MAX_ALIGN_T, 1, [Whether we have max_align_t])]) | > > > > > > > > > > > > > > | 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 | ], [ AC_MSG_RESULT(yes) ], [ AC_MSG_RESULT(no) AC_DEFINE(SSIZE_MAX, [((ssize_t)(SIZE_MAX / 2))], [Maximum value for ssize_t]) ]) AC_MSG_CHECKING(for UINTPTR_MAX) AC_EGREP_CPP(yes, [ #include <stdint.h> #include <limits.h> #ifdef UINTPTR_MAX yes #endif ], [ AC_MSG_RESULT(yes) ], [ AC_MSG_RESULT(no) AC_DEFINE(UINTPTR_MAX, [(~(uintptr_t)0)], [Maximum value for uintptr_t]) ]) AC_CHECK_HEADER(sys/types.h, [AC_DEFINE(OF_HAVE_SYS_TYPES_H, 1, [Whether we have <sys/types.h>])]) AC_CHECK_TYPE(max_align_t, [AC_DEFINE(OF_HAVE_MAX_ALIGN_T, 1, [Whether we have max_align_t])]) |
︙ | ︙ |