]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Fix check for openpty
authorStéphane Graber <stgraber@ubuntu.com>
Fri, 11 Jan 2013 20:53:14 +0000 (15:53 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 11 Jan 2013 20:59:33 +0000 (15:59 -0500)
The previous implementation of the openpty check was always returning
'no' as openpty is typically defined in util.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
configure.ac

index dd5070172e69fe3245c65e0573397fd712ce815d..d1f5ad950f9c27baeaf5d5d6006b5f0aef968237 100644 (file)
@@ -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)