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