OSDN Git Service

2007-06-01 Steve Ellcey <sje@cup.hp.com>
[pf3gnuchains/pf3gnuchains4x.git] / itcl / configure.in
1 dnl     This file is an input file used by the GNU "autoconf" program to
2 dnl     generate the file "configure", which is run during [incr Tcl]
3 dnl     installation to configure the system for the local environment.
4 dnl     RCS: $Id$
5
6 # CYGNUS LOCAL
7 AC_PREREQ(2.5)
8
9 AC_INIT(itcl/generic/itcl.h)
10 AC_CANONICAL_HOST
11
12 # Note, we don't use the files in the config subdirectory!
13 AC_CONFIG_AUX_DIR(..)
14 AC_PROG_MAKE_SET
15 # END CYGNUS LOCAL
16
17 # -----------------------------------------------------------------------
18 #
19 #   Set up a new default --prefix.  If a previous installation of
20 #   [incr Tcl] can be found searching $PATH use that directory.
21 #
22 # -----------------------------------------------------------------------
23
24 AC_PREFIX_DEFAULT(/usr/local)
25 AC_PREFIX_PROGRAM(itclsh)
26
27 AC_CONFIG_SUBDIRS(itcl itk)
28 # Source-Navigator does not use the iwidgets packag
29 if test ! -d ${srcdir}/../snavigator || test -d ${srcdir}/../gdb/gdbtk ; then
30     AC_CONFIG_SUBDIRS(iwidgets)
31 fi
32
33 AC_OUTPUT(Makefile,
34         chmod +x ${srcdir}/config/install-sh ${srcdir}/config/mkinstalldirs)