diff options
author | Darren Tucker <dtucker@zip.com.au> | 2013-06-03 01:59:13 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2013-06-03 01:59:13 +1000 |
commit | ef4901c3eb98c7ab1342c3cd8f2638da1f4b0678 (patch) | |
tree | 4ce36ffb13a2af8c0551983585d2300a5631d684 /configure.ac | |
parent | 073f795bc1c7728c320e5982c0d417376b0907f5 (diff) |
- (dtucker) [configure.ac] sys/un.h needs sys/socket.h on some platforms
to prevent noise from configure. Patch from Nathan Osman.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 1b64d11ae..135242721 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.528 2013/06/01 22:18:32 dtucker Exp $ | 1 | # $Id: configure.ac,v 1.529 2013/06/02 15:59:13 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.528 $) | 18 | AC_REVISION($Revision: 1.529 $) |
19 | AC_CONFIG_SRCDIR([ssh.c]) | 19 | AC_CONFIG_SRCDIR([ssh.c]) |
20 | AC_LANG([C]) | 20 | AC_LANG([C]) |
21 | 21 | ||
@@ -348,7 +348,6 @@ AC_CHECK_HEADERS([ \ | |||
348 | sys/sysmacros.h \ | 348 | sys/sysmacros.h \ |
349 | sys/time.h \ | 349 | sys/time.h \ |
350 | sys/timers.h \ | 350 | sys/timers.h \ |
351 | sys/un.h \ | ||
352 | time.h \ | 351 | time.h \ |
353 | tmpdir.h \ | 352 | tmpdir.h \ |
354 | ttyent.h \ | 353 | ttyent.h \ |
@@ -386,6 +385,11 @@ AC_CHECK_HEADERS([sys/mount.h], [], [], [ | |||
386 | #include <sys/param.h> | 385 | #include <sys/param.h> |
387 | ]) | 386 | ]) |
388 | 387 | ||
388 | # Android requires sys/socket.h to be included before sys/un.h | ||
389 | AC_CHECK_HEADERS([sys/un.h], [], [], [ | ||
390 | #include <sys/socket.h> | ||
391 | ]) | ||
392 | |||
389 | # Messages for features tested for in target-specific section | 393 | # Messages for features tested for in target-specific section |
390 | SIA_MSG="no" | 394 | SIA_MSG="no" |
391 | SPC_MSG="no" | 395 | SPC_MSG="no" |