wbhart / mpir

Multiple Precision Integers and Rationals
GNU General Public License v3.0
229 stars 135 forks source link

Replace usage of `which` by `command -v` #287

Closed tornaria closed 4 years ago

tornaria commented 4 years ago

To detect if yasm is available, configure uses the which command, which may not be available. The posix equivalent is command -v.

See: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/command.html

wbhart commented 4 years ago

Thanks.