This is an archive of the discontinued LLVM Phabricator instance.

Improve portability, fix build issue on NetBSD
ClosedPublic

Authored by krytarowski on Sep 4 2015, 1:19 PM.

Details

Summary

The "test" command, as well as the "[" command, are not required to know the "==" operator. Only a few implementations like bash and some versions of ksh support it.

Diff Detail

Repository
rL LLVM

Event Timeline

krytarowski updated this revision to Diff 34066.Sep 4 2015, 1:19 PM
krytarowski retitled this revision from to Improve portability, fix build issue on NetBSD.
krytarowski updated this object.
krytarowski added a reviewer: joerg.
krytarowski set the repository for this revision to rL LLVM.
krytarowski added a subscriber: llvm-commits.

Of course we need to regenerate later autotools.

This revision was automatically updated to reflect the committed changes.