diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | acconfig.h | 5 | ||||
-rw-r--r-- | configure.ac | 18 |
3 files changed, 26 insertions, 3 deletions
@@ -1,3 +1,7 @@ | |||
1 | 20020407 | ||
2 | - (stevesk) HAVE_CONTROL_IN_MSGHDR; not used right now. | ||
3 | Future: we may want to test if fd passing works correctly. | ||
4 | |||
1 | 20020406 | 5 | 20020406 |
2 | - (djm) Typo in Suse SPEC file. Fix from Carsten Grohmann | 6 | - (djm) Typo in Suse SPEC file. Fix from Carsten Grohmann |
3 | <carsten.grohmann@dr-baldeweg.de> | 7 | <carsten.grohmann@dr-baldeweg.de> |
@@ -8187,4 +8191,4 @@ | |||
8187 | - Wrote replacements for strlcpy and mkdtemp | 8191 | - Wrote replacements for strlcpy and mkdtemp |
8188 | - Released 1.0pre1 | 8192 | - Released 1.0pre1 |
8189 | 8193 | ||
8190 | $Id: ChangeLog,v 1.2033 2002/04/06 23:52:02 mouring Exp $ | 8194 | $Id: ChangeLog,v 1.2034 2002/04/07 16:18:03 stevesk Exp $ |
diff --git a/acconfig.h b/acconfig.h index 00fdfac63..7c5c1605d 100644 --- a/acconfig.h +++ b/acconfig.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: acconfig.h,v 1.127 2002/04/06 23:52:04 mouring Exp $ */ | 1 | /* $Id: acconfig.h,v 1.128 2002/04/07 16:18:04 stevesk Exp $ */ |
2 | 2 | ||
3 | #ifndef _CONFIG_H | 3 | #ifndef _CONFIG_H |
4 | #define _CONFIG_H | 4 | #define _CONFIG_H |
@@ -34,6 +34,9 @@ | |||
34 | /* Define if your system uses access rights style file descriptor passing */ | 34 | /* Define if your system uses access rights style file descriptor passing */ |
35 | #undef HAVE_ACCRIGHTS_IN_MSGHDR | 35 | #undef HAVE_ACCRIGHTS_IN_MSGHDR |
36 | 36 | ||
37 | /* Define if your system uses ancillary data style file descriptor passing */ | ||
38 | #undef HAVE_CONTROL_IN_MSGHDR | ||
39 | |||
37 | /* Define if you system's inet_ntoa is busted (e.g. Irix gcc issue) */ | 40 | /* Define if you system's inet_ntoa is busted (e.g. Irix gcc issue) */ |
38 | #undef BROKEN_INET_NTOA | 41 | #undef BROKEN_INET_NTOA |
39 | 42 | ||
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); ], |