@@ -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
@@ -4445,7 +4445,7 @@ AC_ARG_ENABLE([ipv6],
4445
4445
dnl the check does not work on cross compilation case...
4446
4446
AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ /* AF_INET6 available check */
4447
4447
#include <sys/types.h>
4448
- # include <sys/socket.h>] ] ,
4448
+ @%:@ include <sys/socket.h>] ] ,
4449
4449
[ [ int domain = AF_INET6;] ] ) ] ,[
4450
4450
ipv6=yes
4451
4451
] ,[
@@ -4462,7 +4462,7 @@ if test "$ipv6" = "yes"; then
4462
4462
AC_MSG_CHECKING ( [ if RFC2553 API is available] )
4463
4463
AC_COMPILE_IFELSE ( [
4464
4464
AC_LANG_PROGRAM ( [ [ #include <sys/types.h>
4465
- # include <netinet/in.h>] ] ,
4465
+ @%:@ include <netinet/in.h>] ] ,
4466
4466
[ [ struct sockaddr_in6 x;
4467
4467
x.sin6_scope_id;] ] )
4468
4468
] ,[
@@ -4494,7 +4494,7 @@ if test "$ipv6" = "yes"; then
4494
4494
#include <netinet/in.h>
4495
4495
#ifdef IPV6_INRIA_VERSION
4496
4496
yes
4497
- # endif] ,
4497
+ @%:@ endif] ,
4498
4498
[ ipv6type=$i] )
4499
4499
;;
4500
4500
kame)
@@ -4503,7 +4503,7 @@ yes
4503
4503
#include <netinet/in.h>
4504
4504
#ifdef __KAME__
4505
4505
yes
4506
- # endif] ,
4506
+ @%:@ endif] ,
4507
4507
[ ipv6type=$i;
4508
4508
ipv6lib=inet6
4509
4509
ipv6libdir=/usr/local/v6/lib
@@ -4515,7 +4515,7 @@ yes
4515
4515
#include <features.h>
4516
4516
#if defined(__GLIBC__) && ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2))
4517
4517
yes
4518
- # endif] ,
4518
+ @%:@ endif] ,
4519
4519
[ ipv6type=$i;
4520
4520
ipv6trylibc=yes] )
4521
4521
;;
@@ -4541,7 +4541,7 @@ yes
4541
4541
#include <sys/param.h>
4542
4542
#ifdef _TOSHIBA_INET6
4543
4543
yes
4544
- # endif] ,
4544
+ @%:@ endif] ,
4545
4545
[ ipv6type=$i;
4546
4546
ipv6lib=inet6;
4547
4547
ipv6libdir=/usr/local/v6/lib] )
@@ -4551,7 +4551,7 @@ yes
4551
4551
#include </usr/local/v6/include/sys/v6config.h>
4552
4552
#ifdef __V6D__
4553
4553
yes
4554
- # endif] ,
4554
+ @%:@ endif] ,
4555
4555
[ ipv6type=$i;
4556
4556
ipv6lib=v6;
4557
4557
ipv6libdir=/usr/local/v6/lib;
@@ -4562,7 +4562,7 @@ yes
4562
4562
#include <sys/param.h>
4563
4563
#ifdef _ZETA_MINAMI_INET6
4564
4564
yes
4565
- # endif] ,
4565
+ @%:@ endif] ,
4566
4566
[ ipv6type=$i;
4567
4567
ipv6lib=inet6;
4568
4568
ipv6libdir=/usr/local/v6/lib] )
4595
4595
4596
4596
AC_CACHE_CHECK ( [ CAN_RAW_FD_FRAMES] , [ ac_cv_can_raw_fd_frames] , [
4597
4597
AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ /* CAN_RAW_FD_FRAMES available check */
4598
- # include <linux/can/raw.h>] ] ,
4598
+ @%:@ include <linux/can/raw.h>] ] ,
4599
4599
[ [ int can_raw_fd_frames = CAN_RAW_FD_FRAMES;] ] ) ] ,
4600
4600
[ ac_cv_can_raw_fd_frames=yes] ,
4601
4601
[ ac_cv_can_raw_fd_frames=no] )
@@ -4607,7 +4607,7 @@ AS_VAR_IF([ac_cv_can_raw_fd_frames], [yes], [
4607
4607
4608
4608
AC_CACHE_CHECK ( [ for CAN_RAW_JOIN_FILTERS] , [ ac_cv_can_raw_join_filters] , [
4609
4609
AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [
4610
- # include <linux/can/raw.h>] ] ,
4610
+ @%:@ include <linux/can/raw.h>] ] ,
4611
4611
[ [ int can_raw_join_filters = CAN_RAW_JOIN_FILTERS;] ] ) ] ,
4612
4612
[ ac_cv_can_raw_join_filters=yes] ,
4613
4613
[ ac_cv_can_raw_join_filters=no] )
@@ -4854,14 +4854,14 @@ AC_CHECK_DECL([dirfd],
4854
4854
4855
4855
# For some functions, having a definition is not sufficient, since
4856
4856
# we want to take their address.
4857
- PY_CHECK_FUNC([ chroot] , [ # include <unistd.h>] )
4858
- PY_CHECK_FUNC([ link] , [ # include <unistd.h>] )
4859
- PY_CHECK_FUNC([ symlink] , [ # include <unistd.h>] )
4860
- PY_CHECK_FUNC([ fchdir] , [ # include <unistd.h>] )
4861
- PY_CHECK_FUNC([ fsync] , [ # include <unistd.h>] )
4862
- PY_CHECK_FUNC([ fdatasync] , [ # include <unistd.h>] )
4863
- PY_CHECK_FUNC([ epoll_create] , [ # include <sys/epoll.h>] , [ HAVE_EPOLL] )
4864
- PY_CHECK_FUNC([ epoll_create1] , [ # include <sys/epoll.h>] )
4857
+ PY_CHECK_FUNC([ chroot] , [ @%:@ include <unistd.h>] )
4858
+ PY_CHECK_FUNC([ link] , [ @%:@ include <unistd.h>] )
4859
+ PY_CHECK_FUNC([ symlink] , [ @%:@ include <unistd.h>] )
4860
+ PY_CHECK_FUNC([ fchdir] , [ @%:@ include <unistd.h>] )
4861
+ PY_CHECK_FUNC([ fsync] , [ @%:@ include <unistd.h>] )
4862
+ PY_CHECK_FUNC([ fdatasync] , [ @%:@ include <unistd.h>] )
4863
+ PY_CHECK_FUNC([ epoll_create] , [ @%:@ include <sys/epoll.h>] , [ HAVE_EPOLL] )
4864
+ PY_CHECK_FUNC([ epoll_create1] , [ @%:@ include <sys/epoll.h>] )
4865
4865
PY_CHECK_FUNC([ kqueue] ,[
4866
4866
#include <sys/types.h>
4867
4867
#include <sys/event.h>
@@ -4871,7 +4871,7 @@ PY_CHECK_FUNC([prlimit], [
4871
4871
#include <sys/resource.h>
4872
4872
] )
4873
4873
4874
- PY_CHECK_FUNC([ _dyld_shared_cache_contains_path] , [ # include <mach-o/dyld.h>] , [ HAVE_DYLD_SHARED_CACHE_CONTAINS_PATH] )
4874
+ PY_CHECK_FUNC([ _dyld_shared_cache_contains_path] , [ @%:@ include <mach-o/dyld.h>] , [ HAVE_DYLD_SHARED_CACHE_CONTAINS_PATH] )
4875
4875
4876
4876
PY_CHECK_FUNC([ memfd_create] , [
4877
4877
#ifdef HAVE_SYS_MMAN_H
@@ -4894,12 +4894,12 @@ PY_CHECK_FUNC([eventfd], [
4894
4894
# address to avoid compiler warnings and potential miscompilations
4895
4895
# because of the missing prototypes.
4896
4896
4897
- PY_CHECK_FUNC([ ctermid_r] , [ # include <stdio.h>] )
4897
+ PY_CHECK_FUNC([ ctermid_r] , [ @%:@ include <stdio.h>] )
4898
4898
4899
4899
AC_CACHE_CHECK ( [ for flock declaration] , [ ac_cv_flock_decl] ,
4900
4900
[ AC_COMPILE_IFELSE (
4901
4901
[ AC_LANG_PROGRAM (
4902
- [ # include <sys/file.h>] ,
4902
+ [ @%:@ include <sys/file.h>] ,
4903
4903
[ void* p = flock]
4904
4904
) ] ,
4905
4905
[ ac_cv_flock_decl=yes] ,
@@ -4911,12 +4911,12 @@ AS_VAR_IF([ac_cv_flock_decl], [yes],
4911
4911
[ AC_CHECK_FUNCS ( [ flock] , [ ] ,
4912
4912
[ AC_CHECK_LIB ( [ bsd] , [ flock] , [ FCNTL_LIBS="-lbsd"] ) ] ) ] )
4913
4913
4914
- PY_CHECK_FUNC([ getpagesize] , [ # include <unistd.h>] )
4914
+ PY_CHECK_FUNC([ getpagesize] , [ @%:@ include <unistd.h>] )
4915
4915
4916
4916
AC_CACHE_CHECK ( [ for broken unsetenv] , [ ac_cv_broken_unsetenv] ,
4917
4917
[ AC_COMPILE_IFELSE (
4918
4918
[ AC_LANG_PROGRAM (
4919
- [ # include <stdlib.h>] ,
4919
+ [ @%:@ include <stdlib.h>] ,
4920
4920
[ int res = unsetenv("DUMMY")] ) ] ,
4921
4921
[ ac_cv_broken_unsetenv=no] ,
4922
4922
[ ac_cv_broken_unsetenv=yes]
@@ -5044,7 +5044,7 @@ PKG_CHECK_MODULES([LIBLZMA], [liblzma], [have_liblzma=yes], [
5044
5044
] )
5045
5045
5046
5046
dnl PY_CHECK_NETDB_FUNC(FUNCTION)
5047
- AC_DEFUN ( [ PY_CHECK_NETDB_FUNC] , [ PY_CHECK_FUNC([ $1 ] , [ # include <netdb.h>] )] )
5047
+ AC_DEFUN ( [ PY_CHECK_NETDB_FUNC] , [ PY_CHECK_FUNC([ $1 ] , [ @%:@ include <netdb.h>] )] )
5048
5048
5049
5049
PY_CHECK_NETDB_FUNC([ hstrerror] )
5050
5050
dnl not available in WASI yet
@@ -5325,10 +5325,10 @@ AC_CHECK_MEMBERS([struct passwd.pw_gecos, struct passwd.pw_passwd], [], [], [[
5325
5325
#include <pwd.h>
5326
5326
] ] )
5327
5327
# Issue #21085: In Cygwin, siginfo_t does not have si_band field.
5328
- AC_CHECK_MEMBERS ( [ siginfo_t.si_band] , [ ] , [ ] , [ [ # include <signal.h>] ] )
5328
+ AC_CHECK_MEMBERS ( [ siginfo_t.si_band] , [ ] , [ ] , [ [ @%:@ include <signal.h>] ] )
5329
5329
5330
5330
AC_CACHE_CHECK ( [ for time.h that defines altzone] , [ ac_cv_header_time_altzone] , [
5331
- AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ # include <time.h>] ] , [ [ return altzone;] ] ) ] ,
5331
+ AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ @%:@ include <time.h>] ] , [ [ return altzone;] ] ) ] ,
5332
5332
[ ac_cv_header_time_altzone=yes] ,
5333
5333
[ ac_cv_header_time_altzone=no] )
5334
5334
] )
@@ -5338,7 +5338,7 @@ if test $ac_cv_header_time_altzone = yes; then
5338
5338
fi
5339
5339
5340
5340
AC_CACHE_CHECK ( [ for addrinfo] , [ ac_cv_struct_addrinfo] ,
5341
- AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ # include <netdb.h>] ] , [ [ struct addrinfo a] ] ) ] ,
5341
+ AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ @%:@ include <netdb.h>] ] , [ [ struct addrinfo a] ] ) ] ,
5342
5342
[ ac_cv_struct_addrinfo=yes] ,
5343
5343
[ ac_cv_struct_addrinfo=no] ) )
5344
5344
if test $ac_cv_struct_addrinfo = yes; then
5348
5348
AC_CACHE_CHECK ( [ for sockaddr_storage] , [ ac_cv_struct_sockaddr_storage] ,
5349
5349
AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [
5350
5350
# include <sys/types.h>
5351
- # include <sys/socket.h>] ] , [ [ struct sockaddr_storage s] ] ) ] ,
5351
+ @%:@ include <sys/socket.h>] ] , [ [ struct sockaddr_storage s] ] ) ] ,
5352
5352
[ ac_cv_struct_sockaddr_storage=yes] ,
5353
5353
[ ac_cv_struct_sockaddr_storage=no] ) )
5354
5354
if test $ac_cv_struct_sockaddr_storage = yes; then
@@ -5360,7 +5360,7 @@ AC_CACHE_CHECK([for sockaddr_alg], [ac_cv_struct_sockaddr_alg],
5360
5360
AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [
5361
5361
# include <sys/types.h>
5362
5362
# include <sys/socket.h>
5363
- # include <linux/if_alg.h>] ] , [ [ struct sockaddr_alg s] ] ) ] ,
5363
+ @%:@ include <linux/if_alg.h>] ] , [ [ struct sockaddr_alg s] ] ) ] ,
5364
5364
[ ac_cv_struct_sockaddr_alg=yes] ,
5365
5365
[ ac_cv_struct_sockaddr_alg=no] ) )
5366
5366
if test $ac_cv_struct_sockaddr_alg = yes; then
@@ -5399,7 +5399,7 @@ PY_CHECK_FUNC([socketpair], [
5399
5399
# check if sockaddr has sa_len member
5400
5400
AC_CACHE_CHECK ( [ if sockaddr has sa_len member] , [ ac_cv_struct_sockaddr_sa_len] , [
5401
5401
AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ #include <sys/types.h>
5402
- # include <sys/socket.h>] ] , [ [ struct sockaddr x;
5402
+ @%:@ include <sys/socket.h>] ] , [ [ struct sockaddr x;
5403
5403
x.sa_len = 0;] ] ) ] ,
5404
5404
[ ac_cv_struct_sockaddr_sa_len=yes] , [ ac_cv_struct_sockaddr_sa_len=no] )
5405
5405
] )
@@ -5733,7 +5733,7 @@ AS_VAR_IF([ac_cv_broken_sem_getvalue], [yes], [
5733
5733
)
5734
5734
] )
5735
5735
5736
- AC_CHECK_DECLS ( [ RTLD_LAZY, RTLD_NOW, RTLD_GLOBAL, RTLD_LOCAL, RTLD_NODELETE, RTLD_NOLOAD, RTLD_DEEPBIND, RTLD_MEMBER] , [ ] , [ ] , [ [ # include <dlfcn.h>] ] )
5736
+ AC_CHECK_DECLS ( [ RTLD_LAZY, RTLD_NOW, RTLD_GLOBAL, RTLD_LOCAL, RTLD_NODELETE, RTLD_NOLOAD, RTLD_DEEPBIND, RTLD_MEMBER] , [ ] , [ ] , [ [ @%:@ include <dlfcn.h>] ] )
5737
5737
5738
5738
# determine what size digit to use for Python's longs
5739
5739
AC_MSG_CHECKING ( [ digit size for Python's longs] )
5950
5950
5951
5951
# check for getc_unlocked and related locking functions
5952
5952
AC_CACHE_CHECK ( [ for getc_unlocked() and friends] , [ ac_cv_have_getc_unlocked] , [
5953
- AC_LINK_IFELSE ( [ AC_LANG_PROGRAM ( [ [ # include <stdio.h>] ] , [ [
5953
+ AC_LINK_IFELSE ( [ AC_LANG_PROGRAM ( [ [ @%:@ include <stdio.h>] ] , [ [
5954
5954
FILE *f = fopen("/dev/null", "r");
5955
5955
flockfile(f);
5956
5956
getc_unlocked(f);
6256
6256
6257
6257
# Look for subsecond timestamps in struct stat
6258
6258
AC_CACHE_CHECK ( [ for tv_nsec in struct stat] , [ ac_cv_stat_tv_nsec] ,
6259
- AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ # include <sys/stat.h>] ] , [ [
6259
+ AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ @%:@ include <sys/stat.h>] ] , [ [
6260
6260
struct stat st;
6261
6261
st.st_mtim.tv_nsec = 1;
6262
6262
] ] ) ] ,
6270
6270
6271
6271
# Look for BSD style subsecond timestamps in struct stat
6272
6272
AC_CACHE_CHECK ( [ for tv_nsec2 in struct stat] , [ ac_cv_stat_tv_nsec2] ,
6273
- AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ # include <sys/stat.h>] ] , [ [
6273
+ AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ @%:@ include <sys/stat.h>] ] , [ [
6274
6274
struct stat st;
6275
6275
st.st_mtimespec.tv_nsec = 1;
6276
6276
] ] ) ] ,
@@ -6413,7 +6413,7 @@ AC_CHECK_HEADERS([term.h], [], [], [
6413
6413
6414
6414
# On HP/UX 11.0, mvwdelch is a block with a return statement
6415
6415
AC_CACHE_CHECK ( [ whether mvwdelch is an expression] , [ ac_cv_mvwdelch_is_expression] ,
6416
- AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ # include <curses.h>] ] , [ [
6416
+ AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ @%:@ include <curses.h>] ] , [ [
6417
6417
int rtn;
6418
6418
rtn = mvwdelch(0,0,0);
6419
6419
] ] ) ] ,
@@ -6457,7 +6457,7 @@ AC_DEFUN([PY_CHECK_CURSES_FUNC],
6457
6457
[ py_var] ,
6458
6458
[ AC_COMPILE_IFELSE (
6459
6459
[ AC_LANG_PROGRAM (
6460
- [ # include <curses.h>] , [
6460
+ [ @%:@ include <curses.h>] , [
6461
6461
#ifndef $1
6462
6462
void *x=$1
6463
6463
#endif
0 commit comments