summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-01-16 15:51:24 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-01-16 15:51:24 (GMT)
commitf50fbf11f6a647db619bd8b399f95d415a1aa428 (patch)
treed70ad4ed4eab39cb7984359d5a2e102c043714a8
parent2fffb134484668acc4aa1912bf4129ba1fc5cbb7 (diff)
downloadcpython-f50fbf11f6a647db619bd8b399f95d415a1aa428.zip
cpython-f50fbf11f6a647db619bd8b399f95d415a1aa428.tar.gz
cpython-f50fbf11f6a647db619bd8b399f95d415a1aa428.tar.bz2
Config file for standalone carbon python.
-rw-r--r--Mac/mwerks/mwerks_nscarbon_config.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/Mac/mwerks/mwerks_nscarbon_config.h b/Mac/mwerks/mwerks_nscarbon_config.h
new file mode 100644
index 0000000..ae98bbd
--- /dev/null
+++ b/Mac/mwerks/mwerks_nscarbon_config.h
@@ -0,0 +1,52 @@
+/*
+** Configuration file for standalone 68k/ppc Python.
+**
+** Note: enabling the switches below is not enough to enable the
+** specific features, you may also need different sets of sources.
+*/
+#define ACCESSOR_CALLS_ARE_FUNCTIONS 1
+#define OPAQUE_TOOLBOX_STRUCTS 1
+#define TARGET_API_MAC_CARBON 1
+#define TARGET_API_MAC_CARBON_NOTYET 1 /* Things we should do eventually, but not now */
+
+#define USE_ARGV0_CHDIR /* Workaround for OSXDP4: change dir to argv[0] dir */
+#define USE_GUSI2 /* Stdio implemented with GUSI 2 */
+#if defined(USE_GUSI1) || defined(USE_GUSI2)
+#define USE_GUSI
+#endif
+/* #define WITH_THREAD /* Use thread support (needs GUSI 2, not GUSI 1) */
+#define USE_MSL /* Use Mw Standard Library (as opposed to Plaugher C libraries) */
+#define USE_TOOLBOX /* Include toolbox modules in core Python */
+#define USE_QT /* Include quicktime modules in core Python */
+/* #define USE_WASTE /* Include waste module in core Python */
+/* #define USE_MACSPEECH /* Include macspeech module in core Python */
+#define USE_IMG /* Include img modules in core Python */
+/* #define USE_MACCTB /* Include ctb module in core Python */
+/* #define USE_TK /* Include _tkinter module in core Python */
+/* #define MAC_TCL /* This *must* be on if USE_TK is on */
+/* #define USE_MAC_SHARED_LIBRARY /* Enable code to add shared-library resources */
+/* #define USE_MAC_APPLET_SUPPORT /* Enable code to run a PYC resource */
+/* #define HAVE_DYNAMIC_LOADING /* Enable dynamically loaded modules */
+#define USE_GDBM /* Include the gdbm module */
+#define USE_ZLIB /* Include the zlib module */
+/* #define USE_IC /* Include Internet Config module */
+#define USE_PYEXPAT /* Include Pyexpat module */
+#define USE_APPEARANCE /* Enable Appearance support */
+#define USE_UCNHASH /* Builtin ucnhash module (large!) */
+#define USE_MSL_MALLOC /* Disable private malloc. Also disables next two defines */
+#ifndef USE_MSL_MALLOC
+/* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */
+#ifdef __powerc
+#define USE_CACHE_ALIGNED 8 /* Align on 32-byte boundaries for 604 */
+#endif
+#endif
+
+#ifdef USE_MSL
+#define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */
+#include <ansi_prefix.mac.h>
+#endif
+/* Missing declarations. Should these go to pyport.h? */
+#ifdef USE_GUSI2
+#include <stdio.h>
+extern int fileno(FILE *);
+#endif