diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
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. | |||
59 | AC_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) | 59 | AC_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 | ||
61 | dnl Checks for library functions. | 61 | dnl Checks for library functions. |
62 | AC_CHECK_FUNCS(arc4random mkdtemp openpty setenv setlogin setproctitle snprintf strlcat strlcpy vsnprintf) | 62 | AC_CHECK_FUNCS(arc4random mkdtemp openpty _getpty setenv setlogin setproctitle snprintf strlcat strlcpy vsnprintf) |
63 | 63 | ||
64 | AC_CHECK_FUNC(login, | 64 | AC_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") |
222 | fi | 222 | fi |
223 | 223 | ||
224 | AC_CHECK_FILE("/dev/ptmx", AC_DEFINE_UNQUOTED(HAVE_DEV_PTMX)) | ||
225 | AC_CHECK_FILE("/dev/ptc", AC_DEFINE_UNQUOTED(HAVE_DEV_PTS_AND_PTC)) | ||
226 | |||
224 | AC_MSG_CHECKING([whether libc defines __progname]) | 227 | AC_MSG_CHECKING([whether libc defines __progname]) |
225 | AC_TRY_LINK([], | 228 | AC_TRY_LINK([], |
226 | [extern char *__progname; printf("%s", __progname);], | 229 | [extern char *__progname; printf("%s", __progname);], |