-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathconfigure.ac
270 lines (254 loc) · 13.3 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT([msolve], [0.7.3], [ederc@mathematik.uni-kl.de,mohab.safey@lip6.fr])
AC_SUBST([LT_VERSION],[1:3:1])
AM_INIT_AUTOMAKE([-Wall -Werror foreign silent-rules subdir-objects color-tests parallel-tests])
AC_CONFIG_SRCDIR([config.h.in])
AC_CONFIG_MACRO_DIR([m4])
AM_MAINTAINER_MODE
AM_PROG_AR
LT_INIT
# Checks for programs.
AC_PROG_CC
# Checks for libraries.
# CAUTION: Order matters for static binary building.
AC_SEARCH_LIBS([atan2],[m],
[],
[AC_MSG_ERROR(["The C math library was not found!"])])
AC_SEARCH_LIBS([__gmpz_init],[gmp],
[],
[AC_MSG_ERROR(["GMP library was not found."])])
AC_SEARCH_LIBS([mpfr_init],[mpfr],
[],
[AC_MSG_ERROR([MPFR library was not found.])])
AC_SEARCH_LIBS([fmpz_add_ui],[flint],
[],
[AC_MSG_ERROR([FLINT library was not found.])])
# check if we want OpenMP support
AC_ARG_ENABLE([openmp],
[ --enable-openmp Enable OpenMP support],
[case "${enableval}" in
yes) openmp=true ;;
no) openmp=false ;;
*) AC_MSG_ERROR([bad value ${enableval} for --enable-openmp]) ;;
esac],[openmp=true])
if test x$openmp = xtrue ; then
AC_OPENMP
fi
# Checks for header files.
AC_CHECK_HEADERS([inttypes.h stdint.h sys/time.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_INLINE
AC_TYPE_INT16_T
AC_TYPE_INT32_T
AC_TYPE_INT64_T
AC_TYPE_INT8_T
AC_TYPE_SIZE_T
AC_TYPE_UINT16_T
AC_TYPE_UINT32_T
AC_TYPE_UINT64_T
AC_TYPE_UINT8_T
AX_COUNT_CPUS
AX_EXT
AX_GCC_BUILTIN([__builtin_constant_p])
AX_GCC_BUILTIN([__builtin_clzll])
AX_GCC_BUILTIN([__builtin_clzl])
# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS([floor getdelim gettimeofday memmove memset pow sqrt strchr strstr strtol])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([
Makefile
msolve.pc
src/fglm/Makefile
src/neogb/Makefile
src/usolve/Makefile
src/msolve/Makefile
])
AC_CONFIG_LINKS([
input_files/line_endings/in1_dos.ms:input_files/line_endings/in1_dos.ms
input_files/line_endings/in2_dos_noeol.ms:input_files/line_endings/in2_dos_noeol.ms
input_files/line_endings/in3_dos.ms:input_files/line_endings/in3_dos.ms
input_files/line_endings/in4_dos.ms:input_files/line_endings/in4_dos.ms
input_files/line_endings/in1_unix.ms:input_files/line_endings/in1_unix.ms
input_files/line_endings/in2_unix.ms:input_files/line_endings/in2_unix.ms
input_files/line_endings/in3_unix.ms:input_files/line_endings/in3_unix.ms
input_files/line_endings/in4_unix.ms:input_files/line_endings/in4_unix.ms
test/diff/diff_source.sh:test/diff/diff_source.sh
test/diff/diff_source-groebner.sh:test/diff/diff_source-groebner.sh
input_files/cp_d_3_n_4_p_2.ms:input_files/cp_d_3_n_4_p_2.ms
output_files/cp_d_3_n_4_p_2.res:output_files/cp_d_3_n_4_p_2.res
test/diff/diff_cp_d_3_n_4_p_2.sh:test/diff/diff_cp_d_3_n_4_p_2.sh
input_files/cyclic5-16.ms:input_files/cyclic5-16.ms
output_files/cyclic5-16.res:output_files/cyclic5-16.res
test/diff/diff_cyclic5-16.sh:test/diff/diff_cyclic5-16.sh
input_files/cyclic5-31.ms:input_files/cyclic5-31.ms
output_files/cyclic5-31.res:output_files/cyclic5-31.res
test/diff/diff_cyclic5-31.sh:test/diff/diff_cyclic5-31.sh
input_files/eco6-16.ms:input_files/eco6-16.ms
output_files/eco6-16.res:output_files/eco6-16.res
test/diff/diff_eco6-16.sh:test/diff/diff_eco6-16.sh
input_files/eco6-31.ms:input_files/eco6-31.ms
output_files/eco6-31.res:output_files/eco6-31.res
test/diff/diff_eco6-31.sh:test/diff/diff_eco6-31.sh
input_files/eco6-qq.ms:input_files/eco6-qq.ms
output_files/eco6-qq.res:output_files/eco6-qq.res
test/diff/diff_eco6-qq.sh:test/diff/diff_eco6-qq.sh
input_files/cyclic5-qq.ms:input_files/cyclic5-qq.ms
output_files/cyclic5-qq.res:output_files/cyclic5-qq.res
output_files/cyclic5-qq.g2.res:output_files/cyclic5-qq.g2.res
output_files/cyclic5-qq.g2.e1.res:output_files/cyclic5-qq.g2.e1.res
output_files/cyclic5-qq.g2.e2.res:output_files/cyclic5-qq.g2.e2.res
test/diff/diff_cyclic5-qq.sh:test/diff/diff_cyclic5-qq.sh
input_files/henrion5-qq.ms:input_files/henrion5-qq.ms
output_files/henrion5-qq.res:output_files/henrion5-qq.res
output_files/henrion5-qq.g2.res:output_files/henrion5-qq.g2.res
output_files/henrion5-qq.g2.e1.res:output_files/henrion5-qq.g2.e1.res
output_files/henrion5-qq.g2.e2.res:output_files/henrion5-qq.g2.e2.res
test/diff/diff_henrion5-qq.sh:test/diff/diff_henrion5-qq.sh
input_files/eco10-31.ms:input_files/eco10-31.ms
output_files/eco10-31.res:output_files/eco10-31.res
test/diff/diff_eco10-31.sh:test/diff/diff_eco10-31.sh
input_files/elim-31.ms:input_files/elim-31.ms
output_files/elim-31.res:output_files/elim-31.res
output_files/elim-31.e2.res:output_files/elim-31.e2.res
test/diff/diff_elim-31.sh:test/diff/diff_elim-31.sh
input_files/elim-qq.ms:input_files/elim-qq.ms
output_files/elim-qq.res:output_files/elim-qq.res
output_files/elim-qq.e2.res:output_files/elim-qq.e2.res
test/diff/diff_elim-qq.sh:test/diff/diff_elim-qq.sh
input_files/F4SAT-31.ms:input_files/F4SAT-31.ms
output_files/F4SAT-31.res:output_files/F4SAT-31.res
test/diff/diff_F4SAT-31.sh:test/diff/diff_F4SAT-31.sh
input_files/F4SAT-byone-31.ms:input_files/F4SAT-byone-31.ms
output_files/F4SAT-byone-31.res:output_files/F4SAT-byone-31.res
test/diff/diff_F4SAT-byone-31.sh:test/diff/diff_F4SAT-byone-31.sh
input_files/kat6-31.ms:input_files/kat6-31.ms
output_files/kat6-31.res:output_files/kat6-31.res
test/diff/diff_kat6-31.sh:test/diff/diff_kat6-31.sh
input_files/kat7-qq.ms:input_files/kat7-qq.ms
output_files/kat7-qq.res:output_files/kat7-qq.res
test/diff/diff_kat7-qq.sh:test/diff/diff_kat7-qq.sh
input_files/multy-16.ms:input_files/multy-16.ms
output_files/multy-16.res:output_files/multy-16.res
test/diff/diff_multy-16.sh:test/diff/diff_multy-16.sh
input_files/multy-31.ms:input_files/multy-31.ms
output_files/multy-31.res:output_files/multy-31.res
test/diff/diff_multy-31.sh:test/diff/diff_multy-31.sh
input_files/multy-qq.ms:input_files/multy-qq.ms
output_files/multy-qq.res:output_files/multy-qq.res
test/diff/diff_multy-qq.sh:test/diff/diff_multy-qq.sh
input_files/nonradical_shape-31.ms:input_files/nonradical_shape-31.ms
output_files/nonradical_shape-31.res:output_files/nonradical_shape-31.res
input_files/nonradical_shape-qq.ms:input_files/nonradical_shape-qq.ms
output_files/nonradical_shape-qq.res:output_files/nonradical_shape-qq.res
output_files/nonradical_shape-qq.p1024.res:output_files/nonradical_shape-qq.p1024.res
test/diff/diff_nonradical_shape-qq.sh:test/diff/diff_nonradical_shape-qq.sh
input_files/nonradical_radicalshape-31.ms:input_files/nonradical_radicalshape-31.ms
output_files/nonradical_radicalshape-31.res:output_files/nonradical_radicalshape-31.res
input_files/nonradical_radicalshape-qq.ms:input_files/nonradical_radicalshape-qq.ms
output_files/nonradical_radicalshape-qq.res:output_files/nonradical_radicalshape-qq.res
output_files/nonradical_radicalshape-qq.p3.res:output_files/nonradical_radicalshape-qq.p3.res
test/diff/diff_nonradical_radicalshape-qq.sh:test/diff/diff_nonradical_radicalshape-qq.sh
input_files/nonradical_radicalshape-no-square-31.ms:input_files/nonradical_radicalshape-no-square-31.ms
output_files/nonradical_radicalshape-no-square-31.c0.res:output_files/nonradical_radicalshape-no-square-31.c0.res
test/diff/diff_nonradical_radicalshape-no-square-31.sh:test/diff/diff_nonradical_radicalshape-no-square-31.sh
input_files/nonradical_radicalshape-no-square-qq.ms:input_files/nonradical_radicalshape-no-square-qq.ms
output_files/nonradical_radicalshape-no-square-qq.res:output_files/nonradical_radicalshape-no-square-qq.res
output_files/nonradical_radicalshape-no-square-qq.p3.res:output_files/nonradical_radicalshape-no-square-qq.p3.res
test/diff/diff_nonradical_radicalshape-no-square-qq.sh:test/diff/diff_nonradical_radicalshape-no-square-qq.sh
input_files/one-16.ms:input_files/one-16.ms
output_files/one-16.res:output_files/one-16.res
test/diff/diff_one-16.sh:test/diff/diff_one-16.sh
input_files/kat8-qq-truncate.ms:input_files/kat8-qq-truncate.ms
output_files/kat8-qq-truncate.res:output_files/kat8-qq-truncate.res
test/diff/diff_truncate_gb.sh:test/diff/diff_truncate_gb.sh
input_files/one-31.ms:input_files/one-31.ms
output_files/one-31.res:output_files/one-31.res
test/diff/diff_one-31.sh:test/diff/diff_one-31.sh
input_files/one-qq.ms:input_files/one-qq.ms
output_files/one-qq.res:output_files/one-qq.res
output_files/one-qq.g2.res:output_files/one-qq.g2.res
test/diff/diff_one-qq.sh:test/diff/diff_one-qq.sh
input_files/radical_shape-31.ms:input_files/radical_shape-31.ms
output_files/radical_shape-31.res:output_files/radical_shape-31.res
test/diff/diff_radical_shape-31.sh:test/diff/diff_radical_shape-31.sh
input_files/radical_shape-qq.ms:input_files/radical_shape-qq.ms
output_files/radical_shape-qq.res:output_files/radical_shape-qq.res
test/diff/diff_radical_shape-qq.sh:test/diff/diff_radical_shape-qq.sh
input_files/reals_dim0.ms:input_files/reals_dim0.ms
output_files/reals_dim0.res:output_files/reals_dim0.res
output_files/reals_dim0.p256.res:output_files/reals_dim0.p256.res
test/diff/diff_reals_dim0.sh:test/diff/diff_reals_dim0.sh
input_files/realroot1.ms:input_files/realroot1.ms
output_files/realroot1.res:output_files/realroot1.res
output_files/realroot1.p256.res:output_files/realroot1.p256.res
test/diff/diff_realroot1.sh:test/diff/diff_realroot1.sh
input_files/realroot-extraction-exact-root.ms:input_files/realroot-extraction-exact-root.ms
output_files/realroot-extraction-exact-root.res:output_files/realroot-extraction-exact-root.res
output_files/realroot-extraction-exact-root.p256.res:output_files/realroot-extraction-exact-root.p256.res
test/diff/diff_realroot-extraction-exact-root.sh:test/diff/diff_realroot-extraction-exact-root.sh
input_files/reals_dim0-extract.ms:input_files/reals_dim0-extract.ms
output_files/reals_dim0-extract.res:output_files/reals_dim0-extract.res
output_files/reals_dim0-extract.p256.res:output_files/reals_dim0-extract.p256.res
test/diff/diff_reals_dim0-extract.sh:test/diff/diff_reals_dim0-extract.sh
input_files/reals_dim0-chgvar.ms:input_files/reals_dim0-chgvar.ms
output_files/reals_dim0-chgvar.res:output_files/reals_dim0-chgvar.res
output_files/reals_dim0-chgvar.p256.res:output_files/reals_dim0-chgvar.p256.res
test/diff/diff_reals_dim0-chgvar.sh:test/diff/diff_reals_dim0-chgvar.sh
input_files/reals_dim0-swapvar.ms:input_files/reals_dim0-swapvar.ms
output_files/reals_dim0-swapvar.res:output_files/reals_dim0-swapvar.res
output_files/reals_dim0-swapvar.p256.res:output_files/reals_dim0-swapvar.p256.res
test/diff/diff_reals_dim0-swapvar.sh:test/diff/diff_reals_dim0-swapvar.sh
input_files/bug-empty-tracer.ms:input_files/bug-empty-tracer.ms
output_files/bug-empty-tracer.res:output_files/bug-empty-tracer.res
test/diff/diff_bug_empty_tracer.sh:test/diff/diff_bug_empty_tracer.sh
input_files/bug-2nd-prime-bad.ms:input_files/bug-2nd-prime-bad.ms
output_files/bug-2nd-prime-bad.res:output_files/bug-2nd-prime-bad.res
test/diff/diff_bug_2nd_prime_bad.sh:test/diff/diff_bug_2nd_prime_bad.sh
input_files/xy-qq.ms:input_files/xy-qq.ms
output_files/xy-qq.res:output_files/xy-qq.res
test/diff/diff_xy-qq.sh:test/diff/diff_xy-qq.sh
input_files/test-lifting2.ms:input_files/test-lifting2.ms
output_files/test-lifting2.res:output_files/test-lifting2.res
test/diff/diff_test-lifting2.sh:test/diff/diff_test-lifting2.sh
input_files/linear-qq.ms:input_files/linear-qq.ms
output_files/linear-qq.res:output_files/linear-qq.res
test/diff/diff_linear-qq.sh:test/diff/diff_linear-qq.sh
input_files/bug_68.ms:input_files/bug_68.ms
output_files/bug_68.res:output_files/bug_68.res
test/diff/diff_bug_68.sh:test/diff/diff_bug_68.sh
input_files/mq_2_1.ms:input_files/mq_2_1.ms
output_files/mq_2_1.res:output_files/mq_2_1.res
test/diff/diff_mq_2_1.sh:test/diff/diff_mq_2_1.sh
input_files/input-overflow-16.ms:input_files/input-overflow-16.ms
output_files/input-overflow-16.res:output_files/input-overflow-16.res
test/diff/diff_input-overflow-16.sh:test/diff/diff_input-overflow-16.sh
input_files/nf-8.ms:input_files/nf-8.ms
output_files/nf-8.res:output_files/nf-8.res
test/diff/diff_nf_8.sh:test/diff/diff_nf_8.sh
input_files/nf-16.ms:input_files/nf-16.ms
output_files/nf-16.res:output_files/nf-16.res
test/diff/diff_nf_16.sh:test/diff/diff_nf_16.sh
input_files/nf-31.ms:input_files/nf-31.ms
output_files/nf-31.res:output_files/nf-31.res
test/diff/diff_nf_31.sh:test/diff/diff_nf_31.sh
input_files/nf-lm-bug.ms:input_files/nf-lm-bug.ms
output_files/nf-lm-bug.res:output_files/nf-lm-bug.res
test/diff/diff_nf_lm_bug.sh:test/diff/diff_nf_lm_bug.sh
input_files/f4sat-field-char.ms:input_files/f4sat-field-char.ms
output_files/f4sat-field-char.res:output_files/f4sat-field-char.res
test/diff/diff_f4sat-field-char.sh:test/diff/diff_f4sat-field-char.sh
input_files/f4sat-zero-input.ms:input_files/f4sat-zero-input.ms
output_files/f4sat-zero-input.res:output_files/f4sat-zero-input.res
test/diff/diff_f4sat-zero-input.sh:test/diff/diff_f4sat-zero-input.sh
input_files/f4sat-is-saturated-check.ms:input_files/f4sat-is-saturated-check.ms
output_files/f4sat-is-saturated-check.res:output_files/f4sat-is-saturated-check.res
test/diff/diff_f4sat-is-saturated-check.sh:test/diff/diff_f4sat-is-saturated-check.sh
input_files/maxbitsize-bug.ms:input_files/maxbitsize-bug.ms
output_files/maxbitsize-bug.res:output_files/maxbitsize-bug.res
test/diff/diff_maxbitsize-bug.sh:test/diff/diff_maxbitsize-bug.sh
])
AC_OUTPUT