summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-09-03 22:44:49 +1000
committerDarren Tucker <dtucker@zip.com.au>2006-09-03 22:44:49 +1000
commited0b59218ef9bb41a25922885d3fae7e67b8ba04 (patch)
treee0f887b046a8ca04609ae104a43a30ad7f02c9dd /configure.ac
parent46aa3e0ce1d2f341bb3e4d46035faae3bb5ee69c (diff)
- (dtucker) [configure.ac openbsd-compat/openbsd-compat.h] Check for
declaration of writev(2) and declare it ourselves if necessary. Makes the atomiciov() calls build on really old systems. ok djm@
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 8 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index c37d7f499..cdabbd8a1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.357 2006/09/01 10:29:11 dtucker Exp $ 1# $Id: configure.ac,v 1.358 2006/09/03 12:44:49 dtucker Exp $
2# 2#
3# Copyright (c) 1999-2004 Damien Miller 3# Copyright (c) 1999-2004 Damien Miller
4# 4#
@@ -15,7 +15,7 @@
15# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 16
17AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) 17AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org)
18AC_REVISION($Revision: 1.357 $) 18AC_REVISION($Revision: 1.358 $)
19AC_CONFIG_SRCDIR([ssh.c]) 19AC_CONFIG_SRCDIR([ssh.c])
20 20
21AC_CONFIG_HEADER(config.h) 21AC_CONFIG_HEADER(config.h)
@@ -1328,6 +1328,12 @@ AC_CHECK_DECLS(O_NONBLOCK, , ,
1328#endif 1328#endif
1329 ]) 1329 ])
1330 1330
1331AC_CHECK_DECLS(writev, , , [
1332#include <sys/types.h>
1333#include <sys/uio.h>
1334#include <unistd.h>
1335 ])
1336
1331AC_CHECK_FUNCS(setresuid, [ 1337AC_CHECK_FUNCS(setresuid, [
1332 dnl Some platorms have setresuid that isn't implemented, test for this 1338 dnl Some platorms have setresuid that isn't implemented, test for this
1333 AC_MSG_CHECKING(if setresuid seems to work) 1339 AC_MSG_CHECKING(if setresuid seems to work)