From 2befa48926ed4804758442033ab2c09c2678bef1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sun, 9 Jun 2002 13:41:37 +0000 Subject: [PATCH] Patch #505375: Make doc strings optional. --- Mac/Include/pyconfig.h | 3 +++ PC/os2emx/pyconfig.h | 3 +++ PC/os2vacpp/pyconfig.h | 3 +++ PC/pyconfig.h | 3 +++ RISCOS/pyconfig.h | 3 +++ 5 files changed, 15 insertions(+) diff --git a/Mac/Include/pyconfig.h b/Mac/Include/pyconfig.h index 3f719d53db3..2229df4f0e2 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 a72f9818e72..d3207d60908 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 1ce73c7e895..8a27059ed90 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 */ /* #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 081142f851c..893db4302d1 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 7934fa4ea4a..12f8fc64976 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. */