Jack Jansen | e420178 | 1996-08-20 16:34:01 +0000 | [diff] [blame] | 1 | /* |
| 2 | ** Configuration file for dynamically loaded cfm68k/ppc PythonCore, |
| 3 | ** interpreter and Applet. |
| 4 | ** |
| 5 | ** Note: enabling the switches below is not enough to enable the |
| 6 | ** specific features, you may also need different sets of sources. |
| 7 | */ |
Jack Jansen | 98bfad7 | 1996-07-22 15:23:58 +0000 | [diff] [blame] | 8 | |
Jack Jansen | 2d1306b | 2000-04-07 09:10:49 +0000 | [diff] [blame] | 9 | /* #define USE_GUSI1 /* Stdio implemented with GUSI */ |
| 10 | #define USE_GUSI2 /* Stdio implemented with GUSI */ |
Jack Jansen | 037649e | 2000-04-07 15:40:59 +0000 | [diff] [blame] | 11 | #define WITH_THREAD /* Use thread support (needs GUSI 2, not GUSI 1) */ |
Jack Jansen | 2fe3a37 | 1997-05-07 15:42:50 +0000 | [diff] [blame] | 12 | #define USE_MSL /* Use Mw Standard Library (as opposed to Plaugher C libraries) */ |
Jack Jansen | fd44e3d | 1999-02-07 13:59:49 +0000 | [diff] [blame] | 13 | #define USE_CORE_TOOLBOX /* Include core toolbox modules (Dlg,Ctl,Menu,Win,Res,Qd) */ |
| 14 | /* #define USE_TOOLBOX /* Include all toolbox modules in core Python */ |
Jack Jansen | e420178 | 1996-08-20 16:34:01 +0000 | [diff] [blame] | 15 | /* #define USE_QT /* Include quicktime modules in core Python */ |
| 16 | /* #define USE_WASTE /* Include waste module in core Python */ |
| 17 | /* #define USE_MACSPEECH /* Include macspeech module in core Python */ |
| 18 | /* #define USE_IMG /* Include img modules in core Python */ |
| 19 | /* #define USE_MACCTB /* Include ctb module in core Python */ |
| 20 | /* #define USE_STDWIN /* Include stdwin module in core Python */ |
| 21 | /* #define USE_MACTCP /* Include mactcp (*not* socket) modules in core */ |
| 22 | /* #define USE_TK /* Include _tkinter module in core Python */ |
| 23 | /* #define MAC_TCL /* This *must* be on if USE_TK is on */ |
| 24 | #define USE_MAC_SHARED_LIBRARY /* Enable code to add shared-library resources */ |
| 25 | #define USE_MAC_APPLET_SUPPORT /* Enable code to run a PYC resource */ |
Jack Jansen | e721f3d | 1999-12-24 13:41:31 +0000 | [diff] [blame] | 26 | #define HAVE_DYNAMIC_LOADING /* Enable dynamically loaded modules */ |
Jack Jansen | 2fe3a37 | 1997-05-07 15:42:50 +0000 | [diff] [blame] | 27 | /* #define USE_GDBM /* Include the gdbm module */ |
Jack Jansen | 175f1c8 | 1997-06-03 15:30:12 +0000 | [diff] [blame] | 28 | /* #define USE_ZLIB /* Include the zlib module */ |
Jack Jansen | d60069c | 1999-12-09 22:48:29 +0000 | [diff] [blame] | 29 | #define USE_APPEARANCE /* Enable Appearance support */ |
Jack Jansen | 6db483e | 2001-05-14 15:00:38 +0000 | [diff] [blame] | 30 | #define WITHOUT_FRAMEWORKS /* Use old-style Universal Header includes, not Carbon/Carbon.h */ |
Jack Jansen | b16cf50 | 2001-05-22 22:21:45 +0000 | [diff] [blame] | 31 | #define USE_TOOLBOX_OBJECT_GLUE /* Call toolbox object converters indirectly */ |
Jack Jansen | e4cd2f2 | 2000-08-25 22:02:44 +0000 | [diff] [blame] | 32 | |
| 33 | #define USE_MSL_MALLOC /* Disable private malloc. Also disables next two defines */ |
| 34 | #ifndef USE_MSL_MALLOC |
| 35 | /* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */ |
Jack Jansen | 0040b47 | 1997-02-20 15:25:49 +0000 | [diff] [blame] | 36 | #ifdef __powerc |
| 37 | #define USE_CACHE_ALIGNED 8 /* Align on 32-byte boundaries for 604 */ |
| 38 | #endif |
Jack Jansen | e4cd2f2 | 2000-08-25 22:02:44 +0000 | [diff] [blame] | 39 | #endif |
| 40 | |
Jack Jansen | 2fe3a37 | 1997-05-07 15:42:50 +0000 | [diff] [blame] | 41 | #ifdef USE_MSL |
| 42 | #define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */ |
| 43 | #include <ansi_prefix.mac.h> |
| 44 | #endif |
Jack Jansen | 12d86c8 | 2000-07-24 19:46:27 +0000 | [diff] [blame] | 45 | /* Missing declarations. Should these go to pyport.h? */ |
| 46 | #ifdef USE_GUSI2 |
| 47 | #include <stdio.h> |
| 48 | extern int fileno(FILE *); |
| 49 | #endif |