mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-31 14:01:18 +08:00
Use AC_LANG_PROGRAM in nss-crypt check.
This commit is contained in:
parent
b350afabd9
commit
b68e08db76
@ -1,5 +1,8 @@
|
||||
2011-06-10 Roland McGrath <roland@hack.frob.com>
|
||||
|
||||
* configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
|
||||
* configure: Regenerated.
|
||||
|
||||
* Makerules: Revert last change.
|
||||
* elf/Makefile: Likewise.
|
||||
|
||||
|
@ -293,10 +293,10 @@ if test x$nss_crypt = xyes; then
|
||||
fi
|
||||
old_CFLAGS="$CFLAGS"
|
||||
CFLAGS="$CFLAGS $nss_includes"
|
||||
AC_COMPILE_IFELSE([typedef int PRBool;
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([typedef int PRBool;
|
||||
#include <hasht.h>
|
||||
#include <nsslowhash.h>
|
||||
void f (void) { NSSLOW_Init (); }],
|
||||
void f (void) { NSSLOW_Init (); }])],
|
||||
libc_cv_nss_crypt=yes,
|
||||
AC_MSG_ERROR([
|
||||
cannot find NSS headers with lowlevel hash function interfaces]))
|
||||
|
Loading…
x
Reference in New Issue
Block a user