1 | #! /bin/sh |
---|
2 | |
---|
3 | # Guess values for system-dependent variables and create Makefiles. |
---|
4 | # Generated automatically using autoconf version 2.13 |
---|
5 | # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. |
---|
6 | # |
---|
7 | # This configure script is free software; the Free Software Foundation |
---|
8 | # gives unlimited permission to copy, distribute and modify it. |
---|
9 | |
---|
10 | # Defaults: |
---|
11 | ac_help= |
---|
12 | ac_default_prefix=/usr/local |
---|
13 | # Any additions from configure.in: |
---|
14 | ac_default_prefix=`pwd` |
---|
15 | ac_help="$ac_help |
---|
16 | \ |
---|
17 | --with-tmpdir=DIR use DIR as temporary directory" |
---|
18 | ac_help="$ac_help |
---|
19 | \ |
---|
20 | --enable-PACKAGE configure and/or build PACKAGE |
---|
21 | --disable-PACKAGE do not configure and/or build PACKAGE |
---|
22 | where PACKAGE can be: |
---|
23 | omalloc omalloc memory managment" |
---|
24 | ac_help="$ac_help |
---|
25 | \ |
---|
26 | gmp Gnu Multiple Precision package" |
---|
27 | ac_help="$ac_help |
---|
28 | \ |
---|
29 | MP Multi Protocol library" |
---|
30 | ac_help="$ac_help |
---|
31 | \ |
---|
32 | factory polynomial factorization library" |
---|
33 | ac_help="$ac_help |
---|
34 | \ |
---|
35 | libfac char set and modp poly factorization library" |
---|
36 | ac_help="$ac_help |
---|
37 | \ |
---|
38 | sgroup numerical semigroup computations" |
---|
39 | ac_help="$ac_help |
---|
40 | \ |
---|
41 | Singular CAS for Polynomial Computations" |
---|
42 | ac_help="$ac_help |
---|
43 | \ |
---|
44 | IntegerProgramming IntegerProgramming" |
---|
45 | ac_help="$ac_help |
---|
46 | \ |
---|
47 | Plural Plural" |
---|
48 | ac_help="$ac_help |
---|
49 | \ |
---|
50 | Texinfo Texinfo for info, texi2dvi, makeinfo" |
---|
51 | ac_help="$ac_help |
---|
52 | \ |
---|
53 | Texi2html Texinfo to HTML converter" |
---|
54 | ac_help="$ac_help |
---|
55 | \ |
---|
56 | doc Singular documentation" |
---|
57 | ac_help="$ac_help |
---|
58 | \ |
---|
59 | emacs emacs completion files" |
---|
60 | ac_help="$ac_help |
---|
61 | \ |
---|
62 | --with-PACKAGE use PACKAGE, provide dependent functionality |
---|
63 | --without-PACKAGE do not use PACKAGE, disable dependent functionality |
---|
64 | where PACKAGE can be: |
---|
65 | MP Multi Protocol library" |
---|
66 | ac_help="$ac_help |
---|
67 | \ |
---|
68 | factory polynomial factorization library" |
---|
69 | ac_help="$ac_help |
---|
70 | \ |
---|
71 | libfac char set and modp poly factorization library" |
---|
72 | ac_help="$ac_help |
---|
73 | \ |
---|
74 | --with-apint=PACKAGE use PACKAGE for arbitary integer arithmetic |
---|
75 | where PACKAGE can be gmp |
---|
76 | All additional --enable and --with options are passed to subsequent calls |
---|
77 | to configure of the packages to be built. See also configure --help in |
---|
78 | these packages (resp. subdirs). " |
---|
79 | |
---|
80 | # Initialize some variables set by options. |
---|
81 | # The variables have the same names as the options, with |
---|
82 | # dashes changed to underlines. |
---|
83 | build=NONE |
---|
84 | cache_file=./config.cache |
---|
85 | exec_prefix=NONE |
---|
86 | host=NONE |
---|
87 | no_create= |
---|
88 | nonopt=NONE |
---|
89 | no_recursion= |
---|
90 | prefix=NONE |
---|
91 | program_prefix=NONE |
---|
92 | program_suffix=NONE |
---|
93 | program_transform_name=s,x,x, |
---|
94 | silent= |
---|
95 | site= |
---|
96 | srcdir= |
---|
97 | target=NONE |
---|
98 | verbose= |
---|
99 | x_includes=NONE |
---|
100 | x_libraries=NONE |
---|
101 | bindir='${exec_prefix}/bin' |
---|
102 | sbindir='${exec_prefix}/sbin' |
---|
103 | libexecdir='${exec_prefix}/libexec' |
---|
104 | datadir='${prefix}/share' |
---|
105 | sysconfdir='${prefix}/etc' |
---|
106 | sharedstatedir='${prefix}/com' |
---|
107 | localstatedir='${prefix}/var' |
---|
108 | libdir='${exec_prefix}/lib' |
---|
109 | includedir='${prefix}/include' |
---|
110 | oldincludedir='/usr/include' |
---|
111 | infodir='${prefix}/info' |
---|
112 | mandir='${prefix}/man' |
---|
113 | |
---|
114 | # Initialize some other variables. |
---|
115 | subdirs= |
---|
116 | MFLAGS= MAKEFLAGS= |
---|
117 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
118 | # Maximum number of lines to put in a shell here document. |
---|
119 | ac_max_here_lines=12 |
---|
120 | |
---|
121 | ac_prev= |
---|
122 | for ac_option |
---|
123 | do |
---|
124 | |
---|
125 | # If the previous option needs an argument, assign it. |
---|
126 | if test -n "$ac_prev"; then |
---|
127 | eval "$ac_prev=\$ac_option" |
---|
128 | ac_prev= |
---|
129 | continue |
---|
130 | fi |
---|
131 | |
---|
132 | case "$ac_option" in |
---|
133 | -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; |
---|
134 | *) ac_optarg= ;; |
---|
135 | esac |
---|
136 | |
---|
137 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
138 | |
---|
139 | case "$ac_option" in |
---|
140 | |
---|
141 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
142 | ac_prev=bindir ;; |
---|
143 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
144 | bindir="$ac_optarg" ;; |
---|
145 | |
---|
146 | -build | --build | --buil | --bui | --bu) |
---|
147 | ac_prev=build ;; |
---|
148 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
149 | build="$ac_optarg" ;; |
---|
150 | |
---|
151 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
152 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
153 | ac_prev=cache_file ;; |
---|
154 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
155 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
156 | cache_file="$ac_optarg" ;; |
---|
157 | |
---|
158 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
---|
159 | ac_prev=datadir ;; |
---|
160 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
---|
161 | | --da=*) |
---|
162 | datadir="$ac_optarg" ;; |
---|
163 | |
---|
164 | -disable-* | --disable-*) |
---|
165 | ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` |
---|
166 | # Reject names that are not valid shell variable names. |
---|
167 | if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then |
---|
168 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
---|
169 | fi |
---|
170 | ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
---|
171 | eval "enable_${ac_feature}=no" ;; |
---|
172 | |
---|
173 | -enable-* | --enable-*) |
---|
174 | ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` |
---|
175 | # Reject names that are not valid shell variable names. |
---|
176 | if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then |
---|
177 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
---|
178 | fi |
---|
179 | ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
---|
180 | case "$ac_option" in |
---|
181 | *=*) ;; |
---|
182 | *) ac_optarg=yes ;; |
---|
183 | esac |
---|
184 | eval "enable_${ac_feature}='$ac_optarg'" ;; |
---|
185 | |
---|
186 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
187 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
188 | | --exec | --exe | --ex) |
---|
189 | ac_prev=exec_prefix ;; |
---|
190 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
191 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
192 | | --exec=* | --exe=* | --ex=*) |
---|
193 | exec_prefix="$ac_optarg" ;; |
---|
194 | |
---|
195 | -gas | --gas | --ga | --g) |
---|
196 | # Obsolete; use --with-gas. |
---|
197 | with_gas=yes ;; |
---|
198 | |
---|
199 | -help | --help | --hel | --he) |
---|
200 | # Omit some internal or obsolete options to make the list less imposing. |
---|
201 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
202 | cat << EOF |
---|
203 | Usage: configure [options] [host] |
---|
204 | Options: [defaults in brackets after descriptions] |
---|
205 | Configuration: |
---|
206 | --cache-file=FILE cache test results in FILE |
---|
207 | --help print this message |
---|
208 | --no-create do not create output files |
---|
209 | --quiet, --silent do not print \`checking...' messages |
---|
210 | --version print the version of autoconf that created configure |
---|
211 | Directory and file names: |
---|
212 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
213 | [$ac_default_prefix] |
---|
214 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
215 | [same as prefix] |
---|
216 | --bindir=DIR user executables in DIR [EPREFIX/bin] |
---|
217 | --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] |
---|
218 | --libexecdir=DIR program executables in DIR [EPREFIX/libexec] |
---|
219 | --datadir=DIR read-only architecture-independent data in DIR |
---|
220 | [PREFIX/share] |
---|
221 | --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] |
---|
222 | --sharedstatedir=DIR modifiable architecture-independent data in DIR |
---|
223 | [PREFIX/com] |
---|
224 | --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] |
---|
225 | --libdir=DIR object code libraries in DIR [EPREFIX/lib] |
---|
226 | --includedir=DIR C header files in DIR [PREFIX/include] |
---|
227 | --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] |
---|
228 | --infodir=DIR info documentation in DIR [PREFIX/info] |
---|
229 | --mandir=DIR man documentation in DIR [PREFIX/man] |
---|
230 | --srcdir=DIR find the sources in DIR [configure dir or ..] |
---|
231 | --program-prefix=PREFIX prepend PREFIX to installed program names |
---|
232 | --program-suffix=SUFFIX append SUFFIX to installed program names |
---|
233 | --program-transform-name=PROGRAM |
---|
234 | run sed PROGRAM on installed program names |
---|
235 | EOF |
---|
236 | cat << EOF |
---|
237 | Host type: |
---|
238 | --build=BUILD configure for building on BUILD [BUILD=HOST] |
---|
239 | --host=HOST configure for HOST [guessed] |
---|
240 | --target=TARGET configure for TARGET [TARGET=HOST] |
---|
241 | Features and packages: |
---|
242 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
---|
243 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
---|
244 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
---|
245 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
---|
246 | --x-includes=DIR X include files are in DIR |
---|
247 | --x-libraries=DIR X library files are in DIR |
---|
248 | EOF |
---|
249 | if test -n "$ac_help"; then |
---|
250 | echo "--enable and --with options recognized:$ac_help" |
---|
251 | fi |
---|
252 | exit 0 ;; |
---|
253 | |
---|
254 | -host | --host | --hos | --ho) |
---|
255 | ac_prev=host ;; |
---|
256 | -host=* | --host=* | --hos=* | --ho=*) |
---|
257 | host="$ac_optarg" ;; |
---|
258 | |
---|
259 | -includedir | --includedir | --includedi | --included | --include \ |
---|
260 | | --includ | --inclu | --incl | --inc) |
---|
261 | ac_prev=includedir ;; |
---|
262 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
263 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
264 | includedir="$ac_optarg" ;; |
---|
265 | |
---|
266 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
267 | ac_prev=infodir ;; |
---|
268 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
269 | infodir="$ac_optarg" ;; |
---|
270 | |
---|
271 | -libdir | --libdir | --libdi | --libd) |
---|
272 | ac_prev=libdir ;; |
---|
273 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
274 | libdir="$ac_optarg" ;; |
---|
275 | |
---|
276 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
277 | | --libexe | --libex | --libe) |
---|
278 | ac_prev=libexecdir ;; |
---|
279 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
280 | | --libexe=* | --libex=* | --libe=*) |
---|
281 | libexecdir="$ac_optarg" ;; |
---|
282 | |
---|
283 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
284 | | --localstate | --localstat | --localsta | --localst \ |
---|
285 | | --locals | --local | --loca | --loc | --lo) |
---|
286 | ac_prev=localstatedir ;; |
---|
287 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
288 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
---|
289 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
---|
290 | localstatedir="$ac_optarg" ;; |
---|
291 | |
---|
292 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
293 | ac_prev=mandir ;; |
---|
294 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
295 | mandir="$ac_optarg" ;; |
---|
296 | |
---|
297 | -nfp | --nfp | --nf) |
---|
298 | # Obsolete; use --without-fp. |
---|
299 | with_fp=no ;; |
---|
300 | |
---|
301 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
302 | | --no-cr | --no-c) |
---|
303 | no_create=yes ;; |
---|
304 | |
---|
305 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
306 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
307 | no_recursion=yes ;; |
---|
308 | |
---|
309 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
310 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
311 | | --oldin | --oldi | --old | --ol | --o) |
---|
312 | ac_prev=oldincludedir ;; |
---|
313 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
314 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
315 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
316 | oldincludedir="$ac_optarg" ;; |
---|
317 | |
---|
318 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
319 | ac_prev=prefix ;; |
---|
320 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
321 | prefix="$ac_optarg" ;; |
---|
322 | |
---|
323 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
324 | | --program-pre | --program-pr | --program-p) |
---|
325 | ac_prev=program_prefix ;; |
---|
326 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
327 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
328 | program_prefix="$ac_optarg" ;; |
---|
329 | |
---|
330 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
331 | | --program-suf | --program-su | --program-s) |
---|
332 | ac_prev=program_suffix ;; |
---|
333 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
334 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
335 | program_suffix="$ac_optarg" ;; |
---|
336 | |
---|
337 | -program-transform-name | --program-transform-name \ |
---|
338 | | --program-transform-nam | --program-transform-na \ |
---|
339 | | --program-transform-n | --program-transform- \ |
---|
340 | | --program-transform | --program-transfor \ |
---|
341 | | --program-transfo | --program-transf \ |
---|
342 | | --program-trans | --program-tran \ |
---|
343 | | --progr-tra | --program-tr | --program-t) |
---|
344 | ac_prev=program_transform_name ;; |
---|
345 | -program-transform-name=* | --program-transform-name=* \ |
---|
346 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
347 | | --program-transform-n=* | --program-transform-=* \ |
---|
348 | | --program-transform=* | --program-transfor=* \ |
---|
349 | | --program-transfo=* | --program-transf=* \ |
---|
350 | | --program-trans=* | --program-tran=* \ |
---|
351 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
352 | program_transform_name="$ac_optarg" ;; |
---|
353 | |
---|
354 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
355 | | -silent | --silent | --silen | --sile | --sil) |
---|
356 | silent=yes ;; |
---|
357 | |
---|
358 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
359 | ac_prev=sbindir ;; |
---|
360 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
361 | | --sbi=* | --sb=*) |
---|
362 | sbindir="$ac_optarg" ;; |
---|
363 | |
---|
364 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
365 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
366 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
367 | | --sha | --sh) |
---|
368 | ac_prev=sharedstatedir ;; |
---|
369 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
370 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
371 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
372 | | --sha=* | --sh=*) |
---|
373 | sharedstatedir="$ac_optarg" ;; |
---|
374 | |
---|
375 | -site | --site | --sit) |
---|
376 | ac_prev=site ;; |
---|
377 | -site=* | --site=* | --sit=*) |
---|
378 | site="$ac_optarg" ;; |
---|
379 | |
---|
380 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
381 | ac_prev=srcdir ;; |
---|
382 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
383 | srcdir="$ac_optarg" ;; |
---|
384 | |
---|
385 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
386 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
387 | ac_prev=sysconfdir ;; |
---|
388 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
389 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
390 | sysconfdir="$ac_optarg" ;; |
---|
391 | |
---|
392 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
393 | ac_prev=target ;; |
---|
394 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
395 | target="$ac_optarg" ;; |
---|
396 | |
---|
397 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
398 | verbose=yes ;; |
---|
399 | |
---|
400 | -version | --version | --versio | --versi | --vers) |
---|
401 | echo "configure generated by autoconf version 2.13" |
---|
402 | exit 0 ;; |
---|
403 | |
---|
404 | -with-* | --with-*) |
---|
405 | ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` |
---|
406 | # Reject names that are not valid shell variable names. |
---|
407 | if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then |
---|
408 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
---|
409 | fi |
---|
410 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
---|
411 | case "$ac_option" in |
---|
412 | *=*) ;; |
---|
413 | *) ac_optarg=yes ;; |
---|
414 | esac |
---|
415 | eval "with_${ac_package}='$ac_optarg'" ;; |
---|
416 | |
---|
417 | -without-* | --without-*) |
---|
418 | ac_package=`echo $ac_option|sed -e 's/-*without-//'` |
---|
419 | # Reject names that are not valid shell variable names. |
---|
420 | if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then |
---|
421 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
---|
422 | fi |
---|
423 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
---|
424 | eval "with_${ac_package}=no" ;; |
---|
425 | |
---|
426 | --x) |
---|
427 | # Obsolete; use --with-x. |
---|
428 | with_x=yes ;; |
---|
429 | |
---|
430 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
431 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
432 | ac_prev=x_includes ;; |
---|
433 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
434 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
435 | x_includes="$ac_optarg" ;; |
---|
436 | |
---|
437 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
438 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
439 | ac_prev=x_libraries ;; |
---|
440 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
441 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
442 | x_libraries="$ac_optarg" ;; |
---|
443 | |
---|
444 | -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } |
---|
445 | ;; |
---|
446 | |
---|
447 | *) |
---|
448 | if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then |
---|
449 | echo "configure: warning: $ac_option: invalid host type" 1>&2 |
---|
450 | fi |
---|
451 | if test "x$nonopt" != xNONE; then |
---|
452 | { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } |
---|
453 | fi |
---|
454 | nonopt="$ac_option" |
---|
455 | ;; |
---|
456 | |
---|
457 | esac |
---|
458 | done |
---|
459 | |
---|
460 | if test -n "$ac_prev"; then |
---|
461 | { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } |
---|
462 | fi |
---|
463 | |
---|
464 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
---|
465 | |
---|
466 | # File descriptor usage: |
---|
467 | # 0 standard input |
---|
468 | # 1 file creation |
---|
469 | # 2 errors and warnings |
---|
470 | # 3 some systems may open it to /dev/tty |
---|
471 | # 4 used on the Kubota Titan |
---|
472 | # 6 checking for... messages and results |
---|
473 | # 5 compiler messages saved in config.log |
---|
474 | if test "$silent" = yes; then |
---|
475 | exec 6>/dev/null |
---|
476 | else |
---|
477 | exec 6>&1 |
---|
478 | fi |
---|
479 | exec 5>./config.log |
---|
480 | |
---|
481 | echo "\ |
---|
482 | This file contains any messages produced by compilers while |
---|
483 | running configure, to aid debugging if configure makes a mistake. |
---|
484 | " 1>&5 |
---|
485 | |
---|
486 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
487 | # Also quote any args containing shell metacharacters. |
---|
488 | ac_configure_args= |
---|
489 | for ac_arg |
---|
490 | do |
---|
491 | case "$ac_arg" in |
---|
492 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
493 | | --no-cr | --no-c) ;; |
---|
494 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
495 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; |
---|
496 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) |
---|
497 | ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
---|
498 | *) ac_configure_args="$ac_configure_args $ac_arg" ;; |
---|
499 | esac |
---|
500 | done |
---|
501 | |
---|
502 | # NLS nuisances. |
---|
503 | # Only set these to C if already set. These must not be set unconditionally |
---|
504 | # because not all systems understand e.g. LANG=C (notably SCO). |
---|
505 | # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! |
---|
506 | # Non-C LC_CTYPE values break the ctype check. |
---|
507 | if test "${LANG+set}" = set; then LANG=C; export LANG; fi |
---|
508 | if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi |
---|
509 | if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi |
---|
510 | if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi |
---|
511 | |
---|
512 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
513 | rm -rf conftest* confdefs.h |
---|
514 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
---|
515 | echo > confdefs.h |
---|
516 | |
---|
517 | # A filename unique to this package, relative to the directory that |
---|
518 | # configure is in, which we can look for to find out if srcdir is correct. |
---|
519 | ac_unique_file=kernel/matpol.h |
---|
520 | |
---|
521 | # Find the source files, if location was not specified. |
---|
522 | if test -z "$srcdir"; then |
---|
523 | ac_srcdir_defaulted=yes |
---|
524 | # Try the directory containing this script, then its parent. |
---|
525 | ac_prog=$0 |
---|
526 | ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` |
---|
527 | test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. |
---|
528 | srcdir=$ac_confdir |
---|
529 | if test ! -r $srcdir/$ac_unique_file; then |
---|
530 | srcdir=.. |
---|
531 | fi |
---|
532 | else |
---|
533 | ac_srcdir_defaulted=no |
---|
534 | fi |
---|
535 | if test ! -r $srcdir/$ac_unique_file; then |
---|
536 | if test "$ac_srcdir_defaulted" = yes; then |
---|
537 | { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } |
---|
538 | else |
---|
539 | { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } |
---|
540 | fi |
---|
541 | fi |
---|
542 | srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` |
---|
543 | |
---|
544 | # Prefer explicitly selected file to automatically selected ones. |
---|
545 | if test -z "$CONFIG_SITE"; then |
---|
546 | if test "x$prefix" != xNONE; then |
---|
547 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
---|
548 | else |
---|
549 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
---|
550 | fi |
---|
551 | fi |
---|
552 | for ac_site_file in $CONFIG_SITE; do |
---|
553 | if test -r "$ac_site_file"; then |
---|
554 | echo "loading site script $ac_site_file" |
---|
555 | . "$ac_site_file" |
---|
556 | fi |
---|
557 | done |
---|
558 | |
---|
559 | if test -r "$cache_file"; then |
---|
560 | echo "loading cache $cache_file" |
---|
561 | . $cache_file |
---|
562 | else |
---|
563 | echo "creating cache $cache_file" |
---|
564 | > $cache_file |
---|
565 | fi |
---|
566 | |
---|
567 | ac_ext=c |
---|
568 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
---|
569 | ac_cpp='$CPP $CPPFLAGS' |
---|
570 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
---|
571 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
---|
572 | cross_compiling=$ac_cv_prog_cc_cross |
---|
573 | |
---|
574 | ac_exeext= |
---|
575 | ac_objext=o |
---|
576 | if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |
---|
577 | # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. |
---|
578 | if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then |
---|
579 | ac_n= ac_c=' |
---|
580 | ' ac_t=' ' |
---|
581 | else |
---|
582 | ac_n=-n ac_c= ac_t= |
---|
583 | fi |
---|
584 | else |
---|
585 | ac_n= ac_c='\c' ac_t= |
---|
586 | fi |
---|
587 | |
---|
588 | |
---|
589 | |
---|
590 | pwd=`pwd` |
---|
591 | |
---|
592 | # make them to env variables |
---|
593 | # pass them indirectly to subsequent configures |
---|
594 | SINGULAR_MAJOR_VERSION=3 |
---|
595 | SINGULAR_MINOR_VERSION=0 |
---|
596 | SINGULAR_SUB_VERSION=2 |
---|
597 | VERSION_SEP="-" |
---|
598 | SINGULAR_SHORT_VERSION="${SINGULAR_MAJOR_VERSION}${VERSION_SEP}${SINGULAR_MINOR_VERSION}" |
---|
599 | SINGULAR_VERSION="${SINGULAR_SHORT_VERSION}${VERSION_SEP}${SINGULAR_SUB_VERSION}" |
---|
600 | SINGULAR_RPM_VERSION="${SINGULAR_MAJOR_VERSION}.${SINGULAR_MINOR_VERSION}.${SINGULAR_SUB_VERSION}" |
---|
601 | VERSION_DATE="May 2006" |
---|
602 | SINGULAR_ROOT_DIR=$pwd |
---|
603 | |
---|
604 | export SINGULAR_MINOR_VERSION |
---|
605 | export SINGULAR_MAJOR_VERSION |
---|
606 | export SINGULAR_SUB_VERSION |
---|
607 | export SINGULAR_VERSION |
---|
608 | export SINGULAR_RPM_VERSION |
---|
609 | export VERSION_DATE |
---|
610 | export SINGULAR_ROOT_DIR |
---|
611 | |
---|
612 | |
---|
613 | |
---|
614 | |
---|
615 | |
---|
616 | |
---|
617 | |
---|
618 | |
---|
619 | # determine Makefiles to output |
---|
620 | OUTPUT_MAKEFILES="Makefile" |
---|
621 | if test -d "doc"; then |
---|
622 | OUTPUT_MAKEFILES="$OUTPUT_MAKEFILES doc/Makefile doc/version.texi doc/uname.texi" |
---|
623 | fi |
---|
624 | if test -d "emacs"; then |
---|
625 | OUTPUT_MAKEFILES=$OUTPUT_MAKEFILES" emacs/Makefile" |
---|
626 | fi |
---|
627 | if test -d "IntegerProgramming"; then |
---|
628 | OUTPUT_MAKEFILES=$OUTPUT_MAKEFILES" IntegerProgramming/Makefile" |
---|
629 | fi |
---|
630 | if test -d "Plural"; then |
---|
631 | OUTPUT_MAKEFILES=$OUTPUT_MAKEFILES" Plural/Makefile" |
---|
632 | fi |
---|
633 | if test -d "InstallShield"; then |
---|
634 | OUTPUT_MAKEFILES=$OUTPUT_MAKEFILES" InstallShield/Makefile InstallShield/Etc/Makefile InstallShield/Cygwin/Makefile InstallShield/Singular/Makefile InstallShield/Xemacs/Makefile" |
---|
635 | fi |
---|
636 | |
---|
637 | |
---|
638 | echo $ac_n "checking uname for singular""... $ac_c" 1>&6 |
---|
639 | echo "configure:640: checking uname for singular" >&5 |
---|
640 | if eval "test \"`echo '$''{'ac_cv_singuname'+set}'`\" = set"; then |
---|
641 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
642 | else |
---|
643 | ac_cv_singuname="unknown" |
---|
644 | if test -r "singuname.sh"; then |
---|
645 | if (/bin/sh singuname.sh >/dev/null 2>&1) then |
---|
646 | ac_cv_singuname=`/bin/sh singuname.sh` |
---|
647 | fi |
---|
648 | fi |
---|
649 | |
---|
650 | fi |
---|
651 | |
---|
652 | echo "$ac_t""$ac_cv_singuname" 1>&6 |
---|
653 | if test "$ac_cv_singuname" = unknown; then |
---|
654 | { echo "configure: error: Unknown architecture: Check singuname.sh" 1>&2; exit 1; } |
---|
655 | else |
---|
656 | SINGUNAME=$ac_cv_singuname |
---|
657 | |
---|
658 | fi |
---|
659 | |
---|
660 | SING_UNAME=`echo $SINGUNAME | tr '-' '_' ` |
---|
661 | |
---|
662 | |
---|
663 | |
---|
664 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
665 | set dummy gcc; ac_word=$2 |
---|
666 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
667 | echo "configure:668: checking for $ac_word" >&5 |
---|
668 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
---|
669 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
670 | else |
---|
671 | if test -n "$CC"; then |
---|
672 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
673 | else |
---|
674 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
675 | ac_dummy="$PATH" |
---|
676 | for ac_dir in $ac_dummy; do |
---|
677 | test -z "$ac_dir" && ac_dir=. |
---|
678 | if test -f $ac_dir/$ac_word; then |
---|
679 | ac_cv_prog_CC="gcc" |
---|
680 | break |
---|
681 | fi |
---|
682 | done |
---|
683 | IFS="$ac_save_ifs" |
---|
684 | fi |
---|
685 | fi |
---|
686 | CC="$ac_cv_prog_CC" |
---|
687 | if test -n "$CC"; then |
---|
688 | echo "$ac_t""$CC" 1>&6 |
---|
689 | else |
---|
690 | echo "$ac_t""no" 1>&6 |
---|
691 | fi |
---|
692 | |
---|
693 | if test -z "$CC"; then |
---|
694 | # Extract the first word of "cc", so it can be a program name with args. |
---|
695 | set dummy cc; ac_word=$2 |
---|
696 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
697 | echo "configure:698: checking for $ac_word" >&5 |
---|
698 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
---|
699 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
700 | else |
---|
701 | if test -n "$CC"; then |
---|
702 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
703 | else |
---|
704 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
705 | ac_prog_rejected=no |
---|
706 | ac_dummy="$PATH" |
---|
707 | for ac_dir in $ac_dummy; do |
---|
708 | test -z "$ac_dir" && ac_dir=. |
---|
709 | if test -f $ac_dir/$ac_word; then |
---|
710 | if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
---|
711 | ac_prog_rejected=yes |
---|
712 | continue |
---|
713 | fi |
---|
714 | ac_cv_prog_CC="cc" |
---|
715 | break |
---|
716 | fi |
---|
717 | done |
---|
718 | IFS="$ac_save_ifs" |
---|
719 | if test $ac_prog_rejected = yes; then |
---|
720 | # We found a bogon in the path, so make sure we never use it. |
---|
721 | set dummy $ac_cv_prog_CC |
---|
722 | shift |
---|
723 | if test $# -gt 0; then |
---|
724 | # We chose a different compiler from the bogus one. |
---|
725 | # However, it has the same basename, so the bogon will be chosen |
---|
726 | # first if we set CC to just the basename; use the full file name. |
---|
727 | shift |
---|
728 | set dummy "$ac_dir/$ac_word" "$@" |
---|
729 | shift |
---|
730 | ac_cv_prog_CC="$@" |
---|
731 | fi |
---|
732 | fi |
---|
733 | fi |
---|
734 | fi |
---|
735 | CC="$ac_cv_prog_CC" |
---|
736 | if test -n "$CC"; then |
---|
737 | echo "$ac_t""$CC" 1>&6 |
---|
738 | else |
---|
739 | echo "$ac_t""no" 1>&6 |
---|
740 | fi |
---|
741 | |
---|
742 | if test -z "$CC"; then |
---|
743 | case "`uname -s`" in |
---|
744 | *win32* | *WIN32*) |
---|
745 | # Extract the first word of "cl", so it can be a program name with args. |
---|
746 | set dummy cl; ac_word=$2 |
---|
747 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
748 | echo "configure:749: checking for $ac_word" >&5 |
---|
749 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
---|
750 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
751 | else |
---|
752 | if test -n "$CC"; then |
---|
753 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
754 | else |
---|
755 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
756 | ac_dummy="$PATH" |
---|
757 | for ac_dir in $ac_dummy; do |
---|
758 | test -z "$ac_dir" && ac_dir=. |
---|
759 | if test -f $ac_dir/$ac_word; then |
---|
760 | ac_cv_prog_CC="cl" |
---|
761 | break |
---|
762 | fi |
---|
763 | done |
---|
764 | IFS="$ac_save_ifs" |
---|
765 | fi |
---|
766 | fi |
---|
767 | CC="$ac_cv_prog_CC" |
---|
768 | if test -n "$CC"; then |
---|
769 | echo "$ac_t""$CC" 1>&6 |
---|
770 | else |
---|
771 | echo "$ac_t""no" 1>&6 |
---|
772 | fi |
---|
773 | ;; |
---|
774 | esac |
---|
775 | fi |
---|
776 | test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
---|
777 | fi |
---|
778 | |
---|
779 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
---|
780 | echo "configure:781: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
---|
781 | |
---|
782 | ac_ext=c |
---|
783 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
---|
784 | ac_cpp='$CPP $CPPFLAGS' |
---|
785 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
---|
786 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
---|
787 | cross_compiling=$ac_cv_prog_cc_cross |
---|
788 | |
---|
789 | cat > conftest.$ac_ext << EOF |
---|
790 | |
---|
791 | #line 792 "configure" |
---|
792 | #include "confdefs.h" |
---|
793 | |
---|
794 | main(){return(0);} |
---|
795 | EOF |
---|
796 | if { (eval echo configure:797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
797 | ac_cv_prog_cc_works=yes |
---|
798 | # If we can't run a trivial program, we are probably using a cross compiler. |
---|
799 | if (./conftest; exit) 2>/dev/null; then |
---|
800 | ac_cv_prog_cc_cross=no |
---|
801 | else |
---|
802 | ac_cv_prog_cc_cross=yes |
---|
803 | fi |
---|
804 | else |
---|
805 | echo "configure: failed program was:" >&5 |
---|
806 | cat conftest.$ac_ext >&5 |
---|
807 | ac_cv_prog_cc_works=no |
---|
808 | fi |
---|
809 | rm -fr conftest* |
---|
810 | ac_ext=c |
---|
811 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
---|
812 | ac_cpp='$CPP $CPPFLAGS' |
---|
813 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
---|
814 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
---|
815 | cross_compiling=$ac_cv_prog_cc_cross |
---|
816 | |
---|
817 | echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
---|
818 | if test $ac_cv_prog_cc_works = no; then |
---|
819 | { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
---|
820 | fi |
---|
821 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
---|
822 | echo "configure:823: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
---|
823 | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
---|
824 | cross_compiling=$ac_cv_prog_cc_cross |
---|
825 | |
---|
826 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
---|
827 | echo "configure:828: checking whether we are using GNU C" >&5 |
---|
828 | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
---|
829 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
830 | else |
---|
831 | cat > conftest.c <<EOF |
---|
832 | #ifdef __GNUC__ |
---|
833 | yes; |
---|
834 | #endif |
---|
835 | EOF |
---|
836 | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
---|
837 | ac_cv_prog_gcc=yes |
---|
838 | else |
---|
839 | ac_cv_prog_gcc=no |
---|
840 | fi |
---|
841 | fi |
---|
842 | |
---|
843 | echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
---|
844 | |
---|
845 | if test $ac_cv_prog_gcc = yes; then |
---|
846 | GCC=yes |
---|
847 | else |
---|
848 | GCC= |
---|
849 | fi |
---|
850 | |
---|
851 | ac_test_CFLAGS="${CFLAGS+set}" |
---|
852 | ac_save_CFLAGS="$CFLAGS" |
---|
853 | CFLAGS= |
---|
854 | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
---|
855 | echo "configure:856: checking whether ${CC-cc} accepts -g" >&5 |
---|
856 | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
---|
857 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
858 | else |
---|
859 | echo 'void f(){}' > conftest.c |
---|
860 | if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
---|
861 | ac_cv_prog_cc_g=yes |
---|
862 | else |
---|
863 | ac_cv_prog_cc_g=no |
---|
864 | fi |
---|
865 | rm -f conftest* |
---|
866 | |
---|
867 | fi |
---|
868 | |
---|
869 | echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
---|
870 | if test "$ac_test_CFLAGS" = set; then |
---|
871 | CFLAGS="$ac_save_CFLAGS" |
---|
872 | elif test $ac_cv_prog_cc_g = yes; then |
---|
873 | if test "$GCC" = yes; then |
---|
874 | CFLAGS="-g -O2" |
---|
875 | else |
---|
876 | CFLAGS="-g" |
---|
877 | fi |
---|
878 | else |
---|
879 | if test "$GCC" = yes; then |
---|
880 | CFLAGS="-O2" |
---|
881 | else |
---|
882 | CFLAGS= |
---|
883 | fi |
---|
884 | fi |
---|
885 | |
---|
886 | echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
---|
887 | echo "configure:888: checking how to run the C preprocessor" >&5 |
---|
888 | # On Suns, sometimes $CPP names a directory. |
---|
889 | if test -n "$CPP" && test -d "$CPP"; then |
---|
890 | CPP= |
---|
891 | fi |
---|
892 | if test -z "$CPP"; then |
---|
893 | if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then |
---|
894 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
895 | else |
---|
896 | # This must be in double quotes, not single quotes, because CPP may get |
---|
897 | # substituted into the Makefile and "${CC-cc}" will confuse make. |
---|
898 | CPP="${CC-cc} -E" |
---|
899 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
900 | # not just through cpp. |
---|
901 | cat > conftest.$ac_ext <<EOF |
---|
902 | #line 903 "configure" |
---|
903 | #include "confdefs.h" |
---|
904 | #include <assert.h> |
---|
905 | Syntax Error |
---|
906 | EOF |
---|
907 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
908 | { (eval echo configure:909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
909 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
---|
910 | if test -z "$ac_err"; then |
---|
911 | : |
---|
912 | else |
---|
913 | echo "$ac_err" >&5 |
---|
914 | echo "configure: failed program was:" >&5 |
---|
915 | cat conftest.$ac_ext >&5 |
---|
916 | rm -rf conftest* |
---|
917 | CPP="${CC-cc} -E -traditional-cpp" |
---|
918 | cat > conftest.$ac_ext <<EOF |
---|
919 | #line 920 "configure" |
---|
920 | #include "confdefs.h" |
---|
921 | #include <assert.h> |
---|
922 | Syntax Error |
---|
923 | EOF |
---|
924 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
925 | { (eval echo configure:926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
926 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
---|
927 | if test -z "$ac_err"; then |
---|
928 | : |
---|
929 | else |
---|
930 | echo "$ac_err" >&5 |
---|
931 | echo "configure: failed program was:" >&5 |
---|
932 | cat conftest.$ac_ext >&5 |
---|
933 | rm -rf conftest* |
---|
934 | CPP="${CC-cc} -nologo -E" |
---|
935 | cat > conftest.$ac_ext <<EOF |
---|
936 | #line 937 "configure" |
---|
937 | #include "confdefs.h" |
---|
938 | #include <assert.h> |
---|
939 | Syntax Error |
---|
940 | EOF |
---|
941 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
942 | { (eval echo configure:943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
943 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
---|
944 | if test -z "$ac_err"; then |
---|
945 | : |
---|
946 | else |
---|
947 | echo "$ac_err" >&5 |
---|
948 | echo "configure: failed program was:" >&5 |
---|
949 | cat conftest.$ac_ext >&5 |
---|
950 | rm -rf conftest* |
---|
951 | CPP=/lib/cpp |
---|
952 | fi |
---|
953 | rm -f conftest* |
---|
954 | fi |
---|
955 | rm -f conftest* |
---|
956 | fi |
---|
957 | rm -f conftest* |
---|
958 | ac_cv_prog_CPP="$CPP" |
---|
959 | fi |
---|
960 | CPP="$ac_cv_prog_CPP" |
---|
961 | else |
---|
962 | ac_cv_prog_CPP="$CPP" |
---|
963 | fi |
---|
964 | echo "$ac_t""$CPP" 1>&6 |
---|
965 | |
---|
966 | ac_aux_dir= |
---|
967 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
---|
968 | if test -f $ac_dir/install-sh; then |
---|
969 | ac_aux_dir=$ac_dir |
---|
970 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
971 | break |
---|
972 | elif test -f $ac_dir/install.sh; then |
---|
973 | ac_aux_dir=$ac_dir |
---|
974 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
975 | break |
---|
976 | fi |
---|
977 | done |
---|
978 | if test -z "$ac_aux_dir"; then |
---|
979 | { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } |
---|
980 | fi |
---|
981 | ac_config_guess=$ac_aux_dir/config.guess |
---|
982 | ac_config_sub=$ac_aux_dir/config.sub |
---|
983 | ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. |
---|
984 | |
---|
985 | # Find a good install program. We prefer a C program (faster), |
---|
986 | # so one script is as good as another. But avoid the broken or |
---|
987 | # incompatible versions: |
---|
988 | # SysV /etc/install, /usr/sbin/install |
---|
989 | # SunOS /usr/etc/install |
---|
990 | # IRIX /sbin/install |
---|
991 | # AIX /bin/install |
---|
992 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
---|
993 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
994 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
995 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
996 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
---|
997 | echo "configure:998: checking for a BSD compatible install" >&5 |
---|
998 | if test -z "$INSTALL"; then |
---|
999 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
---|
1000 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1001 | else |
---|
1002 | IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
---|
1003 | for ac_dir in $PATH; do |
---|
1004 | # Account for people who put trailing slashes in PATH elements. |
---|
1005 | case "$ac_dir/" in |
---|
1006 | /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; |
---|
1007 | *) |
---|
1008 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
1009 | # Don't use installbsd from OSF since it installs stuff as root |
---|
1010 | # by default. |
---|
1011 | for ac_prog in ginstall scoinst install; do |
---|
1012 | if test -f $ac_dir/$ac_prog; then |
---|
1013 | if test $ac_prog = install && |
---|
1014 | grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then |
---|
1015 | # AIX install. It has an incompatible calling convention. |
---|
1016 | : |
---|
1017 | else |
---|
1018 | ac_cv_path_install="$ac_dir/$ac_prog -c" |
---|
1019 | break 2 |
---|
1020 | fi |
---|
1021 | fi |
---|
1022 | done |
---|
1023 | ;; |
---|
1024 | esac |
---|
1025 | done |
---|
1026 | IFS="$ac_save_IFS" |
---|
1027 | |
---|
1028 | fi |
---|
1029 | if test "${ac_cv_path_install+set}" = set; then |
---|
1030 | INSTALL="$ac_cv_path_install" |
---|
1031 | else |
---|
1032 | # As a last resort, use the slow shell script. We don't cache a |
---|
1033 | # path for INSTALL within a source directory, because that will |
---|
1034 | # break other packages using the cache if that directory is |
---|
1035 | # removed, or if the path is relative. |
---|
1036 | INSTALL="$ac_install_sh" |
---|
1037 | fi |
---|
1038 | fi |
---|
1039 | echo "$ac_t""$INSTALL" 1>&6 |
---|
1040 | |
---|
1041 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
1042 | # It thinks the first close brace ends the variable substitution. |
---|
1043 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
1044 | |
---|
1045 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' |
---|
1046 | |
---|
1047 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
1048 | |
---|
1049 | echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
---|
1050 | echo "configure:1051: checking for AIX" >&5 |
---|
1051 | cat > conftest.$ac_ext <<EOF |
---|
1052 | #line 1053 "configure" |
---|
1053 | #include "confdefs.h" |
---|
1054 | #ifdef _AIX |
---|
1055 | yes |
---|
1056 | #endif |
---|
1057 | |
---|
1058 | EOF |
---|
1059 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
1060 | egrep "yes" >/dev/null 2>&1; then |
---|
1061 | rm -rf conftest* |
---|
1062 | echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
---|
1063 | #define _ALL_SOURCE 1 |
---|
1064 | EOF |
---|
1065 | |
---|
1066 | else |
---|
1067 | rm -rf conftest* |
---|
1068 | echo "$ac_t""no" 1>&6 |
---|
1069 | fi |
---|
1070 | rm -f conftest* |
---|
1071 | |
---|
1072 | |
---|
1073 | for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl |
---|
1074 | do |
---|
1075 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
1076 | set dummy $ac_prog; ac_word=$2 |
---|
1077 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1078 | echo "configure:1079: checking for $ac_word" >&5 |
---|
1079 | if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then |
---|
1080 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1081 | else |
---|
1082 | if test -n "$CXX"; then |
---|
1083 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
---|
1084 | else |
---|
1085 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
1086 | ac_dummy="$PATH" |
---|
1087 | for ac_dir in $ac_dummy; do |
---|
1088 | test -z "$ac_dir" && ac_dir=. |
---|
1089 | if test -f $ac_dir/$ac_word; then |
---|
1090 | ac_cv_prog_CXX="$ac_prog" |
---|
1091 | break |
---|
1092 | fi |
---|
1093 | done |
---|
1094 | IFS="$ac_save_ifs" |
---|
1095 | fi |
---|
1096 | fi |
---|
1097 | CXX="$ac_cv_prog_CXX" |
---|
1098 | if test -n "$CXX"; then |
---|
1099 | echo "$ac_t""$CXX" 1>&6 |
---|
1100 | else |
---|
1101 | echo "$ac_t""no" 1>&6 |
---|
1102 | fi |
---|
1103 | |
---|
1104 | test -n "$CXX" && break |
---|
1105 | done |
---|
1106 | test -n "$CXX" || CXX="gcc" |
---|
1107 | |
---|
1108 | |
---|
1109 | echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
---|
1110 | echo "configure:1111: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 |
---|
1111 | |
---|
1112 | ac_ext=C |
---|
1113 | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
---|
1114 | ac_cpp='$CXXCPP $CPPFLAGS' |
---|
1115 | ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
---|
1116 | ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
---|
1117 | cross_compiling=$ac_cv_prog_cxx_cross |
---|
1118 | |
---|
1119 | cat > conftest.$ac_ext << EOF |
---|
1120 | |
---|
1121 | #line 1122 "configure" |
---|
1122 | #include "confdefs.h" |
---|
1123 | |
---|
1124 | int main(){return(0);} |
---|
1125 | EOF |
---|
1126 | if { (eval echo configure:1127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
1127 | ac_cv_prog_cxx_works=yes |
---|
1128 | # If we can't run a trivial program, we are probably using a cross compiler. |
---|
1129 | if (./conftest; exit) 2>/dev/null; then |
---|
1130 | ac_cv_prog_cxx_cross=no |
---|
1131 | else |
---|
1132 | ac_cv_prog_cxx_cross=yes |
---|
1133 | fi |
---|
1134 | else |
---|
1135 | echo "configure: failed program was:" >&5 |
---|
1136 | cat conftest.$ac_ext >&5 |
---|
1137 | ac_cv_prog_cxx_works=no |
---|
1138 | fi |
---|
1139 | rm -fr conftest* |
---|
1140 | ac_ext=c |
---|
1141 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
---|
1142 | ac_cpp='$CPP $CPPFLAGS' |
---|
1143 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
---|
1144 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
---|
1145 | cross_compiling=$ac_cv_prog_cc_cross |
---|
1146 | |
---|
1147 | echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6 |
---|
1148 | if test $ac_cv_prog_cxx_works = no; then |
---|
1149 | { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } |
---|
1150 | fi |
---|
1151 | echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
---|
1152 | echo "configure:1153: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 |
---|
1153 | echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 |
---|
1154 | cross_compiling=$ac_cv_prog_cxx_cross |
---|
1155 | |
---|
1156 | echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 |
---|
1157 | echo "configure:1158: checking whether we are using GNU C++" >&5 |
---|
1158 | if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then |
---|
1159 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1160 | else |
---|
1161 | cat > conftest.C <<EOF |
---|
1162 | #ifdef __GNUC__ |
---|
1163 | yes; |
---|
1164 | #endif |
---|
1165 | EOF |
---|
1166 | if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1167: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
---|
1167 | ac_cv_prog_gxx=yes |
---|
1168 | else |
---|
1169 | ac_cv_prog_gxx=no |
---|
1170 | fi |
---|
1171 | fi |
---|
1172 | |
---|
1173 | echo "$ac_t""$ac_cv_prog_gxx" 1>&6 |
---|
1174 | |
---|
1175 | if test $ac_cv_prog_gxx = yes; then |
---|
1176 | GXX=yes |
---|
1177 | else |
---|
1178 | GXX= |
---|
1179 | fi |
---|
1180 | |
---|
1181 | ac_test_CXXFLAGS="${CXXFLAGS+set}" |
---|
1182 | ac_save_CXXFLAGS="$CXXFLAGS" |
---|
1183 | CXXFLAGS= |
---|
1184 | echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 |
---|
1185 | echo "configure:1186: checking whether ${CXX-g++} accepts -g" >&5 |
---|
1186 | if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then |
---|
1187 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1188 | else |
---|
1189 | echo 'void f(){}' > conftest.cc |
---|
1190 | if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then |
---|
1191 | ac_cv_prog_cxx_g=yes |
---|
1192 | else |
---|
1193 | ac_cv_prog_cxx_g=no |
---|
1194 | fi |
---|
1195 | rm -f conftest* |
---|
1196 | |
---|
1197 | fi |
---|
1198 | |
---|
1199 | echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6 |
---|
1200 | if test "$ac_test_CXXFLAGS" = set; then |
---|
1201 | CXXFLAGS="$ac_save_CXXFLAGS" |
---|
1202 | elif test $ac_cv_prog_cxx_g = yes; then |
---|
1203 | if test "$GXX" = yes; then |
---|
1204 | CXXFLAGS="-g -O2" |
---|
1205 | else |
---|
1206 | CXXFLAGS="-g" |
---|
1207 | fi |
---|
1208 | else |
---|
1209 | if test "$GXX" = yes; then |
---|
1210 | CXXFLAGS="-O2" |
---|
1211 | else |
---|
1212 | CXXFLAGS= |
---|
1213 | fi |
---|
1214 | fi |
---|
1215 | |
---|
1216 | |
---|
1217 | SING_CC=${CC}; export SING_CC |
---|
1218 | SING_CXX=${CXX}; export SING_CXX |
---|
1219 | |
---|
1220 | # check whether the compiler accepts -pipe |
---|
1221 | echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6 |
---|
1222 | echo "configure:1223: checking whether compiler accepts -pipe" >&5 |
---|
1223 | temp_cflags=${CFLAGS} |
---|
1224 | CFLAGS="${CFLAGS} -pipe" |
---|
1225 | if eval "test \"`echo '$''{'ac_cv_cxx_have_pipe'+set}'`\" = set"; then |
---|
1226 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1227 | else |
---|
1228 | cat > conftest.$ac_ext <<EOF |
---|
1229 | #line 1230 "configure" |
---|
1230 | #include "confdefs.h" |
---|
1231 | |
---|
1232 | int main() { |
---|
1233 | |
---|
1234 | ; return 0; } |
---|
1235 | EOF |
---|
1236 | if { (eval echo configure:1237: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
---|
1237 | rm -rf conftest* |
---|
1238 | ac_cv_cxx_have_pipe=yes |
---|
1239 | else |
---|
1240 | echo "configure: failed program was:" >&5 |
---|
1241 | cat conftest.$ac_ext >&5 |
---|
1242 | rm -rf conftest* |
---|
1243 | ac_cv_cxx_have_pipe=no |
---|
1244 | fi |
---|
1245 | rm -f conftest* |
---|
1246 | |
---|
1247 | fi |
---|
1248 | |
---|
1249 | echo "$ac_t""${ac_cv_cxx_have_pipe}" 1>&6 |
---|
1250 | CFLAGS=${temp_cflags} |
---|
1251 | if test "${ac_cv_cxx_have_pipe}" != yes; then |
---|
1252 | PIPE= |
---|
1253 | else |
---|
1254 | PIPE="-pipe" |
---|
1255 | fi |
---|
1256 | |
---|
1257 | |
---|
1258 | for ac_prog in perl5 perl |
---|
1259 | do |
---|
1260 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
1261 | set dummy $ac_prog; ac_word=$2 |
---|
1262 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1263 | echo "configure:1264: checking for $ac_word" >&5 |
---|
1264 | if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then |
---|
1265 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1266 | else |
---|
1267 | if test -n "$PERL"; then |
---|
1268 | ac_cv_prog_PERL="$PERL" # Let the user override the test. |
---|
1269 | else |
---|
1270 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
1271 | ac_dummy="$PATH" |
---|
1272 | for ac_dir in $ac_dummy; do |
---|
1273 | test -z "$ac_dir" && ac_dir=. |
---|
1274 | if test -f $ac_dir/$ac_word; then |
---|
1275 | ac_cv_prog_PERL="$ac_prog" |
---|
1276 | break |
---|
1277 | fi |
---|
1278 | done |
---|
1279 | IFS="$ac_save_ifs" |
---|
1280 | fi |
---|
1281 | fi |
---|
1282 | PERL="$ac_cv_prog_PERL" |
---|
1283 | if test -n "$PERL"; then |
---|
1284 | echo "$ac_t""$PERL" 1>&6 |
---|
1285 | else |
---|
1286 | echo "$ac_t""no" 1>&6 |
---|
1287 | fi |
---|
1288 | |
---|
1289 | test -n "$PERL" && break |
---|
1290 | done |
---|
1291 | |
---|
1292 | for ac_prog in uudecode "uudeview -i" |
---|
1293 | do |
---|
1294 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
1295 | set dummy $ac_prog; ac_word=$2 |
---|
1296 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1297 | echo "configure:1298: checking for $ac_word" >&5 |
---|
1298 | if eval "test \"`echo '$''{'ac_cv_prog_UUDECODE'+set}'`\" = set"; then |
---|
1299 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1300 | else |
---|
1301 | if test -n "$UUDECODE"; then |
---|
1302 | ac_cv_prog_UUDECODE="$UUDECODE" # Let the user override the test. |
---|
1303 | else |
---|
1304 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
1305 | ac_dummy="$PATH" |
---|
1306 | for ac_dir in $ac_dummy; do |
---|
1307 | test -z "$ac_dir" && ac_dir=. |
---|
1308 | if test -f $ac_dir/$ac_word; then |
---|
1309 | ac_cv_prog_UUDECODE="$ac_prog" |
---|
1310 | break |
---|
1311 | fi |
---|
1312 | done |
---|
1313 | IFS="$ac_save_ifs" |
---|
1314 | fi |
---|
1315 | fi |
---|
1316 | UUDECODE="$ac_cv_prog_UUDECODE" |
---|
1317 | if test -n "$UUDECODE"; then |
---|
1318 | echo "$ac_t""$UUDECODE" 1>&6 |
---|
1319 | else |
---|
1320 | echo "$ac_t""no" 1>&6 |
---|
1321 | fi |
---|
1322 | |
---|
1323 | test -n "$UUDECODE" && break |
---|
1324 | done |
---|
1325 | |
---|
1326 | for ac_prog in gunzip |
---|
1327 | do |
---|
1328 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
1329 | set dummy $ac_prog; ac_word=$2 |
---|
1330 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1331 | echo "configure:1332: checking for $ac_word" >&5 |
---|
1332 | if eval "test \"`echo '$''{'ac_cv_prog_GUNZIP'+set}'`\" = set"; then |
---|
1333 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1334 | else |
---|
1335 | if test -n "$GUNZIP"; then |
---|
1336 | ac_cv_prog_GUNZIP="$GUNZIP" # Let the user override the test. |
---|
1337 | else |
---|
1338 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
1339 | ac_dummy="$PATH" |
---|
1340 | for ac_dir in $ac_dummy; do |
---|
1341 | test -z "$ac_dir" && ac_dir=. |
---|
1342 | if test -f $ac_dir/$ac_word; then |
---|
1343 | ac_cv_prog_GUNZIP="$ac_prog" |
---|
1344 | break |
---|
1345 | fi |
---|
1346 | done |
---|
1347 | IFS="$ac_save_ifs" |
---|
1348 | fi |
---|
1349 | fi |
---|
1350 | GUNZIP="$ac_cv_prog_GUNZIP" |
---|
1351 | if test -n "$GUNZIP"; then |
---|
1352 | echo "$ac_t""$GUNZIP" 1>&6 |
---|
1353 | else |
---|
1354 | echo "$ac_t""no" 1>&6 |
---|
1355 | fi |
---|
1356 | |
---|
1357 | test -n "$GUNZIP" && break |
---|
1358 | done |
---|
1359 | test -n "$GUNZIP" || GUNZIP="${pwd}/warn_not_found.sh gunzip" |
---|
1360 | |
---|
1361 | # don't use GZIP this breaks configure |
---|
1362 | for ac_prog in gzip |
---|
1363 | do |
---|
1364 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
1365 | set dummy $ac_prog; ac_word=$2 |
---|
1366 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1367 | echo "configure:1368: checking for $ac_word" >&5 |
---|
1368 | if eval "test \"`echo '$''{'ac_cv_prog_MYGZIP'+set}'`\" = set"; then |
---|
1369 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1370 | else |
---|
1371 | if test -n "$MYGZIP"; then |
---|
1372 | ac_cv_prog_MYGZIP="$MYGZIP" # Let the user override the test. |
---|
1373 | else |
---|
1374 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
1375 | ac_dummy="$PATH" |
---|
1376 | for ac_dir in $ac_dummy; do |
---|
1377 | test -z "$ac_dir" && ac_dir=. |
---|
1378 | if test -f $ac_dir/$ac_word; then |
---|
1379 | ac_cv_prog_MYGZIP="$ac_prog" |
---|
1380 | break |
---|
1381 | fi |
---|
1382 | done |
---|
1383 | IFS="$ac_save_ifs" |
---|
1384 | fi |
---|
1385 | fi |
---|
1386 | MYGZIP="$ac_cv_prog_MYGZIP" |
---|
1387 | if test -n "$MYGZIP"; then |
---|
1388 | echo "$ac_t""$MYGZIP" 1>&6 |
---|
1389 | else |
---|
1390 | echo "$ac_t""no" 1>&6 |
---|
1391 | fi |
---|
1392 | |
---|
1393 | test -n "$MYGZIP" && break |
---|
1394 | done |
---|
1395 | test -n "$MYGZIP" || MYGZIP="${pwd}/warn_not_found.sh gzip" |
---|
1396 | |
---|
1397 | # Extract the first word of "latex2html", so it can be a program name with args. |
---|
1398 | set dummy latex2html; ac_word=$2 |
---|
1399 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1400 | echo "configure:1401: checking for $ac_word" >&5 |
---|
1401 | if eval "test \"`echo '$''{'ac_cv_prog_LATEX2HTML'+set}'`\" = set"; then |
---|
1402 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1403 | else |
---|
1404 | if test -n "$LATEX2HTML"; then |
---|
1405 | ac_cv_prog_LATEX2HTML="$LATEX2HTML" # Let the user override the test. |
---|
1406 | else |
---|
1407 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
1408 | ac_dummy="$PATH" |
---|
1409 | for ac_dir in $ac_dummy; do |
---|
1410 | test -z "$ac_dir" && ac_dir=. |
---|
1411 | if test -f $ac_dir/$ac_word; then |
---|
1412 | ac_cv_prog_LATEX2HTML="latex2html" |
---|
1413 | break |
---|
1414 | fi |
---|
1415 | done |
---|
1416 | IFS="$ac_save_ifs" |
---|
1417 | fi |
---|
1418 | fi |
---|
1419 | LATEX2HTML="$ac_cv_prog_LATEX2HTML" |
---|
1420 | if test -n "$LATEX2HTML"; then |
---|
1421 | echo "$ac_t""$LATEX2HTML" 1>&6 |
---|
1422 | else |
---|
1423 | echo "$ac_t""no" 1>&6 |
---|
1424 | fi |
---|
1425 | |
---|
1426 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
---|
1427 | echo "configure:1428: checking whether ln -s works" >&5 |
---|
1428 | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
---|
1429 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1430 | else |
---|
1431 | rm -f conftestdata |
---|
1432 | if ln -s X conftestdata 2>/dev/null |
---|
1433 | then |
---|
1434 | rm -f conftestdata |
---|
1435 | ac_cv_prog_LN_S="ln -s" |
---|
1436 | else |
---|
1437 | ac_cv_prog_LN_S=ln |
---|
1438 | fi |
---|
1439 | fi |
---|
1440 | LN_S="$ac_cv_prog_LN_S" |
---|
1441 | if test "$ac_cv_prog_LN_S" = "ln -s"; then |
---|
1442 | echo "$ac_t""yes" 1>&6 |
---|
1443 | else |
---|
1444 | echo "$ac_t""no" 1>&6 |
---|
1445 | fi |
---|
1446 | |
---|
1447 | |
---|
1448 | if test -r "${pwd}/mkinstalldirs"; then |
---|
1449 | MKINSTALLDIRS=${pwd}/mkinstalldirs |
---|
1450 | |
---|
1451 | else |
---|
1452 | { echo "configure: error: mkinstalldirs not foind in ${pwd}" 1>&2; exit 1; } |
---|
1453 | fi |
---|
1454 | |
---|
1455 | # expand prefix and pass it to subsequent configures |
---|
1456 | if test "x$prefix" = xNONE; then |
---|
1457 | prefix=${ac_default_prefix} |
---|
1458 | ac_configure_args="$ac_configure_args --prefix=${prefix}" |
---|
1459 | fi |
---|
1460 | |
---|
1461 | # expand exec_prefix |
---|
1462 | if test "x$exec_prefix" = xNONE; then |
---|
1463 | exec_prefix=${prefix}/${ac_cv_singuname} |
---|
1464 | ac_configure_args="$ac_configure_args --exec_prefix=${exec_prefix}" |
---|
1465 | fi |
---|
1466 | |
---|
1467 | # expand bindir |
---|
1468 | if test "x$bindir" = 'x${exec_prefix}/bin'; then |
---|
1469 | bindir="${exec_prefix}" |
---|
1470 | ac_configure_args="$ac_configure_args --bindir=${bindir}" |
---|
1471 | fi |
---|
1472 | |
---|
1473 | # expand libdir |
---|
1474 | if test "x$libdir" = 'x${exec_prefix}/lib'; then |
---|
1475 | libdir="${exec_prefix}/lib" |
---|
1476 | ac_configure_args="$ac_configure_args --libdir=${libdir}" |
---|
1477 | fi |
---|
1478 | |
---|
1479 | # expand includedir |
---|
1480 | if test "x$includedir" = 'x${prefix}/include'; then |
---|
1481 | includedir="${exec_prefix}/include" |
---|
1482 | ac_configure_args="$ac_configure_args --includedir=${includedir}" |
---|
1483 | fi |
---|
1484 | |
---|
1485 | # construct name of installed Singular executable |
---|
1486 | SINGULAR=${bindir}/Singular-${SINGULAR_MAJOR_VERSION}${VERSION_SEP}${SINGULAR_MINOR_VERSION}${VERSION_SEP}${SINGULAR_SUB_VERSION} |
---|
1487 | export SINGULAR |
---|
1488 | |
---|
1489 | |
---|
1490 | |
---|
1491 | # add -I to CPPFLAGS and -L to LDFLAGS, just to be sure |
---|
1492 | LDFLAGS="-L${libdir} ${LDFLAGS}" |
---|
1493 | CPPFLAGS="-I${includedir} ${CPPFLAGS}" |
---|
1494 | |
---|
1495 | # check for AIX |
---|
1496 | echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6 |
---|
1497 | echo "configure:1498: checking whether _AIX is defined" >&5 |
---|
1498 | if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then |
---|
1499 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1500 | else |
---|
1501 | cat > conftest.$ac_ext <<EOF |
---|
1502 | #line 1503 "configure" |
---|
1503 | #include "confdefs.h" |
---|
1504 | #ifdef _AIX |
---|
1505 | yes |
---|
1506 | #endif |
---|
1507 | |
---|
1508 | EOF |
---|
1509 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
1510 | egrep "yes" >/dev/null 2>&1; then |
---|
1511 | rm -rf conftest* |
---|
1512 | ac_cv_is_aix=yes |
---|
1513 | else |
---|
1514 | rm -rf conftest* |
---|
1515 | ac_cv_is_aix=no |
---|
1516 | fi |
---|
1517 | rm -f conftest* |
---|
1518 | |
---|
1519 | fi |
---|
1520 | |
---|
1521 | if test "$ac_cv_is_aix" = yes; then |
---|
1522 | echo "$ac_t""yes" 1>&6 |
---|
1523 | else |
---|
1524 | echo "$ac_t""no" 1>&6 |
---|
1525 | fi |
---|
1526 | |
---|
1527 | echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 |
---|
1528 | echo "configure:1529: checking for atof in -lm" >&5 |
---|
1529 | ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` |
---|
1530 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
1531 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1532 | else |
---|
1533 | ac_save_LIBS="$LIBS" |
---|
1534 | LIBS="-lm $LIBS" |
---|
1535 | cat > conftest.$ac_ext <<EOF |
---|
1536 | #line 1537 "configure" |
---|
1537 | #include "confdefs.h" |
---|
1538 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
1539 | /* We use char because int might match the return type of a gcc2 |
---|
1540 | builtin and then its argument prototype would still apply. */ |
---|
1541 | char atof(); |
---|
1542 | |
---|
1543 | int main() { |
---|
1544 | atof() |
---|
1545 | ; return 0; } |
---|
1546 | EOF |
---|
1547 | if { (eval echo configure:1548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
1548 | rm -rf conftest* |
---|
1549 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
1550 | else |
---|
1551 | echo "configure: failed program was:" >&5 |
---|
1552 | cat conftest.$ac_ext >&5 |
---|
1553 | rm -rf conftest* |
---|
1554 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
1555 | fi |
---|
1556 | rm -f conftest* |
---|
1557 | LIBS="$ac_save_LIBS" |
---|
1558 | |
---|
1559 | fi |
---|
1560 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
1561 | echo "$ac_t""yes" 1>&6 |
---|
1562 | ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
1563 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
1564 | cat >> confdefs.h <<EOF |
---|
1565 | #define $ac_tr_lib 1 |
---|
1566 | EOF |
---|
1567 | |
---|
1568 | LIBS="-lm $LIBS" |
---|
1569 | |
---|
1570 | else |
---|
1571 | echo "$ac_t""no" 1>&6 |
---|
1572 | fi |
---|
1573 | |
---|
1574 | echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6 |
---|
1575 | echo "configure:1576: checking for socket in -lbsd" >&5 |
---|
1576 | ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'` |
---|
1577 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
1578 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1579 | else |
---|
1580 | ac_save_LIBS="$LIBS" |
---|
1581 | LIBS="-lbsd $LIBS" |
---|
1582 | cat > conftest.$ac_ext <<EOF |
---|
1583 | #line 1584 "configure" |
---|
1584 | #include "confdefs.h" |
---|
1585 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
1586 | /* We use char because int might match the return type of a gcc2 |
---|
1587 | builtin and then its argument prototype would still apply. */ |
---|
1588 | char socket(); |
---|
1589 | |
---|
1590 | int main() { |
---|
1591 | socket() |
---|
1592 | ; return 0; } |
---|
1593 | EOF |
---|
1594 | if { (eval echo configure:1595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
1595 | rm -rf conftest* |
---|
1596 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
1597 | else |
---|
1598 | echo "configure: failed program was:" >&5 |
---|
1599 | cat conftest.$ac_ext >&5 |
---|
1600 | rm -rf conftest* |
---|
1601 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
1602 | fi |
---|
1603 | rm -f conftest* |
---|
1604 | LIBS="$ac_save_LIBS" |
---|
1605 | |
---|
1606 | fi |
---|
1607 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
1608 | echo "$ac_t""yes" 1>&6 |
---|
1609 | ac_tr_lib=HAVE_LIB`echo bsd | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
1610 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
1611 | cat >> confdefs.h <<EOF |
---|
1612 | #define $ac_tr_lib 1 |
---|
1613 | EOF |
---|
1614 | |
---|
1615 | LIBS="-lbsd $LIBS" |
---|
1616 | |
---|
1617 | else |
---|
1618 | echo "$ac_t""no" 1>&6 |
---|
1619 | fi |
---|
1620 | |
---|
1621 | echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6 |
---|
1622 | echo "configure:1623: checking for listen in -lsocket" >&5 |
---|
1623 | ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'` |
---|
1624 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
1625 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1626 | else |
---|
1627 | ac_save_LIBS="$LIBS" |
---|
1628 | LIBS="-lsocket $LIBS" |
---|
1629 | cat > conftest.$ac_ext <<EOF |
---|
1630 | #line 1631 "configure" |
---|
1631 | #include "confdefs.h" |
---|
1632 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
1633 | /* We use char because int might match the return type of a gcc2 |
---|
1634 | builtin and then its argument prototype would still apply. */ |
---|
1635 | char listen(); |
---|
1636 | |
---|
1637 | int main() { |
---|
1638 | listen() |
---|
1639 | ; return 0; } |
---|
1640 | EOF |
---|
1641 | if { (eval echo configure:1642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
1642 | rm -rf conftest* |
---|
1643 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
1644 | else |
---|
1645 | echo "configure: failed program was:" >&5 |
---|
1646 | cat conftest.$ac_ext >&5 |
---|
1647 | rm -rf conftest* |
---|
1648 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
1649 | fi |
---|
1650 | rm -f conftest* |
---|
1651 | LIBS="$ac_save_LIBS" |
---|
1652 | |
---|
1653 | fi |
---|
1654 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
1655 | echo "$ac_t""yes" 1>&6 |
---|
1656 | ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
1657 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
1658 | cat >> confdefs.h <<EOF |
---|
1659 | #define $ac_tr_lib 1 |
---|
1660 | EOF |
---|
1661 | |
---|
1662 | LIBS="-lsocket $LIBS" |
---|
1663 | |
---|
1664 | else |
---|
1665 | echo "$ac_t""no" 1>&6 |
---|
1666 | fi |
---|
1667 | |
---|
1668 | echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
---|
1669 | echo "configure:1670: checking for gethostbyname in -lnsl" >&5 |
---|
1670 | ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
---|
1671 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
1672 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1673 | else |
---|
1674 | ac_save_LIBS="$LIBS" |
---|
1675 | LIBS="-lnsl $LIBS" |
---|
1676 | cat > conftest.$ac_ext <<EOF |
---|
1677 | #line 1678 "configure" |
---|
1678 | #include "confdefs.h" |
---|
1679 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
1680 | /* We use char because int might match the return type of a gcc2 |
---|
1681 | builtin and then its argument prototype would still apply. */ |
---|
1682 | char gethostbyname(); |
---|
1683 | |
---|
1684 | int main() { |
---|
1685 | gethostbyname() |
---|
1686 | ; return 0; } |
---|
1687 | EOF |
---|
1688 | if { (eval echo configure:1689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
1689 | rm -rf conftest* |
---|
1690 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
1691 | else |
---|
1692 | echo "configure: failed program was:" >&5 |
---|
1693 | cat conftest.$ac_ext >&5 |
---|
1694 | rm -rf conftest* |
---|
1695 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
1696 | fi |
---|
1697 | rm -f conftest* |
---|
1698 | LIBS="$ac_save_LIBS" |
---|
1699 | |
---|
1700 | fi |
---|
1701 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
1702 | echo "$ac_t""yes" 1>&6 |
---|
1703 | ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
1704 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
1705 | cat >> confdefs.h <<EOF |
---|
1706 | #define $ac_tr_lib 1 |
---|
1707 | EOF |
---|
1708 | |
---|
1709 | LIBS="-lnsl $LIBS" |
---|
1710 | |
---|
1711 | else |
---|
1712 | echo "$ac_t""no" 1>&6 |
---|
1713 | fi |
---|
1714 | |
---|
1715 | echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6 |
---|
1716 | echo "configure:1717: checking for main in -lgmp" >&5 |
---|
1717 | ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'` |
---|
1718 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
1719 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1720 | else |
---|
1721 | ac_save_LIBS="$LIBS" |
---|
1722 | LIBS="-lgmp $LIBS" |
---|
1723 | cat > conftest.$ac_ext <<EOF |
---|
1724 | #line 1725 "configure" |
---|
1725 | #include "confdefs.h" |
---|
1726 | |
---|
1727 | int main() { |
---|
1728 | main() |
---|
1729 | ; return 0; } |
---|
1730 | EOF |
---|
1731 | if { (eval echo configure:1732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
1732 | rm -rf conftest* |
---|
1733 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
1734 | else |
---|
1735 | echo "configure: failed program was:" >&5 |
---|
1736 | cat conftest.$ac_ext >&5 |
---|
1737 | rm -rf conftest* |
---|
1738 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
1739 | fi |
---|
1740 | rm -f conftest* |
---|
1741 | LIBS="$ac_save_LIBS" |
---|
1742 | |
---|
1743 | fi |
---|
1744 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
1745 | echo "$ac_t""yes" 1>&6 |
---|
1746 | ac_tr_lib=HAVE_LIB`echo gmp | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
1747 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
1748 | cat >> confdefs.h <<EOF |
---|
1749 | #define $ac_tr_lib 1 |
---|
1750 | EOF |
---|
1751 | |
---|
1752 | LIBS="-lgmp $LIBS" |
---|
1753 | |
---|
1754 | else |
---|
1755 | echo "$ac_t""no" 1>&6 |
---|
1756 | fi |
---|
1757 | |
---|
1758 | echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 |
---|
1759 | echo "configure:1760: checking for IMP_PutGmpInt in -lMP" >&5 |
---|
1760 | ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` |
---|
1761 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
1762 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1763 | else |
---|
1764 | ac_save_LIBS="$LIBS" |
---|
1765 | LIBS="-lMP $LIBS" |
---|
1766 | cat > conftest.$ac_ext <<EOF |
---|
1767 | #line 1768 "configure" |
---|
1768 | #include "confdefs.h" |
---|
1769 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
1770 | /* We use char because int might match the return type of a gcc2 |
---|
1771 | builtin and then its argument prototype would still apply. */ |
---|
1772 | char IMP_PutGmpInt(); |
---|
1773 | |
---|
1774 | int main() { |
---|
1775 | IMP_PutGmpInt() |
---|
1776 | ; return 0; } |
---|
1777 | EOF |
---|
1778 | if { (eval echo configure:1779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
1779 | rm -rf conftest* |
---|
1780 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
1781 | else |
---|
1782 | echo "configure: failed program was:" >&5 |
---|
1783 | cat conftest.$ac_ext >&5 |
---|
1784 | rm -rf conftest* |
---|
1785 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
1786 | fi |
---|
1787 | rm -f conftest* |
---|
1788 | LIBS="$ac_save_LIBS" |
---|
1789 | |
---|
1790 | fi |
---|
1791 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
1792 | echo "$ac_t""yes" 1>&6 |
---|
1793 | ac_tr_lib=HAVE_LIB`echo MP | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
1794 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
1795 | cat >> confdefs.h <<EOF |
---|
1796 | #define $ac_tr_lib 1 |
---|
1797 | EOF |
---|
1798 | |
---|
1799 | LIBS="-lMP $LIBS" |
---|
1800 | |
---|
1801 | else |
---|
1802 | echo "$ac_t""no" 1>&6 |
---|
1803 | fi |
---|
1804 | |
---|
1805 | echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6 |
---|
1806 | echo "configure:1807: checking for MPT_GetTree in -lMPT" >&5 |
---|
1807 | ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'` |
---|
1808 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
1809 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1810 | else |
---|
1811 | ac_save_LIBS="$LIBS" |
---|
1812 | LIBS="-lMPT $LIBS" |
---|
1813 | cat > conftest.$ac_ext <<EOF |
---|
1814 | #line 1815 "configure" |
---|
1815 | #include "confdefs.h" |
---|
1816 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
1817 | /* We use char because int might match the return type of a gcc2 |
---|
1818 | builtin and then its argument prototype would still apply. */ |
---|
1819 | char MPT_GetTree(); |
---|
1820 | |
---|
1821 | int main() { |
---|
1822 | MPT_GetTree() |
---|
1823 | ; return 0; } |
---|
1824 | EOF |
---|
1825 | if { (eval echo configure:1826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
1826 | rm -rf conftest* |
---|
1827 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
1828 | else |
---|
1829 | echo "configure: failed program was:" >&5 |
---|
1830 | cat conftest.$ac_ext >&5 |
---|
1831 | rm -rf conftest* |
---|
1832 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
1833 | fi |
---|
1834 | rm -f conftest* |
---|
1835 | LIBS="$ac_save_LIBS" |
---|
1836 | |
---|
1837 | fi |
---|
1838 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
1839 | echo "$ac_t""yes" 1>&6 |
---|
1840 | ac_tr_lib=HAVE_LIB`echo MPT | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
1841 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
1842 | cat >> confdefs.h <<EOF |
---|
1843 | #define $ac_tr_lib 1 |
---|
1844 | EOF |
---|
1845 | |
---|
1846 | LIBS="-lMPT $LIBS" |
---|
1847 | |
---|
1848 | else |
---|
1849 | echo "$ac_t""no" 1>&6 |
---|
1850 | fi |
---|
1851 | |
---|
1852 | echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 |
---|
1853 | echo "configure:1854: checking for atof in -lsingcf" >&5 |
---|
1854 | ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` |
---|
1855 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
1856 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1857 | else |
---|
1858 | ac_save_LIBS="$LIBS" |
---|
1859 | LIBS="-lsingcf $LIBS" |
---|
1860 | cat > conftest.$ac_ext <<EOF |
---|
1861 | #line 1862 "configure" |
---|
1862 | #include "confdefs.h" |
---|
1863 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
1864 | /* We use char because int might match the return type of a gcc2 |
---|
1865 | builtin and then its argument prototype would still apply. */ |
---|
1866 | char atof(); |
---|
1867 | |
---|
1868 | int main() { |
---|
1869 | atof() |
---|
1870 | ; return 0; } |
---|
1871 | EOF |
---|
1872 | if { (eval echo configure:1873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
1873 | rm -rf conftest* |
---|
1874 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
1875 | else |
---|
1876 | echo "configure: failed program was:" >&5 |
---|
1877 | cat conftest.$ac_ext >&5 |
---|
1878 | rm -rf conftest* |
---|
1879 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
1880 | fi |
---|
1881 | rm -f conftest* |
---|
1882 | LIBS="$ac_save_LIBS" |
---|
1883 | |
---|
1884 | fi |
---|
1885 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
1886 | echo "$ac_t""yes" 1>&6 |
---|
1887 | ac_tr_lib=HAVE_LIB`echo singcf | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
1888 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
1889 | cat >> confdefs.h <<EOF |
---|
1890 | #define $ac_tr_lib 1 |
---|
1891 | EOF |
---|
1892 | |
---|
1893 | LIBS="-lsingcf $LIBS" |
---|
1894 | |
---|
1895 | else |
---|
1896 | echo "$ac_t""no" 1>&6 |
---|
1897 | fi |
---|
1898 | |
---|
1899 | echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 |
---|
1900 | echo "configure:1901: checking for atof in -lsingfac" >&5 |
---|
1901 | ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` |
---|
1902 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
1903 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1904 | else |
---|
1905 | ac_save_LIBS="$LIBS" |
---|
1906 | LIBS="-lsingfac $LIBS" |
---|
1907 | cat > conftest.$ac_ext <<EOF |
---|
1908 | #line 1909 "configure" |
---|
1909 | #include "confdefs.h" |
---|
1910 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
1911 | /* We use char because int might match the return type of a gcc2 |
---|
1912 | builtin and then its argument prototype would still apply. */ |
---|
1913 | char atof(); |
---|
1914 | |
---|
1915 | int main() { |
---|
1916 | atof() |
---|
1917 | ; return 0; } |
---|
1918 | EOF |
---|
1919 | if { (eval echo configure:1920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
1920 | rm -rf conftest* |
---|
1921 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
1922 | else |
---|
1923 | echo "configure: failed program was:" >&5 |
---|
1924 | cat conftest.$ac_ext >&5 |
---|
1925 | rm -rf conftest* |
---|
1926 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
1927 | fi |
---|
1928 | rm -f conftest* |
---|
1929 | LIBS="$ac_save_LIBS" |
---|
1930 | |
---|
1931 | fi |
---|
1932 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
1933 | echo "$ac_t""yes" 1>&6 |
---|
1934 | ac_tr_lib=HAVE_LIB`echo singfac | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
1935 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
1936 | cat >> confdefs.h <<EOF |
---|
1937 | #define $ac_tr_lib 1 |
---|
1938 | EOF |
---|
1939 | |
---|
1940 | LIBS="-lsingfac $LIBS" |
---|
1941 | |
---|
1942 | else |
---|
1943 | echo "$ac_t""no" 1>&6 |
---|
1944 | fi |
---|
1945 | |
---|
1946 | echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6 |
---|
1947 | echo "configure:1948: checking for omTestAddr in -lomalloc" >&5 |
---|
1948 | ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'` |
---|
1949 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
1950 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1951 | else |
---|
1952 | ac_save_LIBS="$LIBS" |
---|
1953 | LIBS="-lomalloc $LIBS" |
---|
1954 | cat > conftest.$ac_ext <<EOF |
---|
1955 | #line 1956 "configure" |
---|
1956 | #include "confdefs.h" |
---|
1957 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
1958 | /* We use char because int might match the return type of a gcc2 |
---|
1959 | builtin and then its argument prototype would still apply. */ |
---|
1960 | char omTestAddr(); |
---|
1961 | |
---|
1962 | int main() { |
---|
1963 | omTestAddr() |
---|
1964 | ; return 0; } |
---|
1965 | EOF |
---|
1966 | if { (eval echo configure:1967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
1967 | rm -rf conftest* |
---|
1968 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
1969 | else |
---|
1970 | echo "configure: failed program was:" >&5 |
---|
1971 | cat conftest.$ac_ext >&5 |
---|
1972 | rm -rf conftest* |
---|
1973 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
1974 | fi |
---|
1975 | rm -f conftest* |
---|
1976 | LIBS="$ac_save_LIBS" |
---|
1977 | |
---|
1978 | fi |
---|
1979 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
1980 | echo "$ac_t""yes" 1>&6 |
---|
1981 | ac_tr_lib=HAVE_LIB`echo omalloc | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
1982 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
1983 | cat >> confdefs.h <<EOF |
---|
1984 | #define $ac_tr_lib 1 |
---|
1985 | EOF |
---|
1986 | |
---|
1987 | LIBS="-lomalloc $LIBS" |
---|
1988 | |
---|
1989 | else |
---|
1990 | echo "$ac_t""no" 1>&6 |
---|
1991 | fi |
---|
1992 | |
---|
1993 | echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6 |
---|
1994 | echo "configure:1995: checking for main in -lomalloc_ndebug" >&5 |
---|
1995 | ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'` |
---|
1996 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
1997 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1998 | else |
---|
1999 | ac_save_LIBS="$LIBS" |
---|
2000 | LIBS="-lomalloc_ndebug $LIBS" |
---|
2001 | cat > conftest.$ac_ext <<EOF |
---|
2002 | #line 2003 "configure" |
---|
2003 | #include "confdefs.h" |
---|
2004 | |
---|
2005 | int main() { |
---|
2006 | main() |
---|
2007 | ; return 0; } |
---|
2008 | EOF |
---|
2009 | if { (eval echo configure:2010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
2010 | rm -rf conftest* |
---|
2011 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
2012 | else |
---|
2013 | echo "configure: failed program was:" >&5 |
---|
2014 | cat conftest.$ac_ext >&5 |
---|
2015 | rm -rf conftest* |
---|
2016 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
2017 | fi |
---|
2018 | rm -f conftest* |
---|
2019 | LIBS="$ac_save_LIBS" |
---|
2020 | |
---|
2021 | fi |
---|
2022 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
2023 | echo "$ac_t""yes" 1>&6 |
---|
2024 | ac_tr_lib=HAVE_LIB`echo omalloc_ndebug | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
2025 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
2026 | cat >> confdefs.h <<EOF |
---|
2027 | #define $ac_tr_lib 1 |
---|
2028 | EOF |
---|
2029 | |
---|
2030 | LIBS="-lomalloc_ndebug $LIBS" |
---|
2031 | |
---|
2032 | else |
---|
2033 | echo "$ac_t""no" 1>&6 |
---|
2034 | fi |
---|
2035 | |
---|
2036 | |
---|
2037 | for ac_hdr in gmp.h MP.h MPT.h factory.h factor.h omalloc.h |
---|
2038 | do |
---|
2039 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
---|
2040 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
---|
2041 | echo "configure:2042: checking for $ac_hdr" >&5 |
---|
2042 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
---|
2043 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2044 | else |
---|
2045 | cat > conftest.$ac_ext <<EOF |
---|
2046 | #line 2047 "configure" |
---|
2047 | #include "confdefs.h" |
---|
2048 | #include <$ac_hdr> |
---|
2049 | EOF |
---|
2050 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
2051 | { (eval echo configure:2052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
2052 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
---|
2053 | if test -z "$ac_err"; then |
---|
2054 | rm -rf conftest* |
---|
2055 | eval "ac_cv_header_$ac_safe=yes" |
---|
2056 | else |
---|
2057 | echo "$ac_err" >&5 |
---|
2058 | echo "configure: failed program was:" >&5 |
---|
2059 | cat conftest.$ac_ext >&5 |
---|
2060 | rm -rf conftest* |
---|
2061 | eval "ac_cv_header_$ac_safe=no" |
---|
2062 | fi |
---|
2063 | rm -f conftest* |
---|
2064 | fi |
---|
2065 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
---|
2066 | echo "$ac_t""yes" 1>&6 |
---|
2067 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
---|
2068 | cat >> confdefs.h <<EOF |
---|
2069 | #define $ac_tr_hdr 1 |
---|
2070 | EOF |
---|
2071 | |
---|
2072 | else |
---|
2073 | echo "$ac_t""no" 1>&6 |
---|
2074 | fi |
---|
2075 | done |
---|
2076 | |
---|
2077 | |
---|
2078 | if test "$ac_cv_lib_gmp_main" = yes && \ |
---|
2079 | test "$ac_cv_header_gmp_h" = yes; then |
---|
2080 | ac_gmp_ok=yes |
---|
2081 | fi |
---|
2082 | |
---|
2083 | if test "$ac_cv_lib_MP_IMP_PutGmpInt" = yes && \ |
---|
2084 | test "$ac_cv_lib_MPT_MPT_GetTree" && \ |
---|
2085 | test "$ac_cv_header_MP_h" = yes && \ |
---|
2086 | test "$ac_cv_header_MPT_h" = yes; then |
---|
2087 | ac_MP_ok=yes |
---|
2088 | fi |
---|
2089 | |
---|
2090 | if test "$ac_cv_lib_singcf_atof" = yes && \ |
---|
2091 | test "$ac_cv_header_factory_h" = yes; then |
---|
2092 | ac_factory_ok=yes |
---|
2093 | fi |
---|
2094 | |
---|
2095 | if test "$ac_cv_lib_singfac_atof" = yes && \ |
---|
2096 | test "$ac_cv_header_factor_h" = yes; then |
---|
2097 | ac_libfac_ok=yes |
---|
2098 | fi |
---|
2099 | |
---|
2100 | if test "$ac_cv_lib_omalloc_omTestAddr" = yes && \ |
---|
2101 | test "$ac_cv_lib_omalloc_ndebug_main" = yes && \ |
---|
2102 | test "$ac_cv_header_omalloc_c" = yes && \ |
---|
2103 | test "$ac_cv_header_omalloc_h" = yes; then |
---|
2104 | ac_cv_omalloc_ok=yes |
---|
2105 | fi |
---|
2106 | |
---|
2107 | |
---|
2108 | DOC2TEX_EXAMPLE_EXCLUSIONS="" |
---|
2109 | |
---|
2110 | |
---|
2111 | # Check whether --with-tmpdir or --without-tmpdir was given. |
---|
2112 | if test "${with_tmpdir+set}" = set; then |
---|
2113 | withval="$with_tmpdir" |
---|
2114 | : |
---|
2115 | fi |
---|
2116 | |
---|
2117 | # Check whether --enable-omalloc or --disable-omalloc was given. |
---|
2118 | if test "${enable_omalloc+set}" = set; then |
---|
2119 | enableval="$enable_omalloc" |
---|
2120 | : |
---|
2121 | fi |
---|
2122 | |
---|
2123 | # Check whether --enable-gmp or --disable-gmp was given. |
---|
2124 | if test "${enable_gmp+set}" = set; then |
---|
2125 | enableval="$enable_gmp" |
---|
2126 | : |
---|
2127 | fi |
---|
2128 | |
---|
2129 | # Check whether --enable-MP or --disable-MP was given. |
---|
2130 | if test "${enable_MP+set}" = set; then |
---|
2131 | enableval="$enable_MP" |
---|
2132 | : |
---|
2133 | fi |
---|
2134 | |
---|
2135 | # Check whether --enable-factory or --disable-factory was given. |
---|
2136 | if test "${enable_factory+set}" = set; then |
---|
2137 | enableval="$enable_factory" |
---|
2138 | : |
---|
2139 | fi |
---|
2140 | |
---|
2141 | # Check whether --enable-libfac or --disable-libfac was given. |
---|
2142 | if test "${enable_libfac+set}" = set; then |
---|
2143 | enableval="$enable_libfac" |
---|
2144 | : |
---|
2145 | fi |
---|
2146 | |
---|
2147 | # Check whether --enable-sgroup or --disable-sgroup was given. |
---|
2148 | if test "${enable_sgroup+set}" = set; then |
---|
2149 | enableval="$enable_sgroup" |
---|
2150 | : |
---|
2151 | fi |
---|
2152 | |
---|
2153 | # Check whether --enable-Singular or --disable-Singular was given. |
---|
2154 | if test "${enable_Singular+set}" = set; then |
---|
2155 | enableval="$enable_Singular" |
---|
2156 | : |
---|
2157 | fi |
---|
2158 | |
---|
2159 | # Check whether --enable-IntegerProgramming or --disable-IntegerProgramming was given. |
---|
2160 | if test "${enable_IntegerProgramming+set}" = set; then |
---|
2161 | enableval="$enable_IntegerProgramming" |
---|
2162 | : |
---|
2163 | fi |
---|
2164 | |
---|
2165 | # Check whether --enable-Plural or --disable-Plural was given. |
---|
2166 | if test "${enable_Plural+set}" = set; then |
---|
2167 | enableval="$enable_Plural" |
---|
2168 | : |
---|
2169 | fi |
---|
2170 | |
---|
2171 | # Check whether --enable-Texinfo or --disable-Texinfo was given. |
---|
2172 | if test "${enable_Texinfo+set}" = set; then |
---|
2173 | enableval="$enable_Texinfo" |
---|
2174 | : |
---|
2175 | fi |
---|
2176 | |
---|
2177 | # Check whether --enable-Texi2html or --disable-Texi2html was given. |
---|
2178 | if test "${enable_Texi2html+set}" = set; then |
---|
2179 | enableval="$enable_Texi2html" |
---|
2180 | : |
---|
2181 | fi |
---|
2182 | |
---|
2183 | # Check whether --enable-doc or --disable-doc was given. |
---|
2184 | if test "${enable_doc+set}" = set; then |
---|
2185 | enableval="$enable_doc" |
---|
2186 | : |
---|
2187 | fi |
---|
2188 | |
---|
2189 | # Check whether --enable-emacs or --disable-emacs was given. |
---|
2190 | if test "${enable_emacs+set}" = set; then |
---|
2191 | enableval="$enable_emacs" |
---|
2192 | : |
---|
2193 | fi |
---|
2194 | |
---|
2195 | # Check whether --with-MP or --without-MP was given. |
---|
2196 | if test "${with_MP+set}" = set; then |
---|
2197 | withval="$with_MP" |
---|
2198 | : |
---|
2199 | fi |
---|
2200 | |
---|
2201 | # Check whether --with-factory or --without-factory was given. |
---|
2202 | if test "${with_factory+set}" = set; then |
---|
2203 | withval="$with_factory" |
---|
2204 | : |
---|
2205 | fi |
---|
2206 | |
---|
2207 | # Check whether --with-libfac or --without-libfac was given. |
---|
2208 | if test "${with_libfac+set}" = set; then |
---|
2209 | withval="$with_libfac" |
---|
2210 | : |
---|
2211 | fi |
---|
2212 | |
---|
2213 | # Check whether --with-gmp or --without-gmp was given. |
---|
2214 | if test "${with_gmp+set}" = set; then |
---|
2215 | withval="$with_gmp" |
---|
2216 | : |
---|
2217 | fi |
---|
2218 | |
---|
2219 | |
---|
2220 | echo $ac_n "checking which tmp dir to use""... $ac_c" 1>&6 |
---|
2221 | echo "configure:2222: checking which tmp dir to use" >&5 |
---|
2222 | if test "${with_tmpdir+set}" = set && test -d ${with_tmpdir}; then |
---|
2223 | if (echo "${with_tmpdir}" | egrep "\." >/dev/null 2>&1) |
---|
2224 | then |
---|
2225 | TMP_DIR="${pwd}/tmp" |
---|
2226 | else |
---|
2227 | TMP_DIR=${with_tmpdir} |
---|
2228 | fi |
---|
2229 | else |
---|
2230 | TMP_DIR="${pwd}/tmp" |
---|
2231 | fi |
---|
2232 | echo "$ac_t""$TMP_DIR" 1>&6 |
---|
2233 | |
---|
2234 | |
---|
2235 | echo $ac_n "checking whether to configure and build omalloc""... $ac_c" 1>&6 |
---|
2236 | echo "configure:2237: checking whether to configure and build omalloc" >&5 |
---|
2237 | if test "${enable_omalloc+set}" != set; then |
---|
2238 | if test "$ac_cv_omalloc_ok" = yes; then |
---|
2239 | enable_omalloc=no |
---|
2240 | fi |
---|
2241 | enable_omalloc_not_set=yes |
---|
2242 | fi |
---|
2243 | if test "$enable_omalloc" = no; then |
---|
2244 | if test "$ac_cv_omalloc_ok" != yes; then |
---|
2245 | { echo "configure: error: can not build without omalloc" 1>&2; exit 1; } |
---|
2246 | fi |
---|
2247 | echo "$ac_t""no" 1>&6 |
---|
2248 | else |
---|
2249 | if test -d omalloc; then |
---|
2250 | echo "$ac_t""yes" 1>&6 |
---|
2251 | if test "$enable_omalloc_not_set" = yes; then |
---|
2252 | ac_configure_args="$ac_configure_args --enable-omalloc --with-external-config_h='$pwd/Singular/omSingularConfig.h' --with-track-custom" |
---|
2253 | fi |
---|
2254 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS omalloc" |
---|
2255 | BUILD1_SUBDIRS="$BUILD1_SUBDIRS omalloc" |
---|
2256 | if test "${with_malloc+set}" != set; then |
---|
2257 | case "$ac_cv_singuname" in |
---|
2258 | # under windows, it is best to use the provided malloc |
---|
2259 | ix86-Win*) |
---|
2260 | with_malloc=system |
---|
2261 | ac_configure_args="$ac_configure_args --with-malloc=system" |
---|
2262 | ;; |
---|
2263 | PowerMacintosh-darwin*) |
---|
2264 | with_malloc=system |
---|
2265 | ac_configure_args="$ac_configure_args --with-malloc=system" |
---|
2266 | ;; |
---|
2267 | esac |
---|
2268 | fi |
---|
2269 | else |
---|
2270 | { echo "configure: error: need omalloc subdir" 1>&2; exit 1; } |
---|
2271 | fi |
---|
2272 | fi |
---|
2273 | |
---|
2274 | echo $ac_n "checking whether to configure and build gmp lib""... $ac_c" 1>&6 |
---|
2275 | echo "configure:2276: checking whether to configure and build gmp lib" >&5 |
---|
2276 | if test "$enable_gmp" != yes && test "$enable_gmp" != no; then |
---|
2277 | if test "$ac_gmp_ok" != yes && test -d gmp; then |
---|
2278 | echo "$ac_t""yes" 1>&6 |
---|
2279 | enable_gmp=yes |
---|
2280 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS gmp" |
---|
2281 | BUILD1_SUBDIRS="$BUILD1_SUBDIRS gmp" |
---|
2282 | ac_configure_args="$ac_configure_args --enable-gmp" |
---|
2283 | enable_gmp=yes |
---|
2284 | # This we used to need for our patched version of gmp 2.x |
---|
2285 | # OUTPUT_MAKEFILES="$OUTPUT_MAKEFILES gmp/Makefile.in" |
---|
2286 | else |
---|
2287 | echo "$ac_t""no" 1>&6 |
---|
2288 | enable_gmp=no |
---|
2289 | fi |
---|
2290 | elif test "$enable_gmp" = yes; then |
---|
2291 | if test ! -d gmp; then |
---|
2292 | echo "$ac_t""no" 1>&6 |
---|
2293 | { echo "configure: error: Can not find gmp subdir" 1>&2; exit 1; } |
---|
2294 | else |
---|
2295 | echo "$ac_t""yes" 1>&6 |
---|
2296 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS gmp" |
---|
2297 | BUILD1_SUBDIRS="$BUILD1_SUBDIRS gmp" |
---|
2298 | # This we used to need for our patched version of gmp 2.x |
---|
2299 | # OUTPUT_MAKEFILES="$OUTPUT_MAKEFILES gmp/Makefile.in" |
---|
2300 | fi |
---|
2301 | else |
---|
2302 | echo "$ac_t""no" 1>&6 |
---|
2303 | fi |
---|
2304 | |
---|
2305 | if test "$enable_gmp" = yes; then |
---|
2306 | # for gmp-3.0 to work for all ix86 processors, set generic target |
---|
2307 | if test "$target" = NONE; then |
---|
2308 | case "$ac_cv_singuname" in |
---|
2309 | ix86*) |
---|
2310 | gmp_target=`./config.guess | sed 's/^\w*-/i386-/'` |
---|
2311 | ac_configure_args="$ac_configure_args --target=$gmp_target" |
---|
2312 | ;; |
---|
2313 | esac |
---|
2314 | fi |
---|
2315 | # furthermore, disable building of dynamic libraries, for we want to |
---|
2316 | # link against the static ones |
---|
2317 | if test "$enable_shared" != no; then |
---|
2318 | ac_configure_args="$ac_configure_args --disable-shared" |
---|
2319 | fi |
---|
2320 | fi |
---|
2321 | |
---|
2322 | # Check whether we have gmp |
---|
2323 | if test "$ac_gmp_ok" != yes && test "$enable_gmp" != yes; then |
---|
2324 | { echo "configure: error: can neither find nor built gmp" 1>&2; exit 1; } |
---|
2325 | fi |
---|
2326 | |
---|
2327 | # Check whether we need to cheat subsequent configures with --enable-gmp |
---|
2328 | if test "$ac_gmp_ok" != yes && test "$enable_gmp" != yes; then |
---|
2329 | ac_configure_args="$ac_configure_args --enable-gmp" |
---|
2330 | fi |
---|
2331 | |
---|
2332 | echo $ac_n "checking whether to configure and build MP lib""... $ac_c" 1>&6 |
---|
2333 | echo "configure:2334: checking whether to configure and build MP lib" >&5 |
---|
2334 | if test "$enable_MP" != yes && test "$enable_MP" != no; then |
---|
2335 | if test "$with_MP" != no && test "$ac_MP_ok" != yes && test -d MP && \ |
---|
2336 | (test "$enable_gmp" = yes || test "$ac_gmp_ok" = yes); then |
---|
2337 | echo "$ac_t""yes" 1>&6 |
---|
2338 | enable_MP=yes |
---|
2339 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS MP" |
---|
2340 | BUILD1_SUBDIRS="$BUILD1_SUBDIRS MP" |
---|
2341 | ac_configure_args="$ac_configure_args --enable-MP" |
---|
2342 | else |
---|
2343 | echo "$ac_t""no" 1>&6 |
---|
2344 | enable_MP=no |
---|
2345 | fi |
---|
2346 | elif test "$enable_MP" = yes; then |
---|
2347 | if test ! -d MP; then |
---|
2348 | echo "$ac_t""no" 1>&6 |
---|
2349 | { echo "configure: error: can not build MP without MP directory" 1>&2; exit 1; } |
---|
2350 | fi |
---|
2351 | if test "$enable_gmp" = yes || test "$ac_gmp_ok" = yes; then |
---|
2352 | echo "$ac_t""yes" 1>&6 |
---|
2353 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS MP" |
---|
2354 | BUILD1_SUBDIRS="$BUILD1_SUBDIRS MP" |
---|
2355 | else |
---|
2356 | echo "$ac_t""no" 1>&6 |
---|
2357 | { echo "configure: error: can not build MP without gmp" 1>&2; exit 1; } |
---|
2358 | fi |
---|
2359 | else |
---|
2360 | echo "$ac_t""no" 1>&6 |
---|
2361 | fi |
---|
2362 | |
---|
2363 | # need MP code to be compiled with -fPIC, should not hurt anybody else |
---|
2364 | if test "$enable_MP" = yes && test "${with_extra_cflags+set}" != set; then |
---|
2365 | ac_configure_args="$ac_configure_args --with-extra_cflags=-fPIC" |
---|
2366 | fi |
---|
2367 | |
---|
2368 | echo $ac_n "checking whether to configure and build NTL lib""... $ac_c" 1>&6 |
---|
2369 | echo "configure:2370: checking whether to configure and build NTL lib" >&5 |
---|
2370 | if test "$enable_NTL" != yes && test "$enable_NTL" != no; then |
---|
2371 | if test "$with_NTL" != no && test "$ac_NTL_ok" != yes && \ |
---|
2372 | test -d ntl; then |
---|
2373 | enable_NTL=yes |
---|
2374 | echo "$ac_t""yes" 1>&6 |
---|
2375 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS ntl" |
---|
2376 | BUILD1_SUBDIRS="$BUILD1_SUBDIRS ntl" |
---|
2377 | ac_configure_args="$ac_configure_args --enable-NTL" |
---|
2378 | ac_ext=C |
---|
2379 | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
---|
2380 | ac_cpp='$CXXCPP $CPPFLAGS' |
---|
2381 | ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
---|
2382 | ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
---|
2383 | cross_compiling=$ac_cv_prog_cxx_cross |
---|
2384 | |
---|
2385 | echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 |
---|
2386 | echo "configure:2387: checking how to run the C++ preprocessor" >&5 |
---|
2387 | if test -z "$CXXCPP"; then |
---|
2388 | if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then |
---|
2389 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2390 | else |
---|
2391 | ac_ext=C |
---|
2392 | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
---|
2393 | ac_cpp='$CXXCPP $CPPFLAGS' |
---|
2394 | ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
---|
2395 | ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
---|
2396 | cross_compiling=$ac_cv_prog_cxx_cross |
---|
2397 | CXXCPP="${CXX-g++} -E" |
---|
2398 | cat > conftest.$ac_ext <<EOF |
---|
2399 | #line 2400 "configure" |
---|
2400 | #include "confdefs.h" |
---|
2401 | #include <stdlib.h> |
---|
2402 | EOF |
---|
2403 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
2404 | { (eval echo configure:2405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
2405 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
---|
2406 | if test -z "$ac_err"; then |
---|
2407 | : |
---|
2408 | else |
---|
2409 | echo "$ac_err" >&5 |
---|
2410 | echo "configure: failed program was:" >&5 |
---|
2411 | cat conftest.$ac_ext >&5 |
---|
2412 | rm -rf conftest* |
---|
2413 | CXXCPP=/lib/cpp |
---|
2414 | fi |
---|
2415 | rm -f conftest* |
---|
2416 | ac_cv_prog_CXXCPP="$CXXCPP" |
---|
2417 | ac_ext=C |
---|
2418 | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
---|
2419 | ac_cpp='$CXXCPP $CPPFLAGS' |
---|
2420 | ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
---|
2421 | ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
---|
2422 | cross_compiling=$ac_cv_prog_cxx_cross |
---|
2423 | fi |
---|
2424 | fi |
---|
2425 | CXXCPP="$ac_cv_prog_CXXCPP" |
---|
2426 | echo "$ac_t""$CXXCPP" 1>&6 |
---|
2427 | |
---|
2428 | for ac_hdr in iostream.h iostream |
---|
2429 | do |
---|
2430 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
---|
2431 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
---|
2432 | echo "configure:2433: checking for $ac_hdr" >&5 |
---|
2433 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
---|
2434 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2435 | else |
---|
2436 | cat > conftest.$ac_ext <<EOF |
---|
2437 | #line 2438 "configure" |
---|
2438 | #include "confdefs.h" |
---|
2439 | #include <$ac_hdr> |
---|
2440 | EOF |
---|
2441 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
2442 | { (eval echo configure:2443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
2443 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
---|
2444 | if test -z "$ac_err"; then |
---|
2445 | rm -rf conftest* |
---|
2446 | eval "ac_cv_header_$ac_safe=yes" |
---|
2447 | else |
---|
2448 | echo "$ac_err" >&5 |
---|
2449 | echo "configure: failed program was:" >&5 |
---|
2450 | cat conftest.$ac_ext >&5 |
---|
2451 | rm -rf conftest* |
---|
2452 | eval "ac_cv_header_$ac_safe=no" |
---|
2453 | fi |
---|
2454 | rm -f conftest* |
---|
2455 | fi |
---|
2456 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
---|
2457 | echo "$ac_t""yes" 1>&6 |
---|
2458 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
---|
2459 | cat >> confdefs.h <<EOF |
---|
2460 | #define $ac_tr_hdr 1 |
---|
2461 | EOF |
---|
2462 | |
---|
2463 | else |
---|
2464 | echo "$ac_t""no" 1>&6 |
---|
2465 | fi |
---|
2466 | done |
---|
2467 | |
---|
2468 | |
---|
2469 | else |
---|
2470 | enable_NTL=no |
---|
2471 | echo "$ac_t""no" 1>&6 |
---|
2472 | fi |
---|
2473 | elif test "$enable_NTL" = yes; then |
---|
2474 | if test -d ntl; then |
---|
2475 | echo "$ac_t""yes" 1>&6 |
---|
2476 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS ntl" |
---|
2477 | BUILD1_SUBDIRS="$BUILD1_SUBDIRS ntl" |
---|
2478 | else |
---|
2479 | echo "$ac_t""no" 1>&6 |
---|
2480 | { echo "configure: error: can not build NTL without ntl directory" 1>&2; exit 1; } |
---|
2481 | fi |
---|
2482 | else |
---|
2483 | echo "$ac_t""no" 1>&6 |
---|
2484 | fi |
---|
2485 | |
---|
2486 | echo $ac_n "checking whether to configure and build factory lib""... $ac_c" 1>&6 |
---|
2487 | echo "configure:2488: checking whether to configure and build factory lib" >&5 |
---|
2488 | if test "$enable_factory" != yes && test "$enable_factory" != no; then |
---|
2489 | if test "$with_factory" != no && test "$ac_factory_ok" != yes && \ |
---|
2490 | test -d factory; then |
---|
2491 | enable_factory=yes |
---|
2492 | echo "$ac_t""yes" 1>&6 |
---|
2493 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS factory" |
---|
2494 | BUILD1_SUBDIRS="$BUILD1_SUBDIRS factory" |
---|
2495 | ac_configure_args="$ac_configure_args --enable-factory" |
---|
2496 | else |
---|
2497 | enable_factory=no |
---|
2498 | echo "$ac_t""no" 1>&6 |
---|
2499 | fi |
---|
2500 | elif test "$enable_factory" = yes; then |
---|
2501 | if test -d factory; then |
---|
2502 | echo "$ac_t""yes" 1>&6 |
---|
2503 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS factory" |
---|
2504 | BUILD1_SUBDIRS="$BUILD1_SUBDIRS factory" |
---|
2505 | else |
---|
2506 | echo "$ac_t""no" 1>&6 |
---|
2507 | { echo "configure: error: can not build factory without factory directory" 1>&2; exit 1; } |
---|
2508 | fi |
---|
2509 | else |
---|
2510 | echo "$ac_t""no" 1>&6 |
---|
2511 | fi |
---|
2512 | |
---|
2513 | echo $ac_n "checking whether to configure and build libfac lib""... $ac_c" 1>&6 |
---|
2514 | echo "configure:2515: checking whether to configure and build libfac lib" >&5 |
---|
2515 | if test "$enable_libfac" != yes && test "$enable_libfac" != no; then |
---|
2516 | if test "$with_libfac" != no && test "$ac_libfac_ok" != yes && \ |
---|
2517 | test -d libfac && \ |
---|
2518 | (test "$ac_factory_ok" = yes || test "$enable_factory" = yes); then |
---|
2519 | enable_libfac=yes |
---|
2520 | echo "$ac_t""yes" 1>&6 |
---|
2521 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS libfac" |
---|
2522 | BUILD1_SUBDIRS="$BUILD1_SUBDIRS libfac" |
---|
2523 | ac_configure_args="$ac_configure_args --enable-libfac" |
---|
2524 | else |
---|
2525 | enable_libfac=no |
---|
2526 | echo "$ac_t""no" 1>&6 |
---|
2527 | fi |
---|
2528 | elif test "$enable_libfac" = yes; then |
---|
2529 | if test ! -d libfac; then |
---|
2530 | echo "$ac_t""no" 1>&6 |
---|
2531 | { echo "configure: error: can not build libfac without libfac directory" 1>&2; exit 1; } |
---|
2532 | fi |
---|
2533 | if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then |
---|
2534 | echo "$ac_t""yes" 1>&6 |
---|
2535 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS libfac" |
---|
2536 | BUILD1_SUBDIRS="$BUILD1_SUBDIRS libfac" |
---|
2537 | else |
---|
2538 | echo "$ac_t""no" 1>&6 |
---|
2539 | { echo "configure: error: Can not build libfac without factory" 1>&2; exit 1; } |
---|
2540 | fi |
---|
2541 | else |
---|
2542 | echo "$ac_t""no" 1>&6 |
---|
2543 | fi |
---|
2544 | |
---|
2545 | echo $ac_n "checking whether to configure and build sgroup lib""... $ac_c" 1>&6 |
---|
2546 | echo "configure:2547: checking whether to configure and build sgroup lib" >&5 |
---|
2547 | if test "$enable_sgroup" = yes; then |
---|
2548 | if test ! -d sgroup; then |
---|
2549 | echo "$ac_t""no" 1>&6 |
---|
2550 | { echo "configure: error: can not build sgroup without sgroup directory" 1>&2; exit 1; } |
---|
2551 | fi |
---|
2552 | if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then |
---|
2553 | echo "$ac_t""yes" 1>&6 |
---|
2554 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS sgroup" |
---|
2555 | BUILD1_SUBDIRS="$BUILD1_SUBDIRS sgroup" |
---|
2556 | else |
---|
2557 | echo "$ac_t""no" 1>&6 |
---|
2558 | { echo "configure: error: Can not build sgroup without MP" 1>&2; exit 1; } |
---|
2559 | fi |
---|
2560 | else |
---|
2561 | echo "$ac_t""no" 1>&6 |
---|
2562 | fi |
---|
2563 | |
---|
2564 | BUILD_SUBDIRS="$CONFIG_SUBDIRS" |
---|
2565 | |
---|
2566 | echo $ac_n "checking whether to configure and build Singular""... $ac_c" 1>&6 |
---|
2567 | echo "configure:2568: checking whether to configure and build Singular" >&5 |
---|
2568 | if test "$enable_Singular" != yes && test "$enable_Singular" != no; then |
---|
2569 | if test "$with_Singular" != no && test -d Singular; then |
---|
2570 | enable_Singular=yes |
---|
2571 | echo "$ac_t""yes" 1>&6 |
---|
2572 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS Singular" |
---|
2573 | BUILD_SUBDIRS="$BUILD_SUBDIRS kernel Singular" |
---|
2574 | BUILD1_SUBDIRS="$BUILD1_SUBDIRS kernel Singular" |
---|
2575 | ac_configure_args="$ac_configure_args --enable-Singular" |
---|
2576 | else |
---|
2577 | enable_Singular=no |
---|
2578 | echo "$ac_t""no" 1>&6 |
---|
2579 | fi |
---|
2580 | elif test "$enable_Singular" = yes; then |
---|
2581 | if test -d Singular; then |
---|
2582 | echo "$ac_t""yes" 1>&6 |
---|
2583 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS Singular" |
---|
2584 | BUILD_SUBDIRS="$BUILD_SUBDIRS kernel Singular" |
---|
2585 | BUILD1_SUBDIRS="$BUILD1_SUBDIRS kernel Singular" |
---|
2586 | else |
---|
2587 | echo "$ac_t""no" 1>&6 |
---|
2588 | { echo "configure: error: can not build Singular without Singular directory" 1>&2; exit 1; } |
---|
2589 | fi |
---|
2590 | else |
---|
2591 | echo "$ac_t""no" 1>&6 |
---|
2592 | fi |
---|
2593 | |
---|
2594 | |
---|
2595 | # test if IntegerProgramming should be built: |
---|
2596 | |
---|
2597 | echo $ac_n "checking whether to build IntegerProgramming""... $ac_c" 1>&6 |
---|
2598 | echo "configure:2599: checking whether to build IntegerProgramming" >&5 |
---|
2599 | if test "$enable_IntegerProgramming" != no && test -d "IntegerProgramming"; then |
---|
2600 | BUILD_SUBDIRS="$BUILD_SUBDIRS IntegerProgramming" |
---|
2601 | BUILD1_SUBDIRS="$BUILD1_SUBDIRS IntegerProgramming" |
---|
2602 | echo "$ac_t""yes" 1>&6 |
---|
2603 | if test "$enable_IntegerProgramming" != yes; then |
---|
2604 | ac_configure_args="$ac_configure_args --enable-IntegerProgramming" |
---|
2605 | fi |
---|
2606 | else |
---|
2607 | echo "$ac_t""no" 1>&6 |
---|
2608 | fi |
---|
2609 | |
---|
2610 | echo $ac_n "checking whether to build Plural""... $ac_c" 1>&6 |
---|
2611 | echo "configure:2612: checking whether to build Plural" >&5 |
---|
2612 | if test "$enable_Plural" != no || test "$with_Plural" != no; then |
---|
2613 | echo "$ac_t""yes" 1>&6 |
---|
2614 | if test "$enable_Plural" != yes; then |
---|
2615 | ac_configure_args="$ac_configure_args --enable-Plural" |
---|
2616 | fi |
---|
2617 | else |
---|
2618 | echo "$ac_t""no" 1>&6 |
---|
2619 | fi |
---|
2620 | |
---|
2621 | |
---|
2622 | echo $ac_n "checking whether to configure and build Texinfo""... $ac_c" 1>&6 |
---|
2623 | echo "configure:2624: checking whether to configure and build Texinfo" >&5 |
---|
2624 | if test "$enable_Texinfo" != no && test -d Texinfo; then |
---|
2625 | echo "$ac_t""yes" 1>&6 |
---|
2626 | enable_texinfo=yes |
---|
2627 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS Texinfo" |
---|
2628 | BUILD_SUBDIRS="$BUILD_SUBDIRS Texinfo" |
---|
2629 | TEXI2DVI=${bindir}/texi2dvi |
---|
2630 | TEXI2PDF=${bindir}/texi2pdf |
---|
2631 | MAKEINFO="${bindir}/makeinfo" |
---|
2632 | TEXINDEX=${bindir}/texindex |
---|
2633 | |
---|
2634 | |
---|
2635 | |
---|
2636 | |
---|
2637 | if test "$enable_Texinfo" != yes; then |
---|
2638 | ac_configure_args="$ac_configure_args --enable-Texinfo" |
---|
2639 | fi |
---|
2640 | else |
---|
2641 | echo "$ac_t""no" 1>&6 |
---|
2642 | echo "configure: warning: Building of doc might fail. Need Texinfo" 1>&2 |
---|
2643 | enable_texinfo=no |
---|
2644 | # Extract the first word of "makeinfo", so it can be a program name with args. |
---|
2645 | set dummy makeinfo; ac_word=$2 |
---|
2646 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
2647 | echo "configure:2648: checking for $ac_word" >&5 |
---|
2648 | if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then |
---|
2649 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2650 | else |
---|
2651 | if test -n "$MAKEINFO"; then |
---|
2652 | ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test. |
---|
2653 | else |
---|
2654 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
2655 | ac_dummy="$PATH" |
---|
2656 | for ac_dir in $ac_dummy; do |
---|
2657 | test -z "$ac_dir" && ac_dir=. |
---|
2658 | if test -f $ac_dir/$ac_word; then |
---|
2659 | ac_cv_prog_MAKEINFO="makeinfo" |
---|
2660 | break |
---|
2661 | fi |
---|
2662 | done |
---|
2663 | IFS="$ac_save_ifs" |
---|
2664 | test -z "$ac_cv_prog_MAKEINFO" && ac_cv_prog_MAKEINFO="${pwd}/warn_not_found.sh makeinfo" |
---|
2665 | fi |
---|
2666 | fi |
---|
2667 | MAKEINFO="$ac_cv_prog_MAKEINFO" |
---|
2668 | if test -n "$MAKEINFO"; then |
---|
2669 | echo "$ac_t""$MAKEINFO" 1>&6 |
---|
2670 | else |
---|
2671 | echo "$ac_t""no" 1>&6 |
---|
2672 | fi |
---|
2673 | |
---|
2674 | # Extract the first word of "texi2dvi", so it can be a program name with args. |
---|
2675 | set dummy texi2dvi; ac_word=$2 |
---|
2676 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
2677 | echo "configure:2678: checking for $ac_word" >&5 |
---|
2678 | if eval "test \"`echo '$''{'ac_cv_prog_TEXI2DVI'+set}'`\" = set"; then |
---|
2679 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2680 | else |
---|
2681 | if test -n "$TEXI2DVI"; then |
---|
2682 | ac_cv_prog_TEXI2DVI="$TEXI2DVI" # Let the user override the test. |
---|
2683 | else |
---|
2684 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
2685 | ac_dummy="$PATH" |
---|
2686 | for ac_dir in $ac_dummy; do |
---|
2687 | test -z "$ac_dir" && ac_dir=. |
---|
2688 | if test -f $ac_dir/$ac_word; then |
---|
2689 | ac_cv_prog_TEXI2DVI="texi2dvi" |
---|
2690 | break |
---|
2691 | fi |
---|
2692 | done |
---|
2693 | IFS="$ac_save_ifs" |
---|
2694 | test -z "$ac_cv_prog_TEXI2DVI" && ac_cv_prog_TEXI2DVI="${pwd}/warn_not_found.sh texi2dvi" |
---|
2695 | fi |
---|
2696 | fi |
---|
2697 | TEXI2DVI="$ac_cv_prog_TEXI2DVI" |
---|
2698 | if test -n "$TEXI2DVI"; then |
---|
2699 | echo "$ac_t""$TEXI2DVI" 1>&6 |
---|
2700 | else |
---|
2701 | echo "$ac_t""no" 1>&6 |
---|
2702 | fi |
---|
2703 | |
---|
2704 | # Extract the first word of "texindex", so it can be a program name with args. |
---|
2705 | set dummy texindex; ac_word=$2 |
---|
2706 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
2707 | echo "configure:2708: checking for $ac_word" >&5 |
---|
2708 | if eval "test \"`echo '$''{'ac_cv_prog_TEXINDEX'+set}'`\" = set"; then |
---|
2709 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2710 | else |
---|
2711 | if test -n "$TEXINDEX"; then |
---|
2712 | ac_cv_prog_TEXINDEX="$TEXINDEX" # Let the user override the test. |
---|
2713 | else |
---|
2714 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
2715 | ac_dummy="$PATH" |
---|
2716 | for ac_dir in $ac_dummy; do |
---|
2717 | test -z "$ac_dir" && ac_dir=. |
---|
2718 | if test -f $ac_dir/$ac_word; then |
---|
2719 | ac_cv_prog_TEXINDEX="texindex" |
---|
2720 | break |
---|
2721 | fi |
---|
2722 | done |
---|
2723 | IFS="$ac_save_ifs" |
---|
2724 | test -z "$ac_cv_prog_TEXINDEX" && ac_cv_prog_TEXINDEX="${pwd}/warn_not_found.sh texindex" |
---|
2725 | fi |
---|
2726 | fi |
---|
2727 | TEXINDEX="$ac_cv_prog_TEXINDEX" |
---|
2728 | if test -n "$TEXINDEX"; then |
---|
2729 | echo "$ac_t""$TEXINDEX" 1>&6 |
---|
2730 | else |
---|
2731 | echo "$ac_t""no" 1>&6 |
---|
2732 | fi |
---|
2733 | |
---|
2734 | # Extract the first word of "texi2pdf", so it can be a program name with args. |
---|
2735 | set dummy texi2pdf; ac_word=$2 |
---|
2736 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
2737 | echo "configure:2738: checking for $ac_word" >&5 |
---|
2738 | if eval "test \"`echo '$''{'ac_cv_prog_TEXI2PDF'+set}'`\" = set"; then |
---|
2739 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2740 | else |
---|
2741 | if test -n "$TEXI2PDF"; then |
---|
2742 | ac_cv_prog_TEXI2PDF="$TEXI2PDF" # Let the user override the test. |
---|
2743 | else |
---|
2744 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
2745 | ac_dummy="$PATH" |
---|
2746 | for ac_dir in $ac_dummy; do |
---|
2747 | test -z "$ac_dir" && ac_dir=. |
---|
2748 | if test -f $ac_dir/$ac_word; then |
---|
2749 | ac_cv_prog_TEXI2PDF="texi2pdf" |
---|
2750 | break |
---|
2751 | fi |
---|
2752 | done |
---|
2753 | IFS="$ac_save_ifs" |
---|
2754 | test -z "$ac_cv_prog_TEXI2PDF" && ac_cv_prog_TEXI2PDF="${pwd}/warn_not_found.sh texi2pdf" |
---|
2755 | fi |
---|
2756 | fi |
---|
2757 | TEXI2PDF="$ac_cv_prog_TEXI2PDF" |
---|
2758 | if test -n "$TEXI2PDF"; then |
---|
2759 | echo "$ac_t""$TEXI2PDF" 1>&6 |
---|
2760 | else |
---|
2761 | echo "$ac_t""no" 1>&6 |
---|
2762 | fi |
---|
2763 | |
---|
2764 | fi |
---|
2765 | |
---|
2766 | echo $ac_n "checking whether to configure and build Texi2html""... $ac_c" 1>&6 |
---|
2767 | echo "configure:2768: checking whether to configure and build Texi2html" >&5 |
---|
2768 | if test "$enable_Texi2html" != no && test -d Texi2html; then |
---|
2769 | echo "$ac_t""yes" 1>&6 |
---|
2770 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS Texi2html" |
---|
2771 | BUILD_SUBDIRS="$BUILD_SUBDIRS Texi2html" |
---|
2772 | if test "$enable_Texi2html" != yes; then |
---|
2773 | ac_configure_args="$ac_configure_args --enable-Texi2html" |
---|
2774 | fi |
---|
2775 | TEXI2HTML=${bindir}/texi2html |
---|
2776 | |
---|
2777 | else |
---|
2778 | echo "$ac_t""no" 1>&6 |
---|
2779 | # Extract the first word of "texi2html", so it can be a program name with args. |
---|
2780 | set dummy texi2html; ac_word=$2 |
---|
2781 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
2782 | echo "configure:2783: checking for $ac_word" >&5 |
---|
2783 | if eval "test \"`echo '$''{'ac_cv_prog_TEXI2HTML'+set}'`\" = set"; then |
---|
2784 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2785 | else |
---|
2786 | if test -n "$TEXI2HTML"; then |
---|
2787 | ac_cv_prog_TEXI2HTML="$TEXI2HTML" # Let the user override the test. |
---|
2788 | else |
---|
2789 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
2790 | ac_dummy="$PATH" |
---|
2791 | for ac_dir in $ac_dummy; do |
---|
2792 | test -z "$ac_dir" && ac_dir=. |
---|
2793 | if test -f $ac_dir/$ac_word; then |
---|
2794 | ac_cv_prog_TEXI2HTML="texi2html" |
---|
2795 | break |
---|
2796 | fi |
---|
2797 | done |
---|
2798 | IFS="$ac_save_ifs" |
---|
2799 | fi |
---|
2800 | fi |
---|
2801 | TEXI2HTML="$ac_cv_prog_TEXI2HTML" |
---|
2802 | if test -n "$TEXI2HTML"; then |
---|
2803 | echo "$ac_t""$TEXI2HTML" 1>&6 |
---|
2804 | else |
---|
2805 | echo "$ac_t""no" 1>&6 |
---|
2806 | fi |
---|
2807 | |
---|
2808 | fi |
---|
2809 | |
---|
2810 | if test "${TEXI2HTML+set}" != set; then |
---|
2811 | echo "configure: warning: texi2html not found. HTML doc generation will fail" 1>&2 |
---|
2812 | fi |
---|
2813 | if test "$ac_cv_prog_LATEX2HTML" = latex2html; then |
---|
2814 | TEXI2HTML_OPTS="-l2h" |
---|
2815 | fi |
---|
2816 | |
---|
2817 | |
---|
2818 | |
---|
2819 | echo $ac_n "checking whether to build doc""... $ac_c" 1>&6 |
---|
2820 | echo "configure:2821: checking whether to build doc" >&5 |
---|
2821 | if test "$enable_doc" != no && test -d doc; then |
---|
2822 | echo "$ac_t""yes" 1>&6 |
---|
2823 | BUILD_SUBDIRS="$BUILD_SUBDIRS doc" |
---|
2824 | if test "$enable_doc" != yes; then |
---|
2825 | enable_doc=yes |
---|
2826 | ac_configure_args="$ac_configure_args --enable-doc" |
---|
2827 | fi |
---|
2828 | else |
---|
2829 | enable_doc=no |
---|
2830 | echo "$ac_t""no" 1>&6 |
---|
2831 | fi |
---|
2832 | |
---|
2833 | echo $ac_n "checking whether to build emacs""... $ac_c" 1>&6 |
---|
2834 | echo "configure:2835: checking whether to build emacs" >&5 |
---|
2835 | if test "$enable_doc" = yes && test "$enable_emacs" != no && test -d emacs; then |
---|
2836 | echo "$ac_t""yes" 1>&6 |
---|
2837 | BUILD_SUBDIRS="$BUILD_SUBDIRS emacs" |
---|
2838 | if test "$enable_emacs" != yes; then |
---|
2839 | ac_configure_args="$ac_configure_args --enable-emacs" |
---|
2840 | fi |
---|
2841 | else |
---|
2842 | echo "$ac_t""no" 1>&6 |
---|
2843 | fi |
---|
2844 | |
---|
2845 | echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 |
---|
2846 | echo "configure:2847: checking which apint package to use" >&5 |
---|
2847 | if test "$with_apint" = gmp; then |
---|
2848 | if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then |
---|
2849 | echo "$ac_t""gmp" 1>&6 |
---|
2850 | else |
---|
2851 | echo "$ac_t""none" 1>&6 |
---|
2852 | { echo "configure: error: can not use with gmp without finding or building it" 1>&2; exit 1; } |
---|
2853 | fi |
---|
2854 | elif test "$ac_gmp_ok" = yes || test "$enable_gmp"; then |
---|
2855 | echo "$ac_t""gmp" 1>&6 |
---|
2856 | ac_configure_args="$ac_configure_args --with-apint=gmp" |
---|
2857 | else |
---|
2858 | { echo "configure: error: gmp required" 1>&2; exit 1; } |
---|
2859 | fi |
---|
2860 | |
---|
2861 | echo $ac_n "checking whether to use with MP""... $ac_c" 1>&6 |
---|
2862 | echo "configure:2863: checking whether to use with MP" >&5 |
---|
2863 | if test "$with_MP" = yes; then |
---|
2864 | if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then |
---|
2865 | echo "$ac_t""yes" 1>&6 |
---|
2866 | else |
---|
2867 | echo "$ac_t""none" 1>&6 |
---|
2868 | { echo "configure: error: can not use with MP without finding or building it" 1>&2; exit 1; } |
---|
2869 | fi |
---|
2870 | elif test "$with_MP" = no; then |
---|
2871 | echo "$ac_t""no" 1>&6 |
---|
2872 | elif test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then |
---|
2873 | echo "$ac_t""yes" 1>&6 |
---|
2874 | ac_configure_args="$ac_configure_args --with-MP" |
---|
2875 | else |
---|
2876 | echo "$ac_t""no" 1>&6 |
---|
2877 | ac_configure_args="$ac_configure_args --without-MP" |
---|
2878 | DOC2TEX_EXAMPLE_EXCLUSIONS="$DOC2TEX_EXAMPLE_EXCLUSIONS -exclude MP" |
---|
2879 | fi |
---|
2880 | |
---|
2881 | echo $ac_n "checking whether to use with factory""... $ac_c" 1>&6 |
---|
2882 | echo "configure:2883: checking whether to use with factory" >&5 |
---|
2883 | if test "$with_factory" = yes; then |
---|
2884 | if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then |
---|
2885 | echo "$ac_t""yes" 1>&6 |
---|
2886 | else |
---|
2887 | echo "$ac_t""none" 1>&6 |
---|
2888 | { echo "configure: error: can not use with factory without finding or building it" 1>&2; exit 1; } |
---|
2889 | fi |
---|
2890 | elif test "$with_factory" = no; then |
---|
2891 | echo "$ac_t""no" 1>&6 |
---|
2892 | elif test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then |
---|
2893 | echo "$ac_t""yes" 1>&6 |
---|
2894 | ac_configure_args="$ac_configure_args --with-factory" |
---|
2895 | else |
---|
2896 | echo "$ac_t""no" 1>&6 |
---|
2897 | ac_configure_args="$ac_configure_args --without-factory" |
---|
2898 | fi |
---|
2899 | |
---|
2900 | echo $ac_n "checking whether to use with libfac""... $ac_c" 1>&6 |
---|
2901 | echo "configure:2902: checking whether to use with libfac" >&5 |
---|
2902 | if test "$with_libfac" = yes; then |
---|
2903 | if test "$ac_libfac_ok" = yes || test "$enable_libfac" = yes; then |
---|
2904 | echo "$ac_t""yes" 1>&6 |
---|
2905 | else |
---|
2906 | echo "$ac_t""none" 1>&6 |
---|
2907 | { echo "configure: error: can not use with libfac without finding or building it" 1>&2; exit 1; } |
---|
2908 | fi |
---|
2909 | elif test "$with_libfac" = no; then |
---|
2910 | echo "$ac_t""no" 1>&6 |
---|
2911 | elif test "$ac_libfac_ok" = yes || test "$enable_libfac" = yes; then |
---|
2912 | echo "$ac_t""yes" 1>&6 |
---|
2913 | ac_configure_args="$ac_configure_args --with-libfac" |
---|
2914 | else |
---|
2915 | echo "$ac_t""no" 1>&6 |
---|
2916 | ac_configure_args="$ac_configure_args --without-libfac" |
---|
2917 | fi |
---|
2918 | |
---|
2919 | |
---|
2920 | |
---|
2921 | echo $ac_n "checking whether to use with Singular""... $ac_c" 1>&6 |
---|
2922 | echo "configure:2923: checking whether to use with Singular" >&5 |
---|
2923 | if test "$with_Singular" != no && test "$with_Singular" != yes; then |
---|
2924 | if test "$enable_Singular" = yes; then |
---|
2925 | with_Singular=yes |
---|
2926 | else |
---|
2927 | with_Singular=no |
---|
2928 | fi |
---|
2929 | ac_configure_args="$ac_configure_args --with-Singular=$with_Singular" |
---|
2930 | fi |
---|
2931 | |
---|
2932 | if test "$with_Singular" != no; then |
---|
2933 | echo "$ac_t""yes" 1>&6 |
---|
2934 | else |
---|
2935 | echo "$ac_t""no" 1>&6 |
---|
2936 | fi |
---|
2937 | |
---|
2938 | |
---|
2939 | SUBDIRS="" |
---|
2940 | if test -d omalloc; then |
---|
2941 | SUBDIRS="$SUBDIRS omalloc" |
---|
2942 | fi |
---|
2943 | if test -d gmp; then |
---|
2944 | SUBDIRS="$SUBDIRS gmp" |
---|
2945 | fi |
---|
2946 | if test -d MP; then |
---|
2947 | SUBDIRS="$SUBDIRS MP" |
---|
2948 | fi |
---|
2949 | if test -d ntl; then |
---|
2950 | SUBDIRS="$SUBDIRS ntl" |
---|
2951 | fi |
---|
2952 | if test -d factory; then |
---|
2953 | SUBDIRS="$SUBDIRS factory" |
---|
2954 | fi |
---|
2955 | if test -d libfac; then |
---|
2956 | SUBDIRS="$SUBDIRS libfac" |
---|
2957 | fi |
---|
2958 | if test -d sgroup; then |
---|
2959 | SUBDIRS="$SUBDIRS sgroup" |
---|
2960 | fi |
---|
2961 | if test -d Singular; then |
---|
2962 | SUBDIRS="$SUBDIRS Singular" |
---|
2963 | fi |
---|
2964 | if test -d Texinfo; then |
---|
2965 | SUBDIRS="$SUBDIRS Texinfo" |
---|
2966 | fi |
---|
2967 | if test -d Texi2html; then |
---|
2968 | SUBDIRS="$SUBDIRS Texi2html" |
---|
2969 | fi |
---|
2970 | if test -d doc; then |
---|
2971 | SUBDIRS="$SUBDIRS doc" |
---|
2972 | fi |
---|
2973 | if test -d emacs; then |
---|
2974 | SUBDIRS="$SUBDIRS emacs" |
---|
2975 | fi |
---|
2976 | if test -d modules; then |
---|
2977 | SUBDIRS="$SUBDIRS modules" |
---|
2978 | fi |
---|
2979 | if test -d "modules"; then |
---|
2980 | CONFIG_SUBDIRS=$CONFIG_SUBDIRS" modules" |
---|
2981 | BUILD_SUBDIRS=$BUILD_SUBDIRS" modules" |
---|
2982 | fi |
---|
2983 | |
---|
2984 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
---|
2985 | echo "configure:2986: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
---|
2986 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
---|
2987 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
---|
2988 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2989 | else |
---|
2990 | cat > conftestmake <<\EOF |
---|
2991 | all: |
---|
2992 | @echo 'ac_maketemp="${MAKE}"' |
---|
2993 | EOF |
---|
2994 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
---|
2995 | eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` |
---|
2996 | if test -n "$ac_maketemp"; then |
---|
2997 | eval ac_cv_prog_make_${ac_make}_set=yes |
---|
2998 | else |
---|
2999 | eval ac_cv_prog_make_${ac_make}_set=no |
---|
3000 | fi |
---|
3001 | rm -f conftestmake |
---|
3002 | fi |
---|
3003 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
---|
3004 | echo "$ac_t""yes" 1>&6 |
---|
3005 | SET_MAKE= |
---|
3006 | else |
---|
3007 | echo "$ac_t""no" 1>&6 |
---|
3008 | SET_MAKE="MAKE=${MAKE-make}" |
---|
3009 | fi |
---|
3010 | |
---|
3011 | |
---|
3012 | |
---|
3013 | |
---|
3014 | |
---|
3015 | subdirs="$CONFIG_SUBDIRS" |
---|
3016 | |
---|
3017 | |
---|
3018 | trap '' 1 2 15 |
---|
3019 | cat > confcache <<\EOF |
---|
3020 | # This file is a shell script that caches the results of configure |
---|
3021 | # tests run on this system so they can be shared between configure |
---|
3022 | # scripts and configure runs. It is not useful on other systems. |
---|
3023 | # If it contains results you don't want to keep, you may remove or edit it. |
---|
3024 | # |
---|
3025 | # By default, configure uses ./config.cache as the cache file, |
---|
3026 | # creating it if it does not exist already. You can give configure |
---|
3027 | # the --cache-file=FILE option to use a different cache file; that is |
---|
3028 | # what configure does when it calls configure scripts in |
---|
3029 | # subdirectories, so they share the cache. |
---|
3030 | # Giving --cache-file=/dev/null disables caching, for debugging configure. |
---|
3031 | # config.status only pays attention to the cache file if you give it the |
---|
3032 | # --recheck option to rerun configure. |
---|
3033 | # |
---|
3034 | EOF |
---|
3035 | # The following way of writing the cache mishandles newlines in values, |
---|
3036 | # but we know of no workaround that is simple, portable, and efficient. |
---|
3037 | # So, don't put newlines in cache variables' values. |
---|
3038 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
3039 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
3040 | (set) 2>&1 | |
---|
3041 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
---|
3042 | *ac_space=\ *) |
---|
3043 | # `set' does not quote correctly, so add quotes (double-quote substitution |
---|
3044 | # turns \\\\ into \\, and sed turns \\ into \). |
---|
3045 | sed -n \ |
---|
3046 | -e "s/'/'\\\\''/g" \ |
---|
3047 | -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" |
---|
3048 | ;; |
---|
3049 | *) |
---|
3050 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
3051 | sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' |
---|
3052 | ;; |
---|
3053 | esac >> confcache |
---|
3054 | if cmp -s $cache_file confcache; then |
---|
3055 | : |
---|
3056 | else |
---|
3057 | if test -w $cache_file; then |
---|
3058 | echo "updating cache $cache_file" |
---|
3059 | cat confcache > $cache_file |
---|
3060 | else |
---|
3061 | echo "not updating unwritable cache $cache_file" |
---|
3062 | fi |
---|
3063 | fi |
---|
3064 | rm -f confcache |
---|
3065 | |
---|
3066 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
---|
3067 | |
---|
3068 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
3069 | # Let make expand exec_prefix. |
---|
3070 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
3071 | |
---|
3072 | # Any assignment to VPATH causes Sun make to only execute |
---|
3073 | # the first set of double-colon rules, so remove it if not needed. |
---|
3074 | # If there is a colon in the path, we need to keep it. |
---|
3075 | if test "x$srcdir" = x.; then |
---|
3076 | ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' |
---|
3077 | fi |
---|
3078 | |
---|
3079 | trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 |
---|
3080 | |
---|
3081 | # Transform confdefs.h into DEFS. |
---|
3082 | # Protect against shell expansion while executing Makefile rules. |
---|
3083 | # Protect against Makefile macro expansion. |
---|
3084 | cat > conftest.defs <<\EOF |
---|
3085 | s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g |
---|
3086 | s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g |
---|
3087 | s%\[%\\&%g |
---|
3088 | s%\]%\\&%g |
---|
3089 | s%\$%$$%g |
---|
3090 | EOF |
---|
3091 | DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` |
---|
3092 | rm -f conftest.defs |
---|
3093 | |
---|
3094 | |
---|
3095 | # Without the "./", some shells look in PATH for config.status. |
---|
3096 | : ${CONFIG_STATUS=./config.status} |
---|
3097 | |
---|
3098 | echo creating $CONFIG_STATUS |
---|
3099 | rm -f $CONFIG_STATUS |
---|
3100 | cat > $CONFIG_STATUS <<EOF |
---|
3101 | #! /bin/sh |
---|
3102 | # Generated automatically by configure. |
---|
3103 | # Run this file to recreate the current configuration. |
---|
3104 | # This directory was configured as follows, |
---|
3105 | # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
---|
3106 | # |
---|
3107 | # $0 $ac_configure_args |
---|
3108 | # |
---|
3109 | # Compiler output produced by configure, useful for debugging |
---|
3110 | # configure, is in ./config.log if it exists. |
---|
3111 | |
---|
3112 | ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" |
---|
3113 | for ac_option |
---|
3114 | do |
---|
3115 | case "\$ac_option" in |
---|
3116 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
3117 | echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
---|
3118 | exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
---|
3119 | -version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
---|
3120 | echo "$CONFIG_STATUS generated by autoconf version 2.13" |
---|
3121 | exit 0 ;; |
---|
3122 | -help | --help | --hel | --he | --h) |
---|
3123 | echo "\$ac_cs_usage"; exit 0 ;; |
---|
3124 | *) echo "\$ac_cs_usage"; exit 1 ;; |
---|
3125 | esac |
---|
3126 | done |
---|
3127 | |
---|
3128 | ac_given_srcdir=$srcdir |
---|
3129 | ac_given_INSTALL="$INSTALL" |
---|
3130 | |
---|
3131 | trap 'rm -fr `echo "${OUTPUT_MAKEFILES}" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
---|
3132 | EOF |
---|
3133 | cat >> $CONFIG_STATUS <<EOF |
---|
3134 | |
---|
3135 | # Protect against being on the right side of a sed subst in config.status. |
---|
3136 | sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
---|
3137 | s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF |
---|
3138 | $ac_vpsub |
---|
3139 | $extrasub |
---|
3140 | s%@SHELL@%$SHELL%g |
---|
3141 | s%@CFLAGS@%$CFLAGS%g |
---|
3142 | s%@CPPFLAGS@%$CPPFLAGS%g |
---|
3143 | s%@CXXFLAGS@%$CXXFLAGS%g |
---|
3144 | s%@FFLAGS@%$FFLAGS%g |
---|
3145 | s%@DEFS@%$DEFS%g |
---|
3146 | s%@LDFLAGS@%$LDFLAGS%g |
---|
3147 | s%@LIBS@%$LIBS%g |
---|
3148 | s%@exec_prefix@%$exec_prefix%g |
---|
3149 | s%@prefix@%$prefix%g |
---|
3150 | s%@program_transform_name@%$program_transform_name%g |
---|
3151 | s%@bindir@%$bindir%g |
---|
3152 | s%@sbindir@%$sbindir%g |
---|
3153 | s%@libexecdir@%$libexecdir%g |
---|
3154 | s%@datadir@%$datadir%g |
---|
3155 | s%@sysconfdir@%$sysconfdir%g |
---|
3156 | s%@sharedstatedir@%$sharedstatedir%g |
---|
3157 | s%@localstatedir@%$localstatedir%g |
---|
3158 | s%@libdir@%$libdir%g |
---|
3159 | s%@includedir@%$includedir%g |
---|
3160 | s%@oldincludedir@%$oldincludedir%g |
---|
3161 | s%@infodir@%$infodir%g |
---|
3162 | s%@mandir@%$mandir%g |
---|
3163 | s%@SINGULAR_VERSION@%$SINGULAR_VERSION%g |
---|
3164 | s%@VERSION_DATE@%$VERSION_DATE%g |
---|
3165 | s%@SINGULAR_SHORT_VERSION@%$SINGULAR_SHORT_VERSION%g |
---|
3166 | s%@SINGULAR_RPM_VERSION@%$SINGULAR_RPM_VERSION%g |
---|
3167 | s%@SINGULAR_ROOT_DIR@%$SINGULAR_ROOT_DIR%g |
---|
3168 | s%@SINGUNAME@%$SINGUNAME%g |
---|
3169 | s%@SING_UNAME@%$SING_UNAME%g |
---|
3170 | s%@CC@%$CC%g |
---|
3171 | s%@CPP@%$CPP%g |
---|
3172 | s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
---|
3173 | s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g |
---|
3174 | s%@INSTALL_DATA@%$INSTALL_DATA%g |
---|
3175 | s%@CXX@%$CXX%g |
---|
3176 | s%@PIPE@%$PIPE%g |
---|
3177 | s%@PERL@%$PERL%g |
---|
3178 | s%@UUDECODE@%$UUDECODE%g |
---|
3179 | s%@GUNZIP@%$GUNZIP%g |
---|
3180 | s%@MYGZIP@%$MYGZIP%g |
---|
3181 | s%@LATEX2HTML@%$LATEX2HTML%g |
---|
3182 | s%@LN_S@%$LN_S%g |
---|
3183 | s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g |
---|
3184 | s%@SINGULAR@%$SINGULAR%g |
---|
3185 | s%@DOC2TEX_EXAMPLE_EXCLUSIONS@%$DOC2TEX_EXAMPLE_EXCLUSIONS%g |
---|
3186 | s%@TMP_DIR@%$TMP_DIR%g |
---|
3187 | s%@CXXCPP@%$CXXCPP%g |
---|
3188 | s%@TEXI2DVI@%$TEXI2DVI%g |
---|
3189 | s%@TEXI2PDF@%$TEXI2PDF%g |
---|
3190 | s%@MAKEINFO@%$MAKEINFO%g |
---|
3191 | s%@TEXINDEX@%$TEXINDEX%g |
---|
3192 | s%@TEXI2HTML@%$TEXI2HTML%g |
---|
3193 | s%@TEXI2HTML_OPTS@%$TEXI2HTML_OPTS%g |
---|
3194 | s%@SET_MAKE@%$SET_MAKE%g |
---|
3195 | s%@SUBDIRS@%$SUBDIRS%g |
---|
3196 | s%@BUILD_SUBDIRS@%$BUILD_SUBDIRS%g |
---|
3197 | s%@BUILD1_SUBDIRS@%$BUILD1_SUBDIRS%g |
---|
3198 | s%@CONFIG_SUBDIRS@%$CONFIG_SUBDIRS%g |
---|
3199 | s%@subdirs@%$subdirs%g |
---|
3200 | |
---|
3201 | CEOF |
---|
3202 | EOF |
---|
3203 | |
---|
3204 | cat >> $CONFIG_STATUS <<\EOF |
---|
3205 | |
---|
3206 | # Split the substitutions into bite-sized pieces for seds with |
---|
3207 | # small command number limits, like on Digital OSF/1 and HP-UX. |
---|
3208 | ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. |
---|
3209 | ac_file=1 # Number of current file. |
---|
3210 | ac_beg=1 # First line for current file. |
---|
3211 | ac_end=$ac_max_sed_cmds # Line after last line for current file. |
---|
3212 | ac_more_lines=: |
---|
3213 | ac_sed_cmds="" |
---|
3214 | while $ac_more_lines; do |
---|
3215 | if test $ac_beg -gt 1; then |
---|
3216 | sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file |
---|
3217 | else |
---|
3218 | sed "${ac_end}q" conftest.subs > conftest.s$ac_file |
---|
3219 | fi |
---|
3220 | if test ! -s conftest.s$ac_file; then |
---|
3221 | ac_more_lines=false |
---|
3222 | rm -f conftest.s$ac_file |
---|
3223 | else |
---|
3224 | if test -z "$ac_sed_cmds"; then |
---|
3225 | ac_sed_cmds="sed -f conftest.s$ac_file" |
---|
3226 | else |
---|
3227 | ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" |
---|
3228 | fi |
---|
3229 | ac_file=`expr $ac_file + 1` |
---|
3230 | ac_beg=$ac_end |
---|
3231 | ac_end=`expr $ac_end + $ac_max_sed_cmds` |
---|
3232 | fi |
---|
3233 | done |
---|
3234 | if test -z "$ac_sed_cmds"; then |
---|
3235 | ac_sed_cmds=cat |
---|
3236 | fi |
---|
3237 | EOF |
---|
3238 | |
---|
3239 | cat >> $CONFIG_STATUS <<EOF |
---|
3240 | |
---|
3241 | CONFIG_FILES=\${CONFIG_FILES-"${OUTPUT_MAKEFILES}"} |
---|
3242 | EOF |
---|
3243 | cat >> $CONFIG_STATUS <<\EOF |
---|
3244 | for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |
---|
3245 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
---|
3246 | case "$ac_file" in |
---|
3247 | *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
---|
3248 | ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
---|
3249 | *) ac_file_in="${ac_file}.in" ;; |
---|
3250 | esac |
---|
3251 | |
---|
3252 | # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. |
---|
3253 | |
---|
3254 | # Remove last slash and all that follows it. Not all systems have dirname. |
---|
3255 | ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
---|
3256 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
---|
3257 | # The file is in a subdirectory. |
---|
3258 | test ! -d "$ac_dir" && mkdir "$ac_dir" |
---|
3259 | ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" |
---|
3260 | # A "../" for each directory in $ac_dir_suffix. |
---|
3261 | ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` |
---|
3262 | else |
---|
3263 | ac_dir_suffix= ac_dots= |
---|
3264 | fi |
---|
3265 | |
---|
3266 | case "$ac_given_srcdir" in |
---|
3267 | .) srcdir=. |
---|
3268 | if test -z "$ac_dots"; then top_srcdir=. |
---|
3269 | else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; |
---|
3270 | /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; |
---|
3271 | *) # Relative path. |
---|
3272 | srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" |
---|
3273 | top_srcdir="$ac_dots$ac_given_srcdir" ;; |
---|
3274 | esac |
---|
3275 | |
---|
3276 | case "$ac_given_INSTALL" in |
---|
3277 | [/$]*) INSTALL="$ac_given_INSTALL" ;; |
---|
3278 | *) INSTALL="$ac_dots$ac_given_INSTALL" ;; |
---|
3279 | esac |
---|
3280 | |
---|
3281 | echo creating "$ac_file" |
---|
3282 | rm -f "$ac_file" |
---|
3283 | configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." |
---|
3284 | case "$ac_file" in |
---|
3285 | *Makefile*) ac_comsub="1i\\ |
---|
3286 | # $configure_input" ;; |
---|
3287 | *) ac_comsub= ;; |
---|
3288 | esac |
---|
3289 | |
---|
3290 | ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
---|
3291 | sed -e "$ac_comsub |
---|
3292 | s%@configure_input@%$configure_input%g |
---|
3293 | s%@srcdir@%$srcdir%g |
---|
3294 | s%@top_srcdir@%$top_srcdir%g |
---|
3295 | s%@INSTALL@%$INSTALL%g |
---|
3296 | " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file |
---|
3297 | fi; done |
---|
3298 | rm -f conftest.s* |
---|
3299 | |
---|
3300 | EOF |
---|
3301 | cat >> $CONFIG_STATUS <<EOF |
---|
3302 | |
---|
3303 | EOF |
---|
3304 | cat >> $CONFIG_STATUS <<\EOF |
---|
3305 | |
---|
3306 | exit 0 |
---|
3307 | EOF |
---|
3308 | chmod +x $CONFIG_STATUS |
---|
3309 | rm -fr confdefs* $ac_clean_files |
---|
3310 | test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
---|
3311 | |
---|
3312 | if test "$no_recursion" != yes; then |
---|
3313 | |
---|
3314 | # Remove --cache-file and --srcdir arguments so they do not pile up. |
---|
3315 | ac_sub_configure_args= |
---|
3316 | ac_prev= |
---|
3317 | for ac_arg in $ac_configure_args; do |
---|
3318 | if test -n "$ac_prev"; then |
---|
3319 | ac_prev= |
---|
3320 | continue |
---|
3321 | fi |
---|
3322 | case "$ac_arg" in |
---|
3323 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
3324 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
3325 | ac_prev=cache_file ;; |
---|
3326 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
3327 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
3328 | ;; |
---|
3329 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
3330 | ac_prev=srcdir ;; |
---|
3331 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
3332 | ;; |
---|
3333 | *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; |
---|
3334 | esac |
---|
3335 | done |
---|
3336 | |
---|
3337 | for ac_config_dir in $CONFIG_SUBDIRS; do |
---|
3338 | |
---|
3339 | # Do not complain, so a configure script can configure whichever |
---|
3340 | # parts of a large source tree are present. |
---|
3341 | if test ! -d $srcdir/$ac_config_dir; then |
---|
3342 | continue |
---|
3343 | fi |
---|
3344 | |
---|
3345 | echo configuring in $ac_config_dir |
---|
3346 | |
---|
3347 | case "$srcdir" in |
---|
3348 | .) ;; |
---|
3349 | *) |
---|
3350 | if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :; |
---|
3351 | else |
---|
3352 | { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; } |
---|
3353 | fi |
---|
3354 | ;; |
---|
3355 | esac |
---|
3356 | |
---|
3357 | ac_popdir=`pwd` |
---|
3358 | cd $ac_config_dir |
---|
3359 | |
---|
3360 | # A "../" for each directory in /$ac_config_dir. |
---|
3361 | ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'` |
---|
3362 | |
---|
3363 | case "$srcdir" in |
---|
3364 | .) # No --srcdir option. We are building in place. |
---|
3365 | ac_sub_srcdir=$srcdir ;; |
---|
3366 | /*) # Absolute path. |
---|
3367 | ac_sub_srcdir=$srcdir/$ac_config_dir ;; |
---|
3368 | *) # Relative path. |
---|
3369 | ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;; |
---|
3370 | esac |
---|
3371 | |
---|
3372 | # Check for guested configure; otherwise get Cygnus style configure. |
---|
3373 | if test -f $ac_sub_srcdir/configure; then |
---|
3374 | ac_sub_configure=$ac_sub_srcdir/configure |
---|
3375 | elif test -f $ac_sub_srcdir/configure.in; then |
---|
3376 | ac_sub_configure=$ac_configure |
---|
3377 | else |
---|
3378 | echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2 |
---|
3379 | ac_sub_configure= |
---|
3380 | fi |
---|
3381 | |
---|
3382 | # The recursion is here. |
---|
3383 | if test -n "$ac_sub_configure"; then |
---|
3384 | |
---|
3385 | # Make the cache file name correct relative to the subdirectory. |
---|
3386 | case "$cache_file" in |
---|
3387 | /*) ac_sub_cache_file=$cache_file ;; |
---|
3388 | *) # Relative path. |
---|
3389 | ac_sub_cache_file="$ac_dots$cache_file" ;; |
---|
3390 | esac |
---|
3391 | case "$ac_given_INSTALL" in |
---|
3392 | [/$]*) INSTALL="$ac_given_INSTALL" ;; |
---|
3393 | *) INSTALL="$ac_dots$ac_given_INSTALL" ;; |
---|
3394 | esac |
---|
3395 | |
---|
3396 | echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" |
---|
3397 | # The eval makes quoting arguments work. |
---|
3398 | if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir |
---|
3399 | then : |
---|
3400 | else |
---|
3401 | { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; } |
---|
3402 | fi |
---|
3403 | fi |
---|
3404 | |
---|
3405 | cd $ac_popdir |
---|
3406 | done |
---|
3407 | fi |
---|
3408 | |
---|