OSDN Git Service

Revert part of Mon Jun 5 18:48:32 2000 Christopher Faylor
[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*)
15         CONFIGDIR="win"
16         AC_SUBST(CONFIGDIR)
17         CONFIGDIR2="cygwin"
18         AC_SUBST(CONFIGDIR2)
19         ;;
20 *-*-mingw32*)
21         CONFIGDIR="win"
22         AC_SUBST(CONFIGDIR)
23         ;;
24 *)
25         CONFIGDIR="unix"
26         AC_SUBST(CONFIGDIR)
27         AC_CONFIG_AUX_DIR($CONFIGDIR)   
28         ;;
29 esac
30
31 AC_PROG_MAKE_SET
32 AC_CONFIG_SUBDIRS($CONFIGDIR $CONFIGDIR2)
33 AC_OUTPUT(Makefile)