about summary refs log tree commit diff
path: root/configure.in
diff options
context:
space:
mode:
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]))