File: configure.ac

package info (click to toggle)
igor 1.4.0+dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 4,116 kB
  • sloc: cpp: 12,453; python: 1,047; sh: 124; makefile: 33
file content (41 lines) | stat: -rw-r--r-- 919 bytes parent folder | download | duplicates (2)
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
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.69])
AC_INIT([igor], [1.3.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,$OP‌​ENMP_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])
AC_CONFIG_SUBDIRS([ igor_src])
AC_OUTPUT