diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-06-09 13:33:54 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-06-09 13:33:54 (GMT) |
commit | a3fb4f78164e55ddecfd875b9b33791850213dfd (patch) | |
tree | 1dfd36be033b76aa1ce46a42e50ea570e130c68c /configure | |
parent | ec5d6b908c25d45ffcf5b5ad60cdb51b38b6a769 (diff) | |
download | cpython-a3fb4f78164e55ddecfd875b9b33791850213dfd.zip cpython-a3fb4f78164e55ddecfd875b9b33791850213dfd.tar.gz cpython-a3fb4f78164e55ddecfd875b9b33791850213dfd.tar.bz2 |
Patch #505375: Make doc strings optional.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 27 |
1 files changed, 26 insertions, 1 deletions
@@ -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 |