Patch #505375: Make doc strings optional.

This commit is contained in:
Martin v. Löwis 2002-06-09 13:41:37 +00:00
parent a3fb4f7816
commit 2befa48926
5 changed files with 15 additions and 0 deletions

View File

@ -300,6 +300,9 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
shared libraries */ shared libraries */
#undef WITH_DL_DLD #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) /* Define if you want to use the new-style (Openstep, Rhapsody, MacOS)
dynamic linker (dyld) instead of the old-style (NextStep) dynamic dynamic linker (dyld) instead of the old-style (NextStep) dynamic
linker (rld). Dyld is necessary to support frameworks. */ linker (rld). Dyld is necessary to support frameworks. */

View File

@ -32,6 +32,9 @@
/* enable the GC module */ /* enable the GC module */
#define WITH_CYCLE_GC 1 #define WITH_CYCLE_GC 1
/* Define if you want documentation strings in extension modules */
#define WITH_DOC_STRINGS 1
/* Unicode related */ /* Unicode related */
#define Py_USING_UNICODE #define Py_USING_UNICODE
#define PY_UNICODE_TYPE wchar_t #define PY_UNICODE_TYPE wchar_t

View File

@ -202,6 +202,9 @@ typedef int pid_t;
/* #define HAVE_UNISTD_H 1 */ /* #include <unistd.h> */ /* #define HAVE_UNISTD_H 1 */ /* #include <unistd.h> */
/* #define HAVE_UNAME 1 */ /* uname () */ /* #define HAVE_UNAME 1 */ /* uname () */
/* Define if you want documentation strings in extension modules */
#define WITH_DOC_STRINGS 1
#ifdef USE_DL_EXPORT #ifdef USE_DL_EXPORT
#define DL_IMPORT(RTYPE) RTYPE _System #define DL_IMPORT(RTYPE) RTYPE _System
#endif #endif

View File

@ -481,6 +481,9 @@ typedef int pid_t;
shared libraries */ shared libraries */
/* #undef WITH_DL_DLD */ /* #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 */ /* Define if you want to compile in rudimentary thread support */
/* #undef WITH_THREAD */ /* #undef WITH_THREAD */

View File

@ -250,6 +250,9 @@
shared libraries */ shared libraries */
#undef WITH_DL_DLD #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) /* Define if you want to use the new-style (Openstep, Rhapsody, MacOS)
dynamic linker (dyld) instead of the old-style (NextStep) dynamic dynamic linker (dyld) instead of the old-style (NextStep) dynamic
linker (rld). Dyld is necessary to support frameworks. */ linker (rld). Dyld is necessary to support frameworks. */