summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-09-25 15:00:40 +0000
committerGuido van Rossum <guido@python.org>2002-09-25 15:00:40 +0000
commit2c3f443e2ba97b3f89b02408db37043cc604c18f (patch)
tree3f75a65635173d6134a1da5dc0dcb1ad05eb03bf /setup.py
parent916675bf101bc908bc445781ff6863a13758bd67 (diff)
downloadcpython-git-2c3f443e2ba97b3f89b02408db37043cc604c18f.tar.gz
Backport of 1.111:
Disable building of the fpectl module -- it's dangerous or useless except in the hands of experts.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py29
1 files changed, 15 insertions, 14 deletions
diff --git a/setup.py b/setup.py
index 66775428fc..fc8cfa9adb 100644
--- a/setup.py
+++ b/setup.py
@@ -499,20 +499,21 @@ class PyBuildExt(build_ext):
# 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.