trafficserver-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Belmon, Stephane" <sbel...@websense.com>
Subject [patch] Don't assume tcl.h is in /usr/lib
Date Fri, 30 Oct 2009 22:50:04 GMT
And make the checks have some teeth. tcl.h is in /usr/lib/tclx.y on Ubuntu at least. This assumed
TCL >= 8.4, but that's ancient already.

Index: configure.ac
===================================================================
--- configure.ac        (revision 831451)
+++ configure.ac        (working copy)
@@ -376,8 +376,13 @@
 # -----------------------------------------------------------------------------
 # 5. CHECK FOR HEADER FILES
 
-AC_CHECK_HEADER([execinfo.h],[],[])
+AC_CHECK_HEADER([execinfo.h],[],[AC_MSG_FAILURE(Cannot find execinfo.h)])
 
+SC_PATH_TCLCONFIG
+source $TCL_BIN_DIR/tclConfig.sh
+CPPFLAGS="$CPPFLAGS $TCL_INCLUDE_SPEC"
+AC_CHECK_HEADER([tcl.h],[],[AC_MSG_FAILURE(Cannot find tcl.h)])
+
 #
 # use modular IOCORE 
 #

--
Stephane Belmon


 Protected by Websense Hosted Email Security -- www.websense.com 
Mime
View raw message