Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configure.ac: do not run conftest in case of cross compilation
It'll give us nothing but error like below: ./conftest: cannot execute binary file: Exec format error ... ./configure: line 23950: test: -eq: unary operator expected The version check only has effect on Apple systems. We'd better avoid error like above when cross compilation. Also, in case of cross compilation, instead of having the above Exec format error and resulting in unaligned_cv_fail to yes, set it directly to yes. Signed-off-by: Chen Qi <[email protected]>
- Loading branch information