[Python-checkins] python/dist/src setup.py,1.73.4.15,1.73.4.16

bwarsaw@users.sourceforge.net bwarsaw@users.sourceforge.net
Sat, 26 Apr 2003 21:00:10 -0700


Update of /cvsroot/python/python/dist/src
In directory sc8-pr-cvs1:/tmp/cvs-serv20221

Modified Files:
      Tag: release22-maint
	setup.py 
Log Message:
detect_modules(): On Redhat 9, building the ssl stuff eventually
includes krb5.h.  Copy the krb5_h stanza from Python 2.3's setup.py
which seems to fix the problem.


Index: setup.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/setup.py,v
retrieving revision 1.73.4.15
retrieving revision 1.73.4.16
diff -C2 -d -r1.73.4.15 -r1.73.4.16
*** setup.py	21 Feb 2003 12:18:17 -0000	1.73.4.15
--- setup.py	27 Apr 2003 04:00:01 -0000	1.73.4.16
***************
*** 373,378 ****
                                       ] )
  
!         if (ssl_incs is not None and
!             ssl_libs is not None):
              rtlibs = None
              if platform.startswith('sunos'):
--- 373,382 ----
                                       ] )
  
!         krb5_h = find_file('krb5.h', inc_dirs,
!                            ['/usr/kerberos/include'])
!         if krb5_h:
!             ssl_incs += krb5_h
! 
!         if ssl_incs is not None and ssl_libs is not None:
              rtlibs = None
              if platform.startswith('sunos'):