From 740ee8c7754f68bc6a467bd298c9589647f4d92b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= Date: Fri, 11 Jan 2013 15:53:14 -0500 Subject: [PATCH] Fix check for openpty MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The previous implementation of the openpty check was always returning 'no' as openpty is typically defined in util. Signed-off-by: Stéphane Graber --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index dd5070172..d1f5ad950 100644 --- a/configure.ac +++ b/configure.ac @@ -227,6 +227,7 @@ AC_CHECK_HEADERS([sys/signalfd.h pty.h sys/capability.h sys/personality.h utmpx. AC_CHECK_FUNCS([setns pivot_root sethostname unshare]) # Check for some functions +AC_CHECK_LIB(util, openpty) AC_CHECK_FUNCS([openpty hasmntopt setmntent endmntent]) AC_CHECK_FUNCS([getline], AM_CONDITIONAL(HAVE_GETLINE, true)