[Python-checkins] CVS: python/dist/src setup.py,1.27,1.28

A.M. Kuchling akuchling@users.sourceforge.net
Tue, 20 Feb 2001 18:38:26 -0800


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

Modified Files:
	setup.py 
Log Message:
Patch #103544: always compile the dl and nis modules on Unix; let's see
    where they break.


Index: setup.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/setup.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** setup.py	2001/02/06 23:37:23	1.27
--- setup.py	2001/02/21 02:38:24	1.28
***************
*** 363,369 ****
                  exts.append( Extension('resource', ['resource.c']) )
  
              if (self.compiler.find_library_file(lib_dirs, 'nsl')):
!                 exts.append( Extension('nis', ['nismodule.c'],
!                                        libraries = ['nsl']) )
  
          # Curses support, requring the System V version of curses, often
--- 363,376 ----
                  exts.append( Extension('resource', ['resource.c']) )
  
+             # Generic dynamic loading module
+             exts.append( Extension('dl', ['dlmodule.c']) )
+             
+             # 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