Ronald Oussoren avatar Ronald Oussoren committed dcc8da1

Fix problem in compiler detection code

Comments (0)

Files changed (40)

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.