diff options
author | Darren Tucker <dtucker@zip.com.au> | 2009-10-07 09:56:10 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2009-10-07 09:56:10 +0200 |
commit | 538738d861cefb25d78615b1c299d7b618db870c (patch) | |
tree | 91c08e223cf51d20a369af1e0711f3559ae9bd9e /configure.ac | |
parent | - (dtucker) [configure.ac sftp-client.c] DOTTIF is in fs/ffs/dir.h on at (diff) | |
download | openssh-538738d861cefb25d78615b1c299d7b618db870c.tar.xz openssh-538738d861cefb25d78615b1c299d7b618db870c.zip |
- (dtucker) d_type is not mandated by POSIX, so add fallback code using
stat(), needed on at least cygwin.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 759047f10..80db43af1 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# $Id: configure.ac,v 1.428 2009/10/07 04:49:48 dtucker Exp $ +# $Id: configure.ac,v 1.429 2009/10/07 07:56:10 dtucker Exp $ # # Copyright (c) 1999-2004 Damien Miller # @@ -15,7 +15,7 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) -AC_REVISION($Revision: 1.428 $) +AC_REVISION($Revision: 1.429 $) AC_CONFIG_SRCDIR([ssh.c]) AC_CONFIG_HEADER(config.h) @@ -1137,6 +1137,8 @@ AC_CHECK_DECL(DTTOIF, #include <fs/ffs/dir.h> ]) +AC_CHECK_MEMBERS([struct dirent.d_type],,, [#include <dirent.h>]) + AC_MSG_CHECKING([for /proc/pid/fd directory]) if test -d "/proc/$$/fd" ; then AC_DEFINE(HAVE_PROC_PID, 1, [Define if you have /proc/$pid/fd]) |