diff options
author | Kevin Steves <stevesk@pobox.com> | 2002-04-07 18:18:03 +0200 |
---|---|---|
committer | Kevin Steves <stevesk@pobox.com> | 2002-04-07 18:18:03 +0200 |
commit | a44e0351ee8dd45435bf1c887f1aca4933a205b0 (patch) | |
tree | 47832b2019b052e3f13f52f7ae5f72e28cd1daf1 /configure.ac | |
parent | - (bal) We no longer use atexit()/xatexit()/on_exit() (diff) | |
download | openssh-a44e0351ee8dd45435bf1c887f1aca4933a205b0.tar.xz openssh-a44e0351ee8dd45435bf1c887f1aca4933a205b0.zip |
- (stevesk) HAVE_CONTROL_IN_MSGHDR; not used right now.
Future: we may want to test if fd passing works correctly.
Diffstat (limited to '')
-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 @@ -# $Id: configure.ac,v 1.35 2002/04/06 23:52:04 mouring Exp $ +# $Id: configure.ac,v 1.36 2002/04/07 16:18:04 stevesk Exp $ AC_INIT AC_CONFIG_SRCDIR([ssh.c]) @@ -1582,6 +1582,22 @@ if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then AC_DEFINE(HAVE_ACCRIGHTS_IN_MSGHDR) fi +AC_CACHE_CHECK([for msg_control field in struct msghdr], + ac_cv_have_control_in_msghdr, [ + AC_TRY_COMPILE( + [ +#include <sys/socket.h> +#include <sys/uio.h> + ], + [ struct msghdr m; m.msg_control = 0; ], + [ ac_cv_have_control_in_msghdr="yes" ], + [ ac_cv_have_control_in_msghdr="no" ] + ) +]) +if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then + AC_DEFINE(HAVE_CONTROL_IN_MSGHDR) +fi + AC_CACHE_CHECK([if libc defines __progname], ac_cv_libc_defines___progname, [ AC_TRY_LINK([], [ extern char *__progname; printf("%s", __progname); ], |