diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-04-02 17:00:46 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-04-02 17:00:46 +0000 |
commit | ff886b82a2b65758950bdb4687cf5a1238f697a1 (patch) | |
tree | 46f1826abb9c0fba4227b39fc7ff7e91b3e94c2c /scripts/check-local-headers.sh | |
parent | 900d7961d48f704b8396841efb916435faf9c374 (diff) | |
download | glibc-ff886b82a2b65758950bdb4687cf5a1238f697a1.tar.gz |
* configure.in: Recognize --enable-nss-crypt.
* config.make.in: Add nss-crypt entry.
* crypt/Makefile: If nss-crypt==yes, don't build md5.c, sha256.c,
sha512.c. Don't run md5test, sha256test, sha512test. Pass -DUSE_NSS
and include path for NSS directory to compiler for md5-crypt,
sha256-crypt, sha512-crypt. Link libcrypt.so with -lfreebl3.
* crypt/md5-crypt.c: If USE_NSS is defined, don't use local hash
function implementation, use NSS. Introduce wrappers around the
hash function calls. Little code size optimization.
* crypt/sha256-crypt.c: Likewise.
* crypt/sha512-crypt.c: Likewise.
* scripts/check-local-headers.sh: Ignore nss3 directory.
* configure.in: Rename pic_default to libc_cv_pic_default.
* config.make.in: Likewise.
Diffstat (limited to 'scripts/check-local-headers.sh')
-rwxr-xr-x | scripts/check-local-headers.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/check-local-headers.sh b/scripts/check-local-headers.sh index a945ffb997..d15e9a4416 100755 --- a/scripts/check-local-headers.sh +++ b/scripts/check-local-headers.sh @@ -1,5 +1,5 @@ #! /bin/bash -# Copyright (C) 2005, 2007 Free Software Foundation, Inc. +# Copyright (C) 2005, 2007, 2009 Free Software Foundation, Inc. # This file is part of the GNU C Library. # The GNU C Library is free software; you can redistribute it and/or @@ -31,7 +31,8 @@ fgrep -v "$includedir/asm" | fgrep -v "$includedir/linux" | fgrep -v "$includedir/selinux" | fgrep -v "$includedir/sys/capability.h" | -fgrep -v "$includedir/gd"; then +fgrep -v "$includedir/gd" | +fgrep -v "$includedir/nss3"; then # If we found a match something is wrong. exit 1 fi |