dnl IR toolkit for tcl/tk
-dnl (c) Index Data 1996-2001
+dnl (c) Index Data 1996-2004
dnl See the file LICENSE for details.
-dnl $Id: configure.in,v 1.34 2002-08-30 13:01:40 adam Exp $
+dnl $Id: configure.in,v 1.37 2004-05-04 19:42:56 adam Exp $
AC_INIT(ir-tcl.h)
dnl ------ Substitutions
AC_SUBST(CC)
AC_SUBST(IRCLIENT_SHELL)
AC_SUBST(RANLIB)
dnl
-dnl ------ Build root
-AC_SUBST(build_root)
-AC_ARG_WITH(build-root, [ --with-buildroot RPM Build root],[build_root=$withval],[build_root=""])
-dnl
dnl ------ Preliminary settings
AC_PROG_INSTALL
dnl
if test ! -r ${tclconfig}/tclConfig.sh; then
# Not found, try search for Tcl on Debian systems.
for d in /usr/lib/tcl*; do
- if test -d $d; then
+ if test -f $d/tclConfig.sh; then
tclconfig=$d
IRCLIENT_SHELL=/usr/bin/wish
fi