-
Notifications
You must be signed in to change notification settings - Fork 4
/
configure.ac
60 lines (44 loc) · 1.36 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
dnl autoconf script for litmus
AC_INIT([litmus],[0.15],[],[],[https://github.com/notroj/litmus])
AC_PREREQ([2.59])
AC_COPYRIGHT([Copyright (c) 2001-2022 Joe Orton and others
This configure script may be copied, distributed and modified under the
terms of the GNU General Public license; see COPYING for more details])
AC_CONFIG_SRCDIR(litmus.in)
AC_CONFIG_HEADERS([config.h])
AC_DEFINE([_GNU_SOURCE], 1, [Define to enable GNU extensions])
AC_PROG_CC
AC_PROG_MAKE_SET
AC_PROG_INSTALL
dnl List of tests
AC_SUBST([TESTS], ["basic copymove props locks http"])
NE_MINIMUM_VERSION([0], [27])
NEON_WITHOUT_ZLIB
NEON_WITHOUT_ACL
NEON_TEST
NEON_TEST_WITHOUT_CHILD
NEON_VPATH_BUNDLED(['$(top_srcdir)/neon/src'], [neon/src], [
NEON_NORMAL_BUILD
NEON_XML_PARSER
])
dnl Check for getopt_long
AC_CHECK_FUNC(getopt_long,,[AC_LIBOBJ(lib/getopt)
AC_LIBOBJ(lib/getopt1)])
NEON_FORMAT(long long)
NEON_DEBUG
NEON_WARNINGS
CPPFLAGS="$CPPFLAGS -I\${top_builddir}"
AC_CONFIG_FILES([litmus], [chmod +x litmus])
AC_CONFIG_FILES([Makefile neon/src/Makefile])
AC_OUTPUT
AC_MSG_NOTICE([Configured to build AC_PACKAGE_STRING:
Install prefix: ${prefix}
Compiler: ${CC}
neon library: ${neon_library_message}
XML parser: ${neon_xml_parser_message}
SSL library: ${ne_SSL_message}
])
# For VPATH builds
for d in neon neon/src test-common src; do
test -d $d || mkdir $d
done