trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r884383 - in /incubator/trafficserver/traffic/trunk: configure.ac libinktomi++/ink_stack_trace.cc
Date Thu, 26 Nov 2009 02:53:42 GMT
Author: pquerna
Date: Thu Nov 26 02:53:42 2009
New Revision: 884383

URL: http://svn.apache.org/viewvc?rev=884383&view=rev
Log:
TS-2: Improve check for execinfo.h, it can sometimes be available on osx/freebsd.

Modified:
    incubator/trafficserver/traffic/trunk/configure.ac
    incubator/trafficserver/traffic/trunk/libinktomi++/ink_stack_trace.cc

Modified: incubator/trafficserver/traffic/trunk/configure.ac
URL: http://svn.apache.org/viewvc/incubator/trafficserver/traffic/trunk/configure.ac?rev=884383&r1=884382&r2=884383&view=diff
==============================================================================
--- incubator/trafficserver/traffic/trunk/configure.ac (original)
+++ incubator/trafficserver/traffic/trunk/configure.ac Thu Nov 26 02:53:42 2009
@@ -440,9 +440,7 @@
 # -----------------------------------------------------------------------------
 # 5. CHECK FOR HEADER FILES
 
-AC_CHECK_HEADER([execinfo.h],[],[])
-
-AC_CHECK_HEADERS([sys/epoll.h sys/event.h machine/endian.h endian.h sys/sysinfo.h sys/sysctl.h
sys/systeminfo.h netinet/ip.h sys/ioctl.h sys/byteorder.h sys/sockio.h sys/sysctl.h sys/sysinfo.h
sys/systeminfo.h arpa/nameser_compat.h db_185.h db.h], [], [])
+AC_CHECK_HEADERS([sys/epoll.h sys/event.h machine/endian.h endian.h sys/sysinfo.h sys/sysctl.h
sys/systeminfo.h netinet/ip.h sys/ioctl.h sys/byteorder.h sys/sockio.h sys/sysctl.h sys/sysinfo.h
sys/systeminfo.h arpa/nameser_compat.h db_185.h db.h execinfo.h], [], [])
 
 #
 # use modular IOCORE 

Modified: incubator/trafficserver/traffic/trunk/libinktomi++/ink_stack_trace.cc
URL: http://svn.apache.org/viewvc/incubator/trafficserver/traffic/trunk/libinktomi%2B%2B/ink_stack_trace.cc?rev=884383&r1=884382&r2=884383&view=diff
==============================================================================
--- incubator/trafficserver/traffic/trunk/libinktomi++/ink_stack_trace.cc (original)
+++ incubator/trafficserver/traffic/trunk/libinktomi++/ink_stack_trace.cc Thu Nov 26 02:53:42
2009
@@ -28,7 +28,8 @@
 #include "inktomi++.h"
 #include "ink_stack_trace.h"
 
-#if (HOST_OS == linux)
+#ifdef HAVE_EXECINFO_H
+
 #include <execinfo.h>           /* for backtrace_symbols, etc. */
 #include <signal.h>
 struct sigframe



Mime
View raw message