[Python-checkins] CVS: python/dist/src setup.py,1.30,1.31

A.M. Kuchling akuchling@users.sourceforge.net
Tue, 27 Feb 2001 12:54:25 -0800


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

Modified Files:
	setup.py 
Log Message:
Patch #404680: disables the nis module and enables the dl module when
    building under Cygwin.  Makes some fixes to the dlmodule in order to 
    compile with Cygwin.


Index: setup.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/setup.py,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -r1.30 -r1.31
*** setup.py	2001/02/23 16:32:32	1.30
--- setup.py	2001/02/27 20:54:23	1.31
***************
*** 388,397 ****
              
              # Sun yellow pages. Some systems have the functions in libc.
!             if (self.compiler.find_library_file(lib_dirs, 'nsl')):
!                 libs = ['nsl']
!             else:
!                 libs = []
!             exts.append( Extension('nis', ['nismodule.c'],
!                                    libraries = libs) )
  
          # Curses support, requring the System V version of curses, often
--- 388,398 ----
              
              # Sun yellow pages. Some systems have the functions in libc.
!             if platform not in ['cygwin']:
!                 if (self.compiler.find_library_file(lib_dirs, 'nsl')):
!                     libs = ['nsl']
!                 else:
!                     libs = []
!                 exts.append( Extension('nis', ['nismodule.c'],
!                                        libraries = libs) )
  
          # Curses support, requring the System V version of curses, often