This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Remove Monterey support from configure.in
Type: Stage:
Components: Versions:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, loewis, pitrou, skip.montanaro
Priority: normal Keywords: patch

Created on 2009-01-24 21:40 by skip.montanaro, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
configure.in.diff skip.montanaro, 2009-01-25 00:32
README.diff skip.montanaro, 2009-01-25 00:33
Messages (7)
msg80482 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2009-01-24 21:40
The attached patch removes vestiges of Monterey compiler support from
configure.in.  Apparently Monterey was some ill-conceived 64-bit SCO/IBM
operating system which died in 2000.  Can't see why we need to support it.

Skip

===File ~/src/python/trunk/configure.in.diff================
Index: configure.in
===================================================================
--- configure.in        (revision 68905)
+++ configure.in        (working copy)
@@ -216,7 +216,7 @@
 if test -z "$MACHDEP"
 then
        ac_sys_system=`uname -s`
-       if test "$ac_sys_system" = "AIX" -o "$ac_sys_system" = "Monterey64" \
+       if test "$ac_sys_system" = "AIX" \
        -o "$ac_sys_system" = "UnixWare" -o "$ac_sys_system" = "OpenUNIX"; then
                ac_sys_release=`uname -v`
        else
@@ -438,9 +438,6 @@
                AR="\$(srcdir)/Modules/ar_beos"
                RANLIB=:
                ;;
-    Monterey*)
-        RANLIB=:
-        without_gcc=;;
        *)      without_gcc=no;;
        esac])
 AC_MSG_RESULT($without_gcc)
@@ -562,10 +559,6 @@
     case $CC in
     cc|*/cc) CC="$CC -Ae";;
     esac;;
-Monterey*)
-    case $CC in
-    cc) CC="$CC -Wl,-Bexport";;
-    esac;;
 SunOS*)
     # Some functions have a prototype only with that define, e.g. confstr
     AC_DEFINE(__EXTENSIONS__, 1, [Defined on Solaris to see additional function prototypes.])
@@ -626,8 +619,6 @@
               exp_extra="."
           fi
           LINKCC="\$(srcdir)/Modules/makexp_aix Modules/python.exp $exp_extra \$(LIBRARY); $LINKCC";;
-       Monterey64*)
-          LINKCC="$LINKCC -L/usr/lib/ia64l64";;
        QNX*)
           # qcc must be used because the other compilers do not
           # support -N.
@@ -855,15 +846,6 @@
        OPT="-O"
        ;;
     esac
-
-    # The current (beta) Monterey compiler dies with optimizations
-    # XXX what is Monterey? Does it still die w/ -O? Can we get rid of this?
-    case $ac_sys_system in
-       Monterey*)
-           OPT=""
-           ;;
-    esac
-
 fi

 AC_SUBST(BASECFLAGS)
@@ -1709,7 +1691,6 @@
                else LDSHARED='$(CC) -G'
                fi;;
        SCO_SV*) LDSHARED='$(CC) -Wl,-G,-Bexport';;
-       Monterey*) LDSHARED="cc -G -dy -Bdynamic -Bexport -L/usr/lib/ia64l64";;
        CYGWIN*) LDSHARED="gcc -shared -Wl,--enable-auto-image-base";;
        atheos*) LDSHARED="gcc -shared";;
        *)      LDSHARED="ld";;
@@ -1746,7 +1727,6 @@
                then CCSHARED="-fPIC"
                else CCSHARED="-Kpic -belf"
                fi;;
-       Monterey*) CCSHARED="-G";;
        IRIX*/6*)  case $CC in
                   *gcc*) CCSHARED="-shared";;
                   *) CCSHARED="";;
============================================================
msg80487 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2009-01-24 23:38
You might want to take a look at r16962. It changed a few other things
as well.

Please do put patches into attachments, rather than including them in
the message.
msg80488 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2009-01-24 23:44
Martin> You might want to take a look at r16962. It changed a few other
    Martin> things as well.

Will do.

    Martin> Please do put patches into attachments, rather than including
    Martin> them in the message.

Yeah, that's new mail program version suckage.  You would think an Emacs
command called "mail-attach-file" would actually attach the damn file
instead of simply embedding it into the mail message.

Skip
msg80490 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2009-01-25 00:32
Here's the original patch as an attachment.
msg80491 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2009-01-25 00:33
And a diff for README.  The other changes in r16962 seem to be bug fixes 
which, while exposed by the Monterey port, don't appear to be platform-
dependent.
msg83543 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2009-03-13 23:27
You can probably commit this :-)
msg92237 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-09-04 07:55
Committed in r74644.
History
Date User Action Args
2022-04-11 14:56:44adminsetgithub: 49297
2009-09-04 07:55:31georg.brandlsetstatus: open -> closed

nosy: + georg.brandl
messages: + msg92237

resolution: accepted
2009-03-13 23:27:04pitrousetnosy: + pitrou
messages: + msg83543
2009-01-25 00:33:40skip.montanarosetfiles: + README.diff
messages: + msg80491
2009-01-25 00:32:26skip.montanarosetfiles: + configure.in.diff
keywords: + patch
messages: + msg80490
2009-01-24 23:44:11skip.montanarosetmessages: + msg80488
2009-01-24 23:38:17loewissetnosy: + loewis
messages: + msg80487
2009-01-24 21:40:47skip.montanarocreate