]> sourceware.org Git - newlib-cygwin.git/blame - winsup/cygserver/configure.ac
Cygwin: cygserver: build with -Wimplicit-fallthrough=4 -Werror
[newlib-cygwin.git] / winsup / cygserver / configure.ac
CommitLineData
7e46c0af 1dnl Autoconf configure script for Cygserver.
c57452c8
CF
2dnl
3dnl This file is part of Cygwin.
4dnl
5dnl This software is a copyrighted work licensed under the terms of the
6dnl Cygwin license. Please consult the file "CYGWIN_LICENSE" for
7dnl details.
8dnl
9dnl Process this file with autoconf to produce a configure script.
10
e7e61192 11AC_PREREQ([2.59])
6436024c 12AC_INIT([Cygwin Cygserver],[0],[cygwin@cygwin.com],[cygwin],[https://cygwin.com])
7e46c0af 13AC_CONFIG_SRCDIR(cygserver.cc)
4c36016b 14AC_CONFIG_AUX_DIR(..)
c57452c8 15
4c36016b 16. ${srcdir}/../configure.cygwin
99fc5e10 17
c57452c8 18AC_PROG_INSTALL
4c36016b 19AC_NO_EXECUTABLES
6436024c 20AC_CANONICAL_TARGET
c57452c8 21
4c36016b
CF
22AC_PROG_CC
23AC_PROG_CXX
24AC_PROG_CPP
25AC_LANG(C)
2a6d6db8
CF
26
27AC_WINDOWS_HEADERS
e7e61192
PF
28if test "x$with_cross_bootstrap" != "xyes"; then
29 AC_WINDOWS_LIBS
30fi
2a6d6db8 31
4c36016b
CF
32AC_LANG(C++)
33
34AC_CYGWIN_INCLUDES
c57452c8
CF
35
36case "$with_cross_host" in
37 ""|*cygwin*)
38 all_host="all_host"
39 install_host="install_host"
40 ;;
41 *)
42 all_host=
43 install_host=
44 ;;
45esac
46
47AC_SUBST(all_host)
48AC_SUBST(install_host)
49
50AC_CHECK_TOOL(AR, ar, ar)
51AC_CHECK_TOOL(AS, as, as)
52AC_CHECK_TOOL(RANLIB, ranlib, ranlib)
53AC_CHECK_TOOL(LD, ld, ld)
54AC_CHECK_TOOL(NM, nm, nm)
55AC_CHECK_TOOL(DLLTOOL, dlltool, dlltool)
56AC_CHECK_TOOL(WINDRES, windres, windres)
57
c57452c8
CF
58AC_PROG_MAKE_SET
59
c57452c8
CF
60AC_ARG_ENABLE(debugging,
61[ --enable-debugging Build a cygwin DLL which has more consistency checking for debugging],
62[case "${enableval}" in
63yes) AC_DEFINE(DEBUGGING) ;;
64no) ;;
65esac
66])
67
4c36016b 68AC_CONFIGURE_ARGS
e7e61192
PF
69AC_CONFIG_FILES([Makefile])
70AC_OUTPUT
This page took 0.200331 seconds and 5 git commands to generate.