summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 86f2dde7c..62e68317e 100644
--- a/configure.in
+++ b/configure.in
@@ -59,7 +59,7 @@ dnl Checks for header files.
59AC_CHECK_HEADERS(endian.h lastlog.h login.h maillock.h netgroup.h paths.h pty.h shadow.h util.h utmp.h sys/select.h sys/time.h) 59AC_CHECK_HEADERS(endian.h lastlog.h login.h maillock.h netgroup.h paths.h pty.h shadow.h util.h utmp.h sys/select.h sys/time.h)
60 60
61dnl Checks for library functions. 61dnl Checks for library functions.
62AC_CHECK_FUNCS(arc4random mkdtemp openpty setenv setlogin setproctitle snprintf strlcat strlcpy vsnprintf) 62AC_CHECK_FUNCS(arc4random mkdtemp openpty _getpty setenv setlogin setproctitle snprintf strlcat strlcpy vsnprintf)
63 63
64AC_CHECK_FUNC(login, 64AC_CHECK_FUNC(login,
65 [AC_DEFINE(HAVE_LOGIN)], 65 [AC_DEFINE(HAVE_LOGIN)],
@@ -221,6 +221,9 @@ else
221 AC_DEFINE_UNQUOTED(LASTLOG_LOCATION, "$lastlog") 221 AC_DEFINE_UNQUOTED(LASTLOG_LOCATION, "$lastlog")
222fi 222fi
223 223
224AC_CHECK_FILE("/dev/ptmx", AC_DEFINE_UNQUOTED(HAVE_DEV_PTMX))
225AC_CHECK_FILE("/dev/ptc", AC_DEFINE_UNQUOTED(HAVE_DEV_PTS_AND_PTC))
226
224AC_MSG_CHECKING([whether libc defines __progname]) 227AC_MSG_CHECKING([whether libc defines __progname])
225AC_TRY_LINK([], 228AC_TRY_LINK([],
226 [extern char *__progname; printf("%s", __progname);], 229 [extern char *__progname; printf("%s", __progname);],