summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-01-26 11:20:39 (GMT)
committerGitHub <noreply@github.com>2022-01-26 11:20:39 (GMT)
commit04772cd6f164c1219c8c74d55626ba114f01aa96 (patch)
tree8d912e407d6d34071fddb8238888803cee04b497 /configure
parent29eefcc9c688bc4097f2660de1fa846c5ea54735 (diff)
downloadcpython-04772cd6f164c1219c8c74d55626ba114f01aa96.zip
cpython-04772cd6f164c1219c8c74d55626ba114f01aa96.tar.gz
cpython-04772cd6f164c1219c8c74d55626ba114f01aa96.tar.bz2
[3.9] bpo-46513: Remove AC_C_CHAR_UNSIGNED / __CHAR_UNSIGNED__ (GH-30851) (GH-30915)
Co-authored-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure33
1 files changed, 0 insertions, 33 deletions
diff --git a/configure b/configure
index d078887..5232ce6 100755
--- a/configure
+++ b/configure
@@ -13998,39 +13998,6 @@ fi
# checks for compiler characteristics
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether char is unsigned" >&5
-$as_echo_n "checking whether char is unsigned... " >&6; }
-if ${ac_cv_c_char_unsigned+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$ac_includes_default
-int
-main ()
-{
-static int test_array [1 - 2 * !(((char) -1) < 0)];
-test_array [0] = 0;
-return test_array [0];
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_c_char_unsigned=no
-else
- ac_cv_c_char_unsigned=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_char_unsigned" >&5
-$as_echo "$ac_cv_c_char_unsigned" >&6; }
-if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
- $as_echo "#define __CHAR_UNSIGNED__ 1" >>confdefs.h
-
-fi
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
if ${ac_cv_c_const+:} false; then :