chiark / gitweb /
CMakeLists.txt, lib.h, t/soak, t/treetest.c: Add some support for Windows.
[xyla] / configure.ac
1 dnl -*-autoconf-*-
2 dnl
3 dnl Configuration script for Xyla
4 dnl
5 dnl (c) 2024 Straylight/Edgeware
6 dnl
7
8 dnl----- Licensing notice ---------------------------------------------------
9 dnl
10 dnl This file is part of Xyla, a library of binary trees.
11 dnl
12 dnl Xyla is free software: you can redistribute it and/or modify it under
13 dnl the terms of the GNU Lesser General Public License as published by the
14 dnl Free Software Foundation; either version 3 of the License, or (at your
15 dnl option) any later version.
16 dnl
17 dnl Xyla is distributed in the hope that it will be useful, but WITHOUT
18 dnl ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
19 dnl FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
20 dnl License for more details.
21 dnl
22 dnl You should have received a copy of the GNU Lesser General Public
23 dnl License along with Xyla.  If not, see <https://www.gnu.org/licenses/>.
24
25 mdw_AUTO_VERSION
26 AC_INIT([xyla], AUTO_VERSION, [mdw@distorted.org.uk])
27 AC_CONFIG_SRCDIR([bt.h])
28 AC_CONFIG_AUX_DIR([config])
29 AC_CONFIG_MACRO_DIRS([m4])
30 AM_INIT_AUTOMAKE([foreign])
31 mdw_SILENT_RULES
32
33 AC_CHECK_PROGS([AUTOM4TE], [autom4te])
34 AM_PATH_PYTHON([2.7],, [:])
35
36 dnl--------------------------------------------------------------------------
37 dnl C language environment.
38
39 dnl Compiler and tools.
40 AC_PROG_CC
41 AX_CFLAGS_WARN_ALL
42 AM_PROG_LIBTOOL
43 mdw_LIBTOOL_VERSION_INFO
44 AC_SUBST([AM_CFLAGS])
45
46 dnl--------------------------------------------------------------------------
47 dnl Output.
48
49 AC_CONFIG_TESTDIR([t])
50 AC_CONFIG_FILES([Makefile t/Makefile t/atlocal])
51
52 AC_OUTPUT
53
54 dnl----- That's all, folks --------------------------------------------------