Commit 271a7ae6 authored by Denis Bilenko's avatar Denis Bilenko

setup.py: respect -1 and -2

parent 213c08ef
......@@ -268,6 +268,7 @@ def guess_libevent_major():
if not sys.argv[1:] or '-h' in sys.argv or '--help' in ' '.join(sys.argv):
print __doc__
else:
if LIBEVENT_MAJOR is None:
LIBEVENT_MAJOR = guess_libevent_major()
if LIBEVENT_MAJOR is None:
print 'Cannot guess the version of libevent installed on your system. DEFAULTING TO 1.x.x'
......
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