-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfigure.ac
46 lines (36 loc) · 1.23 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
# Copyright 2016 Michael Thomas (malinka) <[email protected]>
# Distributed under the terms of the GNU Lesser General Public License v3
AC_PREREQ([2.53])
m4_pattern_forbid([^AX_])
m4_pattern_forbid([^EX_])
AC_INIT([Asteria], [0.0.1], [[email protected]])
AC_CONFIG_SRCDIR([src/Exception.hh])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_TESTDIR([test])
AM_INIT_AUTOMAKE([-Wall foreign subdir-objects dist-xz no-dist-gzip])
AM_PROG_AR
LT_INIT
AC_PROG_LN_S
AC_PROG_CXX
EX_BASE_FLAGS
AC_LANG_PUSH([C++])
AX_PTHREAD
[LIBS="$PTHREAD_LIBS $LIBS"]
[CFLAGS="$PTHREAD_CFLAGS $CFLAGS"]
[CXXFLAGS="$PTHREAD_CFLAGS $CXXFLAGS"]
EX_WITH_GTEST
EX_FLAGS
EX_WITH_ENTROPY
EX_WITH_HECATE
EX_WITH_TETHYS
EX_WITH_THEIA
EX_WITH_AOEDE
EX_WITH_MNEMOSYNE
[LIBS="$GTEST_LIBS $ENTROPY_LIBS $HECATE_LIBS $TETHYS_LIBS $THEIA_LIBS $AOEDE_LIBS $MNEMOSYNE_LIBS"]
[CPPFLAGS="$GTEST_CPPFLAGS $ENTROPY_CPPFLAGS $HECATE_CPPFLAGS $TETHYS_CPPFLAGS $THEIA_CPPFLAGS $AOEDE_CPPFLAGS $MNEMOSYNE_CPPFLAGS"]
[LDFLAGS="$GTEST_LDFLAGS $ENTROPY_LDFLAGS $HECATE_LDFLAGS $TETHYS_LDFLAGS $THEIA_LDFLAGS $AOEDE_LDFLAGS $MNEMOSYNE_LDFLAGS"]
AC_LANG_POP([C++])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([Makefile atlocal:test/atlocal.in])
AC_OUTPUT