-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
bpo-39160 Align the verbs, grammar and defaults for ./configure --help
#17747
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
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
7fd4f80
Align the verbs, grammar and defaults for the configure.ac help.
tonybaloney 58799ef
📜🤖 Added by blurb_it.
blurb-it[bot] 5605dff
Requested changes from reviewer
tonybaloney 810071a
Merge remote-tracking branch 'me/configure-defaults' into configure-d…
tonybaloney File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
Misc/NEWS.d/next/Build/2019-12-30-03-54-24.bpo-39160.aBmj13.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Updated the documentation in `./configure --help` to show default values, reference documentation where required and add additional explanation where needed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1483,80 +1483,102 @@ Optional Features: | |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | ||
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] | ||
--enable-universalsdk[=SDKDIR] | ||
Build fat binary against Mac OS X SDK | ||
create a universal binary build. SDKDIR specifies | ||
which macOS SDK should be used to perform the build, | ||
see Mac/README.rst. (default is no) | ||
--enable-framework[=INSTALLDIR] | ||
Build (MacOSX|Darwin) framework | ||
--enable-shared disable/enable building shared python library | ||
--enable-profiling enable C-level code profiling | ||
--enable-optimizations Enable expensive, stable optimizations (PGO, etc). | ||
Disabled by default. | ||
create a Python.framework rather than a traditional | ||
Unix install. optional INSTALLDIR specifies the | ||
installation path. see Mac/README.rst (default is | ||
no) | ||
--enable-shared enable building a shared Python library (default is | ||
no) | ||
--enable-profiling enable C-level code profiling with gprof (default is | ||
no) | ||
--enable-optimizations enable expensive, stable optimizations (PGO, etc.) | ||
(default is no) | ||
--enable-loadable-sqlite-extensions | ||
support loadable extensions in _sqlite module | ||
--enable-ipv6 Enable ipv6 (with ipv4) support | ||
--disable-ipv6 Disable ipv6 support | ||
--enable-big-digits[=BITS] | ||
use big digits for Python longs [[BITS=30]] | ||
support loadable extensions in _sqlite module, see | ||
Doc/library/sqlite3.rst (default is no) | ||
--enable-ipv6 enable ipv6 (with ipv4) support, see | ||
Doc/library/socket.rst (default is yes if supported) | ||
--enable-big-digits[=15|30] | ||
use big digits (30 or 15 bits) for Python longs | ||
(default is system-dependent)] | ||
|
||
Optional Packages: | ||
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | ||
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | ||
--with-universal-archs=ARCH | ||
select architectures for universal build ("32-bit", | ||
"64-bit", "3-way", "intel", "intel-32", "intel-64", | ||
or "all") | ||
specify the kind of universal binary that should be | ||
created. this option is only valid when | ||
--enable-universalsdk is set; options are: | ||
("32-bit", "64-bit", "3-way", "intel", "intel-32", | ||
"intel-64", or "all") see Mac/README.rst | ||
--with-framework-name=FRAMEWORK | ||
specify an alternate name of the framework built | ||
with --enable-framework | ||
--with-cxx-main=<compiler> | ||
compile main() and link python executable with C++ | ||
compiler | ||
--with-suffix=.exe set executable suffix | ||
--with-pydebug build with Py_DEBUG defined | ||
specify the name for the python framework on macOS | ||
only valid when --enable-framework is set. see | ||
Mac/README.rst (default is 'Python') | ||
--with-cxx-main[=COMPILER] | ||
compile main() and link Python executable with C++ | ||
compiler specified in COMPILER (default is $CXX) | ||
--with-suffix=SUFFIX set executable suffix to SUFFIX (default is '.exe') | ||
--with-pydebug build with Py_DEBUG defined (default is no) | ||
--with-trace-refs enable tracing references for debugging purpose | ||
--with-assertions build with C assertions enabled | ||
--with-lto Enable Link Time Optimization in any build. Disabled | ||
by default. | ||
(default is no) | ||
--with-assertions build with C assertions enabled (default is no) | ||
--with-lto enable Link-Time-Optimization in any build (default | ||
is no) | ||
--with-hash-algorithm=[fnv|siphash24] | ||
select hash algorithm | ||
select hash algorithm for use in Python/pyhash.c | ||
(default is SipHash24) | ||
--with-address-sanitizer | ||
enable AddressSanitizer (asan) | ||
--with-memory-sanitizer enable MemorySanitizer (msan) | ||
enable AddressSanitizer memory error detector, | ||
'asan' (default is no) | ||
--with-memory-sanitizer enable MemorySanitizer allocation error detector, | ||
'msan' (default is no) | ||
--with-undefined-behavior-sanitizer | ||
enable UndefinedBehaviorSanitizer (ubsan) | ||
--with-libs='lib1 ...' link against additional libs | ||
enable UndefinedBehaviorSanitizer undefined | ||
behaviour detector, 'ubsan' (default is no) | ||
--with-libs='lib1 ...' link against additional libs (default is no) | ||
--with-system-expat build pyexpat module using an installed expat | ||
library | ||
--with-system-ffi build _ctypes module using an installed ffi library | ||
library, see Doc/library/pyexpat.rst (default is no) | ||
--with-system-ffi build _ctypes module using an installed ffi library, | ||
see Doc/library/ctypes.rst (default is | ||
system-dependent) | ||
--with-system-libmpdec build _decimal module using an installed libmpdec | ||
library | ||
library, see Doc/library/decimal.rst (default is no) | ||
--with-tcltk-includes='-I...' | ||
override search for Tcl and Tk include files | ||
--with-tcltk-libs='-L...' | ||
override search for Tcl and Tk libs | ||
--with-dbmliborder=db1:db2:... | ||
order to check db backends for dbm. Valid value is a | ||
colon separated string with the backend names | ||
`ndbm', `gdbm' and `bdb'. | ||
--with(out)-doc-strings disable/enable documentation strings | ||
--with(out)-pymalloc disable/enable specialized mallocs | ||
--with(out)-c-locale-coercion | ||
disable/enable C locale coercion to a UTF-8 based | ||
locale | ||
--with-valgrind Enable Valgrind support | ||
--with(out)-dtrace disable/enable DTrace support | ||
--with-libm=STRING math library | ||
--with-libc=STRING C library | ||
--with(out)-computed-gotos | ||
Use computed gotos in evaluation loop (enabled by | ||
override order to check db backends for dbm; a valid | ||
value is a colon separated string with the backend | ||
names `ndbm', `gdbm' and `bdb'. | ||
--with-doc-strings enable documentation strings (default is yes) | ||
--with-pymalloc enable specialized mallocs (default is yes) | ||
--with-c-locale-coercion | ||
enable C locale coercion to a UTF-8 based locale | ||
(default is yes) | ||
--with-valgrind enable Valgrind support (default is no) | ||
--with-dtrace enable DTrace support (default is no) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think the dtrace support also needs documenting somewhere, it's a really useful feature when you know how to use it. It's not mentioned in the profiling section of docs |
||
--with-libm=STRING override libm math library to STRING (default is | ||
system-dependent) | ||
--with-libc=STRING override libc C library to STRING (default is | ||
system-dependent) | ||
--with-computed-gotos enable computed gotos in evaluation loop (enabled by | ||
default on supported compilers) | ||
--with(out)-ensurepip=[=upgrade] | ||
"install" or "upgrade" using bundled pip | ||
--with-openssl=DIR root of the OpenSSL directory | ||
--with-ensurepip[=install|upgrade|no] | ||
"install" or "upgrade" using bundled pip (default is | ||
upgrade) | ||
--with-openssl=DIR override root of the OpenSSL directory to DIR | ||
--with-ssl-default-suites=[python|openssl|STRING] | ||
Override default cipher suites string, python: use | ||
override default cipher suites string, python: use | ||
Python's preferred selection (default), openssl: | ||
leave OpenSSL's defaults untouched, STRING: use a | ||
custom string, PROTOCOL_SSLv2 ignores the setting | ||
custom string, PROTOCOL_SSLv2 ignores the setting, | ||
see Doc/library/ssl.rst | ||
|
||
Some influential environment variables: | ||
MACHDEP name for machine-dependent library files | ||
|
@@ -3248,7 +3270,7 @@ _ACEOF | |
|
||
##AC_ARG_WITH(dyld, | ||
## AS_HELP_STRING([--with-dyld], | ||
## [Use (OpenStep|Rhapsody) dynamic linker])) | ||
## [use (OpenStep|Rhapsody) dynamic linker])) | ||
## | ||
# Set name for machine-dependent library files | ||
|
||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As a follow on. This needs more documentation somewhere, it's only referenced in the release notes