-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfigure.ac
60 lines (45 loc) · 1.93 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
AC_INIT([murrayc-tuple-utils],[0.1.0])
AC_PREREQ(2.63)
AC_CONFIG_SRCDIR([tests/test_tuple_cdr.cc])
AC_CONFIG_AUX_DIR([build])
AC_CONFIG_MACRO_DIR([macros])
$AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([1.10 -Wno-portability no-define nostdinc tar-ustar])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AM_MAINTAINER_MODE
AC_ARG_VAR([ACLOCAL_FLAGS], [aclocal flags, e.g. -I <macro dir>])
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_CXX
AX_CXX_COMPILE_STDCXX([17], [noext], [mandatory])
LT_PREREQ([2.2.6])
LT_INIT([win32-dll])
MM_PREREQ([0.9.5])
MM_INIT_MODULE([murrayc-tuple-utils-1.0])
# Tell mm-common-prepare to copy the mm-common .pl scripts
# and some other files into docs/, and use them from there,
# so we can dist them to avoid a tarball-build dependency.
MM_CONFIG_DOCTOOL_DIR([docs])
MM_ARG_ENABLE_DOCUMENTATION
#For instance: MM_ARG_WITH_TAGFILE_DOC([libstdc++.tag], [mm-common-libstdc++])
# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
AC_SUBST([LIBMURRAYC_TUPLE_UTILS_SO_VERSION], [0:0:0])
#PKG_CHECK_MODULES([PROJECT], [])
AC_LANG([C++])
MM_ARG_ENABLE_WARNINGS([PROJECT_WXXFLAGS],
[-Wall],
[-pedantic -Wall -Wextra -Wsuggest-override -Wshadow -Wformat-security -Wno-missing-field-initializers -fsanitize=undefined -ftrapv -DGSEAL_ENABLE],
[])
# TODO: Just use the regular PREFIXSUFFIX_WXXFLAG
# (and use -I instead of -isystem in Makefile_tes
# if this googletest problem is fixed:
# https://github.com/google/googletest/issues/533
MM_ARG_ENABLE_WARNINGS([PROJECT_GTEST_WXXFLAGS],
[-Wall],
[-pedantic -Wall -Wextra -Wshadow -Wformat-security -Wno-missing-field-initializers -fsanitize=undefined -ftrapv -DGSEAL_ENABLE],
[])
AC_CONFIG_FILES([Makefile
${MURRAYC_TUPLE_UTILS_MODULE_NAME}.pc:murrayc-tuple-utils.pc.in
docs/Makefile
docs/reference/Doxyfile])
AC_OUTPUT