about summary refs log tree commit diff
path: root/scripts/check-local-headers.sh
diff options
context:
space:
mode:
authorGuido Trentalancia <guido@trentalancia.net>2017-10-04 15:02:35 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-10-04 15:02:35 +0200
commit57b4af1955e28c1623c98397b8597847d16bdd8c (patch)
treed98771f87977a7f297d4947cc8d0cdbc03bcd9be /scripts/check-local-headers.sh
parent64d1e08ea822bf47cb2796ad0f727136227f983c (diff)
downloadglibc-57b4af1955e28c1623c98397b8597847d16bdd8c.tar.gz
glibc-57b4af1955e28c1623c98397b8597847d16bdd8c.tar.xz
glibc-57b4af1955e28c1623c98397b8597847d16bdd8c.zip
crypt: Use NSPR header files in addition to NSS header files [BZ #17956]
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).
Diffstat (limited to 'scripts/check-local-headers.sh')
-rwxr-xr-xscripts/check-local-headers.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check-local-headers.sh b/scripts/check-local-headers.sh
index 7859f613b2..4692361686 100755
--- a/scripts/check-local-headers.sh
+++ b/scripts/check-local-headers.sh
@@ -33,7 +33,7 @@ exec ${AWK} -v includedir="$includedir" '
 BEGIN {
   status = 0
   exclude = "^" includedir \
-    "/(.*-.*-.*/|.*-.*/|)(asm[-/]|arch|linux/|selinux/|mach/|mach_debug/|device/|hurd/(((hurd|ioctl)_types|paths)\\.h|ioctls\\.defs|ihash\\.h)|cthreads\\.h|gd|nss3/|c\\+\\+/|sys/(capability|sdt(|-config))\\.h|libaudit\\.h)"
+    "/(.*-.*-.*/|.*-.*/|)(asm[-/]|arch|linux/|selinux/|mach/|mach_debug/|device/|hurd/(((hurd|ioctl)_types|paths)\\.h|ioctls\\.defs|ihash\\.h)|cthreads\\.h|gd|nss3/|nspr/|c\\+\\+/|sys/(capability|sdt(|-config))\\.h|libaudit\\.h)"
 }
 /^[^ ]/ && $1 ~ /.*:/ { obj = $1 }
 {