…detect the system's poll is broken
Also increases maximum frame rate from 50 fps to 100 fps. Relevant to issue #222 on github.
Closes #225 github issue (Jay Freeman).
Relevant to #217.
Otherwise that variable has no effect.
Suggested by Kees Cook.
Through Autoconf we set hardening flags that are actually more aggressive than the Ubuntu defaults, but they conflict with same.
The previous code had the following issues: 1) hardcoded the path of /bin/sh (should use paths.h) 2) threw away the variable with the fallback shell 3) prepended - to the path rather than the shell name 4) added a - before explicit chosen non-shell commands Closes #199.
There appears to be a typo/thinko in the ncurses detection stuff in configure.ac. The fallout was that on a Linux host without ncurses-devel installed, "./configure" failed to find curses.h but claimed overall success, then the build failed later during make. This patch removes an extraneous comma, which seems to make it both fail and succeed correctly when it should.