trafficserver-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=884381&view=rev
Log:
TS-2: Use db.h if db_185.h is not available.

Modified:
    incubator/trafficserver/traffic/trunk/configure.ac
    incubator/trafficserver/traffic/trunk/libinktomi++/SimpleDBM.h

Modified: incubator/trafficserver/traffic/trunk/configure.ac
URL: http://svn.apache.org/viewvc/incubator/trafficserver/traffic/trunk/configure.ac?rev=884381&r1=884380&r2=884381&view=diff
==============================================================================
--- incubator/trafficserver/traffic/trunk/configure.ac (original)
+++ incubator/trafficserver/traffic/trunk/configure.ac Thu Nov 26 02:53:30 2009
@@ -439,7 +439,7 @@
 
 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], [], [])
+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], [], [])
 
 #
 # use modular IOCORE 

Modified: incubator/trafficserver/traffic/trunk/libinktomi++/SimpleDBM.h
URL: http://svn.apache.org/viewvc/incubator/trafficserver/traffic/trunk/libinktomi%2B%2B/SimpleDBM.h?rev=884381&r1=884380&r2=884381&view=diff
==============================================================================
--- incubator/trafficserver/traffic/trunk/libinktomi++/SimpleDBM.h (original)
+++ incubator/trafficserver/traffic/trunk/libinktomi++/SimpleDBM.h Thu Nov 26 02:53:30 2009
@@ -46,7 +46,12 @@
 
 extern "C"
 {
-#include "db_185.h"
+#ifdef HAVE_DB_185_H
+#include <db_185.h>
+#endif
+#ifdef HAVE_DB_H
+#include <db.h>
+#endif
 }
 
 #include "ink_platform.h"



Mime
View raw message