[Python-checkins] python/dist/src setup.py,1.110,1.111

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
Wed, 25 Sep 2002 07:59:59 -0700


Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv32107

Modified Files:
	setup.py 
Log Message:
Disable building of the fpectl module -- it's dangerous or useless
except in the hands of experts.  Will backport to 2.2.2.


Index: setup.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/setup.py,v
retrieving revision 1.110
retrieving revision 1.111
diff -C2 -d -r1.110 -r1.111
*** setup.py	12 Sep 2002 14:41:20 -0000	1.110
--- setup.py	25 Sep 2002 14:59:57 -0000	1.111
***************
*** 653,670 ****
          # 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']) )
  
  
--- 653,671 ----
          # Choose *one* of the options below for fpectl:
  
!         # 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']) )