mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 1279151 - Version'ize the result of yasm_version. r=chmanchester
Before bug 1269513, yasm_version returned a Version object, and it doesn't anymore, which made the assignment of _YASM_*_VERSION skipped silently. Then, configure would go through the yasm version checks as if they were false and skipping over the AC_MSG_ERRORs, printing out: /builds/slave/try-m64-0000000000000000000000/build/src/old-configure: line 19615: test: : integer expression expected which is why this went undetected: the version checks were simply ignored. Some shells, however, evaluated the yasm version checks as true, hitting the AC_MSG_ERRORs.
This commit is contained in:
parent
6976cfdc58
commit
17821c9ee3
@ -15,7 +15,7 @@ def yasm_version(yasm):
|
||||
yasm, '--version',
|
||||
onerror=lambda: die('Failed to get yasm version.')
|
||||
).splitlines()[0].split()[1]
|
||||
return version
|
||||
return Version(version)
|
||||
|
||||
# Until we move all the yasm consumers out of old-configure.
|
||||
# bug 1257904
|
||||
|
Loading…
Reference in New Issue
Block a user