1 | 1 |
dnl Process this file with autoconf to produce a configure script. |
2 | 2 |
|
3 | 3 |
dnl Version information. |
4 | 4 |
m4_define([lemon_version_number], []) |
5 | 5 |
m4_define([lemon_hg_revision], [m4_normalize(esyscmd([hg id -i]))]) |
6 | 6 |
m4_define([lemon_version], [ifelse(lemon_version_number(), [], [lemon_hg_revision()], [lemon_version_number()])]) |
7 | 7 |
|
8 | 8 |
AC_PREREQ([2.59]) |
9 | 9 |
AC_INIT([LEMON], [lemon_version()], [lemon-devel@lemon.cs.elte.hu], [lemon]) |
10 | 10 |
AC_CONFIG_AUX_DIR([build-aux]) |
11 | 11 |
AC_CONFIG_MACRO_DIR([m4]) |
12 | 12 |
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects nostdinc]) |
13 | 13 |
AC_CONFIG_SRCDIR([lemon/list_graph.h]) |
14 | 14 |
AC_CONFIG_HEADERS([config.h lemon/config.h]) |
15 | 15 |
|
16 | 16 |
lx_cmdline_cxxflags_set=${CXXFLAGS+set} |
17 | 17 |
|
18 | 18 |
dnl Checks for programs. |
19 | 19 |
AC_PROG_CXX |
20 | 20 |
AC_PROG_CXXCPP |
21 | 21 |
AC_PROG_INSTALL |
22 | 22 |
AC_DISABLE_SHARED |
23 | 23 |
AC_PROG_LIBTOOL |
24 | 24 |
|
25 | 25 |
AC_CHECK_PROG([doxygen_found],[doxygen],[yes],[no]) |
26 | 26 |
AC_CHECK_PROG([gs_found],[gs],[yes],[no]) |
27 | 27 |
|
28 | 28 |
if test x"$lx_cmdline_cxxflags_set" != x"set" -a "$GXX" = yes; then |
29 | 29 |
CXXFLAGS="$CXXFLAGS -Wall -W -Wall -W -Wunused -Wformat=2 -Wctor-dtor-privacy -Wnon-virtual-dtor -Wno-char-subscripts -Wwrite-strings -Wno-char-subscripts -Wreturn-type -Wcast-qual -Wcast-align -Wsign-promo -Woverloaded-virtual -Woverloaded-virtual -ansi -fno-strict-aliasing -Wold-style-cast -Wno-unknown-pragmas" |
30 | 30 |
fi |
31 | 31 |
|
32 | 32 |
dnl Checks for libraries. |
33 | 33 |
LX_CHECK_GLPK |
34 | 34 |
LX_CHECK_CPLEX |
35 | 35 |
LX_CHECK_SOPLEX |
36 | 36 |
|
37 | 37 |
dnl Disable/enable building the demo programs |
38 | 38 |
AC_ARG_ENABLE([demo], |
39 | 39 |
AS_HELP_STRING([--enable-demo], [build the demo programs]) |
40 | 40 |
AS_HELP_STRING([--disable-demo], [do not build the demo programs @<:@default@:>@]), |
41 | 41 |
[], [enable_demo=no]) |
42 | 42 |
AC_MSG_CHECKING([whether to build the demo programs]) |
43 | 43 |
if test x"$enable_demo" != x"no"; then |
44 | 44 |
AC_MSG_RESULT([yes]) |
45 | 45 |
else |
46 | 46 |
AC_MSG_RESULT([no]) |
47 | 47 |
fi |
48 | 48 |
AM_CONDITIONAL([WANT_DEMO], [test x"$enable_demo" != x"no"]) |
49 | 49 |
|
50 | 50 |
dnl Disable/enable building the binary tools |
51 | 51 |
AC_ARG_ENABLE([tools], |
52 | 52 |
AS_HELP_STRING([--enable-tools], [build additional tools @<:@default@:>@]) |
53 | 53 |
AS_HELP_STRING([--disable-tools], [do not build additional tools]), |
54 | 54 |
[], [enable_tools=yes]) |
55 | 55 |
AC_MSG_CHECKING([whether to build the additional tools]) |
56 | 56 |
if test x"$enable_tools" != x"no"; then |
57 | 57 |
AC_MSG_RESULT([yes]) |
58 | 58 |
else |
59 | 59 |
AC_MSG_RESULT([no]) |
60 | 60 |
fi |
61 | 61 |
AM_CONDITIONAL([WANT_TOOLS], [test x"$enable_tools" != x"no"]) |
62 | 62 |
|
63 | 63 |
dnl Disable/enable building the benchmarks |
64 | 64 |
AC_ARG_ENABLE([benchmark], |
65 | 65 |
AS_HELP_STRING([--enable-benchmark], [build the benchmarks]) |
66 | 66 |
AS_HELP_STRING([--disable-benchmark], [do not build the benchmarks @<:@default@:>@]), |
67 | 67 |
[], [enable_benchmark=no]) |
68 | 68 |
AC_MSG_CHECKING([whether to build the benchmarks]) |
69 | 69 |
if test x"$enable_benchmark" != x"no"; then |
70 | 70 |
AC_MSG_RESULT([yes]) |
71 | 71 |
else |
72 | 72 |
AC_MSG_RESULT([no]) |
73 | 73 |
fi |
74 | 74 |
AM_CONDITIONAL([WANT_BENCHMARK], [test x"$enable_benchmark" != x"no"]) |
75 | 75 |
|
76 | 76 |
dnl Checks for header files. |
77 | 77 |
AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h) |
78 | 78 |
|
79 | 79 |
dnl Checks for typedefs, structures, and compiler characteristics. |
80 | 80 |
AC_C_CONST |
81 | 81 |
AC_C_INLINE |
82 | 82 |
AC_TYPE_SIZE_T |
83 | 83 |
AC_HEADER_TIME |
84 | 84 |
AC_STRUCT_TM |
85 | 85 |
|
86 | 86 |
dnl Checks for library functions. |
87 | 87 |
AC_HEADER_STDC |
88 | 88 |
AC_CHECK_FUNCS(gettimeofday times ctime_r) |
89 | 89 |
|
90 |
dnl Add dependencies on files generated by configure. |
|
91 |
AC_SUBST([CONFIG_STATUS_DEPENDENCIES], |
|
92 |
['$(top_srcdir)/doc/Doxyfile.in $(top_srcdir)/lemon/lemon.pc.in']) |
|
93 |
|
|
90 | 94 |
AC_CONFIG_FILES([ |
91 | 95 |
Makefile |
92 | 96 |
doc/Doxyfile |
93 | 97 |
lemon/lemon.pc |
94 | 98 |
]) |
95 | 99 |
|
96 | 100 |
AC_OUTPUT |
97 | 101 |
|
98 | 102 |
echo |
99 | 103 |
echo '****************************** SUMMARY ******************************' |
100 | 104 |
echo |
101 | 105 |
echo Package version............... : $PACKAGE-$VERSION |
102 | 106 |
echo |
103 | 107 |
echo C++ compiler.................. : $CXX |
104 | 108 |
echo C++ compiles flags............ : $CXXFLAGS |
105 | 109 |
echo |
106 | 110 |
echo GLPK support.................. : $lx_glpk_found |
107 | 111 |
echo CPLEX support................. : $lx_cplex_found |
108 | 112 |
echo SOPLEX support................ : $lx_soplex_found |
109 | 113 |
echo |
110 | 114 |
echo Build benchmarks.............. : $enable_benchmark |
111 | 115 |
echo Build demo programs........... : $enable_demo |
112 | 116 |
echo Build additional tools........ : $enable_tools |
113 | 117 |
echo |
114 | 118 |
echo The packace will be installed in |
115 | 119 |
echo -n ' ' |
116 | 120 |
echo $prefix. |
117 | 121 |
echo |
118 | 122 |
echo '*********************************************************************' |
119 | 123 |
|
120 | 124 |
echo |
121 | 125 |
echo Configure complete, now type \'make\' and then \'make install\'. |
122 | 126 |
echo |
... | ... |
@@ -52,193 +52,193 @@ |
52 | 52 |
INTERNAL_DOCS = NO |
53 | 53 |
CASE_SENSE_NAMES = YES |
54 | 54 |
HIDE_SCOPE_NAMES = YES |
55 | 55 |
SHOW_INCLUDE_FILES = YES |
56 | 56 |
INLINE_INFO = YES |
57 | 57 |
SORT_MEMBER_DOCS = NO |
58 | 58 |
SORT_BRIEF_DOCS = NO |
59 | 59 |
SORT_GROUP_NAMES = NO |
60 | 60 |
SORT_BY_SCOPE_NAME = NO |
61 | 61 |
GENERATE_TODOLIST = YES |
62 | 62 |
GENERATE_TESTLIST = YES |
63 | 63 |
GENERATE_BUGLIST = YES |
64 | 64 |
GENERATE_DEPRECATEDLIST= YES |
65 | 65 |
ENABLED_SECTIONS = |
66 | 66 |
MAX_INITIALIZER_LINES = 5 |
67 | 67 |
SHOW_USED_FILES = YES |
68 | 68 |
SHOW_DIRECTORIES = YES |
69 | 69 |
FILE_VERSION_FILTER = |
70 | 70 |
#--------------------------------------------------------------------------- |
71 | 71 |
# configuration options related to warning and progress messages |
72 | 72 |
#--------------------------------------------------------------------------- |
73 | 73 |
QUIET = NO |
74 | 74 |
WARNINGS = YES |
75 | 75 |
WARN_IF_UNDOCUMENTED = YES |
76 | 76 |
WARN_IF_DOC_ERROR = YES |
77 | 77 |
WARN_NO_PARAMDOC = NO |
78 | 78 |
WARN_FORMAT = "$file:$line: $text " |
79 | 79 |
WARN_LOGFILE = doxygen.log |
80 | 80 |
#--------------------------------------------------------------------------- |
81 | 81 |
# configuration options related to the input files |
82 | 82 |
#--------------------------------------------------------------------------- |
83 | 83 |
INPUT = @abs_top_srcdir@/doc \ |
84 | 84 |
@abs_top_srcdir@/lemon \ |
85 | 85 |
@abs_top_srcdir@/lemon/bits \ |
86 | 86 |
@abs_top_srcdir@/lemon/concepts \ |
87 | 87 |
@abs_top_srcdir@/demo \ |
88 | 88 |
@abs_top_srcdir@/tools \ |
89 | 89 |
@abs_top_srcdir@/test/test_tools.h |
90 | 90 |
INPUT_ENCODING = UTF-8 |
91 | 91 |
FILE_PATTERNS = *.h \ |
92 | 92 |
*.cc \ |
93 | 93 |
*.dox |
94 | 94 |
RECURSIVE = NO |
95 | 95 |
EXCLUDE = |
96 | 96 |
EXCLUDE_SYMLINKS = NO |
97 | 97 |
EXCLUDE_PATTERNS = |
98 | 98 |
EXCLUDE_SYMBOLS = |
99 | 99 |
EXAMPLE_PATH = @abs_top_srcdir@/demo \ |
100 | 100 |
@abs_top_srcdir@/LICENSE \ |
101 | 101 |
@abs_top_srcdir@/doc |
102 | 102 |
EXAMPLE_PATTERNS = |
103 | 103 |
EXAMPLE_RECURSIVE = NO |
104 | 104 |
IMAGE_PATH = @abs_top_srcdir@/doc/images \ |
105 | 105 |
@abs_top_builddir@/doc/gen-images |
106 | 106 |
INPUT_FILTER = |
107 | 107 |
FILTER_PATTERNS = |
108 | 108 |
FILTER_SOURCE_FILES = NO |
109 | 109 |
#--------------------------------------------------------------------------- |
110 | 110 |
# configuration options related to source browsing |
111 | 111 |
#--------------------------------------------------------------------------- |
112 | 112 |
SOURCE_BROWSER = NO |
113 | 113 |
INLINE_SOURCES = NO |
114 | 114 |
STRIP_CODE_COMMENTS = YES |
115 | 115 |
REFERENCED_BY_RELATION = NO |
116 | 116 |
REFERENCES_RELATION = NO |
117 | 117 |
REFERENCES_LINK_SOURCE = YES |
118 | 118 |
USE_HTAGS = NO |
119 | 119 |
VERBATIM_HEADERS = NO |
120 | 120 |
#--------------------------------------------------------------------------- |
121 | 121 |
# configuration options related to the alphabetical class index |
122 | 122 |
#--------------------------------------------------------------------------- |
123 | 123 |
ALPHABETICAL_INDEX = YES |
124 | 124 |
COLS_IN_ALPHA_INDEX = 2 |
125 | 125 |
IGNORE_PREFIX = |
126 | 126 |
#--------------------------------------------------------------------------- |
127 | 127 |
# configuration options related to the HTML output |
128 | 128 |
#--------------------------------------------------------------------------- |
129 | 129 |
GENERATE_HTML = YES |
130 | 130 |
HTML_OUTPUT = html |
131 | 131 |
HTML_FILE_EXTENSION = .html |
132 | 132 |
HTML_HEADER = |
133 | 133 |
HTML_FOOTER = |
134 | 134 |
HTML_STYLESHEET = |
135 | 135 |
HTML_ALIGN_MEMBERS = YES |
136 | 136 |
GENERATE_HTMLHELP = NO |
137 | 137 |
GENERATE_DOCSET = NO |
138 | 138 |
DOCSET_FEEDNAME = "Doxygen generated docs" |
139 | 139 |
DOCSET_BUNDLE_ID = org.doxygen.Project |
140 | 140 |
HTML_DYNAMIC_SECTIONS = NO |
141 | 141 |
CHM_FILE = |
142 | 142 |
HHC_LOCATION = |
143 | 143 |
GENERATE_CHI = NO |
144 | 144 |
BINARY_TOC = NO |
145 | 145 |
TOC_EXPAND = NO |
146 | 146 |
DISABLE_INDEX = NO |
147 | 147 |
ENUM_VALUES_PER_LINE = 4 |
148 |
GENERATE_TREEVIEW = |
|
148 |
GENERATE_TREEVIEW = NO |
|
149 | 149 |
TREEVIEW_WIDTH = 250 |
150 | 150 |
#--------------------------------------------------------------------------- |
151 | 151 |
# configuration options related to the LaTeX output |
152 | 152 |
#--------------------------------------------------------------------------- |
153 | 153 |
GENERATE_LATEX = NO |
154 | 154 |
LATEX_OUTPUT = latex |
155 | 155 |
LATEX_CMD_NAME = latex |
156 | 156 |
MAKEINDEX_CMD_NAME = makeindex |
157 | 157 |
COMPACT_LATEX = YES |
158 | 158 |
PAPER_TYPE = a4wide |
159 | 159 |
EXTRA_PACKAGES = amsmath \ |
160 | 160 |
amssymb |
161 | 161 |
LATEX_HEADER = |
162 | 162 |
PDF_HYPERLINKS = YES |
163 | 163 |
USE_PDFLATEX = YES |
164 | 164 |
LATEX_BATCHMODE = NO |
165 | 165 |
LATEX_HIDE_INDICES = NO |
166 | 166 |
#--------------------------------------------------------------------------- |
167 | 167 |
# configuration options related to the RTF output |
168 | 168 |
#--------------------------------------------------------------------------- |
169 | 169 |
GENERATE_RTF = NO |
170 | 170 |
RTF_OUTPUT = rtf |
171 | 171 |
COMPACT_RTF = NO |
172 | 172 |
RTF_HYPERLINKS = NO |
173 | 173 |
RTF_STYLESHEET_FILE = |
174 | 174 |
RTF_EXTENSIONS_FILE = |
175 | 175 |
#--------------------------------------------------------------------------- |
176 | 176 |
# configuration options related to the man page output |
177 | 177 |
#--------------------------------------------------------------------------- |
178 | 178 |
GENERATE_MAN = NO |
179 | 179 |
MAN_OUTPUT = man |
180 | 180 |
MAN_EXTENSION = .3 |
181 | 181 |
MAN_LINKS = NO |
182 | 182 |
#--------------------------------------------------------------------------- |
183 | 183 |
# configuration options related to the XML output |
184 | 184 |
#--------------------------------------------------------------------------- |
185 | 185 |
GENERATE_XML = NO |
186 | 186 |
XML_OUTPUT = xml |
187 | 187 |
XML_SCHEMA = |
188 | 188 |
XML_DTD = |
189 | 189 |
XML_PROGRAMLISTING = YES |
190 | 190 |
#--------------------------------------------------------------------------- |
191 | 191 |
# configuration options for the AutoGen Definitions output |
192 | 192 |
#--------------------------------------------------------------------------- |
193 | 193 |
GENERATE_AUTOGEN_DEF = NO |
194 | 194 |
#--------------------------------------------------------------------------- |
195 | 195 |
# configuration options related to the Perl module output |
196 | 196 |
#--------------------------------------------------------------------------- |
197 | 197 |
GENERATE_PERLMOD = NO |
198 | 198 |
PERLMOD_LATEX = NO |
199 | 199 |
PERLMOD_PRETTY = YES |
200 | 200 |
PERLMOD_MAKEVAR_PREFIX = |
201 | 201 |
#--------------------------------------------------------------------------- |
202 | 202 |
# Configuration options related to the preprocessor |
203 | 203 |
#--------------------------------------------------------------------------- |
204 | 204 |
ENABLE_PREPROCESSING = YES |
205 | 205 |
MACRO_EXPANSION = NO |
206 | 206 |
EXPAND_ONLY_PREDEF = NO |
207 | 207 |
SEARCH_INCLUDES = YES |
208 | 208 |
INCLUDE_PATH = |
209 | 209 |
INCLUDE_FILE_PATTERNS = |
210 | 210 |
PREDEFINED = DOXYGEN |
211 | 211 |
EXPAND_AS_DEFINED = |
212 | 212 |
SKIP_FUNCTION_MACROS = YES |
213 | 213 |
#--------------------------------------------------------------------------- |
214 | 214 |
# Configuration::additions related to external references |
215 | 215 |
#--------------------------------------------------------------------------- |
216 | 216 |
TAGFILES = "@abs_top_srcdir@/doc/libstdc++.tag = http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/ " |
217 | 217 |
GENERATE_TAGFILE = html/lemon.tag |
218 | 218 |
ALLEXTERNALS = NO |
219 | 219 |
EXTERNAL_GROUPS = NO |
220 | 220 |
PERL_PATH = /usr/bin/perl |
221 | 221 |
#--------------------------------------------------------------------------- |
222 | 222 |
# Configuration options related to the dot tool |
223 | 223 |
#--------------------------------------------------------------------------- |
224 | 224 |
CLASS_DIAGRAMS = NO |
225 | 225 |
MSCGEN_PATH = |
226 | 226 |
HIDE_UNDOC_RELATIONS = YES |
227 | 227 |
HAVE_DOT = YES |
228 | 228 |
CLASS_GRAPH = YES |
229 | 229 |
COLLABORATION_GRAPH = NO |
230 | 230 |
GROUP_GRAPHS = NO |
231 | 231 |
UML_LOOK = NO |
232 | 232 |
TEMPLATE_RELATIONS = NO |
233 | 233 |
INCLUDE_GRAPH = NO |
234 | 234 |
INCLUDED_BY_GRAPH = NO |
235 | 235 |
CALL_GRAPH = NO |
236 | 236 |
CALLER_GRAPH = NO |
237 | 237 |
GRAPHICAL_HIERARCHY = NO |
238 | 238 |
DIRECTORY_GRAPH = NO |
239 | 239 |
DOT_IMAGE_FORMAT = png |
240 | 240 |
DOT_PATH = |
241 | 241 |
DOTFILE_DIRS = |
242 | 242 |
DOT_GRAPH_MAX_NODES = 50 |
243 | 243 |
MAX_DOT_GRAPH_DEPTH = 0 |
244 | 244 |
DOT_TRANSPARENT = NO |
0 comments (0 inline)