1 dnl Autoconf configure script for Cygwin.
2 dnl Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2006,
5 dnl This file is part of Cygwin.
7 dnl This software is a copyrighted work licensed under the terms of the
8 dnl Cygwin license. Please consult the file "CYGWIN_LICENSE" for
11 dnl Process this file with autoconf to produce a configure script.
16 INSTALL=`cd $srcdir/..; echo $(pwd)/install-sh -c`
32 if ! test -d $srcdir/cygwin; then
33 AC_MSG_ERROR("No cygwin dir. Can't build Cygwin. Exiting...")
35 AC_CONFIG_SUBDIRS(cygwin)
36 INSTALL_LICENSE="install-license"
39 if ! test -d $srcdir/mingw; then
40 AC_MSG_ERROR("No mingw dir. Can't build Mingw. Exiting...")
45 if test -d $srcdir/mingw; then
46 AC_CONFIG_SUBDIRS(mingw)
48 AC_CONFIG_SUBDIRS(w32api cygserver)
50 case "$with_cross_host" in
52 # if test -d $srcdir/bz2lib; then
53 # AC_CONFIG_SUBDIRS(bz2lib)
55 # if test -d $srcdir/zlib; then
56 # AC_CONFIG_SUBDIRS(zlib)
58 if test -d $srcdir/lsaauth; then
59 AC_CONFIG_SUBDIRS(lsaauth)
61 AC_CONFIG_SUBDIRS(utils doc)
65 AC_SUBST(INSTALL_LICENSE)