summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-06-09 13:33:54 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-06-09 13:33:54 (GMT)
commita3fb4f78164e55ddecfd875b9b33791850213dfd (patch)
tree1dfd36be033b76aa1ce46a42e50ea570e130c68c /configure
parentec5d6b908c25d45ffcf5b5ad60cdb51b38b6a769 (diff)
downloadcpython-a3fb4f78164e55ddecfd875b9b33791850213dfd.zip
cpython-a3fb4f78164e55ddecfd875b9b33791850213dfd.tar.gz
cpython-a3fb4f78164e55ddecfd875b9b33791850213dfd.tar.bz2
Patch #505375: Make doc strings optional.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure27
1 files changed, 26 insertions, 1 deletions
diff --git a/configure b/configure
index 6dc7cae..b08af5d 100755
--- a/configure
+++ b/configure
@@ -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