mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
configure: make nasm check compatible with BSD grep.
The BSD grep doesn't know about \s. Moreover, checking for elf (rather than ELF) seems to make more sense, as that's the format name, not part of the description. Patch suggested by geist. Thanks!
This commit is contained in:
parent
604dad9490
commit
3e6c09cdfb
2
configure
vendored
2
configure
vendored
@ -668,7 +668,7 @@ fi
|
||||
# check if nasm can actually output ELF files
|
||||
# (the stock version in OSX can't)
|
||||
# XXX: should probably only test for x86* arch
|
||||
if [ "$("$HAIKU_NASM" -hf | grep -c ELF'[36][24]\s')" -ne "2" ]; then
|
||||
if [ "$("$HAIKU_NASM" -hf | grep -c elf'[36][24] ')" -ne "2" ]; then
|
||||
echo "$HAIKU_NASM cannot generate ELF files. Please install a working version."
|
||||
if [ $HOST_PLATFORM = "darwin" ]; then
|
||||
echo "You can install it from Mac Ports."
|
||||
|
Loading…
Reference in New Issue
Block a user