When configuring and building GNU libc using the Mozilla NSS library
for cryptography (--enable-nss-crypt option), also include the
NSPR header files along with the Mozilla NSS library header files.
Finally, when running the check-local-headers test, ignore the
Mozilla NSPR library header files (used by the Mozilla NSS library)
as otherwise false positives (FAIL) are obtained.
2016-05-31 Guido Trentalancia<guido@trentalancia.net>
[BZ #17956]
* configure: If the Mozilla NSS library is used for
cryptography (--enable-nss-crypt option), also include
the Mozilla NSPR header files when building the test
program. Fail if Mozilla NSPR cannot be found.
* configure.ac: Likewise.
* crypt/Makefile: Include the Mozilla NSPR header files
when the Mozilla NSS library is used for cryptography
(--enable-nss-crypt configure option).
* scripts/check-local-headers.sh: Ignore the Mozilla NSPR header
files.