summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-06-09 13:41:37 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-06-09 13:41:37 (GMT)
commit2befa48926ed4804758442033ab2c09c2678bef1 (patch)
tree249291e509578c826ba449fe2db851c968d95aee
parenta3fb4f78164e55ddecfd875b9b33791850213dfd (diff)
downloadcpython-2befa48926ed4804758442033ab2c09c2678bef1.zip
cpython-2befa48926ed4804758442033ab2c09c2678bef1.tar.gz
cpython-2befa48926ed4804758442033ab2c09c2678bef1.tar.bz2
Patch #505375: Make doc strings optional.
-rw-r--r--Mac/Include/pyconfig.h3
-rw-r--r--PC/os2emx/pyconfig.h3
-rw-r--r--PC/os2vacpp/pyconfig.h3
-rw-r--r--PC/pyconfig.h3
-rw-r--r--RISCOS/pyconfig.h3
5 files changed, 15 insertions, 0 deletions
diff --git a/Mac/Include/pyconfig.h b/Mac/Include/pyconfig.h
index 3f719d5..2229df4 100644
--- a/Mac/Include/pyconfig.h
+++ b/Mac/Include/pyconfig.h
@@ -300,6 +300,9 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
shared libraries */
#undef WITH_DL_DLD
+/* Define if you want documentation strings in extension modules */
+#define WITH_DOC_STRINGS 1
+
/* Define if you want to use the new-style (Openstep, Rhapsody, MacOS)
dynamic linker (dyld) instead of the old-style (NextStep) dynamic
linker (rld). Dyld is necessary to support frameworks. */
diff --git a/PC/os2emx/pyconfig.h b/PC/os2emx/pyconfig.h
index a72f981..d3207d6 100644
--- a/PC/os2emx/pyconfig.h
+++ b/PC/os2emx/pyconfig.h
@@ -32,6 +32,9 @@
/* enable the GC module */
#define WITH_CYCLE_GC 1
+/* Define if you want documentation strings in extension modules */
+#define WITH_DOC_STRINGS 1
+
/* Unicode related */
#define Py_USING_UNICODE
#define PY_UNICODE_TYPE wchar_t
diff --git a/PC/os2vacpp/pyconfig.h b/PC/os2vacpp/pyconfig.h
index 1ce73c7..8a27059 100644
--- a/PC/os2vacpp/pyconfig.h
+++ b/PC/os2vacpp/pyconfig.h
@@ -202,6 +202,9 @@ typedef int pid_t;
/* #define HAVE_UNISTD_H 1 */ /* #include <unistd.h> */
/* #define HAVE_UNAME 1 */ /* uname () */
+/* Define if you want documentation strings in extension modules */
+#define WITH_DOC_STRINGS 1
+
#ifdef USE_DL_EXPORT
#define DL_IMPORT(RTYPE) RTYPE _System
#endif
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index 081142f..893db43 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -481,6 +481,9 @@ typedef int pid_t;
shared libraries */
/* #undef WITH_DL_DLD */
+/* Define if you want documentation strings in extension modules */
+#define WITH_DOC_STRINGS 1
+
/* Define if you want to compile in rudimentary thread support */
/* #undef WITH_THREAD */
diff --git a/RISCOS/pyconfig.h b/RISCOS/pyconfig.h
index 7934fa4..12f8fc6 100644
--- a/RISCOS/pyconfig.h
+++ b/RISCOS/pyconfig.h
@@ -250,6 +250,9 @@
shared libraries */
#undef WITH_DL_DLD
+/* Define if you want documentation strings in extension modules */
+#define WITH_DOC_STRINGS 1
+
/* Define if you want to use the new-style (Openstep, Rhapsody, MacOS)
dynamic linker (dyld) instead of the old-style (NextStep) dynamic
linker (rld). Dyld is necessary to support frameworks. */