From: Just van Rossum Date: Sat, 11 Aug 2001 10:07:23 +0000 (+0000) Subject: use the proper prefix file under Carbon X-Git-Tag: v2.2a3~640 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f3456912e46ba74233e219a94f48e29c85280abc;p=thirdparty%2FPython%2Fcpython.git use the proper prefix file under Carbon --- diff --git a/Mac/Lib/mkcwproject/cwxmlgen.py b/Mac/Lib/mkcwproject/cwxmlgen.py index ef6f93a63d43..f2e3eb2bb981 100644 --- a/Mac/Lib/mkcwproject/cwxmlgen.py +++ b/Mac/Lib/mkcwproject/cwxmlgen.py @@ -37,7 +37,10 @@ class ProjectBuilder: raise Error, "Cannot find templatedir %s"%templatedir self.dict = dict if not dict.has_key('prefixname'): - dict['prefixname'] = 'mwerks_plugin_config.h' + if hasattr(MacOS, 'runtimemodel') and MacOS.runtimemodel == "carbon": + dict['prefixname'] = 'mwerks_carbonplugin_config.h' + else: + dict['prefixname'] = 'mwerks_plugin_config.h' self.templatelist = templatelist self.templatedir = templatedir