-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
67 lines (54 loc) · 1.64 KB
/
configure.ac
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
## liblod: A Linked Open Data client library
##
## Author: Mo McRoberts <[email protected]>
##
## Copyright (c) 2014-2016 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([liblod],m4_esyscmd([/bin/sh m4/get-version.sh]),[[email protected]],,[https://github.com/bbcarchdev/liblod/])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([foreign])
AM_MAINTAINER_MODE
AC_CONFIG_HEADER([config.h])
BT_PROG_XCODE
AC_PROG_CC
BT_PROG_CC_WARN
LT_INIT
BT_ENABLE_POSIX
BT_ENABLE_XSI
BT_REQUIRE_PTHREAD
BT_REQUIRE_LIBXML2
BT_REQUIRE_LIBCURL
BT_REQUIRE_LIBRDF
dnl libedit is used only by lod-util, don't include it in $LIBS
BT_REQUIRE_LIBEDIT_INCLUDED([
AM_CPPFLAGS="$AM_CPPFLAGS $LIBEDIT_CPPFLAGS"
AM_LDFLAGS="$AM_LDFLAGS $LIBEDIT_LDFLAGS"
])
BT_REQUIRE_LIBURI_INCLUDED
use_docbook_html5=yes
BT_BUILD_DOCS
liblodhtdocdir='${docdir}'
AC_SUBST([liblodhtdocdir])
# If build_docs is 'no', then XSLT2MAN will be 'true', and this will be a
# no-op at build time, but still install the pre-built manpages.
AM_CONDITIONAL([BUILD_MANPAGES],[true])
BT_DEFINE_PREFIX
AC_CONFIG_FILES([
Makefile
m4/Makefile
docs/Makefile
t/Makefile
liblod.pc
])
AC_OUTPUT