summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-02-05 19:52:01 (GMT)
committerGitHub <noreply@github.com>2022-02-05 19:52:01 (GMT)
commit96b344c2f15cb09251018f57f19643fe20637392 (patch)
tree3fe6c8f5d1a2897881806db1f3b441d11114adeb /configure
parent9d4161a60ca8b470148ffd6c73e3110a0aa6d66f (diff)
downloadcpython-96b344c2f15cb09251018f57f19643fe20637392.zip
cpython-96b344c2f15cb09251018f57f19643fe20637392.tar.gz
cpython-96b344c2f15cb09251018f57f19643fe20637392.tar.bz2
bpo-40280: Address more test failures on Emscripten (GH-31050)
Co-authored-by: Brett Cannon <brett@python.org>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure18
1 files changed, 17 insertions, 1 deletions
diff --git a/configure b/configure
index 9097c05..49d5abe 100755
--- a/configure
+++ b/configure
@@ -9844,14 +9844,30 @@ _ACEOF
$as_echo_n "checking whether to enable large file support... " >&6; }
if test "$ac_cv_sizeof_off_t" -gt "$ac_cv_sizeof_long" -a \
"$ac_cv_sizeof_long_long" -ge "$ac_cv_sizeof_off_t"; then
+ have_largefile_support="yes"
+else
+ have_largefile_support="no"
+fi
+case $ac_sys_system in #(
+ Emscripten) :
+ have_largefile_support="no"
+ ;; #(
+ *) :
+ ;;
+esac
+if test "x$have_largefile_support" = xyes; then :
+
$as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
+
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
+
fi
# The cast to long int works around a bug in the HP C Compiler
@@ -13751,7 +13767,7 @@ for ac_func in \
gai_strerror getegid getentropy geteuid getgid getgrgid getgrgid_r \
getgrnam_r getgrouplist getgroups getitimer getloadavg getlogin \
getpeername getpgid getpid getppid getpriority _getpty \
- getpwent getpwnam_r getpwuid_r getresgid getresuid getsid getspent \
+ getpwent getpwnam_r getpwuid_r getresgid getresuid getrusage getsid getspent \
getspnam getuid getwd if_nameindex initgroups kill killpg lchown linkat \
lockf lstat lutimes madvise mbrtowc memrchr mkdirat mkfifo mkfifoat \
mknod mknodat mktime mmap mremap nice openat opendir pathconf pause pipe \