Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling 3.13.1 fails when /usr/local/include/pyconfig.h is outdated #129019

Open
dilyanpalauzov opened this issue Jan 19, 2025 · 10 comments
Open
Labels
build The build process and cross-build pending The issue will be closed if no feedback is provided

Comments

@dilyanpalauzov
Copy link

Compiling Python 3.13.1 with

$ ./configure --with-lto --enable-shared --without-static-libpython --prefix=/root/chroot-n/python --disable-ipv6 --enable-optimizations CFLAGS='--sysroot=/root/chroot-n  -Ichr/include -Wl,--dynamic-linker=/chr/lib/ld-linux-x86-64.so.2'
$ make

prints

make profile-gen-stamp                                                                                                 
make[1]: Entering directory '/src/chroot/Python-3.13.1'                                                                                 
Building with support for profile generation:                                                                                           
make build_all CFLAGS_NODIST=" -fprofile-generate" LDFLAGS_NODIST=" -fprofile-generate" LIBS="-ldl "                                    
make[2]: Entering directory '/src/chroot/Python-3.13.1'                                                                                 
gcc -DUSE_ZLIB_CRC32 -I/usr/local/include -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall --sysroot=/root/chroot-n  -Ichr/include -Wl,--dynamic-linker=/chr/lib/ld-linux-x86-64.so.2   -fno-semantic-interposition -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -g -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -fprofile-generate -I./Include/internal -I./Include/internal/mimalloc  -I. -I./Include   -fPIC -fPIC -c ./Modules/binascii.c -o Modules/binascii.o                                                                                         
In file included from ./Include/Python.h:79,               
                 from ./Modules/binascii.c:60:       
./Include/unicodeobject.h:61:9: warning: "Py_USING_UNICODE" redefined                 
   61 | #define Py_USING_UNICODE                                    
      |         ^~~~~~~~~~~~~~~~
In file included from ./Include/Python.h:14:            
/usr/local/include/pyconfig.h:994:9: note: this is the location of the previous definition
  994 | #define Py_USING_UNICODE 1                                  
      |         ^~~~~~~~~~~~~~~~                                    
./Include/unicodeobject.h:67:9: warning: "Py_UNICODE_SIZE" redefined
   67 | #define Py_UNICODE_SIZE SIZEOF_WCHAR_T
      |         ^~~~~~~~~~~~~~~                                                                                                         
/usr/local/include/pyconfig.h:991:9: note: this is the location of the previous definition
  991 | #define Py_UNICODE_SIZE 2                                                                                                       
      |         ^~~~~~~~~~~~~~~
/usr/local/include/pyconfig.h:982:25: error: two or more data types in declaration specifiers
  982 | #define PY_UNICODE_TYPE unsigned short                                                                                          
      |                         ^~~~~~~~
./Include/cpython/unicodeobject.h:9:37: note: in expansion of macro ‘PY_UNICODE_TYPE’
    9 | Py_DEPRECATED(3.13) typedef wchar_t PY_UNICODE_TYPE;
      |                                     ^~~~~~~~~~~~~~~
/usr/local/include/pyconfig.h:982:34: error: two or more data types in declaration specifiers
  982 | #define PY_UNICODE_TYPE unsigned short
      |                                  ^~~~~
./Include/cpython/unicodeobject.h:9:37: note: in expansion of macro ‘PY_UNICODE_TYPE’
    9 | Py_DEPRECATED(3.13) typedef wchar_t PY_UNICODE_TYPE;
      |                                     ^~~~~~~~~~~~~~~
In file included from ./Include/unicodeobject.h:1014:
./Include/cpython/unicodeobject.h:9:1: warning: useless type name in empty declaration
    9 | Py_DEPRECATED(3.13) typedef wchar_t PY_UNICODE_TYPE;
      | ^~~~~~~~~~~~~
make[2]: *** [Makefile:3346: Modules/binascii.o] Error 1
make[2]: Leaving directory '/src/chroot/Python-3.13.1'
make[1]: *** [Makefile:883: profile-gen-stamp] Error 2
make[1]: Leaving directory '/src/chroot/Python-3.13.1'
make: *** [Makefile:895: profile-run-stamp] Error 2

My /usr/local/include/pyconfig.h is from 2016! After removing it, the compilation progresses.

  • Building Python should not depend on /usr/local/include/pyconfig.h or /usr/include/pyconfig.h, installed from previous Python versions.
@dilyanpalauzov dilyanpalauzov changed the title Compilig 3.13.1 fails when /usr/local/include/pyconfig.h is outdated Compiling 3.13.1 fails when /usr/local/include/pyconfig.h is outdated Jan 19, 2025
@picnixz picnixz added type-bug An unexpected behavior, bug, or error build The build process and cross-build labels Jan 19, 2025
@ZeroIntensity
Copy link
Member

I don't think we could reliably try and ignore pyconfig.h from somewhere else in the include path, but maybe we could add some sort of check that would emit a better error if pyconfig.h doesn't match what Python.h was expecting.

@dilyanpalauzov
Copy link
Author

The build system should prefer pyconfig.h which is distributed by the Python source tarball, over system-wide installed pyconfig.h, by adjusting the -I/-iquote/ parameters to the preprocessor. E.g. in the example above by moving -I/usr/local/include to the end of the executed line.

@ZeroIntensity
Copy link
Member

/usr/local/include is implicitly included by the compiler (we don't explicitly have an -I flag for it), and I don't think we can override that.

Using #include "..." should be searching for the pyconfig.h that's in the project directory, but I suspect it's not finding it and just falling back to the include path.

@dilyanpalauzov
Copy link
Author

/usr/local/include is implicitly included by the compiler (we don't explicitly have an -I flag for it), and I don't think we can override that.

Using #include "..." should be searching for the pyconfig.h that's in the project directory, but I suspect it's not finding it and just falling back to the include path.

In the above gcc command, shown when entering make, -I/usr/local/include is explicitly inserted at the beginning of the preprocessor search path.

@ZeroIntensity
Copy link
Member

Your compiler output does look a little off. There's no explicit include of /usr/local/include on my end:

gcc -c -fno-strict-overflow -Wsign-compare -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -Og -Wall    -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden  -I./Include/internal -I./Include/internal/mimalloc  -I. -I./Include    -DPy_BUILD_CORE -o Modules/main.o Modules/main.c

@erlend-aasland
Copy link
Contributor

The build system does not prefer /usr/local/include/pyconfig.h. For example, this works just swell:

$ echo '#error "THIS IS NOT INCLUDED"' > /usr/local/include/pyconfig.h
$ ./configure && make

I guess there's something bleeding in from your environment. The usual suspects would be CC, CFLAGS or CPPFLAGS environment variables.

@erlend-aasland erlend-aasland added pending The issue will be closed if no feedback is provided and removed type-bug An unexpected behavior, bug, or error labels Jan 19, 2025
@dilyanpalauzov
Copy link
Author

I run

./configure --with-lto --enable-shared --without-static-libpython --prefix=/root/chroot-n/python --disable-ipv6 --enable-optimizations CFLAGS='--sysroot=/root/chroot-n -Ichr/include -Wl,--dynamic-linker=/chr/lib/ld-linux-x86-64.so.2'

It produces the output below. Is it relavant, that this happens for the profile-gen-stamp target?

./configure output
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for Python interpreter freezing... ./_bootstrap_python
checking for python3.13... python3.13
checking Python for regen version... Python 3.13.0+
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking MACHDEP... "linux"
checking for --enable-universalsdk... no
checking for --with-universal-archs... no
checking for --with-app-store-compliance... not patching for app store compliance
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/local/bin/grep
checking for a sed that does not truncate output... /usr/local/bin/sed
checking for egrep... /usr/local/bin/grep -E
checking for CC compiler name... gcc
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for GCC compatible compiler... yes
checking for g++... no
configure:

  By default, distutils will build C++ extension modules with "g++".
  If this is not intended, then set CXX on the configure command line.
  
checking for the platform triplet based on compiler characteristics... x86_64-linux-gnu
checking for multiarch... x86_64-linux-gnu
checking for PEP 11 support tier... x86_64-pc-linux-gnu/gcc has tier 1 (supported)
checking for -Wl,--no-as-needed... yes
checking for the Android API level... not Android
checking for --with-emscripten-target... 
checking for --enable-wasm-dynamic-linking... missing
checking for --enable-wasm-pthreads... missing
checking for --with-suffix... 
checking for case-insensitive build directory... no
checking LIBRARY... libpython$(VERSION)$(ABIFLAGS).a
checking LINKCC... $(PURIFY) $(CC)
checking EXPORTSYMS... 
checking for GNU ld... yes
checking for --enable-shared... yes
checking for --with-static-libpython... no
checking for --enable-profiling... no
checking LDLIBRARY... libpython$(LDVERSION).so
checking HOSTRUNNER... 
checking for ar... ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for --disable-gil... no
checking for --with-pydebug... no
checking for --with-trace-refs... no
checking for --enable-pystats... no
checking for --with-assertions... no
checking for --enable-experimental-jit...  
checking for --enable-optimizations... yes
checking whether C compiler accepts -fno-semantic-interposition... yes
checking PROFILE_TASK... -m test --pgo --timeout=$(TESTTIMEOUT)
checking for --with-lto... yes
checking for llvm-profdata... /usr/local/bin/llvm-profdata
checking for --enable-bolt... no
checking BOLT_INSTRUMENT_FLAGS... 
checking BOLT_APPLY_FLAGS...  -update-debug-sections -reorder-blocks=ext-tsp -reorder-functions=hfsort+ -split-functions -icf=1 -inline-all -split-eh -reorder-functions-use-hot-size -peepholes=none -jump-tables=aggressive -inline-ap -indirect-call-promotion=all -dyno-stats -use-gnu-stack -frame-opt=hot 
checking if gcc supports -fstrict-overflow and -fno-strict-overflow... yes
checking for --with-strict-overflow... no
checking if gcc supports -Og optimization level... yes
checking if we can add -Wextra... yes
checking whether gcc -fno-strict-aliasing accepts and needs -fno-strict-aliasing... no
checking if we can disable gcc unused-parameter warning... yes
checking if we can disable gcc int-conversion warning... yes
checking if we can disable gcc missing-field-initializers warning... yes
checking if we can enable gcc sign-compare warning... yes
checking if we can enable gcc unreachable-code warning... yes
checking if we can enable gcc strict-prototypes warning... yes
checking if we can make implicit function declaration an error in gcc -Werror=implicit-function-declaration... yes
checking if we can use visibility in gcc -fvisibility=hidden... yes
checking whether pthreads are available without options... yes
checking whether g++ also accepts flags for thread support... no
checking for alloca.h... yes
checking for asm/types.h... yes
checking for bluetooth.h... no
checking for conio.h... no
checking for direct.h... no
checking for dlfcn.h... yes
checking for endian.h... yes
checking for errno.h... yes
checking for fcntl.h... yes
checking for grp.h... yes
checking for io.h... no
checking for langinfo.h... yes
checking for libintl.h... yes
checking for libutil.h... no
checking for linux/auxvec.h... yes
checking for sys/auxv.h... yes
checking for linux/fs.h... yes
checking for linux/limits.h... yes
checking for linux/memfd.h... yes
checking for linux/random.h... yes
checking for linux/soundcard.h... yes
checking for linux/tipc.h... yes
checking for linux/wait.h... yes
checking for netdb.h... yes
checking for net/ethernet.h... yes
checking for netinet/in.h... yes
checking for netpacket/packet.h... yes
checking for poll.h... yes
checking for process.h... no
checking for pthread.h... yes
checking for pty.h... yes
checking for sched.h... yes
checking for setjmp.h... yes
checking for shadow.h... yes
checking for signal.h... yes
checking for spawn.h... yes
checking for stropts.h... no
checking for sys/audioio.h... no
checking for sys/bsdtty.h... no
checking for sys/devpoll.h... no
checking for sys/endian.h... no
checking for sys/epoll.h... yes
checking for sys/event.h... no
checking for sys/eventfd.h... yes
checking for sys/file.h... yes
checking for sys/ioctl.h... yes
checking for sys/kern_control.h... no
checking for sys/loadavg.h... no
checking for sys/lock.h... no
checking for sys/memfd.h... no
checking for sys/mkdev.h... no
checking for sys/mman.h... yes
checking for sys/modem.h... no
checking for sys/param.h... yes
checking for sys/poll.h... yes
checking for sys/random.h... yes
checking for sys/resource.h... yes
checking for sys/select.h... yes
checking for sys/sendfile.h... yes
checking for sys/socket.h... yes
checking for sys/soundcard.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/statvfs.h... yes
checking for sys/sys_domain.h... no
checking for sys/syscall.h... yes
checking for sys/sysmacros.h... yes
checking for sys/termio.h... no
checking for sys/time.h... yes
checking for sys/times.h... yes
checking for sys/timerfd.h... yes
checking for sys/types.h... (cached) yes
checking for sys/uio.h... yes
checking for sys/un.h... yes
checking for sys/utsname.h... yes
checking for sys/wait.h... yes
checking for sys/xattr.h... yes
checking for sysexits.h... yes
checking for syslog.h... yes
checking for termios.h... yes
checking for util.h... no
checking for utime.h... yes
checking for utmp.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/mkdev.h... (cached) no
checking for sys/sysmacros.h... (cached) yes
checking for bluetooth/bluetooth.h... no
checking for net/if.h... yes
checking for linux/netlink.h... yes
checking for netlink/netlink.h... no
checking for linux/qrtr.h... yes
checking for linux/vm_sockets.h... yes
checking for linux/can.h... yes
checking for linux/can/bcm.h... yes
checking for linux/can/j1939.h... yes
checking for linux/can/raw.h... yes
checking for netcan/can.h... no
checking for clock_t... yes
checking for makedev... yes
checking for le64toh... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for ssize_t... yes
checking for __uint128_t... yes
checking size of int... 4
checking size of long... 8
checking alignment of long... 8
checking size of long long... 8
checking size of void *... 8
checking size of short... 2
checking size of float... 4
checking size of double... 8
checking size of fpos_t... 16
checking size of size_t... 8
checking alignment of size_t... 8
checking size of pid_t... 4
checking size of uintptr_t... 8
checking alignment of max_align_t... 16
checking for long double... yes
checking size of long double... 16
checking size of _Bool... 1
checking size of off_t... 8
checking whether to enable large file support... no
checking size of time_t... 8
checking for pthread_t... yes
checking size of pthread_t... 8
checking size of pthread_key_t... 4
checking whether pthread_key_t is compatible with int... yes
checking for --enable-framework... no
checking for --with-dsymutil... no
checking for dyld... no
checking for --with-address-sanitizer... no
checking for --with-memory-sanitizer... no
checking for --with-undefined-behavior-sanitizer... no
checking for --with-thread-sanitizer... no
checking the extension of shared libraries... .so
checking LDSHARED... $(CC) -shared
checking BLDSHARED flags... $(CC) -shared
checking CCSHARED... -fPIC
checking LINKFORSHARED... -Xlinker -export-dynamic
checking CFLAGSFORSHARED... $(CCSHARED)
checking SHLIBS... $(LIBS)
checking perf trampoline... yes
checking for sendfile in -lsendfile... no
checking for dlopen in -ldl... yes
checking for shl_load in -ldld... no
checking for uuid.h... no
checking for uuid >= 2.20... yes
checking for library containing sem_init... none required
checking for textdomain in -lintl... no
checking aligned memory access is required... no
checking for --with-hash-algorithm... default
checking for --with-tzpath... "/usr/share/zoneinfo:/usr/lib/zoneinfo:/usr/share/lib/zoneinfo:/etc/zoneinfo"
checking for t_open in -lnsl... no
checking for socket in -lsocket... no
checking for --with-libs... no
checking for --with-system-expat... no
checking for libffi... yes
checking for ffi_prep_cif_var... yes
checking for ffi_prep_closure_loc... yes
checking for ffi_closure_alloc... yes
checking for --with-system-libmpdec... yes
checking for libmpdec >= 2.5.0... no
configure: WARNING: no system libmpdecimal found; falling back to bundled libmpdecimal (deprecated and scheduled for removal in Python 3.15)
checking for --with-decimal-contextvar... yes
checking for decimal libmpdec machine... uint128
checking for sqlite3 >= 3.15.2... yes
checking for sqlite3.h... yes
checking for sqlite3_bind_double in -lsqlite3... yes
checking for sqlite3_column_decltype in -lsqlite3... yes
checking for sqlite3_column_double in -lsqlite3... yes
checking for sqlite3_complete in -lsqlite3... yes
checking for sqlite3_progress_handler in -lsqlite3... yes
checking for sqlite3_result_double in -lsqlite3... yes
checking for sqlite3_set_authorizer in -lsqlite3... yes
checking for sqlite3_trace_v2 in -lsqlite3... yes
checking for sqlite3_value_double in -lsqlite3... yes
checking for sqlite3_load_extension in -lsqlite3... yes
checking for sqlite3_serialize in -lsqlite3... yes
checking for --enable-loadable-sqlite-extensions... no
checking for tcl >= 8.5.12 tk >= 8.5.12... yes
checking for gdbm.h... no
checking for ndbm.h... no
checking for ndbm presence and linker args...  ()
checking for gdbm/ndbm.h... no
checking for gdbm-ndbm.h... no
checking for db.h... no
checking for --with-dbmliborder... gdbm:ndbm:bdb
checking for _dbm module CFLAGS and LIBS...  
checking if PTHREAD_SCOPE_SYSTEM is supported... yes
checking for pthread_sigmask... yes
checking for pthread_getcpuclockid... yes
checking if --enable-ipv6 is specified... no
checking CAN_RAW_FD_FRAMES... yes
checking for CAN_RAW_JOIN_FILTERS... yes
checking for --with-doc-strings... yes
checking for stdatomic.h... yes
checking for builtin __atomic_load_n and __atomic_store_n functions... yes
checking for --with-mimalloc... yes
checking for --with-pymalloc... yes
checking for --with-freelists... yes
checking for --with-c-locale-coercion... yes
checking for --with-valgrind... no
checking for --with-dtrace... no
checking for dlopen... yes
checking DYNLOADFILE... dynload_shlib.o
checking MACHDEP_OBJS... none
checking for accept4... yes
checking for alarm... yes
checking for bind_textdomain_codeset... yes
checking for chmod... yes
checking for chown... yes
checking for clock... yes
checking for closefrom... yes
checking for close_range... yes
checking for confstr... yes
checking for copy_file_range... yes
checking for ctermid... yes
checking for dup... yes
checking for dup3... yes
checking for execv... yes
checking for explicit_bzero... yes
checking for explicit_memset... no
checking for faccessat... yes
checking for fchmod... yes
checking for fchmodat... yes
checking for fchown... yes
checking for fchownat... yes
checking for fdopendir... yes
checking for fdwalk... no
checking for fexecve... yes
checking for fork... yes
checking for fork1... no
checking for fpathconf... yes
checking for fstatat... yes
checking for ftime... yes
checking for ftruncate... yes
checking for futimens... yes
checking for futimes... yes
checking for futimesat... yes
checking for gai_strerror... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getgrent... yes
checking for getgrgid... yes
checking for getgrgid_r... yes
checking for getgrnam_r... yes
checking for getgrouplist... yes
checking for gethostname... yes
checking for getitimer... yes
checking for getloadavg... yes
checking for getlogin... yes
checking for getpeername... yes
checking for getpgid... yes
checking for getpid... yes
checking for getppid... yes
checking for getpriority... yes
checking for _getpty... no
checking for getpwent... yes
checking for getpwnam_r... yes
checking for getpwuid... yes
checking for getpwuid_r... yes
checking for getresgid... yes
checking for getresuid... yes
checking for getrusage... yes
checking for getsid... yes
checking for getspent... yes
checking for getspnam... yes
checking for getuid... yes
checking for getwd... yes
checking for grantpt... yes
checking for if_nameindex... yes
checking for initgroups... yes
checking for kill... yes
checking for killpg... yes
checking for lchown... yes
checking for linkat... yes
checking for lockf... yes
checking for lstat... yes
checking for lutimes... yes
checking for madvise... yes
checking for mbrtowc... yes
checking for memrchr... yes
checking for mkdirat... yes
checking for mkfifo... yes
checking for mkfifoat... yes
checking for mknod... yes
checking for mknodat... yes
checking for mktime... yes
checking for mmap... yes
checking for mremap... yes
checking for nice... yes
checking for openat... yes
checking for opendir... yes
checking for pathconf... yes
checking for pause... yes
checking for pipe... yes
checking for pipe2... yes
checking for plock... no
checking for poll... yes
checking for posix_fadvise... yes
checking for posix_fallocate... yes
checking for posix_openpt... yes
checking for posix_spawn... yes
checking for posix_spawnp... yes
checking for posix_spawn_file_actions_addclosefrom_np... yes
checking for pread... yes
checking for preadv... yes
checking for preadv2... yes
checking for process_vm_readv... yes
checking for pthread_cond_timedwait_relative_np... no
checking for pthread_condattr_setclock... yes
checking for pthread_init... no
checking for pthread_kill... yes
checking for ptsname... yes
checking for ptsname_r... yes
checking for pwrite... yes
checking for pwritev... yes
checking for pwritev2... yes
checking for readlink... yes
checking for readlinkat... yes
checking for readv... yes
checking for realpath... yes
checking for renameat... yes
checking for rtpSpawn... no
checking for sched_get_priority_max... yes
checking for sched_rr_get_interval... yes
checking for sched_setaffinity... yes
checking for sched_setparam... yes
checking for sched_setscheduler... yes
checking for sem_clockwait... yes
checking for sem_getvalue... yes
checking for sem_open... yes
checking for sem_timedwait... yes
checking for sem_unlink... yes
checking for sendfile... yes
checking for setegid... yes
checking for seteuid... yes
checking for setgid... yes
checking for sethostname... yes
checking for setitimer... yes
checking for setlocale... yes
checking for setpgid... yes
checking for setpgrp... yes
checking for setpriority... yes
checking for setregid... yes
checking for setresgid... yes
checking for setresuid... yes
checking for setreuid... yes
checking for setsid... yes
checking for setuid... yes
checking for setvbuf... yes
checking for shutdown... yes
checking for sigaction... yes
checking for sigaltstack... yes
checking for sigfillset... yes
checking for siginterrupt... yes
checking for sigpending... yes
checking for sigrelse... yes
checking for sigtimedwait... yes
checking for sigwait... yes
checking for sigwaitinfo... yes
checking for snprintf... yes
checking for splice... yes
checking for strftime... yes
checking for strlcpy... yes
checking for strsignal... yes
checking for symlinkat... yes
checking for sync... yes
checking for sysconf... yes
checking for tcgetpgrp... yes
checking for tcsetpgrp... yes
checking for tempnam... yes
checking for timegm... yes
checking for times... yes
checking for tmpfile... yes
checking for tmpnam... yes
checking for tmpnam_r... yes
checking for truncate... yes
checking for ttyname... yes
checking for umask... yes
checking for uname... yes
checking for unlinkat... yes
checking for unlockpt... yes
checking for utimensat... yes
checking for utimes... yes
checking for vfork... yes
checking for wait... yes
checking for wait3... yes
checking for wait4... yes
checking for waitid... yes
checking for waitpid... yes
checking for wcscoll... yes
checking for wcsftime... yes
checking for wcsxfrm... yes
checking for wmemcmp... yes
checking for writev... yes
checking for getentropy... yes
checking for getgroups... yes
checking for system... yes
checking for gcc options needed to detect all undeclared functions... none needed
checking whether dirfd is declared... yes
checking for chroot... yes
checking for link... yes
checking for symlink... yes
checking for fchdir... yes
checking for fsync... yes
checking for fdatasync... yes
checking for epoll_create... yes
checking for epoll_create1... yes
checking for kqueue... no
checking for prlimit... yes
checking for _dyld_shared_cache_contains_path... no
checking for memfd_create... yes
checking for eventfd... yes
checking for timerfd_create... yes
checking for ctermid_r... no
checking for flock declaration... yes
checking for flock... yes
checking for getpagesize... yes
checking for broken unsetenv... no
checking for true... true
checking for inet_aton in -lc... yes
checking for chflags... no
checking for lchflags... no
checking for zlib >= 1.2.0... yes
checking for bzip2... yes
checking for liblzma... yes
checking for hstrerror... yes
checking for getservbyname... yes
checking for getservbyport... yes
checking for gethostbyname... yes
checking for gethostbyaddr... yes
checking for getprotobyname... yes
checking for inet_aton... yes
checking for inet_ntoa... yes
checking for inet_pton... yes
checking for getpeername... (cached) yes
checking for getsockname... yes
checking for accept... yes
checking for bind... yes
checking for connect... yes
checking for listen... yes
checking for recvfrom... yes
checking for sendto... yes
checking for setsockopt... yes
checking for socket... yes
checking for setgroups... yes
checking for openpty... yes
checking for library containing login_tty... none required
checking for forkpty... yes
checking for fseek64... no
checking for fseeko... yes
checking for fstatvfs... yes
checking for ftell64... no
checking for ftello... yes
checking for statvfs... yes
checking for dup2... yes
checking for getpgrp... yes
checking for setpgrp... (cached) yes
checking for setns... yes
checking for unshare... yes
checking for clock_gettime... yes
checking for clock_getres... yes
checking for clock_settime... yes
checking for clock_nanosleep... yes
checking for nanosleep... yes
checking for major, minor, and makedev... yes
checking for getaddrinfo... yes
checking getaddrinfo bug... no
checking for getnameinfo... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct stat.st_rdev... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_flags... no
checking for struct stat.st_gen... no
checking for struct stat.st_birthtime... no
checking for struct stat.st_blocks... yes
checking for struct passwd.pw_gecos... yes
checking for struct passwd.pw_passwd... yes
checking for siginfo_t.si_band... yes
checking for time.h that defines altzone... no
checking for addrinfo... yes
checking for sockaddr_storage... yes
checking for sockaddr_alg... yes
checking for an ANSI C-conforming const... yes
checking for working signed char... yes
checking for prototypes... yes
checking for socketpair... yes
checking if sockaddr has sa_len member... no
checking for gethostbyname_r... yes
checking gethostbyname_r with 6 args... yes
checking for __fpu_control... yes
checking for --with-libm=STRING... default LIBM="-lm"
checking for --with-libc=STRING... default LIBC=""
checking for x64 gcc inline assembler... yes
checking whether float word ordering is bigendian... no
checking whether we can use gcc inline assembler to get and set x87 control word... yes
checking whether we can use gcc inline assembler to get and set mc68881 fpcr... no
checking for x87-style double rounding... no
checking for acosh... yes
checking for asinh... yes
checking for atanh... yes
checking for erf... yes
checking for erfc... yes
checking for expm1... yes
checking for log1p... yes
checking for log2... yes
checking whether POSIX semaphores are enabled... yes
checking for broken sem_getvalue... no
checking whether RTLD_LAZY is declared... yes
checking whether RTLD_NOW is declared... yes
checking whether RTLD_GLOBAL is declared... yes
checking whether RTLD_LOCAL is declared... yes
checking whether RTLD_NODELETE is declared... yes
checking whether RTLD_NOLOAD is declared... yes
checking whether RTLD_DEEPBIND is declared... yes
checking whether RTLD_MEMBER is declared... no
checking digit size for Python's longs... no value specified
checking for wchar.h... (cached) yes
checking size of wchar_t... 4
checking whether wchar_t is signed... yes
checking whether wchar_t is usable... no
checking whether byte ordering is bigendian... no
checking ABIFLAGS... 
checking SOABI... cpython-313-x86_64-linux-gnu
checking LDVERSION... $(VERSION)$(ABIFLAGS)
checking for --with-platlibdir... no
checking for --with-wheel-pkg-dir... no
checking whether right shift extends the sign bit... yes
checking for getc_unlocked() and friends... yes
checking for readline... no
checking for readline/readline.h... no
checking how to link readline... no
checking for broken nice()... no
checking for broken poll()... no
checking for working tzset()... yes
checking for tv_nsec in struct stat... yes
checking for tv_nsec2 in struct stat... no
checking for ncursesw... yes
checking for panelw... yes
checking for ncursesw/curses.h... no
checking for ncursesw/ncurses.h... no
checking for ncursesw/panel.h... no
checking for ncurses/curses.h... no
checking for ncurses/ncurses.h... no
checking for ncurses/panel.h... no
checking for curses.h... no
checking for ncurses.h... no
checking for panel.h... no
checking for library containing initscr... none required
checking for library containing update_panels... none required
checking for term.h... no
checking whether mvwdelch is an expression... no
checking whether WINDOW has _flags... no
checking for curses function is_pad... no
checking for curses function is_term_resized... no
checking for curses function resize_term... no
checking for curses function resizeterm... no
checking for curses function immedok... no
checking for curses function syncok... no
checking for curses function wchgat... no
checking for curses function filter... no
checking for curses function has_key... no
checking for curses function typeahead... no
checking for curses function use_env... no
configure: checking for device files
checking for /dev/ptmx... yes
checking for /dev/ptc... no
checking for socklen_t... yes
checking for broken mbstowcs... no
checking for --with-computed-gotos... no value specified
checking whether gcc supports computed gotos... yes
checking for build directories... done
checking for -O2... yes
checking for glibc _FORTIFY_SOURCE/memmove bug... no
checking for gcc ipa-pure-const bug... no
checking for ensurepip... upgrade
checking if the dirent structure of a d_type field... yes
checking for the Linux getrandom() syscall... yes
checking for the getrandom() function... yes
checking for library containing shm_open... none required
checking for shm_open... yes
checking for shm_unlink... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking whether compiling and linking against OpenSSL works... yes
checking for --with-openssl-rpath... 
checking whether OpenSSL provides required ssl module APIs... yes
checking whether OpenSSL provides required hashlib module APIs... yes
checking for --with-ssl-default-suites... python
checking for --with-builtin-hashlib-hashes... md5,sha1,sha2,sha3,blake2
checking for libb2... no
checking for --disable-test-modules... yes
checking whether libatomic is needed by <pyatomic.h>... no
checking for stdlib extension module _multiprocessing... yes
checking for stdlib extension module _posixshmem... yes
checking for stdlib extension module fcntl... yes
checking for stdlib extension module mmap... yes
checking for stdlib extension module _socket... yes
checking for stdlib extension module grp... yes
checking for stdlib extension module pwd... yes
checking for stdlib extension module resource... yes
checking for stdlib extension module _scproxy... n/a
checking for stdlib extension module syslog... yes
checking for stdlib extension module termios... yes
checking for stdlib extension module pyexpat... yes
checking for stdlib extension module _elementtree... yes
checking for stdlib extension module _md5... yes
checking for stdlib extension module _sha1... yes
checking for stdlib extension module _sha2... yes
checking for stdlib extension module _sha3... yes
checking for stdlib extension module _blake2... yes
checking for stdlib extension module _ctypes... yes
checking for stdlib extension module _curses... yes
checking for stdlib extension module _curses_panel... yes
checking for stdlib extension module _decimal... yes
checking for stdlib extension module _dbm... missing
checking for stdlib extension module _gdbm... missing
checking for stdlib extension module readline... missing
checking for stdlib extension module _sqlite3... yes
checking for stdlib extension module _tkinter... missing
checking for stdlib extension module _uuid... yes
checking for stdlib extension module zlib... yes
checking for stdlib extension module _bz2... yes
checking for stdlib extension module _lzma... yes
checking for stdlib extension module _ssl... yes
checking for stdlib extension module _hashlib... yes
checking for stdlib extension module _testcapi... yes
checking for stdlib extension module _testclinic... yes
checking for stdlib extension module _testclinic_limited... yes
checking for stdlib extension module _testlimitedcapi... yes
checking for stdlib extension module _testinternalcapi... yes
checking for stdlib extension module _testbuffer... yes
checking for stdlib extension module _testimportmultiple... yes
checking for stdlib extension module _testmultiphase... yes
checking for stdlib extension module _testsinglephase... yes
checking for stdlib extension module _testexternalinspection... yes
checking for stdlib extension module xxsubtype... yes
checking for stdlib extension module _xxtestfuzz... yes
checking for stdlib extension module _ctypes_test... yes
checking for stdlib extension module xxlimited... yes
checking for stdlib extension module xxlimited_35... yes
configure: creating ./config.status
config.status: creating Makefile.pre
config.status: creating Misc/python.pc
config.status: creating Misc/python-embed.pc
config.status: creating Misc/python-config.sh
config.status: creating Modules/Setup.bootstrap
config.status: creating Modules/Setup.stdlib
config.status: creating Modules/ld_so_aix
config.status: creating pyconfig.h
configure: creating Modules/Setup.local
configure: creating Makefile

config.status
#! /bin/sh
# Generated by configure.
# Run this file to recreate the current configuration.
# Compiler output produced by configure, useful for debugging
# configure, is in config.log if it exists.

debug=false
ac_cs_recheck=false
ac_cs_silent=false

SHELL=${CONFIG_SHELL-/bin/sh}
export SHELL
## -------------------- ##
## M4sh Initialization. ##
## -------------------- ##

# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
as_nop=:
if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
then :
  emulate sh
  NULLCMD=:
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@"}'='"$@"'
  setopt NO_GLOB_SUBST
else $as_nop
  case `(set -o) 2>/dev/null` in #(
  *posix*) :
    set -o posix ;; #(
  *) :
     ;;
esac
fi



# Reset variables that may have inherited troublesome values from
# the environment.

# IFS needs to be set, to space, tab, and newline, in precisely that order.
# (If _AS_PATH_WALK were called with IFS unset, it would have the
# side effect of setting IFS to empty, thus disabling word splitting.)
# Quoting is to prevent editors from complaining about space-tab.
as_nl='
'
export as_nl
IFS=" ""	$as_nl"

PS1='$ '
PS2='> '
PS4='+ '

# Ensure predictable behavior from utilities with locale-dependent output.
LC_ALL=C
export LC_ALL
LANGUAGE=C
export LANGUAGE

# We cannot yet rely on "unset" to work, but we need these variables
# to be unset--not just set to an empty or harmless value--now, to
# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
# also avoids known problems related to "unset" and subshell syntax
# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
do eval test \${$as_var+y} \
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
done

# Ensure that fds 0, 1, and 2 are open.
if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi

# The user is always right.
if ${PATH_SEPARATOR+false} :; then
  PATH_SEPARATOR=:
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
      PATH_SEPARATOR=';'
  }
fi


# Find who we are.  Look in the path if we contain no directory separator.
as_myself=
case $0 in #((
  *[\\/]* ) as_myself=$0 ;;
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
  done
IFS=$as_save_IFS

     ;;
esac
# We did not find ourselves, most probably we were run as `sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
  as_myself=$0
fi
if test ! -f "$as_myself"; then
  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  exit 1
fi



# as_fn_error STATUS ERROR [LINENO LOG_FD]
# ----------------------------------------
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
# script with STATUS, using 1 if that was 0.
as_fn_error ()
{
  as_status=$1; test $as_status -eq 0 && as_status=1
  if test "$4"; then
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  fi
  printf "%s\n" "$as_me: error: $2" >&2
  as_fn_exit $as_status
} # as_fn_error



# as_fn_set_status STATUS
# -----------------------
# Set $? to STATUS, without forking.
as_fn_set_status ()
{
  return $1
} # as_fn_set_status

# as_fn_exit STATUS
# -----------------
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
as_fn_exit ()
{
  set +e
  as_fn_set_status $1
  exit $1
} # as_fn_exit

# as_fn_unset VAR
# ---------------
# Portably unset VAR.
as_fn_unset ()
{
  { eval $1=; unset $1;}
}
as_unset=as_fn_unset

# as_fn_append VAR VALUE
# ----------------------
# Append the text in VALUE to the end of the definition contained in VAR. Take
# advantage of any shell optimizations that allow amortized linear growth over
# repeated appends, instead of the typical quadratic growth present in naive
# implementations.
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
then :
  eval 'as_fn_append ()
  {
    eval $1+=\$2
  }'
else $as_nop
  as_fn_append ()
  {
    eval $1=\$$1\$2
  }
fi # as_fn_append

# as_fn_arith ARG...
# ------------------
# Perform arithmetic evaluation on the ARGs, and store the result in the
# global $as_val. Take advantage of shells that can avoid forks. The arguments
# must be portable across $(()) and expr.
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
then :
  eval 'as_fn_arith ()
  {
    as_val=$(( $* ))
  }'
else $as_nop
  as_fn_arith ()
  {
    as_val=`expr "$@" || test $? -eq 1`
  }
fi # as_fn_arith


if expr a : '\(a\)' >/dev/null 2>&1 &&
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
  as_expr=expr
else
  as_expr=false
fi

if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  as_basename=basename
else
  as_basename=false
fi

if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  as_dirname=dirname
else
  as_dirname=false
fi

as_me=`$as_basename -- "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
	 X"$0" : 'X\(//\)$' \| \
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
printf "%s\n" X/"$0" |
    sed '/^.*\/\([^/][^/]*\)\/*$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`

# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits


# Determine whether it's possible to make 'echo' print without a newline.
# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
# for compatibility with existing Makefiles.
ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in #(((((
-n*)
  case `echo 'xy\c'` in
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  xy)  ECHO_C='\c';;
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
       ECHO_T='	';;
  esac;;
*)
  ECHO_N='-n';;
esac

# For backward compatibility with old third-party macros, we provide
# the shell variables $as_echo and $as_echo_n.  New code should use
# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
as_echo='printf %s\n'
as_echo_n='printf %s'

rm -f conf$$ conf$$.exe conf$$.file
if test -d conf$$.dir; then
  rm -f conf$$.dir/conf$$.file
else
  rm -f conf$$.dir
  mkdir conf$$.dir 2>/dev/null
fi
if (echo >conf$$.file) 2>/dev/null; then
  if ln -s conf$$.file conf$$ 2>/dev/null; then
    as_ln_s='ln -s'
    # ... but there are two gotchas:
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    # In both cases, we have to default to `cp -pR'.
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
      as_ln_s='cp -pR'
  elif ln conf$$.file conf$$ 2>/dev/null; then
    as_ln_s=ln
  else
    as_ln_s='cp -pR'
  fi
else
  as_ln_s='cp -pR'
fi
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null


# as_fn_mkdir_p
# -------------
# Create "$as_dir" as a directory, including parents if necessary.
as_fn_mkdir_p ()
{

  case $as_dir in #(
  -*) as_dir=./$as_dir;;
  esac
  test -d "$as_dir" || eval $as_mkdir_p || {
    as_dirs=
    while :; do
      case $as_dir in #(
      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
      *) as_qdir=$as_dir;;
      esac
      as_dirs="'$as_qdir' $as_dirs"
      as_dir=`$as_dirname -- "$as_dir" ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$as_dir" : 'X\(//\)[^/]' \| \
	 X"$as_dir" : 'X\(//\)$' \| \
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
printf "%s\n" X"$as_dir" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
      test -d "$as_dir" && break
    done
    test -z "$as_dirs" || eval "mkdir $as_dirs"
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"


} # as_fn_mkdir_p
if mkdir -p . 2>/dev/null; then
  as_mkdir_p='mkdir -p "$as_dir"'
else
  test -d ./-p && rmdir ./-p
  as_mkdir_p=false
fi


# as_fn_executable_p FILE
# -----------------------
# Test if FILE is an executable regular file.
as_fn_executable_p ()
{
  test -f "$1" && test -x "$1"
} # as_fn_executable_p
as_test_x='test -x'
as_executable_p=as_fn_executable_p

# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"

# Sed expression to map a string onto a valid variable name.
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"


exec 6>&1
## ----------------------------------- ##
## Main body of $CONFIG_STATUS script. ##
## ----------------------------------- ##
# Save the log message, to keep $0 and so on meaningful, and to
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by python $as_me 3.13, which was
generated by GNU Autoconf 2.71.  Invocation command line was

  CONFIG_FILES    = $CONFIG_FILES
  CONFIG_HEADERS  = $CONFIG_HEADERS
  CONFIG_LINKS    = $CONFIG_LINKS
  CONFIG_COMMANDS = $CONFIG_COMMANDS
  $ $0 $@

on `(hostname || uname -n) 2>/dev/null | sed 1q`
"

# Files that config.status was made for.
config_files=" Makefile.pre Misc/python.pc Misc/python-embed.pc Misc/python-config.sh Modules/Setup.bootstrap Modules/Setup.stdlib Modules/ld_so_aix"
config_headers=" pyconfig.h"

ac_cs_usage="\
\`$as_me' instantiates files and other configuration actions
from templates according to the current configuration.  Unless the files
and actions are specified as TAGs, all are instantiated by default.

Usage: $0 [OPTION]... [TAG]...

  -h, --help       print this help, then exit
  -V, --version    print version number and configuration settings, then exit
      --config     print configuration, then exit
  -q, --quiet, --silent
                   do not print progress messages
  -d, --debug      don't remove temporary files
      --recheck    update $as_me by reconfiguring in the same conditions
      --file=FILE[:TEMPLATE]
                   instantiate the configuration file FILE
      --header=FILE[:TEMPLATE]
                   instantiate the configuration header FILE

Configuration files:
$config_files

Configuration headers:
$config_headers

Report bugs to <https://github.com/python/cpython/issues/>."

ac_cs_config='--with-lto --enable-shared --without-static-libpython --prefix=/root/chroot-n/python --disable-ipv6 --enable-optimizations '\''CFLAGS=--sysroot=/root/chroot-n  -Ichr/include -Wl,--dynamic-linker=/chr/lib/ld-linux-x86-64.so.2'\'''
ac_cs_version="\
python config.status 3.13
configured by ./configure, generated by GNU Autoconf 2.71,
  with options \"$ac_cs_config\"

Copyright (C) 2021 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it."

ac_pwd='/src/chroot/Python333/Python-3.13.1'
srcdir='.'
INSTALL='/usr/bin/install -c'
MKDIR_P='/usr/bin/mkdir -p'
test -n "$AWK" || AWK=awk
# The default lists apply if the user does not specify any file.
ac_need_defaults=:
while test $# != 0
do
  case $1 in
  --*=?*)
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
    ac_shift=:
    ;;
  --*=)
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
    ac_optarg=
    ac_shift=:
    ;;
  *)
    ac_option=$1
    ac_optarg=$2
    ac_shift=shift
    ;;
  esac

  case $ac_option in
  # Handling of the options.
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    ac_cs_recheck=: ;;
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    printf "%s\n" "$ac_cs_version"; exit ;;
  --config | --confi | --conf | --con | --co | --c )
    printf "%s\n" "$ac_cs_config"; exit ;;
  --debug | --debu | --deb | --de | --d | -d )
    debug=: ;;
  --file | --fil | --fi | --f )
    $ac_shift
    case $ac_optarg in
    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    '') as_fn_error $? "missing file argument" ;;
    esac
    as_fn_append CONFIG_FILES " '$ac_optarg'"
    ac_need_defaults=false;;
  --header | --heade | --head | --hea )
    $ac_shift
    case $ac_optarg in
    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    esac
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
    ac_need_defaults=false;;
  --he | --h)
    # Conflict between --help and --header
    as_fn_error $? "ambiguous option: \`$1'
Try \`$0 --help' for more information.";;
  --help | --hel | -h )
    printf "%s\n" "$ac_cs_usage"; exit ;;
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
    ac_cs_silent=: ;;

  # This is an error.
  -*) as_fn_error $? "unrecognized option: \`$1'
Try \`$0 --help' for more information." ;;

  *) as_fn_append ac_config_targets " $1"
     ac_need_defaults=false ;;

  esac
  shift
done

ac_configure_extra_args=

if $ac_cs_silent; then
  exec 6>/dev/null
  ac_configure_extra_args="$ac_configure_extra_args --silent"
fi

if $ac_cs_recheck; then
  set X /bin/sh './configure'  '--with-lto' '--enable-shared' '--without-static-libpython' '--prefix=/root/chroot-n/python' '--disable-ipv6' '--enable-optimizations' 'CFLAGS=--sysroot=/root/chroot-n  -Ichr/include -Wl,--dynamic-linker=/chr/lib/ld-linux-x86-64.so.2' $ac_configure_extra_args --no-create --no-recursion
  shift
  \printf "%s\n" "running CONFIG_SHELL=/bin/sh $*" >&6
  CONFIG_SHELL='/bin/sh'
  export CONFIG_SHELL
  exec "$@"
fi

exec 5>>config.log
{
  echo
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## Running $as_me. ##
_ASBOX
  printf "%s\n" "$ac_log"
} >&5


# Handling of arguments.
for ac_config_target in $ac_config_targets
do
  case $ac_config_target in
    "pyconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS pyconfig.h" ;;
    "Mac/Makefile") CONFIG_FILES="$CONFIG_FILES Mac/Makefile" ;;
    "Mac/PythonLauncher/Makefile") CONFIG_FILES="$CONFIG_FILES Mac/PythonLauncher/Makefile" ;;
    "Mac/Resources/framework/Info.plist") CONFIG_FILES="$CONFIG_FILES Mac/Resources/framework/Info.plist" ;;
    "Mac/Resources/app/Info.plist") CONFIG_FILES="$CONFIG_FILES Mac/Resources/app/Info.plist" ;;
    "iOS/Resources/Info.plist") CONFIG_FILES="$CONFIG_FILES iOS/Resources/Info.plist" ;;
    "Makefile.pre") CONFIG_FILES="$CONFIG_FILES Makefile.pre" ;;
    "Misc/python.pc") CONFIG_FILES="$CONFIG_FILES Misc/python.pc" ;;
    "Misc/python-embed.pc") CONFIG_FILES="$CONFIG_FILES Misc/python-embed.pc" ;;
    "Misc/python-config.sh") CONFIG_FILES="$CONFIG_FILES Misc/python-config.sh" ;;
    "Modules/Setup.bootstrap") CONFIG_FILES="$CONFIG_FILES Modules/Setup.bootstrap" ;;
    "Modules/Setup.stdlib") CONFIG_FILES="$CONFIG_FILES Modules/Setup.stdlib" ;;
    "Modules/ld_so_aix") CONFIG_FILES="$CONFIG_FILES Modules/ld_so_aix" ;;

  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  esac
done


# If the user did not use the arguments to specify the items to instantiate,
# then the envvar interface is used.  Set only those that are not.
# We use the long form for the default assignment because of an extremely
# bizarre bug on SunOS 4.1.3.
if $ac_need_defaults; then
  test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
  test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
fi

# Have a temporary directory for convenience.  Make it in the build tree
# simply because there is no reason against having it here, and in addition,
# creating and moving files from /tmp can sometimes cause problems.
# Hook for its removal unless debugging.
# Note that there is a small window in which the directory will not be cleaned:
# after its creation but before its name has been assigned to `$tmp'.
$debug ||
{
  tmp= ac_tmp=
  trap 'exit_status=$?
  : "${ac_tmp:=$tmp}"
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
' 0
  trap 'as_fn_exit 1' 1 2 13 15
}
# Create a (secure) tmp directory for tmp files.

{
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  test -d "$tmp"
}  ||
{
  tmp=./conf$$-$RANDOM
  (umask 077 && mkdir "$tmp")
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
ac_tmp=$tmp

# Set up the scripts for CONFIG_FILES section.
# No need to generate them if there are no CONFIG_FILES.
# This happens for instance with `./config.status config.h'.
if test -n "$CONFIG_FILES"; then


ac_cr=`echo X | tr X '\015'`
# On cygwin, bash can eat \r inside `` if the user requested igncr.
# But we know of no other shell where ac_cr would be empty at this
# point, so we can use a bashism as a fallback.
if test "x$ac_cr" = x; then
  eval ac_cr=\$\'\\r\'
fi
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  ac_cs_awk_cr='\\r'
else
  ac_cs_awk_cr=$ac_cr
fi

echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
S["LTLIBOBJS"]=""
S["MODULE_BLOCK"]="MODULE__IO_STATE=yes\n"\
"MODULE__IO_CFLAGS=-I$(srcdir)/Modules/_io\n"\
"MODULE_TIME_STATE=yes\n"\
"MODULE_TIME_LDFLAGS=\n"\
"MODULE_ARRAY_STATE=yes\n"\
"MODULE__ASYNCIO_STATE=yes\n"\
"MODULE__BISECT_STATE=yes\n"\
"MODULE__CONTEXTVARS_STATE=yes\n"\
"MODULE__CSV_STATE=yes\n"\
"MODULE__HEAPQ_STATE=yes\n"\
"MODULE__JSON_STATE=yes\n"\
"MODULE__LSPROF_STATE=yes\n"\
"MODULE__OPCODE_STATE=yes\n"\
"MODULE__PICKLE_STATE=yes\n"\
"MODULE__POSIXSUBPROCESS_STATE=yes\n"\
"MODULE__QUEUE_STATE=yes\n"\
"MODULE__RANDOM_STATE=yes\n"\
"MODULE_SELECT_STATE=yes\n"\
"MODULE__STRUCT_STATE=yes\n"\
"MODULE__TYPING_STATE=yes\n"\
"MODULE__INTERPRETERS_STATE=yes\n"\
"MODULE__INTERPCHANNELS_STATE=yes\n"\
"MODULE__INTERPQUEUES_STATE=yes\n"\
"MODULE__ZONEINFO_STATE=yes\n"\
"MODULE__MULTIPROCESSING_STATE=yes\n"\
"MODULE__MULTIPROCESSING_CFLAGS=-I$(srcdir)/Modules/_multiprocessing\n"\
"MODULE__POSIXSHMEM_STATE=yes\n"\
"MODULE__POSIXSHMEM_CFLAGS=-I$(srcdir)/Modules/_multiprocessing\n"\
"MODULE__POSIXSHMEM_LDFLAGS=\n"\
"MODULE__STATISTICS_STATE=yes\n"\
"MODULE__STATISTICS_LDFLAGS=-lm\n"\
"MODULE_CMATH_STATE=yes\n"\
"MODULE_CMATH_LDFLAGS=-lm\n"\
"MODULE_MATH_STATE=yes\n"\
"MODULE_MATH_LDFLAGS=-lm\n"\
"MODULE__DATETIME_STATE=yes\n"\
"MODULE__DATETIME_LDFLAGS= -lm\n"\
"MODULE_FCNTL_STATE=yes\n"\
"MODULE_FCNTL_LDFLAGS=\n"\
"MODULE_MMAP_STATE=yes\n"\
"MODULE__SOCKET_STATE=yes\n"\
"MODULE_GRP_STATE=yes\n"\
"MODULE_PWD_STATE=yes\n"\
"MODULE_RESOURCE_STATE=yes\n"\
"MODULE__SCPROXY_STATE=n/a\n"\
"MODULE_SYSLOG_STATE=yes\n"\
"MODULE_TERMIOS_STATE=yes\n"\
"MODULE_PYEXPAT_STATE=yes\n"\
"MODULE_PYEXPAT_CFLAGS=-I$(srcdir)/Modules/expat\n"\
"MODULE_PYEXPAT_LDFLAGS=-lm $(LIBEXPAT_A)\n"\
"MODULE__ELEMENTTREE_STATE=yes\n"\
"MODULE__ELEMENTTREE_CFLAGS=-I$(srcdir)/Modules/expat\n"\
"MODULE__CODECS_CN_STATE=yes\n"\
"MODULE__CODECS_HK_STATE=yes\n"\
"MODULE__CODECS_ISO2022_STATE=yes\n"\
"MODULE__CODECS_JP_STATE=yes\n"\
"MODULE__CODECS_KR_STATE=yes\n"\
"MODULE__CODECS_TW_STATE=yes\n"\
"MODULE__MULTIBYTECODEC_STATE=yes\n"\
"MODULE_UNICODEDATA_STATE=yes\n"\
"MODULE__MD5_STATE=yes\n"\
"MODULE__MD5_CFLAGS=-I$(srcdir)/Modules/_hacl/include -I$(srcdir)/Modules/_hacl/internal -D_BSD_SOURCE -D_DEFAULT_SOURCE\n"\
"MODULE__SHA1_STATE=yes\n"\
"MODULE__SHA1_CFLAGS=-I$(srcdir)/Modules/_hacl/include -I$(srcdir)/Modules/_hacl/internal -D_BSD_SOURCE -D_DEFAULT_SOURCE\n"\
"MODULE__SHA2_STATE=yes\n"\
"MODULE__SHA2_CFLAGS=-I$(srcdir)/Modules/_hacl/include -I$(srcdir)/Modules/_hacl/internal -D_BSD_SOURCE -D_DEFAULT_SOURCE\n"\
"MODULE__SHA3_STATE=yes\n"\
"MODULE__BLAKE2_STATE=yes\n"\
"MODULE__BLAKE2_CFLAGS=\n"\
"MODULE__BLAKE2_LDFLAGS=\n"\
"MODULE__CTYPES_STATE=yes\n"\
"MODULE__CTYPES_CFLAGS=-fno-strict-overflow -I/usr/local/include\n"\
"MODULE__CTYPES_LDFLAGS=-L/usr/local/lib/../lib64 -lffi -ldl\n"\
"MODULE__CURSES_STATE=yes\n"\
"MODULE__CURSES_CFLAGS=-D_GNU_SOURCE -D_DEFAULT_SOURCE\n"\
"MODULE__CURSES_LDFLAGS=-Wl,-rpath,/usr/local/lib64 -lncursesw -ltinfow\n"\
"\n"\
"MODULE__CURSES_PANEL_STATE=yes\n"\
"MODULE__CURSES_PANEL_CFLAGS=-D_GNU_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE\n"\
"MODULE__CURSES_PANEL_LDFLAGS=-Wl,-rpath,/usr/local/lib64 -lpanelw -Wl,-rpath,/usr/local/lib64 -lncursesw -ltinfow\n"\
"\n"\
"MODULE__DECIMAL_STATE=yes\n"\
"MODULE__DECIMAL_CFLAGS=-I$(srcdir)/Modules/_decimal/libmpdec -DCONFIG_64=1 -DANSI=1 -DHAVE_UINT128_T=1\n"\
"MODULE__DECIMAL_LDFLAGS=-lm $(LIBMPDEC_A)\n"\
"MODULE__DBM_STATE=missing\n"\
"MODULE__GDBM_STATE=missing\n"\
"MODULE_READLINE_STATE=missing\n"\
"MODULE__SQLITE3_STATE=yes\n"\
"MODULE__SQLITE3_CFLAGS=-I/usr/local/include -I$(srcdir)/Modules/_sqlite\n"\
"MODULE__SQLITE3_LDFLAGS=-L/usr/local/lib -lsqlite3\n"\
"MODULE__TKINTER_STATE=missing\n"\
"MODULE__UUID_STATE=yes\n"\
"MODULE__UUID_CFLAGS=-I/usr/include/uuid\n"\
"MODULE__UUID_LDFLAGS=-luuid\n"\
"MODULE_ZLIB_STATE=yes\n"\
"MODULE_ZLIB_CFLAGS=-I/usr/local/include\n"\
"MODULE_ZLIB_LDFLAGS=-L/usr/local/lib -lz\n"\
"MODULE_BINASCII_STATE=yes\n"\
"MODULE_BINASCII_CFLAGS=-DUSE_ZLIB_CRC32 -I/usr/local/include\n"\
"MODULE_BINASCII_LDFLAGS=-L/usr/local/lib -lz\n"\
"MODULE__BZ2_STATE=yes\n"\
"MODULE__BZ2_CFLAGS=\n"\
"MODULE__BZ2_LDFLAGS=-L/usr/local/lib -lbz2\n"\
"MODULE__LZMA_STATE=yes\n"\
"MODULE__LZMA_CFLAGS=-I/usr/local/include\n"\
"MODULE__LZMA_LDFLAGS=-L/usr/local/lib -llzma\n"\
"MODULE__SSL_STATE=yes\n"\
"MODULE__SSL_CFLAGS=-I/usr/local/include\n"\
"MODULE__SSL_LDFLAGS=-L/usr/local/lib64  -lssl -lcrypto\n"\
"MODULE__HASHLIB_STATE=yes\n"\
"MODULE__HASHLIB_CFLAGS=-I/usr/local/include\n"\
"MODULE__HASHLIB_LDFLAGS=-L/usr/local/lib64   -lcrypto\n"\
"MODULE__TESTCAPI_STATE=yes\n"\
"MODULE__TESTCAPI_LDFLAGS=\n"\
"MODULE__TESTCLINIC_STATE=yes\n"\
"MODULE__TESTCLINIC_LIMITED_STATE=yes\n"\
"MODULE__TESTLIMITEDCAPI_STATE=yes\n"\
"MODULE__TESTINTERNALCAPI_STATE=yes\n"\
"MODULE__TESTBUFFER_STATE=yes\n"\
"MODULE__TESTIMPORTMULTIPLE_STATE=yes\n"\
"MODULE__TESTMULTIPHASE_STATE=yes\n"\
"MODULE__TESTSINGLEPHASE_STATE=yes\n"\
"MODULE__TESTEXTERNALINSPECTION_STATE=yes\n"\
"MODULE_XXSUBTYPE_STATE=yes\n"\
"MODULE__XXTESTFUZZ_STATE=yes\n"\
"MODULE__CTYPES_TEST_STATE=yes\n"\
"MODULE__CTYPES_TEST_LDFLAGS=-lm\n"\
"MODULE_XXLIMITED_STATE=yes\n"\
"MODULE_XXLIMITED_35_STATE=yes\n"\
""
S["MODULE_XXLIMITED_35_FALSE"]="#"
S["MODULE_XXLIMITED_35_TRUE"]=""
S["MODULE_XXLIMITED_FALSE"]="#"
S["MODULE_XXLIMITED_TRUE"]=""
S["MODULE__CTYPES_TEST_FALSE"]="#"
S["MODULE__CTYPES_TEST_TRUE"]=""
S["MODULE__XXTESTFUZZ_FALSE"]="#"
S["MODULE__XXTESTFUZZ_TRUE"]=""
S["MODULE_XXSUBTYPE_FALSE"]="#"
S["MODULE_XXSUBTYPE_TRUE"]=""
S["MODULE__TESTEXTERNALINSPECTION_FALSE"]="#"
S["MODULE__TESTEXTERNALINSPECTION_TRUE"]=""
S["MODULE__TESTSINGLEPHASE_FALSE"]="#"
S["MODULE__TESTSINGLEPHASE_TRUE"]=""
S["MODULE__TESTMULTIPHASE_FALSE"]="#"
S["MODULE__TESTMULTIPHASE_TRUE"]=""
S["MODULE__TESTIMPORTMULTIPLE_FALSE"]="#"
S["MODULE__TESTIMPORTMULTIPLE_TRUE"]=""
S["MODULE__TESTBUFFER_FALSE"]="#"
S["MODULE__TESTBUFFER_TRUE"]=""
S["MODULE__TESTINTERNALCAPI_FALSE"]="#"
S["MODULE__TESTINTERNALCAPI_TRUE"]=""
S["MODULE__TESTLIMITEDCAPI_FALSE"]="#"
S["MODULE__TESTLIMITEDCAPI_TRUE"]=""
S["MODULE__TESTCLINIC_LIMITED_FALSE"]="#"
S["MODULE__TESTCLINIC_LIMITED_TRUE"]=""
S["MODULE__TESTCLINIC_FALSE"]="#"
S["MODULE__TESTCLINIC_TRUE"]=""
S["MODULE__TESTCAPI_FALSE"]="#"
S["MODULE__TESTCAPI_TRUE"]=""
S["MODULE__HASHLIB_FALSE"]="#"
S["MODULE__HASHLIB_TRUE"]=""
S["MODULE__SSL_FALSE"]="#"
S["MODULE__SSL_TRUE"]=""
S["MODULE__LZMA_FALSE"]="#"
S["MODULE__LZMA_TRUE"]=""
S["MODULE__BZ2_FALSE"]="#"
S["MODULE__BZ2_TRUE"]=""
S["MODULE_BINASCII_FALSE"]="#"
S["MODULE_BINASCII_TRUE"]=""
S["MODULE_ZLIB_FALSE"]="#"
S["MODULE_ZLIB_TRUE"]=""
S["MODULE__UUID_FALSE"]="#"
S["MODULE__UUID_TRUE"]=""
S["MODULE__TKINTER_FALSE"]=""
S["MODULE__TKINTER_TRUE"]="#"
S["MODULE__SQLITE3_FALSE"]="#"
S["MODULE__SQLITE3_TRUE"]=""
S["MODULE_READLINE_FALSE"]=""
S["MODULE_READLINE_TRUE"]="#"
S["MODULE__GDBM_FALSE"]=""
S["MODULE__GDBM_TRUE"]="#"
S["MODULE__DBM_FALSE"]=""
S["MODULE__DBM_TRUE"]="#"
S["MODULE__DECIMAL_FALSE"]="#"
S["MODULE__DECIMAL_TRUE"]=""
S["MODULE__CURSES_PANEL_FALSE"]="#"
S["MODULE__CURSES_PANEL_TRUE"]=""
S["MODULE__CURSES_FALSE"]="#"
S["MODULE__CURSES_TRUE"]=""
S["MODULE__CTYPES_FALSE"]="#"
S["MODULE__CTYPES_TRUE"]=""
S["MODULE__BLAKE2_FALSE"]="#"
S["MODULE__BLAKE2_TRUE"]=""
S["MODULE__SHA3_FALSE"]="#"
S["MODULE__SHA3_TRUE"]=""
S["MODULE__SHA2_FALSE"]="#"
S["MODULE__SHA2_TRUE"]=""
S["MODULE__SHA1_FALSE"]="#"
S["MODULE__SHA1_TRUE"]=""
S["MODULE__MD5_FALSE"]="#"
S["MODULE__MD5_TRUE"]=""
S["MODULE_UNICODEDATA_FALSE"]="#"
S["MODULE_UNICODEDATA_TRUE"]=""
S["MODULE__MULTIBYTECODEC_FALSE"]="#"
S["MODULE__MULTIBYTECODEC_TRUE"]=""
S["MODULE__CODECS_TW_FALSE"]="#"
S["MODULE__CODECS_TW_TRUE"]=""
S["MODULE__CODECS_KR_FALSE"]="#"
S["MODULE__CODECS_KR_TRUE"]=""
S["MODULE__CODECS_JP_FALSE"]="#"
S["MODULE__CODECS_JP_TRUE"]=""
S["MODULE__CODECS_ISO2022_FALSE"]="#"
S["MODULE__CODECS_ISO2022_TRUE"]=""
S["MODULE__CODECS_HK_FALSE"]="#"
S["MODULE__CODECS_HK_TRUE"]=""
S["MODULE__CODECS_CN_FALSE"]="#"
S["MODULE__CODECS_CN_TRUE"]=""
S["MODULE__ELEMENTTREE_FALSE"]="#"
S["MODULE__ELEMENTTREE_TRUE"]=""
S["MODULE_PYEXPAT_FALSE"]="#"
S["MODULE_PYEXPAT_TRUE"]=""
S["MODULE_TERMIOS_FALSE"]="#"
S["MODULE_TERMIOS_TRUE"]=""
S["MODULE_SYSLOG_FALSE"]="#"
S["MODULE_SYSLOG_TRUE"]=""
S["MODULE__SCPROXY_FALSE"]=""
S["MODULE__SCPROXY_TRUE"]="#"
S["MODULE_RESOURCE_FALSE"]="#"
S["MODULE_RESOURCE_TRUE"]=""
S["MODULE_PWD_FALSE"]="#"
S["MODULE_PWD_TRUE"]=""
S["MODULE_GRP_FALSE"]="#"
S["MODULE_GRP_TRUE"]=""
S["MODULE__SOCKET_FALSE"]="#"
S["MODULE__SOCKET_TRUE"]=""
S["MODULE_MMAP_FALSE"]="#"
S["MODULE_MMAP_TRUE"]=""
S["MODULE_FCNTL_FALSE"]="#"
S["MODULE_FCNTL_TRUE"]=""
S["MODULE__DATETIME_FALSE"]="#"
S["MODULE__DATETIME_TRUE"]=""
S["MODULE_MATH_FALSE"]="#"
S["MODULE_MATH_TRUE"]=""
S["MODULE_CMATH_FALSE"]="#"
S["MODULE_CMATH_TRUE"]=""
S["MODULE__STATISTICS_FALSE"]="#"
S["MODULE__STATISTICS_TRUE"]=""
S["MODULE__POSIXSHMEM_FALSE"]="#"
S["MODULE__POSIXSHMEM_TRUE"]=""
S["MODULE__MULTIPROCESSING_FALSE"]="#"
S["MODULE__MULTIPROCESSING_TRUE"]=""
S["MODULE__ZONEINFO_FALSE"]="#"
S["MODULE__ZONEINFO_TRUE"]=""
S["MODULE__INTERPQUEUES_FALSE"]="#"
S["MODULE__INTERPQUEUES_TRUE"]=""
S["MODULE__INTERPCHANNELS_FALSE"]="#"
S["MODULE__INTERPCHANNELS_TRUE"]=""
S["MODULE__INTERPRETERS_FALSE"]="#"
S["MODULE__INTERPRETERS_TRUE"]=""
S["MODULE__TYPING_FALSE"]="#"
S["MODULE__TYPING_TRUE"]=""
S["MODULE__STRUCT_FALSE"]="#"
S["MODULE__STRUCT_TRUE"]=""
S["MODULE_SELECT_FALSE"]="#"
S["MODULE_SELECT_TRUE"]=""
S["MODULE__RANDOM_FALSE"]="#"
S["MODULE__RANDOM_TRUE"]=""
S["MODULE__QUEUE_FALSE"]="#"
S["MODULE__QUEUE_TRUE"]=""
S["MODULE__POSIXSUBPROCESS_FALSE"]="#"
S["MODULE__POSIXSUBPROCESS_TRUE"]=""
S["MODULE__PICKLE_FALSE"]="#"
S["MODULE__PICKLE_TRUE"]=""
S["MODULE__OPCODE_FALSE"]="#"
S["MODULE__OPCODE_TRUE"]=""
S["MODULE__LSPROF_FALSE"]="#"
S["MODULE__LSPROF_TRUE"]=""
S["MODULE__JSON_FALSE"]="#"
S["MODULE__JSON_TRUE"]=""
S["MODULE__HEAPQ_FALSE"]="#"
S["MODULE__HEAPQ_TRUE"]=""
S["MODULE__CSV_FALSE"]="#"
S["MODULE__CSV_TRUE"]=""
S["MODULE__CONTEXTVARS_FALSE"]="#"
S["MODULE__CONTEXTVARS_TRUE"]=""
S["MODULE__BISECT_FALSE"]="#"
S["MODULE__BISECT_TRUE"]=""
S["MODULE__ASYNCIO_FALSE"]="#"
S["MODULE__ASYNCIO_TRUE"]=""
S["MODULE_ARRAY_FALSE"]="#"
S["MODULE_ARRAY_TRUE"]=""
S["MODULE_TIME_FALSE"]="#"
S["MODULE_TIME_TRUE"]=""
S["MODULE__IO_FALSE"]="#"
S["MODULE__IO_TRUE"]=""
S["MODULE_BUILDTYPE"]="shared"
S["TEST_MODULES"]="yes"
S["LIBB2_LIBS"]=""
S["LIBB2_CFLAGS"]=""
S["OPENSSL_LDFLAGS"]="-L/usr/local/lib64"
S["OPENSSL_LIBS"]="-lssl -lcrypto"
S["OPENSSL_INCLUDES"]="-I/usr/local/include"
S["ENSUREPIP"]="upgrade"
S["SRCDIRS"]="  Modules   Modules/_blake2   Modules/_ctypes   Modules/_decimal   Modules/_decimal/libmpdec   Modules/_hacl   Modules/_io   Modules/_multiprocessin"\
"g   Modules/_sqlite   Modules/_sre   Modules/_testcapi   Modules/_testinternalcapi   Modules/_testlimitedcapi   Modules/_xxtestfuzz   Modules/cjkcod"\
"ecs   Modules/expat   Objects   Objects/mimalloc   Objects/mimalloc/prim   Parser   Parser/tokenizer   Parser/lexer   Programs   Python   Python/fro"\
"zen_modules"
S["THREADHEADERS"]=" $(srcdir)/Python/thread_nt.h $(srcdir)/Python/thread_pthread.h $(srcdir)/Python/thread_pthread_stubs.h"
S["PANEL_LIBS"]="-Wl,-rpath,/usr/local/lib64 -lpanelw"
S["PANEL_CFLAGS"]="-D_GNU_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE"
S["CURSES_LIBS"]="-Wl,-rpath,/usr/local/lib64 -lncursesw -ltinfow"
S["CURSES_CFLAGS"]="-D_GNU_SOURCE -D_DEFAULT_SOURCE"
S["LIBEDIT_LIBS"]=""
S["LIBEDIT_CFLAGS"]=""
S["LIBREADLINE_LIBS"]=""
S["LIBREADLINE_CFLAGS"]=""
S["WHEEL_PKG_DIR"]=""
S["LIBPL"]="$(prefix)/lib/python3.13/config-$(VERSION)$(ABIFLAGS)-x86_64-linux-gnu"
S["PY_ENABLE_SHARED"]="1"
S["PLATLIBDIR"]="lib"
S["BINLIBDEST"]="$(LIBDIR)/python$(VERSION)$(ABI_THREAD)"
S["LIBPYTHON"]=""
S["MODULE_DEPS_SHARED"]="$(MODULE_DEPS_STATIC) $(EXPORTSYMS)"
S["EXT_SUFFIX"]=".cpython-313-x86_64-linux-gnu.so"
S["ALT_SOABI"]=""
S["SOABI"]="cpython-313-x86_64-linux-gnu"
S["LIBC"]=""
S["LIBM"]="-lm"
S["HAVE_GETHOSTBYNAME"]=""
S["HAVE_GETHOSTBYNAME_R"]=""
S["HAVE_GETHOSTBYNAME_R_3_ARG"]=""
S["HAVE_GETHOSTBYNAME_R_5_ARG"]=""
S["HAVE_GETHOSTBYNAME_R_6_ARG"]=""
S["LIBOBJS"]=""
S["LIBLZMA_LIBS"]="-L/usr/local/lib -llzma"
S["LIBLZMA_CFLAGS"]="-I/usr/local/include"
S["BZIP2_LIBS"]="-L/usr/local/lib -lbz2"
S["BZIP2_CFLAGS"]=""
S["ZLIB_LIBS"]="-L/usr/local/lib -lz"
S["ZLIB_CFLAGS"]="-I/usr/local/include"
S["TRUE"]="true"
S["MACHDEP_OBJS"]=""
S["DYNLOADFILE"]="dynload_shlib.o"
S["DLINCLDIR"]="."
S["PLATFORM_OBJS"]=""
S["PLATFORM_HEADERS"]=""
S["DTRACE_OBJS"]=""
S["DTRACE_HEADERS"]=""
S["DFLAGS"]=""
S["DTRACE"]=""
S["INSTALL_MIMALLOC"]="yes"
S["MIMALLOC_HEADERS"]="$(MIMALLOC_HEADERS)"
S["GDBM_LIBS"]=""
S["GDBM_CFLAGS"]=""
S["X11_LIBS"]=""
S["X11_CFLAGS"]=""
S["TCLTK_LIBS"]="-L/usr/local/lib -ltk8.6 -ltkstub8.6 -ltcl8.6 -ltclstub8.6"
S["TCLTK_CFLAGS"]="-I/usr/local/include"
S["LIBSQLITE3_LIBS"]="-L/usr/local/lib -lsqlite3"
S["LIBSQLITE3_CFLAGS"]="-I/usr/local/include -I$(srcdir)/Modules/_sqlite"
S["LIBMPDEC_INTERNAL"]="$(LIBMPDEC_HEADERS) $(LIBMPDEC_A)"
S["LIBMPDEC_LIBS"]="-lm $(LIBMPDEC_A)"
S["LIBMPDEC_CFLAGS"]="-I$(srcdir)/Modules/_decimal/libmpdec -DCONFIG_64=1 -DANSI=1 -DHAVE_UINT128_T=1"
S["MODULE__CTYPES_MALLOC_CLOSURE"]=""
S["LIBFFI_LIBS"]="-L/usr/local/lib/../lib64 -lffi -ldl"
S["LIBFFI_CFLAGS"]="-I/usr/local/include"
S["LIBEXPAT_INTERNAL"]="$(LIBEXPAT_HEADERS) $(LIBEXPAT_A)"
S["LIBEXPAT_CFLAGS"]="-I$(srcdir)/Modules/expat"
S["TZPATH"]="/usr/share/zoneinfo:/usr/lib/zoneinfo:/usr/share/lib/zoneinfo:/etc/zoneinfo"
S["LIBUUID_LIBS"]="-luuid"
S["LIBUUID_CFLAGS"]="-I/usr/include/uuid"
S["PERF_TRAMPOLINE_OBJ"]="Python/asm_trampoline.o"
S["SHLIBS"]="$(LIBS)"
S["CFLAGSFORSHARED"]="$(CCSHARED)"
S["LINKFORSHARED"]="-Xlinker -export-dynamic"
S["CCSHARED"]="-fPIC"
S["BLDSHARED"]="$(CC) -shared"
S["LDCXXSHARED"]="$(CXX) -shared"
S["LDSHARED"]="$(CC) -shared"
S["SHLIB_SUFFIX"]=".so"
S["DSYMUTIL_PATH"]=""
S["DSYMUTIL"]=""
S["UNIVERSAL_ARCH_FLAGS"]=""
S["WASM_STDLIB"]=""
S["WASM_ASSETS_DIR"]=""
S["LDFLAGS_NOLTO"]="-fno-lto"
S["LDFLAGS_NODIST"]=" -fno-semantic-interposition -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -g"
S["CFLAGS_NODIST"]=" -fno-semantic-interposition -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -g -std=c11 -Wextra -Wno-unused-parameter -Wno-missing"\
"-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden"
S["BASECFLAGS"]=" -fno-strict-overflow -Wsign-compare"
S["CFLAGS_ALIASING"]=""
S["OPT"]="-DNDEBUG -g -O3 -Wall"
S["BOLT_APPLY_FLAGS"]=" -update-debug-sections -reorder-blocks=ext-tsp -reorder-functions=hfsort+ -split-functions -icf=1 -inline-all -split-eh -reorder-functions-use-hot-"\
"size -peepholes=none -jump-tables=aggressive -inline-ap -indirect-call-promotion=all -dyno-stats -use-gnu-stack -frame-opt=hot "
S["BOLT_INSTRUMENT_FLAGS"]=""
S["BOLT_BINARIES"]="$(BUILDPYTHON) $(INSTSONAME)"
S["MERGE_FDATA"]=""
S["LLVM_BOLT"]=""
S["PREBOLT_RULE"]=""
S["LLVM_PROF_FOUND"]="found"
S["LLVM_PROFDATA"]="/usr/local/bin/llvm-profdata"
S["LLVM_PROF_ERR"]="no"
S["LLVM_PROF_FILE"]=""
S["LLVM_PROF_MERGER"]="true"
S["PGO_PROF_USE_FLAG"]="-fprofile-use -fprofile-correction"
S["PGO_PROF_GEN_FLAG"]="-fprofile-generate"
S["LLVM_AR_FOUND"]=""
S["LLVM_AR"]=""
S["PROFILE_TASK"]="-m test --pgo --timeout=$(TESTTIMEOUT)"
S["DEF_MAKE_RULE"]="build_all"
S["DEF_MAKE_ALL_RULE"]="profile-opt"
S["JIT_STENCILS_H"]=""
S["REGEN_JIT_COMMAND"]=""
S["ABI_THREAD"]=""
S["ABIFLAGS"]=""
S["LN"]="ln"
S["MKDIR_P"]="/usr/bin/mkdir -p"
S["INSTALL_DATA"]="${INSTALL} -m 644"
S["INSTALL_SCRIPT"]="${INSTALL}"
S["INSTALL_PROGRAM"]="${INSTALL}"
S["ARFLAGS"]="rcs"
S["ac_ct_AR"]="ar"
S["AR"]="ar"
S["LINK_PYTHON_OBJS"]="$(BLDLIBRARY)"
S["LINK_PYTHON_DEPS"]="$(LIBRARY_DEPS)"
S["LIBRARY_DEPS"]="$(LDLIBRARY) $(PY3LIBRARY) $(EXPORTSYMS)"
S["NODE"]=""
S["HOSTRUNNER"]=""
S["STATIC_LIBPYTHON"]="0"
S["GNULD"]="yes"
S["EXPORTSFROM"]=""
S["EXPORTSYMS"]=""
S["LINKCC"]="$(PURIFY) $(CC)"
S["LDVERSION"]="$(VERSION)$(ABIFLAGS)"
S["RUNSHARED"]="LD_LIBRARY_PATH=/src/chroot/Python333/Python-3.13.1"
S["INSTSONAME"]="libpython$(LDVERSION).so.1.0"
S["LDLIBRARYDIR"]=""
S["PY3LIBRARY"]="libpython3.so"
S["BLDLIBRARY"]="-L. -lpython$(LDVERSION)"
S["DLLLIBRARY"]=""
S["LDLIBRARY"]="libpython$(LDVERSION).so"
S["LIBRARY"]="libpython$(VERSION)$(ABIFLAGS).a"
S["BUILDEXEEXT"]=""
S["NO_AS_NEEDED"]="-Wl,--no-as-needed"
S["MULTIARCH_CPPFLAGS"]="-DMULTIARCH=\\\"x86_64-linux-gnu\\\""
S["PLATFORM_TRIPLET"]="x86_64-linux-gnu"
S["MULTIARCH"]="x86_64-linux-gnu"
S["ac_ct_CXX"]=""
S["CXX"]="g++"
S["EGREP"]="/usr/local/bin/grep -E"
S["SED"]="/usr/local/bin/sed"
S["GREP"]="/usr/local/bin/grep"
S["CPP"]="gcc -E"
S["OBJEXT"]="o"
S["EXEEXT"]=""
S["ac_ct_CC"]="gcc"
S["CPPFLAGS"]=""
S["LDFLAGS"]=""
S["CFLAGS"]="--sysroot=/root/chroot-n  -Ichr/include -Wl,--dynamic-linker=/chr/lib/ld-linux-x86-64.so.2"
S["CC"]="gcc"
S["HAS_XCRUN"]=""
S["IPHONEOS_DEPLOYMENT_TARGET"]=""
S["EXPORT_MACOSX_DEPLOYMENT_TARGET"]="#"
S["CONFIGURE_MACOSX_DEPLOYMENT_TARGET"]=""
S["_PYTHON_HOST_PLATFORM"]=""
S["APP_STORE_COMPLIANCE_PATCH"]=""
S["INSTALLTARGETS"]="commoninstall bininstall maninstall"
S["FRAMEWORKINSTALLAPPSPREFIX"]=""
S["FRAMEWORKUNIXTOOLSPREFIX"]="/root/chroot-n/python"
S["FRAMEWORKPYTHONW"]=""
S["FRAMEWORKALTINSTALLLAST"]=""
S["FRAMEWORKALTINSTALLFIRST"]=""
S["FRAMEWORKINSTALLLAST"]=""
S["FRAMEWORKINSTALLFIRST"]=""
S["RESSRCDIR"]=""
S["PYTHONFRAMEWORKINSTALLNAMEPREFIX"]=""
S["PYTHONFRAMEWORKINSTALLDIR"]=""
S["PYTHONFRAMEWORKPREFIX"]=""
S["PYTHONFRAMEWORKDIR"]="no-framework"
S["PYTHONFRAMEWORKIDENTIFIER"]="org.python.python"
S["PYTHONFRAMEWORK"]=""
S["LIPO_INTEL64_FLAGS"]=""
S["LIPO_32BIT_FLAGS"]=""
S["ARCH_RUN_32BIT"]=""
S["UNIVERSALSDK"]=""
S["MACHDEP"]="linux"
S["PKG_CONFIG_LIBDIR"]=""
S["PKG_CONFIG_PATH"]=""
S["PKG_CONFIG"]="/usr/local/bin/pkg-config"
S["CONFIG_ARGS"]=" '--with-lto' '--enable-shared' '--without-static-libpython' '--prefix=/root/chroot-n/python' '--disable-ipv6' '--enable-optimizations' 'CFLAGS=--sy"\
"sroot=/root/chroot-n  -Ichr/include -Wl,--dynamic-linker=/chr/lib/ld-linux-x86-64.so.2'"
S["SOVERSION"]="1.0"
S["VERSION"]="3.13"
S["PYTHON_FOR_REGEN"]="python3.13"
S["PYTHON_FOR_BUILD_DEPS"]="$(BUILDPYTHON)"
S["FREEZE_MODULE_DEPS"]="_bootstrap_python $(srcdir)/Programs/_freeze_module.py"
S["FREEZE_MODULE"]="$(PYTHON_FOR_FREEZE) $(srcdir)/Programs/_freeze_module.py"
S["FREEZE_MODULE_BOOTSTRAP_DEPS"]="Programs/_freeze_module"
S["FREEZE_MODULE_BOOTSTRAP"]="./Programs/_freeze_module"
S["PYTHON_FOR_FREEZE"]="./_bootstrap_python"
S["PYTHON_FOR_BUILD"]="./$(BUILDPYTHON) -E"
S["host_os"]="linux-gnu"
S["host_vendor"]="pc"
S["host_cpu"]="x86_64"
S["host"]="x86_64-pc-linux-gnu"
S["build_os"]="linux-gnu"
S["build_vendor"]="pc"
S["build_cpu"]="x86_64"
S["build"]="x86_64-pc-linux-gnu"
S["HAS_GIT"]="no-repository"
S["GITBRANCH"]=""
S["GITTAG"]=""
S["GITVERSION"]=""
S["BASECPPFLAGS"]=""
S["target_alias"]=""
S["host_alias"]=""
S["build_alias"]=""
S["LIBS"]="-ldl "
S["ECHO_T"]=""
S["ECHO_N"]="-n"
S["ECHO_C"]=""
S["DEFS"]="-DHAVE_CONFIG_H"
S["mandir"]="${datarootdir}/man"
S["localedir"]="${datarootdir}/locale"
S["libdir"]="${exec_prefix}/lib"
S["psdir"]="${docdir}"
S["pdfdir"]="${docdir}"
S["dvidir"]="${docdir}"
S["htmldir"]="${docdir}"
S["infodir"]="${datarootdir}/info"
S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
S["oldincludedir"]="/usr/include"
S["includedir"]="${prefix}/include"
S["runstatedir"]="${localstatedir}/run"
S["localstatedir"]="${prefix}/var"
S["sharedstatedir"]="${prefix}/com"
S["sysconfdir"]="${prefix}/etc"
S["datadir"]="${datarootdir}"
S["datarootdir"]="${prefix}/share"
S["libexecdir"]="${exec_prefix}/libexec"
S["sbindir"]="${exec_prefix}/sbin"
S["bindir"]="${exec_prefix}/bin"
S["program_transform_name"]="s,x,x,"
S["prefix"]="/root/chroot-n/python"
S["exec_prefix"]="${prefix}"
S["PACKAGE_URL"]=""
S["PACKAGE_BUGREPORT"]="https://github.com/python/cpython/issues/"
S["PACKAGE_STRING"]="python 3.13"
S["PACKAGE_VERSION"]="3.13"
S["PACKAGE_TARNAME"]="python"
S["PACKAGE_NAME"]="python"
S["PATH_SEPARATOR"]=":"
S["SHELL"]="/bin/sh"
_ACAWK
cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
  for (key in S) S_is_set[key] = 1
  FS = "�"

}
{
  line = $ 0
  nfields = split(line, field, "@")
  substed = 0
  len = length(field[1])
  for (i = 2; i < nfields; i++) {
    key = field[i]
    keylen = length(key)
    if (S_is_set[key]) {
      value = S[key]
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
      len += length(value) + length(field[++i])
      substed = 1
    } else
      len += 1 + keylen
  }

  print line
}

_ACAWK
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
else
  cat
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
fi # test -n "$CONFIG_FILES"

# Set up the scripts for CONFIG_HEADERS section.
# No need to generate them if there are no CONFIG_HEADERS.
# This happens for instance with `./config.status Makefile'.
if test -n "$CONFIG_HEADERS"; then
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
BEGIN {
D["_NETBSD_SOURCE"]=" 1"
D["__BSD_VISIBLE"]=" 1"
D["_DARWIN_C_SOURCE"]=" 1"
D["_PYTHONFRAMEWORK"]=" \"\""
D["_XOPEN_SOURCE"]=" 700"
D["_XOPEN_SOURCE_EXTENDED"]=" 1"
D["_POSIX_C_SOURCE"]=" 200809L"
D["HAVE_STDIO_H"]=" 1"
D["HAVE_STDLIB_H"]=" 1"
D["HAVE_STRING_H"]=" 1"
D["HAVE_INTTYPES_H"]=" 1"
D["HAVE_STDINT_H"]=" 1"
D["HAVE_STRINGS_H"]=" 1"
D["HAVE_SYS_STAT_H"]=" 1"
D["HAVE_SYS_TYPES_H"]=" 1"
D["HAVE_UNISTD_H"]=" 1"
D["HAVE_WCHAR_H"]=" 1"
D["STDC_HEADERS"]=" 1"
D["_ALL_SOURCE"]=" 1"
D["_DARWIN_C_SOURCE"]=" 1"
D["_GNU_SOURCE"]=" 1"
D["_HPUX_ALT_XOPEN_SOCKET_API"]=" 1"
D["_NETBSD_SOURCE"]=" 1"
D["_OPENBSD_SOURCE"]=" 1"
D["_POSIX_PTHREAD_SEMANTICS"]=" 1"
D["__STDC_WANT_IEC_60559_ATTRIBS_EXT__"]=" 1"
D["__STDC_WANT_IEC_60559_BFP_EXT__"]=" 1"
D["__STDC_WANT_IEC_60559_DFP_EXT__"]=" 1"
D["__STDC_WANT_IEC_60559_FUNCS_EXT__"]=" 1"
D["__STDC_WANT_IEC_60559_TYPES_EXT__"]=" 1"
D["__STDC_WANT_LIB_EXT2__"]=" 1"
D["__STDC_WANT_MATH_SPEC_FUNCS__"]=" 1"
D["_TANDEM_SOURCE"]=" 1"
D["__EXTENSIONS__"]=" 1"
D["PY_SUPPORT_TIER"]=" 1"
D["Py_ENABLE_SHARED"]=" 1"
D["STDC_HEADERS"]=" 1"
D["HAVE_ALLOCA_H"]=" 1"
D["HAVE_ASM_TYPES_H"]=" 1"
D["HAVE_DLFCN_H"]=" 1"
D["HAVE_ENDIAN_H"]=" 1"
D["HAVE_ERRNO_H"]=" 1"
D["HAVE_FCNTL_H"]=" 1"
D["HAVE_GRP_H"]=" 1"
D["HAVE_LANGINFO_H"]=" 1"
D["HAVE_LIBINTL_H"]=" 1"
D["HAVE_LINUX_AUXVEC_H"]=" 1"
D["HAVE_SYS_AUXV_H"]=" 1"
D["HAVE_LINUX_FS_H"]=" 1"
D["HAVE_LINUX_LIMITS_H"]=" 1"
D["HAVE_LINUX_MEMFD_H"]=" 1"
D["HAVE_LINUX_RANDOM_H"]=" 1"
D["HAVE_LINUX_SOUNDCARD_H"]=" 1"
D["HAVE_LINUX_TIPC_H"]=" 1"
D["HAVE_LINUX_WAIT_H"]=" 1"
D["HAVE_NETDB_H"]=" 1"
D["HAVE_NET_ETHERNET_H"]=" 1"
D["HAVE_NETINET_IN_H"]=" 1"
D["HAVE_NETPACKET_PACKET_H"]=" 1"
D["HAVE_POLL_H"]=" 1"
D["HAVE_PTHREAD_H"]=" 1"
D["HAVE_PTY_H"]=" 1"
D["HAVE_SCHED_H"]=" 1"
D["HAVE_SETJMP_H"]=" 1"
D["HAVE_SHADOW_H"]=" 1"
D["HAVE_SIGNAL_H"]=" 1"
D["HAVE_SPAWN_H"]=" 1"
D["HAVE_SYS_EPOLL_H"]=" 1"
D["HAVE_SYS_EVENTFD_H"]=" 1"
D["HAVE_SYS_FILE_H"]=" 1"
D["HAVE_SYS_IOCTL_H"]=" 1"
D["HAVE_SYS_MMAN_H"]=" 1"
D["HAVE_SYS_PARAM_H"]=" 1"
D["HAVE_SYS_POLL_H"]=" 1"
D["HAVE_SYS_RANDOM_H"]=" 1"
D["HAVE_SYS_RESOURCE_H"]=" 1"
D["HAVE_SYS_SELECT_H"]=" 1"
D["HAVE_SYS_SENDFILE_H"]=" 1"
D["HAVE_SYS_SOCKET_H"]=" 1"
D["HAVE_SYS_SOUNDCARD_H"]=" 1"
D["HAVE_SYS_STAT_H"]=" 1"
D["HAVE_SYS_STATVFS_H"]=" 1"
D["HAVE_SYS_SYSCALL_H"]=" 1"
D["HAVE_SYS_SYSMACROS_H"]=" 1"
D["HAVE_SYS_TIME_H"]=" 1"
D["HAVE_SYS_TIMES_H"]=" 1"
D["HAVE_SYS_TIMERFD_H"]=" 1"
D["HAVE_SYS_TYPES_H"]=" 1"
D["HAVE_SYS_UIO_H"]=" 1"
D["HAVE_SYS_UN_H"]=" 1"
D["HAVE_SYS_UTSNAME_H"]=" 1"
D["HAVE_SYS_WAIT_H"]=" 1"
D["HAVE_SYS_XATTR_H"]=" 1"
D["HAVE_SYSEXITS_H"]=" 1"
D["HAVE_SYSLOG_H"]=" 1"
D["HAVE_TERMIOS_H"]=" 1"
D["HAVE_UTIME_H"]=" 1"
D["HAVE_UTMP_H"]=" 1"
D["HAVE_DIRENT_H"]=" 1"
D["MAJOR_IN_SYSMACROS"]=" 1"
D["HAVE_NET_IF_H"]=" 1"
D["HAVE_LINUX_NETLINK_H"]=" 1"
D["HAVE_LINUX_QRTR_H"]=" 1"
D["HAVE_LINUX_VM_SOCKETS_H"]=" 1"
D["HAVE_LINUX_CAN_H"]=" 1"
D["HAVE_LINUX_CAN_BCM_H"]=" 1"
D["HAVE_LINUX_CAN_J1939_H"]=" 1"
D["HAVE_LINUX_CAN_RAW_H"]=" 1"
D["HAVE_CLOCK_T"]=" 1"
D["HAVE_MAKEDEV"]=" 1"
D["HAVE_HTOLE64"]=" 1"
D["_LARGEFILE_SOURCE"]=" 1"
D["_FILE_OFFSET_BITS"]=" 64"
D["RETSIGTYPE"]=" void"
D["HAVE_SSIZE_T"]=" 1"
D["HAVE___UINT128_T"]=" 1"
D["HAVE_GCC_UINT128_T"]=" 1"
D["SIZEOF_INT"]=" 4"
D["SIZEOF_LONG"]=" 8"
D["ALIGNOF_LONG"]=" 8"
D["SIZEOF_LONG_LONG"]=" 8"
D["SIZEOF_VOID_P"]=" 8"
D["SIZEOF_SHORT"]=" 2"
D["SIZEOF_FLOAT"]=" 4"
D["SIZEOF_DOUBLE"]=" 8"
D["SIZEOF_FPOS_T"]=" 16"
D["SIZEOF_SIZE_T"]=" 8"
D["ALIGNOF_SIZE_T"]=" 8"
D["SIZEOF_PID_T"]=" 4"
D["SIZEOF_UINTPTR_T"]=" 8"
D["ALIGNOF_MAX_ALIGN_T"]=" 16"
D["HAVE_LONG_DOUBLE"]=" 1"
D["SIZEOF_LONG_DOUBLE"]=" 16"
D["SIZEOF__BOOL"]=" 1"
D["SIZEOF_OFF_T"]=" 8"
D["SIZEOF_TIME_T"]=" 8"
D["SIZEOF_PTHREAD_T"]=" 8"
D["SIZEOF_PTHREAD_KEY_T"]=" 4"
D["PTHREAD_KEY_T_IS_COMPATIBLE_WITH_INT"]=" 1"
D["PY_HAVE_PERF_TRAMPOLINE"]=" 1"
D["HAVE_LIBDL"]=" 1"
D["HAVE_UUID_H"]=" 1"
D["HAVE_UUID_GENERATE_TIME_SAFE"]=" 1"
D["HAVE_FFI_PREP_CIF_VAR"]=" 1"
D["HAVE_FFI_PREP_CLOSURE_LOC"]=" 1"
D["HAVE_FFI_CLOSURE_ALLOC"]=" 1"
D["WITH_DECIMAL_CONTEXTVAR"]=" 1"
D["HAVE_LIBSQLITE3"]=" 1"
D["HAVE_LIBSQLITE3"]=" 1"
D["HAVE_LIBSQLITE3"]=" 1"
D["HAVE_LIBSQLITE3"]=" 1"
D["HAVE_LIBSQLITE3"]=" 1"
D["HAVE_LIBSQLITE3"]=" 1"
D["HAVE_LIBSQLITE3"]=" 1"
D["HAVE_LIBSQLITE3"]=" 1"
D["HAVE_LIBSQLITE3"]=" 1"
D["PY_SQLITE_HAVE_SERIALIZE"]=" 1"
D["_REENTRANT"]=" 1"
D["PTHREAD_SYSTEM_SCHED_SUPPORTED"]=" 1"
D["HAVE_PTHREAD_SIGMASK"]=" 1"
D["HAVE_PTHREAD_GETCPUCLOCKID"]=" 1"
D["HAVE_LINUX_CAN_RAW_FD_FRAMES"]=" 1"
D["HAVE_LINUX_CAN_RAW_JOIN_FILTERS"]=" 1"
D["WITH_DOC_STRINGS"]=" 1"
D["HAVE_STD_ATOMIC"]=" 1"
D["HAVE_BUILTIN_ATOMIC"]=" 1"
D["WITH_MIMALLOC"]=" 1"
D["WITH_PYMALLOC"]=" 1"
D["WITH_FREELISTS"]=" 1"
D["PY_COERCE_C_LOCALE"]=" 1"
D["HAVE_DLOPEN"]=" 1"
D["HAVE_DYNAMIC_LOADING"]=" 1"
D["HAVE_ACCEPT4"]=" 1"
D["HAVE_ALARM"]=" 1"
D["HAVE_BIND_TEXTDOMAIN_CODESET"]=" 1"
D["HAVE_CHMOD"]=" 1"
D["HAVE_CHOWN"]=" 1"
D["HAVE_CLOCK"]=" 1"
D["HAVE_CLOSEFROM"]=" 1"
D["HAVE_CLOSE_RANGE"]=" 1"
D["HAVE_CONFSTR"]=" 1"
D["HAVE_COPY_FILE_RANGE"]=" 1"
D["HAVE_CTERMID"]=" 1"
D["HAVE_DUP"]=" 1"
D["HAVE_DUP3"]=" 1"
D["HAVE_EXECV"]=" 1"
D["HAVE_EXPLICIT_BZERO"]=" 1"
D["HAVE_FACCESSAT"]=" 1"
D["HAVE_FCHMOD"]=" 1"
D["HAVE_FCHMODAT"]=" 1"
D["HAVE_FCHOWN"]=" 1"
D["HAVE_FCHOWNAT"]=" 1"
D["HAVE_FDOPENDIR"]=" 1"
D["HAVE_FEXECVE"]=" 1"
D["HAVE_FORK"]=" 1"
D["HAVE_FPATHCONF"]=" 1"
D["HAVE_FSTATAT"]=" 1"
D["HAVE_FTIME"]=" 1"
D["HAVE_FTRUNCATE"]=" 1"
D["HAVE_FUTIMENS"]=" 1"
D["HAVE_FUTIMES"]=" 1"
D["HAVE_FUTIMESAT"]=" 1"
D["HAVE_GAI_STRERROR"]=" 1"
D["HAVE_GETEGID"]=" 1"
D["HAVE_GETEUID"]=" 1"
D["HAVE_GETGID"]=" 1"
D["HAVE_GETGRENT"]=" 1"
D["HAVE_GETGRGID"]=" 1"
D["HAVE_GETGRGID_R"]=" 1"
D["HAVE_GETGRNAM_R"]=" 1"
D["HAVE_GETGROUPLIST"]=" 1"
D["HAVE_GETHOSTNAME"]=" 1"
D["HAVE_GETITIMER"]=" 1"
D["HAVE_GETLOADAVG"]=" 1"
D["HAVE_GETLOGIN"]=" 1"
D["HAVE_GETPEERNAME"]=" 1"
D["HAVE_GETPGID"]=" 1"
D["HAVE_GETPID"]=" 1"
D["HAVE_GETPPID"]=" 1"
D["HAVE_GETPRIORITY"]=" 1"
D["HAVE_GETPWENT"]=" 1"
D["HAVE_GETPWNAM_R"]=" 1"
D["HAVE_GETPWUID"]=" 1"
D["HAVE_GETPWUID_R"]=" 1"
D["HAVE_GETRESGID"]=" 1"
D["HAVE_GETRESUID"]=" 1"
D["HAVE_GETRUSAGE"]=" 1"
D["HAVE_GETSID"]=" 1"
D["HAVE_GETSPENT"]=" 1"
D["HAVE_GETSPNAM"]=" 1"
D["HAVE_GETUID"]=" 1"
D["HAVE_GETWD"]=" 1"
D["HAVE_GRANTPT"]=" 1"
D["HAVE_IF_NAMEINDEX"]=" 1"
D["HAVE_INITGROUPS"]=" 1"
D["HAVE_KILL"]=" 1"
D["HAVE_KILLPG"]=" 1"
D["HAVE_LCHOWN"]=" 1"
D["HAVE_LINKAT"]=" 1"
D["HAVE_LOCKF"]=" 1"
D["HAVE_LSTAT"]=" 1"
D["HAVE_LUTIMES"]=" 1"
D["HAVE_MADVISE"]=" 1"
D["HAVE_MBRTOWC"]=" 1"
D["HAVE_MEMRCHR"]=" 1"
D["HAVE_MKDIRAT"]=" 1"
D["HAVE_MKFIFO"]=" 1"
D["HAVE_MKFIFOAT"]=" 1"
D["HAVE_MKNOD"]=" 1"
D["HAVE_MKNODAT"]=" 1"
D["HAVE_MKTIME"]=" 1"
D["HAVE_MMAP"]=" 1"
D["HAVE_MREMAP"]=" 1"
D["HAVE_NICE"]=" 1"
D["HAVE_OPENAT"]=" 1"
D["HAVE_OPENDIR"]=" 1"
D["HAVE_PATHCONF"]=" 1"
D["HAVE_PAUSE"]=" 1"
D["HAVE_PIPE"]=" 1"
D["HAVE_PIPE2"]=" 1"
D["HAVE_POLL"]=" 1"
D["HAVE_POSIX_FADVISE"]=" 1"
D["HAVE_POSIX_FALLOCATE"]=" 1"
D["HAVE_POSIX_OPENPT"]=" 1"
D["HAVE_POSIX_SPAWN"]=" 1"
D["HAVE_POSIX_SPAWNP"]=" 1"
D["HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSEFROM_NP"]=" 1"
D["HAVE_PREAD"]=" 1"
D["HAVE_PREADV"]=" 1"
D["HAVE_PREADV2"]=" 1"
D["HAVE_PROCESS_VM_READV"]=" 1"
D["HAVE_PTHREAD_CONDATTR_SETCLOCK"]=" 1"
D["HAVE_PTHREAD_KILL"]=" 1"
D["HAVE_PTSNAME"]=" 1"
D["HAVE_PTSNAME_R"]=" 1"
D["HAVE_PWRITE"]=" 1"
D["HAVE_PWRITEV"]=" 1"
D["HAVE_PWRITEV2"]=" 1"
D["HAVE_READLINK"]=" 1"
D["HAVE_READLINKAT"]=" 1"
D["HAVE_READV"]=" 1"
D["HAVE_REALPATH"]=" 1"
D["HAVE_RENAMEAT"]=" 1"
D["HAVE_SCHED_GET_PRIORITY_MAX"]=" 1"
D["HAVE_SCHED_RR_GET_INTERVAL"]=" 1"
D["HAVE_SCHED_SETAFFINITY"]=" 1"
D["HAVE_SCHED_SETPARAM"]=" 1"
D["HAVE_SCHED_SETSCHEDULER"]=" 1"
D["HAVE_SEM_CLOCKWAIT"]=" 1"
D["HAVE_SEM_GETVALUE"]=" 1"
D["HAVE_SEM_OPEN"]=" 1"
D["HAVE_SEM_TIMEDWAIT"]=" 1"
D["HAVE_SEM_UNLINK"]=" 1"
D["HAVE_SENDFILE"]=" 1"
D["HAVE_SETEGID"]=" 1"
D["HAVE_SETEUID"]=" 1"
D["HAVE_SETGID"]=" 1"
D["HAVE_SETHOSTNAME"]=" 1"
D["HAVE_SETITIMER"]=" 1"
D["HAVE_SETLOCALE"]=" 1"
D["HAVE_SETPGID"]=" 1"
D["HAVE_SETPGRP"]=" 1"
D["HAVE_SETPRIORITY"]=" 1"
D["HAVE_SETREGID"]=" 1"
D["HAVE_SETRESGID"]=" 1"
D["HAVE_SETRESUID"]=" 1"
D["HAVE_SETREUID"]=" 1"
D["HAVE_SETSID"]=" 1"
D["HAVE_SETUID"]=" 1"
D["HAVE_SETVBUF"]=" 1"
D["HAVE_SHUTDOWN"]=" 1"
D["HAVE_SIGACTION"]=" 1"
D["HAVE_SIGALTSTACK"]=" 1"
D["HAVE_SIGFILLSET"]=" 1"
D["HAVE_SIGINTERRUPT"]=" 1"
D["HAVE_SIGPENDING"]=" 1"
D["HAVE_SIGRELSE"]=" 1"
D["HAVE_SIGTIMEDWAIT"]=" 1"
D["HAVE_SIGWAIT"]=" 1"
D["HAVE_SIGWAITINFO"]=" 1"
D["HAVE_SNPRINTF"]=" 1"
D["HAVE_SPLICE"]=" 1"
D["HAVE_STRFTIME"]=" 1"
D["HAVE_STRLCPY"]=" 1"
D["HAVE_STRSIGNAL"]=" 1"
D["HAVE_SYMLINKAT"]=" 1"
D["HAVE_SYNC"]=" 1"
D["HAVE_SYSCONF"]=" 1"
D["HAVE_TCGETPGRP"]=" 1"
D["HAVE_TCSETPGRP"]=" 1"
D["HAVE_TEMPNAM"]=" 1"
D["HAVE_TIMEGM"]=" 1"
D["HAVE_TIMES"]=" 1"
D["HAVE_TMPFILE"]=" 1"
D["HAVE_TMPNAM"]=" 1"
D["HAVE_TMPNAM_R"]=" 1"
D["HAVE_TRUNCATE"]=" 1"
D["HAVE_TTYNAME"]=" 1"
D["HAVE_UMASK"]=" 1"
D["HAVE_UNAME"]=" 1"
D["HAVE_UNLINKAT"]=" 1"
D["HAVE_UNLOCKPT"]=" 1"
D["HAVE_UTIMENSAT"]=" 1"
D["HAVE_UTIMES"]=" 1"
D["HAVE_VFORK"]=" 1"
D["HAVE_WAIT"]=" 1"
D["HAVE_WAIT3"]=" 1"
D["HAVE_WAIT4"]=" 1"
D["HAVE_WAITID"]=" 1"
D["HAVE_WAITPID"]=" 1"
D["HAVE_WCSCOLL"]=" 1"
D["HAVE_WCSFTIME"]=" 1"
D["HAVE_WCSXFRM"]=" 1"
D["HAVE_WMEMCMP"]=" 1"
D["HAVE_WRITEV"]=" 1"
D["HAVE_GETENTROPY"]=" 1"
D["HAVE_GETGROUPS"]=" 1"
D["HAVE_SYSTEM"]=" 1"
D["HAVE_DIRFD"]=" 1"
D["HAVE_CHROOT"]=" 1"
D["HAVE_LINK"]=" 1"
D["HAVE_SYMLINK"]=" 1"
D["HAVE_FCHDIR"]=" 1"
D["HAVE_FSYNC"]=" 1"
D["HAVE_FDATASYNC"]=" 1"
D["HAVE_EPOLL"]=" 1"
D["HAVE_EPOLL_CREATE1"]=" 1"
D["HAVE_PRLIMIT"]=" 1"
D["HAVE_MEMFD_CREATE"]=" 1"
D["HAVE_EVENTFD"]=" 1"
D["HAVE_TIMERFD_CREATE"]=" 1"
D["HAVE_FLOCK"]=" 1"
D["HAVE_GETPAGESIZE"]=" 1"
D["HAVE_ZLIB_COPY"]=" 1"
D["HAVE_HSTRERROR"]=" 1"
D["HAVE_GETSERVBYNAME"]=" 1"
D["HAVE_GETSERVBYPORT"]=" 1"
D["HAVE_GETHOSTBYNAME"]=" 1"
D["HAVE_GETHOSTBYADDR"]=" 1"
D["HAVE_GETPROTOBYNAME"]=" 1"
D["HAVE_INET_ATON"]=" 1"
D["HAVE_INET_NTOA"]=" 1"
D["HAVE_INET_PTON"]=" 1"
D["HAVE_GETPEERNAME"]=" 1"
D["HAVE_GETSOCKNAME"]=" 1"
D["HAVE_ACCEPT"]=" 1"
D["HAVE_BIND"]=" 1"
D["HAVE_CONNECT"]=" 1"
D["HAVE_LISTEN"]=" 1"
D["HAVE_RECVFROM"]=" 1"
D["HAVE_SENDTO"]=" 1"
D["HAVE_SETSOCKOPT"]=" 1"
D["HAVE_SOCKET"]=" 1"
D["HAVE_SETGROUPS"]=" 1"
D["HAVE_OPENPTY"]=" 1"
D["HAVE_LOGIN_TTY"]=" 1"
D["HAVE_FORKPTY"]=" 1"
D["HAVE_FSEEKO"]=" 1"
D["HAVE_FSTATVFS"]=" 1"
D["HAVE_FTELLO"]=" 1"
D["HAVE_STATVFS"]=" 1"
D["HAVE_DUP2"]=" 1"
D["HAVE_GETPGRP"]=" 1"
D["HAVE_SETPGRP"]=" 1"
D["HAVE_SETNS"]=" 1"
D["HAVE_UNSHARE"]=" 1"
D["HAVE_CLOCK_GETTIME"]=" 1"
D["HAVE_CLOCK_GETRES"]=" 1"
D["HAVE_CLOCK_SETTIME"]=" 1"
D["HAVE_CLOCK_NANOSLEEP"]=" 1"
D["HAVE_NANOSLEEP"]=" 1"
D["HAVE_DEVICE_MACROS"]=" 1"
D["SYS_SELECT_WITH_SYS_TIME"]=" 1"
D["HAVE_GETADDRINFO"]=" 1"
D["HAVE_GETNAMEINFO"]=" 1"
D["HAVE_STRUCT_TM_TM_ZONE"]=" 1"
D["HAVE_TM_ZONE"]=" 1"
D["HAVE_STRUCT_STAT_ST_RDEV"]=" 1"
D["HAVE_STRUCT_STAT_ST_BLKSIZE"]=" 1"
D["HAVE_STRUCT_STAT_ST_BLOCKS"]=" 1"
D["HAVE_STRUCT_PASSWD_PW_GECOS"]=" 1"
D["HAVE_STRUCT_PASSWD_PW_PASSWD"]=" 1"
D["HAVE_SIGINFO_T_SI_BAND"]=" 1"
D["HAVE_ADDRINFO"]=" 1"
D["HAVE_SOCKADDR_STORAGE"]=" 1"
D["HAVE_SOCKADDR_ALG"]=" 1"
D["HAVE_PROTOTYPES"]=" 1"
D["HAVE_SOCKETPAIR"]=" 1"
D["HAVE_GETHOSTBYNAME_R"]=" 1"
D["HAVE_GETHOSTBYNAME_R"]=" 1"
D["HAVE_GETHOSTBYNAME_R_6_ARG"]=" 1"
D["HAVE_GCC_ASM_FOR_X64"]=" 1"
D["DOUBLE_IS_LITTLE_ENDIAN_IEEE754"]=" 1"
D["HAVE_GCC_ASM_FOR_X87"]=" 1"
D["HAVE_ACOSH"]=" 1"
D["HAVE_ASINH"]=" 1"
D["HAVE_ATANH"]=" 1"
D["HAVE_ERF"]=" 1"
D["HAVE_ERFC"]=" 1"
D["HAVE_EXPM1"]=" 1"
D["HAVE_LOG1P"]=" 1"
D["HAVE_LOG2"]=" 1"
D["HAVE_DECL_RTLD_LAZY"]=" 1"
D["HAVE_DECL_RTLD_NOW"]=" 1"
D["HAVE_DECL_RTLD_GLOBAL"]=" 1"
D["HAVE_DECL_RTLD_LOCAL"]=" 1"
D["HAVE_DECL_RTLD_NODELETE"]=" 1"
D["HAVE_DECL_RTLD_NOLOAD"]=" 1"
D["HAVE_DECL_RTLD_DEEPBIND"]=" 1"
D["HAVE_DECL_RTLD_MEMBER"]=" 0"
D["HAVE_WCHAR_H"]=" 1"
D["SIZEOF_WCHAR_T"]=" 4"
D["HAVE_GETC_UNLOCKED"]=" 1"
D["HAVE_WORKING_TZSET"]=" 1"
D["HAVE_STAT_TV_NSEC"]=" 1"
D["HAVE_NCURSESW"]=" 1"
D["HAVE_PANELW"]=" 1"
D["HAVE_DEV_PTMX"]=" 1"
D["HAVE_SOCKLEN_T"]=" 1"
D["HAVE_COMPUTED_GOTOS"]=" 1"
D["HAVE_DIRENT_D_TYPE"]=" 1"
D["HAVE_GETRANDOM_SYSCALL"]=" 1"
D["HAVE_GETRANDOM"]=" 1"
D["HAVE_SHM_OPEN"]=" 1"
D["HAVE_SHM_UNLINK"]=" 1"
D["PY_SSL_DEFAULT_CIPHERS"]=" 1"
D["PY_BUILTIN_HASHLIB_HASHES"]=" \"md5,sha1,sha2,sha3,blake2\""
  for (key in D) D_is_set[key] = 1
  FS = "�"
}
/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
  line = $ 0
  split(line, arg, " ")
  if (arg[1] == "#") {
    defundef = arg[2]
    mac1 = arg[3]
  } else {
    defundef = substr(arg[1], 2)
    mac1 = arg[2]
  }
  split(mac1, mac2, "(") #)
  macro = mac2[1]
  prefix = substr(line, 1, index(line, defundef) - 1)
  if (D_is_set[macro]) {
    # Preserve the white space surrounding the "#".
    print prefix "define", macro P[macro] D[macro]
    next
  } else {
    # Replace #undef with comments.  This is necessary, for example,
    # in the case of _POSIX_SOURCE, which is predefined and required
    # on some systems where configure will not decide to define it.
    if (defundef == "undef") {
      print "/*", prefix defundef, macro, "*/"
      next
    }
  }
}
{ print }
_ACAWK
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
fi # test -n "$CONFIG_HEADERS"


eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
shift
for ac_tag
do
  case $ac_tag in
  :[FHLC]) ac_mode=$ac_tag; continue;;
  esac
  case $ac_mode$ac_tag in
  :[FHL]*:*);;
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  :[FH]-) ac_tag=-:-;;
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  esac
  ac_save_IFS=$IFS
  IFS=:
  set x $ac_tag
  IFS=$ac_save_IFS
  shift
  ac_file=$1
  shift

  case $ac_mode in
  :L) ac_source=$1;;
  :[FH])
    ac_file_inputs=
    for ac_f
    do
      case $ac_f in
      -) ac_f="$ac_tmp/stdin";;
      *) # Look for the file first in the build tree, then in the source tree
	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
	 # because $ac_f cannot contain `:'.
	 test -f "$ac_f" ||
	   case $ac_f in
	   [\\/$]*) false;;
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
	   esac ||
	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
      esac
      case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
      as_fn_append ac_file_inputs " '$ac_f'"
    done

    # Let's still pretend it is `configure' which instantiates (i.e., don't
    # use $as_me), people would be surprised to read:
    #    /* config.h.  Generated by config.status.  */
    configure_input='Generated from '`
	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
	`' by configure.'
    if test x"$ac_file" != x-; then
      configure_input="$ac_file.  $configure_input"
      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
printf "%s\n" "$as_me: creating $ac_file" >&6;}
    fi
    # Neutralize special characters interpreted by sed in replacement strings.
    case $configure_input in #(
    *\&* | *\|* | *\\* )
       ac_sed_conf_input=`printf "%s\n" "$configure_input" |
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
    *) ac_sed_conf_input=$configure_input;;
    esac

    case $ac_tag in
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
    esac
    ;;
  esac

  ac_dir=`$as_dirname -- "$ac_file" ||
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$ac_file" : 'X\(//\)[^/]' \| \
	 X"$ac_file" : 'X\(//\)$' \| \
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
printf "%s\n" X"$ac_file" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
  as_dir="$ac_dir"; as_fn_mkdir_p
  ac_builddir=.

case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
  # A ".." for each directory in $ac_dir_suffix.
  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  case $ac_top_builddir_sub in
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  esac ;;
esac
ac_abs_top_builddir=$ac_pwd
ac_abs_builddir=$ac_pwd$ac_dir_suffix
# for backward compatibility:
ac_top_builddir=$ac_top_build_prefix

case $srcdir in
  .)  # We are building in place.
    ac_srcdir=.
    ac_top_srcdir=$ac_top_builddir_sub
    ac_abs_top_srcdir=$ac_pwd ;;
  [\\/]* | ?:[\\/]* )  # Absolute name.
    ac_srcdir=$srcdir$ac_dir_suffix;
    ac_top_srcdir=$srcdir
    ac_abs_top_srcdir=$srcdir ;;
  *) # Relative name.
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_build_prefix$srcdir
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
esac
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix


  case $ac_mode in
  :F)
  #
  # CONFIG_FILE
  #

  case $INSTALL in
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  esac
  ac_MKDIR_P=$MKDIR_P
  case $MKDIR_P in
  [\\/$]* | ?:[\\/]* ) ;;
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  esac
# If the template does not know about datarootdir, expand it.
# FIXME: This hack should be removed a few years after 2.60.
ac_datarootdir_hack=; ac_datarootdir_seen=
ac_sed_dataroot='
/datarootdir/ {
  p
  q
}
/@datadir@/p
/@docdir@/p
/@infodir@/p
/@localedir@/p
/@mandir@/p'
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
*datarootdir*) ac_datarootdir_seen=yes;;
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  ac_datarootdir_hack='
  s&@datadir@&${datarootdir}&g
  s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
  s&@infodir@&${datarootdir}/info&g
  s&@localedir@&${datarootdir}/locale&g
  s&@mandir@&${datarootdir}/man&g
  s&\${datarootdir}&${prefix}/share&g' ;;
esac
ac_sed_extra="/^[	 ]*VPATH[	 ]*=[	 ]*/{
h
s///
s/^/:/
s/[	 ]*$/:/
s/:\$(srcdir):/:/g
s/:\${srcdir}:/:/g
s/:@srcdir@:/:/g
s/^:*//
s/:*$//
x
s/\(=[	 ]*\).*/\1/
G
s/\n//
s/^[^=]*=[	 ]*$//
}

:t
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
s|@configure_input@|$ac_sed_conf_input|;t t
s&@top_builddir@&$ac_top_builddir_sub&;t t
s&@top_build_prefix@&$ac_top_build_prefix&;t t
s&@srcdir@&$ac_srcdir&;t t
s&@abs_srcdir@&$ac_abs_srcdir&;t t
s&@top_srcdir@&$ac_top_srcdir&;t t
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
s&@builddir@&$ac_builddir&;t t
s&@abs_builddir@&$ac_abs_builddir&;t t
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
s&@INSTALL@&$ac_INSTALL&;t t
s&@MKDIR_P@&$ac_MKDIR_P&;t t
$ac_datarootdir_hack
"
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5

test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined.  Please make sure it is defined" >&5
printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined.  Please make sure it is defined" >&2;}

  rm -f "$ac_tmp/stdin"
  case $ac_file in
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  esac \
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 ;;
  :H)
  #
  # CONFIG_HEADER
  #
  if test x"$ac_file" != x-; then
    {
      printf "%s\n" "/* $configure_input  */" >&1 \
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
    } >"$ac_tmp/config.h" \
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
    else
      rm -f "$ac_file"
      mv "$ac_tmp/config.h" "$ac_file" \
	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
    fi
  else
    printf "%s\n" "/* $configure_input  */" >&1 \
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
      || as_fn_error $? "could not create -" "$LINENO" 5
  fi
 ;;


  esac


  case $ac_file$ac_mode in
    "Modules/ld_so_aix":F) chmod +x Modules/ld_so_aix ;;

  esac
done # for ac_tag


as_fn_exit 0

@erlend-aasland
Copy link
Contributor

Is your /root/chroot-n clean? The --sysroot compiler option may change the lookup path.

@dilyanpalauzov
Copy link
Author

/root/chroot-n is not clean (it has libc, libbz2, libffi, etc) and --sysroot likely impacts the included directories. But this is not the point.

The problem is that the invoked command

$ gcc -DUSE_ZLIB_CRC32 -I/usr/local/include -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall --sysroot=/root/chroot-n -Ichr/include -Wl,--dynamic-linker=/chr/lib/ld-linux-x86-64.so.2 -fno-semantic-interposition -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -g -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -fprofile-generate -I./Include/internal -I./Include/internal/mimalloc -I. -I./Include -fPIC -fPIC -c ./Modules/binascii.c -o Modules/binascii.o

explicitly gives directories outside of the python source code priority, over include paths in the python source tree. That is in the above line -I./Include/internal -I./Include/internal/mimalloc -I. -I./Include should be before --I/usr/local/include --sysroot=/root/chroot-n -Ichr/include.

@colesbury
Copy link
Contributor

If I understand correctly, this is a combination of a few issues:

  1. We generate pyconfig.h in the root directory instead of Include. That means that the #include "pyconfig.h" in Python.h doesn't find it as a relative path so it falls back to searching the system directories, which are controlled by -I. (Python installations are fine because Python.h and pyconfig.h are installed to the same include/ directory)

  2. Modules/binascii.c is built with MODULE_BINASCII_CFLAGS before the standard Python includes. These come from ZLIB_CFLAGS, which comes from pkg-config --cflags "zlib >= 1.2.0".

So depending on what pkg-config returns for zlib, we can end up including the wrong pyconfig.h. On my system, it doesn't add any cflags for zlib because it's installed in the standard system include path. Maybe PKG_CONFIG_SYSTEM_INCLUDE_PATH is different?

I think this would be fixed if we generated pyconfig.h in Include/ instead of the root CPython directory. It might also be possible to change the stdlib module cflags so that they come after the standard Python includes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build pending The issue will be closed if no feedback is provided
Projects
None yet
Development

No branches or pull requests

5 participants