]> sourceware.org Git - newlib-cygwin.git/blob - winsup/configure.ac
131dc79ee9740705305ac54d4dc1d215607ef506
[newlib-cygwin.git] / winsup / configure.ac
1 dnl Autoconf configure script for Cygwin.
2 dnl
3 dnl This file is part of Cygwin.
4 dnl
5 dnl This software is a copyrighted work licensed under the terms of the
6 dnl Cygwin license. Please consult the file "CYGWIN_LICENSE" for
7 dnl details.
8 dnl
9 dnl Process this file with autoconf to produce a configure script.
10
11 AC_PREREQ([2.59])
12 AC_INIT([Cygwin toplevel],[0],[cygwin@cygwin.com],[cygwin],[https://cygwin.com])
13 AC_CONFIG_SRCDIR(Makefile.in)
14 AC_CONFIG_AUX_DIR(..)
15
16 . ${srcdir}/configure.cygwin
17
18 AC_PROG_INSTALL
19 AC_NO_EXECUTABLES
20 AC_CANONICAL_TARGET
21
22 AC_PROG_CC
23 AC_PROG_CXX
24 AC_PROG_CPP
25 AC_LANG(C)
26 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])
27
28 AC_WINDOWS_HEADERS
29 if test "x$with_cross_bootstrap" != "xyes"; then
30 AC_WINDOWS_LIBS
31 fi
32
33 AC_LANG(C++)
34
35 AC_CYGWIN_INCLUDES
36
37 AC_CONFIG_SUBDIRS(cygwin cygserver doc)
38 if test "x$with_cross_bootstrap" != "xyes"; then
39 AC_CONFIG_SUBDIRS([utils])
40 fi
41
42 INSTALL_LICENSE="install-license"
43
44 AC_SUBST(INSTALL_LICENSE)
45
46 AC_PROG_MAKE_SET
47
48 AC_CONFIG_FILES([Makefile])
49 AC_OUTPUT
This page took 0.033313 seconds and 4 git commands to generate.