]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Disable building of the fpectl module -- it's dangerous or useless
authorGuido van Rossum <guido@python.org>
Wed, 25 Sep 2002 14:59:57 +0000 (14:59 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 25 Sep 2002 14:59:57 +0000 (14:59 +0000)
except in the hands of experts.  Will backport to 2.2.2.

setup.py

index 7e9d7fe6c5af047b2471e598bf3b32b87573ee5f..732853483fa85b9cfc66b0cd5ae1dda5b59959d8 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -652,20 +652,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.  Note that some versions of zlib