Commit f0f9f1ad authored by Tom Lynn's avatar Tom Lynn

Avoid reading non-existent ares_build.h.

parent 35777505
......@@ -59,10 +59,12 @@ if os.path.exists('libev'):
def need_configure_ares():
if sys.platform == 'win32':
return False
if 'Generated from ares_build.h.in by configure' not in read('c-ares/ares_build.h'):
return True
if not os.path.exists('c-ares/ares_config.h'):
return True
if not os.path.exists('c-ares/ares_build.h'):
return True
if 'Generated from ares_build.h.in by configure' not in read('c-ares/ares_build.h'):
return True
def make_universal_header(filename, *defines):
......
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