- 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:
Jack Jansen 2002-07-07 20:54:44 +00:00
parent 4be93d0e84
commit 059ed83cc3
3 changed files with 6 additions and 19 deletions

View File

@ -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). */ one supplied by Python itself. (see Include/unicodectype.h). */
#undef WANT_WCTYPE_FUNCTIONS #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 if you want cross-platform newline support for reading */
#define WITH_UNIVERSAL_NEWLINES #define WITH_UNIVERSAL_NEWLINES

View File

@ -163,9 +163,7 @@ extern void init_hotshot();
#ifdef USE_PYEXPAT #ifdef USE_PYEXPAT
extern void initpyexpat(); extern void initpyexpat();
#endif #endif
#ifdef WITH_CYCLE_GC
extern void initgc(); extern void initgc();
#endif
extern void initcPickle(); extern void initcPickle();
extern void initcStringIO(); extern void initcStringIO();
@ -295,9 +293,7 @@ struct _inittab _PyImport_Inittab[] = {
#ifdef USE_PYEXPAT #ifdef USE_PYEXPAT
{"pyexpat", initpyexpat}, {"pyexpat", initpyexpat},
#endif #endif
#ifdef WITH_CYCLE_GC
{"gc", initgc}, {"gc", initgc},
#endif
{"cPickle", initcPickle}, {"cPickle", initcPickle},
{"cStringIO", initcStringIO}, {"cStringIO", initcStringIO},
{"_locale", init_locale}, {"_locale", init_locale},

View File

@ -36,30 +36,24 @@ PERFORMANCE OF THIS SOFTWARE.
#ifdef __MWERKS__ #ifdef __MWERKS__
#ifdef USE_GUSI2 #ifdef USE_GUSI2
#define HASGUSI " GUSI2"
#else
#define HASGUSI "" #define HASGUSI ""
#else
#define HASGUSI " WITHOUT_GUSI2"
#endif #endif
#ifdef WITH_THREAD #ifdef WITH_THREAD
#define HASTHREAD " THREADS"
#else
#define HASTHREAD "" #define HASTHREAD ""
#else
#define HASTHREAD " WITHOUT_THREAD"
#endif #endif
#if TARGET_API_MAC_CARBON #if TARGET_API_MAC_CARBON
#define TARGET_API " CARBON" #define TARGET_API ""
#else #else
#define TARGET_API " PPC" #define TARGET_API " PPC"
#endif #endif
#ifdef WITH_CYCLE_GC #define COMPILER " [CW" TARGET_API HASGUSI HASTHREAD"]"
#define HASGC " GC"
#else
#define HASGC ""
#endif
#define COMPILER " [CW" TARGET_API HASGUSI HASTHREAD HASGC"]"
#endif #endif
#ifdef MPW #ifdef MPW