]>
Commit | Line | Data |
---|---|---|
7e46c0af | 1 | dnl Autoconf configure script for Cygserver. |
c57452c8 CF |
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 | ||
e7e61192 | 11 | AC_PREREQ([2.59]) |
6436024c | 12 | AC_INIT([Cygwin Cygserver],[0],[cygwin@cygwin.com],[cygwin],[https://cygwin.com]) |
7e46c0af | 13 | AC_CONFIG_SRCDIR(cygserver.cc) |
4c36016b | 14 | AC_CONFIG_AUX_DIR(..) |
c57452c8 | 15 | |
4c36016b | 16 | . ${srcdir}/../configure.cygwin |
99fc5e10 | 17 | |
c57452c8 | 18 | AC_PROG_INSTALL |
4c36016b | 19 | AC_NO_EXECUTABLES |
6436024c | 20 | AC_CANONICAL_TARGET |
c57452c8 | 21 | |
4c36016b CF |
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 | |
c57452c8 CF |
29 | |
30 | case "$with_cross_host" in | |
31 | ""|*cygwin*) | |
32 | all_host="all_host" | |
c57452c8 CF |
33 | ;; |
34 | *) | |
35 | all_host= | |
c57452c8 CF |
36 | ;; |
37 | esac | |
38 | ||
39 | AC_SUBST(all_host) | |
c57452c8 CF |
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 | ||
c57452c8 CF |
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 | ||
4c36016b | 57 | AC_CONFIGURE_ARGS |
e7e61192 PF |
58 | AC_CONFIG_FILES([Makefile]) |
59 | AC_OUTPUT |