1 # configure.ac -*- autoconf -*- vim: filetype=config
5 # Written by Keith Marshall <keithmarshall@users.sourceforge.net>
6 # Copyright (C) 2010, 2011, 2013, MinGW.org Project
9 # Configuration script for mingw-dist
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.
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.
25 m4_include([VERSION.m4])
26 AC_INIT([mingw-dist],__VERSION__,[http://mingw.org/reporting_bugs])
28 # Specify a default (invalid) user name, for authentication to FRS.
30 : ${FRS_USERNAME="anonymous"}
31 AC_ARG_VAR([FRS_USERNAME],[user name for FRS authentication [anonymous]])
33 # Check for required tools.
35 m4_include([makeopts.m4])
36 MINGW_AC_MAKE_NO_PRINT_DIRECTORY
39 # Specify all makefiles which are to be created
41 AC_CONFIG_FILES([Makefile])
42 AC_CONFIG_FILES([Makefile.comm])
43 AC_FOREACH([subdir],[common contrib mingw32 msys],
44 [AC_CONFIG_FILES(subdir[/Makefile:Makefile.stub.in])dnl
45 mingw_ac_subdirs=${mingw_ac_subdirs+"${mingw_ac_subdirs} "}"subdir"dnl
48 # Specify the subdirectories to be managed, derived from the AC_FOREACH
49 # list of subdirectories in which makefiles have been specified
51 AC_SUBST([mingw_ac_subdirs])
53 # Create all makefiles
57 # $RCSfile$: end of file