summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2003-10-24 18:26:26 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2003-10-24 18:26:26 (GMT)
commit7883dc8abb81026fb111b2fde09ba602ccf04226 (patch)
treeaba2a96a3f9d7a73c337427abf6dae7d7eadb0cb /setup.py
parent10a444965dd537f4fc0483e960941cfdac8b2e11 (diff)
downloadcpython-7883dc8abb81026fb111b2fde09ba602ccf04226.zip
cpython-7883dc8abb81026fb111b2fde09ba602ccf04226.tar.gz
cpython-7883dc8abb81026fb111b2fde09ba602ccf04226.tar.bz2
[Patch #772077 from Tim Rice] Fix for compiling the readline module on UnixWare; fix goofy comment indent. 2.3 bugfix candidate
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index 40dbf4b..c444a61 100644
--- a/setup.py
+++ b/setup.py
@@ -278,8 +278,8 @@ class PyBuildExt(build_ext):
inc_dirs += ['/system/include', '/atheos/autolnk/include']
inc_dirs += os.getenv('C_INCLUDE_PATH', '').split(os.pathsep)
- # OSF/1 has some stuff in /usr/ccs/lib (like -ldb)
- if platform == 'osf1':
+ # OSF/1 and Unixware have some stuff in /usr/ccs/lib (like -ldb)
+ if platform in ['osf1', 'unixware7', 'openunix8']:
lib_dirs += ['/usr/ccs/lib']
# Check for MacOS X, which doesn't need libm.a at all
@@ -420,7 +420,7 @@ class PyBuildExt(build_ext):
library_dirs=['/usr/lib/termcap'],
libraries=readline_libs) )
if platform not in ['mac']:
- # crypt module.
+ # crypt module.
if self.compiler.find_library_file(lib_dirs, 'crypt'):
libs = ['crypt']