OSDN Git Service

Rationalise path identification for XML file locations.
[mingw/mingw-get.git] / configure.ac
1 # configure.ac -*- autoconf -*- vim: filetype=config
2 #
3 # $Id$
4 #
5 # Written by Keith Marshall <keithmarshall@users.sourceforge.net>
6 # Copyright (C) 2009, 2010, MinGW Project
7 #
8 #
9 # Configuration script for mingw-get
10 #
11 #
12 # This is free software.  Permission is granted to copy, modify and
13 # redistribute this software, under the provisions of the GNU General
14 # Public License, Version 3, (or, at your option, any later version),
15 # as published by the Free Software Foundation; see the file COPYING
16 # for licensing details.
17 #
18 # Note, in particular, that this software is provided "as is", in the
19 # hope that it may prove useful, but WITHOUT WARRANTY OF ANY KIND; not
20 # even an implied WARRANTY OF MERCHANTABILITY, nor of FITNESS FOR ANY
21 # PARTICULAR PURPOSE.  Under no circumstances will the author, or the
22 # MinGW Project, accept liability for any damages, however caused,
23 # arising from the use of this software.
24 #
25   AC_INIT([mingw-get],[0.1-alpha-2],[http://mingw.org/reporting_bugs])
26
27   AC_SUBST([COPYRIGHT_HOLDER],["MinGW Project"])
28   AC_SUBST([YEARS_OF_ISSUE],["2009, 2010"])
29
30 # Override the normal UNIX-centric autoconf default prefix;
31 # substitute the MinGW standard in its place.
32 #
33   AC_PREFIX_DEFAULT([C:/MinGW])
34
35 # We need both C and C++ compilers; check how to invoke them
36 #
37   AC_PROG_CC
38   AC_PROG_CXX
39
40 # We also need a lexical analyser generator
41 #
42   AC_PROG_LEX
43
44 # Set up the archive librarian, to match our compiler settings
45 #
46   AC_CHECK_TOOL([AR],[ar],[ar])
47   AC_SUBST([ARFLAGS],[${ARFLAGS-rcs}])
48
49 # Identify tools required for product installation
50 #
51   AC_PROG_MKDIR_P
52   AC_PROG_INSTALL
53   AC_PROG_LN_S
54
55 # As for the archive librarian, we need to ensure that the tool
56 # for stripping binaries is compatible with the compiler
57 #
58   AC_CHECK_TOOL([STRIP],[strip],[strip])
59
60 # Establish the product version banner, and create a makefile
61 #
62   AC_CONFIG_FILES([version.c Makefile])
63   AC_OUTPUT
64 #
65 # $RCSfile$: end of file