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.

Author skip.montanaro
Recipients skip.montanaro
Date 2009-01-24.21:40:46
SpamBayes Score 1.9117023e-07
Marked as misclassified No
Message-id <20090124214044.37BA7D56A89@montanaro.dyndns.org>
In-reply-to
Content
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="";;
============================================================
History
Date User Action Args
2009-01-24 21:40:47skip.montanarosetrecipients: + skip.montanaro
2009-01-24 21:40:47skip.montanarolinkissue5047 messages
2009-01-24 21:40:46skip.montanarocreate