giellalt / template-lang-und

A template repo for new languages, as well as to update existing language repos with.
https://giellalt.uit.no/
GNU Lesser General Public License v3.0
2 stars 1 forks source link

Fail when bc is not found #3

Closed snomos closed 3 years ago

snomos commented 3 years ago

At least with --enable-spellers.

Presently it just returns no, which is not nice - gives surprising results during compilation.

flammie commented 3 years ago

I usually use false instead of no for the third param of AC_PROG_PATH, it still breaks compilation but slightly more graceful. I have updated the m4 but I do not know how to test it on mac since:

$  sudo mv /usr/bin/bc /usr/bin/bc.old
mv: rename /usr/bin/bc to /usr/bin/bc.old: Operation not permitted

there's probably some way to get around this...

snomos commented 3 years ago

Sorry, no good way around that one - Apple has really locked down their system very hard. Must be tested on linux or with the default GitHub virtual machine for CI.

snomos commented 3 years ago

Fixed in 1ff92c3d6d8f66ef65bae7dc995978c72c997670.