configure scripts need to be runnable with a POSIX-compliant /bin/sh.
On many (but not all!) systems, /bin/sh is provided by Bash, so errors
like this aren't spotted. Notably Debian defaults to /bin/sh provided
by dash which doesn't tolerate such bashisms as '=='.
This retains compatibility with bash.
Fixes configure warnings/errors like:
configure: WARNING: tcpd.h not found
./configure: 8453: test: X: unexpected operator
checking that generated files are newer than configure... done
Patch attached, thanks!
Anonymous
Thanks for the patch! It looks good. Can you please provide your attribution (Signed-off-by line) so that I can include it in the repository? Thanks!
Sure, thanks!
Signed-off-by: Sam James <sam@gentoo.org>
Thanks. Applied!
Thank you very much!