about summary refs log tree commit diff
path: root/configure.in
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2011-06-10 11:09:12 -0700
committerRoland McGrath <roland@hack.frob.com>2011-06-10 11:09:12 -0700
commitb68e08db76547937ea6e1902e87a5ea98c906f0c (patch)
treed7b715ff9ab8a3a8a3bb0f79067b6f2f309008a8 /configure.in
parentb350afabd9c4980a629e6bedf359d1b7b2f31375 (diff)
downloadglibc-b68e08db76547937ea6e1902e87a5ea98c906f0c.tar.gz
glibc-b68e08db76547937ea6e1902e87a5ea98c906f0c.tar.xz
glibc-b68e08db76547937ea6e1902e87a5ea98c906f0c.zip
Use AC_LANG_PROGRAM in nss-crypt check.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
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 <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]))