]> git.ozlabs.org Git - ppp.git/commit
pppd: Use a compile test to detect crypt.h (#198)
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 31 Dec 2020 05:35:24 +0000 (06:35 +0100)
committerGitHub <noreply@github.com>
Thu, 31 Dec 2020 05:35:24 +0000 (16:35 +1100)
commitf1e3aa2dc7e7772d8491c6ff61e4e6d28af33d4b
tree45dd6259a18c0ea2d7b5247ba5abebd5b30e24bd
parentaa93f9ec9c7e02ff6390a444822cbdc7ad55b557
pppd: Use a compile test to detect crypt.h (#198)

ppp checks header for existence of crypt.h looking it up in /usr/include.
That's incompatible with non-glibcs or a glibc with multiarch headers
(https://bugs.debian.org/798955). This patch replaces the file existence
test with a compile test.

Reviewed-by: Chris Boot <bootc@debian.org>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Co-authored-by: Helmut Grohne <helmut@subdivi.de>
pppd/Makefile.linux