summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-09-04 09:05:11 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-09-04 09:05:11 (GMT)
commit4ca5f38f463301cd17284c3ed45add88b3ccc24b (patch)
treebf732e6a76aec5517dc241d0a2f2a69717d8e1c8 /setup.py
parent83e7ccc9fdc9a5e1220fb14a173ed8f391380966 (diff)
downloadcpython-4ca5f38f463301cd17284c3ed45add88b3ccc24b.zip
cpython-4ca5f38f463301cd17284c3ed45add88b3ccc24b.tar.gz
cpython-4ca5f38f463301cd17284c3ed45add88b3ccc24b.tar.bz2
Disabled _curses modules on MacOSX. The curses version is a 1994 BSD
curses, far too old for _cursesmodule.c.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 88a70d3..61e75de 100644
--- a/setup.py
+++ b/setup.py
@@ -451,7 +451,8 @@ class PyBuildExt(build_ext):
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: