OSDN Git Service

a0c90724bd09b9dab2b2bede63bf2907f09e142c
[mingw/mingw-dist.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) 2010, 2011, 2013, MinGW.org Project
7 #
8 #
9 # Configuration script for mingw-dist
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-dist],[2.1],[http://mingw.org/reporting_bugs])
26
27 # Check for required tools.
28 #
29   m4_include([makeopts.m4])
30   MINGW_AC_MAKE_NO_PRINT_DIRECTORY
31   AC_PROG_LN_S
32
33 # Specify all makefiles which are to be created
34 #
35   AC_CONFIG_FILES([Makefile])
36   AC_CONFIG_FILES([Makefile.comm])
37   AC_FOREACH([subdir],[common contrib mingw32 msys],
38   [AC_CONFIG_FILES(subdir[/Makefile:Makefile.stub.in])dnl
39    mingw_ac_subdirs=${mingw_ac_subdirs+"${mingw_ac_subdirs} "}"subdir"dnl
40   ])
41
42 # Specify the subdirectories to be managed, derived from the AC_FOREACH
43 # list of subdirectories in which makefiles have been specified
44 #
45   AC_SUBST([mingw_ac_subdirs])
46
47 # Create all makefiles
48 #
49   AC_OUTPUT
50 #
51 # $RCSfile$: end of file