This repository has been archived by the owner on Oct 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
configure.ac
54 lines (47 loc) · 1.58 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
# -*- Autoconf -*-
# To rebuild the configure script and Makefile.in files (as well as some
# supporting files mainly in build-aux/ and m4/) run the following
# command:
# autoreconf -vif --no-recursive
# The last flag is there to prevent autoconf from trying to rebuild
# the autoconf files in dep/gflags-1.6.0.
AC_PREREQ([2.68])
AC_INIT([libcds2], [2.0], [[email protected]], [cds2],
[https://github.com/fclaude/libcds2])
AC_CONFIG_SRCDIR([src/basic/array.cpp])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_HEADERS([build-aux/config.h])
AM_INIT_AUTOMAKE([1.11 subdir-objects])
AM_SILENT_RULES([yes])
LT_INIT([shared static])
AC_SUBST([LIBTOOL_DEPS])
AC_SUBST([CDS_SO_VERSION], [2:0:0])
AC_SUBST([CDS_API_VERSION], [2])
# Checks for programs.
# If we want to explicitly set this to a different optimization level, this
# is where we do it. But do note this is not conventionally approved of.
# ${CXXFLAGS="-O3"}
AC_PROG_CXX
AC_LANG([C++])
AC_PROG_INSTALL
AC_PROG_CPP
# Checks for libraries.
# Checks for header files.
AC_CHECK_HEADERS([stddef.h stdint.h stdlib.h sys/time.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_INLINE
AC_TYPE_SIZE_T
AC_TYPE_UINT16_T
AC_TYPE_UINT32_T
AC_TYPE_UINT8_T
# Checks for library functions.
AC_CHECK_FUNCS([gettimeofday select])
AC_CONFIG_FILES([Makefile
lib/Makefile
tests/Makefile
include/Makefile
cds${CDS_API_VERSION}.pc:cds.pc.in])
AC_CONFIG_SUBDIRS([dep/gtest-1.6.0])
AC_OUTPUT