diff options
author | Darren Tucker <dtucker@zip.com.au> | 2008-06-09 06:17:53 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2008-06-09 06:17:53 +1000 |
commit | 77001384cc067a4613dd6d7a07b9a786f7d7f1bb (patch) | |
tree | 5f1eb47742ba656c70a291af95f442539e99d104 /configure.ac | |
parent | 598eaa6c0c36c3169963c7e6505d53b4073590f5 (diff) |
- (dtucker) [configure.ac defines.h sftp-client.c M sftp-server.c] Add a
macro to convert fsid to unsigned long for platforms where fsid is a
2-member array.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 4f3ec2a20..9f39b2333 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.401 2008/06/08 17:32:29 dtucker Exp $ | 1 | # $Id: configure.ac,v 1.402 2008/06/08 20:17:53 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 | ||
17 | AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) | 17 | AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) |
18 | AC_REVISION($Revision: 1.401 $) | 18 | AC_REVISION($Revision: 1.402 $) |
19 | AC_CONFIG_SRCDIR([ssh.c]) | 19 | AC_CONFIG_SRCDIR([ssh.c]) |
20 | 20 | ||
21 | AC_CONFIG_HEADER(config.h) | 21 | AC_CONFIG_HEADER(config.h) |
@@ -3026,6 +3026,16 @@ if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then | |||
3026 | file descriptor passing]) | 3026 | file descriptor passing]) |
3027 | fi | 3027 | fi |
3028 | 3028 | ||
3029 | AC_MSG_CHECKING(if f_fsid has val members) | ||
3030 | AC_TRY_COMPILE([ | ||
3031 | #include <sys/types.h> | ||
3032 | #include <sys/statvfs.h>], | ||
3033 | [struct fsid_t t; t.val[0] = 0;], | ||
3034 | [ AC_MSG_RESULT(yes) | ||
3035 | AC_DEFINE(FSID_HAS_VAL, 1, f_fsid has members) ], | ||
3036 | [ AC_MSG_RESULT(no) ] | ||
3037 | ) | ||
3038 | |||
3029 | AC_CACHE_CHECK([for msg_control field in struct msghdr], | 3039 | AC_CACHE_CHECK([for msg_control field in struct msghdr], |
3030 | ac_cv_have_control_in_msghdr, [ | 3040 | ac_cv_have_control_in_msghdr, [ |
3031 | AC_COMPILE_IFELSE( | 3041 | AC_COMPILE_IFELSE( |