diff options
author | daurnimator <quae@daurnimator.com> | 2017-08-29 17:08:57 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-08-29 17:08:57 +1000 |
commit | 75218ba665c45e29d06b963529d300805c6b0ba6 (patch) | |
tree | 64696f0a84a3fef8c394b86ab06a677613f4f530 | |
parent | 588c9c31403e03cede6a8edd2c259e88e271852e (diff) | |
download | luaossl-75218ba665c45e29d06b963529d300805c6b0ba6.tar.gz luaossl-75218ba665c45e29d06b963529d300805c6b0ba6.tar.bz2 luaossl-75218ba665c45e29d06b963529d300805c6b0ba6.zip |
config.h.guess: Update to new autoguess
-rw-r--r-- | config.h.guess | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/config.h.guess b/config.h.guess index 9b5fcdc..db17fc7 100644 --- a/config.h.guess +++ b/config.h.guess | |||
@@ -34,7 +34,7 @@ | |||
34 | * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | 34 | * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ |
35 | 35 | ||
36 | #define AG_VENDOR "william+autoguess@25thandClement.com" | 36 | #define AG_VENDOR "william+autoguess@25thandClement.com" |
37 | #define AG_VERSION 20161019L | 37 | #define AG_VERSION 20170511L |
38 | 38 | ||
39 | 39 | ||
40 | /* | 40 | /* |
@@ -347,6 +347,7 @@ | |||
347 | 347 | ||
348 | #define AG_OPENBSD_PREREQ_0_0 (__OpenBSD__) | 348 | #define AG_OPENBSD_PREREQ_0_0 (__OpenBSD__) |
349 | #define AG_OPENBSD_PREREQ_5_5 (OpenBSD >= 201405) | 349 | #define AG_OPENBSD_PREREQ_5_5 (OpenBSD >= 201405) |
350 | #define AG_OPENBSD_PREREQ_5_6 (OpenBSD >= 201411) | ||
350 | #define AG_OPENBSD_PREREQ_5_7 (OpenBSD >= 201505) | 351 | #define AG_OPENBSD_PREREQ_5_7 (OpenBSD >= 201505) |
351 | #define AG_OPENBSD_PREREQ(M, m) (AG_OPENBSD_PREREQ_ ## M ## _ ## m) | 352 | #define AG_OPENBSD_PREREQ(M, m) (AG_OPENBSD_PREREQ_ ## M ## _ ## m) |
352 | 353 | ||
@@ -488,6 +489,11 @@ | |||
488 | #define HAVE_SYS_INOTIFY_H ag_test_include(<sys/inotify.h>, __linux__) | 489 | #define HAVE_SYS_INOTIFY_H ag_test_include(<sys/inotify.h>, __linux__) |
489 | #endif | 490 | #endif |
490 | 491 | ||
492 | #ifndef HAVE_SYS_RANDOM_H | ||
493 | #define HAVE_SYS_RANDOM_H_ (__sun && defined SYS_getrandom) /* requires #include <sys/syscall.h> :( */ | ||
494 | #define HAVE_SYS_RANDOM_H ag_test_include(<sys/random.h>, HAVE_SYS_RANDOM_H_) | ||
495 | #endif | ||
496 | |||
491 | #ifndef HAVE_SYS_SIGNALFD_H | 497 | #ifndef HAVE_SYS_SIGNALFD_H |
492 | #define HAVE_SYS_SIGNALFD_H_ (AG_GLIBC_PREREQ(2,8) || (!AG_GLIBC_PREREQ(0,0) && __linux__) || defined SFD_CLOEXEC) | 498 | #define HAVE_SYS_SIGNALFD_H_ (AG_GLIBC_PREREQ(2,8) || (!AG_GLIBC_PREREQ(0,0) && __linux__) || defined SFD_CLOEXEC) |
493 | #define HAVE_SYS_SIGNALFD_H ag_test_include(<sys/signalfd.h>, HAVE_SYS_SIGNALFD_H_) | 499 | #define HAVE_SYS_SIGNALFD_H ag_test_include(<sys/signalfd.h>, HAVE_SYS_SIGNALFD_H_) |
@@ -731,6 +737,10 @@ | |||
731 | #define HAVE_GETAUXVAL (HAVE_SYS_AUXV_H && !__sun) | 737 | #define HAVE_GETAUXVAL (HAVE_SYS_AUXV_H && !__sun) |
732 | #endif | 738 | #endif |
733 | 739 | ||
740 | #ifndef HAVE_GETENTROPY | ||
741 | #define HAVE_GETENTROPY (AG_OPENBSD_PREREQ(5,6) || (HAVE_SYS_RANDOM_H && __sun)) | ||
742 | #endif | ||
743 | |||
734 | #ifndef HAVE_GETENV_R | 744 | #ifndef HAVE_GETENV_R |
735 | #define HAVE_GETENV_R (AG_NETBSD_PREREQ(4,0,0) || __minix) | 745 | #define HAVE_GETENV_R (AG_NETBSD_PREREQ(4,0,0) || __minix) |
736 | #endif | 746 | #endif |
@@ -747,6 +757,10 @@ | |||
747 | #define HAVE_GETPROGNAME (HAVE_ARC4RANDOM || AG_SUNOS_PREREQ(5,11)) | 757 | #define HAVE_GETPROGNAME (HAVE_ARC4RANDOM || AG_SUNOS_PREREQ(5,11)) |
748 | #endif | 758 | #endif |
749 | 759 | ||
760 | #ifndef HAVE_GETRANDOM | ||
761 | #define HAVE_GETRANDOM (HAVE_SYS_RANDOM_H && __sun) | ||
762 | #endif | ||
763 | |||
750 | #ifndef HAVE_INOTIFY_INIT | 764 | #ifndef HAVE_INOTIFY_INIT |
751 | #define HAVE_INOTIFY_INIT HAVE_SYS_INOTIFY_H | 765 | #define HAVE_INOTIFY_INIT HAVE_SYS_INOTIFY_H |
752 | #endif | 766 | #endif |
@@ -781,6 +795,14 @@ | |||
781 | && (!__NetBSD__ || AG_NETBSD_PREREQ(7,0,0))) | 795 | && (!__NetBSD__ || AG_NETBSD_PREREQ(7,0,0))) |
782 | #endif | 796 | #endif |
783 | 797 | ||
798 | #ifndef HAVE_MKDIRAT | ||
799 | #define HAVE_MKDIRAT HAVE_OPENAT | ||
800 | #endif | ||
801 | |||
802 | #ifndef HAVE_MKFIFOAT | ||
803 | #define HAVE_MKFIFOAT (!__APPLE__ && (!__NetBSD__ || AG_NETBSD_PREREQ(7,0,0))) | ||
804 | #endif | ||
805 | |||
784 | #ifndef HAVE_PACCEPT | 806 | #ifndef HAVE_PACCEPT |
785 | #define HAVE_PACCEPT AG_NETBSD_PREREQ(6,0,0) | 807 | #define HAVE_PACCEPT AG_NETBSD_PREREQ(6,0,0) |
786 | #endif | 808 | #endif |
@@ -829,6 +851,10 @@ | |||
829 | #define HAVE_POSIX_FALLOCATE (_AIX || AG_FREEBSD_PREREQ(9,0,0) || AG_GLIBC_PREREQ(2,2) || AG_MUSL_MAYBE || AG_NETBSD_PREREQ(7,0,0) || __sun) | 851 | #define HAVE_POSIX_FALLOCATE (_AIX || AG_FREEBSD_PREREQ(9,0,0) || AG_GLIBC_PREREQ(2,2) || AG_MUSL_MAYBE || AG_NETBSD_PREREQ(7,0,0) || __sun) |
830 | #endif | 852 | #endif |
831 | 853 | ||
854 | #ifndef HAVE_RENAMEAT | ||
855 | #define HAVE_RENAMEAT HAVE_OPENAT | ||
856 | #endif | ||
857 | |||
832 | #ifndef HAVE_SIGNALFD | 858 | #ifndef HAVE_SIGNALFD |
833 | #define HAVE_SIGNALFD HAVE_SYS_SIGNALFD_H | 859 | #define HAVE_SIGNALFD HAVE_SYS_SIGNALFD_H |
834 | #endif | 860 | #endif |
@@ -873,6 +899,10 @@ | |||
873 | #define HAVE_TIMERFD_SETTIME HAVE_TIMERFD_CREATE | 899 | #define HAVE_TIMERFD_SETTIME HAVE_TIMERFD_CREATE |
874 | #endif | 900 | #endif |
875 | 901 | ||
902 | #ifndef HAVE_UNLINKAT | ||
903 | #define HAVE_UNLINKAT HAVE_OPENAT | ||
904 | #endif | ||
905 | |||
876 | #ifndef STRERROR_R_CHAR_P | 906 | #ifndef STRERROR_R_CHAR_P |
877 | #define STRERROR_R_CHAR_P ((AG_GLIBC_PREREQ(0,0) || AG_UCLIBC_PREREQ(0,0,0)) && (HAVE__GNU_SOURCE || !(_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600))) | 907 | #define STRERROR_R_CHAR_P ((AG_GLIBC_PREREQ(0,0) || AG_UCLIBC_PREREQ(0,0,0)) && (HAVE__GNU_SOURCE || !(_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600))) |
878 | #endif | 908 | #endif |