1#!/bin/bash -norc
2dnl	This file is an input file used by the GNU "autoconf" program to
3dnl	generate the file "configure", which is run during [incr Tcl]
4dnl installation to configure the system for the local environment.
5#
6# RCS: $Id: configure.in,v 1.14 2010/08/17 01:20:48 hobbs Exp $
7
8builtin(include,tclconfig/tcl.m4)
9
10#-----------------------------------------------------------------------
11# We need to do some TEA stuff here to handle --prefix correctly
12# in this toplevel configure file.  autoconf is broken in multiple
13# ways.  It passes --prefix, but not --exec-prefix to configure
14# subdirs.  This would not be a problem if it properly passed
15# whether --prefix was set, but this is not true with ac2.57.
16#-----------------------------------------------------------------------
17
18AC_INIT([itcl-master], [3.4])
19
20TEA_INIT([3.9])
21
22AC_CONFIG_AUX_DIR(tclconfig)
23
24TEA_PATH_TCLCONFIG
25TEA_LOAD_TCLCONFIG
26
27TEA_PREFIX
28
29AC_CONFIG_SUBDIRS([itcl itk])
30
31AC_OUTPUT([Makefile], [chmod +x ${srcdir}/tclconfig/install-sh])
32