diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2016-10-01 05:47:27 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2016-10-01 05:47:27 (GMT) |
commit | 6a6967e827e11d332598a9395adb9c578184f914 (patch) | |
tree | 4d5d81e3ea513a40062af07188bfb0ecad196b1b /configure | |
parent | efd1bf443431529d1d2f21fc8f77ed78557e8245 (diff) | |
download | cpython-6a6967e827e11d332598a9395adb9c578184f914.zip cpython-6a6967e827e11d332598a9395adb9c578184f914.tar.gz cpython-6a6967e827e11d332598a9395adb9c578184f914.tar.bz2 |
Issue #21085: add configure check for siginfo_t.si_band
Patch by Masayuki Yamamoto, reviewed and rebased by Erik Bray.
This is a first step on the long road toward resupporting Cygwin, which does
not provide siginfo_t.si_band.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -13089,6 +13089,18 @@ _ACEOF fi +# Issue #21085: In Cygwin, siginfo_t does not have si_band field. +ac_fn_c_check_member "$LINENO" "siginfo_t" "si_band" "ac_cv_member_siginfo_t_si_band" "#include <signal.h> +" +if test "x$ac_cv_member_siginfo_t_si_band" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_SIGINFO_T_SI_BAND 1 +_ACEOF + + +fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for time.h that defines altzone" >&5 $as_echo_n "checking for time.h that defines altzone... " >&6; } |