OSDN Git Service

*** empty log message ***
[pf3gnuchains/sourceware.git] / tcl / configure.in
1 dnl This file is used as input to autoconf to generate configure.
2 dnl The only reason we need this is that the Tcl directory structure
3 dnl changed in 7.5, and this change lets us avoid changing the
4 dnl configuration superstructure.
5 dnl Tom Tromey <tromey@cygnus.com>
6
7 AC_PREREQ(2.5)
8
9 AC_INIT(generic/tcl.h)
10
11 AC_CANONICAL_HOST
12
13 case "${host}" in
14 *cygwin* | *mingw32* | *windows32*)
15         CONFIGDIR="win"
16         AC_CONFIG_SUBDIRS("win")
17         ;;
18 *)
19         CONFIGDIR="unix"
20         AC_CONFIG_SUBDIRS("unix")
21         AC_CONFIG_AUX_DIR("unix")       
22         ;;
23 esac
24
25 case "${host}" in
26 *cygwin*)
27         CONFIGDIR2="cygwin"
28         AC_SUBST(CONFIGDIR2)
29         AC_CONFIG_SUBDIRS("cygwin")
30 esac
31
32 AC_SUBST(CONFIGDIR)
33 AC_PROG_MAKE_SET
34 AC_OUTPUT(Makefile)