# HG changeset patch # User masneyb # Date 1059166586 0 # Node ID 597d1f02b9c9c26079da020b15aee80ad7e5cb62 # Parent 1638e32e6a35967789ef18edba70c4a9df573602 2003-7-25 Brian Masney * configure.in - define HAVE_OPENPTY if openpty() is found in libutil diff -r 1638e32e6a35 -r 597d1f02b9c9 ChangeLog --- a/ChangeLog Fri Jul 25 20:46:58 2003 +0000 +++ b/ChangeLog Fri Jul 25 20:56:26 2003 +0000 @@ -1,4 +1,6 @@ 2003-7-25 Brian Masney + * configure.in - define HAVE_OPENPTY if openpty() is found in libutil + * lib/gftp.h lib/pty.c - moved including of some PTY related header files to pty.c. Hopefully should fix build problems under FreeBSD @@ -1377,7 +1379,7 @@ * cvsclean - added this script - * *.[ch] - added $Id: ChangeLog,v 1.120 2003/07/25 20:46:58 masneyb Exp $ tags + * *.[ch] - added $Id: ChangeLog,v 1.121 2003/07/25 20:56:26 masneyb Exp $ tags * debian/* - updated files from Debian maintainer diff -r 1638e32e6a35 -r 597d1f02b9c9 configure.in --- a/configure.in Fri Jul 25 20:46:58 2003 +0000 +++ b/configure.in Fri Jul 25 20:56:26 2003 +0000 @@ -84,7 +84,8 @@ EXTRA_LIBS="" # FreeBSD needs this -AC_CHECK_LIB(util, openpty, EXTRA_LIBS="-lutil") +AC_CHECK_LIB(util, openpty, [EXTRA_LIBS="-lutil" + AC_DEFINE(HAVE_OPENPTY, [1], [Define if you have the openpty function.]) ]) AC_CHECK_LIB(socket, socket, EXTRA_LIBS="-lsocket")