OSDN Git Service

3bc73a48d496c6b3f4663ae345a3ecfe0b17786a
[mingw/mingw-org-wsl.git] / mingwrt / configure.ac
1 # configure.ac -*- Autoconf -*- vim: filetype=config
2 #
3 # Process this file with autoconf, to create a configure script for
4 # the MinGW.org Runtime Library package.
5 #
6 # $Id$
7 #
8 # Written by Keith Marshall <keithmarshall@users.sourceforge.net>
9 # Copyright (C) 2014-2016, MinGW.org Project
10 #
11 #
12 # Permission is hereby granted, free of charge, to any person obtaining a
13 # copy of this software and associated documentation files (the "Software"),
14 # to deal in the Software without restriction, including without limitation
15 # the rights to use, copy, modify, merge, publish, distribute, sublicense,
16 # and/or sell copies of the Software, and to permit persons to whom the
17 # Software is furnished to do so, subject to the following conditions:
18
19 # The above copyright notice and this permission notice (including the next
20 # paragraph) shall be included in all copies or substantial portions of the
21 # Software.
22
23 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
24 # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
26 # AUTHORS OR THE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
28 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
29 # DEALINGS IN THE SOFTWARE.
30 #
31   AC_PREREQ([2.64])
32   AC_INIT([MinGW C Runtime],[3.21.2],[http://mingw.org/Reporting_Bugs],[mingwrt])
33
34   AC_PREFIX_DEFAULT([/mingw])
35   AC_CONFIG_SRCDIR([include/_mingw.h.in])
36   MINGW_AC_CONFIG_EXTRA_SRCDIR([w32api],[include/w32api.h.in])
37   MINGW_AC_PROG_CC_COMPILE_ONLY
38   MINGW_AC_PROG_COMPILE_SX
39
40   AC_CHECK_TOOL([AS],[as],[as])
41   AC_CHECK_TOOL([WINDRES],[windres],[windres])
42   AC_CHECK_TOOL([DLLTOOL],[dlltool],[dlltool])
43   AC_CHECK_TOOL([STRIP],[strip],[strip])
44   AC_CHECK_TOOL([NM],[nm],[nm])
45
46   AC_CHECK_TOOL([AR],[ar],[ar])
47   AC_ARG_VAR([ARFLAGS],[ar mode flags for creation of archive libraries [rcs]])
48   AC_SUBST([ARFLAGS],[${ARFLAGS-"rcs"}])
49   AC_PROG_RANLIB
50
51   AC_PROG_INSTALL
52   AC_PROG_MKDIR_P
53
54   MINGW_AC_MAKE_COMMAND_GOALS
55   AC_CONFIG_FILES([Makefile])
56   AC_OUTPUT
57 #
58 # $RCSfile$: end of file