summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2010-05-08 11:04:18 (GMT)
committerMatthias Klose <doko@ubuntu.com>2010-05-08 11:04:18 (GMT)
commitcbf54b1e7ea9e2b37a2385385f16196fe3943ca8 (patch)
tree1fe53d158600e58f3dc9413ec82405fc6f43df77 /configure
parentc511b47fb68ebdb7a83887b2ed957754863a46d7 (diff)
downloadcpython-cbf54b1e7ea9e2b37a2385385f16196fe3943ca8.zip
cpython-cbf54b1e7ea9e2b37a2385385f16196fe3943ca8.tar.gz
cpython-cbf54b1e7ea9e2b37a2385385f16196fe3943ca8.tar.bz2
configure.in: Avoid autoconf warning: Assume C89 semantics that
RETSIGTYPE is always void (issue #8510). pyconfig.h: Regenerate
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure32
1 files changed, 2 insertions, 30 deletions
diff --git a/configure b/configure
index 0489c7a..1990f59 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 80966 .
+# From configure.in Revision: 80969 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.65 for python 2.7.
#
@@ -6511,39 +6511,11 @@ _ACEOF
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
-$as_echo_n "checking return type of signal handlers... " >&6; }
-if test "${ac_cv_type_signal+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include <sys/types.h>
-#include <signal.h>
-
-int
-main ()
-{
-return *(signal (0, 0)) (0) == 1;
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_type_signal=int
-else
- ac_cv_type_signal=void
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
-$as_echo "$ac_cv_type_signal" >&6; }
cat >>confdefs.h <<_ACEOF
-#define RETSIGTYPE $ac_cv_type_signal
+#define RETSIGTYPE void
_ACEOF
-
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
if test "x$ac_cv_type_size_t" = x""yes; then :