-
Notifications
You must be signed in to change notification settings - Fork 24
/
configure.ac
44 lines (33 loc) · 1000 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
36
37
38
39
40
41
42
43
44
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT([igor], [1.4.0], [quentin.marcou@lpt.ens.fr], [igor], [https://github.com/qmarcou/IGoR])
AM_INIT_AUTOMAKE([foreign -Wall -Werror])
#AC_CONFIG_SRCDIR([igor_src/Deletion.h])
AC_CONFIG_HEADERS([config.h])
#INIT LIBTOOL
AC_CONFIG_MACRO_DIRS([m4])
LT_INIT
# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
#Force usage of C++ and OPENMP
AC_LANG(C++)
AX_CXX_COMPILE_STDCXX_11
AC_OPENMP
#AC_SUBST(AM_CXXFLAGS,$OPENMP_CXXFLAGS)
# Checks for libraries.
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
AC_CHECK_HEADER_STDBOOL
AC_C_INLINE
AC_TYPE_SIZE_T
# Checks for library functions.
AC_CHECK_FUNCS([pow sqrt])
AC_CONFIG_FILES([Makefile
igor_src/Makefile
libs/Makefile])
AC_CONFIG_SUBDIRS([libs/gsl_sub
libs/jemalloc
igor_src])
AC_OUTPUT