-
Notifications
You must be signed in to change notification settings - Fork 23
/
configure.ac
47 lines (37 loc) · 1.07 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
# -*- Autoconf -*-
# Process this file with ./autogen.sh to produce a configure script
AC_PREREQ([2.68])
AC_INIT([mu], [0.01], [[email protected]])
AM_INIT_AUTOMAKE([foreign])
AC_CONFIG_SRCDIR([src/frontend/hello.cc])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIRS([m4])
# Add C++ flags
CXX14_FLAGS="-std=c++14 -pthread"
PICKY_CXXFLAGS="-Wall -Wpedantic -Wextra -Weffc++ -Werror"
AC_SUBST([CXX14_FLAGS])
AC_SUBST([PICKY_CXXFLAGS])
# Checks for programs.
AC_PROG_CXX
LT_INIT
# Checks for libraries.
PKG_CHECK_MODULES([OpenSSL], [libssl libcrypto])
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
# Check for Python
AM_PATH_PYTHON(2.7)
AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
AC_CONFIG_FILES([
Makefile
src/Makefile
src/util/Makefile
src/net/Makefile
src/http/Makefile
src/frontend/Makefile
src/lambdareq/Makefile
src/launch/Makefile
src/pylaunch/Makefile
src/lambdaize/Makefile
src/tests/Makefile])
AC_OUTPUT