Commit 740ee8c7 by Stéphane Graber

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: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent e316c085
...@@ -227,6 +227,7 @@ AC_CHECK_HEADERS([sys/signalfd.h pty.h sys/capability.h sys/personality.h utmpx. ...@@ -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]) AC_CHECK_FUNCS([setns pivot_root sethostname unshare])
# Check for some functions # Check for some functions
AC_CHECK_LIB(util, openpty)
AC_CHECK_FUNCS([openpty hasmntopt setmntent endmntent]) AC_CHECK_FUNCS([openpty hasmntopt setmntent endmntent])
AC_CHECK_FUNCS([getline], AC_CHECK_FUNCS([getline],
AM_CONDITIONAL(HAVE_GETLINE, true) AM_CONDITIONAL(HAVE_GETLINE, true)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment