From: Theodore Tso Date: Fri, 25 Apr 1997 23:15:29 +0000 (+0000) Subject: Check for openpty() in -lutil. It's there on FreeBSD and BSDI X-Git-Tag: krb5-1.1-beta1~1149 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8a49992958b3d8aa10c099eaa00e3acabec705a3;p=krb5.git Check for openpty() in -lutil. It's there on FreeBSD and BSDI systems. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10074 dc483132-0cff-0310-8789-dd5450dbe970 --- 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 + + * configure.in: Check for openpty() in -lutil. It's there on + FreeBSD and BSDI systems. + Fri Feb 21 18:25:47 1997 Sam Hartman * 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))