-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfigure.ac
More file actions
85 lines (68 loc) · 2.19 KB
/
configure.ac
File metadata and controls
85 lines (68 loc) · 2.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
## Spindle: The RES Linked Open Data Aggregator
##
## Author: Mo McRoberts
##
## Copyright (c) 2014-2017 BBC
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## limitations under the License.
AC_INIT([spindle],m4_esyscmd([/bin/sh m4/get-version.sh]),[RESFeedback@bbc.co.uk],,[https://github.com/bbcarchdev/spindle])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([scripts])
AM_INIT_AUTOMAKE([foreign])
AM_MAINTAINER_MODE
AC_CONFIG_HEADER([config.h])
BT_PROG_XCODE
AC_PROG_CC([clang c99 gcc cc])
BT_PROG_CC_WARN
BT_PROG_CC_DEBUG
AC_PROG_CC_C99
LT_INIT
BT_ENABLE_POSIX_FULL
AC_SYS_LARGEFILE
dnl These libraries are used by all built components
BT_REQUIRE_LIBUUID
BT_REQUIRE_LIBCURL
BT_REQUIRE_LIBRDF
BT_REQUIRE_LIBURI
BT_REQUIRE_LIBSQL
BT_REQUIRE_LIBAWSCLIENT
BT_REQUIRE_LIBSPARQLCLIENT
BT_REQUIRE_LIBTWINE
BT_REQUIRE_LIBMQ
BT_DEFINE_PATH([TWINEMODULEDIR], [twinemoduledir], [Twine module path])
use_docbook_html5=yes
BT_BUILD_DOCS
XML2HTMLFLAGS="--param \"html.linksfile\" \"'file://\$(abs_top_srcdir)/docbook-html5/res-links.xml'\" \
--param \"html.navfile\" \"'file://\$(abs_top_srcdir)/docbook-html5/res-nav.xml'\" \
--param \"html.ie78css\" \"'//bbcarchdev.github.io/painting-by-numbers/ie78.css'\""
AC_SUBST([XML2HTMLFLAGS])
LINKS='${top_srcdir}/docbook-html5/res-links.xml'
AC_SUBST([LINKS])
NAV='${top_srcdir}/docbook-html5/res-nav.xml'
AC_SUBST([NAV])
spindlehtdocdir='${docdir}'
AC_SUBST([spindlehtdocdir])
BT_DEFINE_PREFIX
# Build options
AC_DEFINE_UNQUOTED([SPINDLE_ENABLE_ABOUT_SELF], [0], [Whether to enable 'items are about themselves' in the index])
AC_CONFIG_FILES([Makefile
common/Makefile
strip/Makefile
correlate/Makefile
generate/Makefile
migrate/Makefile
m4/Makefile
docbook-html5/Makefile
docs/Makefile
])
AC_OUTPUT