Jack Jansen | d564d5f | 2000-06-02 21:19:16 +0000 | [diff] [blame] | 1 | /* |
| 2 | ** Configuration file for small standalone 68k/ppc Python. |
| 3 | ** |
| 4 | ** Note: enabling the switches below is not enough to enable the |
| 5 | ** specific features, you may also need different sets of sources. |
| 6 | */ |
| 7 | #define ACCESSOR_CALLS_ARE_FUNCTIONS 1 |
| 8 | #define OPAQUE_TOOLBOX_STRUCTS 1 |
| 9 | #define TARGET_API_MAC_CARBON 1 |
| 10 | #define TARGET_API_MAC_CARBON_NOTYET 1 /* Things we should do eventually, but not now */ |
| 11 | |
Jack Jansen | 660bb1d | 2000-07-18 09:40:39 +0000 | [diff] [blame] | 12 | #define USE_ARGV0_CHDIR /* Workaround for OSXDP4: change dir to argv[0] dir */ |
Jack Jansen | d564d5f | 2000-06-02 21:19:16 +0000 | [diff] [blame] | 13 | /* #define USE_GUSI2 /* Stdio implemented with GUSI 2 */ |
| 14 | /* # define USE_GUSI1 /* Stdio implemented with GUSI 1 */ |
| 15 | #define USE_MSL /* Use Mw Standard Library (as opposed to Plaugher C libraries) */ |
Jack Jansen | 2819146 | 2000-06-28 21:57:24 +0000 | [diff] [blame] | 16 | #define USE_TOOLBOX /* Include toolbox modules in core Python */ |
| 17 | /* #define USE_CORE_TOOLBOX /* Include minimal set of toolbox modules in core Python */ |
| 18 | #define USE_QT /* Include quicktime modules in core Python */ |
Jack Jansen | d564d5f | 2000-06-02 21:19:16 +0000 | [diff] [blame] | 19 | /* #define USE_WASTE /* Include waste module in core Python */ |
| 20 | /* #define USE_MACSPEECH /* Include macspeech module in core Python */ |
| 21 | /* #define USE_IMG /* Include img modules in core Python */ |
| 22 | /* #define USE_MACCTB /* Include ctb module in core Python */ |
| 23 | /* #define USE_STDWIN /* Include stdwin module in core Python */ |
| 24 | /* #define USE_MACTCP /* Include mactcp (*not* socket) modules in core */ |
| 25 | /* #define USE_TK /* Include _tkinter module in core Python */ |
| 26 | /* #define MAC_TCL /* This *must* be on if USE_TK is on */ |
| 27 | /* #define USE_MAC_SHARED_LIBRARY /* Enable code to add shared-library resources */ |
| 28 | /* #define USE_MAC_APPLET_SUPPORT /* Enable code to run a PYC resource */ |
| 29 | /* #define HAVE_DYNAMIC_LOADING /* Enable dynamically loaded modules */ |
Jack Jansen | d564d5f | 2000-06-02 21:19:16 +0000 | [diff] [blame] | 30 | /* #define USE_GDBM /* Include the gdbm module */ |
| 31 | /* #define USE_ZLIB /* Include the zlib module */ |
Jack Jansen | 2819146 | 2000-06-28 21:57:24 +0000 | [diff] [blame] | 32 | #define USE_UCNHASH /* Include ucnhash module */ |
Jack Jansen | d564d5f | 2000-06-02 21:19:16 +0000 | [diff] [blame] | 33 | #define USE_APPEARANCE /* Enable Appearance support */ |
Jack Jansen | e4cd2f2 | 2000-08-25 22:02:44 +0000 | [diff] [blame] | 34 | |
| 35 | #define USE_MSL_MALLOC /* Disable private malloc. Also disables next two defines */ |
| 36 | #ifndef USE_MSL_MALLOC |
| 37 | /* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */ |
Jack Jansen | d564d5f | 2000-06-02 21:19:16 +0000 | [diff] [blame] | 38 | #ifdef __powerc |
| 39 | #define USE_CACHE_ALIGNED 8 /* Align on 32-byte boundaries for 604 */ |
| 40 | #endif |
Jack Jansen | e4cd2f2 | 2000-08-25 22:02:44 +0000 | [diff] [blame] | 41 | #endif |
| 42 | |
Jack Jansen | d564d5f | 2000-06-02 21:19:16 +0000 | [diff] [blame] | 43 | #ifdef USE_MSL |
| 44 | #define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */ |
| 45 | #include <ansi_prefix.mac.h> |
| 46 | #endif |