Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bdf5eff

Browse files
committed
add 'no' output to --with-system-ffi
1 parent b805ee5 commit bdf5eff

3 files changed

Lines changed: 14 additions & 10 deletions

File tree

configure

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /bin/sh
2-
# From configure.in Revision: 85251 .
2+
# From configure.in Revision: 85351 .
33
# Guess values for system-dependent variables and create Makefiles.
44
# Generated by GNU Autoconf 2.65 for python 3.1.
55
#
@@ -1923,11 +1923,11 @@ else
19231923
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19241924
/* end confdefs.h. */
19251925
$ac_includes_default
1926+
enum { N = $2 / 2 - 1 };
19261927
int
19271928
main ()
19281929
{
1929-
static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 };
1930-
0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1930+
static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
19311931
test_array [0] = 0
19321932
19331933
;
@@ -1938,11 +1938,11 @@ if ac_fn_c_try_compile "$LINENO"; then :
19381938
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19391939
/* end confdefs.h. */
19401940
$ac_includes_default
1941+
enum { N = $2 / 2 - 1 };
19411942
int
19421943
main ()
19431944
{
1944-
static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 };
1945-
($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1945+
static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
19461946
< ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
19471947
test_array [0] = 0
19481948
@@ -8041,6 +8041,8 @@ $as_echo_n "checking for --with-system-ffi... " >&6; }
80418041
# Check whether --with-system_ffi was given.
80428042
if test "${with_system_ffi+set}" = set; then :
80438043
withval=$with_system_ffi;
8044+
else
8045+
with_system_ffi="no"
80448046
fi
80458047
80468048
@@ -13920,8 +13922,8 @@ esac
1392013922
1392113923
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1392213924
# Files that config.status was made for.
13923-
config_files="`echo $ac_config_files`"
13924-
config_headers="`echo $ac_config_headers`"
13925+
config_files="$ac_config_files"
13926+
config_headers="$ac_config_headers"
1392513927
1392613928
_ACEOF
1392713929

configure.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1995,7 +1995,9 @@ LIBS="$withval $LIBS"
19951995
# Check for use of the system libffi library
19961996
AC_MSG_CHECKING(for --with-system-ffi)
19971997
AC_ARG_WITH(system_ffi,
1998-
AC_HELP_STRING(--with-system-ffi, build _ctypes module using an installed ffi library))
1998+
AC_HELP_STRING(--with-system-ffi, build _ctypes module using an installed ffi library),
1999+
[],
2000+
[with_system_ffi="no"])
19992001

20002002
AC_MSG_RESULT($with_system_ffi)
20012003

pyconfig.h.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
/* Define if --enable-ipv6 is specified */
3434
#undef ENABLE_IPV6
3535

36-
/* Define if flock needs to be linked with bsd library */
36+
/* Define if flock needs to be linked with bsd library. */
3737
#undef FLOCK_NEEDS_LIBBSD
3838

3939
/* Define if getpgrp() must be called as getpgrp(0). */
@@ -211,7 +211,7 @@
211211
/* Define to 1 if you have the `finite' function. */
212212
#undef HAVE_FINITE
213213

214-
/* Define if you have the 'flock' function. */
214+
/* Define to 1 if you have the `flock' function. */
215215
#undef HAVE_FLOCK
216216

217217
/* Define to 1 if you have the `fork' function. */

0 commit comments

Comments
 (0)