@@ -2616,7 +2616,7 @@ yes)
2616
2616
AC_MSG_RESULT ( [ $MACOSX_DEPLOYMENT_TARGET] )
2617
2617
2618
2618
AC_MSG_CHECKING ( [ if specified universal architectures work] )
2619
- AC_LINK_IFELSE ( [ AC_LANG_PROGRAM ( [ [ # include <stdio.h>] ] , [ [ printf("%d", 42);] ] ) ] ,
2619
+ AC_LINK_IFELSE ( [ AC_LANG_PROGRAM ( [ [ @%:@ include <stdio.h>] ] , [ [ printf("%d", 42);] ] ) ] ,
2620
2620
[ AC_MSG_RESULT ( [ yes] ) ] ,
2621
2621
[ AC_MSG_RESULT ( [ no] )
2622
2622
AC_MSG_ERROR ( [ check config.log and use the '--with-universal-archs' option] )
3057
3057
3058
3058
AC_CACHE_CHECK ( [ for pthread_t] , [ ac_cv_have_pthread_t] , [
3059
3059
AC_COMPILE_IFELSE ( [
3060
- AC_LANG_PROGRAM ( [ [ # include <pthread.h>] ] , [ [ pthread_t x; x = *(pthread_t*)0;] ] )
3060
+ AC_LANG_PROGRAM ( [ [ @%:@ include <pthread.h>] ] , [ [ pthread_t x; x = *(pthread_t*)0;] ] )
3061
3061
] , [ ac_cv_have_pthread_t=yes] , [ ac_cv_have_pthread_t=no] )
3062
3062
] )
3063
3063
AS_VAR_IF ( [ ac_cv_have_pthread_t] , [ yes] , [
@@ -3070,11 +3070,11 @@ AS_VAR_IF([ac_cv_have_pthread_t], [yes], [
3070
3070
3071
3071
# Issue #25658: POSIX hasn't defined that pthread_key_t is compatible with int.
3072
3072
# This checking will be unnecessary after removing deprecated TLS API.
3073
- AC_CHECK_SIZEOF ( [ pthread_key_t] , [ ] , [ [ # include <pthread.h>] ] )
3073
+ AC_CHECK_SIZEOF ( [ pthread_key_t] , [ ] , [ [ @%:@ include <pthread.h>] ] )
3074
3074
AC_CACHE_CHECK ( [ whether pthread_key_t is compatible with int] , [ ac_cv_pthread_key_t_is_arithmetic_type] , [
3075
3075
if test "$ac_cv_sizeof_pthread_key_t" -eq "$ac_cv_sizeof_int" ; then
3076
3076
AC_COMPILE_IFELSE (
3077
- [ AC_LANG_PROGRAM ( [ [ # include <pthread.h>] ] , [ [ pthread_key_t k; k * 1;] ] ) ] ,
3077
+ [ AC_LANG_PROGRAM ( [ [ @%:@ include <pthread.h>] ] , [ [ pthread_key_t k; k * 1;] ] ) ] ,
3078
3078
[ ac_cv_pthread_key_t_is_arithmetic_type=yes] ,
3079
3079
[ ac_cv_pthread_key_t_is_arithmetic_type=no]
3080
3080
)
@@ -3615,7 +3615,7 @@ AC_CHECK_LIB([intl], [textdomain],
3615
3615
case "$ac_sys_system" in
3616
3616
AIX*) AC_MSG_CHECKING ( [ for genuine AIX C++ extensions support] )
3617
3617
AC_LINK_IFELSE ( [
3618
- AC_LANG_PROGRAM ( [ [ # include <load.h>] ] ,
3618
+ AC_LANG_PROGRAM ( [ [ @%:@ include <load.h>] ] ,
3619
3619
[ [ loadAndInit("", 0, "")] ] )
3620
3620
] ,[
3621
3621
AC_DEFINE ( [ AIX_GENUINE_CPLUSPLUS] , [ 1] ,
@@ -3833,9 +3833,9 @@ AS_VAR_IF([have_libffi], [yes], [
3833
3833
CFLAGS="$LIBFFI_CFLAGS $CFLAGS"
3834
3834
LDFLAGS="$LIBFFI_LIBS $LDFLAGS"
3835
3835
3836
- PY_CHECK_FUNC([ ffi_prep_cif_var] , [ # include <ffi.h>] )
3837
- PY_CHECK_FUNC([ ffi_prep_closure_loc] , [ # include <ffi.h>] )
3838
- PY_CHECK_FUNC([ ffi_closure_alloc] , [ # include <ffi.h>] )
3836
+ PY_CHECK_FUNC([ ffi_prep_cif_var] , [ @%:@ include <ffi.h>] )
3837
+ PY_CHECK_FUNC([ ffi_prep_closure_loc] , [ @%:@ include <ffi.h>] )
3838
+ PY_CHECK_FUNC([ ffi_closure_alloc] , [ @%:@ include <ffi.h>] )
3839
3839
] )
3840
3840
] )
3841
3841
@@ -4473,7 +4473,7 @@ AC_ARG_ENABLE([ipv6],
4473
4473
dnl the check does not work on cross compilation case...
4474
4474
AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ /* AF_INET6 available check */
4475
4475
#include <sys/types.h>
4476
- # include <sys/socket.h>] ] ,
4476
+ @%:@ include <sys/socket.h>] ] ,
4477
4477
[ [ int domain = AF_INET6;] ] ) ] ,[
4478
4478
ipv6=yes
4479
4479
] ,[
@@ -4490,7 +4490,7 @@ if test "$ipv6" = "yes"; then
4490
4490
AC_MSG_CHECKING ( [ if RFC2553 API is available] )
4491
4491
AC_COMPILE_IFELSE ( [
4492
4492
AC_LANG_PROGRAM ( [ [ #include <sys/types.h>
4493
- # include <netinet/in.h>] ] ,
4493
+ @%:@ include <netinet/in.h>] ] ,
4494
4494
[ [ struct sockaddr_in6 x;
4495
4495
x.sin6_scope_id;] ] )
4496
4496
] ,[
@@ -4522,7 +4522,7 @@ if test "$ipv6" = "yes"; then
4522
4522
#include <netinet/in.h>
4523
4523
#ifdef IPV6_INRIA_VERSION
4524
4524
yes
4525
- # endif] ,
4525
+ @%:@ endif] ,
4526
4526
[ ipv6type=$i] )
4527
4527
;;
4528
4528
kame)
@@ -4531,7 +4531,7 @@ yes
4531
4531
#include <netinet/in.h>
4532
4532
#ifdef __KAME__
4533
4533
yes
4534
- # endif] ,
4534
+ @%:@ endif] ,
4535
4535
[ ipv6type=$i;
4536
4536
ipv6lib=inet6
4537
4537
ipv6libdir=/usr/local/v6/lib
@@ -4543,7 +4543,7 @@ yes
4543
4543
#include <features.h>
4544
4544
#if defined(__GLIBC__) && ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2))
4545
4545
yes
4546
- # endif] ,
4546
+ @%:@ endif] ,
4547
4547
[ ipv6type=$i;
4548
4548
ipv6trylibc=yes] )
4549
4549
;;
@@ -4569,7 +4569,7 @@ yes
4569
4569
#include <sys/param.h>
4570
4570
#ifdef _TOSHIBA_INET6
4571
4571
yes
4572
- # endif] ,
4572
+ @%:@ endif] ,
4573
4573
[ ipv6type=$i;
4574
4574
ipv6lib=inet6;
4575
4575
ipv6libdir=/usr/local/v6/lib] )
@@ -4579,7 +4579,7 @@ yes
4579
4579
#include </usr/local/v6/include/sys/v6config.h>
4580
4580
#ifdef __V6D__
4581
4581
yes
4582
- # endif] ,
4582
+ @%:@ endif] ,
4583
4583
[ ipv6type=$i;
4584
4584
ipv6lib=v6;
4585
4585
ipv6libdir=/usr/local/v6/lib;
@@ -4590,7 +4590,7 @@ yes
4590
4590
#include <sys/param.h>
4591
4591
#ifdef _ZETA_MINAMI_INET6
4592
4592
yes
4593
- # endif] ,
4593
+ @%:@ endif] ,
4594
4594
[ ipv6type=$i;
4595
4595
ipv6lib=inet6;
4596
4596
ipv6libdir=/usr/local/v6/lib] )
4623
4623
4624
4624
AC_CACHE_CHECK ( [ CAN_RAW_FD_FRAMES] , [ ac_cv_can_raw_fd_frames] , [
4625
4625
AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ /* CAN_RAW_FD_FRAMES available check */
4626
- # include <linux/can/raw.h>] ] ,
4626
+ @%:@ include <linux/can/raw.h>] ] ,
4627
4627
[ [ int can_raw_fd_frames = CAN_RAW_FD_FRAMES;] ] ) ] ,
4628
4628
[ ac_cv_can_raw_fd_frames=yes] ,
4629
4629
[ ac_cv_can_raw_fd_frames=no] )
@@ -4635,7 +4635,7 @@ AS_VAR_IF([ac_cv_can_raw_fd_frames], [yes], [
4635
4635
4636
4636
AC_CACHE_CHECK ( [ for CAN_RAW_JOIN_FILTERS] , [ ac_cv_can_raw_join_filters] , [
4637
4637
AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [
4638
- # include <linux/can/raw.h>] ] ,
4638
+ @%:@ include <linux/can/raw.h>] ] ,
4639
4639
[ [ int can_raw_join_filters = CAN_RAW_JOIN_FILTERS;] ] ) ] ,
4640
4640
[ ac_cv_can_raw_join_filters=yes] ,
4641
4641
[ ac_cv_can_raw_join_filters=no] )
@@ -4882,14 +4882,14 @@ AC_CHECK_DECL([dirfd],
4882
4882
4883
4883
# For some functions, having a definition is not sufficient, since
4884
4884
# we want to take their address.
4885
- PY_CHECK_FUNC([ chroot] , [ # include <unistd.h>] )
4886
- PY_CHECK_FUNC([ link] , [ # include <unistd.h>] )
4887
- PY_CHECK_FUNC([ symlink] , [ # include <unistd.h>] )
4888
- PY_CHECK_FUNC([ fchdir] , [ # include <unistd.h>] )
4889
- PY_CHECK_FUNC([ fsync] , [ # include <unistd.h>] )
4890
- PY_CHECK_FUNC([ fdatasync] , [ # include <unistd.h>] )
4891
- PY_CHECK_FUNC([ epoll_create] , [ # include <sys/epoll.h>] , [ HAVE_EPOLL] )
4892
- PY_CHECK_FUNC([ epoll_create1] , [ # include <sys/epoll.h>] )
4885
+ PY_CHECK_FUNC([ chroot] , [ @%:@ include <unistd.h>] )
4886
+ PY_CHECK_FUNC([ link] , [ @%:@ include <unistd.h>] )
4887
+ PY_CHECK_FUNC([ symlink] , [ @%:@ include <unistd.h>] )
4888
+ PY_CHECK_FUNC([ fchdir] , [ @%:@ include <unistd.h>] )
4889
+ PY_CHECK_FUNC([ fsync] , [ @%:@ include <unistd.h>] )
4890
+ PY_CHECK_FUNC([ fdatasync] , [ @%:@ include <unistd.h>] )
4891
+ PY_CHECK_FUNC([ epoll_create] , [ @%:@ include <sys/epoll.h>] , [ HAVE_EPOLL] )
4892
+ PY_CHECK_FUNC([ epoll_create1] , [ @%:@ include <sys/epoll.h>] )
4893
4893
PY_CHECK_FUNC([ kqueue] ,[
4894
4894
#include <sys/types.h>
4895
4895
#include <sys/event.h>
@@ -4899,7 +4899,7 @@ PY_CHECK_FUNC([prlimit], [
4899
4899
#include <sys/resource.h>
4900
4900
] )
4901
4901
4902
- PY_CHECK_FUNC([ _dyld_shared_cache_contains_path] , [ # include <mach-o/dyld.h>] , [ HAVE_DYLD_SHARED_CACHE_CONTAINS_PATH] )
4902
+ PY_CHECK_FUNC([ _dyld_shared_cache_contains_path] , [ @%:@ include <mach-o/dyld.h>] , [ HAVE_DYLD_SHARED_CACHE_CONTAINS_PATH] )
4903
4903
4904
4904
PY_CHECK_FUNC([ memfd_create] , [
4905
4905
#ifdef HAVE_SYS_MMAN_H
@@ -4922,12 +4922,12 @@ PY_CHECK_FUNC([eventfd], [
4922
4922
# address to avoid compiler warnings and potential miscompilations
4923
4923
# because of the missing prototypes.
4924
4924
4925
- PY_CHECK_FUNC([ ctermid_r] , [ # include <stdio.h>] )
4925
+ PY_CHECK_FUNC([ ctermid_r] , [ @%:@ include <stdio.h>] )
4926
4926
4927
4927
AC_CACHE_CHECK ( [ for flock declaration] , [ ac_cv_flock_decl] ,
4928
4928
[ AC_COMPILE_IFELSE (
4929
4929
[ AC_LANG_PROGRAM (
4930
- [ # include <sys/file.h>] ,
4930
+ [ @%:@ include <sys/file.h>] ,
4931
4931
[ void* p = flock]
4932
4932
) ] ,
4933
4933
[ ac_cv_flock_decl=yes] ,
@@ -4939,12 +4939,12 @@ AS_VAR_IF([ac_cv_flock_decl], [yes],
4939
4939
[ AC_CHECK_FUNCS ( [ flock] , [ ] ,
4940
4940
[ AC_CHECK_LIB ( [ bsd] , [ flock] , [ FCNTL_LIBS="-lbsd"] ) ] ) ] )
4941
4941
4942
- PY_CHECK_FUNC([ getpagesize] , [ # include <unistd.h>] )
4942
+ PY_CHECK_FUNC([ getpagesize] , [ @%:@ include <unistd.h>] )
4943
4943
4944
4944
AC_CACHE_CHECK ( [ for broken unsetenv] , [ ac_cv_broken_unsetenv] ,
4945
4945
[ AC_COMPILE_IFELSE (
4946
4946
[ AC_LANG_PROGRAM (
4947
- [ # include <stdlib.h>] ,
4947
+ [ @%:@ include <stdlib.h>] ,
4948
4948
[ int res = unsetenv("DUMMY")] ) ] ,
4949
4949
[ ac_cv_broken_unsetenv=no] ,
4950
4950
[ ac_cv_broken_unsetenv=yes]
@@ -5072,7 +5072,7 @@ PKG_CHECK_MODULES([LIBLZMA], [liblzma], [have_liblzma=yes], [
5072
5072
] )
5073
5073
5074
5074
dnl PY_CHECK_NETDB_FUNC(FUNCTION)
5075
- AC_DEFUN ( [ PY_CHECK_NETDB_FUNC] , [ PY_CHECK_FUNC([ $1 ] , [ # include <netdb.h>] )] )
5075
+ AC_DEFUN ( [ PY_CHECK_NETDB_FUNC] , [ PY_CHECK_FUNC([ $1 ] , [ @%:@ include <netdb.h>] )] )
5076
5076
5077
5077
PY_CHECK_NETDB_FUNC([ hstrerror] )
5078
5078
dnl not available in WASI yet
@@ -5395,10 +5395,10 @@ AC_CHECK_MEMBERS([struct passwd.pw_gecos, struct passwd.pw_passwd], [], [], [[
5395
5395
#include <pwd.h>
5396
5396
] ] )
5397
5397
# Issue #21085: In Cygwin, siginfo_t does not have si_band field.
5398
- AC_CHECK_MEMBERS ( [ siginfo_t.si_band] , [ ] , [ ] , [ [ # include <signal.h>] ] )
5398
+ AC_CHECK_MEMBERS ( [ siginfo_t.si_band] , [ ] , [ ] , [ [ @%:@ include <signal.h>] ] )
5399
5399
5400
5400
AC_CACHE_CHECK ( [ for time.h that defines altzone] , [ ac_cv_header_time_altzone] , [
5401
- AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ # include <time.h>] ] , [ [ return altzone;] ] ) ] ,
5401
+ AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ @%:@ include <time.h>] ] , [ [ return altzone;] ] ) ] ,
5402
5402
[ ac_cv_header_time_altzone=yes] ,
5403
5403
[ ac_cv_header_time_altzone=no] )
5404
5404
] )
@@ -5408,7 +5408,7 @@ if test $ac_cv_header_time_altzone = yes; then
5408
5408
fi
5409
5409
5410
5410
AC_CACHE_CHECK ( [ for addrinfo] , [ ac_cv_struct_addrinfo] ,
5411
- AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ # include <netdb.h>] ] , [ [ struct addrinfo a] ] ) ] ,
5411
+ AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ @%:@ include <netdb.h>] ] , [ [ struct addrinfo a] ] ) ] ,
5412
5412
[ ac_cv_struct_addrinfo=yes] ,
5413
5413
[ ac_cv_struct_addrinfo=no] ) )
5414
5414
if test $ac_cv_struct_addrinfo = yes; then
5418
5418
AC_CACHE_CHECK ( [ for sockaddr_storage] , [ ac_cv_struct_sockaddr_storage] ,
5419
5419
AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [
5420
5420
# include <sys/types.h>
5421
- # include <sys/socket.h>] ] , [ [ struct sockaddr_storage s] ] ) ] ,
5421
+ @%:@ include <sys/socket.h>] ] , [ [ struct sockaddr_storage s] ] ) ] ,
5422
5422
[ ac_cv_struct_sockaddr_storage=yes] ,
5423
5423
[ ac_cv_struct_sockaddr_storage=no] ) )
5424
5424
if test $ac_cv_struct_sockaddr_storage = yes; then
@@ -5430,7 +5430,7 @@ AC_CACHE_CHECK([for sockaddr_alg], [ac_cv_struct_sockaddr_alg],
5430
5430
AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [
5431
5431
# include <sys/types.h>
5432
5432
# include <sys/socket.h>
5433
- # include <linux/if_alg.h>] ] , [ [ struct sockaddr_alg s] ] ) ] ,
5433
+ @%:@ include <linux/if_alg.h>] ] , [ [ struct sockaddr_alg s] ] ) ] ,
5434
5434
[ ac_cv_struct_sockaddr_alg=yes] ,
5435
5435
[ ac_cv_struct_sockaddr_alg=no] ) )
5436
5436
if test $ac_cv_struct_sockaddr_alg = yes; then
@@ -5469,7 +5469,7 @@ PY_CHECK_FUNC([socketpair], [
5469
5469
# check if sockaddr has sa_len member
5470
5470
AC_CACHE_CHECK ( [ if sockaddr has sa_len member] , [ ac_cv_struct_sockaddr_sa_len] , [
5471
5471
AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ #include <sys/types.h>
5472
- # include <sys/socket.h>] ] , [ [ struct sockaddr x;
5472
+ @%:@ include <sys/socket.h>] ] , [ [ struct sockaddr x;
5473
5473
x.sa_len = 0;] ] ) ] ,
5474
5474
[ ac_cv_struct_sockaddr_sa_len=yes] , [ ac_cv_struct_sockaddr_sa_len=no] )
5475
5475
] )
@@ -5803,7 +5803,7 @@ AS_VAR_IF([ac_cv_broken_sem_getvalue], [yes], [
5803
5803
)
5804
5804
] )
5805
5805
5806
- AC_CHECK_DECLS ( [ RTLD_LAZY, RTLD_NOW, RTLD_GLOBAL, RTLD_LOCAL, RTLD_NODELETE, RTLD_NOLOAD, RTLD_DEEPBIND, RTLD_MEMBER] , [ ] , [ ] , [ [ # include <dlfcn.h>] ] )
5806
+ AC_CHECK_DECLS ( [ RTLD_LAZY, RTLD_NOW, RTLD_GLOBAL, RTLD_LOCAL, RTLD_NODELETE, RTLD_NOLOAD, RTLD_DEEPBIND, RTLD_MEMBER] , [ ] , [ ] , [ [ @%:@ include <dlfcn.h>] ] )
5807
5807
5808
5808
# determine what size digit to use for Python's longs
5809
5809
AC_MSG_CHECKING ( [ digit size for Python's longs] )
6020
6020
6021
6021
# check for getc_unlocked and related locking functions
6022
6022
AC_CACHE_CHECK ( [ for getc_unlocked() and friends] , [ ac_cv_have_getc_unlocked] , [
6023
- AC_LINK_IFELSE ( [ AC_LANG_PROGRAM ( [ [ # include <stdio.h>] ] , [ [
6023
+ AC_LINK_IFELSE ( [ AC_LANG_PROGRAM ( [ [ @%:@ include <stdio.h>] ] , [ [
6024
6024
FILE *f = fopen("/dev/null", "r");
6025
6025
flockfile(f);
6026
6026
getc_unlocked(f);
6326
6326
6327
6327
# Look for subsecond timestamps in struct stat
6328
6328
AC_CACHE_CHECK ( [ for tv_nsec in struct stat] , [ ac_cv_stat_tv_nsec] ,
6329
- AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ # include <sys/stat.h>] ] , [ [
6329
+ AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ @%:@ include <sys/stat.h>] ] , [ [
6330
6330
struct stat st;
6331
6331
st.st_mtim.tv_nsec = 1;
6332
6332
] ] ) ] ,
6340
6340
6341
6341
# Look for BSD style subsecond timestamps in struct stat
6342
6342
AC_CACHE_CHECK ( [ for tv_nsec2 in struct stat] , [ ac_cv_stat_tv_nsec2] ,
6343
- AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ # include <sys/stat.h>] ] , [ [
6343
+ AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ @%:@ include <sys/stat.h>] ] , [ [
6344
6344
struct stat st;
6345
6345
st.st_mtimespec.tv_nsec = 1;
6346
6346
] ] ) ] ,
@@ -6483,7 +6483,7 @@ AC_CHECK_HEADERS([term.h], [], [], [
6483
6483
6484
6484
# On HP/UX 11.0, mvwdelch is a block with a return statement
6485
6485
AC_CACHE_CHECK ( [ whether mvwdelch is an expression] , [ ac_cv_mvwdelch_is_expression] ,
6486
- AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ # include <curses.h>] ] , [ [
6486
+ AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ @%:@ include <curses.h>] ] , [ [
6487
6487
int rtn;
6488
6488
rtn = mvwdelch(0,0,0);
6489
6489
] ] ) ] ,
@@ -6527,7 +6527,7 @@ AC_DEFUN([PY_CHECK_CURSES_FUNC],
6527
6527
[ py_var] ,
6528
6528
[ AC_COMPILE_IFELSE (
6529
6529
[ AC_LANG_PROGRAM (
6530
- [ # include <curses.h>] , [
6530
+ [ @%:@ include <curses.h>] , [
6531
6531
#ifndef $1
6532
6532
void *x=$1
6533
6533
#endif
0 commit comments