diff --git a/configure.ac b/configure.ac
index 85dda6e..bc35107 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,8 +17,6 @@ OPENSC_VERSION_MAJOR="PACKAGE_VERSION_MAJOR"
 OPENSC_VERSION_MINOR="PACKAGE_VERSION_MINOR"
 OPENSC_VERSION_FIX="PACKAGE_VERSION_FIX"
 
-AC_CHECK_FUNCS([getline])
-
 # LT Version numbers, remember to change them just *before* a release.
 #   (Code changed:                      REVISION++)
 #   (Oldest interface removed:          OLDEST++)
@@ -310,9 +308,8 @@ AC_FUNC_STAT
 AC_FUNC_VPRINTF
 AC_CHECK_FUNCS([ \
 	getpass gettimeofday memset mkdir \
-	strdup strerror setutent vsyslog \
-	setlocale getopt_long \
-	strlcpy
+	strdup strerror getopt_long \
+	strlcpy getline
 ])
 AC_CHECK_SIZEOF(void *)
 if test "${ac_cv_sizeof_void_p}" = 8; then
