Commit 54549d47 authored by Jason Madden's avatar Jason Madden

Use -r not -e for old solaris. Fixes #777

parent 92eb5bd2
......@@ -10,6 +10,7 @@
- Nested callbacks that set and clear an Event no longer cause
``wait`` to return prematurely. Reported in :issue:`771` by Sergey
Vasilyev.
- Fix build on Solaris 10. Reported in :issue:`777` by wiggin15.
1.1.0 (Mar 5, 2016)
===================
......
......@@ -109,8 +109,9 @@ if _config_vars and "m32" in _config_vars:
else:
_m32 = ''
# Use -r, not -e, for support of old solaris. See https://github.com/gevent/gevent/issues/777
ares_configure_command = ' '.join(["(cd ", _quoted_abspath('c-ares/'),
" && if [ -e ares_build.h ]; then cp ares_build.h ares_build.h.orig; fi ",
" && if [ -r ares_build.h ]; then cp ares_build.h ares_build.h.orig; fi ",
" && /bin/sh ./configure " + _m32 + "CONFIG_COMMANDS= CONFIG_FILES= ",
" && cp ares_config.h ares_build.h \"$OLDPWD\" ",
" && mv ares_build.h.orig ares_build.h)",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment