[Xapian-tickets] [Xapian] #612: TCL_INC not specifyable in xapian-bindings
Xapian
nobody at xapian.org
Wed Jan 30 22:21:27 GMT 2013
#612: TCL_INC not specifyable in xapian-bindings
-----------------------------------+----------------------------------------
Reporter: dmichelsen | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Xapian-bindings (Tcl) | Version: 1.2.13
Severity: blocker | Keywords:
Blockedby: | Platform: Solaris
Blocking: |
-----------------------------------+----------------------------------------
The value of `TCL_INC` is hardcoded in configure.ac in the xapian-
bindings:
{{{
dnl There's no obvious way to get "/usr/include/tcl8.N" directly, so
dnl first we find the prefix Tcl is installed under (e.g. "/usr")
from
dnl the path on TCLSH (or default to /usr if the path doesn't
contain
dnl "/bin/"), and then we add "/include/tcl" and $tcl_version.
tcl_prefix=`echo "$TCLSH"|sed 's!/bin/.*!!p;d'`
test -n "$tcl_prefix" || tcl_prefix=/usr
TCL_INC=${tcl_prefix}/include/tcl${tcl_version}
}}}
As `tcl.h` may be anywhere (like `$prefix/include/tcl.h`) it should be
possible to specify its value in the same way as `LUA_INC`.
--
Ticket URL: <http://trac.xapian.org/ticket/612>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list