@@ -199,21 +199,21 @@ time timemodule.c
199
199
# Some more UNIX dependent modules -- off by default, since these
200
200
# are not supported by all UNIX systems:
201
201
202
- # _crypt _cryptmodule.c $(CRYPT_CFLAGS) $(CRYPT_LIBS) # crypt(3); breaks many builds.
203
- # nis nismodule.c $(NIS_CFLAGS) $(NIS_LIBS) # Sun yellow pages -- not everywhere
202
+ # @HAVE_CURSES_TRUE@ _crypt _cryptmodule.c $(CRYPT_CFLAGS) $(CRYPT_LIBS) # crypt(3); breaks many builds.
203
+ # @HAVE_NIS_TRUE@ nis nismodule.c $(NIS_CFLAGS) $(NIS_LIBS) # Sun yellow pages -- not everywhere
204
204
# termios termios.c # Steen Lumholt's termios module
205
205
# resource resource.c # Jeremy Hylton's rlimit interface
206
206
207
207
# Modules that require external libraries.
208
208
209
- # _bz2 _bz2module.c $(BZ2_CFLAGS) $(BZ2_LIBS)
210
- # _ctypes _ctypes/_ctypes.c _ctypes/callbacks.c _ctypes/callproc.c _ctypes/stgdict.c _ctypes/cfield.c $(FFI_CFLAGS) $(FFI_LIBS) -DHAVE_FFI_PREP_CIF_VAR -DHAVE_FFI_PREP_CLOSURE_LOC -DHAVE_FFI_CLOSURE_ALLOC
211
- # _dbm _dbmmodule.c # -lndbm # dbm(3)
212
- # _gdbm _gdbmmodule.c -lgdbm
213
- # _lzma _lzmamodule.c $(LZMA_CFLAGS) $(LZMA_LIBS)
214
- # _sqlite3 _sqlite/connection.c _sqlite/cursor.c _sqlite/microprotocols.c _sqlite/module.c _sqlite/prepare_protocol.c _sqlite/row.c _sqlite/statement.c _sqlite/util.c $(SQLITE3_CFLAGS) $(SQLITE3_LIBS)
215
- # _uuid _uuidmodule.c $(UUID_CFLAGS) $(UUID_LIBS)
216
- # zlib zlibmodule.c $(ZLIB_CFLAGS) $(ZLIB_LIBS)
209
+ # @HAVE_BZ2_TRUE@ _bz2 _bz2module.c $(BZ2_CFLAGS) $(BZ2_LIBS)
210
+ # @HAVE_FFI_TRUE@ _ctypes _ctypes/_ctypes.c _ctypes/callbacks.c _ctypes/callproc.c _ctypes/stgdict.c _ctypes/cfield.c $(FFI_CFLAGS) $(FFI_LIBS) -DHAVE_FFI_PREP_CIF_VAR -DHAVE_FFI_PREP_CLOSURE_LOC -DHAVE_FFI_CLOSURE_ALLOC
211
+ # @HAVE_DBM_TRUE@ _dbm _dbmmodule.c # -lndbm # dbm(3)
212
+ # @HAVE_GDBM_TRUE@ _gdbm _gdbmmodule.c -lgdbm
213
+ # @HAVE_LZMA_TRUE@ _lzma _lzmamodule.c $(LZMA_CFLAGS) $(LZMA_LIBS)
214
+ # @HAVE_SQLITE3_TRUE@ _sqlite3 _sqlite/connection.c _sqlite/cursor.c _sqlite/microprotocols.c _sqlite/module.c _sqlite/prepare_protocol.c _sqlite/row.c _sqlite/statement.c _sqlite/util.c $(SQLITE3_CFLAGS) $(SQLITE3_LIBS)
215
+ # @HAVE_UUID_TRUE@ _uuid _uuidmodule.c $(UUID_CFLAGS) $(UUID_LIBS)
216
+ # @HAVE_ZLIB_TRUE@ zlib zlibmodule.c $(ZLIB_CFLAGS) $(ZLIB_LIBS)
217
217
218
218
219
219
# GNU readline. Unlike previous Python incarnations, GNU readline is
@@ -228,8 +228,8 @@ time timemodule.c
228
228
# readline readline.c $(READLINE_CFLAGS) $(READLINE_LIBS)
229
229
230
230
# To dynamically link OpenSSL:
231
- # _ssl _ssl.c $(OPENSSL_INCLUDES) $(OPENSSL_LDFLAGS) $(OPENSSL_LIBS)
232
- # _hashlib _hashopenssl.c $(OPENSSL_INCLUDES) $(OPENSSL_LDFLAGS) -lcrypto
231
+ # @HAVE_OPENSSL_TRUE@ _ssl _ssl.c $(OPENSSL_INCLUDES) $(OPENSSL_LDFLAGS) $(OPENSSL_LIBS)
232
+ # @HAVE_OPENSSL_TRUE@ _hashlib _hashopenssl.c $(OPENSSL_INCLUDES) $(OPENSSL_LDFLAGS) -lcrypto
233
233
234
234
# To statically link OpenSSL:
235
235
# _ssl _ssl.c $(OPENSSL_INCLUDES) $(OPENSSL_LDFLAGS) \
@@ -250,7 +250,7 @@ time timemodule.c
250
250
# every system.
251
251
252
252
# *** Always uncomment this (leave the leading underscore in!):
253
- # _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT $(TCLTK_INCLUDES) $(TCLTK_LIBS) \
253
+ # @HAVE_TCLTK_TRUE@ _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT $(TCLTK_INCLUDES) $(TCLTK_LIBS) \
254
254
# *** Uncomment and edit to reflect where your Tcl/Tk libraries are:
255
255
# -L/usr/local/lib \
256
256
# *** Uncomment and edit to reflect where your Tcl/Tk headers are:
@@ -283,13 +283,13 @@ time timemodule.c
283
283
# provided by the ncurses library. e.g. on Linux, link with -lncurses
284
284
# instead of -lcurses).
285
285
286
- # _curses _cursesmodule.c $(NCURSESW_CFLAGS) $(NCURSESW_LIBS) $(CURSES_CFLAGS) $(CURSES_LIBS)
286
+ # @HAVE_CURSES_TRUE@ _curses _cursesmodule.c $(NCURSESW_CFLAGS) $(NCURSESW_LIBS) $(CURSES_CFLAGS) $(CURSES_LIBS)
287
287
288
288
# Wrapper for the panel library that's part of ncurses and SYSV curses.
289
- # _curses_panel _curses_panel.c $(CURSES_PANEL_CFLAGS) $(CURSES_PANEL_LIBS)
289
+ # @HAVE_CURSES_PANEL_TRUE@ _curses_panel _curses_panel.c $(CURSES_PANEL_CFLAGS) $(CURSES_PANEL_LIBS)
290
290
291
291
# macOS specific modules
292
- # _scproxy _scproxy.c -framework SystemConfiguration -framework CoreFoundation
292
+ # @HAVE_SCPROXY_TRUE@ _scproxy _scproxy.c -framework SystemConfiguration -framework CoreFoundation
293
293
294
294
# Examples
295
295
@@ -302,7 +302,7 @@ xxsubtype xxsubtype.c # Required for the test suite to pass!
302
302
303
303
# _xxsubinterpreters _xxsubinterpretersmodule.c
304
304
# _xxtestfuzz _xxtestfuzz/_xxtestfuzz.c _xxtestfuzz/fuzzer.c
305
- # _ctypes_test _ctypes/_ctypes_test.c
305
+ # @HAVE_FFI_TRUE@ _ctypes_test _ctypes/_ctypes_test.c
306
306
# _testbuffer _testbuffer.c
307
307
# _testimportmultiple _testimportmultiple.c
308
308
# _testinternalcapi _testinternalcapi.c
0 commit comments