]> sourceware.org Git - newlib-cygwin.git/blob - winsup/cygserver/configure.ac
Rename without-mingw-progs to with-cross-bootstrap
[newlib-cygwin.git] / winsup / cygserver / configure.ac
1 dnl Autoconf configure script for Cygserver.
2 dnl Copyright 2003, 2012, 2013, 2014 Red Hat, Inc.
3 dnl
4 dnl This file is part of Cygwin.
5 dnl
6 dnl This software is a copyrighted work licensed under the terms of the
7 dnl Cygwin license. Please consult the file "CYGWIN_LICENSE" for
8 dnl details.
9 dnl
10 dnl Process this file with autoconf to produce a configure script.
11
12 AC_PREREQ([2.59])
13 AC_INIT([Cygwin Cygserver],[0],[cygwin@cygwin.com],[cygwin],[https://cygwin.com])
14 AC_CONFIG_SRCDIR(cygserver.cc)
15 AC_CONFIG_AUX_DIR(..)
16
17 . ${srcdir}/../configure.cygwin
18
19 AC_PROG_INSTALL
20 AC_NO_EXECUTABLES
21 AC_CANONICAL_TARGET
22
23 AC_PROG_CC
24 AC_PROG_CXX
25 AC_PROG_CPP
26 AC_LANG(C)
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 case "$with_cross_host" in
38 ""|*cygwin*)
39 all_host="all_host"
40 install_host="install_host"
41 ;;
42 *)
43 all_host=
44 install_host=
45 ;;
46 esac
47
48 AC_SUBST(all_host)
49 AC_SUBST(install_host)
50
51 AC_CHECK_TOOL(AR, ar, ar)
52 AC_CHECK_TOOL(AS, as, as)
53 AC_CHECK_TOOL(RANLIB, ranlib, ranlib)
54 AC_CHECK_TOOL(LD, ld, ld)
55 AC_CHECK_TOOL(NM, nm, nm)
56 AC_CHECK_TOOL(DLLTOOL, dlltool, dlltool)
57 AC_CHECK_TOOL(WINDRES, windres, windres)
58
59 AC_PROG_MAKE_SET
60
61 AC_ARG_ENABLE(debugging,
62 [ --enable-debugging Build a cygwin DLL which has more consistency checking for debugging],
63 [case "${enableval}" in
64 yes) AC_DEFINE(DEBUGGING) ;;
65 no) ;;
66 esac
67 ])
68
69 AC_CONFIGURE_ARGS
70 AC_CONFIG_FILES([Makefile])
71 AC_OUTPUT
This page took 0.041834 seconds and 5 git commands to generate.