-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfigure.ac
65 lines (50 loc) · 1.6 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#AC_INIT([hybrid-Lambda],[beta-0.3],[[email protected]])
AC_INIT([hybrid-Lambda],esyscmd([sh -c "cat version | tr -d '\n'"]),[[email protected]])
#AC_INIT([hybrid-Lambda],esyscmd([sh -c "date \"+%Y%m%d\" | tr -d '\n'"]),[[email protected]])
#dnl AC_CONFIG_SRCDIR([simu.c])
#AC_CONFIG_HEADER([config.h])
# tar-ustar: make dist can include files with long names
AM_INIT_AUTOMAKE([1.9 tar-ustar subdir-objects])
#AM_INIT_AUTOMAKE([subdir-objects])
m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])])
AM_SILENT_RULES([yes])
# Load macros in 'm4'-dir
AC_CONFIG_MACRO_DIR([m4])
AC_CANONICAL_HOST
# Checks for programs.
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])
# 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_HEADER_STDBOOL
m4_include([m4/ac_doxygen.m4])
DX_INIT_DOXYGEN(hybrid-Lambda, Doxyfile, html/)
DX_HTML_FEATURE(ON)
DX_CHM_FEATURE(OFF)
DX_CHI_FEATURE(OFF)
DX_MAN_FEATURE(OFF)
DX_RTF_FEATURE(OFF)
DX_XML_FEATURE(OFF)
DX_PDF_FEATURE(OFF)
DX_PS_FEATURE(OFF)
AC_CHECK_PROG(PDFLATEX, pdflatex, pdflatex)
AC_CHECK_PROG(BIBTEX, bibtex,bibtex)
if test -z "$PDFLATEX"; then
AC_MSG_WARN([Unable to create PDF version of the user manual.])
fi
AM_CONDITIONAL([HAVE_PDFLATEX], test -n "$PDFLATEX")
AC_CONFIG_FILES([Makefile doc/Makefile])
AC_OUTPUT