c99_functions.c (log10l): New log10l function for systems where this is not available.
[gcc.git] / libgfortran / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.2.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
43 do
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
48 fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
95 fi
96 rm -f conf$$.sh
97 fi
98
99
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117 ;;
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
123 fi
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
127 fi
128 case $CONFIG_SHELL in
129 '')
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
137 /*)
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
153 ;;
154 esac
155
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
166 N
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
177
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
210 fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS=" $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249 exec 6>&1
250
251 #
252 # Initializations.
253 #
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
261
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
266
267 # Identity of this package.
268 PACKAGE_NAME='GNU Fortran Runtime Library'
269 PACKAGE_TARNAME='libgfortran'
270 PACKAGE_VERSION='0.2'
271 PACKAGE_STRING='GNU Fortran Runtime Library 0.2'
272 PACKAGE_BUGREPORT=''
273
274 # Factoring default headers for most tests.
275 ac_includes_default="\
276 #include <stdio.h>
277 #if HAVE_SYS_TYPES_H
278 # include <sys/types.h>
279 #endif
280 #if HAVE_SYS_STAT_H
281 # include <sys/stat.h>
282 #endif
283 #if STDC_HEADERS
284 # include <stdlib.h>
285 # include <stddef.h>
286 #else
287 # if HAVE_STDLIB_H
288 # include <stdlib.h>
289 # endif
290 #endif
291 #if HAVE_STRING_H
292 # if !STDC_HEADERS && HAVE_MEMORY_H
293 # include <memory.h>
294 # endif
295 # include <string.h>
296 #endif
297 #if HAVE_STRINGS_H
298 # include <strings.h>
299 #endif
300 #if HAVE_INTTYPES_H
301 # include <inttypes.h>
302 #else
303 # if HAVE_STDINT_H
304 # include <stdint.h>
305 # endif
306 #endif
307 #if HAVE_UNISTD_H
308 # include <unistd.h>
309 #endif"
310
311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT AM_FCFLAGS AM_CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran CPP CPPFLAGS EGREP MATH_OBJ LIBOBJS LTLIBOBJS'
312 ac_subst_files=''
313
314 # Initialize some variables set by options.
315 ac_init_help=
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
319 cache_file=/dev/null
320 exec_prefix=NONE
321 no_create=
322 no_recursion=
323 prefix=NONE
324 program_prefix=NONE
325 program_suffix=NONE
326 program_transform_name=s,x,x,
327 silent=
328 site=
329 srcdir=
330 verbose=
331 x_includes=NONE
332 x_libraries=NONE
333
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
351
352 ac_prev=
353 for ac_option
354 do
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
358 ac_prev=
359 continue
360 fi
361
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
363
364 # Accept the important Cygnus configure options, so we can diagnose typos.
365
366 case $ac_option in
367
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
369 ac_prev=bindir ;;
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
371 bindir=$ac_optarg ;;
372
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
377
378 -cache-file | --cache-file | --cache-fil | --cache-fi \
379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380 ac_prev=cache_file ;;
381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383 cache_file=$ac_optarg ;;
384
385 --config-cache | -C)
386 cache_file=config.cache ;;
387
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
389 ac_prev=datadir ;;
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
391 | --da=*)
392 datadir=$ac_optarg ;;
393
394 -disable-* | --disable-*)
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
402
403 -enable-* | --enable-*)
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
410 case $ac_option in
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
412 *) ac_optarg=yes ;;
413 esac
414 eval "enable_$ac_feature='$ac_optarg'" ;;
415
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418 | --exec | --exe | --ex)
419 ac_prev=exec_prefix ;;
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422 | --exec=* | --exe=* | --ex=*)
423 exec_prefix=$ac_optarg ;;
424
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
427 with_gas=yes ;;
428
429 -help | --help | --hel | --he | -h)
430 ac_init_help=long ;;
431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432 ac_init_help=recursive ;;
433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434 ac_init_help=short ;;
435
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
440
441 -includedir | --includedir | --includedi | --included | --include \
442 | --includ | --inclu | --incl | --inc)
443 ac_prev=includedir ;;
444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445 | --includ=* | --inclu=* | --incl=* | --inc=*)
446 includedir=$ac_optarg ;;
447
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
449 ac_prev=infodir ;;
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
452
453 -libdir | --libdir | --libdi | --libd)
454 ac_prev=libdir ;;
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
456 libdir=$ac_optarg ;;
457
458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459 | --libexe | --libex | --libe)
460 ac_prev=libexecdir ;;
461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462 | --libexe=* | --libex=* | --libe=*)
463 libexecdir=$ac_optarg ;;
464
465 -localstatedir | --localstatedir | --localstatedi | --localstated \
466 | --localstate | --localstat | --localsta | --localst \
467 | --locals | --local | --loca | --loc | --lo)
468 ac_prev=localstatedir ;;
469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472 localstatedir=$ac_optarg ;;
473
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
475 ac_prev=mandir ;;
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
477 mandir=$ac_optarg ;;
478
479 -nfp | --nfp | --nf)
480 # Obsolete; use --without-fp.
481 with_fp=no ;;
482
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
485 no_create=yes ;;
486
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
489 no_recursion=yes ;;
490
491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493 | --oldin | --oldi | --old | --ol | --o)
494 ac_prev=oldincludedir ;;
495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498 oldincludedir=$ac_optarg ;;
499
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
501 ac_prev=prefix ;;
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
503 prefix=$ac_optarg ;;
504
505 -program-prefix | --program-prefix | --program-prefi | --program-pref \
506 | --program-pre | --program-pr | --program-p)
507 ac_prev=program_prefix ;;
508 -program-prefix=* | --program-prefix=* | --program-prefi=* \
509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510 program_prefix=$ac_optarg ;;
511
512 -program-suffix | --program-suffix | --program-suffi | --program-suff \
513 | --program-suf | --program-su | --program-s)
514 ac_prev=program_suffix ;;
515 -program-suffix=* | --program-suffix=* | --program-suffi=* \
516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517 program_suffix=$ac_optarg ;;
518
519 -program-transform-name | --program-transform-name \
520 | --program-transform-nam | --program-transform-na \
521 | --program-transform-n | --program-transform- \
522 | --program-transform | --program-transfor \
523 | --program-transfo | --program-transf \
524 | --program-trans | --program-tran \
525 | --progr-tra | --program-tr | --program-t)
526 ac_prev=program_transform_name ;;
527 -program-transform-name=* | --program-transform-name=* \
528 | --program-transform-nam=* | --program-transform-na=* \
529 | --program-transform-n=* | --program-transform-=* \
530 | --program-transform=* | --program-transfor=* \
531 | --program-transfo=* | --program-transf=* \
532 | --program-trans=* | --program-tran=* \
533 | --progr-tra=* | --program-tr=* | --program-t=*)
534 program_transform_name=$ac_optarg ;;
535
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
538 silent=yes ;;
539
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
541 ac_prev=sbindir ;;
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
543 | --sbi=* | --sb=*)
544 sbindir=$ac_optarg ;;
545
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548 | --sharedst | --shareds | --shared | --share | --shar \
549 | --sha | --sh)
550 ac_prev=sharedstatedir ;;
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
554 | --sha=* | --sh=*)
555 sharedstatedir=$ac_optarg ;;
556
557 -site | --site | --sit)
558 ac_prev=site ;;
559 -site=* | --site=* | --sit=*)
560 site=$ac_optarg ;;
561
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
563 ac_prev=srcdir ;;
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
565 srcdir=$ac_optarg ;;
566
567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568 | --syscon | --sysco | --sysc | --sys | --sy)
569 ac_prev=sysconfdir ;;
570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572 sysconfdir=$ac_optarg ;;
573
574 -target | --target | --targe | --targ | --tar | --ta | --t)
575 ac_prev=target_alias ;;
576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577 target_alias=$ac_optarg ;;
578
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
580 verbose=yes ;;
581
582 -version | --version | --versio | --versi | --vers | -V)
583 ac_init_version=: ;;
584
585 -with-* | --with-*)
586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package=`echo $ac_package| sed 's/-/_/g'`
592 case $ac_option in
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
594 *) ac_optarg=yes ;;
595 esac
596 eval "with_$ac_package='$ac_optarg'" ;;
597
598 -without-* | --without-*)
599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
606
607 --x)
608 # Obsolete; use --with-x.
609 with_x=yes ;;
610
611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612 | --x-incl | --x-inc | --x-in | --x-i)
613 ac_prev=x_includes ;;
614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616 x_includes=$ac_optarg ;;
617
618 -x-libraries | --x-libraries | --x-librarie | --x-librari \
619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620 ac_prev=x_libraries ;;
621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623 x_libraries=$ac_optarg ;;
624
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
628 ;;
629
630 *=*)
631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
638 export $ac_envvar ;;
639
640 *)
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
646 ;;
647
648 esac
649 done
650
651 if test -n "$ac_prev"; then
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
655 fi
656
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
659 do
660 eval ac_val=$`echo $ac_var`
661 case $ac_val in
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
665 esac
666 done
667
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
671 do
672 eval ac_val=$`echo $ac_var`
673 case $ac_val in
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
677 esac
678 done
679
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
683 build=$build_alias
684 host=$host_alias
685 target=$target_alias
686
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689 if test "x$build_alias" = x; then
690 cross_compiling=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
694 cross_compiling=yes
695 fi
696 fi
697
698 ac_tool_prefix=
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
700
701 test "$silent" = yes && exec 6>/dev/null
702
703
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
714 echo X"$0" |
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
719 s/.*/./; q'`
720 srcdir=$ac_confdir
721 if test ! -r $srcdir/$ac_unique_file; then
722 srcdir=..
723 fi
724 else
725 ac_srcdir_defaulted=no
726 fi
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
731 else
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
734 fi
735 fi
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_FC_set=${FC+set}
753 ac_env_FC_value=$FC
754 ac_cv_env_FC_set=${FC+set}
755 ac_cv_env_FC_value=$FC
756 ac_env_FCFLAGS_set=${FCFLAGS+set}
757 ac_env_FCFLAGS_value=$FCFLAGS
758 ac_cv_env_FCFLAGS_set=${FCFLAGS+set}
759 ac_cv_env_FCFLAGS_value=$FCFLAGS
760 ac_env_LDFLAGS_set=${LDFLAGS+set}
761 ac_env_LDFLAGS_value=$LDFLAGS
762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value=$LDFLAGS
764 ac_env_CPP_set=${CPP+set}
765 ac_env_CPP_value=$CPP
766 ac_cv_env_CPP_set=${CPP+set}
767 ac_cv_env_CPP_value=$CPP
768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
772
773 #
774 # Report the --help message.
775 #
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
779 cat <<_ACEOF
780 \`configure' configures GNU Fortran Runtime Library 0.2 to adapt to many kinds of systems.
781
782 Usage: $0 [OPTION]... [VAR=VALUE]...
783
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
786
787 Defaults for the options are specified in brackets.
788
789 Configuration:
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
799
800 _ACEOF
801
802 cat <<_ACEOF
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
805 [$ac_default_prefix]
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
807 [PREFIX]
808
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
813
814 For better control, use the options below.
815
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
829 _ACEOF
830
831 cat <<\_ACEOF
832
833 Program names:
834 --program-prefix=PREFIX prepend PREFIX to installed program names
835 --program-suffix=SUFFIX append SUFFIX to installed program names
836 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
837
838 System types:
839 --build=BUILD configure for building on BUILD [guessed]
840 --host=HOST cross-compile to build programs to run on HOST [BUILD]
841 --target=TARGET configure for building compilers for TARGET [HOST]
842 _ACEOF
843 fi
844
845 if test -n "$ac_init_help"; then
846 case $ac_init_help in
847 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.2:";;
848 esac
849 cat <<\_ACEOF
850
851 Optional Features:
852 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
853 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
854 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
855 --enable-maintainer-mode enable make rules and dependencies not useful
856 (and sometimes confusing) to the casual installer
857 --enable-multilib build many library versions (default)
858 --enable-shared=PKGS build shared libraries default=yes
859 --enable-static=PKGS build static libraries default=yes
860 --enable-fast-install=PKGS optimize for fast installation default=yes
861 --disable-libtool-lock avoid locking (might break parallel builds)
862 --disable-largefile omit support for large files
863 --enable-cmath Include complex math functions
864
865 Optional Packages:
866 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
867 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
868 --with-gnu-ld assume the C compiler uses GNU ld default=no
869 --with-pic try to use only PIC/non-PIC objects default=use both
870
871 Some influential environment variables:
872 CC C compiler command
873 CFLAGS C compiler flags
874 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
875 nonstandard directory <lib dir>
876 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
877 headers in a nonstandard directory <include dir>
878 FC Fortran compiler command
879 FCFLAGS Fortran compiler flags
880 CPP C preprocessor
881
882 Use these variables to override the choices made by `configure' or to help
883 it to find libraries and programs with nonstandard names/locations.
884
885 _ACEOF
886 fi
887
888 if test "$ac_init_help" = "recursive"; then
889 # If there are subdirs, report their specific --help.
890 ac_popdir=`pwd`
891 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
892 test -d $ac_dir || continue
893 ac_builddir=.
894
895 if test "$ac_dir" != .; then
896 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
897 # A "../" for each directory in $ac_dir_suffix.
898 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
899 else
900 ac_dir_suffix= ac_top_builddir=
901 fi
902
903 case $srcdir in
904 .) # No --srcdir option. We are building in place.
905 ac_srcdir=.
906 if test -z "$ac_top_builddir"; then
907 ac_top_srcdir=.
908 else
909 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
910 fi ;;
911 [\\/]* | ?:[\\/]* ) # Absolute path.
912 ac_srcdir=$srcdir$ac_dir_suffix;
913 ac_top_srcdir=$srcdir ;;
914 *) # Relative path.
915 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
916 ac_top_srcdir=$ac_top_builddir$srcdir ;;
917 esac
918
919 # Do not use `cd foo && pwd` to compute absolute paths, because
920 # the directories may not exist.
921 case `pwd` in
922 .) ac_abs_builddir="$ac_dir";;
923 *)
924 case "$ac_dir" in
925 .) ac_abs_builddir=`pwd`;;
926 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
927 *) ac_abs_builddir=`pwd`/"$ac_dir";;
928 esac;;
929 esac
930 case $ac_abs_builddir in
931 .) ac_abs_top_builddir=${ac_top_builddir}.;;
932 *)
933 case ${ac_top_builddir}. in
934 .) ac_abs_top_builddir=$ac_abs_builddir;;
935 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
936 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
937 esac;;
938 esac
939 case $ac_abs_builddir in
940 .) ac_abs_srcdir=$ac_srcdir;;
941 *)
942 case $ac_srcdir in
943 .) ac_abs_srcdir=$ac_abs_builddir;;
944 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
945 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
946 esac;;
947 esac
948 case $ac_abs_builddir in
949 .) ac_abs_top_srcdir=$ac_top_srcdir;;
950 *)
951 case $ac_top_srcdir in
952 .) ac_abs_top_srcdir=$ac_abs_builddir;;
953 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
954 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
955 esac;;
956 esac
957
958 cd $ac_dir
959 # Check for guested configure; otherwise get Cygnus style configure.
960 if test -f $ac_srcdir/configure.gnu; then
961 echo
962 $SHELL $ac_srcdir/configure.gnu --help=recursive
963 elif test -f $ac_srcdir/configure; then
964 echo
965 $SHELL $ac_srcdir/configure --help=recursive
966 elif test -f $ac_srcdir/configure.ac ||
967 test -f $ac_srcdir/configure.in; then
968 echo
969 $ac_configure --help
970 else
971 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
972 fi
973 cd $ac_popdir
974 done
975 fi
976
977 test -n "$ac_init_help" && exit 0
978 if $ac_init_version; then
979 cat <<\_ACEOF
980 GNU Fortran Runtime Library configure 0.2
981 generated by GNU Autoconf 2.59
982
983 Copyright (C) 2003 Free Software Foundation, Inc.
984 This configure script is free software; the Free Software Foundation
985 gives unlimited permission to copy, distribute and modify it.
986 _ACEOF
987 exit 0
988 fi
989 exec 5>config.log
990 cat >&5 <<_ACEOF
991 This file contains any messages produced by compilers while
992 running configure, to aid debugging if configure makes a mistake.
993
994 It was created by GNU Fortran Runtime Library $as_me 0.2, which was
995 generated by GNU Autoconf 2.59. Invocation command line was
996
997 $ $0 $@
998
999 _ACEOF
1000 {
1001 cat <<_ASUNAME
1002 ## --------- ##
1003 ## Platform. ##
1004 ## --------- ##
1005
1006 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1007 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1008 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1009 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1010 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1011
1012 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1013 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1014
1015 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1016 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1017 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1018 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1019 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1020 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1021 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1022
1023 _ASUNAME
1024
1025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1026 for as_dir in $PATH
1027 do
1028 IFS=$as_save_IFS
1029 test -z "$as_dir" && as_dir=.
1030 echo "PATH: $as_dir"
1031 done
1032
1033 } >&5
1034
1035 cat >&5 <<_ACEOF
1036
1037
1038 ## ----------- ##
1039 ## Core tests. ##
1040 ## ----------- ##
1041
1042 _ACEOF
1043
1044
1045 # Keep a trace of the command line.
1046 # Strip out --no-create and --no-recursion so they do not pile up.
1047 # Strip out --silent because we don't want to record it for future runs.
1048 # Also quote any args containing shell meta-characters.
1049 # Make two passes to allow for proper duplicate-argument suppression.
1050 ac_configure_args=
1051 ac_configure_args0=
1052 ac_configure_args1=
1053 ac_sep=
1054 ac_must_keep_next=false
1055 for ac_pass in 1 2
1056 do
1057 for ac_arg
1058 do
1059 case $ac_arg in
1060 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1063 continue ;;
1064 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1065 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1066 esac
1067 case $ac_pass in
1068 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1069 2)
1070 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1071 if test $ac_must_keep_next = true; then
1072 ac_must_keep_next=false # Got value, back to normal.
1073 else
1074 case $ac_arg in
1075 *=* | --config-cache | -C | -disable-* | --disable-* \
1076 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1077 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1078 | -with-* | --with-* | -without-* | --without-* | --x)
1079 case "$ac_configure_args0 " in
1080 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1081 esac
1082 ;;
1083 -* ) ac_must_keep_next=true ;;
1084 esac
1085 fi
1086 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1087 # Get rid of the leading space.
1088 ac_sep=" "
1089 ;;
1090 esac
1091 done
1092 done
1093 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1094 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1095
1096 # When interrupted or exit'd, cleanup temporary files, and complete
1097 # config.log. We remove comments because anyway the quotes in there
1098 # would cause problems or look ugly.
1099 # WARNING: Be sure not to use single quotes in there, as some shells,
1100 # such as our DU 5.0 friend, will then `close' the trap.
1101 trap 'exit_status=$?
1102 # Save into config.log some information that might help in debugging.
1103 {
1104 echo
1105
1106 cat <<\_ASBOX
1107 ## ---------------- ##
1108 ## Cache variables. ##
1109 ## ---------------- ##
1110 _ASBOX
1111 echo
1112 # The following way of writing the cache mishandles newlines in values,
1113 {
1114 (set) 2>&1 |
1115 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1116 *ac_space=\ *)
1117 sed -n \
1118 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1120 ;;
1121 *)
1122 sed -n \
1123 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1124 ;;
1125 esac;
1126 }
1127 echo
1128
1129 cat <<\_ASBOX
1130 ## ----------------- ##
1131 ## Output variables. ##
1132 ## ----------------- ##
1133 _ASBOX
1134 echo
1135 for ac_var in $ac_subst_vars
1136 do
1137 eval ac_val=$`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1139 done | sort
1140 echo
1141
1142 if test -n "$ac_subst_files"; then
1143 cat <<\_ASBOX
1144 ## ------------- ##
1145 ## Output files. ##
1146 ## ------------- ##
1147 _ASBOX
1148 echo
1149 for ac_var in $ac_subst_files
1150 do
1151 eval ac_val=$`echo $ac_var`
1152 echo "$ac_var='"'"'$ac_val'"'"'"
1153 done | sort
1154 echo
1155 fi
1156
1157 if test -s confdefs.h; then
1158 cat <<\_ASBOX
1159 ## ----------- ##
1160 ## confdefs.h. ##
1161 ## ----------- ##
1162 _ASBOX
1163 echo
1164 sed "/^$/d" confdefs.h | sort
1165 echo
1166 fi
1167 test "$ac_signal" != 0 &&
1168 echo "$as_me: caught signal $ac_signal"
1169 echo "$as_me: exit $exit_status"
1170 } >&5
1171 rm -f core *.core &&
1172 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1173 exit $exit_status
1174 ' 0
1175 for ac_signal in 1 2 13 15; do
1176 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1177 done
1178 ac_signal=0
1179
1180 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1181 rm -rf conftest* confdefs.h
1182 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1183 echo >confdefs.h
1184
1185 # Predefined preprocessor variables.
1186
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_NAME "$PACKAGE_NAME"
1189 _ACEOF
1190
1191
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1194 _ACEOF
1195
1196
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1199 _ACEOF
1200
1201
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_STRING "$PACKAGE_STRING"
1204 _ACEOF
1205
1206
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1209 _ACEOF
1210
1211
1212 # Let the site file select an alternate cache file if it wants to.
1213 # Prefer explicitly selected file to automatically selected ones.
1214 if test -z "$CONFIG_SITE"; then
1215 if test "x$prefix" != xNONE; then
1216 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1217 else
1218 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1219 fi
1220 fi
1221 for ac_site_file in $CONFIG_SITE; do
1222 if test -r "$ac_site_file"; then
1223 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1224 echo "$as_me: loading site script $ac_site_file" >&6;}
1225 sed 's/^/| /' "$ac_site_file" >&5
1226 . "$ac_site_file"
1227 fi
1228 done
1229
1230 if test -r "$cache_file"; then
1231 # Some versions of bash will fail to source /dev/null (special
1232 # files actually), so we avoid doing that.
1233 if test -f "$cache_file"; then
1234 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1235 echo "$as_me: loading cache $cache_file" >&6;}
1236 case $cache_file in
1237 [\\/]* | ?:[\\/]* ) . $cache_file;;
1238 *) . ./$cache_file;;
1239 esac
1240 fi
1241 else
1242 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1243 echo "$as_me: creating cache $cache_file" >&6;}
1244 >$cache_file
1245 fi
1246
1247 # Check that the precious variables saved in the cache have kept the same
1248 # value.
1249 ac_cache_corrupted=false
1250 for ac_var in `(set) 2>&1 |
1251 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1252 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1253 eval ac_new_set=\$ac_env_${ac_var}_set
1254 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1255 eval ac_new_val="\$ac_env_${ac_var}_value"
1256 case $ac_old_set,$ac_new_set in
1257 set,)
1258 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1260 ac_cache_corrupted=: ;;
1261 ,set)
1262 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1263 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1264 ac_cache_corrupted=: ;;
1265 ,);;
1266 *)
1267 if test "x$ac_old_val" != "x$ac_new_val"; then
1268 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1269 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1270 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1271 echo "$as_me: former value: $ac_old_val" >&2;}
1272 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1273 echo "$as_me: current value: $ac_new_val" >&2;}
1274 ac_cache_corrupted=:
1275 fi;;
1276 esac
1277 # Pass precious variables to config.status.
1278 if test "$ac_new_set" = set; then
1279 case $ac_new_val in
1280 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1282 *) ac_arg=$ac_var=$ac_new_val ;;
1283 esac
1284 case " $ac_configure_args " in
1285 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1286 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1287 esac
1288 fi
1289 done
1290 if $ac_cache_corrupted; then
1291 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1292 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1293 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1294 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1295 { (exit 1); exit 1; }; }
1296 fi
1297
1298 ac_ext=c
1299 ac_cpp='$CPP $CPPFLAGS'
1300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330 ac_config_headers="$ac_config_headers config.h"
1331
1332
1333 # -------
1334 # Options
1335 # -------
1336
1337 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1338 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1339 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1340 if test "${enable_version_specific_runtime_libs+set}" = set; then
1341 enableval="$enable_version_specific_runtime_libs"
1342 case "$enableval" in
1343 yes) version_specific_libs=yes ;;
1344 no) version_specific_libs=no ;;
1345 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1346 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1347 { (exit 1); exit 1; }; };;
1348 esac
1349 else
1350 version_specific_libs=no
1351 fi;
1352 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1353 echo "${ECHO_T}$version_specific_libs" >&6
1354
1355
1356 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1357 #
1358 # You will slowly go insane if you do not grok the following fact: when
1359 # building this library, the top-level /target/ becomes the library's /host/.
1360 #
1361 # configure then causes --target to default to --host, exactly like any
1362 # other package using autoconf. Therefore, 'target' and 'host' will
1363 # always be the same. This makes sense both for native and cross compilers
1364 # just think about it for a little while. :-)
1365 #
1366 # Also, if this library is being configured as part of a cross compiler, the
1367 # top-level configure script will pass the "real" host as $with_cross_host.
1368 #
1369 # Do not delete or change the following two lines. For why, see
1370 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1371 ac_aux_dir=
1372 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1373 if test -f $ac_dir/install-sh; then
1374 ac_aux_dir=$ac_dir
1375 ac_install_sh="$ac_aux_dir/install-sh -c"
1376 break
1377 elif test -f $ac_dir/install.sh; then
1378 ac_aux_dir=$ac_dir
1379 ac_install_sh="$ac_aux_dir/install.sh -c"
1380 break
1381 elif test -f $ac_dir/shtool; then
1382 ac_aux_dir=$ac_dir
1383 ac_install_sh="$ac_aux_dir/shtool install -c"
1384 break
1385 fi
1386 done
1387 if test -z "$ac_aux_dir"; then
1388 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1389 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1390 { (exit 1); exit 1; }; }
1391 fi
1392 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1393 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1394 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1395
1396 # Make sure we can run config.sub.
1397 $ac_config_sub sun4 >/dev/null 2>&1 ||
1398 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1399 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1400 { (exit 1); exit 1; }; }
1401
1402 echo "$as_me:$LINENO: checking build system type" >&5
1403 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1404 if test "${ac_cv_build+set}" = set; then
1405 echo $ECHO_N "(cached) $ECHO_C" >&6
1406 else
1407 ac_cv_build_alias=$build_alias
1408 test -z "$ac_cv_build_alias" &&
1409 ac_cv_build_alias=`$ac_config_guess`
1410 test -z "$ac_cv_build_alias" &&
1411 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1412 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1413 { (exit 1); exit 1; }; }
1414 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1415 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1416 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1417 { (exit 1); exit 1; }; }
1418
1419 fi
1420 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1421 echo "${ECHO_T}$ac_cv_build" >&6
1422 build=$ac_cv_build
1423 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1424 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1425 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1426
1427
1428 echo "$as_me:$LINENO: checking host system type" >&5
1429 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1430 if test "${ac_cv_host+set}" = set; then
1431 echo $ECHO_N "(cached) $ECHO_C" >&6
1432 else
1433 ac_cv_host_alias=$host_alias
1434 test -z "$ac_cv_host_alias" &&
1435 ac_cv_host_alias=$ac_cv_build_alias
1436 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1437 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1438 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1439 { (exit 1); exit 1; }; }
1440
1441 fi
1442 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1443 echo "${ECHO_T}$ac_cv_host" >&6
1444 host=$ac_cv_host
1445 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1446 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1447 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1448
1449
1450 echo "$as_me:$LINENO: checking target system type" >&5
1451 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1452 if test "${ac_cv_target+set}" = set; then
1453 echo $ECHO_N "(cached) $ECHO_C" >&6
1454 else
1455 ac_cv_target_alias=$target_alias
1456 test "x$ac_cv_target_alias" = "x" &&
1457 ac_cv_target_alias=$ac_cv_host_alias
1458 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1459 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1460 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1461 { (exit 1); exit 1; }; }
1462
1463 fi
1464 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1465 echo "${ECHO_T}$ac_cv_target" >&6
1466 target=$ac_cv_target
1467 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1468 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1469 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1470
1471
1472 # The aliases save the names the user supplied, while $host etc.
1473 # will get canonicalized.
1474 test -n "$target_alias" &&
1475 test "$program_prefix$program_suffix$program_transform_name" = \
1476 NONENONEs,x,x, &&
1477 program_prefix=${target_alias}-
1478 target_alias=${target_alias-$host_alias}
1479
1480 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1481 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1482 # 1.8.2: minimum required version
1483 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1484 # of other PACKAGE_* variables will, however, and there's nothing
1485 # we can do about that; they come from AC_INIT).
1486 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1487 # file in the top srcdir, etc, etc), so stop complaining.
1488 # no-dependencies: turns off auto dependency generation (just for now)
1489 # -Wall: turns on all automake warnings...
1490 # -Wno-portability: ...except this one, since GNU make is required.
1491 am__api_version="1.9"
1492 # Find a good install program. We prefer a C program (faster),
1493 # so one script is as good as another. But avoid the broken or
1494 # incompatible versions:
1495 # SysV /etc/install, /usr/sbin/install
1496 # SunOS /usr/etc/install
1497 # IRIX /sbin/install
1498 # AIX /bin/install
1499 # AmigaOS /C/install, which installs bootblocks on floppy discs
1500 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1501 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1502 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1503 # OS/2's system install, which has a completely different semantic
1504 # ./install, which can be erroneously created by make from ./install.sh.
1505 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1506 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1507 if test -z "$INSTALL"; then
1508 if test "${ac_cv_path_install+set}" = set; then
1509 echo $ECHO_N "(cached) $ECHO_C" >&6
1510 else
1511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1512 for as_dir in $PATH
1513 do
1514 IFS=$as_save_IFS
1515 test -z "$as_dir" && as_dir=.
1516 # Account for people who put trailing slashes in PATH elements.
1517 case $as_dir/ in
1518 ./ | .// | /cC/* | \
1519 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1520 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1521 /usr/ucb/* ) ;;
1522 *)
1523 # OSF1 and SCO ODT 3.0 have their own names for install.
1524 # Don't use installbsd from OSF since it installs stuff as root
1525 # by default.
1526 for ac_prog in ginstall scoinst install; do
1527 for ac_exec_ext in '' $ac_executable_extensions; do
1528 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1529 if test $ac_prog = install &&
1530 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1531 # AIX install. It has an incompatible calling convention.
1532 :
1533 elif test $ac_prog = install &&
1534 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1535 # program-specific install script used by HP pwplus--don't use.
1536 :
1537 else
1538 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1539 break 3
1540 fi
1541 fi
1542 done
1543 done
1544 ;;
1545 esac
1546 done
1547
1548
1549 fi
1550 if test "${ac_cv_path_install+set}" = set; then
1551 INSTALL=$ac_cv_path_install
1552 else
1553 # As a last resort, use the slow shell script. We don't cache a
1554 # path for INSTALL within a source directory, because that will
1555 # break other packages using the cache if that directory is
1556 # removed, or if the path is relative.
1557 INSTALL=$ac_install_sh
1558 fi
1559 fi
1560 echo "$as_me:$LINENO: result: $INSTALL" >&5
1561 echo "${ECHO_T}$INSTALL" >&6
1562
1563 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1564 # It thinks the first close brace ends the variable substitution.
1565 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1566
1567 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1568
1569 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1570
1571 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1572 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1573 # Just in case
1574 sleep 1
1575 echo timestamp > conftest.file
1576 # Do `set' in a subshell so we don't clobber the current shell's
1577 # arguments. Must try -L first in case configure is actually a
1578 # symlink; some systems play weird games with the mod time of symlinks
1579 # (eg FreeBSD returns the mod time of the symlink's containing
1580 # directory).
1581 if (
1582 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1583 if test "$*" = "X"; then
1584 # -L didn't work.
1585 set X `ls -t $srcdir/configure conftest.file`
1586 fi
1587 rm -f conftest.file
1588 if test "$*" != "X $srcdir/configure conftest.file" \
1589 && test "$*" != "X conftest.file $srcdir/configure"; then
1590
1591 # If neither matched, then we have a broken ls. This can happen
1592 # if, for instance, CONFIG_SHELL is bash and it inherits a
1593 # broken ls alias from the environment. This has actually
1594 # happened. Such a system could not be considered "sane".
1595 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1596 alias in your environment" >&5
1597 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1598 alias in your environment" >&2;}
1599 { (exit 1); exit 1; }; }
1600 fi
1601
1602 test "$2" = conftest.file
1603 )
1604 then
1605 # Ok.
1606 :
1607 else
1608 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1609 Check your system clock" >&5
1610 echo "$as_me: error: newly created file is older than distributed files!
1611 Check your system clock" >&2;}
1612 { (exit 1); exit 1; }; }
1613 fi
1614 echo "$as_me:$LINENO: result: yes" >&5
1615 echo "${ECHO_T}yes" >&6
1616 test "$program_prefix" != NONE &&
1617 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1618 # Use a double $ so make ignores it.
1619 test "$program_suffix" != NONE &&
1620 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1621 # Double any \ or $. echo might interpret backslashes.
1622 # By default was `s,x,x', remove it if useless.
1623 cat <<\_ACEOF >conftest.sed
1624 s/[\\$]/&&/g;s/;s,x,x,$//
1625 _ACEOF
1626 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1627 rm conftest.sed
1628
1629 # expand $ac_aux_dir to an absolute path
1630 am_aux_dir=`cd $ac_aux_dir && pwd`
1631
1632 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1633 # Use eval to expand $SHELL
1634 if eval "$MISSING --run true"; then
1635 am_missing_run="$MISSING --run "
1636 else
1637 am_missing_run=
1638 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1639 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1640 fi
1641
1642 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1643 # We used to keeping the `.' as first argument, in order to
1644 # allow $(mkdir_p) to be used without argument. As in
1645 # $(mkdir_p) $(somedir)
1646 # where $(somedir) is conditionally defined. However this is wrong
1647 # for two reasons:
1648 # 1. if the package is installed by a user who cannot write `.'
1649 # make install will fail,
1650 # 2. the above comment should most certainly read
1651 # $(mkdir_p) $(DESTDIR)$(somedir)
1652 # so it does not work when $(somedir) is undefined and
1653 # $(DESTDIR) is not.
1654 # To support the latter case, we have to write
1655 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1656 # so the `.' trick is pointless.
1657 mkdir_p='mkdir -p --'
1658 else
1659 # On NextStep and OpenStep, the `mkdir' command does not
1660 # recognize any option. It will interpret all options as
1661 # directories to create, and then abort because `.' already
1662 # exists.
1663 for d in ./-p ./--version;
1664 do
1665 test -d $d && rmdir $d
1666 done
1667 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1668 if test -f "$ac_aux_dir/mkinstalldirs"; then
1669 mkdir_p='$(mkinstalldirs)'
1670 else
1671 mkdir_p='$(install_sh) -d'
1672 fi
1673 fi
1674
1675 for ac_prog in gawk mawk nawk awk
1676 do
1677 # Extract the first word of "$ac_prog", so it can be a program name with args.
1678 set dummy $ac_prog; ac_word=$2
1679 echo "$as_me:$LINENO: checking for $ac_word" >&5
1680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1681 if test "${ac_cv_prog_AWK+set}" = set; then
1682 echo $ECHO_N "(cached) $ECHO_C" >&6
1683 else
1684 if test -n "$AWK"; then
1685 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1686 else
1687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1688 for as_dir in $PATH
1689 do
1690 IFS=$as_save_IFS
1691 test -z "$as_dir" && as_dir=.
1692 for ac_exec_ext in '' $ac_executable_extensions; do
1693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1694 ac_cv_prog_AWK="$ac_prog"
1695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1696 break 2
1697 fi
1698 done
1699 done
1700
1701 fi
1702 fi
1703 AWK=$ac_cv_prog_AWK
1704 if test -n "$AWK"; then
1705 echo "$as_me:$LINENO: result: $AWK" >&5
1706 echo "${ECHO_T}$AWK" >&6
1707 else
1708 echo "$as_me:$LINENO: result: no" >&5
1709 echo "${ECHO_T}no" >&6
1710 fi
1711
1712 test -n "$AWK" && break
1713 done
1714
1715 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1716 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1717 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1718 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1719 echo $ECHO_N "(cached) $ECHO_C" >&6
1720 else
1721 cat >conftest.make <<\_ACEOF
1722 all:
1723 @echo 'ac_maketemp="$(MAKE)"'
1724 _ACEOF
1725 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1726 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1727 if test -n "$ac_maketemp"; then
1728 eval ac_cv_prog_make_${ac_make}_set=yes
1729 else
1730 eval ac_cv_prog_make_${ac_make}_set=no
1731 fi
1732 rm -f conftest.make
1733 fi
1734 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1735 echo "$as_me:$LINENO: result: yes" >&5
1736 echo "${ECHO_T}yes" >&6
1737 SET_MAKE=
1738 else
1739 echo "$as_me:$LINENO: result: no" >&5
1740 echo "${ECHO_T}no" >&6
1741 SET_MAKE="MAKE=${MAKE-make}"
1742 fi
1743
1744 rm -rf .tst 2>/dev/null
1745 mkdir .tst 2>/dev/null
1746 if test -d .tst; then
1747 am__leading_dot=.
1748 else
1749 am__leading_dot=_
1750 fi
1751 rmdir .tst 2>/dev/null
1752
1753 # test to see if srcdir already configured
1754 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1755 test -f $srcdir/config.status; then
1756 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1757 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1758 { (exit 1); exit 1; }; }
1759 fi
1760
1761 # test whether we have cygpath
1762 if test -z "$CYGPATH_W"; then
1763 if (cygpath --version) >/dev/null 2>/dev/null; then
1764 CYGPATH_W='cygpath -w'
1765 else
1766 CYGPATH_W=echo
1767 fi
1768 fi
1769
1770
1771 # Define the identity of the package.
1772 PACKAGE='libgfortran'
1773 VERSION='0.2'
1774
1775
1776 # Some tools Automake needs.
1777
1778 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1779
1780
1781 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1782
1783
1784 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1785
1786
1787 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1788
1789
1790 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1791
1792 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1793
1794 # Installed binaries are usually stripped using `strip' when the user
1795 # run `make install-strip'. However `strip' might not be the right
1796 # tool to use in cross-compilation environments, therefore Automake
1797 # will honor the `STRIP' environment variable to overrule this program.
1798 if test "$cross_compiling" != no; then
1799 if test -n "$ac_tool_prefix"; then
1800 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1801 set dummy ${ac_tool_prefix}strip; ac_word=$2
1802 echo "$as_me:$LINENO: checking for $ac_word" >&5
1803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1804 if test "${ac_cv_prog_STRIP+set}" = set; then
1805 echo $ECHO_N "(cached) $ECHO_C" >&6
1806 else
1807 if test -n "$STRIP"; then
1808 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1809 else
1810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1811 for as_dir in $PATH
1812 do
1813 IFS=$as_save_IFS
1814 test -z "$as_dir" && as_dir=.
1815 for ac_exec_ext in '' $ac_executable_extensions; do
1816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1817 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1819 break 2
1820 fi
1821 done
1822 done
1823
1824 fi
1825 fi
1826 STRIP=$ac_cv_prog_STRIP
1827 if test -n "$STRIP"; then
1828 echo "$as_me:$LINENO: result: $STRIP" >&5
1829 echo "${ECHO_T}$STRIP" >&6
1830 else
1831 echo "$as_me:$LINENO: result: no" >&5
1832 echo "${ECHO_T}no" >&6
1833 fi
1834
1835 fi
1836 if test -z "$ac_cv_prog_STRIP"; then
1837 ac_ct_STRIP=$STRIP
1838 # Extract the first word of "strip", so it can be a program name with args.
1839 set dummy strip; ac_word=$2
1840 echo "$as_me:$LINENO: checking for $ac_word" >&5
1841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1842 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1843 echo $ECHO_N "(cached) $ECHO_C" >&6
1844 else
1845 if test -n "$ac_ct_STRIP"; then
1846 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1847 else
1848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1849 for as_dir in $PATH
1850 do
1851 IFS=$as_save_IFS
1852 test -z "$as_dir" && as_dir=.
1853 for ac_exec_ext in '' $ac_executable_extensions; do
1854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1855 ac_cv_prog_ac_ct_STRIP="strip"
1856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1857 break 2
1858 fi
1859 done
1860 done
1861
1862 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1863 fi
1864 fi
1865 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1866 if test -n "$ac_ct_STRIP"; then
1867 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1868 echo "${ECHO_T}$ac_ct_STRIP" >&6
1869 else
1870 echo "$as_me:$LINENO: result: no" >&5
1871 echo "${ECHO_T}no" >&6
1872 fi
1873
1874 STRIP=$ac_ct_STRIP
1875 else
1876 STRIP="$ac_cv_prog_STRIP"
1877 fi
1878
1879 fi
1880 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1881
1882 # We need awk for the "check" target. The system "awk" is bad on
1883 # some platforms.
1884 # Always define AMTAR for backward compatibility.
1885
1886 AMTAR=${AMTAR-"${am_missing_run}tar"}
1887
1888 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1889
1890
1891
1892
1893
1894
1895 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1896 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1897 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1898 if test "${enable_maintainer_mode+set}" = set; then
1899 enableval="$enable_maintainer_mode"
1900 USE_MAINTAINER_MODE=$enableval
1901 else
1902 USE_MAINTAINER_MODE=no
1903 fi;
1904 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1905 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1906
1907
1908 if test $USE_MAINTAINER_MODE = yes; then
1909 MAINTAINER_MODE_TRUE=
1910 MAINTAINER_MODE_FALSE='#'
1911 else
1912 MAINTAINER_MODE_TRUE='#'
1913 MAINTAINER_MODE_FALSE=
1914 fi
1915
1916 MAINT=$MAINTAINER_MODE_TRUE
1917
1918
1919 # Default to --enable-multilib
1920 # Check whether --enable-multilib or --disable-multilib was given.
1921 if test "${enable_multilib+set}" = set; then
1922 enableval="$enable_multilib"
1923 case "$enableval" in
1924 yes) multilib=yes ;;
1925 no) multilib=no ;;
1926 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1927 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1928 { (exit 1); exit 1; }; } ;;
1929 esac
1930 else
1931 multilib=yes
1932 fi;
1933
1934 # We may get other options which we leave undocumented:
1935 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1936 # See config-ml.in if you want the gory details.
1937
1938 if test "$srcdir" = "."; then
1939 if test "$with_target_subdir" != "."; then
1940 multi_basedir="$srcdir/$with_multisrctop../.."
1941 else
1942 multi_basedir="$srcdir/$with_multisrctop.."
1943 fi
1944 else
1945 multi_basedir="$srcdir/.."
1946 fi
1947
1948
1949 ac_config_commands="$ac_config_commands default-1"
1950
1951
1952 # Handy for debugging:
1953 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1954
1955 # Are we being configured with some form of cross compiler?
1956 # NB: We don't actually need to know this just now, but when, say, a test
1957 # suite is included, we'll have to know.
1958 if test "$build" != "$host"; then
1959 LIBGFOR_IS_NATIVE=false
1960 GCC_NO_EXECUTABLES
1961 else
1962 LIBGFOR_IS_NATIVE=true
1963 fi
1964
1965 # Calculate toolexeclibdir
1966 # Also toolexecdir, though it's only used in toolexeclibdir
1967 case ${version_specific_libs} in
1968 yes)
1969 # Need the gcc compiler version to know where to install libraries
1970 # and header files if --enable-version-specific-runtime-libs option
1971 # is selected.
1972 toolexecdir='$(libdir)/gcc/$(target_alias)'
1973 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
1974 ;;
1975 no)
1976 if test -n "$with_cross_host" &&
1977 test x"$with_cross_host" != x"no"; then
1978 # Install a library built with a cross compiler in tooldir, not libdir.
1979 toolexecdir='$(exec_prefix)/$(target_alias)'
1980 toolexeclibdir='$(toolexecdir)/lib'
1981 else
1982 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
1983 toolexeclibdir='$(libdir)'
1984 fi
1985 multi_os_directory=`$CC -print-multi-os-directory`
1986 case $multi_os_directory in
1987 .) ;; # Avoid trailing /.
1988 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
1989 esac
1990 ;;
1991 esac
1992
1993
1994
1995 # Check the compiler.
1996 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1997 # We must force CC to /not/ be precious variables; otherwise
1998 # the wrong, non-multilib-adjusted value will be used in multilibs.
1999 # As a side effect, we have to subst CFLAGS ourselves.
2000
2001
2002
2003 ac_ext=c
2004 ac_cpp='$CPP $CPPFLAGS'
2005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2008 if test -n "$ac_tool_prefix"; then
2009 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2010 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2011 echo "$as_me:$LINENO: checking for $ac_word" >&5
2012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2013 if test "${ac_cv_prog_CC+set}" = set; then
2014 echo $ECHO_N "(cached) $ECHO_C" >&6
2015 else
2016 if test -n "$CC"; then
2017 ac_cv_prog_CC="$CC" # Let the user override the test.
2018 else
2019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2020 for as_dir in $PATH
2021 do
2022 IFS=$as_save_IFS
2023 test -z "$as_dir" && as_dir=.
2024 for ac_exec_ext in '' $ac_executable_extensions; do
2025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2026 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2028 break 2
2029 fi
2030 done
2031 done
2032
2033 fi
2034 fi
2035 CC=$ac_cv_prog_CC
2036 if test -n "$CC"; then
2037 echo "$as_me:$LINENO: result: $CC" >&5
2038 echo "${ECHO_T}$CC" >&6
2039 else
2040 echo "$as_me:$LINENO: result: no" >&5
2041 echo "${ECHO_T}no" >&6
2042 fi
2043
2044 fi
2045 if test -z "$ac_cv_prog_CC"; then
2046 ac_ct_CC=$CC
2047 # Extract the first word of "gcc", so it can be a program name with args.
2048 set dummy gcc; ac_word=$2
2049 echo "$as_me:$LINENO: checking for $ac_word" >&5
2050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2051 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2052 echo $ECHO_N "(cached) $ECHO_C" >&6
2053 else
2054 if test -n "$ac_ct_CC"; then
2055 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2056 else
2057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2058 for as_dir in $PATH
2059 do
2060 IFS=$as_save_IFS
2061 test -z "$as_dir" && as_dir=.
2062 for ac_exec_ext in '' $ac_executable_extensions; do
2063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2064 ac_cv_prog_ac_ct_CC="gcc"
2065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2066 break 2
2067 fi
2068 done
2069 done
2070
2071 fi
2072 fi
2073 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2074 if test -n "$ac_ct_CC"; then
2075 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2076 echo "${ECHO_T}$ac_ct_CC" >&6
2077 else
2078 echo "$as_me:$LINENO: result: no" >&5
2079 echo "${ECHO_T}no" >&6
2080 fi
2081
2082 CC=$ac_ct_CC
2083 else
2084 CC="$ac_cv_prog_CC"
2085 fi
2086
2087 if test -z "$CC"; then
2088 if test -n "$ac_tool_prefix"; then
2089 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2090 set dummy ${ac_tool_prefix}cc; ac_word=$2
2091 echo "$as_me:$LINENO: checking for $ac_word" >&5
2092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2093 if test "${ac_cv_prog_CC+set}" = set; then
2094 echo $ECHO_N "(cached) $ECHO_C" >&6
2095 else
2096 if test -n "$CC"; then
2097 ac_cv_prog_CC="$CC" # Let the user override the test.
2098 else
2099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2100 for as_dir in $PATH
2101 do
2102 IFS=$as_save_IFS
2103 test -z "$as_dir" && as_dir=.
2104 for ac_exec_ext in '' $ac_executable_extensions; do
2105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2106 ac_cv_prog_CC="${ac_tool_prefix}cc"
2107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2108 break 2
2109 fi
2110 done
2111 done
2112
2113 fi
2114 fi
2115 CC=$ac_cv_prog_CC
2116 if test -n "$CC"; then
2117 echo "$as_me:$LINENO: result: $CC" >&5
2118 echo "${ECHO_T}$CC" >&6
2119 else
2120 echo "$as_me:$LINENO: result: no" >&5
2121 echo "${ECHO_T}no" >&6
2122 fi
2123
2124 fi
2125 if test -z "$ac_cv_prog_CC"; then
2126 ac_ct_CC=$CC
2127 # Extract the first word of "cc", so it can be a program name with args.
2128 set dummy cc; ac_word=$2
2129 echo "$as_me:$LINENO: checking for $ac_word" >&5
2130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2131 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2132 echo $ECHO_N "(cached) $ECHO_C" >&6
2133 else
2134 if test -n "$ac_ct_CC"; then
2135 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2136 else
2137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2138 for as_dir in $PATH
2139 do
2140 IFS=$as_save_IFS
2141 test -z "$as_dir" && as_dir=.
2142 for ac_exec_ext in '' $ac_executable_extensions; do
2143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2144 ac_cv_prog_ac_ct_CC="cc"
2145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2146 break 2
2147 fi
2148 done
2149 done
2150
2151 fi
2152 fi
2153 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2154 if test -n "$ac_ct_CC"; then
2155 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2156 echo "${ECHO_T}$ac_ct_CC" >&6
2157 else
2158 echo "$as_me:$LINENO: result: no" >&5
2159 echo "${ECHO_T}no" >&6
2160 fi
2161
2162 CC=$ac_ct_CC
2163 else
2164 CC="$ac_cv_prog_CC"
2165 fi
2166
2167 fi
2168 if test -z "$CC"; then
2169 # Extract the first word of "cc", so it can be a program name with args.
2170 set dummy cc; ac_word=$2
2171 echo "$as_me:$LINENO: checking for $ac_word" >&5
2172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2173 if test "${ac_cv_prog_CC+set}" = set; then
2174 echo $ECHO_N "(cached) $ECHO_C" >&6
2175 else
2176 if test -n "$CC"; then
2177 ac_cv_prog_CC="$CC" # Let the user override the test.
2178 else
2179 ac_prog_rejected=no
2180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2181 for as_dir in $PATH
2182 do
2183 IFS=$as_save_IFS
2184 test -z "$as_dir" && as_dir=.
2185 for ac_exec_ext in '' $ac_executable_extensions; do
2186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2187 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2188 ac_prog_rejected=yes
2189 continue
2190 fi
2191 ac_cv_prog_CC="cc"
2192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2193 break 2
2194 fi
2195 done
2196 done
2197
2198 if test $ac_prog_rejected = yes; then
2199 # We found a bogon in the path, so make sure we never use it.
2200 set dummy $ac_cv_prog_CC
2201 shift
2202 if test $# != 0; then
2203 # We chose a different compiler from the bogus one.
2204 # However, it has the same basename, so the bogon will be chosen
2205 # first if we set CC to just the basename; use the full file name.
2206 shift
2207 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2208 fi
2209 fi
2210 fi
2211 fi
2212 CC=$ac_cv_prog_CC
2213 if test -n "$CC"; then
2214 echo "$as_me:$LINENO: result: $CC" >&5
2215 echo "${ECHO_T}$CC" >&6
2216 else
2217 echo "$as_me:$LINENO: result: no" >&5
2218 echo "${ECHO_T}no" >&6
2219 fi
2220
2221 fi
2222 if test -z "$CC"; then
2223 if test -n "$ac_tool_prefix"; then
2224 for ac_prog in cl
2225 do
2226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2227 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2228 echo "$as_me:$LINENO: checking for $ac_word" >&5
2229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2230 if test "${ac_cv_prog_CC+set}" = set; then
2231 echo $ECHO_N "(cached) $ECHO_C" >&6
2232 else
2233 if test -n "$CC"; then
2234 ac_cv_prog_CC="$CC" # Let the user override the test.
2235 else
2236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2237 for as_dir in $PATH
2238 do
2239 IFS=$as_save_IFS
2240 test -z "$as_dir" && as_dir=.
2241 for ac_exec_ext in '' $ac_executable_extensions; do
2242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2243 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2245 break 2
2246 fi
2247 done
2248 done
2249
2250 fi
2251 fi
2252 CC=$ac_cv_prog_CC
2253 if test -n "$CC"; then
2254 echo "$as_me:$LINENO: result: $CC" >&5
2255 echo "${ECHO_T}$CC" >&6
2256 else
2257 echo "$as_me:$LINENO: result: no" >&5
2258 echo "${ECHO_T}no" >&6
2259 fi
2260
2261 test -n "$CC" && break
2262 done
2263 fi
2264 if test -z "$CC"; then
2265 ac_ct_CC=$CC
2266 for ac_prog in cl
2267 do
2268 # Extract the first word of "$ac_prog", so it can be a program name with args.
2269 set dummy $ac_prog; ac_word=$2
2270 echo "$as_me:$LINENO: checking for $ac_word" >&5
2271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2272 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2273 echo $ECHO_N "(cached) $ECHO_C" >&6
2274 else
2275 if test -n "$ac_ct_CC"; then
2276 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2277 else
2278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2279 for as_dir in $PATH
2280 do
2281 IFS=$as_save_IFS
2282 test -z "$as_dir" && as_dir=.
2283 for ac_exec_ext in '' $ac_executable_extensions; do
2284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2285 ac_cv_prog_ac_ct_CC="$ac_prog"
2286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2287 break 2
2288 fi
2289 done
2290 done
2291
2292 fi
2293 fi
2294 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2295 if test -n "$ac_ct_CC"; then
2296 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2297 echo "${ECHO_T}$ac_ct_CC" >&6
2298 else
2299 echo "$as_me:$LINENO: result: no" >&5
2300 echo "${ECHO_T}no" >&6
2301 fi
2302
2303 test -n "$ac_ct_CC" && break
2304 done
2305
2306 CC=$ac_ct_CC
2307 fi
2308
2309 fi
2310
2311
2312 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2313 See \`config.log' for more details." >&5
2314 echo "$as_me: error: no acceptable C compiler found in \$PATH
2315 See \`config.log' for more details." >&2;}
2316 { (exit 1); exit 1; }; }
2317
2318 # Provide some information about the compiler.
2319 echo "$as_me:$LINENO:" \
2320 "checking for C compiler version" >&5
2321 ac_compiler=`set X $ac_compile; echo $2`
2322 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2323 (eval $ac_compiler --version </dev/null >&5) 2>&5
2324 ac_status=$?
2325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2326 (exit $ac_status); }
2327 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2328 (eval $ac_compiler -v </dev/null >&5) 2>&5
2329 ac_status=$?
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); }
2332 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2333 (eval $ac_compiler -V </dev/null >&5) 2>&5
2334 ac_status=$?
2335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336 (exit $ac_status); }
2337
2338 cat >conftest.$ac_ext <<_ACEOF
2339 /* confdefs.h. */
2340 _ACEOF
2341 cat confdefs.h >>conftest.$ac_ext
2342 cat >>conftest.$ac_ext <<_ACEOF
2343 /* end confdefs.h. */
2344
2345 int
2346 main ()
2347 {
2348
2349 ;
2350 return 0;
2351 }
2352 _ACEOF
2353 ac_clean_files_save=$ac_clean_files
2354 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2355 # Try to create an executable without -o first, disregard a.out.
2356 # It will help us diagnose broken compilers, and finding out an intuition
2357 # of exeext.
2358 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2359 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2360 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2361 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2362 (eval $ac_link_default) 2>&5
2363 ac_status=$?
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }; then
2366 # Find the output, starting from the most likely. This scheme is
2367 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2368 # resort.
2369
2370 # Be careful to initialize this variable, since it used to be cached.
2371 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2372 ac_cv_exeext=
2373 # b.out is created by i960 compilers.
2374 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2375 do
2376 test -f "$ac_file" || continue
2377 case $ac_file in
2378 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2379 ;;
2380 conftest.$ac_ext )
2381 # This is the source file.
2382 ;;
2383 [ab].out )
2384 # We found the default executable, but exeext='' is most
2385 # certainly right.
2386 break;;
2387 *.* )
2388 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2389 # FIXME: I believe we export ac_cv_exeext for Libtool,
2390 # but it would be cool to find out if it's true. Does anybody
2391 # maintain Libtool? --akim.
2392 export ac_cv_exeext
2393 break;;
2394 * )
2395 break;;
2396 esac
2397 done
2398 else
2399 echo "$as_me: failed program was:" >&5
2400 sed 's/^/| /' conftest.$ac_ext >&5
2401
2402 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2403 See \`config.log' for more details." >&5
2404 echo "$as_me: error: C compiler cannot create executables
2405 See \`config.log' for more details." >&2;}
2406 { (exit 77); exit 77; }; }
2407 fi
2408
2409 ac_exeext=$ac_cv_exeext
2410 echo "$as_me:$LINENO: result: $ac_file" >&5
2411 echo "${ECHO_T}$ac_file" >&6
2412
2413 # Check the compiler produces executables we can run. If not, either
2414 # the compiler is broken, or we cross compile.
2415 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2416 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2417 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2418 # If not cross compiling, check that we can run a simple program.
2419 if test "$cross_compiling" != yes; then
2420 if { ac_try='./$ac_file'
2421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2422 (eval $ac_try) 2>&5
2423 ac_status=$?
2424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2425 (exit $ac_status); }; }; then
2426 cross_compiling=no
2427 else
2428 if test "$cross_compiling" = maybe; then
2429 cross_compiling=yes
2430 else
2431 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2432 If you meant to cross compile, use \`--host'.
2433 See \`config.log' for more details." >&5
2434 echo "$as_me: error: cannot run C compiled programs.
2435 If you meant to cross compile, use \`--host'.
2436 See \`config.log' for more details." >&2;}
2437 { (exit 1); exit 1; }; }
2438 fi
2439 fi
2440 fi
2441 echo "$as_me:$LINENO: result: yes" >&5
2442 echo "${ECHO_T}yes" >&6
2443
2444 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2445 ac_clean_files=$ac_clean_files_save
2446 # Check the compiler produces executables we can run. If not, either
2447 # the compiler is broken, or we cross compile.
2448 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2449 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2450 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2451 echo "${ECHO_T}$cross_compiling" >&6
2452
2453 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2454 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2456 (eval $ac_link) 2>&5
2457 ac_status=$?
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); }; then
2460 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2461 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2462 # work properly (i.e., refer to `conftest.exe'), while it won't with
2463 # `rm'.
2464 for ac_file in conftest.exe conftest conftest.*; do
2465 test -f "$ac_file" || continue
2466 case $ac_file in
2467 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2468 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2469 export ac_cv_exeext
2470 break;;
2471 * ) break;;
2472 esac
2473 done
2474 else
2475 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2476 See \`config.log' for more details." >&5
2477 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2478 See \`config.log' for more details." >&2;}
2479 { (exit 1); exit 1; }; }
2480 fi
2481
2482 rm -f conftest$ac_cv_exeext
2483 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2484 echo "${ECHO_T}$ac_cv_exeext" >&6
2485
2486 rm -f conftest.$ac_ext
2487 EXEEXT=$ac_cv_exeext
2488 ac_exeext=$EXEEXT
2489 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2490 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2491 if test "${ac_cv_objext+set}" = set; then
2492 echo $ECHO_N "(cached) $ECHO_C" >&6
2493 else
2494 cat >conftest.$ac_ext <<_ACEOF
2495 /* confdefs.h. */
2496 _ACEOF
2497 cat confdefs.h >>conftest.$ac_ext
2498 cat >>conftest.$ac_ext <<_ACEOF
2499 /* end confdefs.h. */
2500
2501 int
2502 main ()
2503 {
2504
2505 ;
2506 return 0;
2507 }
2508 _ACEOF
2509 rm -f conftest.o conftest.obj
2510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2511 (eval $ac_compile) 2>&5
2512 ac_status=$?
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; then
2515 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2516 case $ac_file in
2517 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2518 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2519 break;;
2520 esac
2521 done
2522 else
2523 echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.$ac_ext >&5
2525
2526 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2527 See \`config.log' for more details." >&5
2528 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2529 See \`config.log' for more details." >&2;}
2530 { (exit 1); exit 1; }; }
2531 fi
2532
2533 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2534 fi
2535 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2536 echo "${ECHO_T}$ac_cv_objext" >&6
2537 OBJEXT=$ac_cv_objext
2538 ac_objext=$OBJEXT
2539 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2540 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2541 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2542 echo $ECHO_N "(cached) $ECHO_C" >&6
2543 else
2544 cat >conftest.$ac_ext <<_ACEOF
2545 /* confdefs.h. */
2546 _ACEOF
2547 cat confdefs.h >>conftest.$ac_ext
2548 cat >>conftest.$ac_ext <<_ACEOF
2549 /* end confdefs.h. */
2550
2551 int
2552 main ()
2553 {
2554 #ifndef __GNUC__
2555 choke me
2556 #endif
2557
2558 ;
2559 return 0;
2560 }
2561 _ACEOF
2562 rm -f conftest.$ac_objext
2563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2564 (eval $ac_compile) 2>conftest.er1
2565 ac_status=$?
2566 grep -v '^ *+' conftest.er1 >conftest.err
2567 rm -f conftest.er1
2568 cat conftest.err >&5
2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570 (exit $ac_status); } &&
2571 { ac_try='test -z "$ac_c_werror_flag"
2572 || test ! -s conftest.err'
2573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2574 (eval $ac_try) 2>&5
2575 ac_status=$?
2576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577 (exit $ac_status); }; } &&
2578 { ac_try='test -s conftest.$ac_objext'
2579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2580 (eval $ac_try) 2>&5
2581 ac_status=$?
2582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583 (exit $ac_status); }; }; then
2584 ac_compiler_gnu=yes
2585 else
2586 echo "$as_me: failed program was:" >&5
2587 sed 's/^/| /' conftest.$ac_ext >&5
2588
2589 ac_compiler_gnu=no
2590 fi
2591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2592 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2593
2594 fi
2595 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2596 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2597 GCC=`test $ac_compiler_gnu = yes && echo yes`
2598 ac_test_CFLAGS=${CFLAGS+set}
2599 ac_save_CFLAGS=$CFLAGS
2600 CFLAGS="-g"
2601 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2602 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2603 if test "${ac_cv_prog_cc_g+set}" = set; then
2604 echo $ECHO_N "(cached) $ECHO_C" >&6
2605 else
2606 cat >conftest.$ac_ext <<_ACEOF
2607 /* confdefs.h. */
2608 _ACEOF
2609 cat confdefs.h >>conftest.$ac_ext
2610 cat >>conftest.$ac_ext <<_ACEOF
2611 /* end confdefs.h. */
2612
2613 int
2614 main ()
2615 {
2616
2617 ;
2618 return 0;
2619 }
2620 _ACEOF
2621 rm -f conftest.$ac_objext
2622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2623 (eval $ac_compile) 2>conftest.er1
2624 ac_status=$?
2625 grep -v '^ *+' conftest.er1 >conftest.err
2626 rm -f conftest.er1
2627 cat conftest.err >&5
2628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629 (exit $ac_status); } &&
2630 { ac_try='test -z "$ac_c_werror_flag"
2631 || test ! -s conftest.err'
2632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2633 (eval $ac_try) 2>&5
2634 ac_status=$?
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); }; } &&
2637 { ac_try='test -s conftest.$ac_objext'
2638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2639 (eval $ac_try) 2>&5
2640 ac_status=$?
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; }; then
2643 ac_cv_prog_cc_g=yes
2644 else
2645 echo "$as_me: failed program was:" >&5
2646 sed 's/^/| /' conftest.$ac_ext >&5
2647
2648 ac_cv_prog_cc_g=no
2649 fi
2650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2651 fi
2652 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2653 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2654 if test "$ac_test_CFLAGS" = set; then
2655 CFLAGS=$ac_save_CFLAGS
2656 elif test $ac_cv_prog_cc_g = yes; then
2657 if test "$GCC" = yes; then
2658 CFLAGS="-g -O2"
2659 else
2660 CFLAGS="-g"
2661 fi
2662 else
2663 if test "$GCC" = yes; then
2664 CFLAGS="-O2"
2665 else
2666 CFLAGS=
2667 fi
2668 fi
2669 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2670 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2671 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2672 echo $ECHO_N "(cached) $ECHO_C" >&6
2673 else
2674 ac_cv_prog_cc_stdc=no
2675 ac_save_CC=$CC
2676 cat >conftest.$ac_ext <<_ACEOF
2677 /* confdefs.h. */
2678 _ACEOF
2679 cat confdefs.h >>conftest.$ac_ext
2680 cat >>conftest.$ac_ext <<_ACEOF
2681 /* end confdefs.h. */
2682 #include <stdarg.h>
2683 #include <stdio.h>
2684 #include <sys/types.h>
2685 #include <sys/stat.h>
2686 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2687 struct buf { int x; };
2688 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2689 static char *e (p, i)
2690 char **p;
2691 int i;
2692 {
2693 return p[i];
2694 }
2695 static char *f (char * (*g) (char **, int), char **p, ...)
2696 {
2697 char *s;
2698 va_list v;
2699 va_start (v,p);
2700 s = g (p, va_arg (v,int));
2701 va_end (v);
2702 return s;
2703 }
2704
2705 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2706 function prototypes and stuff, but not '\xHH' hex character constants.
2707 These don't provoke an error unfortunately, instead are silently treated
2708 as 'x'. The following induces an error, until -std1 is added to get
2709 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2710 array size at least. It's necessary to write '\x00'==0 to get something
2711 that's true only with -std1. */
2712 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2713
2714 int test (int i, double x);
2715 struct s1 {int (*f) (int a);};
2716 struct s2 {int (*f) (double a);};
2717 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2718 int argc;
2719 char **argv;
2720 int
2721 main ()
2722 {
2723 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2724 ;
2725 return 0;
2726 }
2727 _ACEOF
2728 # Don't try gcc -ansi; that turns off useful extensions and
2729 # breaks some systems' header files.
2730 # AIX -qlanglvl=ansi
2731 # Ultrix and OSF/1 -std1
2732 # HP-UX 10.20 and later -Ae
2733 # HP-UX older versions -Aa -D_HPUX_SOURCE
2734 # SVR4 -Xc -D__EXTENSIONS__
2735 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2736 do
2737 CC="$ac_save_CC $ac_arg"
2738 rm -f conftest.$ac_objext
2739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2740 (eval $ac_compile) 2>conftest.er1
2741 ac_status=$?
2742 grep -v '^ *+' conftest.er1 >conftest.err
2743 rm -f conftest.er1
2744 cat conftest.err >&5
2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746 (exit $ac_status); } &&
2747 { ac_try='test -z "$ac_c_werror_flag"
2748 || test ! -s conftest.err'
2749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2750 (eval $ac_try) 2>&5
2751 ac_status=$?
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); }; } &&
2754 { ac_try='test -s conftest.$ac_objext'
2755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2756 (eval $ac_try) 2>&5
2757 ac_status=$?
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); }; }; then
2760 ac_cv_prog_cc_stdc=$ac_arg
2761 break
2762 else
2763 echo "$as_me: failed program was:" >&5
2764 sed 's/^/| /' conftest.$ac_ext >&5
2765
2766 fi
2767 rm -f conftest.err conftest.$ac_objext
2768 done
2769 rm -f conftest.$ac_ext conftest.$ac_objext
2770 CC=$ac_save_CC
2771
2772 fi
2773
2774 case "x$ac_cv_prog_cc_stdc" in
2775 x|xno)
2776 echo "$as_me:$LINENO: result: none needed" >&5
2777 echo "${ECHO_T}none needed" >&6 ;;
2778 *)
2779 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2780 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2781 CC="$CC $ac_cv_prog_cc_stdc" ;;
2782 esac
2783
2784 # Some people use a C++ compiler to compile C. Since we use `exit',
2785 # in C++ we need to declare it. In case someone uses the same compiler
2786 # for both compiling C and C++ we need to have the C++ compiler decide
2787 # the declaration of exit, since it's the most demanding environment.
2788 cat >conftest.$ac_ext <<_ACEOF
2789 #ifndef __cplusplus
2790 choke me
2791 #endif
2792 _ACEOF
2793 rm -f conftest.$ac_objext
2794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2795 (eval $ac_compile) 2>conftest.er1
2796 ac_status=$?
2797 grep -v '^ *+' conftest.er1 >conftest.err
2798 rm -f conftest.er1
2799 cat conftest.err >&5
2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); } &&
2802 { ac_try='test -z "$ac_c_werror_flag"
2803 || test ! -s conftest.err'
2804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2805 (eval $ac_try) 2>&5
2806 ac_status=$?
2807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808 (exit $ac_status); }; } &&
2809 { ac_try='test -s conftest.$ac_objext'
2810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2811 (eval $ac_try) 2>&5
2812 ac_status=$?
2813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814 (exit $ac_status); }; }; then
2815 for ac_declaration in \
2816 '' \
2817 'extern "C" void std::exit (int) throw (); using std::exit;' \
2818 'extern "C" void std::exit (int); using std::exit;' \
2819 'extern "C" void exit (int) throw ();' \
2820 'extern "C" void exit (int);' \
2821 'void exit (int);'
2822 do
2823 cat >conftest.$ac_ext <<_ACEOF
2824 /* confdefs.h. */
2825 _ACEOF
2826 cat confdefs.h >>conftest.$ac_ext
2827 cat >>conftest.$ac_ext <<_ACEOF
2828 /* end confdefs.h. */
2829 $ac_declaration
2830 #include <stdlib.h>
2831 int
2832 main ()
2833 {
2834 exit (42);
2835 ;
2836 return 0;
2837 }
2838 _ACEOF
2839 rm -f conftest.$ac_objext
2840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2841 (eval $ac_compile) 2>conftest.er1
2842 ac_status=$?
2843 grep -v '^ *+' conftest.er1 >conftest.err
2844 rm -f conftest.er1
2845 cat conftest.err >&5
2846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); } &&
2848 { ac_try='test -z "$ac_c_werror_flag"
2849 || test ! -s conftest.err'
2850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2851 (eval $ac_try) 2>&5
2852 ac_status=$?
2853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2854 (exit $ac_status); }; } &&
2855 { ac_try='test -s conftest.$ac_objext'
2856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2857 (eval $ac_try) 2>&5
2858 ac_status=$?
2859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860 (exit $ac_status); }; }; then
2861 :
2862 else
2863 echo "$as_me: failed program was:" >&5
2864 sed 's/^/| /' conftest.$ac_ext >&5
2865
2866 continue
2867 fi
2868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2869 cat >conftest.$ac_ext <<_ACEOF
2870 /* confdefs.h. */
2871 _ACEOF
2872 cat confdefs.h >>conftest.$ac_ext
2873 cat >>conftest.$ac_ext <<_ACEOF
2874 /* end confdefs.h. */
2875 $ac_declaration
2876 int
2877 main ()
2878 {
2879 exit (42);
2880 ;
2881 return 0;
2882 }
2883 _ACEOF
2884 rm -f conftest.$ac_objext
2885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2886 (eval $ac_compile) 2>conftest.er1
2887 ac_status=$?
2888 grep -v '^ *+' conftest.er1 >conftest.err
2889 rm -f conftest.er1
2890 cat conftest.err >&5
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); } &&
2893 { ac_try='test -z "$ac_c_werror_flag"
2894 || test ! -s conftest.err'
2895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2896 (eval $ac_try) 2>&5
2897 ac_status=$?
2898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899 (exit $ac_status); }; } &&
2900 { ac_try='test -s conftest.$ac_objext'
2901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2902 (eval $ac_try) 2>&5
2903 ac_status=$?
2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905 (exit $ac_status); }; }; then
2906 break
2907 else
2908 echo "$as_me: failed program was:" >&5
2909 sed 's/^/| /' conftest.$ac_ext >&5
2910
2911 fi
2912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2913 done
2914 rm -f conftest*
2915 if test -n "$ac_declaration"; then
2916 echo '#ifdef __cplusplus' >>confdefs.h
2917 echo $ac_declaration >>confdefs.h
2918 echo '#endif' >>confdefs.h
2919 fi
2920
2921 else
2922 echo "$as_me: failed program was:" >&5
2923 sed 's/^/| /' conftest.$ac_ext >&5
2924
2925 fi
2926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2927 ac_ext=c
2928 ac_cpp='$CPP $CPPFLAGS'
2929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2932
2933
2934
2935 # Add -Wall if we are using GCC.
2936 if test "x$GCC" = "xyes"; then
2937 AM_FCFLAGS="-Wall"
2938 ## We like to use C99 routines when available. This makes sure that
2939 ## __STDC_VERSION__ is set such that libc includes make them available.
2940 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
2941 fi
2942
2943
2944
2945 # Find other programs we need.
2946 if test -n "$ac_tool_prefix"; then
2947 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2948 set dummy ${ac_tool_prefix}as; ac_word=$2
2949 echo "$as_me:$LINENO: checking for $ac_word" >&5
2950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2951 if test "${ac_cv_prog_AS+set}" = set; then
2952 echo $ECHO_N "(cached) $ECHO_C" >&6
2953 else
2954 if test -n "$AS"; then
2955 ac_cv_prog_AS="$AS" # Let the user override the test.
2956 else
2957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2958 for as_dir in $PATH
2959 do
2960 IFS=$as_save_IFS
2961 test -z "$as_dir" && as_dir=.
2962 for ac_exec_ext in '' $ac_executable_extensions; do
2963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2964 ac_cv_prog_AS="${ac_tool_prefix}as"
2965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2966 break 2
2967 fi
2968 done
2969 done
2970
2971 fi
2972 fi
2973 AS=$ac_cv_prog_AS
2974 if test -n "$AS"; then
2975 echo "$as_me:$LINENO: result: $AS" >&5
2976 echo "${ECHO_T}$AS" >&6
2977 else
2978 echo "$as_me:$LINENO: result: no" >&5
2979 echo "${ECHO_T}no" >&6
2980 fi
2981
2982 fi
2983 if test -z "$ac_cv_prog_AS"; then
2984 ac_ct_AS=$AS
2985 # Extract the first word of "as", so it can be a program name with args.
2986 set dummy as; ac_word=$2
2987 echo "$as_me:$LINENO: checking for $ac_word" >&5
2988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2989 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2990 echo $ECHO_N "(cached) $ECHO_C" >&6
2991 else
2992 if test -n "$ac_ct_AS"; then
2993 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2994 else
2995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2996 for as_dir in $PATH
2997 do
2998 IFS=$as_save_IFS
2999 test -z "$as_dir" && as_dir=.
3000 for ac_exec_ext in '' $ac_executable_extensions; do
3001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3002 ac_cv_prog_ac_ct_AS="as"
3003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3004 break 2
3005 fi
3006 done
3007 done
3008
3009 fi
3010 fi
3011 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3012 if test -n "$ac_ct_AS"; then
3013 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3014 echo "${ECHO_T}$ac_ct_AS" >&6
3015 else
3016 echo "$as_me:$LINENO: result: no" >&5
3017 echo "${ECHO_T}no" >&6
3018 fi
3019
3020 AS=$ac_ct_AS
3021 else
3022 AS="$ac_cv_prog_AS"
3023 fi
3024
3025 if test -n "$ac_tool_prefix"; then
3026 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3027 set dummy ${ac_tool_prefix}ar; ac_word=$2
3028 echo "$as_me:$LINENO: checking for $ac_word" >&5
3029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3030 if test "${ac_cv_prog_AR+set}" = set; then
3031 echo $ECHO_N "(cached) $ECHO_C" >&6
3032 else
3033 if test -n "$AR"; then
3034 ac_cv_prog_AR="$AR" # Let the user override the test.
3035 else
3036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3037 for as_dir in $PATH
3038 do
3039 IFS=$as_save_IFS
3040 test -z "$as_dir" && as_dir=.
3041 for ac_exec_ext in '' $ac_executable_extensions; do
3042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3043 ac_cv_prog_AR="${ac_tool_prefix}ar"
3044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3045 break 2
3046 fi
3047 done
3048 done
3049
3050 fi
3051 fi
3052 AR=$ac_cv_prog_AR
3053 if test -n "$AR"; then
3054 echo "$as_me:$LINENO: result: $AR" >&5
3055 echo "${ECHO_T}$AR" >&6
3056 else
3057 echo "$as_me:$LINENO: result: no" >&5
3058 echo "${ECHO_T}no" >&6
3059 fi
3060
3061 fi
3062 if test -z "$ac_cv_prog_AR"; then
3063 ac_ct_AR=$AR
3064 # Extract the first word of "ar", so it can be a program name with args.
3065 set dummy ar; ac_word=$2
3066 echo "$as_me:$LINENO: checking for $ac_word" >&5
3067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3068 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3069 echo $ECHO_N "(cached) $ECHO_C" >&6
3070 else
3071 if test -n "$ac_ct_AR"; then
3072 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3073 else
3074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3075 for as_dir in $PATH
3076 do
3077 IFS=$as_save_IFS
3078 test -z "$as_dir" && as_dir=.
3079 for ac_exec_ext in '' $ac_executable_extensions; do
3080 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3081 ac_cv_prog_ac_ct_AR="ar"
3082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3083 break 2
3084 fi
3085 done
3086 done
3087
3088 fi
3089 fi
3090 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3091 if test -n "$ac_ct_AR"; then
3092 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3093 echo "${ECHO_T}$ac_ct_AR" >&6
3094 else
3095 echo "$as_me:$LINENO: result: no" >&5
3096 echo "${ECHO_T}no" >&6
3097 fi
3098
3099 AR=$ac_ct_AR
3100 else
3101 AR="$ac_cv_prog_AR"
3102 fi
3103
3104 if test -n "$ac_tool_prefix"; then
3105 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3106 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3107 echo "$as_me:$LINENO: checking for $ac_word" >&5
3108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3109 if test "${ac_cv_prog_RANLIB+set}" = set; then
3110 echo $ECHO_N "(cached) $ECHO_C" >&6
3111 else
3112 if test -n "$RANLIB"; then
3113 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3114 else
3115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3116 for as_dir in $PATH
3117 do
3118 IFS=$as_save_IFS
3119 test -z "$as_dir" && as_dir=.
3120 for ac_exec_ext in '' $ac_executable_extensions; do
3121 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3122 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3124 break 2
3125 fi
3126 done
3127 done
3128
3129 fi
3130 fi
3131 RANLIB=$ac_cv_prog_RANLIB
3132 if test -n "$RANLIB"; then
3133 echo "$as_me:$LINENO: result: $RANLIB" >&5
3134 echo "${ECHO_T}$RANLIB" >&6
3135 else
3136 echo "$as_me:$LINENO: result: no" >&5
3137 echo "${ECHO_T}no" >&6
3138 fi
3139
3140 fi
3141 if test -z "$ac_cv_prog_RANLIB"; then
3142 ac_ct_RANLIB=$RANLIB
3143 # Extract the first word of "ranlib", so it can be a program name with args.
3144 set dummy ranlib; ac_word=$2
3145 echo "$as_me:$LINENO: checking for $ac_word" >&5
3146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3147 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3148 echo $ECHO_N "(cached) $ECHO_C" >&6
3149 else
3150 if test -n "$ac_ct_RANLIB"; then
3151 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3152 else
3153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3154 for as_dir in $PATH
3155 do
3156 IFS=$as_save_IFS
3157 test -z "$as_dir" && as_dir=.
3158 for ac_exec_ext in '' $ac_executable_extensions; do
3159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3160 ac_cv_prog_ac_ct_RANLIB="ranlib"
3161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3162 break 2
3163 fi
3164 done
3165 done
3166
3167 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3168 fi
3169 fi
3170 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3171 if test -n "$ac_ct_RANLIB"; then
3172 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3173 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3174 else
3175 echo "$as_me:$LINENO: result: no" >&5
3176 echo "${ECHO_T}no" >&6
3177 fi
3178
3179 RANLIB=$ac_ct_RANLIB
3180 else
3181 RANLIB="$ac_cv_prog_RANLIB"
3182 fi
3183
3184 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3185 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3186 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3187 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3188 echo $ECHO_N "(cached) $ECHO_C" >&6
3189 else
3190 cat >conftest.make <<\_ACEOF
3191 all:
3192 @echo 'ac_maketemp="$(MAKE)"'
3193 _ACEOF
3194 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3195 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3196 if test -n "$ac_maketemp"; then
3197 eval ac_cv_prog_make_${ac_make}_set=yes
3198 else
3199 eval ac_cv_prog_make_${ac_make}_set=no
3200 fi
3201 rm -f conftest.make
3202 fi
3203 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3204 echo "$as_me:$LINENO: result: yes" >&5
3205 echo "${ECHO_T}yes" >&6
3206 SET_MAKE=
3207 else
3208 echo "$as_me:$LINENO: result: no" >&5
3209 echo "${ECHO_T}no" >&6
3210 SET_MAKE="MAKE=${MAKE-make}"
3211 fi
3212
3213 # Find a good install program. We prefer a C program (faster),
3214 # so one script is as good as another. But avoid the broken or
3215 # incompatible versions:
3216 # SysV /etc/install, /usr/sbin/install
3217 # SunOS /usr/etc/install
3218 # IRIX /sbin/install
3219 # AIX /bin/install
3220 # AmigaOS /C/install, which installs bootblocks on floppy discs
3221 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3222 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3223 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3224 # OS/2's system install, which has a completely different semantic
3225 # ./install, which can be erroneously created by make from ./install.sh.
3226 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3227 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3228 if test -z "$INSTALL"; then
3229 if test "${ac_cv_path_install+set}" = set; then
3230 echo $ECHO_N "(cached) $ECHO_C" >&6
3231 else
3232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3233 for as_dir in $PATH
3234 do
3235 IFS=$as_save_IFS
3236 test -z "$as_dir" && as_dir=.
3237 # Account for people who put trailing slashes in PATH elements.
3238 case $as_dir/ in
3239 ./ | .// | /cC/* | \
3240 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3241 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3242 /usr/ucb/* ) ;;
3243 *)
3244 # OSF1 and SCO ODT 3.0 have their own names for install.
3245 # Don't use installbsd from OSF since it installs stuff as root
3246 # by default.
3247 for ac_prog in ginstall scoinst install; do
3248 for ac_exec_ext in '' $ac_executable_extensions; do
3249 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3250 if test $ac_prog = install &&
3251 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3252 # AIX install. It has an incompatible calling convention.
3253 :
3254 elif test $ac_prog = install &&
3255 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3256 # program-specific install script used by HP pwplus--don't use.
3257 :
3258 else
3259 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3260 break 3
3261 fi
3262 fi
3263 done
3264 done
3265 ;;
3266 esac
3267 done
3268
3269
3270 fi
3271 if test "${ac_cv_path_install+set}" = set; then
3272 INSTALL=$ac_cv_path_install
3273 else
3274 # As a last resort, use the slow shell script. We don't cache a
3275 # path for INSTALL within a source directory, because that will
3276 # break other packages using the cache if that directory is
3277 # removed, or if the path is relative.
3278 INSTALL=$ac_install_sh
3279 fi
3280 fi
3281 echo "$as_me:$LINENO: result: $INSTALL" >&5
3282 echo "${ECHO_T}$INSTALL" >&6
3283
3284 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3285 # It thinks the first close brace ends the variable substitution.
3286 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3287
3288 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3289
3290 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3291
3292
3293 # Configure libtool
3294 #AC_MSG_NOTICE([====== Starting libtool configuration])
3295
3296 # Check whether --enable-shared or --disable-shared was given.
3297 if test "${enable_shared+set}" = set; then
3298 enableval="$enable_shared"
3299 p=${PACKAGE-default}
3300 case $enableval in
3301 yes) enable_shared=yes ;;
3302 no) enable_shared=no ;;
3303 *)
3304 enable_shared=no
3305 # Look at the argument we got. We use all the common list separators.
3306 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3307 for pkg in $enableval; do
3308 if test "X$pkg" = "X$p"; then
3309 enable_shared=yes
3310 fi
3311 done
3312 IFS="$ac_save_ifs"
3313 ;;
3314 esac
3315 else
3316 enable_shared=yes
3317 fi;
3318 # Check whether --enable-static or --disable-static was given.
3319 if test "${enable_static+set}" = set; then
3320 enableval="$enable_static"
3321 p=${PACKAGE-default}
3322 case $enableval in
3323 yes) enable_static=yes ;;
3324 no) enable_static=no ;;
3325 *)
3326 enable_static=no
3327 # Look at the argument we got. We use all the common list separators.
3328 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3329 for pkg in $enableval; do
3330 if test "X$pkg" = "X$p"; then
3331 enable_static=yes
3332 fi
3333 done
3334 IFS="$ac_save_ifs"
3335 ;;
3336 esac
3337 else
3338 enable_static=yes
3339 fi;
3340 # Check whether --enable-fast-install or --disable-fast-install was given.
3341 if test "${enable_fast_install+set}" = set; then
3342 enableval="$enable_fast_install"
3343 p=${PACKAGE-default}
3344 case $enableval in
3345 yes) enable_fast_install=yes ;;
3346 no) enable_fast_install=no ;;
3347 *)
3348 enable_fast_install=no
3349 # Look at the argument we got. We use all the common list separators.
3350 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3351 for pkg in $enableval; do
3352 if test "X$pkg" = "X$p"; then
3353 enable_fast_install=yes
3354 fi
3355 done
3356 IFS="$ac_save_ifs"
3357 ;;
3358 esac
3359 else
3360 enable_fast_install=yes
3361 fi;
3362
3363 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3364 if test "${with_gnu_ld+set}" = set; then
3365 withval="$with_gnu_ld"
3366 test "$withval" = no || with_gnu_ld=yes
3367 else
3368 with_gnu_ld=no
3369 fi;
3370 ac_prog=ld
3371 if test "$GCC" = yes; then
3372 # Check if gcc -print-prog-name=ld gives a path.
3373 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3374 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3375 case $host in
3376 *-*-mingw*)
3377 # gcc leaves a trailing carriage return which upsets mingw
3378 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3379 *)
3380 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3381 esac
3382 case $ac_prog in
3383 # Accept absolute paths.
3384 [\\/]* | [A-Za-z]:[\\/]*)
3385 re_direlt='/[^/][^/]*/\.\./'
3386 # Canonicalize the path of ld
3387 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3388 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3389 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3390 done
3391 test -z "$LD" && LD="$ac_prog"
3392 ;;
3393 "")
3394 # If it fails, then pretend we aren't using GCC.
3395 ac_prog=ld
3396 ;;
3397 *)
3398 # If it is relative, then search for the first ld in PATH.
3399 with_gnu_ld=unknown
3400 ;;
3401 esac
3402 elif test "$with_gnu_ld" = yes; then
3403 echo "$as_me:$LINENO: checking for GNU ld" >&5
3404 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3405 else
3406 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3407 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3408 fi
3409 if test "${lt_cv_path_LD+set}" = set; then
3410 echo $ECHO_N "(cached) $ECHO_C" >&6
3411 else
3412 if test -z "$LD"; then
3413 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3414 for ac_dir in $PATH; do
3415 test -z "$ac_dir" && ac_dir=.
3416 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3417 lt_cv_path_LD="$ac_dir/$ac_prog"
3418 # Check to see if the program is GNU ld. I'd rather use --version,
3419 # but apparently some GNU ld's only accept -v.
3420 # Break only if it was the GNU/non-GNU ld that we prefer.
3421 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3422 test "$with_gnu_ld" != no && break
3423 else
3424 test "$with_gnu_ld" != yes && break
3425 fi
3426 fi
3427 done
3428 IFS="$ac_save_ifs"
3429 else
3430 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3431 fi
3432 fi
3433
3434 LD="$lt_cv_path_LD"
3435 if test -n "$LD"; then
3436 echo "$as_me:$LINENO: result: $LD" >&5
3437 echo "${ECHO_T}$LD" >&6
3438 else
3439 echo "$as_me:$LINENO: result: no" >&5
3440 echo "${ECHO_T}no" >&6
3441 fi
3442 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3443 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3444 { (exit 1); exit 1; }; }
3445 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3446 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3447 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3448 echo $ECHO_N "(cached) $ECHO_C" >&6
3449 else
3450 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3451 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3452 lt_cv_prog_gnu_ld=yes
3453 else
3454 lt_cv_prog_gnu_ld=no
3455 fi
3456 fi
3457 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3458 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3459 with_gnu_ld=$lt_cv_prog_gnu_ld
3460
3461
3462 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3463 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3464 if test "${lt_cv_ld_reload_flag+set}" = set; then
3465 echo $ECHO_N "(cached) $ECHO_C" >&6
3466 else
3467 lt_cv_ld_reload_flag='-r'
3468 fi
3469 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3470 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3471 reload_flag=$lt_cv_ld_reload_flag
3472 test -n "$reload_flag" && reload_flag=" $reload_flag"
3473
3474 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3475 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3476 if test "${lt_cv_path_NM+set}" = set; then
3477 echo $ECHO_N "(cached) $ECHO_C" >&6
3478 else
3479 if test -n "$NM"; then
3480 # Let the user override the test.
3481 lt_cv_path_NM="$NM"
3482 else
3483 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3484 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3485 test -z "$ac_dir" && ac_dir=.
3486 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3487 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3488 # Check to see if the nm accepts a BSD-compat flag.
3489 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3490 # nm: unknown option "B" ignored
3491 # Tru64's nm complains that /dev/null is an invalid object file
3492 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3493 lt_cv_path_NM="$tmp_nm -B"
3494 break
3495 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3496 lt_cv_path_NM="$tmp_nm -p"
3497 break
3498 else
3499 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3500 continue # so that we can try to find one that supports BSD flags
3501 fi
3502 fi
3503 done
3504 IFS="$ac_save_ifs"
3505 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3506 fi
3507 fi
3508
3509 NM="$lt_cv_path_NM"
3510 echo "$as_me:$LINENO: result: $NM" >&5
3511 echo "${ECHO_T}$NM" >&6
3512
3513 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3514 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3515 LN_S=$as_ln_s
3516 if test "$LN_S" = "ln -s"; then
3517 echo "$as_me:$LINENO: result: yes" >&5
3518 echo "${ECHO_T}yes" >&6
3519 else
3520 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3521 echo "${ECHO_T}no, using $LN_S" >&6
3522 fi
3523
3524 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3525 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3526 if test "${lt_cv_deplibs_check_method+set}" = set; then
3527 echo $ECHO_N "(cached) $ECHO_C" >&6
3528 else
3529 lt_cv_file_magic_cmd='$MAGIC_CMD'
3530 lt_cv_file_magic_test_file=
3531 lt_cv_deplibs_check_method='unknown'
3532 # Need to set the preceding variable on all platforms that support
3533 # interlibrary dependencies.
3534 # 'none' -- dependencies not supported.
3535 # `unknown' -- same as none, but documents that we really don't know.
3536 # 'pass_all' -- all dependencies passed with no checks.
3537 # 'test_compile' -- check by making test program.
3538 # 'file_magic [regex]' -- check by looking for files in library path
3539 # which responds to the $file_magic_cmd with a given egrep regex.
3540 # If you have `file' or equivalent on your system and you're not sure
3541 # whether `pass_all' will *always* work, you probably want this one.
3542
3543 case $host_os in
3544 aix*)
3545 lt_cv_deplibs_check_method=pass_all
3546 ;;
3547
3548 beos*)
3549 lt_cv_deplibs_check_method=pass_all
3550 ;;
3551
3552 bsdi4*)
3553 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3554 lt_cv_file_magic_cmd='/usr/bin/file -L'
3555 lt_cv_file_magic_test_file=/shlib/libc.so
3556 ;;
3557
3558 cygwin* | mingw* |pw32*)
3559 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3560 lt_cv_file_magic_cmd='$OBJDUMP -f'
3561 ;;
3562
3563 darwin* | rhapsody*)
3564 # this will be overwritten by pass_all, but leave it in just in case
3565 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3566 lt_cv_file_magic_cmd='/usr/bin/file -L'
3567 case "$host_os" in
3568 rhapsody* | darwin1.012)
3569 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3570 ;;
3571 *) # Darwin 1.3 on
3572 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3573 ;;
3574 esac
3575 lt_cv_deplibs_check_method=pass_all
3576 ;;
3577
3578 freebsd* | kfreebsd*-gnu)
3579 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3580 case $host_cpu in
3581 i*86 )
3582 # Not sure whether the presence of OpenBSD here was a mistake.
3583 # Let's accept both of them until this is cleared up.
3584 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3585 lt_cv_file_magic_cmd=/usr/bin/file
3586 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3587 ;;
3588 esac
3589 else
3590 lt_cv_deplibs_check_method=pass_all
3591 fi
3592 ;;
3593
3594 gnu*)
3595 lt_cv_deplibs_check_method=pass_all
3596 ;;
3597
3598 hpux10.20*|hpux11*)
3599 case $host_cpu in
3600 hppa*)
3601 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3602 lt_cv_file_magic_cmd=/usr/bin/file
3603 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3604 ;;
3605 ia64*)
3606 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3607 lt_cv_file_magic_cmd=/usr/bin/file
3608 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3609 ;;
3610 esac
3611 ;;
3612
3613 irix5* | irix6*)
3614 case $host_os in
3615 irix5*)
3616 # this will be overridden with pass_all, but let us keep it just in case
3617 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3618 ;;
3619 *)
3620 case $LD in
3621 *-32|*"-32 ") libmagic=32-bit;;
3622 *-n32|*"-n32 ") libmagic=N32;;
3623 *-64|*"-64 ") libmagic=64-bit;;
3624 *) libmagic=never-match;;
3625 esac
3626 # this will be overridden with pass_all, but let us keep it just in case
3627 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3628 ;;
3629 esac
3630 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3631 lt_cv_deplibs_check_method=pass_all
3632 ;;
3633
3634 # This must be Linux ELF.
3635 linux-gnu*)
3636 lt_cv_deplibs_check_method=pass_all
3637 ;;
3638
3639 netbsd* | knetbsd*-gnu)
3640 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3641 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3642 else
3643 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3644 fi
3645 ;;
3646
3647 newsos6)
3648 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3649 lt_cv_file_magic_cmd=/usr/bin/file
3650 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3651 ;;
3652
3653 osf3* | osf4* | osf5*)
3654 # this will be overridden with pass_all, but let us keep it just in case
3655 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3656 lt_cv_file_magic_test_file=/shlib/libc.so
3657 lt_cv_deplibs_check_method=pass_all
3658 ;;
3659
3660 sco3.2v5*)
3661 lt_cv_deplibs_check_method=pass_all
3662 ;;
3663
3664 solaris*)
3665 lt_cv_deplibs_check_method=pass_all
3666 lt_cv_file_magic_test_file=/lib/libc.so
3667 ;;
3668
3669 sysv5uw[78]* | sysv4*uw2*)
3670 lt_cv_deplibs_check_method=pass_all
3671 ;;
3672
3673 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3674 case $host_vendor in
3675 ncr)
3676 lt_cv_deplibs_check_method=pass_all
3677 ;;
3678 motorola)
3679 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3680 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3681 ;;
3682 esac
3683 ;;
3684 esac
3685
3686 fi
3687 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3688 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3689 file_magic_cmd=$lt_cv_file_magic_cmd
3690 deplibs_check_method=$lt_cv_deplibs_check_method
3691
3692
3693
3694
3695
3696 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3697
3698 # find the maximum length of command line arguments
3699 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3700 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3701 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3702 echo $ECHO_N "(cached) $ECHO_C" >&6
3703 else
3704 i=0
3705 teststring="ABCD"
3706
3707 case $build_os in
3708 msdosdjgpp*)
3709 # On DJGPP, this test can blow up pretty badly due to problems in libc
3710 # (any single argument exceeding 2000 bytes causes a buffer overrun
3711 # during glob expansion). Even if it were fixed, the result of this
3712 # check would be larger than it should be.
3713 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3714 ;;
3715
3716 cygwin* | mingw*)
3717 # On Win9x/ME, this test blows up -- it succeeds, but takes
3718 # about 5 minutes as the teststring grows exponentially.
3719 # Worse, since 9x/ME are not pre-emptively multitasking,
3720 # you end up with a "frozen" computer, even though with patience
3721 # the test eventually succeeds (with a max line length of 256k).
3722 # Instead, let's just punt: use the minimum linelength reported by
3723 # all of the supported platforms: 8192 (on NT/2K/XP).
3724 lt_cv_sys_max_cmd_len=8192;
3725 ;;
3726
3727 amigaos*)
3728 # On AmigaOS with pdksh, this test takes hours, literally.
3729 # So we just punt and use a minimum line length of 8192.
3730 lt_cv_sys_max_cmd_len=8192;
3731 ;;
3732
3733 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3734 # This has been around since 386BSD, at least. Likely further.
3735 if test -x /sbin/sysctl; then
3736 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3737 elif test -x /usr/sbin/sysctl; then
3738 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3739 else
3740 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
3741 fi
3742 # And add a safety zone
3743 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3744 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3745 ;;
3746 esac
3747
3748 fi
3749
3750 if test -n "$lt_cv_sys_max_cmd_len" ; then
3751 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3752 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3753 else
3754 echo "$as_me:$LINENO: result: none" >&5
3755 echo "${ECHO_T}none" >&6
3756 fi
3757
3758
3759 # Only perform the check for file, if the check method requires it
3760 case $deplibs_check_method in
3761 file_magic*)
3762 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3763 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3764 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3765 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3766 echo $ECHO_N "(cached) $ECHO_C" >&6
3767 else
3768 case $MAGIC_CMD in
3769 /*)
3770 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3771 ;;
3772 ?:/*)
3773 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3774 ;;
3775 *)
3776 ac_save_MAGIC_CMD="$MAGIC_CMD"
3777 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3778 ac_dummy="/usr/bin:$PATH"
3779 for ac_dir in $ac_dummy; do
3780 test -z "$ac_dir" && ac_dir=.
3781 if test -f $ac_dir/${ac_tool_prefix}file; then
3782 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3783 if test -n "$file_magic_test_file"; then
3784 case $deplibs_check_method in
3785 "file_magic "*)
3786 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3787 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3788 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3789 egrep "$file_magic_regex" > /dev/null; then
3790 :
3791 else
3792 cat <<EOF 1>&2
3793
3794 *** Warning: the command libtool uses to detect shared libraries,
3795 *** $file_magic_cmd, produces output that libtool cannot recognize.
3796 *** The result is that libtool may fail to recognize shared libraries
3797 *** as such. This will affect the creation of libtool libraries that
3798 *** depend on shared libraries, but programs linked with such libtool
3799 *** libraries will work regardless of this problem. Nevertheless, you
3800 *** may want to report the problem to your system manager and/or to
3801 *** bug-libtool@gnu.org
3802
3803 EOF
3804 fi ;;
3805 esac
3806 fi
3807 break
3808 fi
3809 done
3810 IFS="$ac_save_ifs"
3811 MAGIC_CMD="$ac_save_MAGIC_CMD"
3812 ;;
3813 esac
3814 fi
3815
3816 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3817 if test -n "$MAGIC_CMD"; then
3818 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3819 echo "${ECHO_T}$MAGIC_CMD" >&6
3820 else
3821 echo "$as_me:$LINENO: result: no" >&5
3822 echo "${ECHO_T}no" >&6
3823 fi
3824
3825 if test -z "$lt_cv_path_MAGIC_CMD"; then
3826 if test -n "$ac_tool_prefix"; then
3827 echo "$as_me:$LINENO: checking for file" >&5
3828 echo $ECHO_N "checking for file... $ECHO_C" >&6
3829 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3830 echo $ECHO_N "(cached) $ECHO_C" >&6
3831 else
3832 case $MAGIC_CMD in
3833 /*)
3834 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3835 ;;
3836 ?:/*)
3837 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3838 ;;
3839 *)
3840 ac_save_MAGIC_CMD="$MAGIC_CMD"
3841 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3842 ac_dummy="/usr/bin:$PATH"
3843 for ac_dir in $ac_dummy; do
3844 test -z "$ac_dir" && ac_dir=.
3845 if test -f $ac_dir/file; then
3846 lt_cv_path_MAGIC_CMD="$ac_dir/file"
3847 if test -n "$file_magic_test_file"; then
3848 case $deplibs_check_method in
3849 "file_magic "*)
3850 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3851 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3852 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3853 egrep "$file_magic_regex" > /dev/null; then
3854 :
3855 else
3856 cat <<EOF 1>&2
3857
3858 *** Warning: the command libtool uses to detect shared libraries,
3859 *** $file_magic_cmd, produces output that libtool cannot recognize.
3860 *** The result is that libtool may fail to recognize shared libraries
3861 *** as such. This will affect the creation of libtool libraries that
3862 *** depend on shared libraries, but programs linked with such libtool
3863 *** libraries will work regardless of this problem. Nevertheless, you
3864 *** may want to report the problem to your system manager and/or to
3865 *** bug-libtool@gnu.org
3866
3867 EOF
3868 fi ;;
3869 esac
3870 fi
3871 break
3872 fi
3873 done
3874 IFS="$ac_save_ifs"
3875 MAGIC_CMD="$ac_save_MAGIC_CMD"
3876 ;;
3877 esac
3878 fi
3879
3880 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3881 if test -n "$MAGIC_CMD"; then
3882 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3883 echo "${ECHO_T}$MAGIC_CMD" >&6
3884 else
3885 echo "$as_me:$LINENO: result: no" >&5
3886 echo "${ECHO_T}no" >&6
3887 fi
3888
3889 else
3890 MAGIC_CMD=:
3891 fi
3892 fi
3893
3894 fi
3895 ;;
3896 esac
3897
3898 if test -n "$ac_tool_prefix"; then
3899 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3900 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3901 echo "$as_me:$LINENO: checking for $ac_word" >&5
3902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3903 if test "${ac_cv_prog_RANLIB+set}" = set; then
3904 echo $ECHO_N "(cached) $ECHO_C" >&6
3905 else
3906 if test -n "$RANLIB"; then
3907 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3908 else
3909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3910 for as_dir in $PATH
3911 do
3912 IFS=$as_save_IFS
3913 test -z "$as_dir" && as_dir=.
3914 for ac_exec_ext in '' $ac_executable_extensions; do
3915 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3916 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3918 break 2
3919 fi
3920 done
3921 done
3922
3923 fi
3924 fi
3925 RANLIB=$ac_cv_prog_RANLIB
3926 if test -n "$RANLIB"; then
3927 echo "$as_me:$LINENO: result: $RANLIB" >&5
3928 echo "${ECHO_T}$RANLIB" >&6
3929 else
3930 echo "$as_me:$LINENO: result: no" >&5
3931 echo "${ECHO_T}no" >&6
3932 fi
3933
3934 fi
3935 if test -z "$ac_cv_prog_RANLIB"; then
3936 ac_ct_RANLIB=$RANLIB
3937 # Extract the first word of "ranlib", so it can be a program name with args.
3938 set dummy ranlib; ac_word=$2
3939 echo "$as_me:$LINENO: checking for $ac_word" >&5
3940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3941 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3942 echo $ECHO_N "(cached) $ECHO_C" >&6
3943 else
3944 if test -n "$ac_ct_RANLIB"; then
3945 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3946 else
3947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3948 for as_dir in $PATH
3949 do
3950 IFS=$as_save_IFS
3951 test -z "$as_dir" && as_dir=.
3952 for ac_exec_ext in '' $ac_executable_extensions; do
3953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3954 ac_cv_prog_ac_ct_RANLIB="ranlib"
3955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3956 break 2
3957 fi
3958 done
3959 done
3960
3961 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3962 fi
3963 fi
3964 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3965 if test -n "$ac_ct_RANLIB"; then
3966 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3967 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3968 else
3969 echo "$as_me:$LINENO: result: no" >&5
3970 echo "${ECHO_T}no" >&6
3971 fi
3972
3973 RANLIB=$ac_ct_RANLIB
3974 else
3975 RANLIB="$ac_cv_prog_RANLIB"
3976 fi
3977
3978 if test -n "$ac_tool_prefix"; then
3979 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3980 set dummy ${ac_tool_prefix}strip; ac_word=$2
3981 echo "$as_me:$LINENO: checking for $ac_word" >&5
3982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3983 if test "${ac_cv_prog_STRIP+set}" = set; then
3984 echo $ECHO_N "(cached) $ECHO_C" >&6
3985 else
3986 if test -n "$STRIP"; then
3987 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3988 else
3989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3990 for as_dir in $PATH
3991 do
3992 IFS=$as_save_IFS
3993 test -z "$as_dir" && as_dir=.
3994 for ac_exec_ext in '' $ac_executable_extensions; do
3995 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3996 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3998 break 2
3999 fi
4000 done
4001 done
4002
4003 fi
4004 fi
4005 STRIP=$ac_cv_prog_STRIP
4006 if test -n "$STRIP"; then
4007 echo "$as_me:$LINENO: result: $STRIP" >&5
4008 echo "${ECHO_T}$STRIP" >&6
4009 else
4010 echo "$as_me:$LINENO: result: no" >&5
4011 echo "${ECHO_T}no" >&6
4012 fi
4013
4014 fi
4015 if test -z "$ac_cv_prog_STRIP"; then
4016 ac_ct_STRIP=$STRIP
4017 # Extract the first word of "strip", so it can be a program name with args.
4018 set dummy strip; ac_word=$2
4019 echo "$as_me:$LINENO: checking for $ac_word" >&5
4020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4021 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4022 echo $ECHO_N "(cached) $ECHO_C" >&6
4023 else
4024 if test -n "$ac_ct_STRIP"; then
4025 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4026 else
4027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4028 for as_dir in $PATH
4029 do
4030 IFS=$as_save_IFS
4031 test -z "$as_dir" && as_dir=.
4032 for ac_exec_ext in '' $ac_executable_extensions; do
4033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4034 ac_cv_prog_ac_ct_STRIP="strip"
4035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4036 break 2
4037 fi
4038 done
4039 done
4040
4041 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4042 fi
4043 fi
4044 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4045 if test -n "$ac_ct_STRIP"; then
4046 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4047 echo "${ECHO_T}$ac_ct_STRIP" >&6
4048 else
4049 echo "$as_me:$LINENO: result: no" >&5
4050 echo "${ECHO_T}no" >&6
4051 fi
4052
4053 STRIP=$ac_ct_STRIP
4054 else
4055 STRIP="$ac_cv_prog_STRIP"
4056 fi
4057
4058
4059 # Check for any special flags to pass to ltconfig.
4060 libtool_flags="--cache-file=$cache_file"
4061 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4062 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4063 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4064 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4065 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4066
4067
4068 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4069 if test "${enable_libtool_lock+set}" = set; then
4070 enableval="$enable_libtool_lock"
4071
4072 fi;
4073 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4074 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4075
4076
4077 # Check whether --with-pic or --without-pic was given.
4078 if test "${with_pic+set}" = set; then
4079 withval="$with_pic"
4080 pic_mode="$withval"
4081 else
4082 pic_mode=default
4083 fi;
4084 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4085 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4086
4087 # Some flags need to be propagated to the compiler or linker for good
4088 # libtool support.
4089 case $host in
4090 *-*-irix6*)
4091 # Find out which ABI we are using.
4092 echo '#line 4092 "configure"' > conftest.$ac_ext
4093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4094 (eval $ac_compile) 2>&5
4095 ac_status=$?
4096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097 (exit $ac_status); }; then
4098 if test "$lt_cv_prog_gnu_ld" = yes; then
4099 case `/usr/bin/file conftest.$ac_objext` in
4100 *32-bit*)
4101 LD="${LD-ld} -melf32bsmip"
4102 ;;
4103 *N32*)
4104 LD="${LD-ld} -melf32bmipn32"
4105 ;;
4106 *64-bit*)
4107 LD="${LD-ld} -melf64bmip"
4108 ;;
4109 esac
4110 else
4111 case `/usr/bin/file conftest.$ac_objext` in
4112 *32-bit*)
4113 LD="${LD-ld} -32"
4114 ;;
4115 *N32*)
4116 LD="${LD-ld} -n32"
4117 ;;
4118 *64-bit*)
4119 LD="${LD-ld} -64"
4120 ;;
4121 esac
4122 fi
4123 fi
4124 rm -rf conftest*
4125 ;;
4126
4127 ia64-*-hpux*)
4128 # Find out which ABI we are using.
4129 echo 'int i;' > conftest.$ac_ext
4130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4131 (eval $ac_compile) 2>&5
4132 ac_status=$?
4133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4134 (exit $ac_status); }; then
4135 case "`/usr/bin/file conftest.o`" in
4136 *ELF-32*)
4137 HPUX_IA64_MODE="32"
4138 ;;
4139 *ELF-64*)
4140 HPUX_IA64_MODE="64"
4141 ;;
4142 esac
4143 fi
4144 rm -rf conftest*
4145 ;;
4146
4147 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4148 # Find out which ABI we are using.
4149 echo 'int i;' > conftest.$ac_ext
4150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4151 (eval $ac_compile) 2>&5
4152 ac_status=$?
4153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4154 (exit $ac_status); }; then
4155 case "`/usr/bin/file conftest.o`" in
4156 *32-bit*)
4157 case $host in
4158 x86_64-*linux*)
4159 LD="${LD-ld} -m elf_i386"
4160 ;;
4161 ppc64-*linux*|powerpc64-*linux*)
4162 LD="${LD-ld} -m elf32ppclinux"
4163 ;;
4164 s390x-*linux*)
4165 LD="${LD-ld} -m elf_s390"
4166 ;;
4167 sparc64-*linux*)
4168 LD="${LD-ld} -m elf32_sparc"
4169 ;;
4170 esac
4171 ;;
4172 *64-bit*)
4173 case $host in
4174 x86_64-*linux*)
4175 LD="${LD-ld} -m elf_x86_64"
4176 ;;
4177 ppc*-*linux*|powerpc*-*linux*)
4178 LD="${LD-ld} -m elf64ppc"
4179 ;;
4180 s390*-*linux*)
4181 LD="${LD-ld} -m elf64_s390"
4182 ;;
4183 sparc*-*linux*)
4184 LD="${LD-ld} -m elf64_sparc"
4185 ;;
4186 esac
4187 ;;
4188 esac
4189 fi
4190 rm -rf conftest*
4191 ;;
4192
4193 *-*-sco3.2v5*)
4194 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4195 SAVE_CFLAGS="$CFLAGS"
4196 CFLAGS="$CFLAGS -belf"
4197 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4198 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4199 if test "${lt_cv_cc_needs_belf+set}" = set; then
4200 echo $ECHO_N "(cached) $ECHO_C" >&6
4201 else
4202
4203
4204 ac_ext=c
4205 ac_cpp='$CPP $CPPFLAGS'
4206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4209
4210 cat >conftest.$ac_ext <<_ACEOF
4211 /* confdefs.h. */
4212 _ACEOF
4213 cat confdefs.h >>conftest.$ac_ext
4214 cat >>conftest.$ac_ext <<_ACEOF
4215 /* end confdefs.h. */
4216
4217 int
4218 main ()
4219 {
4220
4221 ;
4222 return 0;
4223 }
4224 _ACEOF
4225 rm -f conftest.$ac_objext conftest$ac_exeext
4226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4227 (eval $ac_link) 2>conftest.er1
4228 ac_status=$?
4229 grep -v '^ *+' conftest.er1 >conftest.err
4230 rm -f conftest.er1
4231 cat conftest.err >&5
4232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233 (exit $ac_status); } &&
4234 { ac_try='test -z "$ac_c_werror_flag"
4235 || test ! -s conftest.err'
4236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4237 (eval $ac_try) 2>&5
4238 ac_status=$?
4239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4240 (exit $ac_status); }; } &&
4241 { ac_try='test -s conftest$ac_exeext'
4242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4243 (eval $ac_try) 2>&5
4244 ac_status=$?
4245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4246 (exit $ac_status); }; }; then
4247 lt_cv_cc_needs_belf=yes
4248 else
4249 echo "$as_me: failed program was:" >&5
4250 sed 's/^/| /' conftest.$ac_ext >&5
4251
4252 lt_cv_cc_needs_belf=no
4253 fi
4254 rm -f conftest.err conftest.$ac_objext \
4255 conftest$ac_exeext conftest.$ac_ext
4256 ac_ext=c
4257 ac_cpp='$CPP $CPPFLAGS'
4258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4261
4262 fi
4263 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4264 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4265 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4266 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4267 CFLAGS="$SAVE_CFLAGS"
4268 fi
4269 ;;
4270
4271
4272 esac
4273
4274
4275 # Save cache, so that ltconfig can load it
4276 cat >confcache <<\_ACEOF
4277 # This file is a shell script that caches the results of configure
4278 # tests run on this system so they can be shared between configure
4279 # scripts and configure runs, see configure's option --config-cache.
4280 # It is not useful on other systems. If it contains results you don't
4281 # want to keep, you may remove or edit it.
4282 #
4283 # config.status only pays attention to the cache file if you give it
4284 # the --recheck option to rerun configure.
4285 #
4286 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4287 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4288 # following values.
4289
4290 _ACEOF
4291
4292 # The following way of writing the cache mishandles newlines in values,
4293 # but we know of no workaround that is simple, portable, and efficient.
4294 # So, don't put newlines in cache variables' values.
4295 # Ultrix sh set writes to stderr and can't be redirected directly,
4296 # and sets the high bit in the cache file unless we assign to the vars.
4297 {
4298 (set) 2>&1 |
4299 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4300 *ac_space=\ *)
4301 # `set' does not quote correctly, so add quotes (double-quote
4302 # substitution turns \\\\ into \\, and sed turns \\ into \).
4303 sed -n \
4304 "s/'/'\\\\''/g;
4305 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4306 ;;
4307 *)
4308 # `set' quotes correctly as required by POSIX, so do not add quotes.
4309 sed -n \
4310 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4311 ;;
4312 esac;
4313 } |
4314 sed '
4315 t clear
4316 : clear
4317 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4318 t end
4319 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4320 : end' >>confcache
4321 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4322 if test -w $cache_file; then
4323 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4324 cat confcache >$cache_file
4325 else
4326 echo "not updating unwritable cache $cache_file"
4327 fi
4328 fi
4329 rm -f confcache
4330
4331 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4332 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4333 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4334 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4335 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4336 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4337 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4338 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4339 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4340 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4341 echo "$as_me: error: libtool configure failed" >&2;}
4342 { (exit 1); exit 1; }; }
4343
4344 # Reload cache, that may have been modified by ltconfig
4345 if test -r "$cache_file"; then
4346 # Some versions of bash will fail to source /dev/null (special
4347 # files actually), so we avoid doing that.
4348 if test -f "$cache_file"; then
4349 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4350 echo "$as_me: loading cache $cache_file" >&6;}
4351 case $cache_file in
4352 [\\/]* | ?:[\\/]* ) . $cache_file;;
4353 *) . ./$cache_file;;
4354 esac
4355 fi
4356 else
4357 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4358 echo "$as_me: creating cache $cache_file" >&6;}
4359 >$cache_file
4360 fi
4361
4362
4363 # This can be used to rebuild libtool when needed
4364 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4365
4366 # Always use our own libtool.
4367 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4368
4369 # Redirect the config.log output again, so that the ltconfig log is not
4370 # clobbered by the next message.
4371 exec 5>>./config.log
4372
4373
4374
4375
4376
4377
4378
4379
4380 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4381
4382 # We need gfortran to compile parts of the library
4383 # We can't use AC_PROG_FC because it expects a fully working gfortran.
4384 #AC_PROG_FC(gfortran)
4385 FC="$GFORTRAN"
4386 ac_ext=${FC_SRCEXT-f}
4387 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4388 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4389 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4390 if test -n "$ac_tool_prefix"; then
4391 for ac_prog in gfortran
4392 do
4393 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4394 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4395 echo "$as_me:$LINENO: checking for $ac_word" >&5
4396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4397 if test "${ac_cv_prog_FC+set}" = set; then
4398 echo $ECHO_N "(cached) $ECHO_C" >&6
4399 else
4400 if test -n "$FC"; then
4401 ac_cv_prog_FC="$FC" # Let the user override the test.
4402 else
4403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4404 for as_dir in $PATH
4405 do
4406 IFS=$as_save_IFS
4407 test -z "$as_dir" && as_dir=.
4408 for ac_exec_ext in '' $ac_executable_extensions; do
4409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4410 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4412 break 2
4413 fi
4414 done
4415 done
4416
4417 fi
4418 fi
4419 FC=$ac_cv_prog_FC
4420 if test -n "$FC"; then
4421 echo "$as_me:$LINENO: result: $FC" >&5
4422 echo "${ECHO_T}$FC" >&6
4423 else
4424 echo "$as_me:$LINENO: result: no" >&5
4425 echo "${ECHO_T}no" >&6
4426 fi
4427
4428 test -n "$FC" && break
4429 done
4430 fi
4431 if test -z "$FC"; then
4432 ac_ct_FC=$FC
4433 for ac_prog in gfortran
4434 do
4435 # Extract the first word of "$ac_prog", so it can be a program name with args.
4436 set dummy $ac_prog; ac_word=$2
4437 echo "$as_me:$LINENO: checking for $ac_word" >&5
4438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4439 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4440 echo $ECHO_N "(cached) $ECHO_C" >&6
4441 else
4442 if test -n "$ac_ct_FC"; then
4443 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4444 else
4445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4446 for as_dir in $PATH
4447 do
4448 IFS=$as_save_IFS
4449 test -z "$as_dir" && as_dir=.
4450 for ac_exec_ext in '' $ac_executable_extensions; do
4451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4452 ac_cv_prog_ac_ct_FC="$ac_prog"
4453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4454 break 2
4455 fi
4456 done
4457 done
4458
4459 fi
4460 fi
4461 ac_ct_FC=$ac_cv_prog_ac_ct_FC
4462 if test -n "$ac_ct_FC"; then
4463 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4464 echo "${ECHO_T}$ac_ct_FC" >&6
4465 else
4466 echo "$as_me:$LINENO: result: no" >&5
4467 echo "${ECHO_T}no" >&6
4468 fi
4469
4470 test -n "$ac_ct_FC" && break
4471 done
4472
4473 FC=$ac_ct_FC
4474 fi
4475
4476
4477 # Provide some information about the compiler.
4478 echo "$as_me:4478:" \
4479 "checking for Fortran compiler version" >&5
4480 ac_compiler=`set X $ac_compile; echo $2`
4481 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4482 (eval $ac_compiler --version </dev/null >&5) 2>&5
4483 ac_status=$?
4484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4485 (exit $ac_status); }
4486 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4487 (eval $ac_compiler -v </dev/null >&5) 2>&5
4488 ac_status=$?
4489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490 (exit $ac_status); }
4491 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4492 (eval $ac_compiler -V </dev/null >&5) 2>&5
4493 ac_status=$?
4494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4495 (exit $ac_status); }
4496 rm -f a.out
4497
4498 # If we don't use `.F' as extension, the preprocessor is not run on the
4499 # input file. (Note that this only needs to work for GNU compilers.)
4500 ac_save_ext=$ac_ext
4501 ac_ext=F
4502 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4503 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4504 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4505 echo $ECHO_N "(cached) $ECHO_C" >&6
4506 else
4507 cat >conftest.$ac_ext <<_ACEOF
4508 program main
4509 #ifndef __GNUC__
4510 choke me
4511 #endif
4512
4513 end
4514 _ACEOF
4515 rm -f conftest.$ac_objext
4516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4517 (eval $ac_compile) 2>conftest.er1
4518 ac_status=$?
4519 grep -v '^ *+' conftest.er1 >conftest.err
4520 rm -f conftest.er1
4521 cat conftest.err >&5
4522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523 (exit $ac_status); } &&
4524 { ac_try='test -z "$ac_fc_werror_flag"
4525 || test ! -s conftest.err'
4526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4527 (eval $ac_try) 2>&5
4528 ac_status=$?
4529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530 (exit $ac_status); }; } &&
4531 { ac_try='test -s conftest.$ac_objext'
4532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4533 (eval $ac_try) 2>&5
4534 ac_status=$?
4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536 (exit $ac_status); }; }; then
4537 ac_compiler_gnu=yes
4538 else
4539 echo "$as_me: failed program was:" >&5
4540 sed 's/^/| /' conftest.$ac_ext >&5
4541
4542 ac_compiler_gnu=no
4543 fi
4544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4545 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4546
4547 fi
4548 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4549 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4550 ac_ext=$ac_save_ext
4551 ac_test_FFLAGS=${FCFLAGS+set}
4552 ac_save_FFLAGS=$FCFLAGS
4553 FCFLAGS=
4554 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4555 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4556 if test "${ac_cv_prog_fc_g+set}" = set; then
4557 echo $ECHO_N "(cached) $ECHO_C" >&6
4558 else
4559 FCFLAGS=-g
4560 cat >conftest.$ac_ext <<_ACEOF
4561 program main
4562
4563 end
4564 _ACEOF
4565 rm -f conftest.$ac_objext
4566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4567 (eval $ac_compile) 2>conftest.er1
4568 ac_status=$?
4569 grep -v '^ *+' conftest.er1 >conftest.err
4570 rm -f conftest.er1
4571 cat conftest.err >&5
4572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4573 (exit $ac_status); } &&
4574 { ac_try='test -z "$ac_fc_werror_flag"
4575 || test ! -s conftest.err'
4576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4577 (eval $ac_try) 2>&5
4578 ac_status=$?
4579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580 (exit $ac_status); }; } &&
4581 { ac_try='test -s conftest.$ac_objext'
4582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4583 (eval $ac_try) 2>&5
4584 ac_status=$?
4585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4586 (exit $ac_status); }; }; then
4587 ac_cv_prog_fc_g=yes
4588 else
4589 echo "$as_me: failed program was:" >&5
4590 sed 's/^/| /' conftest.$ac_ext >&5
4591
4592 ac_cv_prog_fc_g=no
4593 fi
4594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4595
4596 fi
4597 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4598 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4599 if test "$ac_test_FFLAGS" = set; then
4600 FCFLAGS=$ac_save_FFLAGS
4601 elif test $ac_cv_prog_fc_g = yes; then
4602 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4603 FCFLAGS="-g -O2"
4604 else
4605 FCFLAGS="-g"
4606 fi
4607 else
4608 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4609 FCFLAGS="-O2"
4610 else
4611 FCFLAGS=
4612 fi
4613 fi
4614
4615 ac_ext=c
4616 ac_cpp='$CPP $CPPFLAGS'
4617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4620
4621 FCFLAGS="$FCFLAGS -Wall -fno-repack-arrays -fno-underscoring"
4622
4623 # extra LD Flags which are required for targets
4624 case "${host}" in
4625 *-darwin*)
4626 # Darwin needs -single_module when linking libgfortran
4627 extra_ldflags_libgfortran=-Wl,-single_module
4628 ;;
4629 esac
4630
4631
4632 # Check whether --enable-largefile or --disable-largefile was given.
4633 if test "${enable_largefile+set}" = set; then
4634 enableval="$enable_largefile"
4635
4636 fi;
4637 if test "$enable_largefile" != no; then
4638
4639 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4640 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4641 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4642 echo $ECHO_N "(cached) $ECHO_C" >&6
4643 else
4644 ac_cv_sys_largefile_CC=no
4645 if test "$GCC" != yes; then
4646 ac_save_CC=$CC
4647 while :; do
4648 # IRIX 6.2 and later do not support large files by default,
4649 # so use the C compiler's -n32 option if that helps.
4650 cat >conftest.$ac_ext <<_ACEOF
4651 /* confdefs.h. */
4652 _ACEOF
4653 cat confdefs.h >>conftest.$ac_ext
4654 cat >>conftest.$ac_ext <<_ACEOF
4655 /* end confdefs.h. */
4656 #include <sys/types.h>
4657 /* Check that off_t can represent 2**63 - 1 correctly.
4658 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4659 since some C++ compilers masquerading as C compilers
4660 incorrectly reject 9223372036854775807. */
4661 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4662 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4663 && LARGE_OFF_T % 2147483647 == 1)
4664 ? 1 : -1];
4665 int
4666 main ()
4667 {
4668
4669 ;
4670 return 0;
4671 }
4672 _ACEOF
4673 rm -f conftest.$ac_objext
4674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4675 (eval $ac_compile) 2>conftest.er1
4676 ac_status=$?
4677 grep -v '^ *+' conftest.er1 >conftest.err
4678 rm -f conftest.er1
4679 cat conftest.err >&5
4680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4681 (exit $ac_status); } &&
4682 { ac_try='test -z "$ac_c_werror_flag"
4683 || test ! -s conftest.err'
4684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4685 (eval $ac_try) 2>&5
4686 ac_status=$?
4687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4688 (exit $ac_status); }; } &&
4689 { ac_try='test -s conftest.$ac_objext'
4690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4691 (eval $ac_try) 2>&5
4692 ac_status=$?
4693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4694 (exit $ac_status); }; }; then
4695 break
4696 else
4697 echo "$as_me: failed program was:" >&5
4698 sed 's/^/| /' conftest.$ac_ext >&5
4699
4700 fi
4701 rm -f conftest.err conftest.$ac_objext
4702 CC="$CC -n32"
4703 rm -f conftest.$ac_objext
4704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4705 (eval $ac_compile) 2>conftest.er1
4706 ac_status=$?
4707 grep -v '^ *+' conftest.er1 >conftest.err
4708 rm -f conftest.er1
4709 cat conftest.err >&5
4710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711 (exit $ac_status); } &&
4712 { ac_try='test -z "$ac_c_werror_flag"
4713 || test ! -s conftest.err'
4714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4715 (eval $ac_try) 2>&5
4716 ac_status=$?
4717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718 (exit $ac_status); }; } &&
4719 { ac_try='test -s conftest.$ac_objext'
4720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4721 (eval $ac_try) 2>&5
4722 ac_status=$?
4723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4724 (exit $ac_status); }; }; then
4725 ac_cv_sys_largefile_CC=' -n32'; break
4726 else
4727 echo "$as_me: failed program was:" >&5
4728 sed 's/^/| /' conftest.$ac_ext >&5
4729
4730 fi
4731 rm -f conftest.err conftest.$ac_objext
4732 break
4733 done
4734 CC=$ac_save_CC
4735 rm -f conftest.$ac_ext
4736 fi
4737 fi
4738 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4739 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4740 if test "$ac_cv_sys_largefile_CC" != no; then
4741 CC=$CC$ac_cv_sys_largefile_CC
4742 fi
4743
4744 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4745 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4746 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4747 echo $ECHO_N "(cached) $ECHO_C" >&6
4748 else
4749 while :; do
4750 ac_cv_sys_file_offset_bits=no
4751 cat >conftest.$ac_ext <<_ACEOF
4752 /* confdefs.h. */
4753 _ACEOF
4754 cat confdefs.h >>conftest.$ac_ext
4755 cat >>conftest.$ac_ext <<_ACEOF
4756 /* end confdefs.h. */
4757 #include <sys/types.h>
4758 /* Check that off_t can represent 2**63 - 1 correctly.
4759 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4760 since some C++ compilers masquerading as C compilers
4761 incorrectly reject 9223372036854775807. */
4762 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4763 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4764 && LARGE_OFF_T % 2147483647 == 1)
4765 ? 1 : -1];
4766 int
4767 main ()
4768 {
4769
4770 ;
4771 return 0;
4772 }
4773 _ACEOF
4774 rm -f conftest.$ac_objext
4775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4776 (eval $ac_compile) 2>conftest.er1
4777 ac_status=$?
4778 grep -v '^ *+' conftest.er1 >conftest.err
4779 rm -f conftest.er1
4780 cat conftest.err >&5
4781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4782 (exit $ac_status); } &&
4783 { ac_try='test -z "$ac_c_werror_flag"
4784 || test ! -s conftest.err'
4785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4786 (eval $ac_try) 2>&5
4787 ac_status=$?
4788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4789 (exit $ac_status); }; } &&
4790 { ac_try='test -s conftest.$ac_objext'
4791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4792 (eval $ac_try) 2>&5
4793 ac_status=$?
4794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4795 (exit $ac_status); }; }; then
4796 break
4797 else
4798 echo "$as_me: failed program was:" >&5
4799 sed 's/^/| /' conftest.$ac_ext >&5
4800
4801 fi
4802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4803 cat >conftest.$ac_ext <<_ACEOF
4804 /* confdefs.h. */
4805 _ACEOF
4806 cat confdefs.h >>conftest.$ac_ext
4807 cat >>conftest.$ac_ext <<_ACEOF
4808 /* end confdefs.h. */
4809 #define _FILE_OFFSET_BITS 64
4810 #include <sys/types.h>
4811 /* Check that off_t can represent 2**63 - 1 correctly.
4812 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4813 since some C++ compilers masquerading as C compilers
4814 incorrectly reject 9223372036854775807. */
4815 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4816 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4817 && LARGE_OFF_T % 2147483647 == 1)
4818 ? 1 : -1];
4819 int
4820 main ()
4821 {
4822
4823 ;
4824 return 0;
4825 }
4826 _ACEOF
4827 rm -f conftest.$ac_objext
4828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4829 (eval $ac_compile) 2>conftest.er1
4830 ac_status=$?
4831 grep -v '^ *+' conftest.er1 >conftest.err
4832 rm -f conftest.er1
4833 cat conftest.err >&5
4834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4835 (exit $ac_status); } &&
4836 { ac_try='test -z "$ac_c_werror_flag"
4837 || test ! -s conftest.err'
4838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4839 (eval $ac_try) 2>&5
4840 ac_status=$?
4841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842 (exit $ac_status); }; } &&
4843 { ac_try='test -s conftest.$ac_objext'
4844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4845 (eval $ac_try) 2>&5
4846 ac_status=$?
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); }; }; then
4849 ac_cv_sys_file_offset_bits=64; break
4850 else
4851 echo "$as_me: failed program was:" >&5
4852 sed 's/^/| /' conftest.$ac_ext >&5
4853
4854 fi
4855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4856 break
4857 done
4858 fi
4859 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4860 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4861 if test "$ac_cv_sys_file_offset_bits" != no; then
4862
4863 cat >>confdefs.h <<_ACEOF
4864 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4865 _ACEOF
4866
4867 fi
4868 rm -f conftest*
4869 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4870 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4871 if test "${ac_cv_sys_large_files+set}" = set; then
4872 echo $ECHO_N "(cached) $ECHO_C" >&6
4873 else
4874 while :; do
4875 ac_cv_sys_large_files=no
4876 cat >conftest.$ac_ext <<_ACEOF
4877 /* confdefs.h. */
4878 _ACEOF
4879 cat confdefs.h >>conftest.$ac_ext
4880 cat >>conftest.$ac_ext <<_ACEOF
4881 /* end confdefs.h. */
4882 #include <sys/types.h>
4883 /* Check that off_t can represent 2**63 - 1 correctly.
4884 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4885 since some C++ compilers masquerading as C compilers
4886 incorrectly reject 9223372036854775807. */
4887 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4888 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4889 && LARGE_OFF_T % 2147483647 == 1)
4890 ? 1 : -1];
4891 int
4892 main ()
4893 {
4894
4895 ;
4896 return 0;
4897 }
4898 _ACEOF
4899 rm -f conftest.$ac_objext
4900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4901 (eval $ac_compile) 2>conftest.er1
4902 ac_status=$?
4903 grep -v '^ *+' conftest.er1 >conftest.err
4904 rm -f conftest.er1
4905 cat conftest.err >&5
4906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4907 (exit $ac_status); } &&
4908 { ac_try='test -z "$ac_c_werror_flag"
4909 || test ! -s conftest.err'
4910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4911 (eval $ac_try) 2>&5
4912 ac_status=$?
4913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914 (exit $ac_status); }; } &&
4915 { ac_try='test -s conftest.$ac_objext'
4916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4917 (eval $ac_try) 2>&5
4918 ac_status=$?
4919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4920 (exit $ac_status); }; }; then
4921 break
4922 else
4923 echo "$as_me: failed program was:" >&5
4924 sed 's/^/| /' conftest.$ac_ext >&5
4925
4926 fi
4927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4928 cat >conftest.$ac_ext <<_ACEOF
4929 /* confdefs.h. */
4930 _ACEOF
4931 cat confdefs.h >>conftest.$ac_ext
4932 cat >>conftest.$ac_ext <<_ACEOF
4933 /* end confdefs.h. */
4934 #define _LARGE_FILES 1
4935 #include <sys/types.h>
4936 /* Check that off_t can represent 2**63 - 1 correctly.
4937 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4938 since some C++ compilers masquerading as C compilers
4939 incorrectly reject 9223372036854775807. */
4940 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4941 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4942 && LARGE_OFF_T % 2147483647 == 1)
4943 ? 1 : -1];
4944 int
4945 main ()
4946 {
4947
4948 ;
4949 return 0;
4950 }
4951 _ACEOF
4952 rm -f conftest.$ac_objext
4953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4954 (eval $ac_compile) 2>conftest.er1
4955 ac_status=$?
4956 grep -v '^ *+' conftest.er1 >conftest.err
4957 rm -f conftest.er1
4958 cat conftest.err >&5
4959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960 (exit $ac_status); } &&
4961 { ac_try='test -z "$ac_c_werror_flag"
4962 || test ! -s conftest.err'
4963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4964 (eval $ac_try) 2>&5
4965 ac_status=$?
4966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4967 (exit $ac_status); }; } &&
4968 { ac_try='test -s conftest.$ac_objext'
4969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4970 (eval $ac_try) 2>&5
4971 ac_status=$?
4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); }; }; then
4974 ac_cv_sys_large_files=1; break
4975 else
4976 echo "$as_me: failed program was:" >&5
4977 sed 's/^/| /' conftest.$ac_ext >&5
4978
4979 fi
4980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4981 break
4982 done
4983 fi
4984 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4985 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4986 if test "$ac_cv_sys_large_files" != no; then
4987
4988 cat >>confdefs.h <<_ACEOF
4989 #define _LARGE_FILES $ac_cv_sys_large_files
4990 _ACEOF
4991
4992 fi
4993 rm -f conftest*
4994 fi
4995
4996 ac_ext=c
4997 ac_cpp='$CPP $CPPFLAGS'
4998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5001 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5002 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5003 # On Suns, sometimes $CPP names a directory.
5004 if test -n "$CPP" && test -d "$CPP"; then
5005 CPP=
5006 fi
5007 if test -z "$CPP"; then
5008 if test "${ac_cv_prog_CPP+set}" = set; then
5009 echo $ECHO_N "(cached) $ECHO_C" >&6
5010 else
5011 # Double quotes because CPP needs to be expanded
5012 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5013 do
5014 ac_preproc_ok=false
5015 for ac_c_preproc_warn_flag in '' yes
5016 do
5017 # Use a header file that comes with gcc, so configuring glibc
5018 # with a fresh cross-compiler works.
5019 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5020 # <limits.h> exists even on freestanding compilers.
5021 # On the NeXT, cc -E runs the code through the compiler's parser,
5022 # not just through cpp. "Syntax error" is here to catch this case.
5023 cat >conftest.$ac_ext <<_ACEOF
5024 /* confdefs.h. */
5025 _ACEOF
5026 cat confdefs.h >>conftest.$ac_ext
5027 cat >>conftest.$ac_ext <<_ACEOF
5028 /* end confdefs.h. */
5029 #ifdef __STDC__
5030 # include <limits.h>
5031 #else
5032 # include <assert.h>
5033 #endif
5034 Syntax error
5035 _ACEOF
5036 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5037 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5038 ac_status=$?
5039 grep -v '^ *+' conftest.er1 >conftest.err
5040 rm -f conftest.er1
5041 cat conftest.err >&5
5042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5043 (exit $ac_status); } >/dev/null; then
5044 if test -s conftest.err; then
5045 ac_cpp_err=$ac_c_preproc_warn_flag
5046 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5047 else
5048 ac_cpp_err=
5049 fi
5050 else
5051 ac_cpp_err=yes
5052 fi
5053 if test -z "$ac_cpp_err"; then
5054 :
5055 else
5056 echo "$as_me: failed program was:" >&5
5057 sed 's/^/| /' conftest.$ac_ext >&5
5058
5059 # Broken: fails on valid input.
5060 continue
5061 fi
5062 rm -f conftest.err conftest.$ac_ext
5063
5064 # OK, works on sane cases. Now check whether non-existent headers
5065 # can be detected and how.
5066 cat >conftest.$ac_ext <<_ACEOF
5067 /* confdefs.h. */
5068 _ACEOF
5069 cat confdefs.h >>conftest.$ac_ext
5070 cat >>conftest.$ac_ext <<_ACEOF
5071 /* end confdefs.h. */
5072 #include <ac_nonexistent.h>
5073 _ACEOF
5074 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5075 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5076 ac_status=$?
5077 grep -v '^ *+' conftest.er1 >conftest.err
5078 rm -f conftest.er1
5079 cat conftest.err >&5
5080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081 (exit $ac_status); } >/dev/null; then
5082 if test -s conftest.err; then
5083 ac_cpp_err=$ac_c_preproc_warn_flag
5084 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5085 else
5086 ac_cpp_err=
5087 fi
5088 else
5089 ac_cpp_err=yes
5090 fi
5091 if test -z "$ac_cpp_err"; then
5092 # Broken: success on invalid input.
5093 continue
5094 else
5095 echo "$as_me: failed program was:" >&5
5096 sed 's/^/| /' conftest.$ac_ext >&5
5097
5098 # Passes both tests.
5099 ac_preproc_ok=:
5100 break
5101 fi
5102 rm -f conftest.err conftest.$ac_ext
5103
5104 done
5105 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5106 rm -f conftest.err conftest.$ac_ext
5107 if $ac_preproc_ok; then
5108 break
5109 fi
5110
5111 done
5112 ac_cv_prog_CPP=$CPP
5113
5114 fi
5115 CPP=$ac_cv_prog_CPP
5116 else
5117 ac_cv_prog_CPP=$CPP
5118 fi
5119 echo "$as_me:$LINENO: result: $CPP" >&5
5120 echo "${ECHO_T}$CPP" >&6
5121 ac_preproc_ok=false
5122 for ac_c_preproc_warn_flag in '' yes
5123 do
5124 # Use a header file that comes with gcc, so configuring glibc
5125 # with a fresh cross-compiler works.
5126 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5127 # <limits.h> exists even on freestanding compilers.
5128 # On the NeXT, cc -E runs the code through the compiler's parser,
5129 # not just through cpp. "Syntax error" is here to catch this case.
5130 cat >conftest.$ac_ext <<_ACEOF
5131 /* confdefs.h. */
5132 _ACEOF
5133 cat confdefs.h >>conftest.$ac_ext
5134 cat >>conftest.$ac_ext <<_ACEOF
5135 /* end confdefs.h. */
5136 #ifdef __STDC__
5137 # include <limits.h>
5138 #else
5139 # include <assert.h>
5140 #endif
5141 Syntax error
5142 _ACEOF
5143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5144 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5145 ac_status=$?
5146 grep -v '^ *+' conftest.er1 >conftest.err
5147 rm -f conftest.er1
5148 cat conftest.err >&5
5149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150 (exit $ac_status); } >/dev/null; then
5151 if test -s conftest.err; then
5152 ac_cpp_err=$ac_c_preproc_warn_flag
5153 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5154 else
5155 ac_cpp_err=
5156 fi
5157 else
5158 ac_cpp_err=yes
5159 fi
5160 if test -z "$ac_cpp_err"; then
5161 :
5162 else
5163 echo "$as_me: failed program was:" >&5
5164 sed 's/^/| /' conftest.$ac_ext >&5
5165
5166 # Broken: fails on valid input.
5167 continue
5168 fi
5169 rm -f conftest.err conftest.$ac_ext
5170
5171 # OK, works on sane cases. Now check whether non-existent headers
5172 # can be detected and how.
5173 cat >conftest.$ac_ext <<_ACEOF
5174 /* confdefs.h. */
5175 _ACEOF
5176 cat confdefs.h >>conftest.$ac_ext
5177 cat >>conftest.$ac_ext <<_ACEOF
5178 /* end confdefs.h. */
5179 #include <ac_nonexistent.h>
5180 _ACEOF
5181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5182 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5183 ac_status=$?
5184 grep -v '^ *+' conftest.er1 >conftest.err
5185 rm -f conftest.er1
5186 cat conftest.err >&5
5187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5188 (exit $ac_status); } >/dev/null; then
5189 if test -s conftest.err; then
5190 ac_cpp_err=$ac_c_preproc_warn_flag
5191 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5192 else
5193 ac_cpp_err=
5194 fi
5195 else
5196 ac_cpp_err=yes
5197 fi
5198 if test -z "$ac_cpp_err"; then
5199 # Broken: success on invalid input.
5200 continue
5201 else
5202 echo "$as_me: failed program was:" >&5
5203 sed 's/^/| /' conftest.$ac_ext >&5
5204
5205 # Passes both tests.
5206 ac_preproc_ok=:
5207 break
5208 fi
5209 rm -f conftest.err conftest.$ac_ext
5210
5211 done
5212 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5213 rm -f conftest.err conftest.$ac_ext
5214 if $ac_preproc_ok; then
5215 :
5216 else
5217 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5218 See \`config.log' for more details." >&5
5219 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5220 See \`config.log' for more details." >&2;}
5221 { (exit 1); exit 1; }; }
5222 fi
5223
5224 ac_ext=c
5225 ac_cpp='$CPP $CPPFLAGS'
5226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5229
5230
5231 echo "$as_me:$LINENO: checking for egrep" >&5
5232 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5233 if test "${ac_cv_prog_egrep+set}" = set; then
5234 echo $ECHO_N "(cached) $ECHO_C" >&6
5235 else
5236 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5237 then ac_cv_prog_egrep='grep -E'
5238 else ac_cv_prog_egrep='egrep'
5239 fi
5240 fi
5241 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5242 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5243 EGREP=$ac_cv_prog_egrep
5244
5245
5246 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5247 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5248 if test "${ac_cv_header_stdc+set}" = set; then
5249 echo $ECHO_N "(cached) $ECHO_C" >&6
5250 else
5251 cat >conftest.$ac_ext <<_ACEOF
5252 /* confdefs.h. */
5253 _ACEOF
5254 cat confdefs.h >>conftest.$ac_ext
5255 cat >>conftest.$ac_ext <<_ACEOF
5256 /* end confdefs.h. */
5257 #include <stdlib.h>
5258 #include <stdarg.h>
5259 #include <string.h>
5260 #include <float.h>
5261
5262 int
5263 main ()
5264 {
5265
5266 ;
5267 return 0;
5268 }
5269 _ACEOF
5270 rm -f conftest.$ac_objext
5271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5272 (eval $ac_compile) 2>conftest.er1
5273 ac_status=$?
5274 grep -v '^ *+' conftest.er1 >conftest.err
5275 rm -f conftest.er1
5276 cat conftest.err >&5
5277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5278 (exit $ac_status); } &&
5279 { ac_try='test -z "$ac_c_werror_flag"
5280 || test ! -s conftest.err'
5281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5282 (eval $ac_try) 2>&5
5283 ac_status=$?
5284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5285 (exit $ac_status); }; } &&
5286 { ac_try='test -s conftest.$ac_objext'
5287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5288 (eval $ac_try) 2>&5
5289 ac_status=$?
5290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5291 (exit $ac_status); }; }; then
5292 ac_cv_header_stdc=yes
5293 else
5294 echo "$as_me: failed program was:" >&5
5295 sed 's/^/| /' conftest.$ac_ext >&5
5296
5297 ac_cv_header_stdc=no
5298 fi
5299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5300
5301 if test $ac_cv_header_stdc = yes; then
5302 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5303 cat >conftest.$ac_ext <<_ACEOF
5304 /* confdefs.h. */
5305 _ACEOF
5306 cat confdefs.h >>conftest.$ac_ext
5307 cat >>conftest.$ac_ext <<_ACEOF
5308 /* end confdefs.h. */
5309 #include <string.h>
5310
5311 _ACEOF
5312 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5313 $EGREP "memchr" >/dev/null 2>&1; then
5314 :
5315 else
5316 ac_cv_header_stdc=no
5317 fi
5318 rm -f conftest*
5319
5320 fi
5321
5322 if test $ac_cv_header_stdc = yes; then
5323 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5324 cat >conftest.$ac_ext <<_ACEOF
5325 /* confdefs.h. */
5326 _ACEOF
5327 cat confdefs.h >>conftest.$ac_ext
5328 cat >>conftest.$ac_ext <<_ACEOF
5329 /* end confdefs.h. */
5330 #include <stdlib.h>
5331
5332 _ACEOF
5333 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5334 $EGREP "free" >/dev/null 2>&1; then
5335 :
5336 else
5337 ac_cv_header_stdc=no
5338 fi
5339 rm -f conftest*
5340
5341 fi
5342
5343 if test $ac_cv_header_stdc = yes; then
5344 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5345 if test "$cross_compiling" = yes; then
5346 :
5347 else
5348 cat >conftest.$ac_ext <<_ACEOF
5349 /* confdefs.h. */
5350 _ACEOF
5351 cat confdefs.h >>conftest.$ac_ext
5352 cat >>conftest.$ac_ext <<_ACEOF
5353 /* end confdefs.h. */
5354 #include <ctype.h>
5355 #if ((' ' & 0x0FF) == 0x020)
5356 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5357 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5358 #else
5359 # define ISLOWER(c) \
5360 (('a' <= (c) && (c) <= 'i') \
5361 || ('j' <= (c) && (c) <= 'r') \
5362 || ('s' <= (c) && (c) <= 'z'))
5363 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5364 #endif
5365
5366 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5367 int
5368 main ()
5369 {
5370 int i;
5371 for (i = 0; i < 256; i++)
5372 if (XOR (islower (i), ISLOWER (i))
5373 || toupper (i) != TOUPPER (i))
5374 exit(2);
5375 exit (0);
5376 }
5377 _ACEOF
5378 rm -f conftest$ac_exeext
5379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5380 (eval $ac_link) 2>&5
5381 ac_status=$?
5382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5383 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5385 (eval $ac_try) 2>&5
5386 ac_status=$?
5387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5388 (exit $ac_status); }; }; then
5389 :
5390 else
5391 echo "$as_me: program exited with status $ac_status" >&5
5392 echo "$as_me: failed program was:" >&5
5393 sed 's/^/| /' conftest.$ac_ext >&5
5394
5395 ( exit $ac_status )
5396 ac_cv_header_stdc=no
5397 fi
5398 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5399 fi
5400 fi
5401 fi
5402 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5403 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5404 if test $ac_cv_header_stdc = yes; then
5405
5406 cat >>confdefs.h <<\_ACEOF
5407 #define STDC_HEADERS 1
5408 _ACEOF
5409
5410 fi
5411
5412 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5423 inttypes.h stdint.h unistd.h
5424 do
5425 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5426 echo "$as_me:$LINENO: checking for $ac_header" >&5
5427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5428 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5429 echo $ECHO_N "(cached) $ECHO_C" >&6
5430 else
5431 cat >conftest.$ac_ext <<_ACEOF
5432 /* confdefs.h. */
5433 _ACEOF
5434 cat confdefs.h >>conftest.$ac_ext
5435 cat >>conftest.$ac_ext <<_ACEOF
5436 /* end confdefs.h. */
5437 $ac_includes_default
5438
5439 #include <$ac_header>
5440 _ACEOF
5441 rm -f conftest.$ac_objext
5442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5443 (eval $ac_compile) 2>conftest.er1
5444 ac_status=$?
5445 grep -v '^ *+' conftest.er1 >conftest.err
5446 rm -f conftest.er1
5447 cat conftest.err >&5
5448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5449 (exit $ac_status); } &&
5450 { ac_try='test -z "$ac_c_werror_flag"
5451 || test ! -s conftest.err'
5452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5453 (eval $ac_try) 2>&5
5454 ac_status=$?
5455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5456 (exit $ac_status); }; } &&
5457 { ac_try='test -s conftest.$ac_objext'
5458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5459 (eval $ac_try) 2>&5
5460 ac_status=$?
5461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5462 (exit $ac_status); }; }; then
5463 eval "$as_ac_Header=yes"
5464 else
5465 echo "$as_me: failed program was:" >&5
5466 sed 's/^/| /' conftest.$ac_ext >&5
5467
5468 eval "$as_ac_Header=no"
5469 fi
5470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5471 fi
5472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5473 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5474 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5475 cat >>confdefs.h <<_ACEOF
5476 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5477 _ACEOF
5478
5479 fi
5480
5481 done
5482
5483
5484
5485
5486 for ac_header in stdlib.h unistd.h
5487 do
5488 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5490 echo "$as_me:$LINENO: checking for $ac_header" >&5
5491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5493 echo $ECHO_N "(cached) $ECHO_C" >&6
5494 fi
5495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5497 else
5498 # Is the header compilable?
5499 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5500 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5501 cat >conftest.$ac_ext <<_ACEOF
5502 /* confdefs.h. */
5503 _ACEOF
5504 cat confdefs.h >>conftest.$ac_ext
5505 cat >>conftest.$ac_ext <<_ACEOF
5506 /* end confdefs.h. */
5507 $ac_includes_default
5508 #include <$ac_header>
5509 _ACEOF
5510 rm -f conftest.$ac_objext
5511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5512 (eval $ac_compile) 2>conftest.er1
5513 ac_status=$?
5514 grep -v '^ *+' conftest.er1 >conftest.err
5515 rm -f conftest.er1
5516 cat conftest.err >&5
5517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5518 (exit $ac_status); } &&
5519 { ac_try='test -z "$ac_c_werror_flag"
5520 || test ! -s conftest.err'
5521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5522 (eval $ac_try) 2>&5
5523 ac_status=$?
5524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5525 (exit $ac_status); }; } &&
5526 { ac_try='test -s conftest.$ac_objext'
5527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5528 (eval $ac_try) 2>&5
5529 ac_status=$?
5530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531 (exit $ac_status); }; }; then
5532 ac_header_compiler=yes
5533 else
5534 echo "$as_me: failed program was:" >&5
5535 sed 's/^/| /' conftest.$ac_ext >&5
5536
5537 ac_header_compiler=no
5538 fi
5539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5540 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5541 echo "${ECHO_T}$ac_header_compiler" >&6
5542
5543 # Is the header present?
5544 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5545 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5546 cat >conftest.$ac_ext <<_ACEOF
5547 /* confdefs.h. */
5548 _ACEOF
5549 cat confdefs.h >>conftest.$ac_ext
5550 cat >>conftest.$ac_ext <<_ACEOF
5551 /* end confdefs.h. */
5552 #include <$ac_header>
5553 _ACEOF
5554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5555 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5556 ac_status=$?
5557 grep -v '^ *+' conftest.er1 >conftest.err
5558 rm -f conftest.er1
5559 cat conftest.err >&5
5560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5561 (exit $ac_status); } >/dev/null; then
5562 if test -s conftest.err; then
5563 ac_cpp_err=$ac_c_preproc_warn_flag
5564 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5565 else
5566 ac_cpp_err=
5567 fi
5568 else
5569 ac_cpp_err=yes
5570 fi
5571 if test -z "$ac_cpp_err"; then
5572 ac_header_preproc=yes
5573 else
5574 echo "$as_me: failed program was:" >&5
5575 sed 's/^/| /' conftest.$ac_ext >&5
5576
5577 ac_header_preproc=no
5578 fi
5579 rm -f conftest.err conftest.$ac_ext
5580 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5581 echo "${ECHO_T}$ac_header_preproc" >&6
5582
5583 # So? What about this header?
5584 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5585 yes:no: )
5586 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5587 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5589 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5590 ac_header_preproc=yes
5591 ;;
5592 no:yes:* )
5593 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5594 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5595 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5596 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5597 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5598 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5599 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5600 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5602 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5603 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5604 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5605 (
5606 cat <<\_ASBOX
5607 ## ------------------------------------------------------ ##
5608 ## Report this to the GNU Fortran Runtime Library lists. ##
5609 ## ------------------------------------------------------ ##
5610 _ASBOX
5611 ) |
5612 sed "s/^/$as_me: WARNING: /" >&2
5613 ;;
5614 esac
5615 echo "$as_me:$LINENO: checking for $ac_header" >&5
5616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5618 echo $ECHO_N "(cached) $ECHO_C" >&6
5619 else
5620 eval "$as_ac_Header=\$ac_header_preproc"
5621 fi
5622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5623 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5624
5625 fi
5626 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5627 cat >>confdefs.h <<_ACEOF
5628 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5629 _ACEOF
5630
5631 fi
5632
5633 done
5634
5635
5636 for ac_func in getpagesize
5637 do
5638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5639 echo "$as_me:$LINENO: checking for $ac_func" >&5
5640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5641 if eval "test \"\${$as_ac_var+set}\" = set"; then
5642 echo $ECHO_N "(cached) $ECHO_C" >&6
5643 else
5644 cat >conftest.$ac_ext <<_ACEOF
5645 /* confdefs.h. */
5646 _ACEOF
5647 cat confdefs.h >>conftest.$ac_ext
5648 cat >>conftest.$ac_ext <<_ACEOF
5649 /* end confdefs.h. */
5650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5652 #define $ac_func innocuous_$ac_func
5653
5654 /* System header to define __stub macros and hopefully few prototypes,
5655 which can conflict with char $ac_func (); below.
5656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5657 <limits.h> exists even on freestanding compilers. */
5658
5659 #ifdef __STDC__
5660 # include <limits.h>
5661 #else
5662 # include <assert.h>
5663 #endif
5664
5665 #undef $ac_func
5666
5667 /* Override any gcc2 internal prototype to avoid an error. */
5668 #ifdef __cplusplus
5669 extern "C"
5670 {
5671 #endif
5672 /* We use char because int might match the return type of a gcc2
5673 builtin and then its argument prototype would still apply. */
5674 char $ac_func ();
5675 /* The GNU C library defines this for functions which it implements
5676 to always fail with ENOSYS. Some functions are actually named
5677 something starting with __ and the normal name is an alias. */
5678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5679 choke me
5680 #else
5681 char (*f) () = $ac_func;
5682 #endif
5683 #ifdef __cplusplus
5684 }
5685 #endif
5686
5687 int
5688 main ()
5689 {
5690 return f != $ac_func;
5691 ;
5692 return 0;
5693 }
5694 _ACEOF
5695 rm -f conftest.$ac_objext conftest$ac_exeext
5696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5697 (eval $ac_link) 2>conftest.er1
5698 ac_status=$?
5699 grep -v '^ *+' conftest.er1 >conftest.err
5700 rm -f conftest.er1
5701 cat conftest.err >&5
5702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5703 (exit $ac_status); } &&
5704 { ac_try='test -z "$ac_c_werror_flag"
5705 || test ! -s conftest.err'
5706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5707 (eval $ac_try) 2>&5
5708 ac_status=$?
5709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5710 (exit $ac_status); }; } &&
5711 { ac_try='test -s conftest$ac_exeext'
5712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5713 (eval $ac_try) 2>&5
5714 ac_status=$?
5715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5716 (exit $ac_status); }; }; then
5717 eval "$as_ac_var=yes"
5718 else
5719 echo "$as_me: failed program was:" >&5
5720 sed 's/^/| /' conftest.$ac_ext >&5
5721
5722 eval "$as_ac_var=no"
5723 fi
5724 rm -f conftest.err conftest.$ac_objext \
5725 conftest$ac_exeext conftest.$ac_ext
5726 fi
5727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5729 if test `eval echo '${'$as_ac_var'}'` = yes; then
5730 cat >>confdefs.h <<_ACEOF
5731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5732 _ACEOF
5733
5734 fi
5735 done
5736
5737 echo "$as_me:$LINENO: checking for working mmap" >&5
5738 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5739 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5740 echo $ECHO_N "(cached) $ECHO_C" >&6
5741 else
5742 if test "$cross_compiling" = yes; then
5743 ac_cv_func_mmap_fixed_mapped=no
5744 else
5745 cat >conftest.$ac_ext <<_ACEOF
5746 /* confdefs.h. */
5747 _ACEOF
5748 cat confdefs.h >>conftest.$ac_ext
5749 cat >>conftest.$ac_ext <<_ACEOF
5750 /* end confdefs.h. */
5751 $ac_includes_default
5752 /* malloc might have been renamed as rpl_malloc. */
5753 #undef malloc
5754
5755 /* Thanks to Mike Haertel and Jim Avera for this test.
5756 Here is a matrix of mmap possibilities:
5757 mmap private not fixed
5758 mmap private fixed at somewhere currently unmapped
5759 mmap private fixed at somewhere already mapped
5760 mmap shared not fixed
5761 mmap shared fixed at somewhere currently unmapped
5762 mmap shared fixed at somewhere already mapped
5763 For private mappings, we should verify that changes cannot be read()
5764 back from the file, nor mmap's back from the file at a different
5765 address. (There have been systems where private was not correctly
5766 implemented like the infamous i386 svr4.0, and systems where the
5767 VM page cache was not coherent with the file system buffer cache
5768 like early versions of FreeBSD and possibly contemporary NetBSD.)
5769 For shared mappings, we should conversely verify that changes get
5770 propagated back to all the places they're supposed to be.
5771
5772 Grep wants private fixed already mapped.
5773 The main things grep needs to know about mmap are:
5774 * does it exist and is it safe to write into the mmap'd area
5775 * how to use it (BSD variants) */
5776
5777 #include <fcntl.h>
5778 #include <sys/mman.h>
5779
5780 #if !STDC_HEADERS && !HAVE_STDLIB_H
5781 char *malloc ();
5782 #endif
5783
5784 /* This mess was copied from the GNU getpagesize.h. */
5785 #if !HAVE_GETPAGESIZE
5786 /* Assume that all systems that can run configure have sys/param.h. */
5787 # if !HAVE_SYS_PARAM_H
5788 # define HAVE_SYS_PARAM_H 1
5789 # endif
5790
5791 # ifdef _SC_PAGESIZE
5792 # define getpagesize() sysconf(_SC_PAGESIZE)
5793 # else /* no _SC_PAGESIZE */
5794 # if HAVE_SYS_PARAM_H
5795 # include <sys/param.h>
5796 # ifdef EXEC_PAGESIZE
5797 # define getpagesize() EXEC_PAGESIZE
5798 # else /* no EXEC_PAGESIZE */
5799 # ifdef NBPG
5800 # define getpagesize() NBPG * CLSIZE
5801 # ifndef CLSIZE
5802 # define CLSIZE 1
5803 # endif /* no CLSIZE */
5804 # else /* no NBPG */
5805 # ifdef NBPC
5806 # define getpagesize() NBPC
5807 # else /* no NBPC */
5808 # ifdef PAGESIZE
5809 # define getpagesize() PAGESIZE
5810 # endif /* PAGESIZE */
5811 # endif /* no NBPC */
5812 # endif /* no NBPG */
5813 # endif /* no EXEC_PAGESIZE */
5814 # else /* no HAVE_SYS_PARAM_H */
5815 # define getpagesize() 8192 /* punt totally */
5816 # endif /* no HAVE_SYS_PARAM_H */
5817 # endif /* no _SC_PAGESIZE */
5818
5819 #endif /* no HAVE_GETPAGESIZE */
5820
5821 int
5822 main ()
5823 {
5824 char *data, *data2, *data3;
5825 int i, pagesize;
5826 int fd;
5827
5828 pagesize = getpagesize ();
5829
5830 /* First, make a file with some known garbage in it. */
5831 data = (char *) malloc (pagesize);
5832 if (!data)
5833 exit (1);
5834 for (i = 0; i < pagesize; ++i)
5835 *(data + i) = rand ();
5836 umask (0);
5837 fd = creat ("conftest.mmap", 0600);
5838 if (fd < 0)
5839 exit (1);
5840 if (write (fd, data, pagesize) != pagesize)
5841 exit (1);
5842 close (fd);
5843
5844 /* Next, try to mmap the file at a fixed address which already has
5845 something else allocated at it. If we can, also make sure that
5846 we see the same garbage. */
5847 fd = open ("conftest.mmap", O_RDWR);
5848 if (fd < 0)
5849 exit (1);
5850 data2 = (char *) malloc (2 * pagesize);
5851 if (!data2)
5852 exit (1);
5853 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5854 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5855 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5856 exit (1);
5857 for (i = 0; i < pagesize; ++i)
5858 if (*(data + i) != *(data2 + i))
5859 exit (1);
5860
5861 /* Finally, make sure that changes to the mapped area do not
5862 percolate back to the file as seen by read(). (This is a bug on
5863 some variants of i386 svr4.0.) */
5864 for (i = 0; i < pagesize; ++i)
5865 *(data2 + i) = *(data2 + i) + 1;
5866 data3 = (char *) malloc (pagesize);
5867 if (!data3)
5868 exit (1);
5869 if (read (fd, data3, pagesize) != pagesize)
5870 exit (1);
5871 for (i = 0; i < pagesize; ++i)
5872 if (*(data + i) != *(data3 + i))
5873 exit (1);
5874 close (fd);
5875 exit (0);
5876 }
5877 _ACEOF
5878 rm -f conftest$ac_exeext
5879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5880 (eval $ac_link) 2>&5
5881 ac_status=$?
5882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5883 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5885 (eval $ac_try) 2>&5
5886 ac_status=$?
5887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5888 (exit $ac_status); }; }; then
5889 ac_cv_func_mmap_fixed_mapped=yes
5890 else
5891 echo "$as_me: program exited with status $ac_status" >&5
5892 echo "$as_me: failed program was:" >&5
5893 sed 's/^/| /' conftest.$ac_ext >&5
5894
5895 ( exit $ac_status )
5896 ac_cv_func_mmap_fixed_mapped=no
5897 fi
5898 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5899 fi
5900 fi
5901 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5902 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5903 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5904
5905 cat >>confdefs.h <<\_ACEOF
5906 #define HAVE_MMAP 1
5907 _ACEOF
5908
5909 fi
5910 rm -f conftest.mmap
5911
5912 echo "$as_me:$LINENO: checking for off_t" >&5
5913 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5914 if test "${ac_cv_type_off_t+set}" = set; then
5915 echo $ECHO_N "(cached) $ECHO_C" >&6
5916 else
5917 cat >conftest.$ac_ext <<_ACEOF
5918 /* confdefs.h. */
5919 _ACEOF
5920 cat confdefs.h >>conftest.$ac_ext
5921 cat >>conftest.$ac_ext <<_ACEOF
5922 /* end confdefs.h. */
5923 $ac_includes_default
5924 int
5925 main ()
5926 {
5927 if ((off_t *) 0)
5928 return 0;
5929 if (sizeof (off_t))
5930 return 0;
5931 ;
5932 return 0;
5933 }
5934 _ACEOF
5935 rm -f conftest.$ac_objext
5936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5937 (eval $ac_compile) 2>conftest.er1
5938 ac_status=$?
5939 grep -v '^ *+' conftest.er1 >conftest.err
5940 rm -f conftest.er1
5941 cat conftest.err >&5
5942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5943 (exit $ac_status); } &&
5944 { ac_try='test -z "$ac_c_werror_flag"
5945 || test ! -s conftest.err'
5946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5947 (eval $ac_try) 2>&5
5948 ac_status=$?
5949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5950 (exit $ac_status); }; } &&
5951 { ac_try='test -s conftest.$ac_objext'
5952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5953 (eval $ac_try) 2>&5
5954 ac_status=$?
5955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5956 (exit $ac_status); }; }; then
5957 ac_cv_type_off_t=yes
5958 else
5959 echo "$as_me: failed program was:" >&5
5960 sed 's/^/| /' conftest.$ac_ext >&5
5961
5962 ac_cv_type_off_t=no
5963 fi
5964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5965 fi
5966 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5967 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5968 if test $ac_cv_type_off_t = yes; then
5969 :
5970 else
5971
5972 cat >>confdefs.h <<_ACEOF
5973 #define off_t long
5974 _ACEOF
5975
5976 fi
5977
5978
5979 # check header files
5980 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5981 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5982 if test "${ac_cv_header_stdc+set}" = set; then
5983 echo $ECHO_N "(cached) $ECHO_C" >&6
5984 else
5985 cat >conftest.$ac_ext <<_ACEOF
5986 /* confdefs.h. */
5987 _ACEOF
5988 cat confdefs.h >>conftest.$ac_ext
5989 cat >>conftest.$ac_ext <<_ACEOF
5990 /* end confdefs.h. */
5991 #include <stdlib.h>
5992 #include <stdarg.h>
5993 #include <string.h>
5994 #include <float.h>
5995
5996 int
5997 main ()
5998 {
5999
6000 ;
6001 return 0;
6002 }
6003 _ACEOF
6004 rm -f conftest.$ac_objext
6005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6006 (eval $ac_compile) 2>conftest.er1
6007 ac_status=$?
6008 grep -v '^ *+' conftest.er1 >conftest.err
6009 rm -f conftest.er1
6010 cat conftest.err >&5
6011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6012 (exit $ac_status); } &&
6013 { ac_try='test -z "$ac_c_werror_flag"
6014 || test ! -s conftest.err'
6015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6016 (eval $ac_try) 2>&5
6017 ac_status=$?
6018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6019 (exit $ac_status); }; } &&
6020 { ac_try='test -s conftest.$ac_objext'
6021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6022 (eval $ac_try) 2>&5
6023 ac_status=$?
6024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025 (exit $ac_status); }; }; then
6026 ac_cv_header_stdc=yes
6027 else
6028 echo "$as_me: failed program was:" >&5
6029 sed 's/^/| /' conftest.$ac_ext >&5
6030
6031 ac_cv_header_stdc=no
6032 fi
6033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6034
6035 if test $ac_cv_header_stdc = yes; then
6036 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6037 cat >conftest.$ac_ext <<_ACEOF
6038 /* confdefs.h. */
6039 _ACEOF
6040 cat confdefs.h >>conftest.$ac_ext
6041 cat >>conftest.$ac_ext <<_ACEOF
6042 /* end confdefs.h. */
6043 #include <string.h>
6044
6045 _ACEOF
6046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6047 $EGREP "memchr" >/dev/null 2>&1; then
6048 :
6049 else
6050 ac_cv_header_stdc=no
6051 fi
6052 rm -f conftest*
6053
6054 fi
6055
6056 if test $ac_cv_header_stdc = yes; then
6057 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6058 cat >conftest.$ac_ext <<_ACEOF
6059 /* confdefs.h. */
6060 _ACEOF
6061 cat confdefs.h >>conftest.$ac_ext
6062 cat >>conftest.$ac_ext <<_ACEOF
6063 /* end confdefs.h. */
6064 #include <stdlib.h>
6065
6066 _ACEOF
6067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6068 $EGREP "free" >/dev/null 2>&1; then
6069 :
6070 else
6071 ac_cv_header_stdc=no
6072 fi
6073 rm -f conftest*
6074
6075 fi
6076
6077 if test $ac_cv_header_stdc = yes; then
6078 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6079 if test "$cross_compiling" = yes; then
6080 :
6081 else
6082 cat >conftest.$ac_ext <<_ACEOF
6083 /* confdefs.h. */
6084 _ACEOF
6085 cat confdefs.h >>conftest.$ac_ext
6086 cat >>conftest.$ac_ext <<_ACEOF
6087 /* end confdefs.h. */
6088 #include <ctype.h>
6089 #if ((' ' & 0x0FF) == 0x020)
6090 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6091 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6092 #else
6093 # define ISLOWER(c) \
6094 (('a' <= (c) && (c) <= 'i') \
6095 || ('j' <= (c) && (c) <= 'r') \
6096 || ('s' <= (c) && (c) <= 'z'))
6097 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6098 #endif
6099
6100 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6101 int
6102 main ()
6103 {
6104 int i;
6105 for (i = 0; i < 256; i++)
6106 if (XOR (islower (i), ISLOWER (i))
6107 || toupper (i) != TOUPPER (i))
6108 exit(2);
6109 exit (0);
6110 }
6111 _ACEOF
6112 rm -f conftest$ac_exeext
6113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6114 (eval $ac_link) 2>&5
6115 ac_status=$?
6116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6119 (eval $ac_try) 2>&5
6120 ac_status=$?
6121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 (exit $ac_status); }; }; then
6123 :
6124 else
6125 echo "$as_me: program exited with status $ac_status" >&5
6126 echo "$as_me: failed program was:" >&5
6127 sed 's/^/| /' conftest.$ac_ext >&5
6128
6129 ( exit $ac_status )
6130 ac_cv_header_stdc=no
6131 fi
6132 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6133 fi
6134 fi
6135 fi
6136 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6137 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6138 if test $ac_cv_header_stdc = yes; then
6139
6140 cat >>confdefs.h <<\_ACEOF
6141 #define STDC_HEADERS 1
6142 _ACEOF
6143
6144 fi
6145
6146
6147
6148
6149
6150
6151
6152
6153 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
6154 do
6155 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6157 echo "$as_me:$LINENO: checking for $ac_header" >&5
6158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6160 echo $ECHO_N "(cached) $ECHO_C" >&6
6161 fi
6162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6163 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6164 else
6165 # Is the header compilable?
6166 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6167 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6168 cat >conftest.$ac_ext <<_ACEOF
6169 /* confdefs.h. */
6170 _ACEOF
6171 cat confdefs.h >>conftest.$ac_ext
6172 cat >>conftest.$ac_ext <<_ACEOF
6173 /* end confdefs.h. */
6174 $ac_includes_default
6175 #include <$ac_header>
6176 _ACEOF
6177 rm -f conftest.$ac_objext
6178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6179 (eval $ac_compile) 2>conftest.er1
6180 ac_status=$?
6181 grep -v '^ *+' conftest.er1 >conftest.err
6182 rm -f conftest.er1
6183 cat conftest.err >&5
6184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6185 (exit $ac_status); } &&
6186 { ac_try='test -z "$ac_c_werror_flag"
6187 || test ! -s conftest.err'
6188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6189 (eval $ac_try) 2>&5
6190 ac_status=$?
6191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 (exit $ac_status); }; } &&
6193 { ac_try='test -s conftest.$ac_objext'
6194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6195 (eval $ac_try) 2>&5
6196 ac_status=$?
6197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6198 (exit $ac_status); }; }; then
6199 ac_header_compiler=yes
6200 else
6201 echo "$as_me: failed program was:" >&5
6202 sed 's/^/| /' conftest.$ac_ext >&5
6203
6204 ac_header_compiler=no
6205 fi
6206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6207 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6208 echo "${ECHO_T}$ac_header_compiler" >&6
6209
6210 # Is the header present?
6211 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6212 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6213 cat >conftest.$ac_ext <<_ACEOF
6214 /* confdefs.h. */
6215 _ACEOF
6216 cat confdefs.h >>conftest.$ac_ext
6217 cat >>conftest.$ac_ext <<_ACEOF
6218 /* end confdefs.h. */
6219 #include <$ac_header>
6220 _ACEOF
6221 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6222 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6223 ac_status=$?
6224 grep -v '^ *+' conftest.er1 >conftest.err
6225 rm -f conftest.er1
6226 cat conftest.err >&5
6227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6228 (exit $ac_status); } >/dev/null; then
6229 if test -s conftest.err; then
6230 ac_cpp_err=$ac_c_preproc_warn_flag
6231 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6232 else
6233 ac_cpp_err=
6234 fi
6235 else
6236 ac_cpp_err=yes
6237 fi
6238 if test -z "$ac_cpp_err"; then
6239 ac_header_preproc=yes
6240 else
6241 echo "$as_me: failed program was:" >&5
6242 sed 's/^/| /' conftest.$ac_ext >&5
6243
6244 ac_header_preproc=no
6245 fi
6246 rm -f conftest.err conftest.$ac_ext
6247 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6248 echo "${ECHO_T}$ac_header_preproc" >&6
6249
6250 # So? What about this header?
6251 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6252 yes:no: )
6253 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6254 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6255 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6256 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6257 ac_header_preproc=yes
6258 ;;
6259 no:yes:* )
6260 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6261 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6262 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6263 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6264 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6265 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6266 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6267 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6268 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6269 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6270 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6271 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6272 (
6273 cat <<\_ASBOX
6274 ## ------------------------------------------------------ ##
6275 ## Report this to the GNU Fortran Runtime Library lists. ##
6276 ## ------------------------------------------------------ ##
6277 _ASBOX
6278 ) |
6279 sed "s/^/$as_me: WARNING: /" >&2
6280 ;;
6281 esac
6282 echo "$as_me:$LINENO: checking for $ac_header" >&5
6283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6285 echo $ECHO_N "(cached) $ECHO_C" >&6
6286 else
6287 eval "$as_ac_Header=\$ac_header_preproc"
6288 fi
6289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6290 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6291
6292 fi
6293 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6294 cat >>confdefs.h <<_ACEOF
6295 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6296 _ACEOF
6297
6298 fi
6299
6300 done
6301
6302
6303
6304
6305
6306
6307 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
6308 do
6309 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6311 echo "$as_me:$LINENO: checking for $ac_header" >&5
6312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6314 echo $ECHO_N "(cached) $ECHO_C" >&6
6315 fi
6316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6318 else
6319 # Is the header compilable?
6320 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6321 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6322 cat >conftest.$ac_ext <<_ACEOF
6323 /* confdefs.h. */
6324 _ACEOF
6325 cat confdefs.h >>conftest.$ac_ext
6326 cat >>conftest.$ac_ext <<_ACEOF
6327 /* end confdefs.h. */
6328 $ac_includes_default
6329 #include <$ac_header>
6330 _ACEOF
6331 rm -f conftest.$ac_objext
6332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6333 (eval $ac_compile) 2>conftest.er1
6334 ac_status=$?
6335 grep -v '^ *+' conftest.er1 >conftest.err
6336 rm -f conftest.er1
6337 cat conftest.err >&5
6338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6339 (exit $ac_status); } &&
6340 { ac_try='test -z "$ac_c_werror_flag"
6341 || test ! -s conftest.err'
6342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6343 (eval $ac_try) 2>&5
6344 ac_status=$?
6345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6346 (exit $ac_status); }; } &&
6347 { ac_try='test -s conftest.$ac_objext'
6348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6349 (eval $ac_try) 2>&5
6350 ac_status=$?
6351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6352 (exit $ac_status); }; }; then
6353 ac_header_compiler=yes
6354 else
6355 echo "$as_me: failed program was:" >&5
6356 sed 's/^/| /' conftest.$ac_ext >&5
6357
6358 ac_header_compiler=no
6359 fi
6360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6361 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6362 echo "${ECHO_T}$ac_header_compiler" >&6
6363
6364 # Is the header present?
6365 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6366 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6367 cat >conftest.$ac_ext <<_ACEOF
6368 /* confdefs.h. */
6369 _ACEOF
6370 cat confdefs.h >>conftest.$ac_ext
6371 cat >>conftest.$ac_ext <<_ACEOF
6372 /* end confdefs.h. */
6373 #include <$ac_header>
6374 _ACEOF
6375 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6376 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6377 ac_status=$?
6378 grep -v '^ *+' conftest.er1 >conftest.err
6379 rm -f conftest.er1
6380 cat conftest.err >&5
6381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382 (exit $ac_status); } >/dev/null; then
6383 if test -s conftest.err; then
6384 ac_cpp_err=$ac_c_preproc_warn_flag
6385 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6386 else
6387 ac_cpp_err=
6388 fi
6389 else
6390 ac_cpp_err=yes
6391 fi
6392 if test -z "$ac_cpp_err"; then
6393 ac_header_preproc=yes
6394 else
6395 echo "$as_me: failed program was:" >&5
6396 sed 's/^/| /' conftest.$ac_ext >&5
6397
6398 ac_header_preproc=no
6399 fi
6400 rm -f conftest.err conftest.$ac_ext
6401 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6402 echo "${ECHO_T}$ac_header_preproc" >&6
6403
6404 # So? What about this header?
6405 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6406 yes:no: )
6407 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6408 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6409 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6410 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6411 ac_header_preproc=yes
6412 ;;
6413 no:yes:* )
6414 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6415 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6416 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6417 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6418 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6419 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6420 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6421 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6423 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6424 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6425 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6426 (
6427 cat <<\_ASBOX
6428 ## ------------------------------------------------------ ##
6429 ## Report this to the GNU Fortran Runtime Library lists. ##
6430 ## ------------------------------------------------------ ##
6431 _ASBOX
6432 ) |
6433 sed "s/^/$as_me: WARNING: /" >&2
6434 ;;
6435 esac
6436 echo "$as_me:$LINENO: checking for $ac_header" >&5
6437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6439 echo $ECHO_N "(cached) $ECHO_C" >&6
6440 else
6441 eval "$as_ac_Header=\$ac_header_preproc"
6442 fi
6443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6444 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6445
6446 fi
6447 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6448 cat >>confdefs.h <<_ACEOF
6449 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6450 _ACEOF
6451
6452 fi
6453
6454 done
6455
6456
6457
6458
6459
6460 for ac_header in sys/mman.h sys/types.h sys/stat.h ieeefp.h
6461 do
6462 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6464 echo "$as_me:$LINENO: checking for $ac_header" >&5
6465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6467 echo $ECHO_N "(cached) $ECHO_C" >&6
6468 fi
6469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6470 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6471 else
6472 # Is the header compilable?
6473 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6474 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6475 cat >conftest.$ac_ext <<_ACEOF
6476 /* confdefs.h. */
6477 _ACEOF
6478 cat confdefs.h >>conftest.$ac_ext
6479 cat >>conftest.$ac_ext <<_ACEOF
6480 /* end confdefs.h. */
6481 $ac_includes_default
6482 #include <$ac_header>
6483 _ACEOF
6484 rm -f conftest.$ac_objext
6485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6486 (eval $ac_compile) 2>conftest.er1
6487 ac_status=$?
6488 grep -v '^ *+' conftest.er1 >conftest.err
6489 rm -f conftest.er1
6490 cat conftest.err >&5
6491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6492 (exit $ac_status); } &&
6493 { ac_try='test -z "$ac_c_werror_flag"
6494 || test ! -s conftest.err'
6495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6496 (eval $ac_try) 2>&5
6497 ac_status=$?
6498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6499 (exit $ac_status); }; } &&
6500 { ac_try='test -s conftest.$ac_objext'
6501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6502 (eval $ac_try) 2>&5
6503 ac_status=$?
6504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6505 (exit $ac_status); }; }; then
6506 ac_header_compiler=yes
6507 else
6508 echo "$as_me: failed program was:" >&5
6509 sed 's/^/| /' conftest.$ac_ext >&5
6510
6511 ac_header_compiler=no
6512 fi
6513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6514 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6515 echo "${ECHO_T}$ac_header_compiler" >&6
6516
6517 # Is the header present?
6518 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6519 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6520 cat >conftest.$ac_ext <<_ACEOF
6521 /* confdefs.h. */
6522 _ACEOF
6523 cat confdefs.h >>conftest.$ac_ext
6524 cat >>conftest.$ac_ext <<_ACEOF
6525 /* end confdefs.h. */
6526 #include <$ac_header>
6527 _ACEOF
6528 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6529 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6530 ac_status=$?
6531 grep -v '^ *+' conftest.er1 >conftest.err
6532 rm -f conftest.er1
6533 cat conftest.err >&5
6534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6535 (exit $ac_status); } >/dev/null; then
6536 if test -s conftest.err; then
6537 ac_cpp_err=$ac_c_preproc_warn_flag
6538 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6539 else
6540 ac_cpp_err=
6541 fi
6542 else
6543 ac_cpp_err=yes
6544 fi
6545 if test -z "$ac_cpp_err"; then
6546 ac_header_preproc=yes
6547 else
6548 echo "$as_me: failed program was:" >&5
6549 sed 's/^/| /' conftest.$ac_ext >&5
6550
6551 ac_header_preproc=no
6552 fi
6553 rm -f conftest.err conftest.$ac_ext
6554 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6555 echo "${ECHO_T}$ac_header_preproc" >&6
6556
6557 # So? What about this header?
6558 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6559 yes:no: )
6560 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6561 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6562 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6563 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6564 ac_header_preproc=yes
6565 ;;
6566 no:yes:* )
6567 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6568 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6569 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6570 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6571 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6572 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6573 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6574 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6575 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6576 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6577 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6578 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6579 (
6580 cat <<\_ASBOX
6581 ## ------------------------------------------------------ ##
6582 ## Report this to the GNU Fortran Runtime Library lists. ##
6583 ## ------------------------------------------------------ ##
6584 _ASBOX
6585 ) |
6586 sed "s/^/$as_me: WARNING: /" >&2
6587 ;;
6588 esac
6589 echo "$as_me:$LINENO: checking for $ac_header" >&5
6590 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6591 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6592 echo $ECHO_N "(cached) $ECHO_C" >&6
6593 else
6594 eval "$as_ac_Header=\$ac_header_preproc"
6595 fi
6596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6597 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6598
6599 fi
6600 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6601 cat >>confdefs.h <<_ACEOF
6602 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6603 _ACEOF
6604
6605 fi
6606
6607 done
6608
6609 if test "${ac_cv_header_complex_h+set}" = set; then
6610 echo "$as_me:$LINENO: checking for complex.h" >&5
6611 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6612 if test "${ac_cv_header_complex_h+set}" = set; then
6613 echo $ECHO_N "(cached) $ECHO_C" >&6
6614 fi
6615 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6616 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6617 else
6618 # Is the header compilable?
6619 echo "$as_me:$LINENO: checking complex.h usability" >&5
6620 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6621 cat >conftest.$ac_ext <<_ACEOF
6622 /* confdefs.h. */
6623 _ACEOF
6624 cat confdefs.h >>conftest.$ac_ext
6625 cat >>conftest.$ac_ext <<_ACEOF
6626 /* end confdefs.h. */
6627 $ac_includes_default
6628 #include <complex.h>
6629 _ACEOF
6630 rm -f conftest.$ac_objext
6631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6632 (eval $ac_compile) 2>conftest.er1
6633 ac_status=$?
6634 grep -v '^ *+' conftest.er1 >conftest.err
6635 rm -f conftest.er1
6636 cat conftest.err >&5
6637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6638 (exit $ac_status); } &&
6639 { ac_try='test -z "$ac_c_werror_flag"
6640 || test ! -s conftest.err'
6641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6642 (eval $ac_try) 2>&5
6643 ac_status=$?
6644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6645 (exit $ac_status); }; } &&
6646 { ac_try='test -s conftest.$ac_objext'
6647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6648 (eval $ac_try) 2>&5
6649 ac_status=$?
6650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6651 (exit $ac_status); }; }; then
6652 ac_header_compiler=yes
6653 else
6654 echo "$as_me: failed program was:" >&5
6655 sed 's/^/| /' conftest.$ac_ext >&5
6656
6657 ac_header_compiler=no
6658 fi
6659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6660 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6661 echo "${ECHO_T}$ac_header_compiler" >&6
6662
6663 # Is the header present?
6664 echo "$as_me:$LINENO: checking complex.h presence" >&5
6665 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6666 cat >conftest.$ac_ext <<_ACEOF
6667 /* confdefs.h. */
6668 _ACEOF
6669 cat confdefs.h >>conftest.$ac_ext
6670 cat >>conftest.$ac_ext <<_ACEOF
6671 /* end confdefs.h. */
6672 #include <complex.h>
6673 _ACEOF
6674 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6675 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6676 ac_status=$?
6677 grep -v '^ *+' conftest.er1 >conftest.err
6678 rm -f conftest.er1
6679 cat conftest.err >&5
6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); } >/dev/null; then
6682 if test -s conftest.err; then
6683 ac_cpp_err=$ac_c_preproc_warn_flag
6684 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6685 else
6686 ac_cpp_err=
6687 fi
6688 else
6689 ac_cpp_err=yes
6690 fi
6691 if test -z "$ac_cpp_err"; then
6692 ac_header_preproc=yes
6693 else
6694 echo "$as_me: failed program was:" >&5
6695 sed 's/^/| /' conftest.$ac_ext >&5
6696
6697 ac_header_preproc=no
6698 fi
6699 rm -f conftest.err conftest.$ac_ext
6700 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6701 echo "${ECHO_T}$ac_header_preproc" >&6
6702
6703 # So? What about this header?
6704 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6705 yes:no: )
6706 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6707 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6708 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6709 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6710 ac_header_preproc=yes
6711 ;;
6712 no:yes:* )
6713 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6714 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6715 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6716 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6717 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6718 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6719 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6720 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6721 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6722 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6723 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6724 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6725 (
6726 cat <<\_ASBOX
6727 ## ------------------------------------------------------ ##
6728 ## Report this to the GNU Fortran Runtime Library lists. ##
6729 ## ------------------------------------------------------ ##
6730 _ASBOX
6731 ) |
6732 sed "s/^/$as_me: WARNING: /" >&2
6733 ;;
6734 esac
6735 echo "$as_me:$LINENO: checking for complex.h" >&5
6736 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6737 if test "${ac_cv_header_complex_h+set}" = set; then
6738 echo $ECHO_N "(cached) $ECHO_C" >&6
6739 else
6740 ac_cv_header_complex_h=$ac_header_preproc
6741 fi
6742 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6743 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6744
6745 fi
6746 if test $ac_cv_header_complex_h = yes; then
6747
6748 cat >>confdefs.h <<\_ACEOF
6749 #define HAVE_COMPLEX_H 1
6750 _ACEOF
6751
6752 fi
6753
6754
6755
6756 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6757 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
6758 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6759 echo $ECHO_N "(cached) $ECHO_C" >&6
6760 else
6761 cat >conftest.$ac_ext <<_ACEOF
6762 /* confdefs.h. */
6763 _ACEOF
6764 cat confdefs.h >>conftest.$ac_ext
6765 cat >>conftest.$ac_ext <<_ACEOF
6766 /* end confdefs.h. */
6767 $ac_includes_default
6768 int
6769 main ()
6770 {
6771 static struct stat ac_aggr;
6772 if (ac_aggr.st_blksize)
6773 return 0;
6774 ;
6775 return 0;
6776 }
6777 _ACEOF
6778 rm -f conftest.$ac_objext
6779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6780 (eval $ac_compile) 2>conftest.er1
6781 ac_status=$?
6782 grep -v '^ *+' conftest.er1 >conftest.err
6783 rm -f conftest.er1
6784 cat conftest.err >&5
6785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6786 (exit $ac_status); } &&
6787 { ac_try='test -z "$ac_c_werror_flag"
6788 || test ! -s conftest.err'
6789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6790 (eval $ac_try) 2>&5
6791 ac_status=$?
6792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6793 (exit $ac_status); }; } &&
6794 { ac_try='test -s conftest.$ac_objext'
6795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6796 (eval $ac_try) 2>&5
6797 ac_status=$?
6798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6799 (exit $ac_status); }; }; then
6800 ac_cv_member_struct_stat_st_blksize=yes
6801 else
6802 echo "$as_me: failed program was:" >&5
6803 sed 's/^/| /' conftest.$ac_ext >&5
6804
6805 cat >conftest.$ac_ext <<_ACEOF
6806 /* confdefs.h. */
6807 _ACEOF
6808 cat confdefs.h >>conftest.$ac_ext
6809 cat >>conftest.$ac_ext <<_ACEOF
6810 /* end confdefs.h. */
6811 $ac_includes_default
6812 int
6813 main ()
6814 {
6815 static struct stat ac_aggr;
6816 if (sizeof ac_aggr.st_blksize)
6817 return 0;
6818 ;
6819 return 0;
6820 }
6821 _ACEOF
6822 rm -f conftest.$ac_objext
6823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6824 (eval $ac_compile) 2>conftest.er1
6825 ac_status=$?
6826 grep -v '^ *+' conftest.er1 >conftest.err
6827 rm -f conftest.er1
6828 cat conftest.err >&5
6829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6830 (exit $ac_status); } &&
6831 { ac_try='test -z "$ac_c_werror_flag"
6832 || test ! -s conftest.err'
6833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6834 (eval $ac_try) 2>&5
6835 ac_status=$?
6836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6837 (exit $ac_status); }; } &&
6838 { ac_try='test -s conftest.$ac_objext'
6839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6840 (eval $ac_try) 2>&5
6841 ac_status=$?
6842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6843 (exit $ac_status); }; }; then
6844 ac_cv_member_struct_stat_st_blksize=yes
6845 else
6846 echo "$as_me: failed program was:" >&5
6847 sed 's/^/| /' conftest.$ac_ext >&5
6848
6849 ac_cv_member_struct_stat_st_blksize=no
6850 fi
6851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6852 fi
6853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6854 fi
6855 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6856 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
6857 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6858
6859 cat >>confdefs.h <<_ACEOF
6860 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6861 _ACEOF
6862
6863
6864 fi
6865
6866 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6867 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
6868 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6869 echo $ECHO_N "(cached) $ECHO_C" >&6
6870 else
6871 cat >conftest.$ac_ext <<_ACEOF
6872 /* confdefs.h. */
6873 _ACEOF
6874 cat confdefs.h >>conftest.$ac_ext
6875 cat >>conftest.$ac_ext <<_ACEOF
6876 /* end confdefs.h. */
6877 $ac_includes_default
6878 int
6879 main ()
6880 {
6881 static struct stat ac_aggr;
6882 if (ac_aggr.st_blocks)
6883 return 0;
6884 ;
6885 return 0;
6886 }
6887 _ACEOF
6888 rm -f conftest.$ac_objext
6889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6890 (eval $ac_compile) 2>conftest.er1
6891 ac_status=$?
6892 grep -v '^ *+' conftest.er1 >conftest.err
6893 rm -f conftest.er1
6894 cat conftest.err >&5
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); } &&
6897 { ac_try='test -z "$ac_c_werror_flag"
6898 || test ! -s conftest.err'
6899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6900 (eval $ac_try) 2>&5
6901 ac_status=$?
6902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6903 (exit $ac_status); }; } &&
6904 { ac_try='test -s conftest.$ac_objext'
6905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6906 (eval $ac_try) 2>&5
6907 ac_status=$?
6908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6909 (exit $ac_status); }; }; then
6910 ac_cv_member_struct_stat_st_blocks=yes
6911 else
6912 echo "$as_me: failed program was:" >&5
6913 sed 's/^/| /' conftest.$ac_ext >&5
6914
6915 cat >conftest.$ac_ext <<_ACEOF
6916 /* confdefs.h. */
6917 _ACEOF
6918 cat confdefs.h >>conftest.$ac_ext
6919 cat >>conftest.$ac_ext <<_ACEOF
6920 /* end confdefs.h. */
6921 $ac_includes_default
6922 int
6923 main ()
6924 {
6925 static struct stat ac_aggr;
6926 if (sizeof ac_aggr.st_blocks)
6927 return 0;
6928 ;
6929 return 0;
6930 }
6931 _ACEOF
6932 rm -f conftest.$ac_objext
6933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6934 (eval $ac_compile) 2>conftest.er1
6935 ac_status=$?
6936 grep -v '^ *+' conftest.er1 >conftest.err
6937 rm -f conftest.er1
6938 cat conftest.err >&5
6939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6940 (exit $ac_status); } &&
6941 { ac_try='test -z "$ac_c_werror_flag"
6942 || test ! -s conftest.err'
6943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6944 (eval $ac_try) 2>&5
6945 ac_status=$?
6946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6947 (exit $ac_status); }; } &&
6948 { ac_try='test -s conftest.$ac_objext'
6949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6950 (eval $ac_try) 2>&5
6951 ac_status=$?
6952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953 (exit $ac_status); }; }; then
6954 ac_cv_member_struct_stat_st_blocks=yes
6955 else
6956 echo "$as_me: failed program was:" >&5
6957 sed 's/^/| /' conftest.$ac_ext >&5
6958
6959 ac_cv_member_struct_stat_st_blocks=no
6960 fi
6961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6962 fi
6963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6964 fi
6965 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6966 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
6967 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6968
6969 cat >>confdefs.h <<_ACEOF
6970 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6971 _ACEOF
6972
6973
6974 fi
6975
6976 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6977 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
6978 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6979 echo $ECHO_N "(cached) $ECHO_C" >&6
6980 else
6981 cat >conftest.$ac_ext <<_ACEOF
6982 /* confdefs.h. */
6983 _ACEOF
6984 cat confdefs.h >>conftest.$ac_ext
6985 cat >>conftest.$ac_ext <<_ACEOF
6986 /* end confdefs.h. */
6987 $ac_includes_default
6988 int
6989 main ()
6990 {
6991 static struct stat ac_aggr;
6992 if (ac_aggr.st_rdev)
6993 return 0;
6994 ;
6995 return 0;
6996 }
6997 _ACEOF
6998 rm -f conftest.$ac_objext
6999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7000 (eval $ac_compile) 2>conftest.er1
7001 ac_status=$?
7002 grep -v '^ *+' conftest.er1 >conftest.err
7003 rm -f conftest.er1
7004 cat conftest.err >&5
7005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7006 (exit $ac_status); } &&
7007 { ac_try='test -z "$ac_c_werror_flag"
7008 || test ! -s conftest.err'
7009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7010 (eval $ac_try) 2>&5
7011 ac_status=$?
7012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7013 (exit $ac_status); }; } &&
7014 { ac_try='test -s conftest.$ac_objext'
7015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7016 (eval $ac_try) 2>&5
7017 ac_status=$?
7018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7019 (exit $ac_status); }; }; then
7020 ac_cv_member_struct_stat_st_rdev=yes
7021 else
7022 echo "$as_me: failed program was:" >&5
7023 sed 's/^/| /' conftest.$ac_ext >&5
7024
7025 cat >conftest.$ac_ext <<_ACEOF
7026 /* confdefs.h. */
7027 _ACEOF
7028 cat confdefs.h >>conftest.$ac_ext
7029 cat >>conftest.$ac_ext <<_ACEOF
7030 /* end confdefs.h. */
7031 $ac_includes_default
7032 int
7033 main ()
7034 {
7035 static struct stat ac_aggr;
7036 if (sizeof ac_aggr.st_rdev)
7037 return 0;
7038 ;
7039 return 0;
7040 }
7041 _ACEOF
7042 rm -f conftest.$ac_objext
7043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7044 (eval $ac_compile) 2>conftest.er1
7045 ac_status=$?
7046 grep -v '^ *+' conftest.er1 >conftest.err
7047 rm -f conftest.er1
7048 cat conftest.err >&5
7049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7050 (exit $ac_status); } &&
7051 { ac_try='test -z "$ac_c_werror_flag"
7052 || test ! -s conftest.err'
7053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7054 (eval $ac_try) 2>&5
7055 ac_status=$?
7056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7057 (exit $ac_status); }; } &&
7058 { ac_try='test -s conftest.$ac_objext'
7059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7060 (eval $ac_try) 2>&5
7061 ac_status=$?
7062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7063 (exit $ac_status); }; }; then
7064 ac_cv_member_struct_stat_st_rdev=yes
7065 else
7066 echo "$as_me: failed program was:" >&5
7067 sed 's/^/| /' conftest.$ac_ext >&5
7068
7069 ac_cv_member_struct_stat_st_rdev=no
7070 fi
7071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7072 fi
7073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7074 fi
7075 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
7076 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
7077 if test $ac_cv_member_struct_stat_st_rdev = yes; then
7078
7079 cat >>confdefs.h <<_ACEOF
7080 #define HAVE_STRUCT_STAT_ST_RDEV 1
7081 _ACEOF
7082
7083
7084 fi
7085
7086
7087 # Check for complex math functions
7088 echo "$as_me:$LINENO: checking for csin in -lm" >&5
7089 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
7090 if test "${ac_cv_lib_m_csin+set}" = set; then
7091 echo $ECHO_N "(cached) $ECHO_C" >&6
7092 else
7093 ac_check_lib_save_LIBS=$LIBS
7094 LIBS="-lm $LIBS"
7095 cat >conftest.$ac_ext <<_ACEOF
7096 /* confdefs.h. */
7097 _ACEOF
7098 cat confdefs.h >>conftest.$ac_ext
7099 cat >>conftest.$ac_ext <<_ACEOF
7100 /* end confdefs.h. */
7101
7102 /* Override any gcc2 internal prototype to avoid an error. */
7103 #ifdef __cplusplus
7104 extern "C"
7105 #endif
7106 /* We use char because int might match the return type of a gcc2
7107 builtin and then its argument prototype would still apply. */
7108 char csin ();
7109 int
7110 main ()
7111 {
7112 csin ();
7113 ;
7114 return 0;
7115 }
7116 _ACEOF
7117 rm -f conftest.$ac_objext conftest$ac_exeext
7118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7119 (eval $ac_link) 2>conftest.er1
7120 ac_status=$?
7121 grep -v '^ *+' conftest.er1 >conftest.err
7122 rm -f conftest.er1
7123 cat conftest.err >&5
7124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7125 (exit $ac_status); } &&
7126 { ac_try='test -z "$ac_c_werror_flag"
7127 || test ! -s conftest.err'
7128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7129 (eval $ac_try) 2>&5
7130 ac_status=$?
7131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7132 (exit $ac_status); }; } &&
7133 { ac_try='test -s conftest$ac_exeext'
7134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7135 (eval $ac_try) 2>&5
7136 ac_status=$?
7137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7138 (exit $ac_status); }; }; then
7139 ac_cv_lib_m_csin=yes
7140 else
7141 echo "$as_me: failed program was:" >&5
7142 sed 's/^/| /' conftest.$ac_ext >&5
7143
7144 ac_cv_lib_m_csin=no
7145 fi
7146 rm -f conftest.err conftest.$ac_objext \
7147 conftest$ac_exeext conftest.$ac_ext
7148 LIBS=$ac_check_lib_save_LIBS
7149 fi
7150 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
7151 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
7152 if test $ac_cv_lib_m_csin = yes; then
7153 need_math="no"
7154 else
7155 need_math="yes"
7156 fi
7157
7158
7159 # Check for library functions.
7160
7161
7162
7163
7164
7165
7166
7167
7168 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
7169 do
7170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7171 echo "$as_me:$LINENO: checking for $ac_func" >&5
7172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7173 if eval "test \"\${$as_ac_var+set}\" = set"; then
7174 echo $ECHO_N "(cached) $ECHO_C" >&6
7175 else
7176 cat >conftest.$ac_ext <<_ACEOF
7177 /* confdefs.h. */
7178 _ACEOF
7179 cat confdefs.h >>conftest.$ac_ext
7180 cat >>conftest.$ac_ext <<_ACEOF
7181 /* end confdefs.h. */
7182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7184 #define $ac_func innocuous_$ac_func
7185
7186 /* System header to define __stub macros and hopefully few prototypes,
7187 which can conflict with char $ac_func (); below.
7188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7189 <limits.h> exists even on freestanding compilers. */
7190
7191 #ifdef __STDC__
7192 # include <limits.h>
7193 #else
7194 # include <assert.h>
7195 #endif
7196
7197 #undef $ac_func
7198
7199 /* Override any gcc2 internal prototype to avoid an error. */
7200 #ifdef __cplusplus
7201 extern "C"
7202 {
7203 #endif
7204 /* We use char because int might match the return type of a gcc2
7205 builtin and then its argument prototype would still apply. */
7206 char $ac_func ();
7207 /* The GNU C library defines this for functions which it implements
7208 to always fail with ENOSYS. Some functions are actually named
7209 something starting with __ and the normal name is an alias. */
7210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7211 choke me
7212 #else
7213 char (*f) () = $ac_func;
7214 #endif
7215 #ifdef __cplusplus
7216 }
7217 #endif
7218
7219 int
7220 main ()
7221 {
7222 return f != $ac_func;
7223 ;
7224 return 0;
7225 }
7226 _ACEOF
7227 rm -f conftest.$ac_objext conftest$ac_exeext
7228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7229 (eval $ac_link) 2>conftest.er1
7230 ac_status=$?
7231 grep -v '^ *+' conftest.er1 >conftest.err
7232 rm -f conftest.er1
7233 cat conftest.err >&5
7234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7235 (exit $ac_status); } &&
7236 { ac_try='test -z "$ac_c_werror_flag"
7237 || test ! -s conftest.err'
7238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7239 (eval $ac_try) 2>&5
7240 ac_status=$?
7241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7242 (exit $ac_status); }; } &&
7243 { ac_try='test -s conftest$ac_exeext'
7244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7245 (eval $ac_try) 2>&5
7246 ac_status=$?
7247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7248 (exit $ac_status); }; }; then
7249 eval "$as_ac_var=yes"
7250 else
7251 echo "$as_me: failed program was:" >&5
7252 sed 's/^/| /' conftest.$ac_ext >&5
7253
7254 eval "$as_ac_var=no"
7255 fi
7256 rm -f conftest.err conftest.$ac_objext \
7257 conftest$ac_exeext conftest.$ac_ext
7258 fi
7259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7261 if test `eval echo '${'$as_ac_var'}'` = yes; then
7262 cat >>confdefs.h <<_ACEOF
7263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7264 _ACEOF
7265
7266 fi
7267 done
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
7278 do
7279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7280 echo "$as_me:$LINENO: checking for $ac_func" >&5
7281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7282 if eval "test \"\${$as_ac_var+set}\" = set"; then
7283 echo $ECHO_N "(cached) $ECHO_C" >&6
7284 else
7285 cat >conftest.$ac_ext <<_ACEOF
7286 /* confdefs.h. */
7287 _ACEOF
7288 cat confdefs.h >>conftest.$ac_ext
7289 cat >>conftest.$ac_ext <<_ACEOF
7290 /* end confdefs.h. */
7291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7293 #define $ac_func innocuous_$ac_func
7294
7295 /* System header to define __stub macros and hopefully few prototypes,
7296 which can conflict with char $ac_func (); below.
7297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7298 <limits.h> exists even on freestanding compilers. */
7299
7300 #ifdef __STDC__
7301 # include <limits.h>
7302 #else
7303 # include <assert.h>
7304 #endif
7305
7306 #undef $ac_func
7307
7308 /* Override any gcc2 internal prototype to avoid an error. */
7309 #ifdef __cplusplus
7310 extern "C"
7311 {
7312 #endif
7313 /* We use char because int might match the return type of a gcc2
7314 builtin and then its argument prototype would still apply. */
7315 char $ac_func ();
7316 /* The GNU C library defines this for functions which it implements
7317 to always fail with ENOSYS. Some functions are actually named
7318 something starting with __ and the normal name is an alias. */
7319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7320 choke me
7321 #else
7322 char (*f) () = $ac_func;
7323 #endif
7324 #ifdef __cplusplus
7325 }
7326 #endif
7327
7328 int
7329 main ()
7330 {
7331 return f != $ac_func;
7332 ;
7333 return 0;
7334 }
7335 _ACEOF
7336 rm -f conftest.$ac_objext conftest$ac_exeext
7337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7338 (eval $ac_link) 2>conftest.er1
7339 ac_status=$?
7340 grep -v '^ *+' conftest.er1 >conftest.err
7341 rm -f conftest.er1
7342 cat conftest.err >&5
7343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7344 (exit $ac_status); } &&
7345 { ac_try='test -z "$ac_c_werror_flag"
7346 || test ! -s conftest.err'
7347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7348 (eval $ac_try) 2>&5
7349 ac_status=$?
7350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7351 (exit $ac_status); }; } &&
7352 { ac_try='test -s conftest$ac_exeext'
7353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7354 (eval $ac_try) 2>&5
7355 ac_status=$?
7356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7357 (exit $ac_status); }; }; then
7358 eval "$as_ac_var=yes"
7359 else
7360 echo "$as_me: failed program was:" >&5
7361 sed 's/^/| /' conftest.$ac_ext >&5
7362
7363 eval "$as_ac_var=no"
7364 fi
7365 rm -f conftest.err conftest.$ac_objext \
7366 conftest$ac_exeext conftest.$ac_ext
7367 fi
7368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7370 if test `eval echo '${'$as_ac_var'}'` = yes; then
7371 cat >>confdefs.h <<_ACEOF
7372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7373 _ACEOF
7374
7375 fi
7376 done
7377
7378
7379
7380 for ac_func in sleep time
7381 do
7382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7383 echo "$as_me:$LINENO: checking for $ac_func" >&5
7384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7385 if eval "test \"\${$as_ac_var+set}\" = set"; then
7386 echo $ECHO_N "(cached) $ECHO_C" >&6
7387 else
7388 cat >conftest.$ac_ext <<_ACEOF
7389 /* confdefs.h. */
7390 _ACEOF
7391 cat confdefs.h >>conftest.$ac_ext
7392 cat >>conftest.$ac_ext <<_ACEOF
7393 /* end confdefs.h. */
7394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7396 #define $ac_func innocuous_$ac_func
7397
7398 /* System header to define __stub macros and hopefully few prototypes,
7399 which can conflict with char $ac_func (); below.
7400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7401 <limits.h> exists even on freestanding compilers. */
7402
7403 #ifdef __STDC__
7404 # include <limits.h>
7405 #else
7406 # include <assert.h>
7407 #endif
7408
7409 #undef $ac_func
7410
7411 /* Override any gcc2 internal prototype to avoid an error. */
7412 #ifdef __cplusplus
7413 extern "C"
7414 {
7415 #endif
7416 /* We use char because int might match the return type of a gcc2
7417 builtin and then its argument prototype would still apply. */
7418 char $ac_func ();
7419 /* The GNU C library defines this for functions which it implements
7420 to always fail with ENOSYS. Some functions are actually named
7421 something starting with __ and the normal name is an alias. */
7422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7423 choke me
7424 #else
7425 char (*f) () = $ac_func;
7426 #endif
7427 #ifdef __cplusplus
7428 }
7429 #endif
7430
7431 int
7432 main ()
7433 {
7434 return f != $ac_func;
7435 ;
7436 return 0;
7437 }
7438 _ACEOF
7439 rm -f conftest.$ac_objext conftest$ac_exeext
7440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7441 (eval $ac_link) 2>conftest.er1
7442 ac_status=$?
7443 grep -v '^ *+' conftest.er1 >conftest.err
7444 rm -f conftest.er1
7445 cat conftest.err >&5
7446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7447 (exit $ac_status); } &&
7448 { ac_try='test -z "$ac_c_werror_flag"
7449 || test ! -s conftest.err'
7450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7451 (eval $ac_try) 2>&5
7452 ac_status=$?
7453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7454 (exit $ac_status); }; } &&
7455 { ac_try='test -s conftest$ac_exeext'
7456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7457 (eval $ac_try) 2>&5
7458 ac_status=$?
7459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7460 (exit $ac_status); }; }; then
7461 eval "$as_ac_var=yes"
7462 else
7463 echo "$as_me: failed program was:" >&5
7464 sed 's/^/| /' conftest.$ac_ext >&5
7465
7466 eval "$as_ac_var=no"
7467 fi
7468 rm -f conftest.err conftest.$ac_objext \
7469 conftest$ac_exeext conftest.$ac_ext
7470 fi
7471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7473 if test `eval echo '${'$as_ac_var'}'` = yes; then
7474 cat >>confdefs.h <<_ACEOF
7475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7476 _ACEOF
7477
7478 fi
7479 done
7480
7481
7482 # Check libc for getgid, getpid, getuid
7483 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
7484 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
7485 if test "${ac_cv_lib_c_getgid+set}" = set; then
7486 echo $ECHO_N "(cached) $ECHO_C" >&6
7487 else
7488 ac_check_lib_save_LIBS=$LIBS
7489 LIBS="-lc $LIBS"
7490 cat >conftest.$ac_ext <<_ACEOF
7491 /* confdefs.h. */
7492 _ACEOF
7493 cat confdefs.h >>conftest.$ac_ext
7494 cat >>conftest.$ac_ext <<_ACEOF
7495 /* end confdefs.h. */
7496
7497 /* Override any gcc2 internal prototype to avoid an error. */
7498 #ifdef __cplusplus
7499 extern "C"
7500 #endif
7501 /* We use char because int might match the return type of a gcc2
7502 builtin and then its argument prototype would still apply. */
7503 char getgid ();
7504 int
7505 main ()
7506 {
7507 getgid ();
7508 ;
7509 return 0;
7510 }
7511 _ACEOF
7512 rm -f conftest.$ac_objext conftest$ac_exeext
7513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7514 (eval $ac_link) 2>conftest.er1
7515 ac_status=$?
7516 grep -v '^ *+' conftest.er1 >conftest.err
7517 rm -f conftest.er1
7518 cat conftest.err >&5
7519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7520 (exit $ac_status); } &&
7521 { ac_try='test -z "$ac_c_werror_flag"
7522 || test ! -s conftest.err'
7523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7524 (eval $ac_try) 2>&5
7525 ac_status=$?
7526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7527 (exit $ac_status); }; } &&
7528 { ac_try='test -s conftest$ac_exeext'
7529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7530 (eval $ac_try) 2>&5
7531 ac_status=$?
7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7533 (exit $ac_status); }; }; then
7534 ac_cv_lib_c_getgid=yes
7535 else
7536 echo "$as_me: failed program was:" >&5
7537 sed 's/^/| /' conftest.$ac_ext >&5
7538
7539 ac_cv_lib_c_getgid=no
7540 fi
7541 rm -f conftest.err conftest.$ac_objext \
7542 conftest$ac_exeext conftest.$ac_ext
7543 LIBS=$ac_check_lib_save_LIBS
7544 fi
7545 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
7546 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
7547 if test $ac_cv_lib_c_getgid = yes; then
7548
7549 cat >>confdefs.h <<\_ACEOF
7550 #define HAVE_GETGID 1
7551 _ACEOF
7552
7553 fi
7554
7555 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
7556 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
7557 if test "${ac_cv_lib_c_getpid+set}" = set; then
7558 echo $ECHO_N "(cached) $ECHO_C" >&6
7559 else
7560 ac_check_lib_save_LIBS=$LIBS
7561 LIBS="-lc $LIBS"
7562 cat >conftest.$ac_ext <<_ACEOF
7563 /* confdefs.h. */
7564 _ACEOF
7565 cat confdefs.h >>conftest.$ac_ext
7566 cat >>conftest.$ac_ext <<_ACEOF
7567 /* end confdefs.h. */
7568
7569 /* Override any gcc2 internal prototype to avoid an error. */
7570 #ifdef __cplusplus
7571 extern "C"
7572 #endif
7573 /* We use char because int might match the return type of a gcc2
7574 builtin and then its argument prototype would still apply. */
7575 char getpid ();
7576 int
7577 main ()
7578 {
7579 getpid ();
7580 ;
7581 return 0;
7582 }
7583 _ACEOF
7584 rm -f conftest.$ac_objext conftest$ac_exeext
7585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7586 (eval $ac_link) 2>conftest.er1
7587 ac_status=$?
7588 grep -v '^ *+' conftest.er1 >conftest.err
7589 rm -f conftest.er1
7590 cat conftest.err >&5
7591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7592 (exit $ac_status); } &&
7593 { ac_try='test -z "$ac_c_werror_flag"
7594 || test ! -s conftest.err'
7595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7596 (eval $ac_try) 2>&5
7597 ac_status=$?
7598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7599 (exit $ac_status); }; } &&
7600 { ac_try='test -s conftest$ac_exeext'
7601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7602 (eval $ac_try) 2>&5
7603 ac_status=$?
7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7605 (exit $ac_status); }; }; then
7606 ac_cv_lib_c_getpid=yes
7607 else
7608 echo "$as_me: failed program was:" >&5
7609 sed 's/^/| /' conftest.$ac_ext >&5
7610
7611 ac_cv_lib_c_getpid=no
7612 fi
7613 rm -f conftest.err conftest.$ac_objext \
7614 conftest$ac_exeext conftest.$ac_ext
7615 LIBS=$ac_check_lib_save_LIBS
7616 fi
7617 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
7618 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
7619 if test $ac_cv_lib_c_getpid = yes; then
7620
7621 cat >>confdefs.h <<\_ACEOF
7622 #define HAVE_GETPID 1
7623 _ACEOF
7624
7625 fi
7626
7627 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
7628 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
7629 if test "${ac_cv_lib_c_getuid+set}" = set; then
7630 echo $ECHO_N "(cached) $ECHO_C" >&6
7631 else
7632 ac_check_lib_save_LIBS=$LIBS
7633 LIBS="-lc $LIBS"
7634 cat >conftest.$ac_ext <<_ACEOF
7635 /* confdefs.h. */
7636 _ACEOF
7637 cat confdefs.h >>conftest.$ac_ext
7638 cat >>conftest.$ac_ext <<_ACEOF
7639 /* end confdefs.h. */
7640
7641 /* Override any gcc2 internal prototype to avoid an error. */
7642 #ifdef __cplusplus
7643 extern "C"
7644 #endif
7645 /* We use char because int might match the return type of a gcc2
7646 builtin and then its argument prototype would still apply. */
7647 char getuid ();
7648 int
7649 main ()
7650 {
7651 getuid ();
7652 ;
7653 return 0;
7654 }
7655 _ACEOF
7656 rm -f conftest.$ac_objext conftest$ac_exeext
7657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7658 (eval $ac_link) 2>conftest.er1
7659 ac_status=$?
7660 grep -v '^ *+' conftest.er1 >conftest.err
7661 rm -f conftest.er1
7662 cat conftest.err >&5
7663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7664 (exit $ac_status); } &&
7665 { ac_try='test -z "$ac_c_werror_flag"
7666 || test ! -s conftest.err'
7667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7668 (eval $ac_try) 2>&5
7669 ac_status=$?
7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7671 (exit $ac_status); }; } &&
7672 { ac_try='test -s conftest$ac_exeext'
7673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7674 (eval $ac_try) 2>&5
7675 ac_status=$?
7676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7677 (exit $ac_status); }; }; then
7678 ac_cv_lib_c_getuid=yes
7679 else
7680 echo "$as_me: failed program was:" >&5
7681 sed 's/^/| /' conftest.$ac_ext >&5
7682
7683 ac_cv_lib_c_getuid=no
7684 fi
7685 rm -f conftest.err conftest.$ac_objext \
7686 conftest$ac_exeext conftest.$ac_ext
7687 LIBS=$ac_check_lib_save_LIBS
7688 fi
7689 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
7690 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
7691 if test $ac_cv_lib_c_getuid = yes; then
7692
7693 cat >>confdefs.h <<\_ACEOF
7694 #define HAVE_GETUID 1
7695 _ACEOF
7696
7697 fi
7698
7699
7700 # Check for C99 (and other IEEE) math functions
7701 # ??? This list seems awful long. Is there a better way to test for these?
7702 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
7703 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
7704 if test "${ac_cv_lib_m_acosf+set}" = set; then
7705 echo $ECHO_N "(cached) $ECHO_C" >&6
7706 else
7707 ac_check_lib_save_LIBS=$LIBS
7708 LIBS="-lm $LIBS"
7709 cat >conftest.$ac_ext <<_ACEOF
7710 /* confdefs.h. */
7711 _ACEOF
7712 cat confdefs.h >>conftest.$ac_ext
7713 cat >>conftest.$ac_ext <<_ACEOF
7714 /* end confdefs.h. */
7715
7716 /* Override any gcc2 internal prototype to avoid an error. */
7717 #ifdef __cplusplus
7718 extern "C"
7719 #endif
7720 /* We use char because int might match the return type of a gcc2
7721 builtin and then its argument prototype would still apply. */
7722 char acosf ();
7723 int
7724 main ()
7725 {
7726 acosf ();
7727 ;
7728 return 0;
7729 }
7730 _ACEOF
7731 rm -f conftest.$ac_objext conftest$ac_exeext
7732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7733 (eval $ac_link) 2>conftest.er1
7734 ac_status=$?
7735 grep -v '^ *+' conftest.er1 >conftest.err
7736 rm -f conftest.er1
7737 cat conftest.err >&5
7738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7739 (exit $ac_status); } &&
7740 { ac_try='test -z "$ac_c_werror_flag"
7741 || test ! -s conftest.err'
7742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7743 (eval $ac_try) 2>&5
7744 ac_status=$?
7745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7746 (exit $ac_status); }; } &&
7747 { ac_try='test -s conftest$ac_exeext'
7748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7749 (eval $ac_try) 2>&5
7750 ac_status=$?
7751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752 (exit $ac_status); }; }; then
7753 ac_cv_lib_m_acosf=yes
7754 else
7755 echo "$as_me: failed program was:" >&5
7756 sed 's/^/| /' conftest.$ac_ext >&5
7757
7758 ac_cv_lib_m_acosf=no
7759 fi
7760 rm -f conftest.err conftest.$ac_objext \
7761 conftest$ac_exeext conftest.$ac_ext
7762 LIBS=$ac_check_lib_save_LIBS
7763 fi
7764 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
7765 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
7766 if test $ac_cv_lib_m_acosf = yes; then
7767
7768 cat >>confdefs.h <<\_ACEOF
7769 #define HAVE_ACOSF 1
7770 _ACEOF
7771
7772 fi
7773
7774 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
7775 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
7776 if test "${ac_cv_lib_m_asinf+set}" = set; then
7777 echo $ECHO_N "(cached) $ECHO_C" >&6
7778 else
7779 ac_check_lib_save_LIBS=$LIBS
7780 LIBS="-lm $LIBS"
7781 cat >conftest.$ac_ext <<_ACEOF
7782 /* confdefs.h. */
7783 _ACEOF
7784 cat confdefs.h >>conftest.$ac_ext
7785 cat >>conftest.$ac_ext <<_ACEOF
7786 /* end confdefs.h. */
7787
7788 /* Override any gcc2 internal prototype to avoid an error. */
7789 #ifdef __cplusplus
7790 extern "C"
7791 #endif
7792 /* We use char because int might match the return type of a gcc2
7793 builtin and then its argument prototype would still apply. */
7794 char asinf ();
7795 int
7796 main ()
7797 {
7798 asinf ();
7799 ;
7800 return 0;
7801 }
7802 _ACEOF
7803 rm -f conftest.$ac_objext conftest$ac_exeext
7804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7805 (eval $ac_link) 2>conftest.er1
7806 ac_status=$?
7807 grep -v '^ *+' conftest.er1 >conftest.err
7808 rm -f conftest.er1
7809 cat conftest.err >&5
7810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7811 (exit $ac_status); } &&
7812 { ac_try='test -z "$ac_c_werror_flag"
7813 || test ! -s conftest.err'
7814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7815 (eval $ac_try) 2>&5
7816 ac_status=$?
7817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7818 (exit $ac_status); }; } &&
7819 { ac_try='test -s conftest$ac_exeext'
7820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7821 (eval $ac_try) 2>&5
7822 ac_status=$?
7823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7824 (exit $ac_status); }; }; then
7825 ac_cv_lib_m_asinf=yes
7826 else
7827 echo "$as_me: failed program was:" >&5
7828 sed 's/^/| /' conftest.$ac_ext >&5
7829
7830 ac_cv_lib_m_asinf=no
7831 fi
7832 rm -f conftest.err conftest.$ac_objext \
7833 conftest$ac_exeext conftest.$ac_ext
7834 LIBS=$ac_check_lib_save_LIBS
7835 fi
7836 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
7837 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
7838 if test $ac_cv_lib_m_asinf = yes; then
7839
7840 cat >>confdefs.h <<\_ACEOF
7841 #define HAVE_ASINF 1
7842 _ACEOF
7843
7844 fi
7845
7846 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
7847 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
7848 if test "${ac_cv_lib_m_atan2f+set}" = set; then
7849 echo $ECHO_N "(cached) $ECHO_C" >&6
7850 else
7851 ac_check_lib_save_LIBS=$LIBS
7852 LIBS="-lm $LIBS"
7853 cat >conftest.$ac_ext <<_ACEOF
7854 /* confdefs.h. */
7855 _ACEOF
7856 cat confdefs.h >>conftest.$ac_ext
7857 cat >>conftest.$ac_ext <<_ACEOF
7858 /* end confdefs.h. */
7859
7860 /* Override any gcc2 internal prototype to avoid an error. */
7861 #ifdef __cplusplus
7862 extern "C"
7863 #endif
7864 /* We use char because int might match the return type of a gcc2
7865 builtin and then its argument prototype would still apply. */
7866 char atan2f ();
7867 int
7868 main ()
7869 {
7870 atan2f ();
7871 ;
7872 return 0;
7873 }
7874 _ACEOF
7875 rm -f conftest.$ac_objext conftest$ac_exeext
7876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7877 (eval $ac_link) 2>conftest.er1
7878 ac_status=$?
7879 grep -v '^ *+' conftest.er1 >conftest.err
7880 rm -f conftest.er1
7881 cat conftest.err >&5
7882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7883 (exit $ac_status); } &&
7884 { ac_try='test -z "$ac_c_werror_flag"
7885 || test ! -s conftest.err'
7886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7887 (eval $ac_try) 2>&5
7888 ac_status=$?
7889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7890 (exit $ac_status); }; } &&
7891 { ac_try='test -s conftest$ac_exeext'
7892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7893 (eval $ac_try) 2>&5
7894 ac_status=$?
7895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7896 (exit $ac_status); }; }; then
7897 ac_cv_lib_m_atan2f=yes
7898 else
7899 echo "$as_me: failed program was:" >&5
7900 sed 's/^/| /' conftest.$ac_ext >&5
7901
7902 ac_cv_lib_m_atan2f=no
7903 fi
7904 rm -f conftest.err conftest.$ac_objext \
7905 conftest$ac_exeext conftest.$ac_ext
7906 LIBS=$ac_check_lib_save_LIBS
7907 fi
7908 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
7909 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
7910 if test $ac_cv_lib_m_atan2f = yes; then
7911
7912 cat >>confdefs.h <<\_ACEOF
7913 #define HAVE_ATAN2F 1
7914 _ACEOF
7915
7916 fi
7917
7918 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
7919 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
7920 if test "${ac_cv_lib_m_atanf+set}" = set; then
7921 echo $ECHO_N "(cached) $ECHO_C" >&6
7922 else
7923 ac_check_lib_save_LIBS=$LIBS
7924 LIBS="-lm $LIBS"
7925 cat >conftest.$ac_ext <<_ACEOF
7926 /* confdefs.h. */
7927 _ACEOF
7928 cat confdefs.h >>conftest.$ac_ext
7929 cat >>conftest.$ac_ext <<_ACEOF
7930 /* end confdefs.h. */
7931
7932 /* Override any gcc2 internal prototype to avoid an error. */
7933 #ifdef __cplusplus
7934 extern "C"
7935 #endif
7936 /* We use char because int might match the return type of a gcc2
7937 builtin and then its argument prototype would still apply. */
7938 char atanf ();
7939 int
7940 main ()
7941 {
7942 atanf ();
7943 ;
7944 return 0;
7945 }
7946 _ACEOF
7947 rm -f conftest.$ac_objext conftest$ac_exeext
7948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7949 (eval $ac_link) 2>conftest.er1
7950 ac_status=$?
7951 grep -v '^ *+' conftest.er1 >conftest.err
7952 rm -f conftest.er1
7953 cat conftest.err >&5
7954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7955 (exit $ac_status); } &&
7956 { ac_try='test -z "$ac_c_werror_flag"
7957 || test ! -s conftest.err'
7958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7959 (eval $ac_try) 2>&5
7960 ac_status=$?
7961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7962 (exit $ac_status); }; } &&
7963 { ac_try='test -s conftest$ac_exeext'
7964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7965 (eval $ac_try) 2>&5
7966 ac_status=$?
7967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7968 (exit $ac_status); }; }; then
7969 ac_cv_lib_m_atanf=yes
7970 else
7971 echo "$as_me: failed program was:" >&5
7972 sed 's/^/| /' conftest.$ac_ext >&5
7973
7974 ac_cv_lib_m_atanf=no
7975 fi
7976 rm -f conftest.err conftest.$ac_objext \
7977 conftest$ac_exeext conftest.$ac_ext
7978 LIBS=$ac_check_lib_save_LIBS
7979 fi
7980 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
7981 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
7982 if test $ac_cv_lib_m_atanf = yes; then
7983
7984 cat >>confdefs.h <<\_ACEOF
7985 #define HAVE_ATANF 1
7986 _ACEOF
7987
7988 fi
7989
7990 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
7991 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
7992 if test "${ac_cv_lib_m_ceilf+set}" = set; then
7993 echo $ECHO_N "(cached) $ECHO_C" >&6
7994 else
7995 ac_check_lib_save_LIBS=$LIBS
7996 LIBS="-lm $LIBS"
7997 cat >conftest.$ac_ext <<_ACEOF
7998 /* confdefs.h. */
7999 _ACEOF
8000 cat confdefs.h >>conftest.$ac_ext
8001 cat >>conftest.$ac_ext <<_ACEOF
8002 /* end confdefs.h. */
8003
8004 /* Override any gcc2 internal prototype to avoid an error. */
8005 #ifdef __cplusplus
8006 extern "C"
8007 #endif
8008 /* We use char because int might match the return type of a gcc2
8009 builtin and then its argument prototype would still apply. */
8010 char ceilf ();
8011 int
8012 main ()
8013 {
8014 ceilf ();
8015 ;
8016 return 0;
8017 }
8018 _ACEOF
8019 rm -f conftest.$ac_objext conftest$ac_exeext
8020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8021 (eval $ac_link) 2>conftest.er1
8022 ac_status=$?
8023 grep -v '^ *+' conftest.er1 >conftest.err
8024 rm -f conftest.er1
8025 cat conftest.err >&5
8026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8027 (exit $ac_status); } &&
8028 { ac_try='test -z "$ac_c_werror_flag"
8029 || test ! -s conftest.err'
8030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8031 (eval $ac_try) 2>&5
8032 ac_status=$?
8033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8034 (exit $ac_status); }; } &&
8035 { ac_try='test -s conftest$ac_exeext'
8036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8037 (eval $ac_try) 2>&5
8038 ac_status=$?
8039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8040 (exit $ac_status); }; }; then
8041 ac_cv_lib_m_ceilf=yes
8042 else
8043 echo "$as_me: failed program was:" >&5
8044 sed 's/^/| /' conftest.$ac_ext >&5
8045
8046 ac_cv_lib_m_ceilf=no
8047 fi
8048 rm -f conftest.err conftest.$ac_objext \
8049 conftest$ac_exeext conftest.$ac_ext
8050 LIBS=$ac_check_lib_save_LIBS
8051 fi
8052 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
8053 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
8054 if test $ac_cv_lib_m_ceilf = yes; then
8055
8056 cat >>confdefs.h <<\_ACEOF
8057 #define HAVE_CEILF 1
8058 _ACEOF
8059
8060 fi
8061
8062 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
8063 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
8064 if test "${ac_cv_lib_m_copysignf+set}" = set; then
8065 echo $ECHO_N "(cached) $ECHO_C" >&6
8066 else
8067 ac_check_lib_save_LIBS=$LIBS
8068 LIBS="-lm $LIBS"
8069 cat >conftest.$ac_ext <<_ACEOF
8070 /* confdefs.h. */
8071 _ACEOF
8072 cat confdefs.h >>conftest.$ac_ext
8073 cat >>conftest.$ac_ext <<_ACEOF
8074 /* end confdefs.h. */
8075
8076 /* Override any gcc2 internal prototype to avoid an error. */
8077 #ifdef __cplusplus
8078 extern "C"
8079 #endif
8080 /* We use char because int might match the return type of a gcc2
8081 builtin and then its argument prototype would still apply. */
8082 char copysignf ();
8083 int
8084 main ()
8085 {
8086 copysignf ();
8087 ;
8088 return 0;
8089 }
8090 _ACEOF
8091 rm -f conftest.$ac_objext conftest$ac_exeext
8092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8093 (eval $ac_link) 2>conftest.er1
8094 ac_status=$?
8095 grep -v '^ *+' conftest.er1 >conftest.err
8096 rm -f conftest.er1
8097 cat conftest.err >&5
8098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8099 (exit $ac_status); } &&
8100 { ac_try='test -z "$ac_c_werror_flag"
8101 || test ! -s conftest.err'
8102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8103 (eval $ac_try) 2>&5
8104 ac_status=$?
8105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8106 (exit $ac_status); }; } &&
8107 { ac_try='test -s conftest$ac_exeext'
8108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8109 (eval $ac_try) 2>&5
8110 ac_status=$?
8111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8112 (exit $ac_status); }; }; then
8113 ac_cv_lib_m_copysignf=yes
8114 else
8115 echo "$as_me: failed program was:" >&5
8116 sed 's/^/| /' conftest.$ac_ext >&5
8117
8118 ac_cv_lib_m_copysignf=no
8119 fi
8120 rm -f conftest.err conftest.$ac_objext \
8121 conftest$ac_exeext conftest.$ac_ext
8122 LIBS=$ac_check_lib_save_LIBS
8123 fi
8124 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
8125 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
8126 if test $ac_cv_lib_m_copysignf = yes; then
8127
8128 cat >>confdefs.h <<\_ACEOF
8129 #define HAVE_COPYSIGNF 1
8130 _ACEOF
8131
8132 fi
8133
8134 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
8135 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
8136 if test "${ac_cv_lib_m_cosf+set}" = set; then
8137 echo $ECHO_N "(cached) $ECHO_C" >&6
8138 else
8139 ac_check_lib_save_LIBS=$LIBS
8140 LIBS="-lm $LIBS"
8141 cat >conftest.$ac_ext <<_ACEOF
8142 /* confdefs.h. */
8143 _ACEOF
8144 cat confdefs.h >>conftest.$ac_ext
8145 cat >>conftest.$ac_ext <<_ACEOF
8146 /* end confdefs.h. */
8147
8148 /* Override any gcc2 internal prototype to avoid an error. */
8149 #ifdef __cplusplus
8150 extern "C"
8151 #endif
8152 /* We use char because int might match the return type of a gcc2
8153 builtin and then its argument prototype would still apply. */
8154 char cosf ();
8155 int
8156 main ()
8157 {
8158 cosf ();
8159 ;
8160 return 0;
8161 }
8162 _ACEOF
8163 rm -f conftest.$ac_objext conftest$ac_exeext
8164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8165 (eval $ac_link) 2>conftest.er1
8166 ac_status=$?
8167 grep -v '^ *+' conftest.er1 >conftest.err
8168 rm -f conftest.er1
8169 cat conftest.err >&5
8170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8171 (exit $ac_status); } &&
8172 { ac_try='test -z "$ac_c_werror_flag"
8173 || test ! -s conftest.err'
8174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8175 (eval $ac_try) 2>&5
8176 ac_status=$?
8177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 (exit $ac_status); }; } &&
8179 { ac_try='test -s conftest$ac_exeext'
8180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8181 (eval $ac_try) 2>&5
8182 ac_status=$?
8183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184 (exit $ac_status); }; }; then
8185 ac_cv_lib_m_cosf=yes
8186 else
8187 echo "$as_me: failed program was:" >&5
8188 sed 's/^/| /' conftest.$ac_ext >&5
8189
8190 ac_cv_lib_m_cosf=no
8191 fi
8192 rm -f conftest.err conftest.$ac_objext \
8193 conftest$ac_exeext conftest.$ac_ext
8194 LIBS=$ac_check_lib_save_LIBS
8195 fi
8196 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
8197 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
8198 if test $ac_cv_lib_m_cosf = yes; then
8199
8200 cat >>confdefs.h <<\_ACEOF
8201 #define HAVE_COSF 1
8202 _ACEOF
8203
8204 fi
8205
8206 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
8207 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
8208 if test "${ac_cv_lib_m_coshf+set}" = set; then
8209 echo $ECHO_N "(cached) $ECHO_C" >&6
8210 else
8211 ac_check_lib_save_LIBS=$LIBS
8212 LIBS="-lm $LIBS"
8213 cat >conftest.$ac_ext <<_ACEOF
8214 /* confdefs.h. */
8215 _ACEOF
8216 cat confdefs.h >>conftest.$ac_ext
8217 cat >>conftest.$ac_ext <<_ACEOF
8218 /* end confdefs.h. */
8219
8220 /* Override any gcc2 internal prototype to avoid an error. */
8221 #ifdef __cplusplus
8222 extern "C"
8223 #endif
8224 /* We use char because int might match the return type of a gcc2
8225 builtin and then its argument prototype would still apply. */
8226 char coshf ();
8227 int
8228 main ()
8229 {
8230 coshf ();
8231 ;
8232 return 0;
8233 }
8234 _ACEOF
8235 rm -f conftest.$ac_objext conftest$ac_exeext
8236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8237 (eval $ac_link) 2>conftest.er1
8238 ac_status=$?
8239 grep -v '^ *+' conftest.er1 >conftest.err
8240 rm -f conftest.er1
8241 cat conftest.err >&5
8242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8243 (exit $ac_status); } &&
8244 { ac_try='test -z "$ac_c_werror_flag"
8245 || test ! -s conftest.err'
8246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8247 (eval $ac_try) 2>&5
8248 ac_status=$?
8249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8250 (exit $ac_status); }; } &&
8251 { ac_try='test -s conftest$ac_exeext'
8252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8253 (eval $ac_try) 2>&5
8254 ac_status=$?
8255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8256 (exit $ac_status); }; }; then
8257 ac_cv_lib_m_coshf=yes
8258 else
8259 echo "$as_me: failed program was:" >&5
8260 sed 's/^/| /' conftest.$ac_ext >&5
8261
8262 ac_cv_lib_m_coshf=no
8263 fi
8264 rm -f conftest.err conftest.$ac_objext \
8265 conftest$ac_exeext conftest.$ac_ext
8266 LIBS=$ac_check_lib_save_LIBS
8267 fi
8268 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
8269 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
8270 if test $ac_cv_lib_m_coshf = yes; then
8271
8272 cat >>confdefs.h <<\_ACEOF
8273 #define HAVE_COSHF 1
8274 _ACEOF
8275
8276 fi
8277
8278 echo "$as_me:$LINENO: checking for expf in -lm" >&5
8279 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
8280 if test "${ac_cv_lib_m_expf+set}" = set; then
8281 echo $ECHO_N "(cached) $ECHO_C" >&6
8282 else
8283 ac_check_lib_save_LIBS=$LIBS
8284 LIBS="-lm $LIBS"
8285 cat >conftest.$ac_ext <<_ACEOF
8286 /* confdefs.h. */
8287 _ACEOF
8288 cat confdefs.h >>conftest.$ac_ext
8289 cat >>conftest.$ac_ext <<_ACEOF
8290 /* end confdefs.h. */
8291
8292 /* Override any gcc2 internal prototype to avoid an error. */
8293 #ifdef __cplusplus
8294 extern "C"
8295 #endif
8296 /* We use char because int might match the return type of a gcc2
8297 builtin and then its argument prototype would still apply. */
8298 char expf ();
8299 int
8300 main ()
8301 {
8302 expf ();
8303 ;
8304 return 0;
8305 }
8306 _ACEOF
8307 rm -f conftest.$ac_objext conftest$ac_exeext
8308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8309 (eval $ac_link) 2>conftest.er1
8310 ac_status=$?
8311 grep -v '^ *+' conftest.er1 >conftest.err
8312 rm -f conftest.er1
8313 cat conftest.err >&5
8314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8315 (exit $ac_status); } &&
8316 { ac_try='test -z "$ac_c_werror_flag"
8317 || test ! -s conftest.err'
8318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8319 (eval $ac_try) 2>&5
8320 ac_status=$?
8321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8322 (exit $ac_status); }; } &&
8323 { ac_try='test -s conftest$ac_exeext'
8324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8325 (eval $ac_try) 2>&5
8326 ac_status=$?
8327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328 (exit $ac_status); }; }; then
8329 ac_cv_lib_m_expf=yes
8330 else
8331 echo "$as_me: failed program was:" >&5
8332 sed 's/^/| /' conftest.$ac_ext >&5
8333
8334 ac_cv_lib_m_expf=no
8335 fi
8336 rm -f conftest.err conftest.$ac_objext \
8337 conftest$ac_exeext conftest.$ac_ext
8338 LIBS=$ac_check_lib_save_LIBS
8339 fi
8340 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
8341 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
8342 if test $ac_cv_lib_m_expf = yes; then
8343
8344 cat >>confdefs.h <<\_ACEOF
8345 #define HAVE_EXPF 1
8346 _ACEOF
8347
8348 fi
8349
8350 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
8351 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
8352 if test "${ac_cv_lib_m_fabsf+set}" = set; then
8353 echo $ECHO_N "(cached) $ECHO_C" >&6
8354 else
8355 ac_check_lib_save_LIBS=$LIBS
8356 LIBS="-lm $LIBS"
8357 cat >conftest.$ac_ext <<_ACEOF
8358 /* confdefs.h. */
8359 _ACEOF
8360 cat confdefs.h >>conftest.$ac_ext
8361 cat >>conftest.$ac_ext <<_ACEOF
8362 /* end confdefs.h. */
8363
8364 /* Override any gcc2 internal prototype to avoid an error. */
8365 #ifdef __cplusplus
8366 extern "C"
8367 #endif
8368 /* We use char because int might match the return type of a gcc2
8369 builtin and then its argument prototype would still apply. */
8370 char fabsf ();
8371 int
8372 main ()
8373 {
8374 fabsf ();
8375 ;
8376 return 0;
8377 }
8378 _ACEOF
8379 rm -f conftest.$ac_objext conftest$ac_exeext
8380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8381 (eval $ac_link) 2>conftest.er1
8382 ac_status=$?
8383 grep -v '^ *+' conftest.er1 >conftest.err
8384 rm -f conftest.er1
8385 cat conftest.err >&5
8386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8387 (exit $ac_status); } &&
8388 { ac_try='test -z "$ac_c_werror_flag"
8389 || test ! -s conftest.err'
8390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8391 (eval $ac_try) 2>&5
8392 ac_status=$?
8393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8394 (exit $ac_status); }; } &&
8395 { ac_try='test -s conftest$ac_exeext'
8396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8397 (eval $ac_try) 2>&5
8398 ac_status=$?
8399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8400 (exit $ac_status); }; }; then
8401 ac_cv_lib_m_fabsf=yes
8402 else
8403 echo "$as_me: failed program was:" >&5
8404 sed 's/^/| /' conftest.$ac_ext >&5
8405
8406 ac_cv_lib_m_fabsf=no
8407 fi
8408 rm -f conftest.err conftest.$ac_objext \
8409 conftest$ac_exeext conftest.$ac_ext
8410 LIBS=$ac_check_lib_save_LIBS
8411 fi
8412 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
8413 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
8414 if test $ac_cv_lib_m_fabsf = yes; then
8415
8416 cat >>confdefs.h <<\_ACEOF
8417 #define HAVE_FABSF 1
8418 _ACEOF
8419
8420 fi
8421
8422 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
8423 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
8424 if test "${ac_cv_lib_m_floorf+set}" = set; then
8425 echo $ECHO_N "(cached) $ECHO_C" >&6
8426 else
8427 ac_check_lib_save_LIBS=$LIBS
8428 LIBS="-lm $LIBS"
8429 cat >conftest.$ac_ext <<_ACEOF
8430 /* confdefs.h. */
8431 _ACEOF
8432 cat confdefs.h >>conftest.$ac_ext
8433 cat >>conftest.$ac_ext <<_ACEOF
8434 /* end confdefs.h. */
8435
8436 /* Override any gcc2 internal prototype to avoid an error. */
8437 #ifdef __cplusplus
8438 extern "C"
8439 #endif
8440 /* We use char because int might match the return type of a gcc2
8441 builtin and then its argument prototype would still apply. */
8442 char floorf ();
8443 int
8444 main ()
8445 {
8446 floorf ();
8447 ;
8448 return 0;
8449 }
8450 _ACEOF
8451 rm -f conftest.$ac_objext conftest$ac_exeext
8452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8453 (eval $ac_link) 2>conftest.er1
8454 ac_status=$?
8455 grep -v '^ *+' conftest.er1 >conftest.err
8456 rm -f conftest.er1
8457 cat conftest.err >&5
8458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8459 (exit $ac_status); } &&
8460 { ac_try='test -z "$ac_c_werror_flag"
8461 || test ! -s conftest.err'
8462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8463 (eval $ac_try) 2>&5
8464 ac_status=$?
8465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8466 (exit $ac_status); }; } &&
8467 { ac_try='test -s conftest$ac_exeext'
8468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8469 (eval $ac_try) 2>&5
8470 ac_status=$?
8471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 (exit $ac_status); }; }; then
8473 ac_cv_lib_m_floorf=yes
8474 else
8475 echo "$as_me: failed program was:" >&5
8476 sed 's/^/| /' conftest.$ac_ext >&5
8477
8478 ac_cv_lib_m_floorf=no
8479 fi
8480 rm -f conftest.err conftest.$ac_objext \
8481 conftest$ac_exeext conftest.$ac_ext
8482 LIBS=$ac_check_lib_save_LIBS
8483 fi
8484 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
8485 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
8486 if test $ac_cv_lib_m_floorf = yes; then
8487
8488 cat >>confdefs.h <<\_ACEOF
8489 #define HAVE_FLOORF 1
8490 _ACEOF
8491
8492 fi
8493
8494 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
8495 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
8496 if test "${ac_cv_lib_m_frexpf+set}" = set; then
8497 echo $ECHO_N "(cached) $ECHO_C" >&6
8498 else
8499 ac_check_lib_save_LIBS=$LIBS
8500 LIBS="-lm $LIBS"
8501 cat >conftest.$ac_ext <<_ACEOF
8502 /* confdefs.h. */
8503 _ACEOF
8504 cat confdefs.h >>conftest.$ac_ext
8505 cat >>conftest.$ac_ext <<_ACEOF
8506 /* end confdefs.h. */
8507
8508 /* Override any gcc2 internal prototype to avoid an error. */
8509 #ifdef __cplusplus
8510 extern "C"
8511 #endif
8512 /* We use char because int might match the return type of a gcc2
8513 builtin and then its argument prototype would still apply. */
8514 char frexpf ();
8515 int
8516 main ()
8517 {
8518 frexpf ();
8519 ;
8520 return 0;
8521 }
8522 _ACEOF
8523 rm -f conftest.$ac_objext conftest$ac_exeext
8524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8525 (eval $ac_link) 2>conftest.er1
8526 ac_status=$?
8527 grep -v '^ *+' conftest.er1 >conftest.err
8528 rm -f conftest.er1
8529 cat conftest.err >&5
8530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8531 (exit $ac_status); } &&
8532 { ac_try='test -z "$ac_c_werror_flag"
8533 || test ! -s conftest.err'
8534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8535 (eval $ac_try) 2>&5
8536 ac_status=$?
8537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8538 (exit $ac_status); }; } &&
8539 { ac_try='test -s conftest$ac_exeext'
8540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8541 (eval $ac_try) 2>&5
8542 ac_status=$?
8543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544 (exit $ac_status); }; }; then
8545 ac_cv_lib_m_frexpf=yes
8546 else
8547 echo "$as_me: failed program was:" >&5
8548 sed 's/^/| /' conftest.$ac_ext >&5
8549
8550 ac_cv_lib_m_frexpf=no
8551 fi
8552 rm -f conftest.err conftest.$ac_objext \
8553 conftest$ac_exeext conftest.$ac_ext
8554 LIBS=$ac_check_lib_save_LIBS
8555 fi
8556 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
8557 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
8558 if test $ac_cv_lib_m_frexpf = yes; then
8559
8560 cat >>confdefs.h <<\_ACEOF
8561 #define HAVE_FREXPF 1
8562 _ACEOF
8563
8564 fi
8565
8566 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
8567 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
8568 if test "${ac_cv_lib_m_hypotf+set}" = set; then
8569 echo $ECHO_N "(cached) $ECHO_C" >&6
8570 else
8571 ac_check_lib_save_LIBS=$LIBS
8572 LIBS="-lm $LIBS"
8573 cat >conftest.$ac_ext <<_ACEOF
8574 /* confdefs.h. */
8575 _ACEOF
8576 cat confdefs.h >>conftest.$ac_ext
8577 cat >>conftest.$ac_ext <<_ACEOF
8578 /* end confdefs.h. */
8579
8580 /* Override any gcc2 internal prototype to avoid an error. */
8581 #ifdef __cplusplus
8582 extern "C"
8583 #endif
8584 /* We use char because int might match the return type of a gcc2
8585 builtin and then its argument prototype would still apply. */
8586 char hypotf ();
8587 int
8588 main ()
8589 {
8590 hypotf ();
8591 ;
8592 return 0;
8593 }
8594 _ACEOF
8595 rm -f conftest.$ac_objext conftest$ac_exeext
8596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8597 (eval $ac_link) 2>conftest.er1
8598 ac_status=$?
8599 grep -v '^ *+' conftest.er1 >conftest.err
8600 rm -f conftest.er1
8601 cat conftest.err >&5
8602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8603 (exit $ac_status); } &&
8604 { ac_try='test -z "$ac_c_werror_flag"
8605 || test ! -s conftest.err'
8606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8607 (eval $ac_try) 2>&5
8608 ac_status=$?
8609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8610 (exit $ac_status); }; } &&
8611 { ac_try='test -s conftest$ac_exeext'
8612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8613 (eval $ac_try) 2>&5
8614 ac_status=$?
8615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8616 (exit $ac_status); }; }; then
8617 ac_cv_lib_m_hypotf=yes
8618 else
8619 echo "$as_me: failed program was:" >&5
8620 sed 's/^/| /' conftest.$ac_ext >&5
8621
8622 ac_cv_lib_m_hypotf=no
8623 fi
8624 rm -f conftest.err conftest.$ac_objext \
8625 conftest$ac_exeext conftest.$ac_ext
8626 LIBS=$ac_check_lib_save_LIBS
8627 fi
8628 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
8629 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
8630 if test $ac_cv_lib_m_hypotf = yes; then
8631
8632 cat >>confdefs.h <<\_ACEOF
8633 #define HAVE_HYPOTF 1
8634 _ACEOF
8635
8636 fi
8637
8638 echo "$as_me:$LINENO: checking for logf in -lm" >&5
8639 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
8640 if test "${ac_cv_lib_m_logf+set}" = set; then
8641 echo $ECHO_N "(cached) $ECHO_C" >&6
8642 else
8643 ac_check_lib_save_LIBS=$LIBS
8644 LIBS="-lm $LIBS"
8645 cat >conftest.$ac_ext <<_ACEOF
8646 /* confdefs.h. */
8647 _ACEOF
8648 cat confdefs.h >>conftest.$ac_ext
8649 cat >>conftest.$ac_ext <<_ACEOF
8650 /* end confdefs.h. */
8651
8652 /* Override any gcc2 internal prototype to avoid an error. */
8653 #ifdef __cplusplus
8654 extern "C"
8655 #endif
8656 /* We use char because int might match the return type of a gcc2
8657 builtin and then its argument prototype would still apply. */
8658 char logf ();
8659 int
8660 main ()
8661 {
8662 logf ();
8663 ;
8664 return 0;
8665 }
8666 _ACEOF
8667 rm -f conftest.$ac_objext conftest$ac_exeext
8668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8669 (eval $ac_link) 2>conftest.er1
8670 ac_status=$?
8671 grep -v '^ *+' conftest.er1 >conftest.err
8672 rm -f conftest.er1
8673 cat conftest.err >&5
8674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8675 (exit $ac_status); } &&
8676 { ac_try='test -z "$ac_c_werror_flag"
8677 || test ! -s conftest.err'
8678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8679 (eval $ac_try) 2>&5
8680 ac_status=$?
8681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8682 (exit $ac_status); }; } &&
8683 { ac_try='test -s conftest$ac_exeext'
8684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8685 (eval $ac_try) 2>&5
8686 ac_status=$?
8687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8688 (exit $ac_status); }; }; then
8689 ac_cv_lib_m_logf=yes
8690 else
8691 echo "$as_me: failed program was:" >&5
8692 sed 's/^/| /' conftest.$ac_ext >&5
8693
8694 ac_cv_lib_m_logf=no
8695 fi
8696 rm -f conftest.err conftest.$ac_objext \
8697 conftest$ac_exeext conftest.$ac_ext
8698 LIBS=$ac_check_lib_save_LIBS
8699 fi
8700 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
8701 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
8702 if test $ac_cv_lib_m_logf = yes; then
8703
8704 cat >>confdefs.h <<\_ACEOF
8705 #define HAVE_LOGF 1
8706 _ACEOF
8707
8708 fi
8709
8710 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
8711 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
8712 if test "${ac_cv_lib_m_log10f+set}" = set; then
8713 echo $ECHO_N "(cached) $ECHO_C" >&6
8714 else
8715 ac_check_lib_save_LIBS=$LIBS
8716 LIBS="-lm $LIBS"
8717 cat >conftest.$ac_ext <<_ACEOF
8718 /* confdefs.h. */
8719 _ACEOF
8720 cat confdefs.h >>conftest.$ac_ext
8721 cat >>conftest.$ac_ext <<_ACEOF
8722 /* end confdefs.h. */
8723
8724 /* Override any gcc2 internal prototype to avoid an error. */
8725 #ifdef __cplusplus
8726 extern "C"
8727 #endif
8728 /* We use char because int might match the return type of a gcc2
8729 builtin and then its argument prototype would still apply. */
8730 char log10f ();
8731 int
8732 main ()
8733 {
8734 log10f ();
8735 ;
8736 return 0;
8737 }
8738 _ACEOF
8739 rm -f conftest.$ac_objext conftest$ac_exeext
8740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8741 (eval $ac_link) 2>conftest.er1
8742 ac_status=$?
8743 grep -v '^ *+' conftest.er1 >conftest.err
8744 rm -f conftest.er1
8745 cat conftest.err >&5
8746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747 (exit $ac_status); } &&
8748 { ac_try='test -z "$ac_c_werror_flag"
8749 || test ! -s conftest.err'
8750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8751 (eval $ac_try) 2>&5
8752 ac_status=$?
8753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8754 (exit $ac_status); }; } &&
8755 { ac_try='test -s conftest$ac_exeext'
8756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8757 (eval $ac_try) 2>&5
8758 ac_status=$?
8759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8760 (exit $ac_status); }; }; then
8761 ac_cv_lib_m_log10f=yes
8762 else
8763 echo "$as_me: failed program was:" >&5
8764 sed 's/^/| /' conftest.$ac_ext >&5
8765
8766 ac_cv_lib_m_log10f=no
8767 fi
8768 rm -f conftest.err conftest.$ac_objext \
8769 conftest$ac_exeext conftest.$ac_ext
8770 LIBS=$ac_check_lib_save_LIBS
8771 fi
8772 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
8773 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
8774 if test $ac_cv_lib_m_log10f = yes; then
8775
8776 cat >>confdefs.h <<\_ACEOF
8777 #define HAVE_LOG10F 1
8778 _ACEOF
8779
8780 fi
8781
8782 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
8783 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
8784 if test "${ac_cv_lib_m_log10l+set}" = set; then
8785 echo $ECHO_N "(cached) $ECHO_C" >&6
8786 else
8787 ac_check_lib_save_LIBS=$LIBS
8788 LIBS="-lm $LIBS"
8789 cat >conftest.$ac_ext <<_ACEOF
8790 /* confdefs.h. */
8791 _ACEOF
8792 cat confdefs.h >>conftest.$ac_ext
8793 cat >>conftest.$ac_ext <<_ACEOF
8794 /* end confdefs.h. */
8795
8796 /* Override any gcc2 internal prototype to avoid an error. */
8797 #ifdef __cplusplus
8798 extern "C"
8799 #endif
8800 /* We use char because int might match the return type of a gcc2
8801 builtin and then its argument prototype would still apply. */
8802 char log10l ();
8803 int
8804 main ()
8805 {
8806 log10l ();
8807 ;
8808 return 0;
8809 }
8810 _ACEOF
8811 rm -f conftest.$ac_objext conftest$ac_exeext
8812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8813 (eval $ac_link) 2>conftest.er1
8814 ac_status=$?
8815 grep -v '^ *+' conftest.er1 >conftest.err
8816 rm -f conftest.er1
8817 cat conftest.err >&5
8818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8819 (exit $ac_status); } &&
8820 { ac_try='test -z "$ac_c_werror_flag"
8821 || test ! -s conftest.err'
8822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8823 (eval $ac_try) 2>&5
8824 ac_status=$?
8825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8826 (exit $ac_status); }; } &&
8827 { ac_try='test -s conftest$ac_exeext'
8828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8829 (eval $ac_try) 2>&5
8830 ac_status=$?
8831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8832 (exit $ac_status); }; }; then
8833 ac_cv_lib_m_log10l=yes
8834 else
8835 echo "$as_me: failed program was:" >&5
8836 sed 's/^/| /' conftest.$ac_ext >&5
8837
8838 ac_cv_lib_m_log10l=no
8839 fi
8840 rm -f conftest.err conftest.$ac_objext \
8841 conftest$ac_exeext conftest.$ac_ext
8842 LIBS=$ac_check_lib_save_LIBS
8843 fi
8844 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
8845 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
8846 if test $ac_cv_lib_m_log10l = yes; then
8847
8848 cat >>confdefs.h <<\_ACEOF
8849 #define HAVE_LOG10L 1
8850 _ACEOF
8851
8852 fi
8853
8854 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
8855 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
8856 if test "${ac_cv_lib_m_nextafter+set}" = set; then
8857 echo $ECHO_N "(cached) $ECHO_C" >&6
8858 else
8859 ac_check_lib_save_LIBS=$LIBS
8860 LIBS="-lm $LIBS"
8861 cat >conftest.$ac_ext <<_ACEOF
8862 /* confdefs.h. */
8863 _ACEOF
8864 cat confdefs.h >>conftest.$ac_ext
8865 cat >>conftest.$ac_ext <<_ACEOF
8866 /* end confdefs.h. */
8867
8868 /* Override any gcc2 internal prototype to avoid an error. */
8869 #ifdef __cplusplus
8870 extern "C"
8871 #endif
8872 /* We use char because int might match the return type of a gcc2
8873 builtin and then its argument prototype would still apply. */
8874 char nextafter ();
8875 int
8876 main ()
8877 {
8878 nextafter ();
8879 ;
8880 return 0;
8881 }
8882 _ACEOF
8883 rm -f conftest.$ac_objext conftest$ac_exeext
8884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8885 (eval $ac_link) 2>conftest.er1
8886 ac_status=$?
8887 grep -v '^ *+' conftest.er1 >conftest.err
8888 rm -f conftest.er1
8889 cat conftest.err >&5
8890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8891 (exit $ac_status); } &&
8892 { ac_try='test -z "$ac_c_werror_flag"
8893 || test ! -s conftest.err'
8894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8895 (eval $ac_try) 2>&5
8896 ac_status=$?
8897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8898 (exit $ac_status); }; } &&
8899 { ac_try='test -s conftest$ac_exeext'
8900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8901 (eval $ac_try) 2>&5
8902 ac_status=$?
8903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904 (exit $ac_status); }; }; then
8905 ac_cv_lib_m_nextafter=yes
8906 else
8907 echo "$as_me: failed program was:" >&5
8908 sed 's/^/| /' conftest.$ac_ext >&5
8909
8910 ac_cv_lib_m_nextafter=no
8911 fi
8912 rm -f conftest.err conftest.$ac_objext \
8913 conftest$ac_exeext conftest.$ac_ext
8914 LIBS=$ac_check_lib_save_LIBS
8915 fi
8916 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
8917 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
8918 if test $ac_cv_lib_m_nextafter = yes; then
8919
8920 cat >>confdefs.h <<\_ACEOF
8921 #define HAVE_NEXTAFTER 1
8922 _ACEOF
8923
8924 fi
8925
8926 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
8927 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
8928 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
8929 echo $ECHO_N "(cached) $ECHO_C" >&6
8930 else
8931 ac_check_lib_save_LIBS=$LIBS
8932 LIBS="-lm $LIBS"
8933 cat >conftest.$ac_ext <<_ACEOF
8934 /* confdefs.h. */
8935 _ACEOF
8936 cat confdefs.h >>conftest.$ac_ext
8937 cat >>conftest.$ac_ext <<_ACEOF
8938 /* end confdefs.h. */
8939
8940 /* Override any gcc2 internal prototype to avoid an error. */
8941 #ifdef __cplusplus
8942 extern "C"
8943 #endif
8944 /* We use char because int might match the return type of a gcc2
8945 builtin and then its argument prototype would still apply. */
8946 char nextafterf ();
8947 int
8948 main ()
8949 {
8950 nextafterf ();
8951 ;
8952 return 0;
8953 }
8954 _ACEOF
8955 rm -f conftest.$ac_objext conftest$ac_exeext
8956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8957 (eval $ac_link) 2>conftest.er1
8958 ac_status=$?
8959 grep -v '^ *+' conftest.er1 >conftest.err
8960 rm -f conftest.er1
8961 cat conftest.err >&5
8962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8963 (exit $ac_status); } &&
8964 { ac_try='test -z "$ac_c_werror_flag"
8965 || test ! -s conftest.err'
8966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8967 (eval $ac_try) 2>&5
8968 ac_status=$?
8969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8970 (exit $ac_status); }; } &&
8971 { ac_try='test -s conftest$ac_exeext'
8972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8973 (eval $ac_try) 2>&5
8974 ac_status=$?
8975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8976 (exit $ac_status); }; }; then
8977 ac_cv_lib_m_nextafterf=yes
8978 else
8979 echo "$as_me: failed program was:" >&5
8980 sed 's/^/| /' conftest.$ac_ext >&5
8981
8982 ac_cv_lib_m_nextafterf=no
8983 fi
8984 rm -f conftest.err conftest.$ac_objext \
8985 conftest$ac_exeext conftest.$ac_ext
8986 LIBS=$ac_check_lib_save_LIBS
8987 fi
8988 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
8989 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
8990 if test $ac_cv_lib_m_nextafterf = yes; then
8991
8992 cat >>confdefs.h <<\_ACEOF
8993 #define HAVE_NEXTAFTERF 1
8994 _ACEOF
8995
8996 fi
8997
8998 echo "$as_me:$LINENO: checking for powf in -lm" >&5
8999 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
9000 if test "${ac_cv_lib_m_powf+set}" = set; then
9001 echo $ECHO_N "(cached) $ECHO_C" >&6
9002 else
9003 ac_check_lib_save_LIBS=$LIBS
9004 LIBS="-lm $LIBS"
9005 cat >conftest.$ac_ext <<_ACEOF
9006 /* confdefs.h. */
9007 _ACEOF
9008 cat confdefs.h >>conftest.$ac_ext
9009 cat >>conftest.$ac_ext <<_ACEOF
9010 /* end confdefs.h. */
9011
9012 /* Override any gcc2 internal prototype to avoid an error. */
9013 #ifdef __cplusplus
9014 extern "C"
9015 #endif
9016 /* We use char because int might match the return type of a gcc2
9017 builtin and then its argument prototype would still apply. */
9018 char powf ();
9019 int
9020 main ()
9021 {
9022 powf ();
9023 ;
9024 return 0;
9025 }
9026 _ACEOF
9027 rm -f conftest.$ac_objext conftest$ac_exeext
9028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9029 (eval $ac_link) 2>conftest.er1
9030 ac_status=$?
9031 grep -v '^ *+' conftest.er1 >conftest.err
9032 rm -f conftest.er1
9033 cat conftest.err >&5
9034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9035 (exit $ac_status); } &&
9036 { ac_try='test -z "$ac_c_werror_flag"
9037 || test ! -s conftest.err'
9038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9039 (eval $ac_try) 2>&5
9040 ac_status=$?
9041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9042 (exit $ac_status); }; } &&
9043 { ac_try='test -s conftest$ac_exeext'
9044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9045 (eval $ac_try) 2>&5
9046 ac_status=$?
9047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048 (exit $ac_status); }; }; then
9049 ac_cv_lib_m_powf=yes
9050 else
9051 echo "$as_me: failed program was:" >&5
9052 sed 's/^/| /' conftest.$ac_ext >&5
9053
9054 ac_cv_lib_m_powf=no
9055 fi
9056 rm -f conftest.err conftest.$ac_objext \
9057 conftest$ac_exeext conftest.$ac_ext
9058 LIBS=$ac_check_lib_save_LIBS
9059 fi
9060 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
9061 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
9062 if test $ac_cv_lib_m_powf = yes; then
9063
9064 cat >>confdefs.h <<\_ACEOF
9065 #define HAVE_POWF 1
9066 _ACEOF
9067
9068 fi
9069
9070 echo "$as_me:$LINENO: checking for round in -lm" >&5
9071 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
9072 if test "${ac_cv_lib_m_round+set}" = set; then
9073 echo $ECHO_N "(cached) $ECHO_C" >&6
9074 else
9075 ac_check_lib_save_LIBS=$LIBS
9076 LIBS="-lm $LIBS"
9077 cat >conftest.$ac_ext <<_ACEOF
9078 /* confdefs.h. */
9079 _ACEOF
9080 cat confdefs.h >>conftest.$ac_ext
9081 cat >>conftest.$ac_ext <<_ACEOF
9082 /* end confdefs.h. */
9083
9084 /* Override any gcc2 internal prototype to avoid an error. */
9085 #ifdef __cplusplus
9086 extern "C"
9087 #endif
9088 /* We use char because int might match the return type of a gcc2
9089 builtin and then its argument prototype would still apply. */
9090 char round ();
9091 int
9092 main ()
9093 {
9094 round ();
9095 ;
9096 return 0;
9097 }
9098 _ACEOF
9099 rm -f conftest.$ac_objext conftest$ac_exeext
9100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9101 (eval $ac_link) 2>conftest.er1
9102 ac_status=$?
9103 grep -v '^ *+' conftest.er1 >conftest.err
9104 rm -f conftest.er1
9105 cat conftest.err >&5
9106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9107 (exit $ac_status); } &&
9108 { ac_try='test -z "$ac_c_werror_flag"
9109 || test ! -s conftest.err'
9110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9111 (eval $ac_try) 2>&5
9112 ac_status=$?
9113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9114 (exit $ac_status); }; } &&
9115 { ac_try='test -s conftest$ac_exeext'
9116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9117 (eval $ac_try) 2>&5
9118 ac_status=$?
9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120 (exit $ac_status); }; }; then
9121 ac_cv_lib_m_round=yes
9122 else
9123 echo "$as_me: failed program was:" >&5
9124 sed 's/^/| /' conftest.$ac_ext >&5
9125
9126 ac_cv_lib_m_round=no
9127 fi
9128 rm -f conftest.err conftest.$ac_objext \
9129 conftest$ac_exeext conftest.$ac_ext
9130 LIBS=$ac_check_lib_save_LIBS
9131 fi
9132 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
9133 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
9134 if test $ac_cv_lib_m_round = yes; then
9135
9136 cat >>confdefs.h <<\_ACEOF
9137 #define HAVE_ROUND 1
9138 _ACEOF
9139
9140 fi
9141
9142 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
9143 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
9144 if test "${ac_cv_lib_m_roundf+set}" = set; then
9145 echo $ECHO_N "(cached) $ECHO_C" >&6
9146 else
9147 ac_check_lib_save_LIBS=$LIBS
9148 LIBS="-lm $LIBS"
9149 cat >conftest.$ac_ext <<_ACEOF
9150 /* confdefs.h. */
9151 _ACEOF
9152 cat confdefs.h >>conftest.$ac_ext
9153 cat >>conftest.$ac_ext <<_ACEOF
9154 /* end confdefs.h. */
9155
9156 /* Override any gcc2 internal prototype to avoid an error. */
9157 #ifdef __cplusplus
9158 extern "C"
9159 #endif
9160 /* We use char because int might match the return type of a gcc2
9161 builtin and then its argument prototype would still apply. */
9162 char roundf ();
9163 int
9164 main ()
9165 {
9166 roundf ();
9167 ;
9168 return 0;
9169 }
9170 _ACEOF
9171 rm -f conftest.$ac_objext conftest$ac_exeext
9172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9173 (eval $ac_link) 2>conftest.er1
9174 ac_status=$?
9175 grep -v '^ *+' conftest.er1 >conftest.err
9176 rm -f conftest.er1
9177 cat conftest.err >&5
9178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9179 (exit $ac_status); } &&
9180 { ac_try='test -z "$ac_c_werror_flag"
9181 || test ! -s conftest.err'
9182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9183 (eval $ac_try) 2>&5
9184 ac_status=$?
9185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9186 (exit $ac_status); }; } &&
9187 { ac_try='test -s conftest$ac_exeext'
9188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9189 (eval $ac_try) 2>&5
9190 ac_status=$?
9191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9192 (exit $ac_status); }; }; then
9193 ac_cv_lib_m_roundf=yes
9194 else
9195 echo "$as_me: failed program was:" >&5
9196 sed 's/^/| /' conftest.$ac_ext >&5
9197
9198 ac_cv_lib_m_roundf=no
9199 fi
9200 rm -f conftest.err conftest.$ac_objext \
9201 conftest$ac_exeext conftest.$ac_ext
9202 LIBS=$ac_check_lib_save_LIBS
9203 fi
9204 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
9205 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
9206 if test $ac_cv_lib_m_roundf = yes; then
9207
9208 cat >>confdefs.h <<\_ACEOF
9209 #define HAVE_ROUNDF 1
9210 _ACEOF
9211
9212 fi
9213
9214 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
9215 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
9216 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
9217 echo $ECHO_N "(cached) $ECHO_C" >&6
9218 else
9219 ac_check_lib_save_LIBS=$LIBS
9220 LIBS="-lm $LIBS"
9221 cat >conftest.$ac_ext <<_ACEOF
9222 /* confdefs.h. */
9223 _ACEOF
9224 cat confdefs.h >>conftest.$ac_ext
9225 cat >>conftest.$ac_ext <<_ACEOF
9226 /* end confdefs.h. */
9227
9228 /* Override any gcc2 internal prototype to avoid an error. */
9229 #ifdef __cplusplus
9230 extern "C"
9231 #endif
9232 /* We use char because int might match the return type of a gcc2
9233 builtin and then its argument prototype would still apply. */
9234 char scalbnf ();
9235 int
9236 main ()
9237 {
9238 scalbnf ();
9239 ;
9240 return 0;
9241 }
9242 _ACEOF
9243 rm -f conftest.$ac_objext conftest$ac_exeext
9244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9245 (eval $ac_link) 2>conftest.er1
9246 ac_status=$?
9247 grep -v '^ *+' conftest.er1 >conftest.err
9248 rm -f conftest.er1
9249 cat conftest.err >&5
9250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9251 (exit $ac_status); } &&
9252 { ac_try='test -z "$ac_c_werror_flag"
9253 || test ! -s conftest.err'
9254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9255 (eval $ac_try) 2>&5
9256 ac_status=$?
9257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9258 (exit $ac_status); }; } &&
9259 { ac_try='test -s conftest$ac_exeext'
9260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9261 (eval $ac_try) 2>&5
9262 ac_status=$?
9263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9264 (exit $ac_status); }; }; then
9265 ac_cv_lib_m_scalbnf=yes
9266 else
9267 echo "$as_me: failed program was:" >&5
9268 sed 's/^/| /' conftest.$ac_ext >&5
9269
9270 ac_cv_lib_m_scalbnf=no
9271 fi
9272 rm -f conftest.err conftest.$ac_objext \
9273 conftest$ac_exeext conftest.$ac_ext
9274 LIBS=$ac_check_lib_save_LIBS
9275 fi
9276 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
9277 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
9278 if test $ac_cv_lib_m_scalbnf = yes; then
9279
9280 cat >>confdefs.h <<\_ACEOF
9281 #define HAVE_SCALBNF 1
9282 _ACEOF
9283
9284 fi
9285
9286 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
9287 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
9288 if test "${ac_cv_lib_m_scalbn+set}" = set; then
9289 echo $ECHO_N "(cached) $ECHO_C" >&6
9290 else
9291 ac_check_lib_save_LIBS=$LIBS
9292 LIBS="-lm $LIBS"
9293 cat >conftest.$ac_ext <<_ACEOF
9294 /* confdefs.h. */
9295 _ACEOF
9296 cat confdefs.h >>conftest.$ac_ext
9297 cat >>conftest.$ac_ext <<_ACEOF
9298 /* end confdefs.h. */
9299
9300 /* Override any gcc2 internal prototype to avoid an error. */
9301 #ifdef __cplusplus
9302 extern "C"
9303 #endif
9304 /* We use char because int might match the return type of a gcc2
9305 builtin and then its argument prototype would still apply. */
9306 char scalbn ();
9307 int
9308 main ()
9309 {
9310 scalbn ();
9311 ;
9312 return 0;
9313 }
9314 _ACEOF
9315 rm -f conftest.$ac_objext conftest$ac_exeext
9316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9317 (eval $ac_link) 2>conftest.er1
9318 ac_status=$?
9319 grep -v '^ *+' conftest.er1 >conftest.err
9320 rm -f conftest.er1
9321 cat conftest.err >&5
9322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9323 (exit $ac_status); } &&
9324 { ac_try='test -z "$ac_c_werror_flag"
9325 || test ! -s conftest.err'
9326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9327 (eval $ac_try) 2>&5
9328 ac_status=$?
9329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9330 (exit $ac_status); }; } &&
9331 { ac_try='test -s conftest$ac_exeext'
9332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9333 (eval $ac_try) 2>&5
9334 ac_status=$?
9335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9336 (exit $ac_status); }; }; then
9337 ac_cv_lib_m_scalbn=yes
9338 else
9339 echo "$as_me: failed program was:" >&5
9340 sed 's/^/| /' conftest.$ac_ext >&5
9341
9342 ac_cv_lib_m_scalbn=no
9343 fi
9344 rm -f conftest.err conftest.$ac_objext \
9345 conftest$ac_exeext conftest.$ac_ext
9346 LIBS=$ac_check_lib_save_LIBS
9347 fi
9348 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
9349 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
9350 if test $ac_cv_lib_m_scalbn = yes; then
9351
9352 cat >>confdefs.h <<\_ACEOF
9353 #define HAVE_SCALBN 1
9354 _ACEOF
9355
9356 fi
9357
9358 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
9359 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
9360 if test "${ac_cv_lib_m_sinf+set}" = set; then
9361 echo $ECHO_N "(cached) $ECHO_C" >&6
9362 else
9363 ac_check_lib_save_LIBS=$LIBS
9364 LIBS="-lm $LIBS"
9365 cat >conftest.$ac_ext <<_ACEOF
9366 /* confdefs.h. */
9367 _ACEOF
9368 cat confdefs.h >>conftest.$ac_ext
9369 cat >>conftest.$ac_ext <<_ACEOF
9370 /* end confdefs.h. */
9371
9372 /* Override any gcc2 internal prototype to avoid an error. */
9373 #ifdef __cplusplus
9374 extern "C"
9375 #endif
9376 /* We use char because int might match the return type of a gcc2
9377 builtin and then its argument prototype would still apply. */
9378 char sinf ();
9379 int
9380 main ()
9381 {
9382 sinf ();
9383 ;
9384 return 0;
9385 }
9386 _ACEOF
9387 rm -f conftest.$ac_objext conftest$ac_exeext
9388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9389 (eval $ac_link) 2>conftest.er1
9390 ac_status=$?
9391 grep -v '^ *+' conftest.er1 >conftest.err
9392 rm -f conftest.er1
9393 cat conftest.err >&5
9394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9395 (exit $ac_status); } &&
9396 { ac_try='test -z "$ac_c_werror_flag"
9397 || test ! -s conftest.err'
9398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9399 (eval $ac_try) 2>&5
9400 ac_status=$?
9401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9402 (exit $ac_status); }; } &&
9403 { ac_try='test -s conftest$ac_exeext'
9404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9405 (eval $ac_try) 2>&5
9406 ac_status=$?
9407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9408 (exit $ac_status); }; }; then
9409 ac_cv_lib_m_sinf=yes
9410 else
9411 echo "$as_me: failed program was:" >&5
9412 sed 's/^/| /' conftest.$ac_ext >&5
9413
9414 ac_cv_lib_m_sinf=no
9415 fi
9416 rm -f conftest.err conftest.$ac_objext \
9417 conftest$ac_exeext conftest.$ac_ext
9418 LIBS=$ac_check_lib_save_LIBS
9419 fi
9420 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
9421 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
9422 if test $ac_cv_lib_m_sinf = yes; then
9423
9424 cat >>confdefs.h <<\_ACEOF
9425 #define HAVE_SINF 1
9426 _ACEOF
9427
9428 fi
9429
9430 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
9431 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
9432 if test "${ac_cv_lib_m_sinhf+set}" = set; then
9433 echo $ECHO_N "(cached) $ECHO_C" >&6
9434 else
9435 ac_check_lib_save_LIBS=$LIBS
9436 LIBS="-lm $LIBS"
9437 cat >conftest.$ac_ext <<_ACEOF
9438 /* confdefs.h. */
9439 _ACEOF
9440 cat confdefs.h >>conftest.$ac_ext
9441 cat >>conftest.$ac_ext <<_ACEOF
9442 /* end confdefs.h. */
9443
9444 /* Override any gcc2 internal prototype to avoid an error. */
9445 #ifdef __cplusplus
9446 extern "C"
9447 #endif
9448 /* We use char because int might match the return type of a gcc2
9449 builtin and then its argument prototype would still apply. */
9450 char sinhf ();
9451 int
9452 main ()
9453 {
9454 sinhf ();
9455 ;
9456 return 0;
9457 }
9458 _ACEOF
9459 rm -f conftest.$ac_objext conftest$ac_exeext
9460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9461 (eval $ac_link) 2>conftest.er1
9462 ac_status=$?
9463 grep -v '^ *+' conftest.er1 >conftest.err
9464 rm -f conftest.er1
9465 cat conftest.err >&5
9466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9467 (exit $ac_status); } &&
9468 { ac_try='test -z "$ac_c_werror_flag"
9469 || test ! -s conftest.err'
9470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9471 (eval $ac_try) 2>&5
9472 ac_status=$?
9473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9474 (exit $ac_status); }; } &&
9475 { ac_try='test -s conftest$ac_exeext'
9476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9477 (eval $ac_try) 2>&5
9478 ac_status=$?
9479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9480 (exit $ac_status); }; }; then
9481 ac_cv_lib_m_sinhf=yes
9482 else
9483 echo "$as_me: failed program was:" >&5
9484 sed 's/^/| /' conftest.$ac_ext >&5
9485
9486 ac_cv_lib_m_sinhf=no
9487 fi
9488 rm -f conftest.err conftest.$ac_objext \
9489 conftest$ac_exeext conftest.$ac_ext
9490 LIBS=$ac_check_lib_save_LIBS
9491 fi
9492 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
9493 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
9494 if test $ac_cv_lib_m_sinhf = yes; then
9495
9496 cat >>confdefs.h <<\_ACEOF
9497 #define HAVE_SINHF 1
9498 _ACEOF
9499
9500 fi
9501
9502 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
9503 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
9504 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
9505 echo $ECHO_N "(cached) $ECHO_C" >&6
9506 else
9507 ac_check_lib_save_LIBS=$LIBS
9508 LIBS="-lm $LIBS"
9509 cat >conftest.$ac_ext <<_ACEOF
9510 /* confdefs.h. */
9511 _ACEOF
9512 cat confdefs.h >>conftest.$ac_ext
9513 cat >>conftest.$ac_ext <<_ACEOF
9514 /* end confdefs.h. */
9515
9516 /* Override any gcc2 internal prototype to avoid an error. */
9517 #ifdef __cplusplus
9518 extern "C"
9519 #endif
9520 /* We use char because int might match the return type of a gcc2
9521 builtin and then its argument prototype would still apply. */
9522 char sqrtf ();
9523 int
9524 main ()
9525 {
9526 sqrtf ();
9527 ;
9528 return 0;
9529 }
9530 _ACEOF
9531 rm -f conftest.$ac_objext conftest$ac_exeext
9532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9533 (eval $ac_link) 2>conftest.er1
9534 ac_status=$?
9535 grep -v '^ *+' conftest.er1 >conftest.err
9536 rm -f conftest.er1
9537 cat conftest.err >&5
9538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9539 (exit $ac_status); } &&
9540 { ac_try='test -z "$ac_c_werror_flag"
9541 || test ! -s conftest.err'
9542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9543 (eval $ac_try) 2>&5
9544 ac_status=$?
9545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9546 (exit $ac_status); }; } &&
9547 { ac_try='test -s conftest$ac_exeext'
9548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9549 (eval $ac_try) 2>&5
9550 ac_status=$?
9551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9552 (exit $ac_status); }; }; then
9553 ac_cv_lib_m_sqrtf=yes
9554 else
9555 echo "$as_me: failed program was:" >&5
9556 sed 's/^/| /' conftest.$ac_ext >&5
9557
9558 ac_cv_lib_m_sqrtf=no
9559 fi
9560 rm -f conftest.err conftest.$ac_objext \
9561 conftest$ac_exeext conftest.$ac_ext
9562 LIBS=$ac_check_lib_save_LIBS
9563 fi
9564 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
9565 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
9566 if test $ac_cv_lib_m_sqrtf = yes; then
9567
9568 cat >>confdefs.h <<\_ACEOF
9569 #define HAVE_SQRTF 1
9570 _ACEOF
9571
9572 fi
9573
9574 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
9575 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
9576 if test "${ac_cv_lib_m_tanf+set}" = set; then
9577 echo $ECHO_N "(cached) $ECHO_C" >&6
9578 else
9579 ac_check_lib_save_LIBS=$LIBS
9580 LIBS="-lm $LIBS"
9581 cat >conftest.$ac_ext <<_ACEOF
9582 /* confdefs.h. */
9583 _ACEOF
9584 cat confdefs.h >>conftest.$ac_ext
9585 cat >>conftest.$ac_ext <<_ACEOF
9586 /* end confdefs.h. */
9587
9588 /* Override any gcc2 internal prototype to avoid an error. */
9589 #ifdef __cplusplus
9590 extern "C"
9591 #endif
9592 /* We use char because int might match the return type of a gcc2
9593 builtin and then its argument prototype would still apply. */
9594 char tanf ();
9595 int
9596 main ()
9597 {
9598 tanf ();
9599 ;
9600 return 0;
9601 }
9602 _ACEOF
9603 rm -f conftest.$ac_objext conftest$ac_exeext
9604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9605 (eval $ac_link) 2>conftest.er1
9606 ac_status=$?
9607 grep -v '^ *+' conftest.er1 >conftest.err
9608 rm -f conftest.er1
9609 cat conftest.err >&5
9610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9611 (exit $ac_status); } &&
9612 { ac_try='test -z "$ac_c_werror_flag"
9613 || test ! -s conftest.err'
9614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9615 (eval $ac_try) 2>&5
9616 ac_status=$?
9617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9618 (exit $ac_status); }; } &&
9619 { ac_try='test -s conftest$ac_exeext'
9620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9621 (eval $ac_try) 2>&5
9622 ac_status=$?
9623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9624 (exit $ac_status); }; }; then
9625 ac_cv_lib_m_tanf=yes
9626 else
9627 echo "$as_me: failed program was:" >&5
9628 sed 's/^/| /' conftest.$ac_ext >&5
9629
9630 ac_cv_lib_m_tanf=no
9631 fi
9632 rm -f conftest.err conftest.$ac_objext \
9633 conftest$ac_exeext conftest.$ac_ext
9634 LIBS=$ac_check_lib_save_LIBS
9635 fi
9636 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
9637 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
9638 if test $ac_cv_lib_m_tanf = yes; then
9639
9640 cat >>confdefs.h <<\_ACEOF
9641 #define HAVE_TANF 1
9642 _ACEOF
9643
9644 fi
9645
9646 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
9647 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
9648 if test "${ac_cv_lib_m_tanhf+set}" = set; then
9649 echo $ECHO_N "(cached) $ECHO_C" >&6
9650 else
9651 ac_check_lib_save_LIBS=$LIBS
9652 LIBS="-lm $LIBS"
9653 cat >conftest.$ac_ext <<_ACEOF
9654 /* confdefs.h. */
9655 _ACEOF
9656 cat confdefs.h >>conftest.$ac_ext
9657 cat >>conftest.$ac_ext <<_ACEOF
9658 /* end confdefs.h. */
9659
9660 /* Override any gcc2 internal prototype to avoid an error. */
9661 #ifdef __cplusplus
9662 extern "C"
9663 #endif
9664 /* We use char because int might match the return type of a gcc2
9665 builtin and then its argument prototype would still apply. */
9666 char tanhf ();
9667 int
9668 main ()
9669 {
9670 tanhf ();
9671 ;
9672 return 0;
9673 }
9674 _ACEOF
9675 rm -f conftest.$ac_objext conftest$ac_exeext
9676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9677 (eval $ac_link) 2>conftest.er1
9678 ac_status=$?
9679 grep -v '^ *+' conftest.er1 >conftest.err
9680 rm -f conftest.er1
9681 cat conftest.err >&5
9682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9683 (exit $ac_status); } &&
9684 { ac_try='test -z "$ac_c_werror_flag"
9685 || test ! -s conftest.err'
9686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9687 (eval $ac_try) 2>&5
9688 ac_status=$?
9689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9690 (exit $ac_status); }; } &&
9691 { ac_try='test -s conftest$ac_exeext'
9692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9693 (eval $ac_try) 2>&5
9694 ac_status=$?
9695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9696 (exit $ac_status); }; }; then
9697 ac_cv_lib_m_tanhf=yes
9698 else
9699 echo "$as_me: failed program was:" >&5
9700 sed 's/^/| /' conftest.$ac_ext >&5
9701
9702 ac_cv_lib_m_tanhf=no
9703 fi
9704 rm -f conftest.err conftest.$ac_objext \
9705 conftest$ac_exeext conftest.$ac_ext
9706 LIBS=$ac_check_lib_save_LIBS
9707 fi
9708 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
9709 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
9710 if test $ac_cv_lib_m_tanhf = yes; then
9711
9712 cat >>confdefs.h <<\_ACEOF
9713 #define HAVE_TANHF 1
9714 _ACEOF
9715
9716 fi
9717
9718 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
9719 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
9720 if test "${ac_cv_lib_m_trunc+set}" = set; then
9721 echo $ECHO_N "(cached) $ECHO_C" >&6
9722 else
9723 ac_check_lib_save_LIBS=$LIBS
9724 LIBS="-lm $LIBS"
9725 cat >conftest.$ac_ext <<_ACEOF
9726 /* confdefs.h. */
9727 _ACEOF
9728 cat confdefs.h >>conftest.$ac_ext
9729 cat >>conftest.$ac_ext <<_ACEOF
9730 /* end confdefs.h. */
9731
9732 /* Override any gcc2 internal prototype to avoid an error. */
9733 #ifdef __cplusplus
9734 extern "C"
9735 #endif
9736 /* We use char because int might match the return type of a gcc2
9737 builtin and then its argument prototype would still apply. */
9738 char trunc ();
9739 int
9740 main ()
9741 {
9742 trunc ();
9743 ;
9744 return 0;
9745 }
9746 _ACEOF
9747 rm -f conftest.$ac_objext conftest$ac_exeext
9748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9749 (eval $ac_link) 2>conftest.er1
9750 ac_status=$?
9751 grep -v '^ *+' conftest.er1 >conftest.err
9752 rm -f conftest.er1
9753 cat conftest.err >&5
9754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9755 (exit $ac_status); } &&
9756 { ac_try='test -z "$ac_c_werror_flag"
9757 || test ! -s conftest.err'
9758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9759 (eval $ac_try) 2>&5
9760 ac_status=$?
9761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762 (exit $ac_status); }; } &&
9763 { ac_try='test -s conftest$ac_exeext'
9764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9765 (eval $ac_try) 2>&5
9766 ac_status=$?
9767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9768 (exit $ac_status); }; }; then
9769 ac_cv_lib_m_trunc=yes
9770 else
9771 echo "$as_me: failed program was:" >&5
9772 sed 's/^/| /' conftest.$ac_ext >&5
9773
9774 ac_cv_lib_m_trunc=no
9775 fi
9776 rm -f conftest.err conftest.$ac_objext \
9777 conftest$ac_exeext conftest.$ac_ext
9778 LIBS=$ac_check_lib_save_LIBS
9779 fi
9780 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
9781 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
9782 if test $ac_cv_lib_m_trunc = yes; then
9783
9784 cat >>confdefs.h <<\_ACEOF
9785 #define HAVE_TRUNC 1
9786 _ACEOF
9787
9788 fi
9789
9790 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
9791 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
9792 if test "${ac_cv_lib_m_truncf+set}" = set; then
9793 echo $ECHO_N "(cached) $ECHO_C" >&6
9794 else
9795 ac_check_lib_save_LIBS=$LIBS
9796 LIBS="-lm $LIBS"
9797 cat >conftest.$ac_ext <<_ACEOF
9798 /* confdefs.h. */
9799 _ACEOF
9800 cat confdefs.h >>conftest.$ac_ext
9801 cat >>conftest.$ac_ext <<_ACEOF
9802 /* end confdefs.h. */
9803
9804 /* Override any gcc2 internal prototype to avoid an error. */
9805 #ifdef __cplusplus
9806 extern "C"
9807 #endif
9808 /* We use char because int might match the return type of a gcc2
9809 builtin and then its argument prototype would still apply. */
9810 char truncf ();
9811 int
9812 main ()
9813 {
9814 truncf ();
9815 ;
9816 return 0;
9817 }
9818 _ACEOF
9819 rm -f conftest.$ac_objext conftest$ac_exeext
9820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9821 (eval $ac_link) 2>conftest.er1
9822 ac_status=$?
9823 grep -v '^ *+' conftest.er1 >conftest.err
9824 rm -f conftest.er1
9825 cat conftest.err >&5
9826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9827 (exit $ac_status); } &&
9828 { ac_try='test -z "$ac_c_werror_flag"
9829 || test ! -s conftest.err'
9830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9831 (eval $ac_try) 2>&5
9832 ac_status=$?
9833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9834 (exit $ac_status); }; } &&
9835 { ac_try='test -s conftest$ac_exeext'
9836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9837 (eval $ac_try) 2>&5
9838 ac_status=$?
9839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840 (exit $ac_status); }; }; then
9841 ac_cv_lib_m_truncf=yes
9842 else
9843 echo "$as_me: failed program was:" >&5
9844 sed 's/^/| /' conftest.$ac_ext >&5
9845
9846 ac_cv_lib_m_truncf=no
9847 fi
9848 rm -f conftest.err conftest.$ac_objext \
9849 conftest$ac_exeext conftest.$ac_ext
9850 LIBS=$ac_check_lib_save_LIBS
9851 fi
9852 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
9853 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
9854 if test $ac_cv_lib_m_truncf = yes; then
9855
9856 cat >>confdefs.h <<\_ACEOF
9857 #define HAVE_TRUNCF 1
9858 _ACEOF
9859
9860 fi
9861
9862 echo "$as_me:$LINENO: checking for erf in -lm" >&5
9863 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
9864 if test "${ac_cv_lib_m_erf+set}" = set; then
9865 echo $ECHO_N "(cached) $ECHO_C" >&6
9866 else
9867 ac_check_lib_save_LIBS=$LIBS
9868 LIBS="-lm $LIBS"
9869 cat >conftest.$ac_ext <<_ACEOF
9870 /* confdefs.h. */
9871 _ACEOF
9872 cat confdefs.h >>conftest.$ac_ext
9873 cat >>conftest.$ac_ext <<_ACEOF
9874 /* end confdefs.h. */
9875
9876 /* Override any gcc2 internal prototype to avoid an error. */
9877 #ifdef __cplusplus
9878 extern "C"
9879 #endif
9880 /* We use char because int might match the return type of a gcc2
9881 builtin and then its argument prototype would still apply. */
9882 char erf ();
9883 int
9884 main ()
9885 {
9886 erf ();
9887 ;
9888 return 0;
9889 }
9890 _ACEOF
9891 rm -f conftest.$ac_objext conftest$ac_exeext
9892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9893 (eval $ac_link) 2>conftest.er1
9894 ac_status=$?
9895 grep -v '^ *+' conftest.er1 >conftest.err
9896 rm -f conftest.er1
9897 cat conftest.err >&5
9898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9899 (exit $ac_status); } &&
9900 { ac_try='test -z "$ac_c_werror_flag"
9901 || test ! -s conftest.err'
9902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9903 (eval $ac_try) 2>&5
9904 ac_status=$?
9905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9906 (exit $ac_status); }; } &&
9907 { ac_try='test -s conftest$ac_exeext'
9908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9909 (eval $ac_try) 2>&5
9910 ac_status=$?
9911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9912 (exit $ac_status); }; }; then
9913 ac_cv_lib_m_erf=yes
9914 else
9915 echo "$as_me: failed program was:" >&5
9916 sed 's/^/| /' conftest.$ac_ext >&5
9917
9918 ac_cv_lib_m_erf=no
9919 fi
9920 rm -f conftest.err conftest.$ac_objext \
9921 conftest$ac_exeext conftest.$ac_ext
9922 LIBS=$ac_check_lib_save_LIBS
9923 fi
9924 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
9925 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
9926 if test $ac_cv_lib_m_erf = yes; then
9927
9928 cat >>confdefs.h <<\_ACEOF
9929 #define HAVE_ERF 1
9930 _ACEOF
9931
9932 fi
9933
9934 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
9935 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
9936 if test "${ac_cv_lib_m_erfc+set}" = set; then
9937 echo $ECHO_N "(cached) $ECHO_C" >&6
9938 else
9939 ac_check_lib_save_LIBS=$LIBS
9940 LIBS="-lm $LIBS"
9941 cat >conftest.$ac_ext <<_ACEOF
9942 /* confdefs.h. */
9943 _ACEOF
9944 cat confdefs.h >>conftest.$ac_ext
9945 cat >>conftest.$ac_ext <<_ACEOF
9946 /* end confdefs.h. */
9947
9948 /* Override any gcc2 internal prototype to avoid an error. */
9949 #ifdef __cplusplus
9950 extern "C"
9951 #endif
9952 /* We use char because int might match the return type of a gcc2
9953 builtin and then its argument prototype would still apply. */
9954 char erfc ();
9955 int
9956 main ()
9957 {
9958 erfc ();
9959 ;
9960 return 0;
9961 }
9962 _ACEOF
9963 rm -f conftest.$ac_objext conftest$ac_exeext
9964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9965 (eval $ac_link) 2>conftest.er1
9966 ac_status=$?
9967 grep -v '^ *+' conftest.er1 >conftest.err
9968 rm -f conftest.er1
9969 cat conftest.err >&5
9970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9971 (exit $ac_status); } &&
9972 { ac_try='test -z "$ac_c_werror_flag"
9973 || test ! -s conftest.err'
9974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9975 (eval $ac_try) 2>&5
9976 ac_status=$?
9977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9978 (exit $ac_status); }; } &&
9979 { ac_try='test -s conftest$ac_exeext'
9980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9981 (eval $ac_try) 2>&5
9982 ac_status=$?
9983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9984 (exit $ac_status); }; }; then
9985 ac_cv_lib_m_erfc=yes
9986 else
9987 echo "$as_me: failed program was:" >&5
9988 sed 's/^/| /' conftest.$ac_ext >&5
9989
9990 ac_cv_lib_m_erfc=no
9991 fi
9992 rm -f conftest.err conftest.$ac_objext \
9993 conftest$ac_exeext conftest.$ac_ext
9994 LIBS=$ac_check_lib_save_LIBS
9995 fi
9996 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
9997 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
9998 if test $ac_cv_lib_m_erfc = yes; then
9999
10000 cat >>confdefs.h <<\_ACEOF
10001 #define HAVE_ERFC 1
10002 _ACEOF
10003
10004 fi
10005
10006 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
10007 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
10008 if test "${ac_cv_lib_m_erfcf+set}" = set; then
10009 echo $ECHO_N "(cached) $ECHO_C" >&6
10010 else
10011 ac_check_lib_save_LIBS=$LIBS
10012 LIBS="-lm $LIBS"
10013 cat >conftest.$ac_ext <<_ACEOF
10014 /* confdefs.h. */
10015 _ACEOF
10016 cat confdefs.h >>conftest.$ac_ext
10017 cat >>conftest.$ac_ext <<_ACEOF
10018 /* end confdefs.h. */
10019
10020 /* Override any gcc2 internal prototype to avoid an error. */
10021 #ifdef __cplusplus
10022 extern "C"
10023 #endif
10024 /* We use char because int might match the return type of a gcc2
10025 builtin and then its argument prototype would still apply. */
10026 char erfcf ();
10027 int
10028 main ()
10029 {
10030 erfcf ();
10031 ;
10032 return 0;
10033 }
10034 _ACEOF
10035 rm -f conftest.$ac_objext conftest$ac_exeext
10036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10037 (eval $ac_link) 2>conftest.er1
10038 ac_status=$?
10039 grep -v '^ *+' conftest.er1 >conftest.err
10040 rm -f conftest.er1
10041 cat conftest.err >&5
10042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10043 (exit $ac_status); } &&
10044 { ac_try='test -z "$ac_c_werror_flag"
10045 || test ! -s conftest.err'
10046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10047 (eval $ac_try) 2>&5
10048 ac_status=$?
10049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050 (exit $ac_status); }; } &&
10051 { ac_try='test -s conftest$ac_exeext'
10052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10053 (eval $ac_try) 2>&5
10054 ac_status=$?
10055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10056 (exit $ac_status); }; }; then
10057 ac_cv_lib_m_erfcf=yes
10058 else
10059 echo "$as_me: failed program was:" >&5
10060 sed 's/^/| /' conftest.$ac_ext >&5
10061
10062 ac_cv_lib_m_erfcf=no
10063 fi
10064 rm -f conftest.err conftest.$ac_objext \
10065 conftest$ac_exeext conftest.$ac_ext
10066 LIBS=$ac_check_lib_save_LIBS
10067 fi
10068 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
10069 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
10070 if test $ac_cv_lib_m_erfcf = yes; then
10071
10072 cat >>confdefs.h <<\_ACEOF
10073 #define HAVE_ERFCF 1
10074 _ACEOF
10075
10076 fi
10077
10078 echo "$as_me:$LINENO: checking for erff in -lm" >&5
10079 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
10080 if test "${ac_cv_lib_m_erff+set}" = set; then
10081 echo $ECHO_N "(cached) $ECHO_C" >&6
10082 else
10083 ac_check_lib_save_LIBS=$LIBS
10084 LIBS="-lm $LIBS"
10085 cat >conftest.$ac_ext <<_ACEOF
10086 /* confdefs.h. */
10087 _ACEOF
10088 cat confdefs.h >>conftest.$ac_ext
10089 cat >>conftest.$ac_ext <<_ACEOF
10090 /* end confdefs.h. */
10091
10092 /* Override any gcc2 internal prototype to avoid an error. */
10093 #ifdef __cplusplus
10094 extern "C"
10095 #endif
10096 /* We use char because int might match the return type of a gcc2
10097 builtin and then its argument prototype would still apply. */
10098 char erff ();
10099 int
10100 main ()
10101 {
10102 erff ();
10103 ;
10104 return 0;
10105 }
10106 _ACEOF
10107 rm -f conftest.$ac_objext conftest$ac_exeext
10108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10109 (eval $ac_link) 2>conftest.er1
10110 ac_status=$?
10111 grep -v '^ *+' conftest.er1 >conftest.err
10112 rm -f conftest.er1
10113 cat conftest.err >&5
10114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10115 (exit $ac_status); } &&
10116 { ac_try='test -z "$ac_c_werror_flag"
10117 || test ! -s conftest.err'
10118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10119 (eval $ac_try) 2>&5
10120 ac_status=$?
10121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10122 (exit $ac_status); }; } &&
10123 { ac_try='test -s conftest$ac_exeext'
10124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10125 (eval $ac_try) 2>&5
10126 ac_status=$?
10127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10128 (exit $ac_status); }; }; then
10129 ac_cv_lib_m_erff=yes
10130 else
10131 echo "$as_me: failed program was:" >&5
10132 sed 's/^/| /' conftest.$ac_ext >&5
10133
10134 ac_cv_lib_m_erff=no
10135 fi
10136 rm -f conftest.err conftest.$ac_objext \
10137 conftest$ac_exeext conftest.$ac_ext
10138 LIBS=$ac_check_lib_save_LIBS
10139 fi
10140 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
10141 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
10142 if test $ac_cv_lib_m_erff = yes; then
10143
10144 cat >>confdefs.h <<\_ACEOF
10145 #define HAVE_ERFF 1
10146 _ACEOF
10147
10148 fi
10149
10150 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
10151 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
10152 if test "${ac_cv_lib_m_j0+set}" = set; then
10153 echo $ECHO_N "(cached) $ECHO_C" >&6
10154 else
10155 ac_check_lib_save_LIBS=$LIBS
10156 LIBS="-lm $LIBS"
10157 cat >conftest.$ac_ext <<_ACEOF
10158 /* confdefs.h. */
10159 _ACEOF
10160 cat confdefs.h >>conftest.$ac_ext
10161 cat >>conftest.$ac_ext <<_ACEOF
10162 /* end confdefs.h. */
10163
10164 /* Override any gcc2 internal prototype to avoid an error. */
10165 #ifdef __cplusplus
10166 extern "C"
10167 #endif
10168 /* We use char because int might match the return type of a gcc2
10169 builtin and then its argument prototype would still apply. */
10170 char j0 ();
10171 int
10172 main ()
10173 {
10174 j0 ();
10175 ;
10176 return 0;
10177 }
10178 _ACEOF
10179 rm -f conftest.$ac_objext conftest$ac_exeext
10180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10181 (eval $ac_link) 2>conftest.er1
10182 ac_status=$?
10183 grep -v '^ *+' conftest.er1 >conftest.err
10184 rm -f conftest.er1
10185 cat conftest.err >&5
10186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10187 (exit $ac_status); } &&
10188 { ac_try='test -z "$ac_c_werror_flag"
10189 || test ! -s conftest.err'
10190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10191 (eval $ac_try) 2>&5
10192 ac_status=$?
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); }; } &&
10195 { ac_try='test -s conftest$ac_exeext'
10196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10197 (eval $ac_try) 2>&5
10198 ac_status=$?
10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10200 (exit $ac_status); }; }; then
10201 ac_cv_lib_m_j0=yes
10202 else
10203 echo "$as_me: failed program was:" >&5
10204 sed 's/^/| /' conftest.$ac_ext >&5
10205
10206 ac_cv_lib_m_j0=no
10207 fi
10208 rm -f conftest.err conftest.$ac_objext \
10209 conftest$ac_exeext conftest.$ac_ext
10210 LIBS=$ac_check_lib_save_LIBS
10211 fi
10212 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
10213 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
10214 if test $ac_cv_lib_m_j0 = yes; then
10215
10216 cat >>confdefs.h <<\_ACEOF
10217 #define HAVE_J0 1
10218 _ACEOF
10219
10220 fi
10221
10222 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
10223 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
10224 if test "${ac_cv_lib_m_j0f+set}" = set; then
10225 echo $ECHO_N "(cached) $ECHO_C" >&6
10226 else
10227 ac_check_lib_save_LIBS=$LIBS
10228 LIBS="-lm $LIBS"
10229 cat >conftest.$ac_ext <<_ACEOF
10230 /* confdefs.h. */
10231 _ACEOF
10232 cat confdefs.h >>conftest.$ac_ext
10233 cat >>conftest.$ac_ext <<_ACEOF
10234 /* end confdefs.h. */
10235
10236 /* Override any gcc2 internal prototype to avoid an error. */
10237 #ifdef __cplusplus
10238 extern "C"
10239 #endif
10240 /* We use char because int might match the return type of a gcc2
10241 builtin and then its argument prototype would still apply. */
10242 char j0f ();
10243 int
10244 main ()
10245 {
10246 j0f ();
10247 ;
10248 return 0;
10249 }
10250 _ACEOF
10251 rm -f conftest.$ac_objext conftest$ac_exeext
10252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10253 (eval $ac_link) 2>conftest.er1
10254 ac_status=$?
10255 grep -v '^ *+' conftest.er1 >conftest.err
10256 rm -f conftest.er1
10257 cat conftest.err >&5
10258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10259 (exit $ac_status); } &&
10260 { ac_try='test -z "$ac_c_werror_flag"
10261 || test ! -s conftest.err'
10262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10263 (eval $ac_try) 2>&5
10264 ac_status=$?
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 (exit $ac_status); }; } &&
10267 { ac_try='test -s conftest$ac_exeext'
10268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10269 (eval $ac_try) 2>&5
10270 ac_status=$?
10271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10272 (exit $ac_status); }; }; then
10273 ac_cv_lib_m_j0f=yes
10274 else
10275 echo "$as_me: failed program was:" >&5
10276 sed 's/^/| /' conftest.$ac_ext >&5
10277
10278 ac_cv_lib_m_j0f=no
10279 fi
10280 rm -f conftest.err conftest.$ac_objext \
10281 conftest$ac_exeext conftest.$ac_ext
10282 LIBS=$ac_check_lib_save_LIBS
10283 fi
10284 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
10285 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
10286 if test $ac_cv_lib_m_j0f = yes; then
10287
10288 cat >>confdefs.h <<\_ACEOF
10289 #define HAVE_J0F 1
10290 _ACEOF
10291
10292 fi
10293
10294 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
10295 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
10296 if test "${ac_cv_lib_m_j1+set}" = set; then
10297 echo $ECHO_N "(cached) $ECHO_C" >&6
10298 else
10299 ac_check_lib_save_LIBS=$LIBS
10300 LIBS="-lm $LIBS"
10301 cat >conftest.$ac_ext <<_ACEOF
10302 /* confdefs.h. */
10303 _ACEOF
10304 cat confdefs.h >>conftest.$ac_ext
10305 cat >>conftest.$ac_ext <<_ACEOF
10306 /* end confdefs.h. */
10307
10308 /* Override any gcc2 internal prototype to avoid an error. */
10309 #ifdef __cplusplus
10310 extern "C"
10311 #endif
10312 /* We use char because int might match the return type of a gcc2
10313 builtin and then its argument prototype would still apply. */
10314 char j1 ();
10315 int
10316 main ()
10317 {
10318 j1 ();
10319 ;
10320 return 0;
10321 }
10322 _ACEOF
10323 rm -f conftest.$ac_objext conftest$ac_exeext
10324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10325 (eval $ac_link) 2>conftest.er1
10326 ac_status=$?
10327 grep -v '^ *+' conftest.er1 >conftest.err
10328 rm -f conftest.er1
10329 cat conftest.err >&5
10330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10331 (exit $ac_status); } &&
10332 { ac_try='test -z "$ac_c_werror_flag"
10333 || test ! -s conftest.err'
10334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10335 (eval $ac_try) 2>&5
10336 ac_status=$?
10337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10338 (exit $ac_status); }; } &&
10339 { ac_try='test -s conftest$ac_exeext'
10340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10341 (eval $ac_try) 2>&5
10342 ac_status=$?
10343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10344 (exit $ac_status); }; }; then
10345 ac_cv_lib_m_j1=yes
10346 else
10347 echo "$as_me: failed program was:" >&5
10348 sed 's/^/| /' conftest.$ac_ext >&5
10349
10350 ac_cv_lib_m_j1=no
10351 fi
10352 rm -f conftest.err conftest.$ac_objext \
10353 conftest$ac_exeext conftest.$ac_ext
10354 LIBS=$ac_check_lib_save_LIBS
10355 fi
10356 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
10357 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
10358 if test $ac_cv_lib_m_j1 = yes; then
10359
10360 cat >>confdefs.h <<\_ACEOF
10361 #define HAVE_J1 1
10362 _ACEOF
10363
10364 fi
10365
10366 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
10367 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
10368 if test "${ac_cv_lib_m_j1f+set}" = set; then
10369 echo $ECHO_N "(cached) $ECHO_C" >&6
10370 else
10371 ac_check_lib_save_LIBS=$LIBS
10372 LIBS="-lm $LIBS"
10373 cat >conftest.$ac_ext <<_ACEOF
10374 /* confdefs.h. */
10375 _ACEOF
10376 cat confdefs.h >>conftest.$ac_ext
10377 cat >>conftest.$ac_ext <<_ACEOF
10378 /* end confdefs.h. */
10379
10380 /* Override any gcc2 internal prototype to avoid an error. */
10381 #ifdef __cplusplus
10382 extern "C"
10383 #endif
10384 /* We use char because int might match the return type of a gcc2
10385 builtin and then its argument prototype would still apply. */
10386 char j1f ();
10387 int
10388 main ()
10389 {
10390 j1f ();
10391 ;
10392 return 0;
10393 }
10394 _ACEOF
10395 rm -f conftest.$ac_objext conftest$ac_exeext
10396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10397 (eval $ac_link) 2>conftest.er1
10398 ac_status=$?
10399 grep -v '^ *+' conftest.er1 >conftest.err
10400 rm -f conftest.er1
10401 cat conftest.err >&5
10402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403 (exit $ac_status); } &&
10404 { ac_try='test -z "$ac_c_werror_flag"
10405 || test ! -s conftest.err'
10406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10407 (eval $ac_try) 2>&5
10408 ac_status=$?
10409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410 (exit $ac_status); }; } &&
10411 { ac_try='test -s conftest$ac_exeext'
10412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10413 (eval $ac_try) 2>&5
10414 ac_status=$?
10415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10416 (exit $ac_status); }; }; then
10417 ac_cv_lib_m_j1f=yes
10418 else
10419 echo "$as_me: failed program was:" >&5
10420 sed 's/^/| /' conftest.$ac_ext >&5
10421
10422 ac_cv_lib_m_j1f=no
10423 fi
10424 rm -f conftest.err conftest.$ac_objext \
10425 conftest$ac_exeext conftest.$ac_ext
10426 LIBS=$ac_check_lib_save_LIBS
10427 fi
10428 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
10429 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
10430 if test $ac_cv_lib_m_j1f = yes; then
10431
10432 cat >>confdefs.h <<\_ACEOF
10433 #define HAVE_J1F 1
10434 _ACEOF
10435
10436 fi
10437
10438 echo "$as_me:$LINENO: checking for jn in -lm" >&5
10439 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
10440 if test "${ac_cv_lib_m_jn+set}" = set; then
10441 echo $ECHO_N "(cached) $ECHO_C" >&6
10442 else
10443 ac_check_lib_save_LIBS=$LIBS
10444 LIBS="-lm $LIBS"
10445 cat >conftest.$ac_ext <<_ACEOF
10446 /* confdefs.h. */
10447 _ACEOF
10448 cat confdefs.h >>conftest.$ac_ext
10449 cat >>conftest.$ac_ext <<_ACEOF
10450 /* end confdefs.h. */
10451
10452 /* Override any gcc2 internal prototype to avoid an error. */
10453 #ifdef __cplusplus
10454 extern "C"
10455 #endif
10456 /* We use char because int might match the return type of a gcc2
10457 builtin and then its argument prototype would still apply. */
10458 char jn ();
10459 int
10460 main ()
10461 {
10462 jn ();
10463 ;
10464 return 0;
10465 }
10466 _ACEOF
10467 rm -f conftest.$ac_objext conftest$ac_exeext
10468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10469 (eval $ac_link) 2>conftest.er1
10470 ac_status=$?
10471 grep -v '^ *+' conftest.er1 >conftest.err
10472 rm -f conftest.er1
10473 cat conftest.err >&5
10474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10475 (exit $ac_status); } &&
10476 { ac_try='test -z "$ac_c_werror_flag"
10477 || test ! -s conftest.err'
10478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10479 (eval $ac_try) 2>&5
10480 ac_status=$?
10481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10482 (exit $ac_status); }; } &&
10483 { ac_try='test -s conftest$ac_exeext'
10484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10485 (eval $ac_try) 2>&5
10486 ac_status=$?
10487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10488 (exit $ac_status); }; }; then
10489 ac_cv_lib_m_jn=yes
10490 else
10491 echo "$as_me: failed program was:" >&5
10492 sed 's/^/| /' conftest.$ac_ext >&5
10493
10494 ac_cv_lib_m_jn=no
10495 fi
10496 rm -f conftest.err conftest.$ac_objext \
10497 conftest$ac_exeext conftest.$ac_ext
10498 LIBS=$ac_check_lib_save_LIBS
10499 fi
10500 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
10501 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
10502 if test $ac_cv_lib_m_jn = yes; then
10503
10504 cat >>confdefs.h <<\_ACEOF
10505 #define HAVE_JN 1
10506 _ACEOF
10507
10508 fi
10509
10510 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
10511 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
10512 if test "${ac_cv_lib_m_jnf+set}" = set; then
10513 echo $ECHO_N "(cached) $ECHO_C" >&6
10514 else
10515 ac_check_lib_save_LIBS=$LIBS
10516 LIBS="-lm $LIBS"
10517 cat >conftest.$ac_ext <<_ACEOF
10518 /* confdefs.h. */
10519 _ACEOF
10520 cat confdefs.h >>conftest.$ac_ext
10521 cat >>conftest.$ac_ext <<_ACEOF
10522 /* end confdefs.h. */
10523
10524 /* Override any gcc2 internal prototype to avoid an error. */
10525 #ifdef __cplusplus
10526 extern "C"
10527 #endif
10528 /* We use char because int might match the return type of a gcc2
10529 builtin and then its argument prototype would still apply. */
10530 char jnf ();
10531 int
10532 main ()
10533 {
10534 jnf ();
10535 ;
10536 return 0;
10537 }
10538 _ACEOF
10539 rm -f conftest.$ac_objext conftest$ac_exeext
10540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10541 (eval $ac_link) 2>conftest.er1
10542 ac_status=$?
10543 grep -v '^ *+' conftest.er1 >conftest.err
10544 rm -f conftest.er1
10545 cat conftest.err >&5
10546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10547 (exit $ac_status); } &&
10548 { ac_try='test -z "$ac_c_werror_flag"
10549 || test ! -s conftest.err'
10550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10551 (eval $ac_try) 2>&5
10552 ac_status=$?
10553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10554 (exit $ac_status); }; } &&
10555 { ac_try='test -s conftest$ac_exeext'
10556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10557 (eval $ac_try) 2>&5
10558 ac_status=$?
10559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10560 (exit $ac_status); }; }; then
10561 ac_cv_lib_m_jnf=yes
10562 else
10563 echo "$as_me: failed program was:" >&5
10564 sed 's/^/| /' conftest.$ac_ext >&5
10565
10566 ac_cv_lib_m_jnf=no
10567 fi
10568 rm -f conftest.err conftest.$ac_objext \
10569 conftest$ac_exeext conftest.$ac_ext
10570 LIBS=$ac_check_lib_save_LIBS
10571 fi
10572 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
10573 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
10574 if test $ac_cv_lib_m_jnf = yes; then
10575
10576 cat >>confdefs.h <<\_ACEOF
10577 #define HAVE_JNF 1
10578 _ACEOF
10579
10580 fi
10581
10582 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
10583 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
10584 if test "${ac_cv_lib_m_y0+set}" = set; then
10585 echo $ECHO_N "(cached) $ECHO_C" >&6
10586 else
10587 ac_check_lib_save_LIBS=$LIBS
10588 LIBS="-lm $LIBS"
10589 cat >conftest.$ac_ext <<_ACEOF
10590 /* confdefs.h. */
10591 _ACEOF
10592 cat confdefs.h >>conftest.$ac_ext
10593 cat >>conftest.$ac_ext <<_ACEOF
10594 /* end confdefs.h. */
10595
10596 /* Override any gcc2 internal prototype to avoid an error. */
10597 #ifdef __cplusplus
10598 extern "C"
10599 #endif
10600 /* We use char because int might match the return type of a gcc2
10601 builtin and then its argument prototype would still apply. */
10602 char y0 ();
10603 int
10604 main ()
10605 {
10606 y0 ();
10607 ;
10608 return 0;
10609 }
10610 _ACEOF
10611 rm -f conftest.$ac_objext conftest$ac_exeext
10612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10613 (eval $ac_link) 2>conftest.er1
10614 ac_status=$?
10615 grep -v '^ *+' conftest.er1 >conftest.err
10616 rm -f conftest.er1
10617 cat conftest.err >&5
10618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10619 (exit $ac_status); } &&
10620 { ac_try='test -z "$ac_c_werror_flag"
10621 || test ! -s conftest.err'
10622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10623 (eval $ac_try) 2>&5
10624 ac_status=$?
10625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10626 (exit $ac_status); }; } &&
10627 { ac_try='test -s conftest$ac_exeext'
10628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10629 (eval $ac_try) 2>&5
10630 ac_status=$?
10631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10632 (exit $ac_status); }; }; then
10633 ac_cv_lib_m_y0=yes
10634 else
10635 echo "$as_me: failed program was:" >&5
10636 sed 's/^/| /' conftest.$ac_ext >&5
10637
10638 ac_cv_lib_m_y0=no
10639 fi
10640 rm -f conftest.err conftest.$ac_objext \
10641 conftest$ac_exeext conftest.$ac_ext
10642 LIBS=$ac_check_lib_save_LIBS
10643 fi
10644 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
10645 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
10646 if test $ac_cv_lib_m_y0 = yes; then
10647
10648 cat >>confdefs.h <<\_ACEOF
10649 #define HAVE_Y0 1
10650 _ACEOF
10651
10652 fi
10653
10654 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
10655 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
10656 if test "${ac_cv_lib_m_y0f+set}" = set; then
10657 echo $ECHO_N "(cached) $ECHO_C" >&6
10658 else
10659 ac_check_lib_save_LIBS=$LIBS
10660 LIBS="-lm $LIBS"
10661 cat >conftest.$ac_ext <<_ACEOF
10662 /* confdefs.h. */
10663 _ACEOF
10664 cat confdefs.h >>conftest.$ac_ext
10665 cat >>conftest.$ac_ext <<_ACEOF
10666 /* end confdefs.h. */
10667
10668 /* Override any gcc2 internal prototype to avoid an error. */
10669 #ifdef __cplusplus
10670 extern "C"
10671 #endif
10672 /* We use char because int might match the return type of a gcc2
10673 builtin and then its argument prototype would still apply. */
10674 char y0f ();
10675 int
10676 main ()
10677 {
10678 y0f ();
10679 ;
10680 return 0;
10681 }
10682 _ACEOF
10683 rm -f conftest.$ac_objext conftest$ac_exeext
10684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10685 (eval $ac_link) 2>conftest.er1
10686 ac_status=$?
10687 grep -v '^ *+' conftest.er1 >conftest.err
10688 rm -f conftest.er1
10689 cat conftest.err >&5
10690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10691 (exit $ac_status); } &&
10692 { ac_try='test -z "$ac_c_werror_flag"
10693 || test ! -s conftest.err'
10694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10695 (eval $ac_try) 2>&5
10696 ac_status=$?
10697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10698 (exit $ac_status); }; } &&
10699 { ac_try='test -s conftest$ac_exeext'
10700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10701 (eval $ac_try) 2>&5
10702 ac_status=$?
10703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10704 (exit $ac_status); }; }; then
10705 ac_cv_lib_m_y0f=yes
10706 else
10707 echo "$as_me: failed program was:" >&5
10708 sed 's/^/| /' conftest.$ac_ext >&5
10709
10710 ac_cv_lib_m_y0f=no
10711 fi
10712 rm -f conftest.err conftest.$ac_objext \
10713 conftest$ac_exeext conftest.$ac_ext
10714 LIBS=$ac_check_lib_save_LIBS
10715 fi
10716 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
10717 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
10718 if test $ac_cv_lib_m_y0f = yes; then
10719
10720 cat >>confdefs.h <<\_ACEOF
10721 #define HAVE_Y0F 1
10722 _ACEOF
10723
10724 fi
10725
10726 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
10727 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
10728 if test "${ac_cv_lib_m_y1+set}" = set; then
10729 echo $ECHO_N "(cached) $ECHO_C" >&6
10730 else
10731 ac_check_lib_save_LIBS=$LIBS
10732 LIBS="-lm $LIBS"
10733 cat >conftest.$ac_ext <<_ACEOF
10734 /* confdefs.h. */
10735 _ACEOF
10736 cat confdefs.h >>conftest.$ac_ext
10737 cat >>conftest.$ac_ext <<_ACEOF
10738 /* end confdefs.h. */
10739
10740 /* Override any gcc2 internal prototype to avoid an error. */
10741 #ifdef __cplusplus
10742 extern "C"
10743 #endif
10744 /* We use char because int might match the return type of a gcc2
10745 builtin and then its argument prototype would still apply. */
10746 char y1 ();
10747 int
10748 main ()
10749 {
10750 y1 ();
10751 ;
10752 return 0;
10753 }
10754 _ACEOF
10755 rm -f conftest.$ac_objext conftest$ac_exeext
10756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10757 (eval $ac_link) 2>conftest.er1
10758 ac_status=$?
10759 grep -v '^ *+' conftest.er1 >conftest.err
10760 rm -f conftest.er1
10761 cat conftest.err >&5
10762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10763 (exit $ac_status); } &&
10764 { ac_try='test -z "$ac_c_werror_flag"
10765 || test ! -s conftest.err'
10766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10767 (eval $ac_try) 2>&5
10768 ac_status=$?
10769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10770 (exit $ac_status); }; } &&
10771 { ac_try='test -s conftest$ac_exeext'
10772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10773 (eval $ac_try) 2>&5
10774 ac_status=$?
10775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10776 (exit $ac_status); }; }; then
10777 ac_cv_lib_m_y1=yes
10778 else
10779 echo "$as_me: failed program was:" >&5
10780 sed 's/^/| /' conftest.$ac_ext >&5
10781
10782 ac_cv_lib_m_y1=no
10783 fi
10784 rm -f conftest.err conftest.$ac_objext \
10785 conftest$ac_exeext conftest.$ac_ext
10786 LIBS=$ac_check_lib_save_LIBS
10787 fi
10788 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
10789 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
10790 if test $ac_cv_lib_m_y1 = yes; then
10791
10792 cat >>confdefs.h <<\_ACEOF
10793 #define HAVE_Y1 1
10794 _ACEOF
10795
10796 fi
10797
10798 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
10799 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
10800 if test "${ac_cv_lib_m_y1f+set}" = set; then
10801 echo $ECHO_N "(cached) $ECHO_C" >&6
10802 else
10803 ac_check_lib_save_LIBS=$LIBS
10804 LIBS="-lm $LIBS"
10805 cat >conftest.$ac_ext <<_ACEOF
10806 /* confdefs.h. */
10807 _ACEOF
10808 cat confdefs.h >>conftest.$ac_ext
10809 cat >>conftest.$ac_ext <<_ACEOF
10810 /* end confdefs.h. */
10811
10812 /* Override any gcc2 internal prototype to avoid an error. */
10813 #ifdef __cplusplus
10814 extern "C"
10815 #endif
10816 /* We use char because int might match the return type of a gcc2
10817 builtin and then its argument prototype would still apply. */
10818 char y1f ();
10819 int
10820 main ()
10821 {
10822 y1f ();
10823 ;
10824 return 0;
10825 }
10826 _ACEOF
10827 rm -f conftest.$ac_objext conftest$ac_exeext
10828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10829 (eval $ac_link) 2>conftest.er1
10830 ac_status=$?
10831 grep -v '^ *+' conftest.er1 >conftest.err
10832 rm -f conftest.er1
10833 cat conftest.err >&5
10834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10835 (exit $ac_status); } &&
10836 { ac_try='test -z "$ac_c_werror_flag"
10837 || test ! -s conftest.err'
10838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10839 (eval $ac_try) 2>&5
10840 ac_status=$?
10841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10842 (exit $ac_status); }; } &&
10843 { ac_try='test -s conftest$ac_exeext'
10844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10845 (eval $ac_try) 2>&5
10846 ac_status=$?
10847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10848 (exit $ac_status); }; }; then
10849 ac_cv_lib_m_y1f=yes
10850 else
10851 echo "$as_me: failed program was:" >&5
10852 sed 's/^/| /' conftest.$ac_ext >&5
10853
10854 ac_cv_lib_m_y1f=no
10855 fi
10856 rm -f conftest.err conftest.$ac_objext \
10857 conftest$ac_exeext conftest.$ac_ext
10858 LIBS=$ac_check_lib_save_LIBS
10859 fi
10860 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
10861 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
10862 if test $ac_cv_lib_m_y1f = yes; then
10863
10864 cat >>confdefs.h <<\_ACEOF
10865 #define HAVE_Y1F 1
10866 _ACEOF
10867
10868 fi
10869
10870 echo "$as_me:$LINENO: checking for yn in -lm" >&5
10871 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
10872 if test "${ac_cv_lib_m_yn+set}" = set; then
10873 echo $ECHO_N "(cached) $ECHO_C" >&6
10874 else
10875 ac_check_lib_save_LIBS=$LIBS
10876 LIBS="-lm $LIBS"
10877 cat >conftest.$ac_ext <<_ACEOF
10878 /* confdefs.h. */
10879 _ACEOF
10880 cat confdefs.h >>conftest.$ac_ext
10881 cat >>conftest.$ac_ext <<_ACEOF
10882 /* end confdefs.h. */
10883
10884 /* Override any gcc2 internal prototype to avoid an error. */
10885 #ifdef __cplusplus
10886 extern "C"
10887 #endif
10888 /* We use char because int might match the return type of a gcc2
10889 builtin and then its argument prototype would still apply. */
10890 char yn ();
10891 int
10892 main ()
10893 {
10894 yn ();
10895 ;
10896 return 0;
10897 }
10898 _ACEOF
10899 rm -f conftest.$ac_objext conftest$ac_exeext
10900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10901 (eval $ac_link) 2>conftest.er1
10902 ac_status=$?
10903 grep -v '^ *+' conftest.er1 >conftest.err
10904 rm -f conftest.er1
10905 cat conftest.err >&5
10906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10907 (exit $ac_status); } &&
10908 { ac_try='test -z "$ac_c_werror_flag"
10909 || test ! -s conftest.err'
10910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10911 (eval $ac_try) 2>&5
10912 ac_status=$?
10913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10914 (exit $ac_status); }; } &&
10915 { ac_try='test -s conftest$ac_exeext'
10916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10917 (eval $ac_try) 2>&5
10918 ac_status=$?
10919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10920 (exit $ac_status); }; }; then
10921 ac_cv_lib_m_yn=yes
10922 else
10923 echo "$as_me: failed program was:" >&5
10924 sed 's/^/| /' conftest.$ac_ext >&5
10925
10926 ac_cv_lib_m_yn=no
10927 fi
10928 rm -f conftest.err conftest.$ac_objext \
10929 conftest$ac_exeext conftest.$ac_ext
10930 LIBS=$ac_check_lib_save_LIBS
10931 fi
10932 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
10933 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
10934 if test $ac_cv_lib_m_yn = yes; then
10935
10936 cat >>confdefs.h <<\_ACEOF
10937 #define HAVE_YN 1
10938 _ACEOF
10939
10940 fi
10941
10942 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
10943 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
10944 if test "${ac_cv_lib_m_ynf+set}" = set; then
10945 echo $ECHO_N "(cached) $ECHO_C" >&6
10946 else
10947 ac_check_lib_save_LIBS=$LIBS
10948 LIBS="-lm $LIBS"
10949 cat >conftest.$ac_ext <<_ACEOF
10950 /* confdefs.h. */
10951 _ACEOF
10952 cat confdefs.h >>conftest.$ac_ext
10953 cat >>conftest.$ac_ext <<_ACEOF
10954 /* end confdefs.h. */
10955
10956 /* Override any gcc2 internal prototype to avoid an error. */
10957 #ifdef __cplusplus
10958 extern "C"
10959 #endif
10960 /* We use char because int might match the return type of a gcc2
10961 builtin and then its argument prototype would still apply. */
10962 char ynf ();
10963 int
10964 main ()
10965 {
10966 ynf ();
10967 ;
10968 return 0;
10969 }
10970 _ACEOF
10971 rm -f conftest.$ac_objext conftest$ac_exeext
10972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10973 (eval $ac_link) 2>conftest.er1
10974 ac_status=$?
10975 grep -v '^ *+' conftest.er1 >conftest.err
10976 rm -f conftest.er1
10977 cat conftest.err >&5
10978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10979 (exit $ac_status); } &&
10980 { ac_try='test -z "$ac_c_werror_flag"
10981 || test ! -s conftest.err'
10982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10983 (eval $ac_try) 2>&5
10984 ac_status=$?
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); }; } &&
10987 { ac_try='test -s conftest$ac_exeext'
10988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10989 (eval $ac_try) 2>&5
10990 ac_status=$?
10991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10992 (exit $ac_status); }; }; then
10993 ac_cv_lib_m_ynf=yes
10994 else
10995 echo "$as_me: failed program was:" >&5
10996 sed 's/^/| /' conftest.$ac_ext >&5
10997
10998 ac_cv_lib_m_ynf=no
10999 fi
11000 rm -f conftest.err conftest.$ac_objext \
11001 conftest$ac_exeext conftest.$ac_ext
11002 LIBS=$ac_check_lib_save_LIBS
11003 fi
11004 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
11005 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
11006 if test $ac_cv_lib_m_ynf = yes; then
11007
11008 cat >>confdefs.h <<\_ACEOF
11009 #define HAVE_YNF 1
11010 _ACEOF
11011
11012 fi
11013
11014
11015 # Fallback in case isfinite is not available.
11016 echo "$as_me:$LINENO: checking for finite in -lm" >&5
11017 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
11018 if test "${ac_cv_lib_m_finite+set}" = set; then
11019 echo $ECHO_N "(cached) $ECHO_C" >&6
11020 else
11021 ac_check_lib_save_LIBS=$LIBS
11022 LIBS="-lm $LIBS"
11023 cat >conftest.$ac_ext <<_ACEOF
11024 /* confdefs.h. */
11025 _ACEOF
11026 cat confdefs.h >>conftest.$ac_ext
11027 cat >>conftest.$ac_ext <<_ACEOF
11028 /* end confdefs.h. */
11029
11030 /* Override any gcc2 internal prototype to avoid an error. */
11031 #ifdef __cplusplus
11032 extern "C"
11033 #endif
11034 /* We use char because int might match the return type of a gcc2
11035 builtin and then its argument prototype would still apply. */
11036 char finite ();
11037 int
11038 main ()
11039 {
11040 finite ();
11041 ;
11042 return 0;
11043 }
11044 _ACEOF
11045 rm -f conftest.$ac_objext conftest$ac_exeext
11046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11047 (eval $ac_link) 2>conftest.er1
11048 ac_status=$?
11049 grep -v '^ *+' conftest.er1 >conftest.err
11050 rm -f conftest.er1
11051 cat conftest.err >&5
11052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11053 (exit $ac_status); } &&
11054 { ac_try='test -z "$ac_c_werror_flag"
11055 || test ! -s conftest.err'
11056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11057 (eval $ac_try) 2>&5
11058 ac_status=$?
11059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11060 (exit $ac_status); }; } &&
11061 { ac_try='test -s conftest$ac_exeext'
11062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11063 (eval $ac_try) 2>&5
11064 ac_status=$?
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); }; }; then
11067 ac_cv_lib_m_finite=yes
11068 else
11069 echo "$as_me: failed program was:" >&5
11070 sed 's/^/| /' conftest.$ac_ext >&5
11071
11072 ac_cv_lib_m_finite=no
11073 fi
11074 rm -f conftest.err conftest.$ac_objext \
11075 conftest$ac_exeext conftest.$ac_ext
11076 LIBS=$ac_check_lib_save_LIBS
11077 fi
11078 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
11079 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
11080 if test $ac_cv_lib_m_finite = yes; then
11081
11082 cat >>confdefs.h <<\_ACEOF
11083 #define HAVE_FINITE 1
11084 _ACEOF
11085
11086 fi
11087
11088
11089 # Let the user override this
11090 # Check whether --enable-cmath or --disable-cmath was given.
11091 if test "${enable_cmath+set}" = set; then
11092 enableval="$enable_cmath"
11093 need_math=$enableval
11094 fi;
11095 if test "$need_math" = "yes"; then
11096 { echo "$as_me:$LINENO: Including complex math functions in libgfor" >&5
11097 echo "$as_me: Including complex math functions in libgfor" >&6;};
11098 extra_math_obj='$(gfor_cmath_obj)'
11099 fi
11100
11101 MATH_OBJ="$extra_math_obj"
11102
11103
11104 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
11105 # for struct timezone, as you might think. We also need to check how
11106 # to call gettimeofday if we have it.
11107 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
11108 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
11109 if test "${ac_cv_header_time+set}" = set; then
11110 echo $ECHO_N "(cached) $ECHO_C" >&6
11111 else
11112 cat >conftest.$ac_ext <<_ACEOF
11113 /* confdefs.h. */
11114 _ACEOF
11115 cat confdefs.h >>conftest.$ac_ext
11116 cat >>conftest.$ac_ext <<_ACEOF
11117 /* end confdefs.h. */
11118 #include <sys/types.h>
11119 #include <sys/time.h>
11120 #include <time.h>
11121
11122 int
11123 main ()
11124 {
11125 if ((struct tm *) 0)
11126 return 0;
11127 ;
11128 return 0;
11129 }
11130 _ACEOF
11131 rm -f conftest.$ac_objext
11132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11133 (eval $ac_compile) 2>conftest.er1
11134 ac_status=$?
11135 grep -v '^ *+' conftest.er1 >conftest.err
11136 rm -f conftest.er1
11137 cat conftest.err >&5
11138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11139 (exit $ac_status); } &&
11140 { ac_try='test -z "$ac_c_werror_flag"
11141 || test ! -s conftest.err'
11142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11143 (eval $ac_try) 2>&5
11144 ac_status=$?
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); }; } &&
11147 { ac_try='test -s conftest.$ac_objext'
11148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11149 (eval $ac_try) 2>&5
11150 ac_status=$?
11151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11152 (exit $ac_status); }; }; then
11153 ac_cv_header_time=yes
11154 else
11155 echo "$as_me: failed program was:" >&5
11156 sed 's/^/| /' conftest.$ac_ext >&5
11157
11158 ac_cv_header_time=no
11159 fi
11160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11161 fi
11162 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
11163 echo "${ECHO_T}$ac_cv_header_time" >&6
11164 if test $ac_cv_header_time = yes; then
11165
11166 cat >>confdefs.h <<\_ACEOF
11167 #define TIME_WITH_SYS_TIME 1
11168 _ACEOF
11169
11170 fi
11171
11172
11173
11174 for ac_func in gettimeofday
11175 do
11176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11177 echo "$as_me:$LINENO: checking for $ac_func" >&5
11178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11179 if eval "test \"\${$as_ac_var+set}\" = set"; then
11180 echo $ECHO_N "(cached) $ECHO_C" >&6
11181 else
11182 cat >conftest.$ac_ext <<_ACEOF
11183 /* confdefs.h. */
11184 _ACEOF
11185 cat confdefs.h >>conftest.$ac_ext
11186 cat >>conftest.$ac_ext <<_ACEOF
11187 /* end confdefs.h. */
11188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11190 #define $ac_func innocuous_$ac_func
11191
11192 /* System header to define __stub macros and hopefully few prototypes,
11193 which can conflict with char $ac_func (); below.
11194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11195 <limits.h> exists even on freestanding compilers. */
11196
11197 #ifdef __STDC__
11198 # include <limits.h>
11199 #else
11200 # include <assert.h>
11201 #endif
11202
11203 #undef $ac_func
11204
11205 /* Override any gcc2 internal prototype to avoid an error. */
11206 #ifdef __cplusplus
11207 extern "C"
11208 {
11209 #endif
11210 /* We use char because int might match the return type of a gcc2
11211 builtin and then its argument prototype would still apply. */
11212 char $ac_func ();
11213 /* The GNU C library defines this for functions which it implements
11214 to always fail with ENOSYS. Some functions are actually named
11215 something starting with __ and the normal name is an alias. */
11216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11217 choke me
11218 #else
11219 char (*f) () = $ac_func;
11220 #endif
11221 #ifdef __cplusplus
11222 }
11223 #endif
11224
11225 int
11226 main ()
11227 {
11228 return f != $ac_func;
11229 ;
11230 return 0;
11231 }
11232 _ACEOF
11233 rm -f conftest.$ac_objext conftest$ac_exeext
11234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11235 (eval $ac_link) 2>conftest.er1
11236 ac_status=$?
11237 grep -v '^ *+' conftest.er1 >conftest.err
11238 rm -f conftest.er1
11239 cat conftest.err >&5
11240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11241 (exit $ac_status); } &&
11242 { ac_try='test -z "$ac_c_werror_flag"
11243 || test ! -s conftest.err'
11244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11245 (eval $ac_try) 2>&5
11246 ac_status=$?
11247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11248 (exit $ac_status); }; } &&
11249 { ac_try='test -s conftest$ac_exeext'
11250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11251 (eval $ac_try) 2>&5
11252 ac_status=$?
11253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11254 (exit $ac_status); }; }; then
11255 eval "$as_ac_var=yes"
11256 else
11257 echo "$as_me: failed program was:" >&5
11258 sed 's/^/| /' conftest.$ac_ext >&5
11259
11260 eval "$as_ac_var=no"
11261 fi
11262 rm -f conftest.err conftest.$ac_objext \
11263 conftest$ac_exeext conftest.$ac_ext
11264 fi
11265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11267 if test `eval echo '${'$as_ac_var'}'` = yes; then
11268 cat >>confdefs.h <<_ACEOF
11269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11270 _ACEOF
11271
11272 fi
11273 done
11274
11275 if test "$ac_cv_func_gettimeofday" = yes; then
11276 echo "$as_me:$LINENO: checking for struct timezone" >&5
11277 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
11278 if test "${gfor_cv_struct_timezone+set}" = set; then
11279 echo $ECHO_N "(cached) $ECHO_C" >&6
11280 else
11281 cat >conftest.$ac_ext <<_ACEOF
11282 /* confdefs.h. */
11283 _ACEOF
11284 cat confdefs.h >>conftest.$ac_ext
11285 cat >>conftest.$ac_ext <<_ACEOF
11286 /* end confdefs.h. */
11287 #include <sys/time.h>
11288 int
11289 main ()
11290 {
11291 struct timezone tz;
11292 ;
11293 return 0;
11294 }
11295 _ACEOF
11296 rm -f conftest.$ac_objext
11297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11298 (eval $ac_compile) 2>conftest.er1
11299 ac_status=$?
11300 grep -v '^ *+' conftest.er1 >conftest.err
11301 rm -f conftest.er1
11302 cat conftest.err >&5
11303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11304 (exit $ac_status); } &&
11305 { ac_try='test -z "$ac_c_werror_flag"
11306 || test ! -s conftest.err'
11307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11308 (eval $ac_try) 2>&5
11309 ac_status=$?
11310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11311 (exit $ac_status); }; } &&
11312 { ac_try='test -s conftest.$ac_objext'
11313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11314 (eval $ac_try) 2>&5
11315 ac_status=$?
11316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11317 (exit $ac_status); }; }; then
11318 gfor_cv_struct_timezone=yes
11319 else
11320 echo "$as_me: failed program was:" >&5
11321 sed 's/^/| /' conftest.$ac_ext >&5
11322
11323 gfor_cv_struct_timezone=no
11324 fi
11325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11326 fi
11327 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
11328 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
11329 if test $gfor_cv_struct_timezone = yes; then
11330 if test "$cross_compiling" = yes; then
11331 gfor_have_struct_timezone=yes
11332 else
11333 cat >conftest.$ac_ext <<_ACEOF
11334 /* confdefs.h. */
11335 _ACEOF
11336 cat confdefs.h >>conftest.$ac_ext
11337 cat >>conftest.$ac_ext <<_ACEOF
11338 /* end confdefs.h. */
11339
11340 #ifdef TIME_WITH_SYS_TIME
11341 #include <sys/time.h>
11342 #include <time.h>
11343 #else
11344 #ifdef HAVE_SYS_TIME_H
11345 #include <sys/time.h>
11346 #else
11347 #include <time.h>
11348 #endif
11349 #endif
11350 main ()
11351 {
11352 struct timeval time;
11353 struct timezone dummy;
11354 if (gettimeofday (&time, &dummy))
11355 exit (1);
11356 else
11357 exit (0);
11358 }
11359 _ACEOF
11360 rm -f conftest$ac_exeext
11361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11362 (eval $ac_link) 2>&5
11363 ac_status=$?
11364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11365 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11367 (eval $ac_try) 2>&5
11368 ac_status=$?
11369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11370 (exit $ac_status); }; }; then
11371 gfor_have_struct_timezone=yes
11372 else
11373 echo "$as_me: program exited with status $ac_status" >&5
11374 echo "$as_me: failed program was:" >&5
11375 sed 's/^/| /' conftest.$ac_ext >&5
11376
11377 ( exit $ac_status )
11378 gfor_have_struct_timezone=no
11379 fi
11380 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11381 fi
11382 if test $gfor_have_struct_timezone = yes; then
11383
11384 cat >>confdefs.h <<\_ACEOF
11385 #define HAVE_TIMEZONE 1
11386 _ACEOF
11387
11388 fi
11389 fi
11390
11391 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
11392 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
11393 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11394 echo $ECHO_N "(cached) $ECHO_C" >&6
11395 else
11396 cat >conftest.$ac_ext <<_ACEOF
11397 /* confdefs.h. */
11398 _ACEOF
11399 cat confdefs.h >>conftest.$ac_ext
11400 cat >>conftest.$ac_ext <<_ACEOF
11401 /* end confdefs.h. */
11402
11403 #ifdef TIME_WITH_SYS_TIME
11404 #include <sys/time.h>
11405 #include <time.h>
11406 #else
11407 #ifdef HAVE_SYS_TIME_H
11408 #include <sys/time.h>
11409 #else
11410 #include <time.h>
11411 #endif
11412 #endif
11413
11414 int
11415 main ()
11416 {
11417
11418 struct timeval time;
11419 #ifdef HAVE_TIMEZONE
11420 struct timezone dummy;
11421 #define DUMMY &dummy
11422 #else
11423 #define DUMMY NULL
11424 #endif
11425 gettimeofday (&time, DUMMY);
11426 ;
11427 return 0;
11428 }
11429 _ACEOF
11430 rm -f conftest.$ac_objext conftest$ac_exeext
11431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11432 (eval $ac_link) 2>conftest.er1
11433 ac_status=$?
11434 grep -v '^ *+' conftest.er1 >conftest.err
11435 rm -f conftest.er1
11436 cat conftest.err >&5
11437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11438 (exit $ac_status); } &&
11439 { ac_try='test -z "$ac_c_werror_flag"
11440 || test ! -s conftest.err'
11441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11442 (eval $ac_try) 2>&5
11443 ac_status=$?
11444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11445 (exit $ac_status); }; } &&
11446 { ac_try='test -s conftest$ac_exeext'
11447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11448 (eval $ac_try) 2>&5
11449 ac_status=$?
11450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11451 (exit $ac_status); }; }; then
11452 emacs_cv_gettimeofday_two_arguments=yes
11453 else
11454 echo "$as_me: failed program was:" >&5
11455 sed 's/^/| /' conftest.$ac_ext >&5
11456
11457 emacs_cv_gettimeofday_two_arguments=no
11458 fi
11459 rm -f conftest.err conftest.$ac_objext \
11460 conftest$ac_exeext conftest.$ac_ext
11461 fi
11462 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
11463 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11464 if test $emacs_cv_gettimeofday_two_arguments = no; then
11465
11466 cat >>confdefs.h <<\_ACEOF
11467 #define GETTIMEOFDAY_ONE_ARGUMENT 1
11468 _ACEOF
11469
11470 fi
11471 fi
11472
11473 # Attempt to assert that the target is of common type in case we don't
11474 # have C99 integer types at all.
11475
11476 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
11477 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
11478 if test "${target_ilp32+set}" = set; then
11479 echo $ECHO_N "(cached) $ECHO_C" >&6
11480 else
11481
11482 save_CFLAGS="$CFLAGS"
11483 CFLAGS="-O2"
11484 cat >conftest.$ac_ext <<_ACEOF
11485 /* confdefs.h. */
11486 _ACEOF
11487 cat confdefs.h >>conftest.$ac_ext
11488 cat >>conftest.$ac_ext <<_ACEOF
11489 /* end confdefs.h. */
11490
11491 int
11492 main ()
11493 {
11494
11495 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
11496 ;
11497 else
11498 undefined_function ();
11499
11500 ;
11501 return 0;
11502 }
11503 _ACEOF
11504 rm -f conftest.$ac_objext conftest$ac_exeext
11505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11506 (eval $ac_link) 2>conftest.er1
11507 ac_status=$?
11508 grep -v '^ *+' conftest.er1 >conftest.err
11509 rm -f conftest.er1
11510 cat conftest.err >&5
11511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11512 (exit $ac_status); } &&
11513 { ac_try='test -z "$ac_c_werror_flag"
11514 || test ! -s conftest.err'
11515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11516 (eval $ac_try) 2>&5
11517 ac_status=$?
11518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11519 (exit $ac_status); }; } &&
11520 { ac_try='test -s conftest$ac_exeext'
11521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11522 (eval $ac_try) 2>&5
11523 ac_status=$?
11524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11525 (exit $ac_status); }; }; then
11526 target_ilp32=yes
11527 else
11528 echo "$as_me: failed program was:" >&5
11529 sed 's/^/| /' conftest.$ac_ext >&5
11530
11531 target_ilp32=no
11532 fi
11533 rm -f conftest.err conftest.$ac_objext \
11534 conftest$ac_exeext conftest.$ac_ext
11535 CFLAGS="$save_CFLAGS"
11536 fi
11537 echo "$as_me:$LINENO: result: $target_ilp32" >&5
11538 echo "${ECHO_T}$target_ilp32" >&6
11539 if test $target_ilp32 = yes; then
11540
11541 cat >>confdefs.h <<\_ACEOF
11542 #define TARGET_ILP32 1
11543 _ACEOF
11544
11545 fi
11546
11547
11548 # Check out attribute support.
11549
11550 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
11551 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
11552 if test "${have_attribute_visibility+set}" = set; then
11553 echo $ECHO_N "(cached) $ECHO_C" >&6
11554 else
11555
11556 save_CFLAGS="$CFLAGS"
11557 CFLAGS="$CFLAGS -Werror"
11558 cat >conftest.$ac_ext <<_ACEOF
11559 /* confdefs.h. */
11560 _ACEOF
11561 cat confdefs.h >>conftest.$ac_ext
11562 cat >>conftest.$ac_ext <<_ACEOF
11563 /* end confdefs.h. */
11564 void __attribute__((visibility("hidden"))) foo(void) { }
11565 int
11566 main ()
11567 {
11568
11569 ;
11570 return 0;
11571 }
11572 _ACEOF
11573 rm -f conftest.$ac_objext
11574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11575 (eval $ac_compile) 2>conftest.er1
11576 ac_status=$?
11577 grep -v '^ *+' conftest.er1 >conftest.err
11578 rm -f conftest.er1
11579 cat conftest.err >&5
11580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11581 (exit $ac_status); } &&
11582 { ac_try='test -z "$ac_c_werror_flag"
11583 || test ! -s conftest.err'
11584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11585 (eval $ac_try) 2>&5
11586 ac_status=$?
11587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11588 (exit $ac_status); }; } &&
11589 { ac_try='test -s conftest.$ac_objext'
11590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11591 (eval $ac_try) 2>&5
11592 ac_status=$?
11593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11594 (exit $ac_status); }; }; then
11595 have_attribute_visibility=yes
11596 else
11597 echo "$as_me: failed program was:" >&5
11598 sed 's/^/| /' conftest.$ac_ext >&5
11599
11600 have_attribute_visibility=no
11601 fi
11602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11603 CFLAGS="$save_CFLAGS"
11604 fi
11605 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
11606 echo "${ECHO_T}$have_attribute_visibility" >&6
11607 if test $have_attribute_visibility = yes; then
11608
11609 cat >>confdefs.h <<\_ACEOF
11610 #define HAVE_ATTRIBUTE_VISIBILITY 1
11611 _ACEOF
11612
11613 fi
11614
11615 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
11616 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
11617 if test "${have_attribute_dllexport+set}" = set; then
11618 echo $ECHO_N "(cached) $ECHO_C" >&6
11619 else
11620
11621 save_CFLAGS="$CFLAGS"
11622 CFLAGS="$CFLAGS -Werror"
11623 cat >conftest.$ac_ext <<_ACEOF
11624 /* confdefs.h. */
11625 _ACEOF
11626 cat confdefs.h >>conftest.$ac_ext
11627 cat >>conftest.$ac_ext <<_ACEOF
11628 /* end confdefs.h. */
11629 void __attribute__((dllexport)) foo(void) { }
11630 int
11631 main ()
11632 {
11633
11634 ;
11635 return 0;
11636 }
11637 _ACEOF
11638 rm -f conftest.$ac_objext
11639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11640 (eval $ac_compile) 2>conftest.er1
11641 ac_status=$?
11642 grep -v '^ *+' conftest.er1 >conftest.err
11643 rm -f conftest.er1
11644 cat conftest.err >&5
11645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11646 (exit $ac_status); } &&
11647 { ac_try='test -z "$ac_c_werror_flag"
11648 || test ! -s conftest.err'
11649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11650 (eval $ac_try) 2>&5
11651 ac_status=$?
11652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11653 (exit $ac_status); }; } &&
11654 { ac_try='test -s conftest.$ac_objext'
11655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11656 (eval $ac_try) 2>&5
11657 ac_status=$?
11658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11659 (exit $ac_status); }; }; then
11660 have_attribute_dllexport=yes
11661 else
11662 echo "$as_me: failed program was:" >&5
11663 sed 's/^/| /' conftest.$ac_ext >&5
11664
11665 have_attribute_dllexport=no
11666 fi
11667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11668 CFLAGS="$save_CFLAGS"
11669 fi
11670 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
11671 echo "${ECHO_T}$have_attribute_dllexport" >&6
11672 if test $have_attribute_dllexport = yes; then
11673
11674 cat >>confdefs.h <<\_ACEOF
11675 #define HAVE_ATTRIBUTE_DLLEXPORT 1
11676 _ACEOF
11677
11678 fi
11679
11680 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
11681 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
11682 if test "${have_attribute_alias+set}" = set; then
11683 echo $ECHO_N "(cached) $ECHO_C" >&6
11684 else
11685
11686 cat >conftest.$ac_ext <<_ACEOF
11687 /* confdefs.h. */
11688 _ACEOF
11689 cat confdefs.h >>conftest.$ac_ext
11690 cat >>conftest.$ac_ext <<_ACEOF
11691 /* end confdefs.h. */
11692
11693 #define ULP STR1(__USER_LABEL_PREFIX__)
11694 #define STR1(x) STR2(x)
11695 #define STR2(x) #x
11696 void foo(void) { }
11697 extern void bar(void) __attribute__((alias(ULP "foo")));
11698 int
11699 main ()
11700 {
11701 bar();
11702 ;
11703 return 0;
11704 }
11705 _ACEOF
11706 rm -f conftest.$ac_objext conftest$ac_exeext
11707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11708 (eval $ac_link) 2>conftest.er1
11709 ac_status=$?
11710 grep -v '^ *+' conftest.er1 >conftest.err
11711 rm -f conftest.er1
11712 cat conftest.err >&5
11713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11714 (exit $ac_status); } &&
11715 { ac_try='test -z "$ac_c_werror_flag"
11716 || test ! -s conftest.err'
11717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11718 (eval $ac_try) 2>&5
11719 ac_status=$?
11720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11721 (exit $ac_status); }; } &&
11722 { ac_try='test -s conftest$ac_exeext'
11723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11724 (eval $ac_try) 2>&5
11725 ac_status=$?
11726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11727 (exit $ac_status); }; }; then
11728 have_attribute_alias=yes
11729 else
11730 echo "$as_me: failed program was:" >&5
11731 sed 's/^/| /' conftest.$ac_ext >&5
11732
11733 have_attribute_alias=no
11734 fi
11735 rm -f conftest.err conftest.$ac_objext \
11736 conftest$ac_exeext conftest.$ac_ext
11737 fi
11738 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
11739 echo "${ECHO_T}$have_attribute_alias" >&6
11740 if test $have_attribute_alias = yes; then
11741
11742 cat >>confdefs.h <<\_ACEOF
11743 #define HAVE_ATTRIBUTE_ALIAS 1
11744 _ACEOF
11745
11746 fi
11747
11748 cat >confcache <<\_ACEOF
11749 # This file is a shell script that caches the results of configure
11750 # tests run on this system so they can be shared between configure
11751 # scripts and configure runs, see configure's option --config-cache.
11752 # It is not useful on other systems. If it contains results you don't
11753 # want to keep, you may remove or edit it.
11754 #
11755 # config.status only pays attention to the cache file if you give it
11756 # the --recheck option to rerun configure.
11757 #
11758 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11759 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11760 # following values.
11761
11762 _ACEOF
11763
11764 # The following way of writing the cache mishandles newlines in values,
11765 # but we know of no workaround that is simple, portable, and efficient.
11766 # So, don't put newlines in cache variables' values.
11767 # Ultrix sh set writes to stderr and can't be redirected directly,
11768 # and sets the high bit in the cache file unless we assign to the vars.
11769 {
11770 (set) 2>&1 |
11771 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11772 *ac_space=\ *)
11773 # `set' does not quote correctly, so add quotes (double-quote
11774 # substitution turns \\\\ into \\, and sed turns \\ into \).
11775 sed -n \
11776 "s/'/'\\\\''/g;
11777 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11778 ;;
11779 *)
11780 # `set' quotes correctly as required by POSIX, so do not add quotes.
11781 sed -n \
11782 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11783 ;;
11784 esac;
11785 } |
11786 sed '
11787 t clear
11788 : clear
11789 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11790 t end
11791 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11792 : end' >>confcache
11793 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11794 if test -w $cache_file; then
11795 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11796 cat confcache >$cache_file
11797 else
11798 echo "not updating unwritable cache $cache_file"
11799 fi
11800 fi
11801 rm -f confcache
11802
11803 if test ${multilib} = yes; then
11804 multilib_arg="--enable-multilib"
11805 else
11806 multilib_arg=
11807 fi
11808
11809 # Write our Makefile.
11810 ac_config_files="$ac_config_files Makefile"
11811
11812 cat >confcache <<\_ACEOF
11813 # This file is a shell script that caches the results of configure
11814 # tests run on this system so they can be shared between configure
11815 # scripts and configure runs, see configure's option --config-cache.
11816 # It is not useful on other systems. If it contains results you don't
11817 # want to keep, you may remove or edit it.
11818 #
11819 # config.status only pays attention to the cache file if you give it
11820 # the --recheck option to rerun configure.
11821 #
11822 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11823 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11824 # following values.
11825
11826 _ACEOF
11827
11828 # The following way of writing the cache mishandles newlines in values,
11829 # but we know of no workaround that is simple, portable, and efficient.
11830 # So, don't put newlines in cache variables' values.
11831 # Ultrix sh set writes to stderr and can't be redirected directly,
11832 # and sets the high bit in the cache file unless we assign to the vars.
11833 {
11834 (set) 2>&1 |
11835 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11836 *ac_space=\ *)
11837 # `set' does not quote correctly, so add quotes (double-quote
11838 # substitution turns \\\\ into \\, and sed turns \\ into \).
11839 sed -n \
11840 "s/'/'\\\\''/g;
11841 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11842 ;;
11843 *)
11844 # `set' quotes correctly as required by POSIX, so do not add quotes.
11845 sed -n \
11846 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11847 ;;
11848 esac;
11849 } |
11850 sed '
11851 t clear
11852 : clear
11853 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11854 t end
11855 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11856 : end' >>confcache
11857 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11858 if test -w $cache_file; then
11859 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11860 cat confcache >$cache_file
11861 else
11862 echo "not updating unwritable cache $cache_file"
11863 fi
11864 fi
11865 rm -f confcache
11866
11867 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11868 # Let make expand exec_prefix.
11869 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11870
11871 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11872 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11873 # trailing colons and then remove the whole line if VPATH becomes empty
11874 # (actually we leave an empty line to preserve line numbers).
11875 if test "x$srcdir" = x.; then
11876 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11877 s/:*\$(srcdir):*/:/;
11878 s/:*\${srcdir}:*/:/;
11879 s/:*@srcdir@:*/:/;
11880 s/^\([^=]*=[ ]*\):*/\1/;
11881 s/:*$//;
11882 s/^[^=]*=[ ]*$//;
11883 }'
11884 fi
11885
11886 DEFS=-DHAVE_CONFIG_H
11887
11888 ac_libobjs=
11889 ac_ltlibobjs=
11890 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11891 # 1. Remove the extension, and $U if already installed.
11892 ac_i=`echo "$ac_i" |
11893 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11894 # 2. Add them.
11895 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
11896 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
11897 done
11898 LIBOBJS=$ac_libobjs
11899
11900 LTLIBOBJS=$ac_ltlibobjs
11901
11902
11903 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11904 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11905 Usually this means the macro was only invoked conditionally." >&5
11906 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11907 Usually this means the macro was only invoked conditionally." >&2;}
11908 { (exit 1); exit 1; }; }
11909 fi
11910
11911 : ${CONFIG_STATUS=./config.status}
11912 ac_clean_files_save=$ac_clean_files
11913 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11914 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11915 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11916 cat >$CONFIG_STATUS <<_ACEOF
11917 #! $SHELL
11918 # Generated by $as_me.
11919 # Run this file to recreate the current configuration.
11920 # Compiler output produced by configure, useful for debugging
11921 # configure, is in config.log if it exists.
11922
11923 debug=false
11924 ac_cs_recheck=false
11925 ac_cs_silent=false
11926 SHELL=\${CONFIG_SHELL-$SHELL}
11927 _ACEOF
11928
11929 cat >>$CONFIG_STATUS <<\_ACEOF
11930 ## --------------------- ##
11931 ## M4sh Initialization. ##
11932 ## --------------------- ##
11933
11934 # Be Bourne compatible
11935 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11936 emulate sh
11937 NULLCMD=:
11938 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11939 # is contrary to our usage. Disable this feature.
11940 alias -g '${1+"$@"}'='"$@"'
11941 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
11942 set -o posix
11943 fi
11944 DUALCASE=1; export DUALCASE # for MKS sh
11945
11946 # Support unset when possible.
11947 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11948 as_unset=unset
11949 else
11950 as_unset=false
11951 fi
11952
11953
11954 # Work around bugs in pre-3.0 UWIN ksh.
11955 $as_unset ENV MAIL MAILPATH
11956 PS1='$ '
11957 PS2='> '
11958 PS4='+ '
11959
11960 # NLS nuisances.
11961 for as_var in \
11962 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11963 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11964 LC_TELEPHONE LC_TIME
11965 do
11966 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11967 eval $as_var=C; export $as_var
11968 else
11969 $as_unset $as_var
11970 fi
11971 done
11972
11973 # Required to use basename.
11974 if expr a : '\(a\)' >/dev/null 2>&1; then
11975 as_expr=expr
11976 else
11977 as_expr=false
11978 fi
11979
11980 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
11981 as_basename=basename
11982 else
11983 as_basename=false
11984 fi
11985
11986
11987 # Name of the executable.
11988 as_me=`$as_basename "$0" ||
11989 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11990 X"$0" : 'X\(//\)$' \| \
11991 X"$0" : 'X\(/\)$' \| \
11992 . : '\(.\)' 2>/dev/null ||
11993 echo X/"$0" |
11994 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11995 /^X\/\(\/\/\)$/{ s//\1/; q; }
11996 /^X\/\(\/\).*/{ s//\1/; q; }
11997 s/.*/./; q'`
11998
11999
12000 # PATH needs CR, and LINENO needs CR and PATH.
12001 # Avoid depending upon Character Ranges.
12002 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12003 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12004 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12005 as_cr_digits='0123456789'
12006 as_cr_alnum=$as_cr_Letters$as_cr_digits
12007
12008 # The user is always right.
12009 if test "${PATH_SEPARATOR+set}" != set; then
12010 echo "#! /bin/sh" >conf$$.sh
12011 echo "exit 0" >>conf$$.sh
12012 chmod +x conf$$.sh
12013 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12014 PATH_SEPARATOR=';'
12015 else
12016 PATH_SEPARATOR=:
12017 fi
12018 rm -f conf$$.sh
12019 fi
12020
12021
12022 as_lineno_1=$LINENO
12023 as_lineno_2=$LINENO
12024 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12025 test "x$as_lineno_1" != "x$as_lineno_2" &&
12026 test "x$as_lineno_3" = "x$as_lineno_2" || {
12027 # Find who we are. Look in the path if we contain no path at all
12028 # relative or not.
12029 case $0 in
12030 *[\\/]* ) as_myself=$0 ;;
12031 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12032 for as_dir in $PATH
12033 do
12034 IFS=$as_save_IFS
12035 test -z "$as_dir" && as_dir=.
12036 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12037 done
12038
12039 ;;
12040 esac
12041 # We did not find ourselves, most probably we were run as `sh COMMAND'
12042 # in which case we are not to be found in the path.
12043 if test "x$as_myself" = x; then
12044 as_myself=$0
12045 fi
12046 if test ! -f "$as_myself"; then
12047 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12048 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12049 { (exit 1); exit 1; }; }
12050 fi
12051 case $CONFIG_SHELL in
12052 '')
12053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12054 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
12055 do
12056 IFS=$as_save_IFS
12057 test -z "$as_dir" && as_dir=.
12058 for as_base in sh bash ksh sh5; do
12059 case $as_dir in
12060 /*)
12061 if ("$as_dir/$as_base" -c '
12062 as_lineno_1=$LINENO
12063 as_lineno_2=$LINENO
12064 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12065 test "x$as_lineno_1" != "x$as_lineno_2" &&
12066 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
12067 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
12068 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
12069 CONFIG_SHELL=$as_dir/$as_base
12070 export CONFIG_SHELL
12071 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12072 fi;;
12073 esac
12074 done
12075 done
12076 ;;
12077 esac
12078
12079 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12080 # uniformly replaced by the line number. The first 'sed' inserts a
12081 # line-number line before each line; the second 'sed' does the real
12082 # work. The second script uses 'N' to pair each line-number line
12083 # with the numbered line, and appends trailing '-' during
12084 # substitution so that $LINENO is not a special case at line end.
12085 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12086 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12087 sed '=' <$as_myself |
12088 sed '
12089 N
12090 s,$,-,
12091 : loop
12092 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12093 t loop
12094 s,-$,,
12095 s,^['$as_cr_digits']*\n,,
12096 ' >$as_me.lineno &&
12097 chmod +x $as_me.lineno ||
12098 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12099 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12100 { (exit 1); exit 1; }; }
12101
12102 # Don't try to exec as it changes $[0], causing all sort of problems
12103 # (the dirname of $[0] is not the place where we might find the
12104 # original and so on. Autoconf is especially sensible to this).
12105 . ./$as_me.lineno
12106 # Exit status is that of the last command.
12107 exit
12108 }
12109
12110
12111 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12112 *c*,-n*) ECHO_N= ECHO_C='
12113 ' ECHO_T=' ' ;;
12114 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
12115 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
12116 esac
12117
12118 if expr a : '\(a\)' >/dev/null 2>&1; then
12119 as_expr=expr
12120 else
12121 as_expr=false
12122 fi
12123
12124 rm -f conf$$ conf$$.exe conf$$.file
12125 echo >conf$$.file
12126 if ln -s conf$$.file conf$$ 2>/dev/null; then
12127 # We could just check for DJGPP; but this test a) works b) is more generic
12128 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12129 if test -f conf$$.exe; then
12130 # Don't use ln at all; we don't have any links
12131 as_ln_s='cp -p'
12132 else
12133 as_ln_s='ln -s'
12134 fi
12135 elif ln conf$$.file conf$$ 2>/dev/null; then
12136 as_ln_s=ln
12137 else
12138 as_ln_s='cp -p'
12139 fi
12140 rm -f conf$$ conf$$.exe conf$$.file
12141
12142 if mkdir -p . 2>/dev/null; then
12143 as_mkdir_p=:
12144 else
12145 test -d ./-p && rmdir ./-p
12146 as_mkdir_p=false
12147 fi
12148
12149 as_executable_p="test -f"
12150
12151 # Sed expression to map a string onto a valid CPP name.
12152 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12153
12154 # Sed expression to map a string onto a valid variable name.
12155 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12156
12157
12158 # IFS
12159 # We need space, tab and new line, in precisely that order.
12160 as_nl='
12161 '
12162 IFS=" $as_nl"
12163
12164 # CDPATH.
12165 $as_unset CDPATH
12166
12167 exec 6>&1
12168
12169 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12170 # report actual input values of CONFIG_FILES etc. instead of their
12171 # values after options handling. Logging --version etc. is OK.
12172 exec 5>>config.log
12173 {
12174 echo
12175 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12176 ## Running $as_me. ##
12177 _ASBOX
12178 } >&5
12179 cat >&5 <<_CSEOF
12180
12181 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
12182 generated by GNU Autoconf 2.59. Invocation command line was
12183
12184 CONFIG_FILES = $CONFIG_FILES
12185 CONFIG_HEADERS = $CONFIG_HEADERS
12186 CONFIG_LINKS = $CONFIG_LINKS
12187 CONFIG_COMMANDS = $CONFIG_COMMANDS
12188 $ $0 $@
12189
12190 _CSEOF
12191 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12192 echo >&5
12193 _ACEOF
12194
12195 # Files that config.status was made for.
12196 if test -n "$ac_config_files"; then
12197 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12198 fi
12199
12200 if test -n "$ac_config_headers"; then
12201 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12202 fi
12203
12204 if test -n "$ac_config_links"; then
12205 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12206 fi
12207
12208 if test -n "$ac_config_commands"; then
12209 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12210 fi
12211
12212 cat >>$CONFIG_STATUS <<\_ACEOF
12213
12214 ac_cs_usage="\
12215 \`$as_me' instantiates files from templates according to the
12216 current configuration.
12217
12218 Usage: $0 [OPTIONS] [FILE]...
12219
12220 -h, --help print this help, then exit
12221 -V, --version print version number, then exit
12222 -q, --quiet do not print progress messages
12223 -d, --debug don't remove temporary files
12224 --recheck update $as_me by reconfiguring in the same conditions
12225 --file=FILE[:TEMPLATE]
12226 instantiate the configuration file FILE
12227 --header=FILE[:TEMPLATE]
12228 instantiate the configuration header FILE
12229
12230 Configuration files:
12231 $config_files
12232
12233 Configuration headers:
12234 $config_headers
12235
12236 Configuration commands:
12237 $config_commands
12238
12239 Report bugs to <bug-autoconf@gnu.org>."
12240 _ACEOF
12241
12242 cat >>$CONFIG_STATUS <<_ACEOF
12243 ac_cs_version="\\
12244 GNU Fortran Runtime Library config.status 0.2
12245 configured by $0, generated by GNU Autoconf 2.59,
12246 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12247
12248 Copyright (C) 2003 Free Software Foundation, Inc.
12249 This config.status script is free software; the Free Software Foundation
12250 gives unlimited permission to copy, distribute and modify it."
12251 srcdir=$srcdir
12252 INSTALL="$INSTALL"
12253 _ACEOF
12254
12255 cat >>$CONFIG_STATUS <<\_ACEOF
12256 # If no file are specified by the user, then we need to provide default
12257 # value. By we need to know if files were specified by the user.
12258 ac_need_defaults=:
12259 while test $# != 0
12260 do
12261 case $1 in
12262 --*=*)
12263 ac_option=`expr "x$1" : 'x\([^=]*\)='`
12264 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
12265 ac_shift=:
12266 ;;
12267 -*)
12268 ac_option=$1
12269 ac_optarg=$2
12270 ac_shift=shift
12271 ;;
12272 *) # This is not an option, so the user has probably given explicit
12273 # arguments.
12274 ac_option=$1
12275 ac_need_defaults=false;;
12276 esac
12277
12278 case $ac_option in
12279 # Handling of the options.
12280 _ACEOF
12281 cat >>$CONFIG_STATUS <<\_ACEOF
12282 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12283 ac_cs_recheck=: ;;
12284 --version | --vers* | -V )
12285 echo "$ac_cs_version"; exit 0 ;;
12286 --he | --h)
12287 # Conflict between --help and --header
12288 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12289 Try \`$0 --help' for more information." >&5
12290 echo "$as_me: error: ambiguous option: $1
12291 Try \`$0 --help' for more information." >&2;}
12292 { (exit 1); exit 1; }; };;
12293 --help | --hel | -h )
12294 echo "$ac_cs_usage"; exit 0 ;;
12295 --debug | --d* | -d )
12296 debug=: ;;
12297 --file | --fil | --fi | --f )
12298 $ac_shift
12299 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
12300 ac_need_defaults=false;;
12301 --header | --heade | --head | --hea )
12302 $ac_shift
12303 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
12304 ac_need_defaults=false;;
12305 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12306 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12307 ac_cs_silent=: ;;
12308
12309 # This is an error.
12310 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12311 Try \`$0 --help' for more information." >&5
12312 echo "$as_me: error: unrecognized option: $1
12313 Try \`$0 --help' for more information." >&2;}
12314 { (exit 1); exit 1; }; } ;;
12315
12316 *) ac_config_targets="$ac_config_targets $1" ;;
12317
12318 esac
12319 shift
12320 done
12321
12322 ac_configure_extra_args=
12323
12324 if $ac_cs_silent; then
12325 exec 6>/dev/null
12326 ac_configure_extra_args="$ac_configure_extra_args --silent"
12327 fi
12328
12329 _ACEOF
12330 cat >>$CONFIG_STATUS <<_ACEOF
12331 if \$ac_cs_recheck; then
12332 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12333 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12334 fi
12335
12336 _ACEOF
12337
12338 cat >>$CONFIG_STATUS <<_ACEOF
12339 #
12340 # INIT-COMMANDS section.
12341 #
12342
12343
12344 srcdir="$srcdir"
12345 host="$host"
12346 target="$target"
12347 with_multisubdir="$with_multisubdir"
12348 with_multisrctop="$with_multisrctop"
12349 with_target_subdir="$with_target_subdir"
12350 ac_configure_args="${multilib_arg} ${ac_configure_args}"
12351 multi_basedir="$multi_basedir"
12352 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
12353 CC="$CC"
12354
12355 _ACEOF
12356
12357
12358
12359 cat >>$CONFIG_STATUS <<\_ACEOF
12360 for ac_config_target in $ac_config_targets
12361 do
12362 case "$ac_config_target" in
12363 # Handling of arguments.
12364 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12365 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
12366 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12367 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12368 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12369 { (exit 1); exit 1; }; };;
12370 esac
12371 done
12372
12373 # If the user did not use the arguments to specify the items to instantiate,
12374 # then the envvar interface is used. Set only those that are not.
12375 # We use the long form for the default assignment because of an extremely
12376 # bizarre bug on SunOS 4.1.3.
12377 if $ac_need_defaults; then
12378 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12379 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12380 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12381 fi
12382
12383 # Have a temporary directory for convenience. Make it in the build tree
12384 # simply because there is no reason to put it here, and in addition,
12385 # creating and moving files from /tmp can sometimes cause problems.
12386 # Create a temporary directory, and hook for its removal unless debugging.
12387 $debug ||
12388 {
12389 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12390 trap '{ (exit 1); exit 1; }' 1 2 13 15
12391 }
12392
12393 # Create a (secure) tmp directory for tmp files.
12394
12395 {
12396 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12397 test -n "$tmp" && test -d "$tmp"
12398 } ||
12399 {
12400 tmp=./confstat$$-$RANDOM
12401 (umask 077 && mkdir $tmp)
12402 } ||
12403 {
12404 echo "$me: cannot create a temporary directory in ." >&2
12405 { (exit 1); exit 1; }
12406 }
12407
12408 _ACEOF
12409
12410 cat >>$CONFIG_STATUS <<_ACEOF
12411
12412 #
12413 # CONFIG_FILES section.
12414 #
12415
12416 # No need to generate the scripts if there are no CONFIG_FILES.
12417 # This happens for instance when ./config.status config.h
12418 if test -n "\$CONFIG_FILES"; then
12419 # Protect against being on the right side of a sed subst in config.status.
12420 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12421 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12422 s,@SHELL@,$SHELL,;t t
12423 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12424 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12425 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12426 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12427 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12428 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12429 s,@exec_prefix@,$exec_prefix,;t t
12430 s,@prefix@,$prefix,;t t
12431 s,@program_transform_name@,$program_transform_name,;t t
12432 s,@bindir@,$bindir,;t t
12433 s,@sbindir@,$sbindir,;t t
12434 s,@libexecdir@,$libexecdir,;t t
12435 s,@datadir@,$datadir,;t t
12436 s,@sysconfdir@,$sysconfdir,;t t
12437 s,@sharedstatedir@,$sharedstatedir,;t t
12438 s,@localstatedir@,$localstatedir,;t t
12439 s,@libdir@,$libdir,;t t
12440 s,@includedir@,$includedir,;t t
12441 s,@oldincludedir@,$oldincludedir,;t t
12442 s,@infodir@,$infodir,;t t
12443 s,@mandir@,$mandir,;t t
12444 s,@build_alias@,$build_alias,;t t
12445 s,@host_alias@,$host_alias,;t t
12446 s,@target_alias@,$target_alias,;t t
12447 s,@DEFS@,$DEFS,;t t
12448 s,@ECHO_C@,$ECHO_C,;t t
12449 s,@ECHO_N@,$ECHO_N,;t t
12450 s,@ECHO_T@,$ECHO_T,;t t
12451 s,@LIBS@,$LIBS,;t t
12452 s,@build@,$build,;t t
12453 s,@build_cpu@,$build_cpu,;t t
12454 s,@build_vendor@,$build_vendor,;t t
12455 s,@build_os@,$build_os,;t t
12456 s,@host@,$host,;t t
12457 s,@host_cpu@,$host_cpu,;t t
12458 s,@host_vendor@,$host_vendor,;t t
12459 s,@host_os@,$host_os,;t t
12460 s,@target@,$target,;t t
12461 s,@target_cpu@,$target_cpu,;t t
12462 s,@target_vendor@,$target_vendor,;t t
12463 s,@target_os@,$target_os,;t t
12464 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12465 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12466 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12467 s,@CYGPATH_W@,$CYGPATH_W,;t t
12468 s,@PACKAGE@,$PACKAGE,;t t
12469 s,@VERSION@,$VERSION,;t t
12470 s,@ACLOCAL@,$ACLOCAL,;t t
12471 s,@AUTOCONF@,$AUTOCONF,;t t
12472 s,@AUTOMAKE@,$AUTOMAKE,;t t
12473 s,@AUTOHEADER@,$AUTOHEADER,;t t
12474 s,@MAKEINFO@,$MAKEINFO,;t t
12475 s,@install_sh@,$install_sh,;t t
12476 s,@STRIP@,$STRIP,;t t
12477 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12478 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
12479 s,@mkdir_p@,$mkdir_p,;t t
12480 s,@AWK@,$AWK,;t t
12481 s,@SET_MAKE@,$SET_MAKE,;t t
12482 s,@am__leading_dot@,$am__leading_dot,;t t
12483 s,@AMTAR@,$AMTAR,;t t
12484 s,@am__tar@,$am__tar,;t t
12485 s,@am__untar@,$am__untar,;t t
12486 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12487 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12488 s,@MAINT@,$MAINT,;t t
12489 s,@multi_basedir@,$multi_basedir,;t t
12490 s,@toolexecdir@,$toolexecdir,;t t
12491 s,@toolexeclibdir@,$toolexeclibdir,;t t
12492 s,@CC@,$CC,;t t
12493 s,@ac_ct_CC@,$ac_ct_CC,;t t
12494 s,@EXEEXT@,$EXEEXT,;t t
12495 s,@OBJEXT@,$OBJEXT,;t t
12496 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
12497 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
12498 s,@AS@,$AS,;t t
12499 s,@ac_ct_AS@,$ac_ct_AS,;t t
12500 s,@AR@,$AR,;t t
12501 s,@ac_ct_AR@,$ac_ct_AR,;t t
12502 s,@RANLIB@,$RANLIB,;t t
12503 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12504 s,@LN_S@,$LN_S,;t t
12505 s,@LIBTOOL@,$LIBTOOL,;t t
12506 s,@enable_shared@,$enable_shared,;t t
12507 s,@enable_static@,$enable_static,;t t
12508 s,@FC@,$FC,;t t
12509 s,@FCFLAGS@,$FCFLAGS,;t t
12510 s,@LDFLAGS@,$LDFLAGS,;t t
12511 s,@ac_ct_FC@,$ac_ct_FC,;t t
12512 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
12513 s,@CPP@,$CPP,;t t
12514 s,@CPPFLAGS@,$CPPFLAGS,;t t
12515 s,@EGREP@,$EGREP,;t t
12516 s,@MATH_OBJ@,$MATH_OBJ,;t t
12517 s,@LIBOBJS@,$LIBOBJS,;t t
12518 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12519 CEOF
12520
12521 _ACEOF
12522
12523 cat >>$CONFIG_STATUS <<\_ACEOF
12524 # Split the substitutions into bite-sized pieces for seds with
12525 # small command number limits, like on Digital OSF/1 and HP-UX.
12526 ac_max_sed_lines=48
12527 ac_sed_frag=1 # Number of current file.
12528 ac_beg=1 # First line for current file.
12529 ac_end=$ac_max_sed_lines # Line after last line for current file.
12530 ac_more_lines=:
12531 ac_sed_cmds=
12532 while $ac_more_lines; do
12533 if test $ac_beg -gt 1; then
12534 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12535 else
12536 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12537 fi
12538 if test ! -s $tmp/subs.frag; then
12539 ac_more_lines=false
12540 else
12541 # The purpose of the label and of the branching condition is to
12542 # speed up the sed processing (if there are no `@' at all, there
12543 # is no need to browse any of the substitutions).
12544 # These are the two extra sed commands mentioned above.
12545 (echo ':t
12546 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
12547 if test -z "$ac_sed_cmds"; then
12548 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
12549 else
12550 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12551 fi
12552 ac_sed_frag=`expr $ac_sed_frag + 1`
12553 ac_beg=$ac_end
12554 ac_end=`expr $ac_end + $ac_max_sed_lines`
12555 fi
12556 done
12557 if test -z "$ac_sed_cmds"; then
12558 ac_sed_cmds=cat
12559 fi
12560 fi # test -n "$CONFIG_FILES"
12561
12562 _ACEOF
12563 cat >>$CONFIG_STATUS <<\_ACEOF
12564 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
12565 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12566 case $ac_file in
12567 - | *:- | *:-:* ) # input from stdin
12568 cat >$tmp/stdin
12569 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12570 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12571 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12572 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12573 * ) ac_file_in=$ac_file.in ;;
12574 esac
12575
12576 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12577 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12578 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12579 X"$ac_file" : 'X\(//\)[^/]' \| \
12580 X"$ac_file" : 'X\(//\)$' \| \
12581 X"$ac_file" : 'X\(/\)' \| \
12582 . : '\(.\)' 2>/dev/null ||
12583 echo X"$ac_file" |
12584 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12585 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12586 /^X\(\/\/\)$/{ s//\1/; q; }
12587 /^X\(\/\).*/{ s//\1/; q; }
12588 s/.*/./; q'`
12589 { if $as_mkdir_p; then
12590 mkdir -p "$ac_dir"
12591 else
12592 as_dir="$ac_dir"
12593 as_dirs=
12594 while test ! -d "$as_dir"; do
12595 as_dirs="$as_dir $as_dirs"
12596 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12597 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12598 X"$as_dir" : 'X\(//\)[^/]' \| \
12599 X"$as_dir" : 'X\(//\)$' \| \
12600 X"$as_dir" : 'X\(/\)' \| \
12601 . : '\(.\)' 2>/dev/null ||
12602 echo X"$as_dir" |
12603 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12604 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12605 /^X\(\/\/\)$/{ s//\1/; q; }
12606 /^X\(\/\).*/{ s//\1/; q; }
12607 s/.*/./; q'`
12608 done
12609 test ! -n "$as_dirs" || mkdir $as_dirs
12610 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12611 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12612 { (exit 1); exit 1; }; }; }
12613
12614 ac_builddir=.
12615
12616 if test "$ac_dir" != .; then
12617 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12618 # A "../" for each directory in $ac_dir_suffix.
12619 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12620 else
12621 ac_dir_suffix= ac_top_builddir=
12622 fi
12623
12624 case $srcdir in
12625 .) # No --srcdir option. We are building in place.
12626 ac_srcdir=.
12627 if test -z "$ac_top_builddir"; then
12628 ac_top_srcdir=.
12629 else
12630 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12631 fi ;;
12632 [\\/]* | ?:[\\/]* ) # Absolute path.
12633 ac_srcdir=$srcdir$ac_dir_suffix;
12634 ac_top_srcdir=$srcdir ;;
12635 *) # Relative path.
12636 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12637 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12638 esac
12639
12640 # Do not use `cd foo && pwd` to compute absolute paths, because
12641 # the directories may not exist.
12642 case `pwd` in
12643 .) ac_abs_builddir="$ac_dir";;
12644 *)
12645 case "$ac_dir" in
12646 .) ac_abs_builddir=`pwd`;;
12647 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12648 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12649 esac;;
12650 esac
12651 case $ac_abs_builddir in
12652 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12653 *)
12654 case ${ac_top_builddir}. in
12655 .) ac_abs_top_builddir=$ac_abs_builddir;;
12656 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12657 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12658 esac;;
12659 esac
12660 case $ac_abs_builddir in
12661 .) ac_abs_srcdir=$ac_srcdir;;
12662 *)
12663 case $ac_srcdir in
12664 .) ac_abs_srcdir=$ac_abs_builddir;;
12665 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12666 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12667 esac;;
12668 esac
12669 case $ac_abs_builddir in
12670 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12671 *)
12672 case $ac_top_srcdir in
12673 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12674 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12675 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12676 esac;;
12677 esac
12678
12679
12680 case $INSTALL in
12681 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12682 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
12683 esac
12684
12685 if test x"$ac_file" != x-; then
12686 { echo "$as_me:$LINENO: creating $ac_file" >&5
12687 echo "$as_me: creating $ac_file" >&6;}
12688 rm -f "$ac_file"
12689 fi
12690 # Let's still pretend it is `configure' which instantiates (i.e., don't
12691 # use $as_me), people would be surprised to read:
12692 # /* config.h. Generated by config.status. */
12693 if test x"$ac_file" = x-; then
12694 configure_input=
12695 else
12696 configure_input="$ac_file. "
12697 fi
12698 configure_input=$configure_input"Generated from `echo $ac_file_in |
12699 sed 's,.*/,,'` by configure."
12700
12701 # First look for the input files in the build tree, otherwise in the
12702 # src tree.
12703 ac_file_inputs=`IFS=:
12704 for f in $ac_file_in; do
12705 case $f in
12706 -) echo $tmp/stdin ;;
12707 [\\/$]*)
12708 # Absolute (can't be DOS-style, as IFS=:)
12709 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12710 echo "$as_me: error: cannot find input file: $f" >&2;}
12711 { (exit 1); exit 1; }; }
12712 echo "$f";;
12713 *) # Relative
12714 if test -f "$f"; then
12715 # Build tree
12716 echo "$f"
12717 elif test -f "$srcdir/$f"; then
12718 # Source tree
12719 echo "$srcdir/$f"
12720 else
12721 # /dev/null tree
12722 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12723 echo "$as_me: error: cannot find input file: $f" >&2;}
12724 { (exit 1); exit 1; }; }
12725 fi;;
12726 esac
12727 done` || { (exit 1); exit 1; }
12728 _ACEOF
12729 cat >>$CONFIG_STATUS <<_ACEOF
12730 sed "$ac_vpsub
12731 $extrasub
12732 _ACEOF
12733 cat >>$CONFIG_STATUS <<\_ACEOF
12734 :t
12735 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12736 s,@configure_input@,$configure_input,;t t
12737 s,@srcdir@,$ac_srcdir,;t t
12738 s,@abs_srcdir@,$ac_abs_srcdir,;t t
12739 s,@top_srcdir@,$ac_top_srcdir,;t t
12740 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
12741 s,@builddir@,$ac_builddir,;t t
12742 s,@abs_builddir@,$ac_abs_builddir,;t t
12743 s,@top_builddir@,$ac_top_builddir,;t t
12744 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
12745 s,@INSTALL@,$ac_INSTALL,;t t
12746 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12747 rm -f $tmp/stdin
12748 if test x"$ac_file" != x-; then
12749 mv $tmp/out $ac_file
12750 else
12751 cat $tmp/out
12752 rm -f $tmp/out
12753 fi
12754
12755 done
12756 _ACEOF
12757 cat >>$CONFIG_STATUS <<\_ACEOF
12758
12759 #
12760 # CONFIG_HEADER section.
12761 #
12762
12763 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12764 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12765 #
12766 # ac_d sets the value in "#define NAME VALUE" lines.
12767 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12768 ac_dB='[ ].*$,\1#\2'
12769 ac_dC=' '
12770 ac_dD=',;t'
12771 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12772 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12773 ac_uB='$,\1#\2define\3'
12774 ac_uC=' '
12775 ac_uD=',;t'
12776
12777 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
12778 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12779 case $ac_file in
12780 - | *:- | *:-:* ) # input from stdin
12781 cat >$tmp/stdin
12782 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12783 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12784 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12785 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12786 * ) ac_file_in=$ac_file.in ;;
12787 esac
12788
12789 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
12790 echo "$as_me: creating $ac_file" >&6;}
12791
12792 # First look for the input files in the build tree, otherwise in the
12793 # src tree.
12794 ac_file_inputs=`IFS=:
12795 for f in $ac_file_in; do
12796 case $f in
12797 -) echo $tmp/stdin ;;
12798 [\\/$]*)
12799 # Absolute (can't be DOS-style, as IFS=:)
12800 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12801 echo "$as_me: error: cannot find input file: $f" >&2;}
12802 { (exit 1); exit 1; }; }
12803 # Do quote $f, to prevent DOS paths from being IFS'd.
12804 echo "$f";;
12805 *) # Relative
12806 if test -f "$f"; then
12807 # Build tree
12808 echo "$f"
12809 elif test -f "$srcdir/$f"; then
12810 # Source tree
12811 echo "$srcdir/$f"
12812 else
12813 # /dev/null tree
12814 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12815 echo "$as_me: error: cannot find input file: $f" >&2;}
12816 { (exit 1); exit 1; }; }
12817 fi;;
12818 esac
12819 done` || { (exit 1); exit 1; }
12820 # Remove the trailing spaces.
12821 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12822
12823 _ACEOF
12824
12825 # Transform confdefs.h into two sed scripts, `conftest.defines' and
12826 # `conftest.undefs', that substitutes the proper values into
12827 # config.h.in to produce config.h. The first handles `#define'
12828 # templates, and the second `#undef' templates.
12829 # And first: Protect against being on the right side of a sed subst in
12830 # config.status. Protect against being in an unquoted here document
12831 # in config.status.
12832 rm -f conftest.defines conftest.undefs
12833 # Using a here document instead of a string reduces the quoting nightmare.
12834 # Putting comments in sed scripts is not portable.
12835 #
12836 # `end' is used to avoid that the second main sed command (meant for
12837 # 0-ary CPP macros) applies to n-ary macro definitions.
12838 # See the Autoconf documentation for `clear'.
12839 cat >confdef2sed.sed <<\_ACEOF
12840 s/[\\&,]/\\&/g
12841 s,[\\$`],\\&,g
12842 t clear
12843 : clear
12844 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12845 t end
12846 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12847 : end
12848 _ACEOF
12849 # If some macros were called several times there might be several times
12850 # the same #defines, which is useless. Nevertheless, we may not want to
12851 # sort them, since we want the *last* AC-DEFINE to be honored.
12852 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12853 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12854 rm -f confdef2sed.sed
12855
12856 # This sed command replaces #undef with comments. This is necessary, for
12857 # example, in the case of _POSIX_SOURCE, which is predefined and required
12858 # on some systems where configure will not decide to define it.
12859 cat >>conftest.undefs <<\_ACEOF
12860 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12861 _ACEOF
12862
12863 # Break up conftest.defines because some shells have a limit on the size
12864 # of here documents, and old seds have small limits too (100 cmds).
12865 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12866 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12867 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12868 echo ' :' >>$CONFIG_STATUS
12869 rm -f conftest.tail
12870 while grep . conftest.defines >/dev/null
12871 do
12872 # Write a limited-size here document to $tmp/defines.sed.
12873 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12874 # Speed up: don't consider the non `#define' lines.
12875 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12876 # Work around the forget-to-reset-the-flag bug.
12877 echo 't clr' >>$CONFIG_STATUS
12878 echo ': clr' >>$CONFIG_STATUS
12879 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
12880 echo 'CEOF
12881 sed -f $tmp/defines.sed $tmp/in >$tmp/out
12882 rm -f $tmp/in
12883 mv $tmp/out $tmp/in
12884 ' >>$CONFIG_STATUS
12885 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
12886 rm -f conftest.defines
12887 mv conftest.tail conftest.defines
12888 done
12889 rm -f conftest.defines
12890 echo ' fi # grep' >>$CONFIG_STATUS
12891 echo >>$CONFIG_STATUS
12892
12893 # Break up conftest.undefs because some shells have a limit on the size
12894 # of here documents, and old seds have small limits too (100 cmds).
12895 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12896 rm -f conftest.tail
12897 while grep . conftest.undefs >/dev/null
12898 do
12899 # Write a limited-size here document to $tmp/undefs.sed.
12900 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12901 # Speed up: don't consider the non `#undef'
12902 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12903 # Work around the forget-to-reset-the-flag bug.
12904 echo 't clr' >>$CONFIG_STATUS
12905 echo ': clr' >>$CONFIG_STATUS
12906 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12907 echo 'CEOF
12908 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12909 rm -f $tmp/in
12910 mv $tmp/out $tmp/in
12911 ' >>$CONFIG_STATUS
12912 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12913 rm -f conftest.undefs
12914 mv conftest.tail conftest.undefs
12915 done
12916 rm -f conftest.undefs
12917
12918 cat >>$CONFIG_STATUS <<\_ACEOF
12919 # Let's still pretend it is `configure' which instantiates (i.e., don't
12920 # use $as_me), people would be surprised to read:
12921 # /* config.h. Generated by config.status. */
12922 if test x"$ac_file" = x-; then
12923 echo "/* Generated by configure. */" >$tmp/config.h
12924 else
12925 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12926 fi
12927 cat $tmp/in >>$tmp/config.h
12928 rm -f $tmp/in
12929 if test x"$ac_file" != x-; then
12930 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
12931 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12932 echo "$as_me: $ac_file is unchanged" >&6;}
12933 else
12934 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12935 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12936 X"$ac_file" : 'X\(//\)[^/]' \| \
12937 X"$ac_file" : 'X\(//\)$' \| \
12938 X"$ac_file" : 'X\(/\)' \| \
12939 . : '\(.\)' 2>/dev/null ||
12940 echo X"$ac_file" |
12941 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12942 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12943 /^X\(\/\/\)$/{ s//\1/; q; }
12944 /^X\(\/\).*/{ s//\1/; q; }
12945 s/.*/./; q'`
12946 { if $as_mkdir_p; then
12947 mkdir -p "$ac_dir"
12948 else
12949 as_dir="$ac_dir"
12950 as_dirs=
12951 while test ! -d "$as_dir"; do
12952 as_dirs="$as_dir $as_dirs"
12953 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12954 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12955 X"$as_dir" : 'X\(//\)[^/]' \| \
12956 X"$as_dir" : 'X\(//\)$' \| \
12957 X"$as_dir" : 'X\(/\)' \| \
12958 . : '\(.\)' 2>/dev/null ||
12959 echo X"$as_dir" |
12960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12961 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12962 /^X\(\/\/\)$/{ s//\1/; q; }
12963 /^X\(\/\).*/{ s//\1/; q; }
12964 s/.*/./; q'`
12965 done
12966 test ! -n "$as_dirs" || mkdir $as_dirs
12967 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12968 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12969 { (exit 1); exit 1; }; }; }
12970
12971 rm -f $ac_file
12972 mv $tmp/config.h $ac_file
12973 fi
12974 else
12975 cat $tmp/config.h
12976 rm -f $tmp/config.h
12977 fi
12978 # Compute $ac_file's index in $config_headers.
12979 _am_stamp_count=1
12980 for _am_header in $config_headers :; do
12981 case $_am_header in
12982 $ac_file | $ac_file:* )
12983 break ;;
12984 * )
12985 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12986 esac
12987 done
12988 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
12989 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12990 X$ac_file : 'X\(//\)[^/]' \| \
12991 X$ac_file : 'X\(//\)$' \| \
12992 X$ac_file : 'X\(/\)' \| \
12993 . : '\(.\)' 2>/dev/null ||
12994 echo X$ac_file |
12995 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12996 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12997 /^X\(\/\/\)$/{ s//\1/; q; }
12998 /^X\(\/\).*/{ s//\1/; q; }
12999 s/.*/./; q'`/stamp-h$_am_stamp_count
13000 done
13001 _ACEOF
13002 cat >>$CONFIG_STATUS <<\_ACEOF
13003
13004 #
13005 # CONFIG_COMMANDS section.
13006 #
13007 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
13008 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
13009 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
13010 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
13011 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13012 X"$ac_dest" : 'X\(//\)[^/]' \| \
13013 X"$ac_dest" : 'X\(//\)$' \| \
13014 X"$ac_dest" : 'X\(/\)' \| \
13015 . : '\(.\)' 2>/dev/null ||
13016 echo X"$ac_dest" |
13017 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13018 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13019 /^X\(\/\/\)$/{ s//\1/; q; }
13020 /^X\(\/\).*/{ s//\1/; q; }
13021 s/.*/./; q'`
13022 { if $as_mkdir_p; then
13023 mkdir -p "$ac_dir"
13024 else
13025 as_dir="$ac_dir"
13026 as_dirs=
13027 while test ! -d "$as_dir"; do
13028 as_dirs="$as_dir $as_dirs"
13029 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13030 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13031 X"$as_dir" : 'X\(//\)[^/]' \| \
13032 X"$as_dir" : 'X\(//\)$' \| \
13033 X"$as_dir" : 'X\(/\)' \| \
13034 . : '\(.\)' 2>/dev/null ||
13035 echo X"$as_dir" |
13036 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13037 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13038 /^X\(\/\/\)$/{ s//\1/; q; }
13039 /^X\(\/\).*/{ s//\1/; q; }
13040 s/.*/./; q'`
13041 done
13042 test ! -n "$as_dirs" || mkdir $as_dirs
13043 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13044 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13045 { (exit 1); exit 1; }; }; }
13046
13047 ac_builddir=.
13048
13049 if test "$ac_dir" != .; then
13050 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13051 # A "../" for each directory in $ac_dir_suffix.
13052 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13053 else
13054 ac_dir_suffix= ac_top_builddir=
13055 fi
13056
13057 case $srcdir in
13058 .) # No --srcdir option. We are building in place.
13059 ac_srcdir=.
13060 if test -z "$ac_top_builddir"; then
13061 ac_top_srcdir=.
13062 else
13063 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
13064 fi ;;
13065 [\\/]* | ?:[\\/]* ) # Absolute path.
13066 ac_srcdir=$srcdir$ac_dir_suffix;
13067 ac_top_srcdir=$srcdir ;;
13068 *) # Relative path.
13069 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13070 ac_top_srcdir=$ac_top_builddir$srcdir ;;
13071 esac
13072
13073 # Do not use `cd foo && pwd` to compute absolute paths, because
13074 # the directories may not exist.
13075 case `pwd` in
13076 .) ac_abs_builddir="$ac_dir";;
13077 *)
13078 case "$ac_dir" in
13079 .) ac_abs_builddir=`pwd`;;
13080 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
13081 *) ac_abs_builddir=`pwd`/"$ac_dir";;
13082 esac;;
13083 esac
13084 case $ac_abs_builddir in
13085 .) ac_abs_top_builddir=${ac_top_builddir}.;;
13086 *)
13087 case ${ac_top_builddir}. in
13088 .) ac_abs_top_builddir=$ac_abs_builddir;;
13089 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
13090 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
13091 esac;;
13092 esac
13093 case $ac_abs_builddir in
13094 .) ac_abs_srcdir=$ac_srcdir;;
13095 *)
13096 case $ac_srcdir in
13097 .) ac_abs_srcdir=$ac_abs_builddir;;
13098 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
13099 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
13100 esac;;
13101 esac
13102 case $ac_abs_builddir in
13103 .) ac_abs_top_srcdir=$ac_top_srcdir;;
13104 *)
13105 case $ac_top_srcdir in
13106 .) ac_abs_top_srcdir=$ac_abs_builddir;;
13107 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
13108 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
13109 esac;;
13110 esac
13111
13112
13113 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
13114 echo "$as_me: executing $ac_dest commands" >&6;}
13115 case $ac_dest in
13116 default-1 )
13117 # Only add multilib support code if we just rebuilt the top-level
13118 # Makefile.
13119 case " $CONFIG_FILES " in
13120 *" Makefile "*)
13121 ac_file=Makefile . ${multi_basedir}/config-ml.in
13122 ;;
13123 esac ;;
13124 esac
13125 done
13126 _ACEOF
13127
13128 cat >>$CONFIG_STATUS <<\_ACEOF
13129
13130 { (exit 0); exit 0; }
13131 _ACEOF
13132 chmod +x $CONFIG_STATUS
13133 ac_clean_files=$ac_clean_files_save
13134
13135
13136 # configure is writing to config.log, and then calls config.status.
13137 # config.status does its own redirection, appending to config.log.
13138 # Unfortunately, on DOS this fails, as config.log is still kept open
13139 # by configure, so config.status won't be able to write to it; its
13140 # output is simply discarded. So we exec the FD to /dev/null,
13141 # effectively closing config.log, so it can be properly (re)opened and
13142 # appended to by config.status. When coming back to configure, we
13143 # need to make the FD available again.
13144 if test "$no_create" != yes; then
13145 ac_cs_success=:
13146 ac_config_status_args=
13147 test "$silent" = yes &&
13148 ac_config_status_args="$ac_config_status_args --quiet"
13149 exec 5>/dev/null
13150 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13151 exec 5>>config.log
13152 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13153 # would make configure fail if this is the last instruction.
13154 $ac_cs_success || { (exit 1); exit 1; }
13155 fi
13156