]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
- Got rid if WITH_CYCLE_GC
authorJack Jansen <jack.jansen@cwi.nl>
Sun, 7 Jul 2002 20:54:44 +0000 (20:54 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Sun, 7 Jul 2002 20:54:44 +0000 (20:54 +0000)
- Cleaned up Python banner string, so the normal build for MacPython 2.3
  will have a short banner.

Mac/Include/pyconfig.h
Mac/Modules/macconfig.c
Mac/Python/macgetcompiler.c

index 38542d7a746ef4831def50c6d0f5caa97a080bd5..0a01c9608a46db97e6f4479ea70e26fb592b5e21 100644 (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). */
 #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
 
index 4bae69fcff89ee6bdeb8228dcc27e78e67334b03..b44540042e30e22d973d17b48dd6d4cea5920000 100644 (file)
@@ -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},
index 46c0bf3b57a93fa3c7e7521ba9880e5a3523fcaa..a5c72faf1c5192d5f98cb2fe7bfdb8c9b3cc35f0 100644 (file)
@@ -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