diff options
author | Damien Miller <djm@mindrot.org> | 2003-01-28 11:33:42 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-01-28 11:33:42 +1100 |
commit | cd6853c31c226d4538f0a46b4ebcdcc734d4b6c0 (patch) | |
tree | c96509a2f4c8d4da839edb32c9c1f5c0e4e5eae1 | |
parent | 6dc562a7aacbedbf9d2dfcef19fcba19c226b453 (diff) |
- (djm) Search libposix4 and librt for nanosleep. From dtucker@zip.com.au
and openssh-unix-dev@thewrittenword.com
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | acconfig.h | 5 | ||||
-rw-r--r-- | configure.ac | 4 |
3 files changed, 12 insertions, 3 deletions
@@ -1,3 +1,7 @@ +200301028 + - (djm) Search libposix4 and librt for nanosleep. From dtucker@zip.com.au + and openssh-unix-dev@thewrittenword.com + 200301027 - (bal) Bugzilla 477 patch by wendyp@cray.com. Define TIOCGPGRP for cray. Also removed test for tcgetpgrp in configure.ac since it @@ -1079,4 +1083,4 @@ save auth method before monitor_reset_key_state(); bugzilla bug #284; ok provos@ -$Id: ChangeLog,v 1.2588 2003/01/27 21:15:10 mouring Exp $ +$Id: ChangeLog,v 1.2589 2003/01/28 00:33:42 djm Exp $ @@ -1,4 +1,4 @@ -/* $Id: acconfig.h,v 1.147 2003/01/12 23:04:59 djm Exp $ */ +/* $Id: acconfig.h,v 1.148 2003/01/28 00:33:44 djm Exp $ */ #ifndef _CONFIG_H #define _CONFIG_H @@ -371,6 +371,9 @@ #undef SETPROCTITLE_STRATEGY #undef SETPROCTITLE_PS_PADDING +/* Some systems put this outside of libc */ +#undef HAVE_NANOSLEEP + @BOTTOM@ /* ******************* Shouldn't need to edit below this line ************** */ diff --git a/configure.ac b/configure.ac index 870def2a..f66104e7 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# $Id: configure.ac,v 1.103 2003/01/27 21:15:10 mouring Exp $ +# $Id: configure.ac,v 1.104 2003/01/28 00:33:44 djm Exp $ AC_INIT AC_CONFIG_SRCDIR([ssh.c]) @@ -612,6 +612,8 @@ AC_CHECK_FUNCS(arc4random b64_ntop bcopy bindresvport_sa \ socketpair strerror strlcat strlcpy strmode strnvis sysconf \ truncate utimes vhangup vsnprintf waitpid __b64_ntop _getpty) +AC_SEARCH_LIBS(nanosleep, rt posix4, AC_DEFINE(HAVE_NANOSLEEP)) + dnl Make sure strsep prototype is defined before defining HAVE_STRSEP AC_CHECK_DECL(strsep, [AC_CHECK_FUNCS(strsep)]) |