File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/sh
2- # From configure.in Revision: 80475 .
2+ # From configure.in Revision: 80478 .
33# Guess values for system-dependent variables and create Makefiles.
44# Generated by GNU Autoconf 2.65 for python 3.2.
55#
@@ -6417,39 +6417,11 @@ _ACEOF
64176417
64186418fi
64196419
6420- { $as_echo " $as_me :${as_lineno-$LINENO } : checking return type of signal handlers" >&5
6421- $as_echo_n " checking return type of signal handlers... " >&6 ; }
6422- if test " ${ac_cv_type_signal+set} " = set ; then :
6423- $as_echo_n " (cached) " >&6
6424- else
6425- cat confdefs.h - << _ACEOF >conftest.$ac_ext
6426- /* end confdefs.h. */
6427- #include <sys/types.h>
6428- #include <signal.h>
6429-
6430- int
6431- main ()
6432- {
6433- return *(signal (0, 0)) (0) == 1;
6434- ;
6435- return 0;
6436- }
6437- _ACEOF
6438- if ac_fn_c_try_compile " $LINENO " ; then :
6439- ac_cv_type_signal=int
6440- else
6441- ac_cv_type_signal=void
6442- fi
6443- rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6444- fi
6445- { $as_echo " $as_me :${as_lineno-$LINENO } : result: $ac_cv_type_signal " >&5
6446- $as_echo " $ac_cv_type_signal " >&6 ; }
64476420
64486421cat >> confdefs.h << _ACEOF
6449- #define RETSIGTYPE $ac_cv_type_signal
6422+ #define RETSIGTYPE void
64506423_ACEOF
64516424
6452-
64536425ac_fn_c_check_type " $LINENO " " size_t" " ac_cv_type_size_t" " $ac_includes_default "
64546426if test " x$ac_cv_type_size_t " = x" " yes; then :
64556427
Original file line number Diff line number Diff line change @@ -1374,18 +1374,7 @@ EOF
13741374AC_TYPE_MODE_T
13751375AC_TYPE_OFF_T
13761376AC_TYPE_PID_T
1377- AC_DIAGNOSE([obsolete],[your code may safely assume C89 semantics that RETSIGTYPE is void.
1378- Remove this warning and the `AC_CACHE_CHECK' when you adjust the code.])dnl
1379- AC_CACHE_CHECK([return type of signal handlers],[ac_cv_type_signal],[AC_COMPILE_IFELSE(
1380- [AC_LANG_PROGRAM([#include <sys/types.h>
1381- #include <signal.h>
1382- ],
1383- [return *(signal (0, 0)) (0) == 1;])],
1384- [ac_cv_type_signal=int],
1385- [ac_cv_type_signal=void])])
1386- AC_DEFINE_UNQUOTED([RETSIGTYPE],[$ac_cv_type_signal],[Define as the return type of signal handlers
1387- (`int' or `void').])
1388-
1377+ AC_DEFINE_UNQUOTED([RETSIGTYPE],[void],[assume C89 semantics that RETSIGTYPE is always void])
13891378AC_TYPE_SIZE_T
13901379AC_TYPE_UID_T
13911380AC_TYPE_UINT32_T
Original file line number Diff line number Diff line change 958958/* Define as the size of the unicode type. */
959959#undef Py_UNICODE_SIZE
960960
961- /* Define as the return type of signal handlers (`int' or ` void'). */
961+ /* assume C89 semantics that RETSIGTYPE is always void */
962962#undef RETSIGTYPE
963963
964964/* Define if setpgrp() must be called as setpgrp(0, 0). */
You can’t perform that action at this time.
0 commit comments