• Guido van Rossum's avatar
    Checking in three Darwin-specific patches. · 5839e586
    Guido van Rossum authored
    Tony Lownds: [ Patch #101816 ] Fixes shared modules on Mac OS X
    
        1. Mac OS X is recognized by the Next-ish host recognition code as
        "Darwin/1.2"
    
        2. When specifying just --with-dyld, modules can compile as shared
    
        3. --with-dyld and --with-next-framework, modules can compile as
        shared
    
        4. --with-suffix=.exe, and Lib/plat-darwin1.2 is being made, the regen
        script invokes python as python.exe
    
        [I had to reformat this patch a bit to make it work.  Please test!]
    
    Dan Wolfe: [ Patch #101823 ] Fix Darwin POSIX Thread redefinition
    
        The patch below fixes the redefinition problem in Darwin with
        _POSIX_THREADS. I'm not sure if this is the correct long term fix but
        for now it fixes the problem and the fix is specific to Darwin.
    
    Dan Wolfe: [ Patch #101824 ] On Darwin, remove unrecognized option
                                 `-OPT:Olimit=0'
    
      After many, many, many compiles, I finally got itchy of this warning
      cluttering up the output... so I scratched (Darwin configs only) and
      it's gone! :-)
    5839e586
configure 168 KB