mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-15 10:12:24 +00:00
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 <stgraber@ubuntu.com>
This commit is contained in:
parent
e316c08539
commit
740ee8c775
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user