mirror of
https://github.com/python/cpython.git
synced 2024-11-25 02:44:06 +08:00
- Got rid if WITH_CYCLE_GC
- Cleaned up Python banner string, so the normal build for MacPython 2.3 will have a short banner.
This commit is contained in:
parent
4be93d0e84
commit
059ed83cc3
@ -283,9 +283,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
one supplied by Python itself. (see Include/unicodectype.h). */
|
||||
#undef WANT_WCTYPE_FUNCTIONS
|
||||
|
||||
/* Define if you want to compile in cycle garbage collection */
|
||||
#define WITH_CYCLE_GC 1
|
||||
|
||||
/* Define if you want cross-platform newline support for reading */
|
||||
#define WITH_UNIVERSAL_NEWLINES
|
||||
|
||||
|
@ -163,9 +163,7 @@ extern void init_hotshot();
|
||||
#ifdef USE_PYEXPAT
|
||||
extern void initpyexpat();
|
||||
#endif
|
||||
#ifdef WITH_CYCLE_GC
|
||||
extern void initgc();
|
||||
#endif
|
||||
|
||||
extern void initcPickle();
|
||||
extern void initcStringIO();
|
||||
@ -295,9 +293,7 @@ struct _inittab _PyImport_Inittab[] = {
|
||||
#ifdef USE_PYEXPAT
|
||||
{"pyexpat", initpyexpat},
|
||||
#endif
|
||||
#ifdef WITH_CYCLE_GC
|
||||
{"gc", initgc},
|
||||
#endif
|
||||
{"cPickle", initcPickle},
|
||||
{"cStringIO", initcStringIO},
|
||||
{"_locale", init_locale},
|
||||
|
@ -36,30 +36,24 @@ PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
#ifdef __MWERKS__
|
||||
#ifdef USE_GUSI2
|
||||
#define HASGUSI " GUSI2"
|
||||
#else
|
||||
#define HASGUSI ""
|
||||
#else
|
||||
#define HASGUSI " WITHOUT_GUSI2"
|
||||
#endif
|
||||
|
||||
#ifdef WITH_THREAD
|
||||
#define HASTHREAD " THREADS"
|
||||
#else
|
||||
#define HASTHREAD ""
|
||||
#else
|
||||
#define HASTHREAD " WITHOUT_THREAD"
|
||||
#endif
|
||||
|
||||
#if TARGET_API_MAC_CARBON
|
||||
#define TARGET_API " CARBON"
|
||||
#define TARGET_API ""
|
||||
#else
|
||||
#define TARGET_API " PPC"
|
||||
#endif
|
||||
|
||||
#ifdef WITH_CYCLE_GC
|
||||
#define HASGC " GC"
|
||||
#else
|
||||
#define HASGC ""
|
||||
#endif
|
||||
|
||||
#define COMPILER " [CW" TARGET_API HASGUSI HASTHREAD HASGC"]"
|
||||
#define COMPILER " [CW" TARGET_API HASGUSI HASTHREAD"]"
|
||||
#endif
|
||||
|
||||
#ifdef MPW
|
||||
|
Loading…
Reference in New Issue
Block a user