OSDN Git Service

Publish MinGW.org WSL-5.3.4 package set.
[mingw/mingw-dist.git] / tests / 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) 2013, MinGW.org Project
7 #
8 #
9 # Configuration script for mingw-dist validation suite
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   m4_include([../VERSION.m4])
26   AC_INIT([mingw-dist-tests],__VERSION__,[http://mingw.org/reporting_bugs])
27 #
28 # Building the test suite driver program requires a C++ compiler,
29 # (which must emit binary code to run on the build platform).
30 #
31   AC_PROG_CXX
32 #
33 # The test suite is heavily dependent on the Xerces-C++ SDK; check, to
34 # ensure that this is installed.
35 #
36   AC_CHECK_LIB([xerces-c],[main])
37   AS_IF([test x"$ac_cv_lib_xerces_c_main" = xyes],dnl
38   [XERCES_C_TOOLS=xerces-c-tools],[XERCES_C_TOOLS=no-xerces-c-tools])dnl
39   AC_SUBST([XERCES_C_TOOLS])
40 #
41 # Configure output comprises a simple makefile.
42 #
43   AC_CONFIG_FILES([Makefile])
44   AC_OUTPUT
45 #
46 # $RCSfile$: end of file