forked from apache/ignite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.acrel
109 lines (95 loc) · 3.16 KB
/
configure.acrel
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You 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.
#
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT([Apache Ignite C++], [2.8.0.34042], [[email protected]], [ignite], [ignite.apache.org])
AC_CANONICAL_HOST
AC_CONFIG_MACRO_DIR([m4])
AC_LANG([C++])
AM_INIT_AUTOMAKE([-Wall foreign subdir-objects])
AC_CONFIG_HEADERS(config.h)
# Enable silent rules by default
AM_SILENT_RULES([yes])
# Checks for programs.
AC_PROG_CPP
AM_PROG_AR
# Initialize Libtool
LT_INIT
AC_ARG_ENABLE([odbc],
[AS_HELP_STRING([--enable-odbc],[build included ODBC driver [default=no]])],
[ case "${enableval}" in
yes) odbc=true ;;
no) odbc=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-odbc) ;;
esac
],
[odbc=false]
)
AC_ARG_ENABLE([core],
[AS_HELP_STRING([--enable-core],[build Ignite core library [default=yes]])],
[ case "${enableval}" in
yes) core=true ;;
no) core=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-core) ;;
esac],
[core=true]
)
AC_ARG_ENABLE([thin-client],
[AS_HELP_STRING([--enable-thin-client],[build Thin C++ client [default=yes]])],
[ case "${enableval}" in
yes) thin_client=true ;;
no) thin_client=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-thin-client) ;;
esac
],
[thin_client=true]
)
AC_ARG_ENABLE([node],
[AS_HELP_STRING([--enable-node],[build stand-alone node binary [default=yes]])],
[ case "${enableval}" in
yes) node=true ;;
no) node=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-node) ;;
esac],
[node=true]
)
AM_CONDITIONAL([COND_ODBC], [test "x$odbc" = "xtrue"])
AM_CONDITIONAL([COND_CORE], [test "x$core" = "xtrue"])
AM_CONDITIONAL([COND_THIN_CLIENT], [test "x$thin_client" = "xtrue"])
AM_CONDITIONAL([COND_NODE], [test "x$node" = "xtrue"])
AC_CONFIG_FILES([ \
Makefile \
common/os/linux/include/Makefile \
common/include/Makefile \
common/Makefile \
binary/include/Makefile \
binary/Makefile \
network/include/Makefile \
network/Makefile \
odbc/include/Makefile \
odbc/Makefile \
core/include/Makefile \
core/Makefile \
core/ignite.pc \
jni/include/Makefile \
jni/Makefile \
thin-client/include/Makefile \
thin-client/Makefile \
ignite/Makefile \
])
AC_OUTPUT