]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
[configure.ac] add <sys/types.h> to msghdr tests.
authorTim Rice <tim@multitalents.net>
Fri, 12 Apr 2002 17:26:21 +0000 (10:26 -0700)
committerTim Rice <tim@multitalents.net>
Fri, 12 Apr 2002 17:26:21 +0000 (10:26 -0700)
Change -L to -h on testing for /bin being symbolic link

ChangeLog
configure.ac

index 93f07ab50247b0aafc79217505a10735a4c2ad7c..17f54b37975e6c4526edb63379bb0acf4895a773 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 20020412
  - (stevesk) [auth-sia.[ch]] add BSD license from Chris Adams
+ - (tim) [configure.ac] add <sys/types.h> to msghdr tests. Change -L
+   to -h on testing for /bin being symbolic link
 
 20020411
  - (stevesk) [auth-sia.c] cleanup
  - Wrote replacements for strlcpy and mkdtemp
  - Released 1.0pre1
 
-$Id: ChangeLog,v 1.2047 2002/04/12 15:36:07 stevesk Exp $
+$Id: ChangeLog,v 1.2048 2002/04/12 17:26:21 tim Exp $
index ce4e29586d6bee1b4966aa66b58da3ae7a5c946e..c0cce4bdd12328932a7b78061c0151adbbcb58b8 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: configure.ac,v 1.42 2002/04/10 23:17:05 stevesk Exp $
+# $Id: configure.ac,v 1.43 2002/04/12 17:26:23 tim Exp $
 
 AC_INIT
 AC_CONFIG_SRCDIR([ssh.c])
@@ -1015,7 +1015,7 @@ AC_DEFINE_UNQUOTED(SSH_PRIVSEP_USER, "$ssh_privsep_user")
 
 OPATH=$PATH
 PATH=/bin:/usr/bin
-/bin/test -L /bin 2> /dev/null && PATH=/usr/bin
+test -h /bin 2> /dev/null && PATH=/usr/bin
 test -d /sbin && PATH=$PATH:/sbin
 test -d /usr/sbin && PATH=$PATH:/usr/sbin
 PATH=$PATH:/etc:$OPATH
@@ -1580,6 +1580,7 @@ AC_CACHE_CHECK([for msg_accrights field in struct msghdr],
                ac_cv_have_accrights_in_msghdr, [
        AC_TRY_COMPILE(
                [
+#include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/uio.h>
                ],
@@ -1596,6 +1597,7 @@ AC_CACHE_CHECK([for msg_control field in struct msghdr],
                ac_cv_have_control_in_msghdr, [
        AC_TRY_COMPILE(
                [
+#include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/uio.h>
                ],