]> sourceware.org Git - newlib-cygwin.git/blob - winsup/cygserver/configure.ac
Cygwin: Remove AC_PROG_MAKE_SET
[newlib-cygwin.git] / winsup / cygserver / configure.ac
1 dnl Autoconf configure script for Cygserver.
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 Cygserver],[0],[cygwin@cygwin.com],[cygwin],[https://cygwin.com])
13 AC_CONFIG_SRCDIR(cygserver.cc)
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
27 AC_WINDOWS_HEADERS
28 if test "x$with_cross_bootstrap" != "xyes"; then
29 AC_WINDOWS_LIBS
30 fi
31
32 AC_LANG(C++)
33
34 AC_CYGWIN_INCLUDES
35
36 case "$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 ;;
45 esac
46
47 AC_SUBST(all_host)
48 AC_SUBST(install_host)
49
50 AC_CHECK_TOOL(AR, ar, ar)
51 AC_CHECK_TOOL(AS, as, as)
52 AC_CHECK_TOOL(RANLIB, ranlib, ranlib)
53 AC_CHECK_TOOL(LD, ld, ld)
54 AC_CHECK_TOOL(NM, nm, nm)
55 AC_CHECK_TOOL(DLLTOOL, dlltool, dlltool)
56 AC_CHECK_TOOL(WINDRES, windres, windres)
57
58 AC_ARG_ENABLE(debugging,
59 [ --enable-debugging Build a cygwin DLL which has more consistency checking for debugging],
60 [case "${enableval}" in
61 yes) AC_DEFINE(DEBUGGING) ;;
62 no) ;;
63 esac
64 ])
65
66 AC_CONFIGURE_ARGS
67 AC_CONFIG_FILES([Makefile])
68 AC_OUTPUT
This page took 0.037001 seconds and 5 git commands to generate.