Commits

Ronald Oussoren  committed dcc8da1

Fix problem in compiler detection code

  • Participants
  • Parent commits fa443a6

Comments (0)

Files changed (40)

File pyobjc-core/Tools/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-core/setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-Accounts/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-AddressBook/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-AppleScriptKit/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-AppleScriptObjC/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-Automator/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-CFNetwork/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-CalendarStore/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-Cocoa/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-Collaboration/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-CoreData/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-CoreLocation/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-CoreText/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-DictionaryServices/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-EventKit/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-ExceptionHandling/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-FSEvents/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-InputMethodKit/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-InstallerPlugins/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-InstantMessage/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-InterfaceBuilderKit/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-LatentSemanticMapping/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-LaunchServices/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-Message/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-OpenDirectory/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-PreferencePanes/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-PubSub/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-QTKit/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-Quartz/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-ScreenSaver/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-ScriptingBridge/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-SearchKit/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-ServerNotification/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-ServiceManagement/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-Social/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-SyncServices/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-SystemConfiguration/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-WebKit/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None:

File pyobjc-framework-XgridFoundation/pyobjc_setup.py

         if 'llvm-gcc' in data:
             cc = None
 
-    if not _working_compiler(cc):
+    if cc is not None and not _working_compiler(cc):
         cc = None
 
     if cc is None: