- Fix HAVE_PAM_GETENVLIST setting from Simon Wilkinson <sxw@dcs.ed.ac.uk>
diff --git a/ChangeLog b/ChangeLog
index 5d28c74..4f0c42d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,7 @@
  - Applied Tom Bertelson's <tbert@abac.com> AIX authentication fix
  - Avoid WCOREDUMP complation errors for systems that lack it
  - Avoid SIGCHLD warnings from entropy commands 
+ - Fix HAVE_PAM_GETENVLIST setting from Simon Wilkinson <sxw@dcs.ed.ac.uk>
 
 20000513
  - Fix for non-recognised DSA keys from Arkadiusz Miskiewicz 
diff --git a/configure.in b/configure.in
index aaf3d85..62456ac 100644
--- a/configure.in
+++ b/configure.in
@@ -165,7 +165,7 @@
 	AC_CHECK_LIB(dl, dlopen, , )
 	LIBS="$LIBS -lpam"
 
-	AC_CHECK_FUNC(pam_getenvlist)
+	AC_CHECK_FUNCS(pam_getenvlist)
 
 	# Check PAM strerror arguments (old PAM)
 	AC_MSG_CHECKING([whether pam_strerror takes only one argument])