blob: 99d552fff6dfe46ffd7cad35fb9c26eb6888410f [file] [log] [blame]
Jack Jansen4ecc8c21996-08-28 14:11:43 +00001/*
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
Jack Jansen2d1306b2000-04-07 09:10:49 +00008#define USE_GUSI2 /* Stdio implemented with GUSI 2 */
9/* # define USE_GUSI1 /* Stdio implemented with GUSI 1 */
Jack Jansen2fe3a371997-05-07 15:42:50 +000010#define USE_MSL /* Use Mw Standard Library (as opposed to Plaugher C libraries) */
Jack Jansen4ecc8c21996-08-28 14:11:43 +000011#define USE_TOOLBOX /* Include toolbox modules in core Python */
12#define USE_QT /* Include quicktime modules in core Python */
13/* #define USE_WASTE /* Include waste module in core Python */
14#define USE_MACSPEECH /* Include macspeech module in core Python */
15/* #define USE_IMG /* Include img modules in core Python */
16#define USE_MACCTB /* Include ctb module in core Python */
17/* #define USE_STDWIN /* Include stdwin module in core Python */
18/* #define USE_MACTCP /* Include mactcp (*not* socket) modules in core */
19/* #define USE_TK /* Include _tkinter module in core Python */
20/* #define MAC_TCL /* This *must* be on if USE_TK is on */
21/* #define USE_MAC_SHARED_LIBRARY /* Enable code to add shared-library resources */
22/* #define USE_MAC_APPLET_SUPPORT /* Enable code to run a PYC resource */
Jack Jansene721f3d1999-12-24 13:41:31 +000023/* #define HAVE_DYNAMIC_LOADING /* Enable dynamically loaded modules */
Jack Jansen0040b471997-02-20 15:25:49 +000024/* #define USE_GDBM /* Include the gdbm module */
Jack Jansen175f1c81997-06-03 15:30:12 +000025/* #define USE_ZLIB /* Include the zlib module */
Jack Jansen8f5725a1999-12-07 23:08:10 +000026#define USE_APPEARANCE /* Enable Appearance support */
Jack Jansene4cd2f22000-08-25 22:02:44 +000027
28#define USE_MSL_MALLOC /* Disable private malloc. Also disables next two defines */
29#ifndef USE_MSL_MALLOC
30/* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */
Jack Jansen0040b471997-02-20 15:25:49 +000031#ifdef __powerc
32#define USE_CACHE_ALIGNED 8 /* Align on 32-byte boundaries for 604 */
33#endif
Jack Jansene4cd2f22000-08-25 22:02:44 +000034#endif
35
Jack Jansen2fe3a371997-05-07 15:42:50 +000036#ifdef USE_MSL
37#define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */
38#include <ansi_prefix.mac.h>
39#endif
Jack Jansen5e80a752000-07-11 21:14:21 +000040/* Missing declarations. Should these go to pyport.h? */
41#ifdef USE_GUSI2
42#include <stdio.h>
43extern int fileno(FILE *);
44#endif