]>
Commit | Line | Data |
---|---|---|
1fd5e000 | 1 | dnl Autoconf configure script for Cygwin. |
1fd5e000 CF |
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 | ||
cf41355a PF |
11 | AC_PREREQ([2.59]) |
12 | AC_INIT([Cygwin toplevel],[0],[cygwin@cygwin.com],[cygwin],[https://cygwin.com]) | |
8e0b17fb | 13 | AC_CONFIG_SRCDIR(Makefile.in) |
4c36016b | 14 | AC_CONFIG_AUX_DIR(..) |
1fd5e000 | 15 | |
4c36016b CF |
16 | . ${srcdir}/configure.cygwin |
17 | ||
95dc8840 | 18 | AC_PROG_INSTALL |
4c36016b | 19 | AC_NO_EXECUTABLES |
cf41355a | 20 | AC_CANONICAL_TARGET |
1fd5e000 | 21 | |
4c36016b CF |
22 | AC_PROG_CC |
23 | AC_PROG_CXX | |
24 | AC_PROG_CPP | |
25 | AC_LANG(C) | |
e7e61192 | 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]) |
2a6d6db8 CF |
27 | |
28 | AC_WINDOWS_HEADERS | |
e7e61192 PF |
29 | if test "x$with_cross_bootstrap" != "xyes"; then |
30 | AC_WINDOWS_LIBS | |
31 | fi | |
2a6d6db8 | 32 | |
4c36016b | 33 | AC_LANG(C++) |
99fc5e10 | 34 | |
4c36016b | 35 | AC_CYGWIN_INCLUDES |
7e5d0e9f | 36 | |
cf41355a | 37 | AC_CONFIG_SUBDIRS(cygwin cygserver doc) |
e7e61192 | 38 | if test "x$with_cross_bootstrap" != "xyes"; then |
2741dd05 | 39 | AC_CONFIG_SUBDIRS([utils]) |
cf41355a PF |
40 | fi |
41 | ||
4c36016b | 42 | INSTALL_LICENSE="install-license" |
2e6d8441 | 43 | |
7e5d0e9f CV |
44 | AC_SUBST(INSTALL_LICENSE) |
45 | ||
1fd5e000 CF |
46 | AC_PROG_MAKE_SET |
47 | ||
cf41355a PF |
48 | AC_CONFIG_FILES([Makefile]) |
49 | AC_OUTPUT |