Mercurial > cpython-lru_cache-weakref
diff setup.py @ 19680:3f84b2000f62 legacy-trunk
Disabled _curses modules on MacOSX. The curses version is a 1994 BSD
curses, far too old for _cursesmodule.c.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Tue, 04 Sep 2001 09:05:11 +0000 |
| parents | 9cf669581110 |
| children | 1901f875b7d3 |
line wrap: on
line diff
--- a/setup.py Tue Sep 04 06:37:28 2001 +0000 +++ b/setup.py Tue Sep 04 09:05:11 2001 +0000 @@ -451,7 +451,8 @@ curses_libs = ['ncurses'] exts.append( Extension('_curses', ['_cursesmodule.c'], libraries = curses_libs) ) - elif (self.compiler.find_library_file(lib_dirs, 'curses')): + elif (self.compiler.find_library_file(lib_dirs, 'curses')) and platform != 'darwin1': + # OSX has an old Berkeley curses, not good enough for the _curses module. if (self.compiler.find_library_file(lib_dirs, 'terminfo')): curses_libs = ['curses', 'terminfo'] else:
