-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
42 lines (32 loc) · 1.01 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
AC_INIT([hybrid-coal],esyscmd([sh -c "cat version | tr -d '\n'"]),[[email protected]])
#dnl AC_CONFIG_SRCDIR([simu.c])
AC_PROG_INSTALL
# tar-ustar: make dist can include files with long names
AM_INIT_AUTOMAKE([1.9 tar-ustar subdir-objects])
m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])])
AM_SILENT_RULES([yes])
AC_CANONICAL_HOST
# Checks for programs.
#AC_PROG_CC
AC_PROG_CXX
#AC_PROG_RANLIB
# Checks for libraries.
#AC_CHECK_LIB([m], [log])
# Checks for header files.
AC_HEADER_STDC
AC_LANG(C++)
#AC_CHECK_HEADERS([iostream string sstream fstream vector iomanip valarray math.h stdio.h ctime])
#AC_CHECK_HEADERS([iostream string sstream fstream vector iomanip valarray math.h stdio.h ctime gmp.h])
# Checks for typedefs, structures, and compiler characteristics.
#AC_C_CONST
#AC_C_INLINE
#AC_TYPE_SIZE_T
# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS([floor])
AC_CHECK_FUNCS([pow])
#AC_CHECK_FUNCS([factorial])
AC_HEADER_STDBOOL
AC_CONFIG_FILES([Makefile])
AC_OUTPUT