]> sourceware.org Git - newlib-cygwin.git/blob - winsup/configure.ac
Rename without-mingw-progs to with-cross-bootstrap
[newlib-cygwin.git] / winsup / configure.ac
1 dnl Autoconf configure script for Cygwin.
2 dnl Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2006, 2009, 2010,
3 dnl 2011, 2012, 2013, 2014 Red Hat, Inc.
4 dnl
5 dnl This file is part of Cygwin.
6 dnl
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
9 dnl details.
10 dnl
11 dnl Process this file with autoconf to produce a configure script.
12
13 AC_PREREQ([2.59])
14 AC_INIT([Cygwin toplevel],[0],[cygwin@cygwin.com],[cygwin],[https://cygwin.com])
15 AC_CONFIG_SRCDIR(Makefile.in)
16 AC_CONFIG_AUX_DIR(..)
17
18 . ${srcdir}/configure.cygwin
19
20 AC_PROG_INSTALL
21 AC_NO_EXECUTABLES
22 AC_CANONICAL_TARGET
23
24 AC_PROG_CC
25 AC_PROG_CXX
26 AC_PROG_CPP
27 AC_LANG(C)
28 AC_ARG_WITH([cross-bootstrap],[AS_HELP_STRING([--with-cross-bootstrap],[do not build programs using the mingw toolchain or check for mingw libraries (useful for bootstrapping a cross-compiler)])],[],[with_cross_bootstrap=no])
29
30 AC_WINDOWS_HEADERS
31 if test "x$with_cross_bootstrap" != "xyes"; then
32 AC_WINDOWS_LIBS
33 fi
34
35 AC_LANG(C++)
36
37 AC_CYGWIN_INCLUDES
38
39 AC_CONFIG_SUBDIRS(cygwin cygserver doc)
40 if test "x$with_cross_bootstrap" != "xyes"; then
41 AC_CONFIG_SUBDIRS([utils lsaauth])
42 fi
43
44 INSTALL_LICENSE="install-license"
45
46 AC_SUBST(INSTALL_LICENSE)
47
48 AC_PROG_MAKE_SET
49
50 AC_CONFIG_FILES([Makefile])
51 AC_OUTPUT
This page took 0.03456 seconds and 5 git commands to generate.