From b68e08db76547937ea6e1902e87a5ea98c906f0c Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 10 Jun 2011 11:09:12 -0700 Subject: Use AC_LANG_PROGRAM in nss-crypt check. --- configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index fbc64b9a7e..d3f5210316 100644 --- a/configure.in +++ b/configure.in @@ -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 #include -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])) -- cgit 1.4.1