File tree 4 files changed +19
-4
lines changed
4 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 109
109
@MODULE__POSIXSUBPROCESS_TRUE@_posixsubprocess _posixsubprocess.c
110
110
@MODULE_RESOURCE_TRUE@resource resource.c
111
111
@MODULE_SELECT_TRUE@select selectmodule.c
112
+ @MODULE__SOCKET_TRUE@_socket socketmodule.c
112
113
# AIX has shadow passwords, but does not provide getspent API
113
114
@MODULE_SPWD_TRUE@spwd spwdmodule.c
114
115
@MODULE_SYSLOG_TRUE@syslog syslogmodule.c
Original file line number Diff line number Diff line change @@ -724,6 +724,8 @@ MODULE__TYPING_FALSE
724
724
MODULE__TYPING_TRUE
725
725
MODULE__STRUCT_FALSE
726
726
MODULE__STRUCT_TRUE
727
+ MODULE__SOCKET_FALSE
728
+ MODULE__SOCKET_TRUE
727
729
MODULE_SELECT_FALSE
728
730
MODULE_SELECT_TRUE
729
731
MODULE__RANDOM_FALSE
@@ -20577,6 +20579,15 @@ else
20577
20579
fi
20578
20580
as_fn_append MODULE_BLOCK "MODULE_SELECT=yes$as_nl"
20579
20581
20582
+ if true; then
20583
+ MODULE__SOCKET_TRUE=
20584
+ MODULE__SOCKET_FALSE='#'
20585
+ else
20586
+ MODULE__SOCKET_TRUE='#'
20587
+ MODULE__SOCKET_FALSE=
20588
+ fi
20589
+ as_fn_append MODULE_BLOCK "MODULE__SOCKET=yes$as_nl"
20590
+
20580
20591
if true; then
20581
20592
MODULE__STRUCT_TRUE=
20582
20593
MODULE__STRUCT_FALSE='#'
@@ -22099,6 +22110,10 @@ if test -z "${MODULE_SELECT_TRUE}" && test -z "${MODULE_SELECT_FALSE}"; then
22099
22110
as_fn_error $? "conditional \"MODULE_SELECT\" was never defined.
22100
22111
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22101
22112
fi
22113
+ if test -z "${MODULE__SOCKET_TRUE}" && test -z "${MODULE__SOCKET_FALSE}"; then
22114
+ as_fn_error $? "conditional \"MODULE__SOCKET\" was never defined.
22115
+ Usually this means the macro was only invoked conditionally." "$LINENO" 5
22116
+ fi
22102
22117
if test -z "${MODULE__STRUCT_TRUE}" && test -z "${MODULE__STRUCT_FALSE}"; then
22103
22118
as_fn_error $? "conditional \"MODULE__STRUCT\" was never defined.
22104
22119
Usually this means the macro was only invoked conditionally." "$LINENO" 5
Original file line number Diff line number Diff line change @@ -6137,6 +6137,7 @@ PY_STDLIB_MOD_SIMPLE([_posixsubprocess])
6137
6137
PY_STDLIB_MOD_SIMPLE([ _queue] )
6138
6138
PY_STDLIB_MOD_SIMPLE([ _random] )
6139
6139
PY_STDLIB_MOD_SIMPLE([ select] )
6140
+ PY_STDLIB_MOD_SIMPLE([ _socket] )
6140
6141
PY_STDLIB_MOD_SIMPLE([ _struct] )
6141
6142
PY_STDLIB_MOD_SIMPLE([ _typing] )
6142
6143
PY_STDLIB_MOD_SIMPLE([ _xxsubinterpreters] )
Original file line number Diff line number Diff line change @@ -1034,6 +1034,8 @@ def detect_simple_extensions(self):
1034
1034
self .addext (Extension ('fcntl' , ['fcntlmodule.c' ]))
1035
1035
# grp(3)
1036
1036
self .addext (Extension ('grp' , ['grpmodule.c' ]))
1037
+
1038
+ self .addext (Extension ('_socket' , ['socketmodule.c' ]))
1037
1039
self .addext (Extension ('spwd' , ['spwdmodule.c' ]))
1038
1040
1039
1041
# select(2); not on ancient System V
@@ -1254,9 +1256,6 @@ def detect_crypt(self):
1254
1256
1255
1257
self .add (Extension ('_crypt' , ['_cryptmodule.c' ], libraries = libs ))
1256
1258
1257
- def detect_socket (self ):
1258
- self .add (Extension ('_socket' , ['socketmodule.c' ]))
1259
-
1260
1259
def detect_dbm_gdbm (self ):
1261
1260
# Modules that provide persistent dictionary-like semantics. You will
1262
1261
# probably want to arrange for at least one of them to be available on
@@ -1460,7 +1459,6 @@ def detect_modules(self):
1460
1459
self .detect_test_extensions ()
1461
1460
self .detect_readline_curses ()
1462
1461
self .detect_crypt ()
1463
- self .detect_socket ()
1464
1462
self .detect_openssl_hashlib ()
1465
1463
self .detect_hash_builtins ()
1466
1464
self .detect_dbm_gdbm ()
You can’t perform that action at this time.
0 commit comments