]> sourceware.org Git - newlib-cygwin.git/blob - winsup/cygserver/configure.ac
Cygwin: Drop do-nothing install_host target
[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 AC_LANG(C++)
27
28 AC_CYGWIN_INCLUDES
29
30 case "$with_cross_host" in
31 ""|*cygwin*)
32 all_host="all_host"
33 ;;
34 *)
35 all_host=
36 ;;
37 esac
38
39 AC_SUBST(all_host)
40
41 AC_CHECK_TOOL(AR, ar, ar)
42 AC_CHECK_TOOL(AS, as, as)
43 AC_CHECK_TOOL(RANLIB, ranlib, ranlib)
44 AC_CHECK_TOOL(LD, ld, ld)
45 AC_CHECK_TOOL(NM, nm, nm)
46 AC_CHECK_TOOL(DLLTOOL, dlltool, dlltool)
47 AC_CHECK_TOOL(WINDRES, windres, windres)
48
49 AC_ARG_ENABLE(debugging,
50 [ --enable-debugging Build a cygwin DLL which has more consistency checking for debugging],
51 [case "${enableval}" in
52 yes) AC_DEFINE(DEBUGGING) ;;
53 no) ;;
54 esac
55 ])
56
57 AC_CONFIGURE_ARGS
58 AC_CONFIG_FILES([Makefile])
59 AC_OUTPUT
This page took 0.03835 seconds and 5 git commands to generate.