screen: fix autoconf misdetection
authorJo-Philipp Wich <redacted>
Sat, 27 Jun 2015 12:25:43 +0000 (14:25 +0200)
committerJo-Philipp Wich <redacted>
Sat, 27 Jun 2015 12:29:48 +0000 (14:29 +0200)
commit371bf3954680bac23a32ead2194c579bdc78f537
tree43cbf8ee9a6236db926d2da91040d5ee67ddeaf4
parent572fd1e40b8901279fb1357a837109ee9869c727
screen: fix autoconf misdetection

The configure script shipped by screen uses the presence of `elf.h` and `-lelf`
as indicator for an SVR4 system which implies a `#define BUGGYGETLOGIN`.

The SVR4 `getlogin()` replacement function does not compile with a musl
toolchain and we do not want it anyway, so patch configure to remove the broken
SVR4 detection logic.

Signed-off-by: Jo-Philipp Wich <redacted>
utils/screen/Makefile
utils/screen/patches/200-musl-compat.patch
git clone https://git.99rst.org/PROJECT