aboutsummaryrefslogtreecommitdiff
blob: 5a6cb3e403f19728f41c2193c596fc2be2586874 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/setup.py
+++ b/setup.py
@@ -1346,17 +1346,7 @@ class PyBuildExt(build_ext):
             else:
                 missing.append('resource')
 
-            # Sun yellow pages. Some systems have the functions in libc.
-            if (host_platform not in ['cygwin', 'atheos', 'qnx6'] and
-                find_file('rpcsvc/yp_prot.h', inc_dirs, []) is not None):
-                if (self.compiler.find_library_file(lib_dirs, 'nsl')):
-                    libs = ['nsl']
-                else:
-                    libs = []
-                exts.append( Extension('nis', ['nismodule.c'],
-                                       libraries = libs) )
-            else:
-                missing.append('nis')
+            missing.append('nis')
         else:
             missing.extend(['nis', 'resource', 'termios'])