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