Mercurial > gftp.yaz
diff configure.in @ 236:597d1f02b9c9
2003-7-25 Brian Masney <masneyb@gftp.org>
* configure.in - define HAVE_OPENPTY if openpty() is found in libutil
author | masneyb |
---|---|
date | Fri, 25 Jul 2003 20:56:26 +0000 |
parents | f330309d2f17 |
children | 2adfdf9a5730 |
line wrap: on
line diff
--- 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")