[tor-commits] [tlsdate/debian-master] Check for <sys/socket.h> in configure.

ioerror at torproject.org ioerror at torproject.org
Thu Oct 31 10:25:56 UTC 2013


commit e707c0112e548e002db7f827a0c1686d8d97a868
Author: Taylor R Campbell <campbell at mumble.net>
Date:   Thu Apr 18 00:06:19 2013 +0000

    Check for <sys/socket.h> in configure.
    
    Avoids redefinition of SHUT_* constants in config.h fragment provided
    by AX_PLATFORM.
---
 configure.ac |    1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index d1649da..7f9a926 100644
--- a/configure.ac
+++ b/configure.ac
@@ -136,6 +136,7 @@ AC_CHECK_HEADERS([stdint.h], ,[AC_MSG_ERROR([Required headers missing; compilati
 AC_CHECK_HEADERS([stdio.h], ,[AC_MSG_ERROR([Required headers missing; compilation will not succeed])])
 AC_CHECK_HEADERS([stdlib.h], ,[AC_MSG_ERROR([Required headers missing; compilation will not succeed])])
 AC_CHECK_HEADERS([sys/mman.h], ,[AC_MSG_ERROR([Required headers missing; compilation will not succeed])])
+AC_CHECK_HEADERS([sys/socket.h], ,[AC_MSG_ERROR([Required headers missing; compilation will not succeed])])
 AC_CHECK_HEADERS([sys/time.h], ,[AC_MSG_ERROR([Required headers missing; compilation will not succeed])])
 AC_CHECK_HEADERS([sys/types.h], ,[AC_MSG_ERROR([Required headers missing; compilation will not succeed])])
 AC_CHECK_HEADERS([sys/wait.h], ,[AC_MSG_ERROR([Required headers missing; compilation will not succeed])])





More information about the tor-commits mailing list