1996-08-20 13:34:01 -03:00
|
|
|
/*
|
|
|
|
** Configuration file for dynamically loaded cfm68k/ppc PythonCore,
|
|
|
|
** interpreter and Applet.
|
|
|
|
**
|
|
|
|
** Note: enabling the switches below is not enough to enable the
|
|
|
|
** specific features, you may also need different sets of sources.
|
|
|
|
*/
|
1996-07-22 12:23:58 -03:00
|
|
|
|
2000-04-07 06:10:49 -03:00
|
|
|
/* #define USE_GUSI1 /* Stdio implemented with GUSI */
|
|
|
|
#define USE_GUSI2 /* Stdio implemented with GUSI */
|
2000-04-07 12:40:59 -03:00
|
|
|
#define WITH_THREAD /* Use thread support (needs GUSI 2, not GUSI 1) */
|
1997-05-07 12:42:50 -03:00
|
|
|
#define USE_MSL /* Use Mw Standard Library (as opposed to Plaugher C libraries) */
|
1999-02-07 09:59:49 -04:00
|
|
|
#define USE_CORE_TOOLBOX /* Include core toolbox modules (Dlg,Ctl,Menu,Win,Res,Qd) */
|
|
|
|
/* #define USE_TOOLBOX /* Include all toolbox modules in core Python */
|
1996-08-20 13:34:01 -03:00
|
|
|
/* #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_STDWIN /* Include stdwin module in core Python */
|
|
|
|
/* #define USE_MACTCP /* Include mactcp (*not* socket) modules in core */
|
|
|
|
/* #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 */
|
1999-12-24 09:41:31 -04:00
|
|
|
#define HAVE_DYNAMIC_LOADING /* Enable dynamically loaded modules */
|
1997-05-07 12:42:50 -03:00
|
|
|
/* #define USE_GDBM /* Include the gdbm module */
|
1997-06-03 12:30:12 -03:00
|
|
|
/* #define USE_ZLIB /* Include the zlib module */
|
1999-12-09 18:48:29 -04:00
|
|
|
#define USE_APPEARANCE /* Enable Appearance support */
|
2001-05-14 12:00:38 -03:00
|
|
|
#define WITHOUT_FRAMEWORKS /* Use old-style Universal Header includes, not Carbon/Carbon.h */
|
2001-05-22 19:21:45 -03:00
|
|
|
#define USE_TOOLBOX_OBJECT_GLUE /* Call toolbox object converters indirectly */
|
2000-08-25 19:02:44 -03:00
|
|
|
|
|
|
|
#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 */
|
1997-02-20 11:25:49 -04:00
|
|
|
#ifdef __powerc
|
|
|
|
#define USE_CACHE_ALIGNED 8 /* Align on 32-byte boundaries for 604 */
|
|
|
|
#endif
|
2000-08-25 19:02:44 -03:00
|
|
|
#endif
|
|
|
|
|
1997-05-07 12:42:50 -03:00
|
|
|
#ifdef USE_MSL
|
|
|
|
#define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */
|
|
|
|
#include <ansi_prefix.mac.h>
|
|
|
|
#endif
|
2000-07-24 16:46:27 -03:00
|
|
|
/* Missing declarations. Should these go to pyport.h? */
|
|
|
|
#ifdef USE_GUSI2
|
|
|
|
#include <stdio.h>
|
|
|
|
extern int fileno(FILE *);
|
|
|
|
#endif
|