summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/util/pty/ChangeLog5
-rw-r--r--src/util/pty/configure.in1
2 files changed, 6 insertions, 0 deletions
diff --git a/src/util/pty/ChangeLog b/src/util/pty/ChangeLog
index 9d7aa87d8..95f945be0 100644
--- a/src/util/pty/ChangeLog
+++ b/src/util/pty/ChangeLog
@@ -1,3 +1,8 @@
+Fri Apr 25 19:14:48 1997 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * configure.in: Check for openpty() in -lutil. It's there on
+ FreeBSD and BSDI systems.
+
Fri Feb 21 18:25:47 1997 Sam Hartman <hartmans@tertius.mit.edu>
* pty-int.h: No longer prototype error table init function.
diff --git a/src/util/pty/configure.in b/src/util/pty/configure.in
index db2837698..e1b22719f 100644
--- a/src/util/pty/configure.in
+++ b/src/util/pty/configure.in
@@ -49,6 +49,7 @@ esac
dnl
AC_SUBST(LOGINLIBS)
dnl
+AC_CHECK_LIB(util,openpty, AC_DEFINE(HAVE_OPENPTY) LIBS="$LIBS -lutil")
AC_TYPE_MODE_T
AC_CHECK_TYPE(time_t, int)
AC_FUNC_CHECK(strsave,AC_DEFINE(HAS_STRSAVE))