From: Stéphane Graber Date: Fri, 11 Jan 2013 20:53:14 +0000 (-0500) Subject: Fix check for openpty X-Git-Tag: lxc-0.9.0.alpha3~1^2~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=740ee8c7754f68bc6a467bd298c9589647f4d92b;p=thirdparty%2Flxc.git Fix check for openpty The previous implementation of the openpty check was always returning 'no' as openpty is typically defined in util. Signed-off-by: Stéphane Graber --- 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)