mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Patch #505375: Make doc strings optional.
This commit is contained in:
parent
ec5d6b908c
commit
a3fb4f7816
6 changed files with 111 additions and 31 deletions
27
configure
vendored
27
configure
vendored
|
@ -1,5 +1,5 @@
|
|||
#! /bin/sh
|
||||
# From configure.in Revision: 1.320 .
|
||||
# From configure.in Revision: 1.321 .
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by GNU Autoconf 2.53.
|
||||
#
|
||||
|
@ -845,6 +845,7 @@ Optional Packages:
|
|||
--with-pth use GNU pth threading libraries
|
||||
--with(out)-cycle-gc disable/enable garbage collection
|
||||
--with(out)-universal-newlines disable/enable foreign newlines
|
||||
--with(out)-doc-strings disable/enable documentation strings
|
||||
--with(out)-pymalloc disable/enable specialized mallocs
|
||||
--with-wctype-functions use wctype.h functions
|
||||
--with-sgi-dl=DIRECTORY IRIX 4 dynamic linking
|
||||
|
@ -10964,6 +10965,30 @@ fi
|
|||
echo "$as_me:$LINENO: result: $with_universal_newlines" >&5
|
||||
echo "${ECHO_T}$with_universal_newlines" >&6
|
||||
|
||||
# Check for --with-doc-strings
|
||||
echo "$as_me:$LINENO: checking for --with-doc-strings" >&5
|
||||
echo $ECHO_N "checking for --with-doc-strings... $ECHO_C" >&6
|
||||
|
||||
# Check whether --with-doc-strings or --without-doc-strings was given.
|
||||
if test "${with_doc_strings+set}" = set; then
|
||||
withval="$with_doc_strings"
|
||||
|
||||
fi;
|
||||
|
||||
if test -z "$with_doc_strings"
|
||||
then with_doc_strings="yes"
|
||||
fi
|
||||
if test "$with_doc_strings" != "no"
|
||||
then
|
||||
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define WITH_DOC_STRINGS 1
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
echo "$as_me:$LINENO: result: $with_doc_strings" >&5
|
||||
echo "${ECHO_T}$with_doc_strings" >&6
|
||||
|
||||
# Check for Python-specific malloc support
|
||||
echo "$as_me:$LINENO: checking for --with-pymalloc" >&5
|
||||
echo $ECHO_N "checking for --with-pymalloc... $ECHO_C" >&6
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue