1dnl $Id: configure.in,v 1.2 2000/11/03 00:43:33 idiscovery Exp $
2dnl	This file is an input file used by the GNU "autoconf" program to
3dnl	generate the file "configure", which is run to configure the
4dnl	Makefile in this directory.
5
6AC_INIT(../generic/tixInit.c)
7
8AC_PROG_INSTALL
9AC_PROG_MAKE_SET
10AC_SUBST(SHELL)
11
12#----------------------------------------------------------------------
13# We don't want to use any relative path because we need to generate
14# Makefile's in subdirectories
15#----------------------------------------------------------------------
16if test "$INSTALL" = "./install.sh"; then
17    INSTALL=`pwd`/install.sh
18fi
19SRC_DIR=`cd ${srcdir}/..; pwd`
20AC_SUBST(SRC_DIR)
21
22# Check for Tcl and Tk.
23CYG_AC_PATH_TCLCONFIG
24CYG_AC_LOAD_TCLCONFIG
25CYG_AC_PATH_TKCONFIG
26CYG_AC_LOAD_TKCONFIG
27CYG_AC_PATH_TCLH
28# FIXME: consider only doing this if --with-x given.
29CYG_AC_PATH_TKH
30
31TIX_VERSION=8.1
32AC_SUBST(TIX_VERSION)
33AC_SUBST(TCL_PACKAGE_PATH)
34
35AC_OUTPUT(Makefile)
36