Commit fa821814 authored by Guido van Rossum's avatar Guido van Rossum

Disable building of the fpectl module -- it's dangerous or useless

except in the hands of experts.  Will backport to 2.2.2.
parent 111ee320
...@@ -652,20 +652,21 @@ class PyBuildExt(build_ext): ...@@ -652,20 +652,21 @@ class PyBuildExt(build_ext):
# The library to link fpectl with is platform specific. # The library to link fpectl with is platform specific.
# Choose *one* of the options below for fpectl: # Choose *one* of the options below for fpectl:
if platform == 'irix5': # Disabled; it's dangerous or useless except in the hands of experts.
# For SGI IRIX (tested on 5.3): ## if platform == 'irix5':
exts.append( Extension('fpectl', ['fpectlmodule.c'], ## # For SGI IRIX (tested on 5.3):
libraries=['fpe']) ) ## exts.append( Extension('fpectl', ['fpectlmodule.c'],
elif 0: # XXX how to detect SunPro? ## libraries=['fpe']) )
# For Solaris with SunPro compiler (tested on Solaris 2.5 ## elif 0: # XXX how to detect SunPro?
# with SunPro C 4.2): (Without the compiler you don't have ## # For Solaris with SunPro compiler (tested on Solaris 2.5
# -lsunmath.) ## # with SunPro C 4.2): (Without the compiler you don't have
#fpectl fpectlmodule.c -R/opt/SUNWspro/lib -lsunmath -lm ## # -lsunmath.)
pass ## #fpectl fpectlmodule.c -R/opt/SUNWspro/lib -lsunmath -lm
else: ## pass
# For other systems: see instructions in fpectlmodule.c. ## else:
#fpectl fpectlmodule.c ... ## # For other systems: see instructions in fpectlmodule.c.
exts.append( Extension('fpectl', ['fpectlmodule.c']) ) ## #fpectl fpectlmodule.c ...
## exts.append( Extension('fpectl', ['fpectlmodule.c']) )
# Andrew Kuchling's zlib module. Note that some versions of zlib # Andrew Kuchling's zlib module. Note that some versions of zlib
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment