trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject svn commit: r1215554 - /trafficserver/traffic/trunk/configure.ac
Date Sat, 17 Dec 2011 18:53:55 GMT
Author: zwoop
Date: Sat Dec 17 18:53:55 2011
New Revision: 1215554

URL: http://svn.apache.org/viewvc?rev=1215554&view=rev
Log:
TS-992 Improve detection of available system headers in autoconf.

Author: Piotr Sikora
Review: Leif

Modified:
    trafficserver/traffic/trunk/configure.ac

Modified: trafficserver/traffic/trunk/configure.ac
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/configure.ac?rev=1215554&r1=1215553&r2=1215554&view=diff
==============================================================================
--- trafficserver/traffic/trunk/configure.ac (original)
+++ trafficserver/traffic/trunk/configure.ac Sat Dec 17 18:53:55 2011
@@ -1010,7 +1010,6 @@ TS_FLAG_HEADERS([sys/epoll.h \
                   machine/endian.h \
                   endian.h \
                   sys/sysinfo.h \
-                  sys/sysctl.h \
                   sys/systeminfo.h \
                   netinet/in.h \
                   netinet/in_systm.h \
@@ -1019,7 +1018,6 @@ TS_FLAG_HEADERS([sys/epoll.h \
                   sys/byteorder.h \
                   sys/sockio.h \
 		  sys/prctl.h \
-                  arpa/inet.h \
                   arpa/nameser.h \
                   arpa/nameser_compat.h \
                   execinfo.h \
@@ -1034,7 +1032,6 @@ TS_FLAG_HEADERS([sys/epoll.h \
                   alloca.h \
                   cpio.h \
                   stropts.h \
-                  sys/mount.h \
                   sys/param.h \
                   sys/sysmacros.h \
                   math.h \
@@ -1078,6 +1075,27 @@ AC_SUBST(mathh)
 AC_SUBST(net_ppp_defsh)
 AC_SUBST(ifaddrsh)
 
+TS_FLAG_HEADERS([sys/sysctl.h], [], [],
+                 [[#ifdef HAVE_SYS_PARAM_H
+                    #include <sys/param.h>
+                   #endif
+                 ]])
+
+TS_FLAG_HEADERS([sys/mount.h], [], [],
+                 [[#ifdef HAVE_SYS_PARAM_H
+                    #include <sys/param.h>
+                   #endif
+                 ]])
+
+TS_FLAG_HEADERS([arpa/inet.h], [], [],
+                 [[#ifdef HAVE_SYS_TYPES_H
+                    #include <sys/types.h>
+                   #endif
+                   #ifdef HAVE_NETINET_IN_H
+                    #include <netinet/in.h>
+                   #endif
+                 ]])
+
 TS_FLAG_HEADERS([netinet/ip.h], [], [],
                  [[#ifdef HAVE_SYS_TYPES_H
                     #include <sys/types.h>
@@ -1085,6 +1103,9 @@ TS_FLAG_HEADERS([netinet/ip.h], [], [],
                    #ifdef HAVE_NETINET_IN_H
                     #include <netinet/in.h>
                    #endif
+                   #ifdef HAVE_NETINET_IN_SYSTM_H
+                    #include <netinet/in_systm.h>
+                   #endif
                  ]])
 
 TS_FLAG_HEADERS([netinet/ip_icmp.h], [], [],



Mime
View raw message