blob: 191d1f706a2a00458a8addfa0ee832a22a10f403 [file] [log] [blame]
#
# 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++ Examples], [2.7.5.38010], [dev@ignite.apache.org], [ignite-examples], [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_CXX
AM_PROG_AR
# Initialize Libtool
LT_INIT
AC_ARG_ENABLE([debug],
[AS_HELP_STRING([--enable-debug],[enable debug build [default=no]])],
[],
[enable_debug=no]
)
if test "x$enable_debug" = xyes; then
CXXFLAGS="-g -O0"
else
CXXFLAGS="-g -O3"
fi
AC_CONFIG_FILES([ \
Makefile \
include/Makefile \
put-get-example/Makefile \
odbc-example/Makefile \
query-example/Makefile \
continuous-query-example/Makefile \
compute-example/Makefile \
thin-client-put-get-example/Makefile \
])
AC_OUTPUT