-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
35 lines (28 loc) · 1002 Bytes
/
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
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT([GitDB], [0.0.1], [[email protected]])
AM_INIT_AUTOMAKE([foreign -Wall -Werror subdir-objects])
AC_CONFIG_SRCDIR([src/main.cc])
AC_CONFIG_HEADERS([config.hh])
AC_CONFIG_FILES([Makefile])
AC_CONFIG_MACRO_DIR([m4])
# Checks for programs.
AC_PROG_CXX
AM_PROG_AR
# Create Libraries
LT_PREREQ([2.4.2])
LT_INIT()
# Checks for libraries.
AX_BOOST_BASE([1.55])
AX_BOOST_PROGRAM_OPTIONS
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
AX_CXX_COMPILE_STDCXX_11([noext])
AX_APPEND_COMPILE_FLAGS([-Wall], [CXXFLAGS])
AX_APPEND_COMPILE_FLAGS([-Wextra], [CXXFLAGS])
AX_APPEND_COMPILE_FLAGS([-Werror], [CXXFLAGS])
AX_APPEND_COMPILE_FLAGS([-pedantic], [CXXFLAGS])
AX_APPEND_COMPILE_FLAGS([-pedantic-errors], [CXXFLAGS])
# Checks for library functions.
AC_OUTPUT