]> sourceware.org Git - newlib-cygwin.git/blob - winsup/cygserver/configure.in
* cygserver.cc (print_usage): Align output to utilities in utils
[newlib-cygwin.git] / winsup / cygserver / configure.in
1 dnl Autoconf configure script for Cygwin.
2 dnl Copyright 2003 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)dnl
13 AC_INIT(cygserver.cc)
14
15 AC_CONFIG_AUX_DIR(../..)
16
17 INSTALL=`cd $srcdir/../..; echo $(pwd)/install-sh -c`
18
19 AC_PROG_INSTALL
20 AC_CANONICAL_SYSTEM
21
22 LIB_AC_PROG_CC
23 LIB_AC_PROG_CXX
24
25 case "$with_cross_host" in
26 ""|*cygwin*)
27 all_host="all_host"
28 install_host="install_host"
29 ;;
30 *)
31 all_host=
32 install_host=
33 ;;
34 esac
35
36 AC_SUBST(all_host)
37 AC_SUBST(install_host)
38
39 AC_CHECK_TOOL(AR, ar, ar)
40 AC_CHECK_TOOL(AS, as, as)
41 AC_CHECK_TOOL(RANLIB, ranlib, ranlib)
42 AC_CHECK_TOOL(LD, ld, ld)
43 AC_CHECK_TOOL(NM, nm, nm)
44 AC_CHECK_TOOL(DLLTOOL, dlltool, dlltool)
45 AC_CHECK_TOOL(WINDRES, windres, windres)
46
47 AC_PROG_MAKE_SET
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_OUTPUT(Makefile)
This page took 0.06157 seconds and 5 git commands to generate.