OSDN Git Service

Adjust repository version following WSL-5.2.2 release.
[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-2017, 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],[__VERSION__],[__BUG_REPORT_URL__],[mingwrt])
33
34   MINGW_AC_ENUMERATE_DLLVERSION_SPECS
35
36   AC_PREFIX_DEFAULT([/mingw])
37   AC_CONFIG_SRCDIR([include/_mingw.h.in])
38   MINGW_AC_CONFIG_EXTRA_SRCDIR([w32api],[include/w32api.h.in])
39   MINGW_AC_PROG_CC_COMPILE_ONLY
40   MINGW_AC_PROG_COMPILE_SX
41
42   AC_CHECK_TOOL([AS],[as],[as])
43   AC_CHECK_TOOL([WINDRES],[windres],[windres])
44   AC_CHECK_TOOL([DLLTOOL],[dlltool],[dlltool])
45   AC_CHECK_TOOL([STRIP],[strip],[strip])
46   AC_CHECK_TOOL([NM],[nm],[nm])
47
48   AC_CHECK_TOOL([AR],[ar],[ar])
49   AC_ARG_VAR([ARFLAGS],[ar mode flags for creation of archive libraries [rcs]])
50   AC_SUBST([ARFLAGS],[${ARFLAGS-"rcs"}])
51   AC_PROG_RANLIB
52
53   AC_PROG_INSTALL
54   AC_PROG_MKDIR_P
55   AC_PROG_LN_S
56
57   AC_CONFIG_TESTDIR([tests])
58   AC_CONFIG_FILES([tests/testsuite.at.tmp:tests/testsuite.at.in])
59   AC_CHECK_PROG([AUTOTEST_COMPILE],[autom4te],[command],[missing])
60   AC_CONFIG_FILES([tests/atlocal tests/Makefile])
61   AC_PROG_CXX
62
63   MINGW_AC_MAKE_COMMAND_GOALS
64   AC_CONFIG_FILES([Makefile])
65   AC_OUTPUT
66 #
67 # $RCSfile$: end of file