diff options
author | Kevin Steves <stevesk@pobox.com> | 2002-04-07 16:18:03 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@pobox.com> | 2002-04-07 16:18:03 +0000 |
commit | a44e0351ee8dd45435bf1c887f1aca4933a205b0 (patch) | |
tree | 47832b2019b052e3f13f52f7ae5f72e28cd1daf1 /configure.ac | |
parent | fdee8ef0ac9965aab53c14a4ebf990a8592b9f94 (diff) |
- (stevesk) HAVE_CONTROL_IN_MSGHDR; not used right now.
Future: we may want to test if fd passing works correctly.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index abe9a1a42..0afab0755 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.35 2002/04/06 23:52:04 mouring Exp $ | 1 | # $Id: configure.ac,v 1.36 2002/04/07 16:18:04 stevesk Exp $ |
2 | 2 | ||
3 | AC_INIT | 3 | AC_INIT |
4 | AC_CONFIG_SRCDIR([ssh.c]) | 4 | AC_CONFIG_SRCDIR([ssh.c]) |
@@ -1582,6 +1582,22 @@ if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then | |||
1582 | AC_DEFINE(HAVE_ACCRIGHTS_IN_MSGHDR) | 1582 | AC_DEFINE(HAVE_ACCRIGHTS_IN_MSGHDR) |
1583 | fi | 1583 | fi |
1584 | 1584 | ||
1585 | AC_CACHE_CHECK([for msg_control field in struct msghdr], | ||
1586 | ac_cv_have_control_in_msghdr, [ | ||
1587 | AC_TRY_COMPILE( | ||
1588 | [ | ||
1589 | #include <sys/socket.h> | ||
1590 | #include <sys/uio.h> | ||
1591 | ], | ||
1592 | [ struct msghdr m; m.msg_control = 0; ], | ||
1593 | [ ac_cv_have_control_in_msghdr="yes" ], | ||
1594 | [ ac_cv_have_control_in_msghdr="no" ] | ||
1595 | ) | ||
1596 | ]) | ||
1597 | if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then | ||
1598 | AC_DEFINE(HAVE_CONTROL_IN_MSGHDR) | ||
1599 | fi | ||
1600 | |||
1585 | AC_CACHE_CHECK([if libc defines __progname], ac_cv_libc_defines___progname, [ | 1601 | AC_CACHE_CHECK([if libc defines __progname], ac_cv_libc_defines___progname, [ |
1586 | AC_TRY_LINK([], | 1602 | AC_TRY_LINK([], |
1587 | [ extern char *__progname; printf("%s", __progname); ], | 1603 | [ extern char *__progname; printf("%s", __progname); ], |