Check for openpty() in -lutil. It's there on FreeBSD and BSDI
authorTheodore Tso <tytso@mit.edu>
Fri, 25 Apr 1997 23:15:29 +0000 (23:15 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 25 Apr 1997 23:15:29 +0000 (23:15 +0000)
systems.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10074 dc483132-0cff-0310-8789-dd5450dbe970

src/util/pty/ChangeLog
src/util/pty/configure.in

index 9d7aa87d8d907cbe34d7057b2033d1a4d8f1d840..95f945be072e0c0b307f79653cfa01acf5142238 100644 (file)
@@ -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.
index db2837698d0afc5a318926d13a6978103f04b627..e1b22719f9fa17198374fbd693e3b2389fd4ca04 100644 (file)
@@ -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))