3
# Copyright (C) 2012 Drizzle Development Team, http://drizzle.org/
6
# Use and distribution licensed under the BSD license. See
7
# the COPYING file in this directory for full text.
9
AC_INIT([libdrizzle],[5.0.0])
11
AC_CONFIG_AUX_DIR([build-aux])
15
AM_INIT_AUTOMAKE([1.11 color-tests -Wno-portability subdir-objects foreign tar-ustar])
21
AC_USE_SYSTEM_EXTENSIONS
23
AC_CONFIG_MACRO_DIR([m4])
26
AC_CONFIG_HEADERS([config.h:config.in])dnl Keep filename to 8.3 for MS-DOS.
28
AC_CONFIG_SRCDIR([libdrizzle/drizzle.c])
30
#shared library versioning
31
LIBDRIZZLE_LIBRARY_VERSION=5:0:0
35
# current:revision:age
37
# | | +- increment if interfaces have been added
38
# | | set to zero if interfaces have been removed or changed
39
# | +- increment if source code has changed
40
# | set to zero if current is incremented
41
# +- increment if interfaces have been added, removed or changed
42
AC_SUBST([LIBDRIZZLE_LIBRARY_VERSION])
56
# Checks for programs.
59
# Checks for libraries.
60
AX_CXX_GCC_ABI_DEMANGLE
63
# Checks for header files.
64
AC_DEFUN([CHECK_FOR_CXXABI],
66
AC_CHECK_HEADERS([cxxabi.h])
70
AC_CHECK_HEADERS_ONCE([errno.h])
71
AC_CHECK_HEADERS_ONCE([sys/socket.h])
73
# Checks for typedefs, structures, and compiler characteristics.
75
# Checks for library functions.
78
AX_HEX_VERSION([libdrizle],[$VERSION])
79
AX_HARDEN_COMPILER_FLAGS
81
AX_AM_JOBSERVER([yes])
83
AC_CONFIG_FILES([Makefile
92
echo "Configuration summary for $PACKAGE_NAME version $VERSION"
94
echo " * Installation prefix: $prefix"
95
echo " * System type: $host_vendor-$host_os"
96
echo " * Host CPU: $host_cpu"
97
echo " * Compiler Vendor: $ax_cv_c_compiler_vendor"
98
echo " * C Compiler: $CC"
99
echo " * C Compiler Version: $ax_c_compiler_version"
100
echo " * C Flags: $CFLAGS"
101
echo " * C++ Compiler: $CXX"
102
echo " * C++ Version: $ax_cxx_compiler_version"
103
echo " * C++ Flags: $CXXFLAGS"
104
echo " * CPP Flags: $CPPFLAGS"
105
echo " * LIB Flags: $LIB"
106
echo " * Assertions enabled: $ax_enable_assert"
107
echo " * Debug enabled: $ax_enable_debug"
108
echo " * Warnings as failure: $ac_cv_warnings_as_errors"
109
echo " * make -j: $enable_jobserver"
110
echo " * VCS checkout: $ac_cv_vcs_system"