Revision 9e72b7b6
configure | ||
---|---|---|
241 | 241 |
|
242 | 242 |
def compiler_version(): |
243 | 243 |
try: |
244 |
proc = subprocess.Popen([CC, '-v'], stderr=subprocess.PIPE)
|
|
244 |
proc = subprocess.Popen(CC.split() + ['-v'], stderr=subprocess.PIPE)
|
|
245 | 245 |
except OSError: |
246 | 246 |
return (False, False, None) |
247 | 247 |
lines = proc.communicate()[1].split('\n') |
Also available in: Unified diff