Mercurial > cpython-lru_cache-weakref
diff setup.py @ 25416:048968ca2668 2.2
Backport of 1.111:
Disable building of the fpectl module -- it's dangerous or useless
except in the hands of experts.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 25 Sep 2002 15:00:40 +0000 |
| parents | 647f9367750e |
| children | 75b08e6e97c6 |
line wrap: on
line diff
--- a/setup.py Wed Sep 25 10:32:49 2002 +0000 +++ b/setup.py Wed Sep 25 15:00:40 2002 +0000 @@ -499,20 +499,21 @@ # The library to link fpectl with is platform specific. # Choose *one* of the options below for fpectl: - if platform == 'irix5': - # For SGI IRIX (tested on 5.3): - exts.append( Extension('fpectl', ['fpectlmodule.c'], - libraries=['fpe']) ) - elif 0: # XXX how to detect SunPro? - # For Solaris with SunPro compiler (tested on Solaris 2.5 - # with SunPro C 4.2): (Without the compiler you don't have - # -lsunmath.) - #fpectl fpectlmodule.c -R/opt/SUNWspro/lib -lsunmath -lm - pass - else: - # For other systems: see instructions in fpectlmodule.c. - #fpectl fpectlmodule.c ... - exts.append( Extension('fpectl', ['fpectlmodule.c']) ) + # Disabled; it's dangerous or useless except in the hands of experts. +## if platform == 'irix5': +## # For SGI IRIX (tested on 5.3): +## exts.append( Extension('fpectl', ['fpectlmodule.c'], +## libraries=['fpe']) ) +## elif 0: # XXX how to detect SunPro? +## # For Solaris with SunPro compiler (tested on Solaris 2.5 +## # with SunPro C 4.2): (Without the compiler you don't have +## # -lsunmath.) +## #fpectl fpectlmodule.c -R/opt/SUNWspro/lib -lsunmath -lm +## pass +## else: +## # For other systems: see instructions in fpectlmodule.c. +## #fpectl fpectlmodule.c ... +## exts.append( Extension('fpectl', ['fpectlmodule.c']) ) # Andrew Kuchling's zlib module.
