-
Notifications
You must be signed in to change notification settings - Fork 9
/
configure.ac
75 lines (62 loc) · 1.53 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
68
69
70
71
72
73
74
75
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
AC_INIT([HmmUFOtu], [1.5.1])
LT_INIT([shared static])
AC_CANONICAL_SYSTEM
AC_CANONICAL_HOST
AC_C_INLINE
AC_TYPE_SIZE_T
AC_TYPE_INT8_T
AC_TYPE_UINT8_T
AC_TYPE_UINT16_T
AC_TYPE_UINT32_T
AC_TYPE_INT32_T
AC_PROG_LIBTOOL
AC_PROG_RANLIB
#LT_INIT
AC_CHECK_HEADERS([stdint.h])
AC_CHECK_HEADER_STDBOOL
AM_INIT_AUTOMAKE()
#AC_LANG(C++)
AC_PROG_CXX
AC_PROG_AWK
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_PROG_RANLIB
AC_CONFIG_MACRO_DIR([m4])
AC_CHECK_FUNCS([sqrt isnan floor])
AC_CHECK_FUNCS([strerror])
#AC_FUNC_MALLOC
# auxinary features
AX_CHECK_ZLIB()
AX_BOOST_BASE([1.50.0])
AX_BOOST_IOSTREAMS()
# conditional packages
AC_ARG_WITH([jsoncpp],
[AS_HELP_STRING([--with-jsoncpp],
[support generating .jplace and other JSON files @<:@default=check@:>@]
)],
[],
[with_jsoncpp=check]
)
AS_CASE(["$with_jsoncpp"],
[yes],
[AC_CHECK_LIB([jsoncpp], [main], [], [])], # yes check
[no], [], # no, not check
[AC_CHECK_LIB([jsoncpp], [main], [], [])] # default check
)
AM_CONDITIONAL([HAVE_JSONCPP], [test "$with_jsoncpp" != no -a "$ac_cv_lib_jsoncpp_main" = yes])
AC_CONFIG_FILES([Makefile
data/Makefile
src/Makefile
test/Makefile])
AC_CONFIG_SUBDIRS([
src/util
src/math
src/libcds
src/libdivsufsort])
AC_OPENMP
AC_OUTPUT