On Wed, Feb 10, 1999 at 13:17:53 -0800, Eric J. Schwertfeger wrote: > Also, under FreeBSD, and possibly other BSD variants, you do have access > to openpty, but it's not detected, since it's in libutil, which isn't > detected by the autoconfiguration (modifying the autoconfig is way beyond > me at this time, so if someone else wants to make the mod, I'll give what > help I can). Please test this patch: --- ../lsh/configure.in Thu Feb 11 09:00:33 1999 +++ configure.in Thu Feb 11 09:07:58 1999 @@ -181,6 +181,15 @@ AC_CHECK_FUNCS(getspnam) AC_CHECK_FUNCS(vsnprintf inet_aton) AC_CHECK_FUNCS(openpty) +if test $ac_cv_func_openpty = no; then + # openpty is not in the default libraries. See if it's in some other. + # Eric J. Schwertfeger <[EMAIL PROTECTED]> reports openpty is in libutil on + # FreeBSD. + for lib in util; do + AC_CHECK_LIB($lib, openpty, [AC_DEFINE(HAVE_OPENPTY) + LIBS="$LIBS $lib"; break]) + done +fi AC_CHECK_FUNCS(poll,,[LIBOBJS="jpoll.o $LIBOBJS"]) AC_FUNC_GETPGRP AC_CHECK_FUNCS(syslog) HTH, Ray -- Tevens ben ik van mening dat Nederland overdekt dient te worden.
