2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.2.
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 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
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
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
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 \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
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 ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
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
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
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
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
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
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; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
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
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
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 |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
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; }; }
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).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe 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
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
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'"
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'"
235 # We need space, tab and new line, in precisely that order.
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`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
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}
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'
274 # Factoring default headers for most tests.
275 ac_includes_default="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
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'
314 # Initialize some variables set by options.
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name=s,x,x,
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'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
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 ;;
386 cache_file=config.cache ;;
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 datadir=$ac_optarg ;;
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" ;;
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'`
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
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 ;;
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
429 -help | --help | --hel | --he | -h)
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 ;;
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
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 ;;
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
453 -libdir | --libdir | --libdi | --libd)
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
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 ;;
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 ;;
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480 # Obsolete; use --without-fp.
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
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 ;;
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
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 ;;
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 ;;
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 ;;
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 sbindir=$ac_optarg ;;
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548 | --sharedst | --shareds | --shared | --share | --shar \
550 ac_prev=sharedstatedir ;;
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 sharedstatedir=$ac_optarg ;;
557 -site | --site | --sit)
559 -site=* | --site=* | --sit=*)
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
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 ;;
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 ;;
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
582 -version | --version | --versio | --versi | --vers | -V)
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'`
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
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" ;;
608 # Obsolete; use --with-x.
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 ;;
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 ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
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'"
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}
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; }; }
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
660 eval ac_val=$`echo $ac_var`
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
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
672 eval ac_val=$`echo $ac_var`
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
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.
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
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701 test "$silent" = yes && exec 6>/dev/null
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 ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted=no
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; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
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}
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
774 # Report the --help message.
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.
780 \`configure' configures GNU Fortran Runtime Library 0.2 to adapt to many kinds of systems.
782 Usage: $0 [OPTION]... [VAR=VALUE]...
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.
787 Defaults for the options are specified in brackets.
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 \`..']
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
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'.
814 For better control, use the options below.
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]
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
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]
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:";;
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
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
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
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.
888 if test "$ac_init_help" = "recursive"; then
889 # If there are subdirs, report their specific --help.
891 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
892 test -d $ac_dir || continue
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'`
900 ac_dir_suffix= ac_top_builddir=
904 .) # No --srcdir option. We are building in place.
906 if test -z "$ac_top_builddir"; then
909 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
911 [\\/]* | ?:[\\/]* ) # Absolute path.
912 ac_srcdir=$srcdir$ac_dir_suffix;
913 ac_top_srcdir=$srcdir ;;
915 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
916 ac_top_srcdir=$ac_top_builddir$srcdir ;;
919 # Do not use `cd foo && pwd` to compute absolute paths, because
920 # the directories may not exist.
922 .) ac_abs_builddir="$ac_dir";;
925 .) ac_abs_builddir=`pwd`;;
926 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
927 *) ac_abs_builddir=`pwd`/"$ac_dir";;
930 case $ac_abs_builddir in
931 .) ac_abs_top_builddir=${ac_top_builddir}.;;
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}.;;
939 case $ac_abs_builddir in
940 .) ac_abs_srcdir=$ac_srcdir;;
943 .) ac_abs_srcdir=$ac_abs_builddir;;
944 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
945 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
948 case $ac_abs_builddir in
949 .) ac_abs_top_srcdir=$ac_top_srcdir;;
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;;
959 # Check for guested configure; otherwise get Cygnus style configure.
960 if test -f $ac_srcdir/configure.gnu; then
962 $SHELL $ac_srcdir/configure.gnu --help=recursive
963 elif test -f $ac_srcdir/configure; then
965 $SHELL $ac_srcdir/configure --help=recursive
966 elif test -f $ac_srcdir/configure.ac ||
967 test -f $ac_srcdir/configure.in; then
971 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
977 test -n "$ac_init_help" && exit 0
978 if $ac_init_version; then
980 GNU Fortran Runtime Library configure 0.2
981 generated by GNU Autoconf 2.59
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.
991 This file contains any messages produced by compilers while
992 running configure, to aid debugging if configure makes a mistake.
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
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`
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`
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`
1025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1029 test -z "$as_dir" && as_dir=.
1030 echo "PATH: $as_dir"
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.
1054 ac_must_keep_next=false
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)
1064 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1065 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1068 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
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.
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 ;;
1083 -* ) ac_must_keep_next=true ;;
1086 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1087 # Get rid of the leading space.
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; }
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.
1107 ## ---------------- ##
1108 ## Cache variables. ##
1109 ## ---------------- ##
1112 # The following way of writing the cache mishandles newlines in values,
1115 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1118 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1123 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1130 ## ----------------- ##
1131 ## Output variables. ##
1132 ## ----------------- ##
1135 for ac_var in $ac_subst_vars
1137 eval ac_val=$`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1142 if test -n "$ac_subst_files"; then
1149 for ac_var in $ac_subst_files
1151 eval ac_val=$`echo $ac_var`
1152 echo "$ac_var='"'"'$ac_val'"'"'"
1157 if test -s confdefs.h; then
1164 sed "/^$/d" confdefs.h | sort
1167 test "$ac_signal" != 0 &&
1168 echo "$as_me: caught signal $ac_signal"
1169 echo "$as_me: exit $exit_status"
1171 rm -f core *.core &&
1172 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1175 for ac_signal in 1 2 13 15; do
1176 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
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.
1185 # Predefined preprocessor variables.
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_NAME "$PACKAGE_NAME"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_STRING "$PACKAGE_STRING"
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
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"
1218 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
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
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;}
1237 [\\/]* | ?:[\\/]* ) . $cache_file;;
1238 *) . ./$cache_file;;
1242 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1243 echo "$as_me: creating cache $cache_file" >&6;}
1247 # Check that the precious variables saved in the cache have kept the same
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
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=: ;;
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=: ;;
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=:
1277 # Pass precious variables to config.status.
1278 if test "$ac_new_set" = set; then
1280 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1282 *) ac_arg=$ac_var=$ac_new_val ;;
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'" ;;
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; }; }
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
1330 ac_config_headers="$ac_config_headers config.h"
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; }; };;
1350 version_specific_libs=no
1352 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1353 echo "${ECHO_T}$version_specific_libs" >&6
1356 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
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/.
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. :-)
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.
1369 # Do not delete or change the following two lines. For why, see
1370 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1372 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1373 if test -f $ac_dir/install-sh; then
1375 ac_install_sh="$ac_aux_dir/install-sh -c"
1377 elif test -f $ac_dir/install.sh; then
1379 ac_install_sh="$ac_aux_dir/install.sh -c"
1381 elif test -f $ac_dir/shtool; then
1383 ac_install_sh="$ac_aux_dir/shtool install -c"
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; }; }
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.
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; }; }
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
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; }; }
1420 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1421 echo "${ECHO_T}$ac_cv_build" >&6
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/'`
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
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; }; }
1442 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1443 echo "${ECHO_T}$ac_cv_host" >&6
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/'`
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
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; }; }
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/'`
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" = \
1477 program_prefix=${target_alias}-
1478 target_alias=${target_alias-$host_alias}
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
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
1511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1515 test -z "$as_dir" && as_dir=.
1516 # Account for people who put trailing slashes in PATH elements.
1518 ./ | .// | /cC/* | \
1519 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1520 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
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
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.
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.
1538 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1550 if test "${ac_cv_path_install+set}" = set; then
1551 INSTALL=$ac_cv_path_install
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
1560 echo "$as_me:$LINENO: result: $INSTALL" >&5
1561 echo "${ECHO_T}$INSTALL" >&6
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}'
1567 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1569 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
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
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
1582 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1583 if test "$*" = "X"; then
1585 set X `ls -t $srcdir/configure conftest.file`
1588 if test "$*" != "X $srcdir/configure conftest.file" \
1589 && test "$*" != "X conftest.file $srcdir/configure"; then
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; }; }
1602 test "$2" = conftest.file
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; }; }
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,$//
1626 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1629 # expand $ac_aux_dir to an absolute path
1630 am_aux_dir=`cd $ac_aux_dir && pwd`
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 "
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;}
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
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 --'
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
1663 for d in ./-p ./--version;
1665 test -d $d && rmdir $d
1667 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1668 if test -f "$ac_aux_dir/mkinstalldirs"; then
1669 mkdir_p='$(mkinstalldirs)'
1671 mkdir_p='$(install_sh) -d'
1675 for ac_prog in gawk mawk nawk awk
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
1684 if test -n "$AWK"; then
1685 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1704 if test -n "$AWK"; then
1705 echo "$as_me:$LINENO: result: $AWK" >&5
1706 echo "${ECHO_T}$AWK" >&6
1708 echo "$as_me:$LINENO: result: no" >&5
1709 echo "${ECHO_T}no" >&6
1712 test -n "$AWK" && break
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
1721 cat >conftest.make <<\_ACEOF
1723 @echo 'ac_maketemp="$(MAKE)"'
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
1730 eval ac_cv_prog_make_${ac_make}_set=no
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
1739 echo "$as_me:$LINENO: result: no" >&5
1740 echo "${ECHO_T}no" >&6
1741 SET_MAKE="MAKE=${MAKE-make}"
1744 rm -rf .tst 2>/dev/null
1745 mkdir .tst 2>/dev/null
1746 if test -d .tst; then
1751 rmdir .tst 2>/dev/null
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; }; }
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'
1771 # Define the identity of the package.
1772 PACKAGE='libgfortran'
1776 # Some tools Automake needs.
1778 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1781 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1784 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1787 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1790 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1792 install_sh=${install_sh-"$am_aux_dir/install-sh"}
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
1807 if test -n "$STRIP"; then
1808 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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
1831 echo "$as_me:$LINENO: result: no" >&5
1832 echo "${ECHO_T}no" >&6
1836 if test -z "$ac_cv_prog_STRIP"; then
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
1845 if test -n "$ac_ct_STRIP"; then
1846 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1862 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
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
1870 echo "$as_me:$LINENO: result: no" >&5
1871 echo "${ECHO_T}no" >&6
1876 STRIP="$ac_cv_prog_STRIP"
1880 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1882 # We need awk for the "check" target. The system "awk" is bad on
1884 # Always define AMTAR for backward compatibility.
1886 AMTAR=${AMTAR-"${am_missing_run}tar"}
1888 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
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
1902 USE_MAINTAINER_MODE=no
1904 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1905 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1908 if test $USE_MAINTAINER_MODE = yes; then
1909 MAINTAINER_MODE_TRUE=
1910 MAINTAINER_MODE_FALSE='#'
1912 MAINTAINER_MODE_TRUE='#'
1913 MAINTAINER_MODE_FALSE=
1916 MAINT=$MAINTAINER_MODE_TRUE
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 ;;
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; }; } ;;
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.
1938 if test "$srcdir" = "."; then
1939 if test "$with_target_subdir" != "."; then
1940 multi_basedir="$srcdir/$with_multisrctop../.."
1942 multi_basedir="$srcdir/$with_multisrctop.."
1945 multi_basedir="$srcdir/.."
1949 ac_config_commands="$ac_config_commands default-1"
1952 # Handy for debugging:
1953 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
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
1962 LIBGFOR_IS_NATIVE=true
1965 # Calculate toolexeclibdir
1966 # Also toolexecdir, though it's only used in toolexeclibdir
1967 case ${version_specific_libs} in
1969 # Need the gcc compiler version to know where to install libraries
1970 # and header files if --enable-version-specific-runtime-libs option
1972 toolexecdir='$(libdir)/gcc/$(target_alias)'
1973 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
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'
1982 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
1983 toolexeclibdir='$(libdir)'
1985 multi_os_directory=`$CC -print-multi-os-directory`
1986 case $multi_os_directory in
1987 .) ;; # Avoid trailing /.
1988 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
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.
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
2016 if test -n "$CC"; then
2017 ac_cv_prog_CC="$CC" # Let the user override the test.
2019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2036 if test -n "$CC"; then
2037 echo "$as_me:$LINENO: result: $CC" >&5
2038 echo "${ECHO_T}$CC" >&6
2040 echo "$as_me:$LINENO: result: no" >&5
2041 echo "${ECHO_T}no" >&6
2045 if test -z "$ac_cv_prog_CC"; then
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
2054 if test -n "$ac_ct_CC"; then
2055 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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
2078 echo "$as_me:$LINENO: result: no" >&5
2079 echo "${ECHO_T}no" >&6
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
2096 if test -n "$CC"; then
2097 ac_cv_prog_CC="$CC" # Let the user override the test.
2099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2116 if test -n "$CC"; then
2117 echo "$as_me:$LINENO: result: $CC" >&5
2118 echo "${ECHO_T}$CC" >&6
2120 echo "$as_me:$LINENO: result: no" >&5
2121 echo "${ECHO_T}no" >&6
2125 if test -z "$ac_cv_prog_CC"; then
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
2134 if test -n "$ac_ct_CC"; then
2135 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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
2158 echo "$as_me:$LINENO: result: no" >&5
2159 echo "${ECHO_T}no" >&6
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
2176 if test -n "$CC"; then
2177 ac_cv_prog_CC="$CC" # Let the user override the test.
2180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
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
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.
2207 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2213 if test -n "$CC"; then
2214 echo "$as_me:$LINENO: result: $CC" >&5
2215 echo "${ECHO_T}$CC" >&6
2217 echo "$as_me:$LINENO: result: no" >&5
2218 echo "${ECHO_T}no" >&6
2222 if test -z "$CC"; then
2223 if test -n "$ac_tool_prefix"; then
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
2233 if test -n "$CC"; then
2234 ac_cv_prog_CC="$CC" # Let the user override the test.
2236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2253 if test -n "$CC"; then
2254 echo "$as_me:$LINENO: result: $CC" >&5
2255 echo "${ECHO_T}$CC" >&6
2257 echo "$as_me:$LINENO: result: no" >&5
2258 echo "${ECHO_T}no" >&6
2261 test -n "$CC" && break
2264 if test -z "$CC"; then
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
2275 if test -n "$ac_ct_CC"; then
2276 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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
2299 echo "$as_me:$LINENO: result: no" >&5
2300 echo "${ECHO_T}no" >&6
2303 test -n "$ac_ct_CC" && break
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; }; }
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
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
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
2335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336 (exit $ac_status); }
2338 cat >conftest.$ac_ext <<_ACEOF
2341 cat confdefs.h >>conftest.$ac_ext
2342 cat >>conftest.$ac_ext <<_ACEOF
2343 /* end confdefs.h. */
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
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
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
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.
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
2376 test -f "$ac_file" || continue
2378 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2381 # This is the source file.
2384 # We found the default executable, but exeext='' is most
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.
2399 echo "$as_me: failed program was:" >&5
2400 sed 's/^/| /' conftest.$ac_ext >&5
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; }; }
2409 ac_exeext=$ac_cv_exeext
2410 echo "$as_me:$LINENO: result: $ac_file" >&5
2411 echo "${ECHO_T}$ac_file" >&6
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
2424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2425 (exit $ac_status); }; }; then
2428 if test "$cross_compiling" = maybe; then
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; }; }
2441 echo "$as_me:$LINENO: result: yes" >&5
2442 echo "${ECHO_T}yes" >&6
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
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
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
2464 for ac_file in conftest.exe conftest conftest.*; do
2465 test -f "$ac_file" || continue
2467 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2468 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
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; }; }
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
2486 rm -f conftest.$ac_ext
2487 EXEEXT=$ac_cv_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
2494 cat >conftest.$ac_ext <<_ACEOF
2497 cat confdefs.h >>conftest.$ac_ext
2498 cat >>conftest.$ac_ext <<_ACEOF
2499 /* end confdefs.h. */
2509 rm -f conftest.o conftest.obj
2510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2511 (eval $ac_compile) 2>&5
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
2517 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2518 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2523 echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.$ac_ext >&5
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; }; }
2533 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2535 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2536 echo "${ECHO_T}$ac_cv_objext" >&6
2537 OBJEXT=$ac_cv_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
2544 cat >conftest.$ac_ext <<_ACEOF
2547 cat confdefs.h >>conftest.$ac_ext
2548 cat >>conftest.$ac_ext <<_ACEOF
2549 /* end confdefs.h. */
2562 rm -f conftest.$ac_objext
2563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2564 (eval $ac_compile) 2>conftest.er1
2566 grep -v '^ *+' conftest.er1 >conftest.err
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
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
2582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583 (exit $ac_status); }; }; then
2586 echo "$as_me: failed program was:" >&5
2587 sed 's/^/| /' conftest.$ac_ext >&5
2591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2592 ac_cv_c_compiler_gnu=$ac_compiler_gnu
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
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
2606 cat >conftest.$ac_ext <<_ACEOF
2609 cat confdefs.h >>conftest.$ac_ext
2610 cat >>conftest.$ac_ext <<_ACEOF
2611 /* end confdefs.h. */
2621 rm -f conftest.$ac_objext
2622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2623 (eval $ac_compile) 2>conftest.er1
2625 grep -v '^ *+' conftest.er1 >conftest.err
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
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
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; }; then
2645 echo "$as_me: failed program was:" >&5
2646 sed 's/^/| /' conftest.$ac_ext >&5
2650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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
2663 if test "$GCC" = yes; then
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
2674 ac_cv_prog_cc_stdc=no
2676 cat >conftest.$ac_ext <<_ACEOF
2679 cat confdefs.h >>conftest.$ac_ext
2680 cat >>conftest.$ac_ext <<_ACEOF
2681 /* end confdefs.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)
2695 static char *f (char * (*g) (char **, int), char **p, ...)
2700 s = g (p, va_arg (v,int));
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];
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);
2723 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
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__"
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
2742 grep -v '^ *+' conftest.er1 >conftest.err
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
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
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); }; }; then
2760 ac_cv_prog_cc_stdc=$ac_arg
2763 echo "$as_me: failed program was:" >&5
2764 sed 's/^/| /' conftest.$ac_ext >&5
2767 rm -f conftest.err conftest.$ac_objext
2769 rm -f conftest.$ac_ext conftest.$ac_objext
2774 case "x$ac_cv_prog_cc_stdc" in
2776 echo "$as_me:$LINENO: result: none needed" >&5
2777 echo "${ECHO_T}none needed" >&6 ;;
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" ;;
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
2793 rm -f conftest.$ac_objext
2794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2795 (eval $ac_compile) 2>conftest.er1
2797 grep -v '^ *+' conftest.er1 >conftest.err
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
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
2813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814 (exit $ac_status); }; }; then
2815 for ac_declaration in \
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);' \
2823 cat >conftest.$ac_ext <<_ACEOF
2826 cat confdefs.h >>conftest.$ac_ext
2827 cat >>conftest.$ac_ext <<_ACEOF
2828 /* end confdefs.h. */
2839 rm -f conftest.$ac_objext
2840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2841 (eval $ac_compile) 2>conftest.er1
2843 grep -v '^ *+' conftest.er1 >conftest.err
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
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
2859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860 (exit $ac_status); }; }; then
2863 echo "$as_me: failed program was:" >&5
2864 sed 's/^/| /' conftest.$ac_ext >&5
2868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2869 cat >conftest.$ac_ext <<_ACEOF
2872 cat confdefs.h >>conftest.$ac_ext
2873 cat >>conftest.$ac_ext <<_ACEOF
2874 /* end confdefs.h. */
2884 rm -f conftest.$ac_objext
2885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2886 (eval $ac_compile) 2>conftest.er1
2888 grep -v '^ *+' conftest.er1 >conftest.err
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
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
2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905 (exit $ac_status); }; }; then
2908 echo "$as_me: failed program was:" >&5
2909 sed 's/^/| /' conftest.$ac_ext >&5
2912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2915 if test -n "$ac_declaration"; then
2916 echo '#ifdef __cplusplus' >>confdefs.h
2917 echo $ac_declaration >>confdefs.h
2918 echo '#endif' >>confdefs.h
2922 echo "$as_me: failed program was:" >&5
2923 sed 's/^/| /' conftest.$ac_ext >&5
2926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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
2935 # Add -Wall if we are using GCC.
2936 if test "x$GCC" = "xyes"; then
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"
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
2954 if test -n "$AS"; then
2955 ac_cv_prog_AS="$AS" # Let the user override the test.
2957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2974 if test -n "$AS"; then
2975 echo "$as_me:$LINENO: result: $AS" >&5
2976 echo "${ECHO_T}$AS" >&6
2978 echo "$as_me:$LINENO: result: no" >&5
2979 echo "${ECHO_T}no" >&6
2983 if test -z "$ac_cv_prog_AS"; then
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
2992 if test -n "$ac_ct_AS"; then
2993 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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
3016 echo "$as_me:$LINENO: result: no" >&5
3017 echo "${ECHO_T}no" >&6
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
3033 if test -n "$AR"; then
3034 ac_cv_prog_AR="$AR" # Let the user override the test.
3036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
3053 if test -n "$AR"; then
3054 echo "$as_me:$LINENO: result: $AR" >&5
3055 echo "${ECHO_T}$AR" >&6
3057 echo "$as_me:$LINENO: result: no" >&5
3058 echo "${ECHO_T}no" >&6
3062 if test -z "$ac_cv_prog_AR"; then
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
3071 if test -n "$ac_ct_AR"; then
3072 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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
3095 echo "$as_me:$LINENO: result: no" >&5
3096 echo "${ECHO_T}no" >&6
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
3112 if test -n "$RANLIB"; then
3113 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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
3136 echo "$as_me:$LINENO: result: no" >&5
3137 echo "${ECHO_T}no" >&6
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
3150 if test -n "$ac_ct_RANLIB"; then
3151 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
3167 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
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
3175 echo "$as_me:$LINENO: result: no" >&5
3176 echo "${ECHO_T}no" >&6
3179 RANLIB=$ac_ct_RANLIB
3181 RANLIB="$ac_cv_prog_RANLIB"
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
3190 cat >conftest.make <<\_ACEOF
3192 @echo 'ac_maketemp="$(MAKE)"'
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
3199 eval ac_cv_prog_make_${ac_make}_set=no
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
3208 echo "$as_me:$LINENO: result: no" >&5
3209 echo "${ECHO_T}no" >&6
3210 SET_MAKE="MAKE=${MAKE-make}"
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
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
3232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3236 test -z "$as_dir" && as_dir=.
3237 # Account for people who put trailing slashes in PATH elements.
3239 ./ | .// | /cC/* | \
3240 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3241 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
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
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.
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.
3259 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3271 if test "${ac_cv_path_install+set}" = set; then
3272 INSTALL=$ac_cv_path_install
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
3281 echo "$as_me:$LINENO: result: $INSTALL" >&5
3282 echo "${ECHO_T}$INSTALL" >&6
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}'
3288 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3290 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3294 #AC_MSG_NOTICE([====== Starting libtool configuration])
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}
3301 yes) enable_shared=yes ;;
3302 no) 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
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}
3323 yes) enable_static=yes ;;
3324 no) 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
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}
3345 yes) enable_fast_install=yes ;;
3346 no) enable_fast_install=no ;;
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
3360 enable_fast_install=yes
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
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
3377 # gcc leaves a trailing carriage return which upsets mingw
3378 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3380 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
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%/%"`
3391 test -z "$LD" && LD="$ac_prog"
3394 # If it fails, then pretend we aren't using GCC.
3398 # If it is relative, then search for the first ld in PATH.
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
3406 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3407 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3409 if test "${lt_cv_path_LD+set}" = set; then
3410 echo $ECHO_N "(cached) $ECHO_C" >&6
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
3424 test "$with_gnu_ld" != yes && break
3430 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3435 if test -n "$LD"; then
3436 echo "$as_me:$LINENO: result: $LD" >&5
3437 echo "${ECHO_T}$LD" >&6
3439 echo "$as_me:$LINENO: result: no" >&5
3440 echo "${ECHO_T}no" >&6
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
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
3454 lt_cv_prog_gnu_ld=no
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
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
3467 lt_cv_ld_reload_flag='-r'
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"
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
3479 if test -n "$NM"; then
3480 # Let the user override the test.
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"
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"
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
3505 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3510 echo "$as_me:$LINENO: result: $NM" >&5
3511 echo "${ECHO_T}$NM" >&6
3513 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3514 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3516 if test "$LN_S" = "ln -s"; then
3517 echo "$as_me:$LINENO: result: yes" >&5
3518 echo "${ECHO_T}yes" >&6
3520 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3521 echo "${ECHO_T}no, using $LN_S" >&6
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
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.
3545 lt_cv_deplibs_check_method=pass_all
3549 lt_cv_deplibs_check_method=pass_all
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
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'
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'
3568 rhapsody* | darwin1.012)
3569 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3572 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3575 lt_cv_deplibs_check_method=pass_all
3578 freebsd* | kfreebsd*-gnu)
3579 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
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.*`
3590 lt_cv_deplibs_check_method=pass_all
3595 lt_cv_deplibs_check_method=pass_all
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
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
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"
3621 *-32|*"-32 ") libmagic=32-bit;;
3622 *-n32|*"-n32 ") libmagic=N32;;
3623 *-64|*"-64 ") libmagic=64-bit;;
3624 *) libmagic=never-match;;
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"
3630 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3631 lt_cv_deplibs_check_method=pass_all
3634 # This must be Linux ELF.
3636 lt_cv_deplibs_check_method=pass_all
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]+$'
3643 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
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
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
3661 lt_cv_deplibs_check_method=pass_all
3665 lt_cv_deplibs_check_method=pass_all
3666 lt_cv_file_magic_test_file=/lib/libc.so
3669 sysv5uw[78]* | sysv4*uw2*)
3670 lt_cv_deplibs_check_method=pass_all
3673 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3674 case $host_vendor in
3676 lt_cv_deplibs_check_method=pass_all
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*`
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
3696 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
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
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
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;
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;
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`
3740 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
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`
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
3754 echo "$as_me:$LINENO: result: none" >&5
3755 echo "${ECHO_T}none" >&6
3759 # Only perform the check for file, if the check method requires it
3760 case $deplibs_check_method in
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
3770 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3773 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
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
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
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
3811 MAGIC_CMD="$ac_save_MAGIC_CMD"
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
3821 echo "$as_me:$LINENO: result: no" >&5
3822 echo "${ECHO_T}no" >&6
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
3834 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3837 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
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
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
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
3875 MAGIC_CMD="$ac_save_MAGIC_CMD"
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
3885 echo "$as_me:$LINENO: result: no" >&5
3886 echo "${ECHO_T}no" >&6
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
3906 if test -n "$RANLIB"; then
3907 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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
3930 echo "$as_me:$LINENO: result: no" >&5
3931 echo "${ECHO_T}no" >&6
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
3944 if test -n "$ac_ct_RANLIB"; then
3945 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
3961 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
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
3969 echo "$as_me:$LINENO: result: no" >&5
3970 echo "${ECHO_T}no" >&6
3973 RANLIB=$ac_ct_RANLIB
3975 RANLIB="$ac_cv_prog_RANLIB"
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
3986 if test -n "$STRIP"; then
3987 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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
4010 echo "$as_me:$LINENO: result: no" >&5
4011 echo "${ECHO_T}no" >&6
4015 if test -z "$ac_cv_prog_STRIP"; then
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
4024 if test -n "$ac_ct_STRIP"; then
4025 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
4041 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
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
4049 echo "$as_me:$LINENO: result: no" >&5
4050 echo "${ECHO_T}no" >&6
4055 STRIP="$ac_cv_prog_STRIP"
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"
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"
4073 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4074 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4077 # Check whether --with-pic or --without-pic was given.
4078 if test "${with_pic+set}" = set; then
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"
4087 # Some flags need to be propagated to the compiler or linker for good
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
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
4101 LD="${LD-ld} -melf32bsmip"
4104 LD="${LD-ld} -melf32bmipn32"
4107 LD="${LD-ld} -melf64bmip"
4111 case `/usr/bin/file conftest.$ac_objext` in
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
4133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4134 (exit $ac_status); }; then
4135 case "`/usr/bin/file conftest.o`" in
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
4153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4154 (exit $ac_status); }; then
4155 case "`/usr/bin/file conftest.o`" in
4159 LD="${LD-ld} -m elf_i386"
4161 ppc64-*linux*|powerpc64-*linux*)
4162 LD="${LD-ld} -m elf32ppclinux"
4165 LD="${LD-ld} -m elf_s390"
4168 LD="${LD-ld} -m elf32_sparc"
4175 LD="${LD-ld} -m elf_x86_64"
4177 ppc*-*linux*|powerpc*-*linux*)
4178 LD="${LD-ld} -m elf64ppc"
4181 LD="${LD-ld} -m elf64_s390"
4184 LD="${LD-ld} -m elf64_sparc"
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
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
4210 cat >conftest.$ac_ext <<_ACEOF
4213 cat confdefs.h >>conftest.$ac_ext
4214 cat >>conftest.$ac_ext <<_ACEOF
4215 /* end confdefs.h. */
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
4229 grep -v '^ *+' conftest.er1 >conftest.err
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
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
4245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4246 (exit $ac_status); }; }; then
4247 lt_cv_cc_needs_belf=yes
4249 echo "$as_me: failed program was:" >&5
4250 sed 's/^/| /' conftest.$ac_ext >&5
4252 lt_cv_cc_needs_belf=no
4254 rm -f conftest.err conftest.$ac_objext \
4255 conftest$ac_exeext conftest.$ac_ext
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
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"
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.
4283 # config.status only pays attention to the cache file if you give it
4284 # the --recheck option to rerun configure.
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
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.
4299 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4301 # `set' does not quote correctly, so add quotes (double-quote
4302 # substitution turns \\\\ into \\, and sed turns \\ into \).
4305 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4308 # `set' quotes correctly as required by POSIX, so do not add quotes.
4310 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4317 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4319 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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
4326 echo "not updating unwritable cache $cache_file"
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; }; }
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;}
4352 [\\/]* | ?:[\\/]* ) . $cache_file;;
4353 *) . ./$cache_file;;
4357 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4358 echo "$as_me: creating cache $cache_file" >&6;}
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"
4366 # Always use our own libtool.
4367 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
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
4380 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
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)
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
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
4400 if test -n "$FC"; then
4401 ac_cv_prog_FC="$FC" # Let the user override the test.
4403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
4420 if test -n "$FC"; then
4421 echo "$as_me:$LINENO: result: $FC" >&5
4422 echo "${ECHO_T}$FC" >&6
4424 echo "$as_me:$LINENO: result: no" >&5
4425 echo "${ECHO_T}no" >&6
4428 test -n "$FC" && break
4431 if test -z "$FC"; then
4433 for ac_prog in gfortran
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
4442 if test -n "$ac_ct_FC"; then
4443 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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
4466 echo "$as_me:$LINENO: result: no" >&5
4467 echo "${ECHO_T}no" >&6
4470 test -n "$ac_ct_FC" && break
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
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
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
4494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4495 (exit $ac_status); }
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.)
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
4507 cat >conftest.$ac_ext <<_ACEOF
4515 rm -f conftest.$ac_objext
4516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4517 (eval $ac_compile) 2>conftest.er1
4519 grep -v '^ *+' conftest.er1 >conftest.err
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
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
4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536 (exit $ac_status); }; }; then
4539 echo "$as_me: failed program was:" >&5
4540 sed 's/^/| /' conftest.$ac_ext >&5
4544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4545 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4548 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4549 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4551 ac_test_FFLAGS=${FCFLAGS+set}
4552 ac_save_FFLAGS=$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
4560 cat >conftest.$ac_ext <<_ACEOF
4565 rm -f conftest.$ac_objext
4566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4567 (eval $ac_compile) 2>conftest.er1
4569 grep -v '^ *+' conftest.er1 >conftest.err
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
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
4585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4586 (exit $ac_status); }; }; then
4589 echo "$as_me: failed program was:" >&5
4590 sed 's/^/| /' conftest.$ac_ext >&5
4594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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
4608 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
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
4621 FCFLAGS="$FCFLAGS -Wall -fno-repack-arrays -fno-underscoring"
4623 # extra LD Flags which are required for targets
4626 # Darwin needs -single_module when linking libgfortran
4627 extra_ldflags_libgfortran=-Wl,-single_module
4632 # Check whether --enable-largefile or --disable-largefile was given.
4633 if test "${enable_largefile+set}" = set; then
4634 enableval="$enable_largefile"
4637 if test "$enable_largefile" != no; then
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
4644 ac_cv_sys_largefile_CC=no
4645 if test "$GCC" != yes; then
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
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)
4673 rm -f conftest.$ac_objext
4674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4675 (eval $ac_compile) 2>conftest.er1
4677 grep -v '^ *+' conftest.er1 >conftest.err
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
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
4693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4694 (exit $ac_status); }; }; then
4697 echo "$as_me: failed program was:" >&5
4698 sed 's/^/| /' conftest.$ac_ext >&5
4701 rm -f conftest.err conftest.$ac_objext
4703 rm -f conftest.$ac_objext
4704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4705 (eval $ac_compile) 2>conftest.er1
4707 grep -v '^ *+' conftest.er1 >conftest.err
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
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
4723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4724 (exit $ac_status); }; }; then
4725 ac_cv_sys_largefile_CC=' -n32'; break
4727 echo "$as_me: failed program was:" >&5
4728 sed 's/^/| /' conftest.$ac_ext >&5
4731 rm -f conftest.err conftest.$ac_objext
4735 rm -f conftest.$ac_ext
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
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
4750 ac_cv_sys_file_offset_bits=no
4751 cat >conftest.$ac_ext <<_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)
4774 rm -f conftest.$ac_objext
4775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4776 (eval $ac_compile) 2>conftest.er1
4778 grep -v '^ *+' conftest.er1 >conftest.err
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
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
4794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4795 (exit $ac_status); }; }; then
4798 echo "$as_me: failed program was:" >&5
4799 sed 's/^/| /' conftest.$ac_ext >&5
4802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4803 cat >conftest.$ac_ext <<_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)
4827 rm -f conftest.$ac_objext
4828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4829 (eval $ac_compile) 2>conftest.er1
4831 grep -v '^ *+' conftest.er1 >conftest.err
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
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
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); }; }; then
4849 ac_cv_sys_file_offset_bits=64; break
4851 echo "$as_me: failed program was:" >&5
4852 sed 's/^/| /' conftest.$ac_ext >&5
4855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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
4863 cat >>confdefs.h <<_ACEOF
4864 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
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
4875 ac_cv_sys_large_files=no
4876 cat >conftest.$ac_ext <<_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)
4899 rm -f conftest.$ac_objext
4900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4901 (eval $ac_compile) 2>conftest.er1
4903 grep -v '^ *+' conftest.er1 >conftest.err
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
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
4919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4920 (exit $ac_status); }; }; then
4923 echo "$as_me: failed program was:" >&5
4924 sed 's/^/| /' conftest.$ac_ext >&5
4927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4928 cat >conftest.$ac_ext <<_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)
4952 rm -f conftest.$ac_objext
4953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4954 (eval $ac_compile) 2>conftest.er1
4956 grep -v '^ *+' conftest.er1 >conftest.err
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
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
4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); }; }; then
4974 ac_cv_sys_large_files=1; break
4976 echo "$as_me: failed program was:" >&5
4977 sed 's/^/| /' conftest.$ac_ext >&5
4980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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
4988 cat >>confdefs.h <<_ACEOF
4989 #define _LARGE_FILES $ac_cv_sys_large_files
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
5007 if test -z "$CPP"; then
5008 if test "${ac_cv_prog_CPP+set}" = set; then
5009 echo $ECHO_N "(cached) $ECHO_C" >&6
5011 # Double quotes because CPP needs to be expanded
5012 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5015 for ac_c_preproc_warn_flag in '' yes
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
5026 cat confdefs.h >>conftest.$ac_ext
5027 cat >>conftest.$ac_ext <<_ACEOF
5028 /* end confdefs.h. */
5030 # include <limits.h>
5032 # include <assert.h>
5036 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5037 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5039 grep -v '^ *+' conftest.er1 >conftest.err
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
5053 if test -z "$ac_cpp_err"; then
5056 echo "$as_me: failed program was:" >&5
5057 sed 's/^/| /' conftest.$ac_ext >&5
5059 # Broken: fails on valid input.
5062 rm -f conftest.err conftest.$ac_ext
5064 # OK, works on sane cases. Now check whether non-existent headers
5065 # can be detected and how.
5066 cat >conftest.$ac_ext <<_ACEOF
5069 cat confdefs.h >>conftest.$ac_ext
5070 cat >>conftest.$ac_ext <<_ACEOF
5071 /* end confdefs.h. */
5072 #include <ac_nonexistent.h>
5074 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5075 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5077 grep -v '^ *+' conftest.er1 >conftest.err
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
5091 if test -z "$ac_cpp_err"; then
5092 # Broken: success on invalid input.
5095 echo "$as_me: failed program was:" >&5
5096 sed 's/^/| /' conftest.$ac_ext >&5
5098 # Passes both tests.
5102 rm -f conftest.err conftest.$ac_ext
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
5119 echo "$as_me:$LINENO: result: $CPP" >&5
5120 echo "${ECHO_T}$CPP" >&6
5122 for ac_c_preproc_warn_flag in '' yes
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
5133 cat confdefs.h >>conftest.$ac_ext
5134 cat >>conftest.$ac_ext <<_ACEOF
5135 /* end confdefs.h. */
5137 # include <limits.h>
5139 # include <assert.h>
5143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5144 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5146 grep -v '^ *+' conftest.er1 >conftest.err
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
5160 if test -z "$ac_cpp_err"; then
5163 echo "$as_me: failed program was:" >&5
5164 sed 's/^/| /' conftest.$ac_ext >&5
5166 # Broken: fails on valid input.
5169 rm -f conftest.err conftest.$ac_ext
5171 # OK, works on sane cases. Now check whether non-existent headers
5172 # can be detected and how.
5173 cat >conftest.$ac_ext <<_ACEOF
5176 cat confdefs.h >>conftest.$ac_ext
5177 cat >>conftest.$ac_ext <<_ACEOF
5178 /* end confdefs.h. */
5179 #include <ac_nonexistent.h>
5181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5182 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5184 grep -v '^ *+' conftest.er1 >conftest.err
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
5198 if test -z "$ac_cpp_err"; then
5199 # Broken: success on invalid input.
5202 echo "$as_me: failed program was:" >&5
5203 sed 's/^/| /' conftest.$ac_ext >&5
5205 # Passes both tests.
5209 rm -f conftest.err conftest.$ac_ext
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
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; }; }
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
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
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'
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
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
5251 cat >conftest.$ac_ext <<_ACEOF
5254 cat confdefs.h >>conftest.$ac_ext
5255 cat >>conftest.$ac_ext <<_ACEOF
5256 /* end confdefs.h. */
5270 rm -f conftest.$ac_objext
5271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5272 (eval $ac_compile) 2>conftest.er1
5274 grep -v '^ *+' conftest.er1 >conftest.err
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
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
5290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5291 (exit $ac_status); }; }; then
5292 ac_cv_header_stdc=yes
5294 echo "$as_me: failed program was:" >&5
5295 sed 's/^/| /' conftest.$ac_ext >&5
5297 ac_cv_header_stdc=no
5299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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
5306 cat confdefs.h >>conftest.$ac_ext
5307 cat >>conftest.$ac_ext <<_ACEOF
5308 /* end confdefs.h. */
5312 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5313 $EGREP "memchr" >/dev/null 2>&1; then
5316 ac_cv_header_stdc=no
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
5327 cat confdefs.h >>conftest.$ac_ext
5328 cat >>conftest.$ac_ext <<_ACEOF
5329 /* end confdefs.h. */
5333 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5334 $EGREP "free" >/dev/null 2>&1; then
5337 ac_cv_header_stdc=no
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
5348 cat >conftest.$ac_ext <<_ACEOF
5351 cat confdefs.h >>conftest.$ac_ext
5352 cat >>conftest.$ac_ext <<_ACEOF
5353 /* end confdefs.h. */
5355 #if ((' ' & 0x0FF) == 0x020)
5356 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5357 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
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))
5366 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5371 for (i = 0; i < 256; i++)
5372 if (XOR (islower (i), ISLOWER (i))
5373 || toupper (i) != TOUPPER (i))
5378 rm -f conftest$ac_exeext
5379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5380 (eval $ac_link) 2>&5
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
5387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5388 (exit $ac_status); }; }; then
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
5396 ac_cv_header_stdc=no
5398 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
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
5406 cat >>confdefs.h <<\_ACEOF
5407 #define STDC_HEADERS 1
5412 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
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
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
5431 cat >conftest.$ac_ext <<_ACEOF
5434 cat confdefs.h >>conftest.$ac_ext
5435 cat >>conftest.$ac_ext <<_ACEOF
5436 /* end confdefs.h. */
5437 $ac_includes_default
5439 #include <$ac_header>
5441 rm -f conftest.$ac_objext
5442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5443 (eval $ac_compile) 2>conftest.er1
5445 grep -v '^ *+' conftest.er1 >conftest.err
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
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
5461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5462 (exit $ac_status); }; }; then
5463 eval "$as_ac_Header=yes"
5465 echo "$as_me: failed program was:" >&5
5466 sed 's/^/| /' conftest.$ac_ext >&5
5468 eval "$as_ac_Header=no"
5470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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
5486 for ac_header in stdlib.h unistd.h
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
5495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
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
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>
5510 rm -f conftest.$ac_objext
5511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5512 (eval $ac_compile) 2>conftest.er1
5514 grep -v '^ *+' conftest.er1 >conftest.err
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
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
5530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531 (exit $ac_status); }; }; then
5532 ac_header_compiler=yes
5534 echo "$as_me: failed program was:" >&5
5535 sed 's/^/| /' conftest.$ac_ext >&5
5537 ac_header_compiler=no
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
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
5549 cat confdefs.h >>conftest.$ac_ext
5550 cat >>conftest.$ac_ext <<_ACEOF
5551 /* end confdefs.h. */
5552 #include <$ac_header>
5554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5555 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5557 grep -v '^ *+' conftest.er1 >conftest.err
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
5571 if test -z "$ac_cpp_err"; then
5572 ac_header_preproc=yes
5574 echo "$as_me: failed program was:" >&5
5575 sed 's/^/| /' conftest.$ac_ext >&5
5577 ac_header_preproc=no
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
5583 # So? What about this header?
5584 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
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
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;}
5607 ## ------------------------------------------------------ ##
5608 ## Report this to the GNU Fortran Runtime Library lists. ##
5609 ## ------------------------------------------------------ ##
5612 sed "s/^/$as_me: WARNING: /" >&2
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
5620 eval "$as_ac_Header=\$ac_header_preproc"
5622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5623 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
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
5636 for ac_func in getpagesize
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
5644 cat >conftest.$ac_ext <<_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
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. */
5660 # include <limits.h>
5662 # include <assert.h>
5667 /* Override any gcc2 internal prototype to avoid an error. */
5672 /* We use char because int might match the return type of a gcc2
5673 builtin and then its argument prototype would still apply. */
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)
5681 char (*f) () = $ac_func;
5690 return f != $ac_func;
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
5699 grep -v '^ *+' conftest.er1 >conftest.err
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
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
5715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5716 (exit $ac_status); }; }; then
5717 eval "$as_ac_var=yes"
5719 echo "$as_me: failed program was:" >&5
5720 sed 's/^/| /' conftest.$ac_ext >&5
5722 eval "$as_ac_var=no"
5724 rm -f conftest.err conftest.$ac_objext \
5725 conftest$ac_exeext conftest.$ac_ext
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
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
5742 if test "$cross_compiling" = yes; then
5743 ac_cv_func_mmap_fixed_mapped=no
5745 cat >conftest.$ac_ext <<_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. */
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.
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) */
5778 #include <sys/mman.h>
5780 #if !STDC_HEADERS && !HAVE_STDLIB_H
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
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 */
5800 # define getpagesize() NBPG * CLSIZE
5803 # endif /* no CLSIZE */
5804 # else /* no NBPG */
5806 # define getpagesize() NBPC
5807 # else /* no NBPC */
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 */
5819 #endif /* no HAVE_GETPAGESIZE */
5824 char *data, *data2, *data3;
5828 pagesize = getpagesize ();
5830 /* First, make a file with some known garbage in it. */
5831 data = (char *) malloc (pagesize);
5834 for (i = 0; i < pagesize; ++i)
5835 *(data + i) = rand ();
5837 fd = creat ("conftest.mmap", 0600);
5840 if (write (fd, data, pagesize) != pagesize)
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);
5850 data2 = (char *) malloc (2 * pagesize);
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))
5857 for (i = 0; i < pagesize; ++i)
5858 if (*(data + i) != *(data2 + i))
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);
5869 if (read (fd, data3, pagesize) != pagesize)
5871 for (i = 0; i < pagesize; ++i)
5872 if (*(data + i) != *(data3 + i))
5878 rm -f conftest$ac_exeext
5879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5880 (eval $ac_link) 2>&5
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
5887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5888 (exit $ac_status); }; }; then
5889 ac_cv_func_mmap_fixed_mapped=yes
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
5896 ac_cv_func_mmap_fixed_mapped=no
5898 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
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
5905 cat >>confdefs.h <<\_ACEOF
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
5917 cat >conftest.$ac_ext <<_ACEOF
5920 cat confdefs.h >>conftest.$ac_ext
5921 cat >>conftest.$ac_ext <<_ACEOF
5922 /* end confdefs.h. */
5923 $ac_includes_default
5935 rm -f conftest.$ac_objext
5936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5937 (eval $ac_compile) 2>conftest.er1
5939 grep -v '^ *+' conftest.er1 >conftest.err
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
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
5955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5956 (exit $ac_status); }; }; then
5957 ac_cv_type_off_t=yes
5959 echo "$as_me: failed program was:" >&5
5960 sed 's/^/| /' conftest.$ac_ext >&5
5964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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
5972 cat >>confdefs.h <<_ACEOF
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
5985 cat >conftest.$ac_ext <<_ACEOF
5988 cat confdefs.h >>conftest.$ac_ext
5989 cat >>conftest.$ac_ext <<_ACEOF
5990 /* end confdefs.h. */
6004 rm -f conftest.$ac_objext
6005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6006 (eval $ac_compile) 2>conftest.er1
6008 grep -v '^ *+' conftest.er1 >conftest.err
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
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
6024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025 (exit $ac_status); }; }; then
6026 ac_cv_header_stdc=yes
6028 echo "$as_me: failed program was:" >&5
6029 sed 's/^/| /' conftest.$ac_ext >&5
6031 ac_cv_header_stdc=no
6033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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
6040 cat confdefs.h >>conftest.$ac_ext
6041 cat >>conftest.$ac_ext <<_ACEOF
6042 /* end confdefs.h. */
6046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6047 $EGREP "memchr" >/dev/null 2>&1; then
6050 ac_cv_header_stdc=no
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
6061 cat confdefs.h >>conftest.$ac_ext
6062 cat >>conftest.$ac_ext <<_ACEOF
6063 /* end confdefs.h. */
6067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6068 $EGREP "free" >/dev/null 2>&1; then
6071 ac_cv_header_stdc=no
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
6082 cat >conftest.$ac_ext <<_ACEOF
6085 cat confdefs.h >>conftest.$ac_ext
6086 cat >>conftest.$ac_ext <<_ACEOF
6087 /* end confdefs.h. */
6089 #if ((' ' & 0x0FF) == 0x020)
6090 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6091 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
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))
6100 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6105 for (i = 0; i < 256; i++)
6106 if (XOR (islower (i), ISLOWER (i))
6107 || toupper (i) != TOUPPER (i))
6112 rm -f conftest$ac_exeext
6113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6114 (eval $ac_link) 2>&5
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
6121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 (exit $ac_status); }; }; then
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
6130 ac_cv_header_stdc=no
6132 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
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
6140 cat >>confdefs.h <<\_ACEOF
6141 #define STDC_HEADERS 1
6153 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
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
6162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6163 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
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
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>
6177 rm -f conftest.$ac_objext
6178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6179 (eval $ac_compile) 2>conftest.er1
6181 grep -v '^ *+' conftest.er1 >conftest.err
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
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
6197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6198 (exit $ac_status); }; }; then
6199 ac_header_compiler=yes
6201 echo "$as_me: failed program was:" >&5
6202 sed 's/^/| /' conftest.$ac_ext >&5
6204 ac_header_compiler=no
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
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
6216 cat confdefs.h >>conftest.$ac_ext
6217 cat >>conftest.$ac_ext <<_ACEOF
6218 /* end confdefs.h. */
6219 #include <$ac_header>
6221 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6222 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6224 grep -v '^ *+' conftest.er1 >conftest.err
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
6238 if test -z "$ac_cpp_err"; then
6239 ac_header_preproc=yes
6241 echo "$as_me: failed program was:" >&5
6242 sed 's/^/| /' conftest.$ac_ext >&5
6244 ac_header_preproc=no
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
6250 # So? What about this header?
6251 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
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
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;}
6274 ## ------------------------------------------------------ ##
6275 ## Report this to the GNU Fortran Runtime Library lists. ##
6276 ## ------------------------------------------------------ ##
6279 sed "s/^/$as_me: WARNING: /" >&2
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
6287 eval "$as_ac_Header=\$ac_header_preproc"
6289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6290 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
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
6307 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
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
6316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
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
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>
6331 rm -f conftest.$ac_objext
6332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6333 (eval $ac_compile) 2>conftest.er1
6335 grep -v '^ *+' conftest.er1 >conftest.err
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
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
6351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6352 (exit $ac_status); }; }; then
6353 ac_header_compiler=yes
6355 echo "$as_me: failed program was:" >&5
6356 sed 's/^/| /' conftest.$ac_ext >&5
6358 ac_header_compiler=no
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
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
6370 cat confdefs.h >>conftest.$ac_ext
6371 cat >>conftest.$ac_ext <<_ACEOF
6372 /* end confdefs.h. */
6373 #include <$ac_header>
6375 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6376 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6378 grep -v '^ *+' conftest.er1 >conftest.err
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
6392 if test -z "$ac_cpp_err"; then
6393 ac_header_preproc=yes
6395 echo "$as_me: failed program was:" >&5
6396 sed 's/^/| /' conftest.$ac_ext >&5
6398 ac_header_preproc=no
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
6404 # So? What about this header?
6405 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
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
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;}
6428 ## ------------------------------------------------------ ##
6429 ## Report this to the GNU Fortran Runtime Library lists. ##
6430 ## ------------------------------------------------------ ##
6433 sed "s/^/$as_me: WARNING: /" >&2
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
6441 eval "$as_ac_Header=\$ac_header_preproc"
6443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6444 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
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
6460 for ac_header in sys/mman.h sys/types.h sys/stat.h ieeefp.h
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
6469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6470 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
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
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>
6484 rm -f conftest.$ac_objext
6485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6486 (eval $ac_compile) 2>conftest.er1
6488 grep -v '^ *+' conftest.er1 >conftest.err
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
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
6504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6505 (exit $ac_status); }; }; then
6506 ac_header_compiler=yes
6508 echo "$as_me: failed program was:" >&5
6509 sed 's/^/| /' conftest.$ac_ext >&5
6511 ac_header_compiler=no
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
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
6523 cat confdefs.h >>conftest.$ac_ext
6524 cat >>conftest.$ac_ext <<_ACEOF
6525 /* end confdefs.h. */
6526 #include <$ac_header>
6528 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6529 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6531 grep -v '^ *+' conftest.er1 >conftest.err
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
6545 if test -z "$ac_cpp_err"; then
6546 ac_header_preproc=yes
6548 echo "$as_me: failed program was:" >&5
6549 sed 's/^/| /' conftest.$ac_ext >&5
6551 ac_header_preproc=no
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
6557 # So? What about this header?
6558 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
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
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;}
6581 ## ------------------------------------------------------ ##
6582 ## Report this to the GNU Fortran Runtime Library lists. ##
6583 ## ------------------------------------------------------ ##
6586 sed "s/^/$as_me: WARNING: /" >&2
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
6594 eval "$as_ac_Header=\$ac_header_preproc"
6596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6597 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
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
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
6615 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6616 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
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
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>
6630 rm -f conftest.$ac_objext
6631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6632 (eval $ac_compile) 2>conftest.er1
6634 grep -v '^ *+' conftest.er1 >conftest.err
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
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
6650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6651 (exit $ac_status); }; }; then
6652 ac_header_compiler=yes
6654 echo "$as_me: failed program was:" >&5
6655 sed 's/^/| /' conftest.$ac_ext >&5
6657 ac_header_compiler=no
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
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
6669 cat confdefs.h >>conftest.$ac_ext
6670 cat >>conftest.$ac_ext <<_ACEOF
6671 /* end confdefs.h. */
6672 #include <complex.h>
6674 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6675 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6677 grep -v '^ *+' conftest.er1 >conftest.err
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
6691 if test -z "$ac_cpp_err"; then
6692 ac_header_preproc=yes
6694 echo "$as_me: failed program was:" >&5
6695 sed 's/^/| /' conftest.$ac_ext >&5
6697 ac_header_preproc=no
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
6703 # So? What about this header?
6704 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
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
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;}
6727 ## ------------------------------------------------------ ##
6728 ## Report this to the GNU Fortran Runtime Library lists. ##
6729 ## ------------------------------------------------------ ##
6732 sed "s/^/$as_me: WARNING: /" >&2
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
6740 ac_cv_header_complex_h=$ac_header_preproc
6742 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6743 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6746 if test $ac_cv_header_complex_h = yes; then
6748 cat >>confdefs.h <<\_ACEOF
6749 #define HAVE_COMPLEX_H 1
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
6761 cat >conftest.$ac_ext <<_ACEOF
6764 cat confdefs.h >>conftest.$ac_ext
6765 cat >>conftest.$ac_ext <<_ACEOF
6766 /* end confdefs.h. */
6767 $ac_includes_default
6771 static struct stat ac_aggr;
6772 if (ac_aggr.st_blksize)
6778 rm -f conftest.$ac_objext
6779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6780 (eval $ac_compile) 2>conftest.er1
6782 grep -v '^ *+' conftest.er1 >conftest.err
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
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
6798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6799 (exit $ac_status); }; }; then
6800 ac_cv_member_struct_stat_st_blksize=yes
6802 echo "$as_me: failed program was:" >&5
6803 sed 's/^/| /' conftest.$ac_ext >&5
6805 cat >conftest.$ac_ext <<_ACEOF
6808 cat confdefs.h >>conftest.$ac_ext
6809 cat >>conftest.$ac_ext <<_ACEOF
6810 /* end confdefs.h. */
6811 $ac_includes_default
6815 static struct stat ac_aggr;
6816 if (sizeof ac_aggr.st_blksize)
6822 rm -f conftest.$ac_objext
6823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6824 (eval $ac_compile) 2>conftest.er1
6826 grep -v '^ *+' conftest.er1 >conftest.err
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
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
6842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6843 (exit $ac_status); }; }; then
6844 ac_cv_member_struct_stat_st_blksize=yes
6846 echo "$as_me: failed program was:" >&5
6847 sed 's/^/| /' conftest.$ac_ext >&5
6849 ac_cv_member_struct_stat_st_blksize=no
6851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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
6859 cat >>confdefs.h <<_ACEOF
6860 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
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
6871 cat >conftest.$ac_ext <<_ACEOF
6874 cat confdefs.h >>conftest.$ac_ext
6875 cat >>conftest.$ac_ext <<_ACEOF
6876 /* end confdefs.h. */
6877 $ac_includes_default
6881 static struct stat ac_aggr;
6882 if (ac_aggr.st_blocks)
6888 rm -f conftest.$ac_objext
6889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6890 (eval $ac_compile) 2>conftest.er1
6892 grep -v '^ *+' conftest.er1 >conftest.err
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
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
6908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6909 (exit $ac_status); }; }; then
6910 ac_cv_member_struct_stat_st_blocks=yes
6912 echo "$as_me: failed program was:" >&5
6913 sed 's/^/| /' conftest.$ac_ext >&5
6915 cat >conftest.$ac_ext <<_ACEOF
6918 cat confdefs.h >>conftest.$ac_ext
6919 cat >>conftest.$ac_ext <<_ACEOF
6920 /* end confdefs.h. */
6921 $ac_includes_default
6925 static struct stat ac_aggr;
6926 if (sizeof ac_aggr.st_blocks)
6932 rm -f conftest.$ac_objext
6933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6934 (eval $ac_compile) 2>conftest.er1
6936 grep -v '^ *+' conftest.er1 >conftest.err
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
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
6952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953 (exit $ac_status); }; }; then
6954 ac_cv_member_struct_stat_st_blocks=yes
6956 echo "$as_me: failed program was:" >&5
6957 sed 's/^/| /' conftest.$ac_ext >&5
6959 ac_cv_member_struct_stat_st_blocks=no
6961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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
6969 cat >>confdefs.h <<_ACEOF
6970 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
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
6981 cat >conftest.$ac_ext <<_ACEOF
6984 cat confdefs.h >>conftest.$ac_ext
6985 cat >>conftest.$ac_ext <<_ACEOF
6986 /* end confdefs.h. */
6987 $ac_includes_default
6991 static struct stat ac_aggr;
6992 if (ac_aggr.st_rdev)
6998 rm -f conftest.$ac_objext
6999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7000 (eval $ac_compile) 2>conftest.er1
7002 grep -v '^ *+' conftest.er1 >conftest.err
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
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
7018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7019 (exit $ac_status); }; }; then
7020 ac_cv_member_struct_stat_st_rdev=yes
7022 echo "$as_me: failed program was:" >&5
7023 sed 's/^/| /' conftest.$ac_ext >&5
7025 cat >conftest.$ac_ext <<_ACEOF
7028 cat confdefs.h >>conftest.$ac_ext
7029 cat >>conftest.$ac_ext <<_ACEOF
7030 /* end confdefs.h. */
7031 $ac_includes_default
7035 static struct stat ac_aggr;
7036 if (sizeof ac_aggr.st_rdev)
7042 rm -f conftest.$ac_objext
7043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7044 (eval $ac_compile) 2>conftest.er1
7046 grep -v '^ *+' conftest.er1 >conftest.err
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
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
7062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7063 (exit $ac_status); }; }; then
7064 ac_cv_member_struct_stat_st_rdev=yes
7066 echo "$as_me: failed program was:" >&5
7067 sed 's/^/| /' conftest.$ac_ext >&5
7069 ac_cv_member_struct_stat_st_rdev=no
7071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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
7079 cat >>confdefs.h <<_ACEOF
7080 #define HAVE_STRUCT_STAT_ST_RDEV 1
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
7093 ac_check_lib_save_LIBS=$LIBS
7095 cat >conftest.$ac_ext <<_ACEOF
7098 cat confdefs.h >>conftest.$ac_ext
7099 cat >>conftest.$ac_ext <<_ACEOF
7100 /* end confdefs.h. */
7102 /* Override any gcc2 internal prototype to avoid an error. */
7106 /* We use char because int might match the return type of a gcc2
7107 builtin and then its argument prototype would still apply. */
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
7121 grep -v '^ *+' conftest.er1 >conftest.err
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
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
7137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7138 (exit $ac_status); }; }; then
7139 ac_cv_lib_m_csin=yes
7141 echo "$as_me: failed program was:" >&5
7142 sed 's/^/| /' conftest.$ac_ext >&5
7146 rm -f conftest.err conftest.$ac_objext \
7147 conftest$ac_exeext conftest.$ac_ext
7148 LIBS=$ac_check_lib_save_LIBS
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
7159 # Check for library functions.
7167 for ac_func in getrusage times mkstemp strtof snprintf ftruncate chsize
7169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7170 echo "$as_me:$LINENO: checking for $ac_func" >&5
7171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7172 if eval "test \"\${$as_ac_var+set}\" = set"; then
7173 echo $ECHO_N "(cached) $ECHO_C" >&6
7175 cat >conftest.$ac_ext <<_ACEOF
7178 cat confdefs.h >>conftest.$ac_ext
7179 cat >>conftest.$ac_ext <<_ACEOF
7180 /* end confdefs.h. */
7181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7183 #define $ac_func innocuous_$ac_func
7185 /* System header to define __stub macros and hopefully few prototypes,
7186 which can conflict with char $ac_func (); below.
7187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7188 <limits.h> exists even on freestanding compilers. */
7191 # include <limits.h>
7193 # include <assert.h>
7198 /* Override any gcc2 internal prototype to avoid an error. */
7203 /* We use char because int might match the return type of a gcc2
7204 builtin and then its argument prototype would still apply. */
7206 /* The GNU C library defines this for functions which it implements
7207 to always fail with ENOSYS. Some functions are actually named
7208 something starting with __ and the normal name is an alias. */
7209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7212 char (*f) () = $ac_func;
7221 return f != $ac_func;
7226 rm -f conftest.$ac_objext conftest$ac_exeext
7227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7228 (eval $ac_link) 2>conftest.er1
7230 grep -v '^ *+' conftest.er1 >conftest.err
7232 cat conftest.err >&5
7233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7234 (exit $ac_status); } &&
7235 { ac_try='test -z "$ac_c_werror_flag"
7236 || test ! -s conftest.err'
7237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7241 (exit $ac_status); }; } &&
7242 { ac_try='test -s conftest$ac_exeext'
7243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7247 (exit $ac_status); }; }; then
7248 eval "$as_ac_var=yes"
7250 echo "$as_me: failed program was:" >&5
7251 sed 's/^/| /' conftest.$ac_ext >&5
7253 eval "$as_ac_var=no"
7255 rm -f conftest.err conftest.$ac_objext \
7256 conftest$ac_exeext conftest.$ac_ext
7258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7260 if test `eval echo '${'$as_ac_var'}'` = yes; then
7261 cat >>confdefs.h <<_ACEOF
7262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7276 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
7278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7279 echo "$as_me:$LINENO: checking for $ac_func" >&5
7280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7281 if eval "test \"\${$as_ac_var+set}\" = set"; then
7282 echo $ECHO_N "(cached) $ECHO_C" >&6
7284 cat >conftest.$ac_ext <<_ACEOF
7287 cat confdefs.h >>conftest.$ac_ext
7288 cat >>conftest.$ac_ext <<_ACEOF
7289 /* end confdefs.h. */
7290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7292 #define $ac_func innocuous_$ac_func
7294 /* System header to define __stub macros and hopefully few prototypes,
7295 which can conflict with char $ac_func (); below.
7296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7297 <limits.h> exists even on freestanding compilers. */
7300 # include <limits.h>
7302 # include <assert.h>
7307 /* Override any gcc2 internal prototype to avoid an error. */
7312 /* We use char because int might match the return type of a gcc2
7313 builtin and then its argument prototype would still apply. */
7315 /* The GNU C library defines this for functions which it implements
7316 to always fail with ENOSYS. Some functions are actually named
7317 something starting with __ and the normal name is an alias. */
7318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7321 char (*f) () = $ac_func;
7330 return f != $ac_func;
7335 rm -f conftest.$ac_objext conftest$ac_exeext
7336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7337 (eval $ac_link) 2>conftest.er1
7339 grep -v '^ *+' conftest.er1 >conftest.err
7341 cat conftest.err >&5
7342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7343 (exit $ac_status); } &&
7344 { ac_try='test -z "$ac_c_werror_flag"
7345 || test ! -s conftest.err'
7346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7350 (exit $ac_status); }; } &&
7351 { ac_try='test -s conftest$ac_exeext'
7352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7356 (exit $ac_status); }; }; then
7357 eval "$as_ac_var=yes"
7359 echo "$as_me: failed program was:" >&5
7360 sed 's/^/| /' conftest.$ac_ext >&5
7362 eval "$as_ac_var=no"
7364 rm -f conftest.err conftest.$ac_objext \
7365 conftest$ac_exeext conftest.$ac_ext
7367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7369 if test `eval echo '${'$as_ac_var'}'` = yes; then
7370 cat >>confdefs.h <<_ACEOF
7371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7379 for ac_func in sleep time
7381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7382 echo "$as_me:$LINENO: checking for $ac_func" >&5
7383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7384 if eval "test \"\${$as_ac_var+set}\" = set"; then
7385 echo $ECHO_N "(cached) $ECHO_C" >&6
7387 cat >conftest.$ac_ext <<_ACEOF
7390 cat confdefs.h >>conftest.$ac_ext
7391 cat >>conftest.$ac_ext <<_ACEOF
7392 /* end confdefs.h. */
7393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7395 #define $ac_func innocuous_$ac_func
7397 /* System header to define __stub macros and hopefully few prototypes,
7398 which can conflict with char $ac_func (); below.
7399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7400 <limits.h> exists even on freestanding compilers. */
7403 # include <limits.h>
7405 # include <assert.h>
7410 /* Override any gcc2 internal prototype to avoid an error. */
7415 /* We use char because int might match the return type of a gcc2
7416 builtin and then its argument prototype would still apply. */
7418 /* The GNU C library defines this for functions which it implements
7419 to always fail with ENOSYS. Some functions are actually named
7420 something starting with __ and the normal name is an alias. */
7421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7424 char (*f) () = $ac_func;
7433 return f != $ac_func;
7438 rm -f conftest.$ac_objext conftest$ac_exeext
7439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7440 (eval $ac_link) 2>conftest.er1
7442 grep -v '^ *+' conftest.er1 >conftest.err
7444 cat conftest.err >&5
7445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446 (exit $ac_status); } &&
7447 { ac_try='test -z "$ac_c_werror_flag"
7448 || test ! -s conftest.err'
7449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7453 (exit $ac_status); }; } &&
7454 { ac_try='test -s conftest$ac_exeext'
7455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7459 (exit $ac_status); }; }; then
7460 eval "$as_ac_var=yes"
7462 echo "$as_me: failed program was:" >&5
7463 sed 's/^/| /' conftest.$ac_ext >&5
7465 eval "$as_ac_var=no"
7467 rm -f conftest.err conftest.$ac_objext \
7468 conftest$ac_exeext conftest.$ac_ext
7470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7472 if test `eval echo '${'$as_ac_var'}'` = yes; then
7473 cat >>confdefs.h <<_ACEOF
7474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7481 # Check libc for getgid, getpid, getuid
7482 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
7483 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
7484 if test "${ac_cv_lib_c_getgid+set}" = set; then
7485 echo $ECHO_N "(cached) $ECHO_C" >&6
7487 ac_check_lib_save_LIBS=$LIBS
7489 cat >conftest.$ac_ext <<_ACEOF
7492 cat confdefs.h >>conftest.$ac_ext
7493 cat >>conftest.$ac_ext <<_ACEOF
7494 /* end confdefs.h. */
7496 /* Override any gcc2 internal prototype to avoid an error. */
7500 /* We use char because int might match the return type of a gcc2
7501 builtin and then its argument prototype would still apply. */
7511 rm -f conftest.$ac_objext conftest$ac_exeext
7512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7513 (eval $ac_link) 2>conftest.er1
7515 grep -v '^ *+' conftest.er1 >conftest.err
7517 cat conftest.err >&5
7518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7519 (exit $ac_status); } &&
7520 { ac_try='test -z "$ac_c_werror_flag"
7521 || test ! -s conftest.err'
7522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526 (exit $ac_status); }; } &&
7527 { ac_try='test -s conftest$ac_exeext'
7528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532 (exit $ac_status); }; }; then
7533 ac_cv_lib_c_getgid=yes
7535 echo "$as_me: failed program was:" >&5
7536 sed 's/^/| /' conftest.$ac_ext >&5
7538 ac_cv_lib_c_getgid=no
7540 rm -f conftest.err conftest.$ac_objext \
7541 conftest$ac_exeext conftest.$ac_ext
7542 LIBS=$ac_check_lib_save_LIBS
7544 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
7545 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
7546 if test $ac_cv_lib_c_getgid = yes; then
7548 cat >>confdefs.h <<\_ACEOF
7549 #define HAVE_GETGID 1
7554 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
7555 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
7556 if test "${ac_cv_lib_c_getpid+set}" = set; then
7557 echo $ECHO_N "(cached) $ECHO_C" >&6
7559 ac_check_lib_save_LIBS=$LIBS
7561 cat >conftest.$ac_ext <<_ACEOF
7564 cat confdefs.h >>conftest.$ac_ext
7565 cat >>conftest.$ac_ext <<_ACEOF
7566 /* end confdefs.h. */
7568 /* Override any gcc2 internal prototype to avoid an error. */
7572 /* We use char because int might match the return type of a gcc2
7573 builtin and then its argument prototype would still apply. */
7583 rm -f conftest.$ac_objext conftest$ac_exeext
7584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7585 (eval $ac_link) 2>conftest.er1
7587 grep -v '^ *+' conftest.er1 >conftest.err
7589 cat conftest.err >&5
7590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7591 (exit $ac_status); } &&
7592 { ac_try='test -z "$ac_c_werror_flag"
7593 || test ! -s conftest.err'
7594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7598 (exit $ac_status); }; } &&
7599 { ac_try='test -s conftest$ac_exeext'
7600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7604 (exit $ac_status); }; }; then
7605 ac_cv_lib_c_getpid=yes
7607 echo "$as_me: failed program was:" >&5
7608 sed 's/^/| /' conftest.$ac_ext >&5
7610 ac_cv_lib_c_getpid=no
7612 rm -f conftest.err conftest.$ac_objext \
7613 conftest$ac_exeext conftest.$ac_ext
7614 LIBS=$ac_check_lib_save_LIBS
7616 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
7617 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
7618 if test $ac_cv_lib_c_getpid = yes; then
7620 cat >>confdefs.h <<\_ACEOF
7621 #define HAVE_GETPID 1
7626 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
7627 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
7628 if test "${ac_cv_lib_c_getuid+set}" = set; then
7629 echo $ECHO_N "(cached) $ECHO_C" >&6
7631 ac_check_lib_save_LIBS=$LIBS
7633 cat >conftest.$ac_ext <<_ACEOF
7636 cat confdefs.h >>conftest.$ac_ext
7637 cat >>conftest.$ac_ext <<_ACEOF
7638 /* end confdefs.h. */
7640 /* Override any gcc2 internal prototype to avoid an error. */
7644 /* We use char because int might match the return type of a gcc2
7645 builtin and then its argument prototype would still apply. */
7655 rm -f conftest.$ac_objext conftest$ac_exeext
7656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7657 (eval $ac_link) 2>conftest.er1
7659 grep -v '^ *+' conftest.er1 >conftest.err
7661 cat conftest.err >&5
7662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7663 (exit $ac_status); } &&
7664 { ac_try='test -z "$ac_c_werror_flag"
7665 || test ! -s conftest.err'
7666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7670 (exit $ac_status); }; } &&
7671 { ac_try='test -s conftest$ac_exeext'
7672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7676 (exit $ac_status); }; }; then
7677 ac_cv_lib_c_getuid=yes
7679 echo "$as_me: failed program was:" >&5
7680 sed 's/^/| /' conftest.$ac_ext >&5
7682 ac_cv_lib_c_getuid=no
7684 rm -f conftest.err conftest.$ac_objext \
7685 conftest$ac_exeext conftest.$ac_ext
7686 LIBS=$ac_check_lib_save_LIBS
7688 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
7689 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
7690 if test $ac_cv_lib_c_getuid = yes; then
7692 cat >>confdefs.h <<\_ACEOF
7693 #define HAVE_GETUID 1
7699 # Check for C99 (and other IEEE) math functions
7700 # ??? This list seems awful long. Is there a better way to test for these?
7701 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
7702 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
7703 if test "${ac_cv_lib_m_acosf+set}" = set; then
7704 echo $ECHO_N "(cached) $ECHO_C" >&6
7706 ac_check_lib_save_LIBS=$LIBS
7708 cat >conftest.$ac_ext <<_ACEOF
7711 cat confdefs.h >>conftest.$ac_ext
7712 cat >>conftest.$ac_ext <<_ACEOF
7713 /* end confdefs.h. */
7715 /* Override any gcc2 internal prototype to avoid an error. */
7719 /* We use char because int might match the return type of a gcc2
7720 builtin and then its argument prototype would still apply. */
7730 rm -f conftest.$ac_objext conftest$ac_exeext
7731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7732 (eval $ac_link) 2>conftest.er1
7734 grep -v '^ *+' conftest.er1 >conftest.err
7736 cat conftest.err >&5
7737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7738 (exit $ac_status); } &&
7739 { ac_try='test -z "$ac_c_werror_flag"
7740 || test ! -s conftest.err'
7741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7745 (exit $ac_status); }; } &&
7746 { ac_try='test -s conftest$ac_exeext'
7747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7751 (exit $ac_status); }; }; then
7752 ac_cv_lib_m_acosf=yes
7754 echo "$as_me: failed program was:" >&5
7755 sed 's/^/| /' conftest.$ac_ext >&5
7757 ac_cv_lib_m_acosf=no
7759 rm -f conftest.err conftest.$ac_objext \
7760 conftest$ac_exeext conftest.$ac_ext
7761 LIBS=$ac_check_lib_save_LIBS
7763 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
7764 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
7765 if test $ac_cv_lib_m_acosf = yes; then
7767 cat >>confdefs.h <<\_ACEOF
7768 #define HAVE_ACOSF 1
7773 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
7774 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
7775 if test "${ac_cv_lib_m_asinf+set}" = set; then
7776 echo $ECHO_N "(cached) $ECHO_C" >&6
7778 ac_check_lib_save_LIBS=$LIBS
7780 cat >conftest.$ac_ext <<_ACEOF
7783 cat confdefs.h >>conftest.$ac_ext
7784 cat >>conftest.$ac_ext <<_ACEOF
7785 /* end confdefs.h. */
7787 /* Override any gcc2 internal prototype to avoid an error. */
7791 /* We use char because int might match the return type of a gcc2
7792 builtin and then its argument prototype would still apply. */
7802 rm -f conftest.$ac_objext conftest$ac_exeext
7803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7804 (eval $ac_link) 2>conftest.er1
7806 grep -v '^ *+' conftest.er1 >conftest.err
7808 cat conftest.err >&5
7809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7810 (exit $ac_status); } &&
7811 { ac_try='test -z "$ac_c_werror_flag"
7812 || test ! -s conftest.err'
7813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7817 (exit $ac_status); }; } &&
7818 { ac_try='test -s conftest$ac_exeext'
7819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7823 (exit $ac_status); }; }; then
7824 ac_cv_lib_m_asinf=yes
7826 echo "$as_me: failed program was:" >&5
7827 sed 's/^/| /' conftest.$ac_ext >&5
7829 ac_cv_lib_m_asinf=no
7831 rm -f conftest.err conftest.$ac_objext \
7832 conftest$ac_exeext conftest.$ac_ext
7833 LIBS=$ac_check_lib_save_LIBS
7835 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
7836 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
7837 if test $ac_cv_lib_m_asinf = yes; then
7839 cat >>confdefs.h <<\_ACEOF
7840 #define HAVE_ASINF 1
7845 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
7846 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
7847 if test "${ac_cv_lib_m_atan2f+set}" = set; then
7848 echo $ECHO_N "(cached) $ECHO_C" >&6
7850 ac_check_lib_save_LIBS=$LIBS
7852 cat >conftest.$ac_ext <<_ACEOF
7855 cat confdefs.h >>conftest.$ac_ext
7856 cat >>conftest.$ac_ext <<_ACEOF
7857 /* end confdefs.h. */
7859 /* Override any gcc2 internal prototype to avoid an error. */
7863 /* We use char because int might match the return type of a gcc2
7864 builtin and then its argument prototype would still apply. */
7874 rm -f conftest.$ac_objext conftest$ac_exeext
7875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7876 (eval $ac_link) 2>conftest.er1
7878 grep -v '^ *+' conftest.er1 >conftest.err
7880 cat conftest.err >&5
7881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7882 (exit $ac_status); } &&
7883 { ac_try='test -z "$ac_c_werror_flag"
7884 || test ! -s conftest.err'
7885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7889 (exit $ac_status); }; } &&
7890 { ac_try='test -s conftest$ac_exeext'
7891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7895 (exit $ac_status); }; }; then
7896 ac_cv_lib_m_atan2f=yes
7898 echo "$as_me: failed program was:" >&5
7899 sed 's/^/| /' conftest.$ac_ext >&5
7901 ac_cv_lib_m_atan2f=no
7903 rm -f conftest.err conftest.$ac_objext \
7904 conftest$ac_exeext conftest.$ac_ext
7905 LIBS=$ac_check_lib_save_LIBS
7907 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
7908 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
7909 if test $ac_cv_lib_m_atan2f = yes; then
7911 cat >>confdefs.h <<\_ACEOF
7912 #define HAVE_ATAN2F 1
7917 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
7918 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
7919 if test "${ac_cv_lib_m_atanf+set}" = set; then
7920 echo $ECHO_N "(cached) $ECHO_C" >&6
7922 ac_check_lib_save_LIBS=$LIBS
7924 cat >conftest.$ac_ext <<_ACEOF
7927 cat confdefs.h >>conftest.$ac_ext
7928 cat >>conftest.$ac_ext <<_ACEOF
7929 /* end confdefs.h. */
7931 /* Override any gcc2 internal prototype to avoid an error. */
7935 /* We use char because int might match the return type of a gcc2
7936 builtin and then its argument prototype would still apply. */
7946 rm -f conftest.$ac_objext conftest$ac_exeext
7947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7948 (eval $ac_link) 2>conftest.er1
7950 grep -v '^ *+' conftest.er1 >conftest.err
7952 cat conftest.err >&5
7953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7954 (exit $ac_status); } &&
7955 { ac_try='test -z "$ac_c_werror_flag"
7956 || test ! -s conftest.err'
7957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7961 (exit $ac_status); }; } &&
7962 { ac_try='test -s conftest$ac_exeext'
7963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7967 (exit $ac_status); }; }; then
7968 ac_cv_lib_m_atanf=yes
7970 echo "$as_me: failed program was:" >&5
7971 sed 's/^/| /' conftest.$ac_ext >&5
7973 ac_cv_lib_m_atanf=no
7975 rm -f conftest.err conftest.$ac_objext \
7976 conftest$ac_exeext conftest.$ac_ext
7977 LIBS=$ac_check_lib_save_LIBS
7979 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
7980 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
7981 if test $ac_cv_lib_m_atanf = yes; then
7983 cat >>confdefs.h <<\_ACEOF
7984 #define HAVE_ATANF 1
7989 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
7990 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
7991 if test "${ac_cv_lib_m_ceilf+set}" = set; then
7992 echo $ECHO_N "(cached) $ECHO_C" >&6
7994 ac_check_lib_save_LIBS=$LIBS
7996 cat >conftest.$ac_ext <<_ACEOF
7999 cat confdefs.h >>conftest.$ac_ext
8000 cat >>conftest.$ac_ext <<_ACEOF
8001 /* end confdefs.h. */
8003 /* Override any gcc2 internal prototype to avoid an error. */
8007 /* We use char because int might match the return type of a gcc2
8008 builtin and then its argument prototype would still apply. */
8018 rm -f conftest.$ac_objext conftest$ac_exeext
8019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8020 (eval $ac_link) 2>conftest.er1
8022 grep -v '^ *+' conftest.er1 >conftest.err
8024 cat conftest.err >&5
8025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8026 (exit $ac_status); } &&
8027 { ac_try='test -z "$ac_c_werror_flag"
8028 || test ! -s conftest.err'
8029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8033 (exit $ac_status); }; } &&
8034 { ac_try='test -s conftest$ac_exeext'
8035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8039 (exit $ac_status); }; }; then
8040 ac_cv_lib_m_ceilf=yes
8042 echo "$as_me: failed program was:" >&5
8043 sed 's/^/| /' conftest.$ac_ext >&5
8045 ac_cv_lib_m_ceilf=no
8047 rm -f conftest.err conftest.$ac_objext \
8048 conftest$ac_exeext conftest.$ac_ext
8049 LIBS=$ac_check_lib_save_LIBS
8051 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
8052 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
8053 if test $ac_cv_lib_m_ceilf = yes; then
8055 cat >>confdefs.h <<\_ACEOF
8056 #define HAVE_CEILF 1
8061 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
8062 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
8063 if test "${ac_cv_lib_m_copysignf+set}" = set; then
8064 echo $ECHO_N "(cached) $ECHO_C" >&6
8066 ac_check_lib_save_LIBS=$LIBS
8068 cat >conftest.$ac_ext <<_ACEOF
8071 cat confdefs.h >>conftest.$ac_ext
8072 cat >>conftest.$ac_ext <<_ACEOF
8073 /* end confdefs.h. */
8075 /* Override any gcc2 internal prototype to avoid an error. */
8079 /* We use char because int might match the return type of a gcc2
8080 builtin and then its argument prototype would still apply. */
8090 rm -f conftest.$ac_objext conftest$ac_exeext
8091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8092 (eval $ac_link) 2>conftest.er1
8094 grep -v '^ *+' conftest.er1 >conftest.err
8096 cat conftest.err >&5
8097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8098 (exit $ac_status); } &&
8099 { ac_try='test -z "$ac_c_werror_flag"
8100 || test ! -s conftest.err'
8101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8105 (exit $ac_status); }; } &&
8106 { ac_try='test -s conftest$ac_exeext'
8107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8111 (exit $ac_status); }; }; then
8112 ac_cv_lib_m_copysignf=yes
8114 echo "$as_me: failed program was:" >&5
8115 sed 's/^/| /' conftest.$ac_ext >&5
8117 ac_cv_lib_m_copysignf=no
8119 rm -f conftest.err conftest.$ac_objext \
8120 conftest$ac_exeext conftest.$ac_ext
8121 LIBS=$ac_check_lib_save_LIBS
8123 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
8124 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
8125 if test $ac_cv_lib_m_copysignf = yes; then
8127 cat >>confdefs.h <<\_ACEOF
8128 #define HAVE_COPYSIGNF 1
8133 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
8134 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
8135 if test "${ac_cv_lib_m_cosf+set}" = set; then
8136 echo $ECHO_N "(cached) $ECHO_C" >&6
8138 ac_check_lib_save_LIBS=$LIBS
8140 cat >conftest.$ac_ext <<_ACEOF
8143 cat confdefs.h >>conftest.$ac_ext
8144 cat >>conftest.$ac_ext <<_ACEOF
8145 /* end confdefs.h. */
8147 /* Override any gcc2 internal prototype to avoid an error. */
8151 /* We use char because int might match the return type of a gcc2
8152 builtin and then its argument prototype would still apply. */
8162 rm -f conftest.$ac_objext conftest$ac_exeext
8163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8164 (eval $ac_link) 2>conftest.er1
8166 grep -v '^ *+' conftest.er1 >conftest.err
8168 cat conftest.err >&5
8169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8170 (exit $ac_status); } &&
8171 { ac_try='test -z "$ac_c_werror_flag"
8172 || test ! -s conftest.err'
8173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8177 (exit $ac_status); }; } &&
8178 { ac_try='test -s conftest$ac_exeext'
8179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8183 (exit $ac_status); }; }; then
8184 ac_cv_lib_m_cosf=yes
8186 echo "$as_me: failed program was:" >&5
8187 sed 's/^/| /' conftest.$ac_ext >&5
8191 rm -f conftest.err conftest.$ac_objext \
8192 conftest$ac_exeext conftest.$ac_ext
8193 LIBS=$ac_check_lib_save_LIBS
8195 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
8196 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
8197 if test $ac_cv_lib_m_cosf = yes; then
8199 cat >>confdefs.h <<\_ACEOF
8205 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
8206 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
8207 if test "${ac_cv_lib_m_coshf+set}" = set; then
8208 echo $ECHO_N "(cached) $ECHO_C" >&6
8210 ac_check_lib_save_LIBS=$LIBS
8212 cat >conftest.$ac_ext <<_ACEOF
8215 cat confdefs.h >>conftest.$ac_ext
8216 cat >>conftest.$ac_ext <<_ACEOF
8217 /* end confdefs.h. */
8219 /* Override any gcc2 internal prototype to avoid an error. */
8223 /* We use char because int might match the return type of a gcc2
8224 builtin and then its argument prototype would still apply. */
8234 rm -f conftest.$ac_objext conftest$ac_exeext
8235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8236 (eval $ac_link) 2>conftest.er1
8238 grep -v '^ *+' conftest.er1 >conftest.err
8240 cat conftest.err >&5
8241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8242 (exit $ac_status); } &&
8243 { ac_try='test -z "$ac_c_werror_flag"
8244 || test ! -s conftest.err'
8245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8249 (exit $ac_status); }; } &&
8250 { ac_try='test -s conftest$ac_exeext'
8251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8255 (exit $ac_status); }; }; then
8256 ac_cv_lib_m_coshf=yes
8258 echo "$as_me: failed program was:" >&5
8259 sed 's/^/| /' conftest.$ac_ext >&5
8261 ac_cv_lib_m_coshf=no
8263 rm -f conftest.err conftest.$ac_objext \
8264 conftest$ac_exeext conftest.$ac_ext
8265 LIBS=$ac_check_lib_save_LIBS
8267 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
8268 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
8269 if test $ac_cv_lib_m_coshf = yes; then
8271 cat >>confdefs.h <<\_ACEOF
8272 #define HAVE_COSHF 1
8277 echo "$as_me:$LINENO: checking for expf in -lm" >&5
8278 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
8279 if test "${ac_cv_lib_m_expf+set}" = set; then
8280 echo $ECHO_N "(cached) $ECHO_C" >&6
8282 ac_check_lib_save_LIBS=$LIBS
8284 cat >conftest.$ac_ext <<_ACEOF
8287 cat confdefs.h >>conftest.$ac_ext
8288 cat >>conftest.$ac_ext <<_ACEOF
8289 /* end confdefs.h. */
8291 /* Override any gcc2 internal prototype to avoid an error. */
8295 /* We use char because int might match the return type of a gcc2
8296 builtin and then its argument prototype would still apply. */
8306 rm -f conftest.$ac_objext conftest$ac_exeext
8307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8308 (eval $ac_link) 2>conftest.er1
8310 grep -v '^ *+' conftest.er1 >conftest.err
8312 cat conftest.err >&5
8313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8314 (exit $ac_status); } &&
8315 { ac_try='test -z "$ac_c_werror_flag"
8316 || test ! -s conftest.err'
8317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8321 (exit $ac_status); }; } &&
8322 { ac_try='test -s conftest$ac_exeext'
8323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8327 (exit $ac_status); }; }; then
8328 ac_cv_lib_m_expf=yes
8330 echo "$as_me: failed program was:" >&5
8331 sed 's/^/| /' conftest.$ac_ext >&5
8335 rm -f conftest.err conftest.$ac_objext \
8336 conftest$ac_exeext conftest.$ac_ext
8337 LIBS=$ac_check_lib_save_LIBS
8339 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
8340 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
8341 if test $ac_cv_lib_m_expf = yes; then
8343 cat >>confdefs.h <<\_ACEOF
8349 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
8350 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
8351 if test "${ac_cv_lib_m_fabsf+set}" = set; then
8352 echo $ECHO_N "(cached) $ECHO_C" >&6
8354 ac_check_lib_save_LIBS=$LIBS
8356 cat >conftest.$ac_ext <<_ACEOF
8359 cat confdefs.h >>conftest.$ac_ext
8360 cat >>conftest.$ac_ext <<_ACEOF
8361 /* end confdefs.h. */
8363 /* Override any gcc2 internal prototype to avoid an error. */
8367 /* We use char because int might match the return type of a gcc2
8368 builtin and then its argument prototype would still apply. */
8378 rm -f conftest.$ac_objext conftest$ac_exeext
8379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8380 (eval $ac_link) 2>conftest.er1
8382 grep -v '^ *+' conftest.er1 >conftest.err
8384 cat conftest.err >&5
8385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8386 (exit $ac_status); } &&
8387 { ac_try='test -z "$ac_c_werror_flag"
8388 || test ! -s conftest.err'
8389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8393 (exit $ac_status); }; } &&
8394 { ac_try='test -s conftest$ac_exeext'
8395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8399 (exit $ac_status); }; }; then
8400 ac_cv_lib_m_fabsf=yes
8402 echo "$as_me: failed program was:" >&5
8403 sed 's/^/| /' conftest.$ac_ext >&5
8405 ac_cv_lib_m_fabsf=no
8407 rm -f conftest.err conftest.$ac_objext \
8408 conftest$ac_exeext conftest.$ac_ext
8409 LIBS=$ac_check_lib_save_LIBS
8411 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
8412 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
8413 if test $ac_cv_lib_m_fabsf = yes; then
8415 cat >>confdefs.h <<\_ACEOF
8416 #define HAVE_FABSF 1
8421 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
8422 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
8423 if test "${ac_cv_lib_m_floorf+set}" = set; then
8424 echo $ECHO_N "(cached) $ECHO_C" >&6
8426 ac_check_lib_save_LIBS=$LIBS
8428 cat >conftest.$ac_ext <<_ACEOF
8431 cat confdefs.h >>conftest.$ac_ext
8432 cat >>conftest.$ac_ext <<_ACEOF
8433 /* end confdefs.h. */
8435 /* Override any gcc2 internal prototype to avoid an error. */
8439 /* We use char because int might match the return type of a gcc2
8440 builtin and then its argument prototype would still apply. */
8450 rm -f conftest.$ac_objext conftest$ac_exeext
8451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8452 (eval $ac_link) 2>conftest.er1
8454 grep -v '^ *+' conftest.er1 >conftest.err
8456 cat conftest.err >&5
8457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8458 (exit $ac_status); } &&
8459 { ac_try='test -z "$ac_c_werror_flag"
8460 || test ! -s conftest.err'
8461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8465 (exit $ac_status); }; } &&
8466 { ac_try='test -s conftest$ac_exeext'
8467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8471 (exit $ac_status); }; }; then
8472 ac_cv_lib_m_floorf=yes
8474 echo "$as_me: failed program was:" >&5
8475 sed 's/^/| /' conftest.$ac_ext >&5
8477 ac_cv_lib_m_floorf=no
8479 rm -f conftest.err conftest.$ac_objext \
8480 conftest$ac_exeext conftest.$ac_ext
8481 LIBS=$ac_check_lib_save_LIBS
8483 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
8484 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
8485 if test $ac_cv_lib_m_floorf = yes; then
8487 cat >>confdefs.h <<\_ACEOF
8488 #define HAVE_FLOORF 1
8493 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
8494 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
8495 if test "${ac_cv_lib_m_frexpf+set}" = set; then
8496 echo $ECHO_N "(cached) $ECHO_C" >&6
8498 ac_check_lib_save_LIBS=$LIBS
8500 cat >conftest.$ac_ext <<_ACEOF
8503 cat confdefs.h >>conftest.$ac_ext
8504 cat >>conftest.$ac_ext <<_ACEOF
8505 /* end confdefs.h. */
8507 /* Override any gcc2 internal prototype to avoid an error. */
8511 /* We use char because int might match the return type of a gcc2
8512 builtin and then its argument prototype would still apply. */
8522 rm -f conftest.$ac_objext conftest$ac_exeext
8523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8524 (eval $ac_link) 2>conftest.er1
8526 grep -v '^ *+' conftest.er1 >conftest.err
8528 cat conftest.err >&5
8529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8530 (exit $ac_status); } &&
8531 { ac_try='test -z "$ac_c_werror_flag"
8532 || test ! -s conftest.err'
8533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8537 (exit $ac_status); }; } &&
8538 { ac_try='test -s conftest$ac_exeext'
8539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8543 (exit $ac_status); }; }; then
8544 ac_cv_lib_m_frexpf=yes
8546 echo "$as_me: failed program was:" >&5
8547 sed 's/^/| /' conftest.$ac_ext >&5
8549 ac_cv_lib_m_frexpf=no
8551 rm -f conftest.err conftest.$ac_objext \
8552 conftest$ac_exeext conftest.$ac_ext
8553 LIBS=$ac_check_lib_save_LIBS
8555 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
8556 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
8557 if test $ac_cv_lib_m_frexpf = yes; then
8559 cat >>confdefs.h <<\_ACEOF
8560 #define HAVE_FREXPF 1
8565 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
8566 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
8567 if test "${ac_cv_lib_m_hypotf+set}" = set; then
8568 echo $ECHO_N "(cached) $ECHO_C" >&6
8570 ac_check_lib_save_LIBS=$LIBS
8572 cat >conftest.$ac_ext <<_ACEOF
8575 cat confdefs.h >>conftest.$ac_ext
8576 cat >>conftest.$ac_ext <<_ACEOF
8577 /* end confdefs.h. */
8579 /* Override any gcc2 internal prototype to avoid an error. */
8583 /* We use char because int might match the return type of a gcc2
8584 builtin and then its argument prototype would still apply. */
8594 rm -f conftest.$ac_objext conftest$ac_exeext
8595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8596 (eval $ac_link) 2>conftest.er1
8598 grep -v '^ *+' conftest.er1 >conftest.err
8600 cat conftest.err >&5
8601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8602 (exit $ac_status); } &&
8603 { ac_try='test -z "$ac_c_werror_flag"
8604 || test ! -s conftest.err'
8605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8609 (exit $ac_status); }; } &&
8610 { ac_try='test -s conftest$ac_exeext'
8611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615 (exit $ac_status); }; }; then
8616 ac_cv_lib_m_hypotf=yes
8618 echo "$as_me: failed program was:" >&5
8619 sed 's/^/| /' conftest.$ac_ext >&5
8621 ac_cv_lib_m_hypotf=no
8623 rm -f conftest.err conftest.$ac_objext \
8624 conftest$ac_exeext conftest.$ac_ext
8625 LIBS=$ac_check_lib_save_LIBS
8627 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
8628 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
8629 if test $ac_cv_lib_m_hypotf = yes; then
8631 cat >>confdefs.h <<\_ACEOF
8632 #define HAVE_HYPOTF 1
8637 echo "$as_me:$LINENO: checking for logf in -lm" >&5
8638 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
8639 if test "${ac_cv_lib_m_logf+set}" = set; then
8640 echo $ECHO_N "(cached) $ECHO_C" >&6
8642 ac_check_lib_save_LIBS=$LIBS
8644 cat >conftest.$ac_ext <<_ACEOF
8647 cat confdefs.h >>conftest.$ac_ext
8648 cat >>conftest.$ac_ext <<_ACEOF
8649 /* end confdefs.h. */
8651 /* Override any gcc2 internal prototype to avoid an error. */
8655 /* We use char because int might match the return type of a gcc2
8656 builtin and then its argument prototype would still apply. */
8666 rm -f conftest.$ac_objext conftest$ac_exeext
8667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8668 (eval $ac_link) 2>conftest.er1
8670 grep -v '^ *+' conftest.er1 >conftest.err
8672 cat conftest.err >&5
8673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8674 (exit $ac_status); } &&
8675 { ac_try='test -z "$ac_c_werror_flag"
8676 || test ! -s conftest.err'
8677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8681 (exit $ac_status); }; } &&
8682 { ac_try='test -s conftest$ac_exeext'
8683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8687 (exit $ac_status); }; }; then
8688 ac_cv_lib_m_logf=yes
8690 echo "$as_me: failed program was:" >&5
8691 sed 's/^/| /' conftest.$ac_ext >&5
8695 rm -f conftest.err conftest.$ac_objext \
8696 conftest$ac_exeext conftest.$ac_ext
8697 LIBS=$ac_check_lib_save_LIBS
8699 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
8700 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
8701 if test $ac_cv_lib_m_logf = yes; then
8703 cat >>confdefs.h <<\_ACEOF
8709 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
8710 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
8711 if test "${ac_cv_lib_m_log10f+set}" = set; then
8712 echo $ECHO_N "(cached) $ECHO_C" >&6
8714 ac_check_lib_save_LIBS=$LIBS
8716 cat >conftest.$ac_ext <<_ACEOF
8719 cat confdefs.h >>conftest.$ac_ext
8720 cat >>conftest.$ac_ext <<_ACEOF
8721 /* end confdefs.h. */
8723 /* Override any gcc2 internal prototype to avoid an error. */
8727 /* We use char because int might match the return type of a gcc2
8728 builtin and then its argument prototype would still apply. */
8738 rm -f conftest.$ac_objext conftest$ac_exeext
8739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8740 (eval $ac_link) 2>conftest.er1
8742 grep -v '^ *+' conftest.er1 >conftest.err
8744 cat conftest.err >&5
8745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8746 (exit $ac_status); } &&
8747 { ac_try='test -z "$ac_c_werror_flag"
8748 || test ! -s conftest.err'
8749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753 (exit $ac_status); }; } &&
8754 { ac_try='test -s conftest$ac_exeext'
8755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8759 (exit $ac_status); }; }; then
8760 ac_cv_lib_m_log10f=yes
8762 echo "$as_me: failed program was:" >&5
8763 sed 's/^/| /' conftest.$ac_ext >&5
8765 ac_cv_lib_m_log10f=no
8767 rm -f conftest.err conftest.$ac_objext \
8768 conftest$ac_exeext conftest.$ac_ext
8769 LIBS=$ac_check_lib_save_LIBS
8771 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
8772 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
8773 if test $ac_cv_lib_m_log10f = yes; then
8775 cat >>confdefs.h <<\_ACEOF
8776 #define HAVE_LOG10F 1
8781 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
8782 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
8783 if test "${ac_cv_lib_m_nextafter+set}" = set; then
8784 echo $ECHO_N "(cached) $ECHO_C" >&6
8786 ac_check_lib_save_LIBS=$LIBS
8788 cat >conftest.$ac_ext <<_ACEOF
8791 cat confdefs.h >>conftest.$ac_ext
8792 cat >>conftest.$ac_ext <<_ACEOF
8793 /* end confdefs.h. */
8795 /* Override any gcc2 internal prototype to avoid an error. */
8799 /* We use char because int might match the return type of a gcc2
8800 builtin and then its argument prototype would still apply. */
8810 rm -f conftest.$ac_objext conftest$ac_exeext
8811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8812 (eval $ac_link) 2>conftest.er1
8814 grep -v '^ *+' conftest.er1 >conftest.err
8816 cat conftest.err >&5
8817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8818 (exit $ac_status); } &&
8819 { ac_try='test -z "$ac_c_werror_flag"
8820 || test ! -s conftest.err'
8821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825 (exit $ac_status); }; } &&
8826 { ac_try='test -s conftest$ac_exeext'
8827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8831 (exit $ac_status); }; }; then
8832 ac_cv_lib_m_nextafter=yes
8834 echo "$as_me: failed program was:" >&5
8835 sed 's/^/| /' conftest.$ac_ext >&5
8837 ac_cv_lib_m_nextafter=no
8839 rm -f conftest.err conftest.$ac_objext \
8840 conftest$ac_exeext conftest.$ac_ext
8841 LIBS=$ac_check_lib_save_LIBS
8843 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
8844 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
8845 if test $ac_cv_lib_m_nextafter = yes; then
8847 cat >>confdefs.h <<\_ACEOF
8848 #define HAVE_NEXTAFTER 1
8853 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
8854 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
8855 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
8856 echo $ECHO_N "(cached) $ECHO_C" >&6
8858 ac_check_lib_save_LIBS=$LIBS
8860 cat >conftest.$ac_ext <<_ACEOF
8863 cat confdefs.h >>conftest.$ac_ext
8864 cat >>conftest.$ac_ext <<_ACEOF
8865 /* end confdefs.h. */
8867 /* Override any gcc2 internal prototype to avoid an error. */
8871 /* We use char because int might match the return type of a gcc2
8872 builtin and then its argument prototype would still apply. */
8882 rm -f conftest.$ac_objext conftest$ac_exeext
8883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8884 (eval $ac_link) 2>conftest.er1
8886 grep -v '^ *+' conftest.er1 >conftest.err
8888 cat conftest.err >&5
8889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8890 (exit $ac_status); } &&
8891 { ac_try='test -z "$ac_c_werror_flag"
8892 || test ! -s conftest.err'
8893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8897 (exit $ac_status); }; } &&
8898 { ac_try='test -s conftest$ac_exeext'
8899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903 (exit $ac_status); }; }; then
8904 ac_cv_lib_m_nextafterf=yes
8906 echo "$as_me: failed program was:" >&5
8907 sed 's/^/| /' conftest.$ac_ext >&5
8909 ac_cv_lib_m_nextafterf=no
8911 rm -f conftest.err conftest.$ac_objext \
8912 conftest$ac_exeext conftest.$ac_ext
8913 LIBS=$ac_check_lib_save_LIBS
8915 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
8916 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
8917 if test $ac_cv_lib_m_nextafterf = yes; then
8919 cat >>confdefs.h <<\_ACEOF
8920 #define HAVE_NEXTAFTERF 1
8925 echo "$as_me:$LINENO: checking for powf in -lm" >&5
8926 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
8927 if test "${ac_cv_lib_m_powf+set}" = set; then
8928 echo $ECHO_N "(cached) $ECHO_C" >&6
8930 ac_check_lib_save_LIBS=$LIBS
8932 cat >conftest.$ac_ext <<_ACEOF
8935 cat confdefs.h >>conftest.$ac_ext
8936 cat >>conftest.$ac_ext <<_ACEOF
8937 /* end confdefs.h. */
8939 /* Override any gcc2 internal prototype to avoid an error. */
8943 /* We use char because int might match the return type of a gcc2
8944 builtin and then its argument prototype would still apply. */
8954 rm -f conftest.$ac_objext conftest$ac_exeext
8955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8956 (eval $ac_link) 2>conftest.er1
8958 grep -v '^ *+' conftest.er1 >conftest.err
8960 cat conftest.err >&5
8961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8962 (exit $ac_status); } &&
8963 { ac_try='test -z "$ac_c_werror_flag"
8964 || test ! -s conftest.err'
8965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8969 (exit $ac_status); }; } &&
8970 { ac_try='test -s conftest$ac_exeext'
8971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8975 (exit $ac_status); }; }; then
8976 ac_cv_lib_m_powf=yes
8978 echo "$as_me: failed program was:" >&5
8979 sed 's/^/| /' conftest.$ac_ext >&5
8983 rm -f conftest.err conftest.$ac_objext \
8984 conftest$ac_exeext conftest.$ac_ext
8985 LIBS=$ac_check_lib_save_LIBS
8987 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
8988 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
8989 if test $ac_cv_lib_m_powf = yes; then
8991 cat >>confdefs.h <<\_ACEOF
8997 echo "$as_me:$LINENO: checking for round in -lm" >&5
8998 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
8999 if test "${ac_cv_lib_m_round+set}" = set; then
9000 echo $ECHO_N "(cached) $ECHO_C" >&6
9002 ac_check_lib_save_LIBS=$LIBS
9004 cat >conftest.$ac_ext <<_ACEOF
9007 cat confdefs.h >>conftest.$ac_ext
9008 cat >>conftest.$ac_ext <<_ACEOF
9009 /* end confdefs.h. */
9011 /* Override any gcc2 internal prototype to avoid an error. */
9015 /* We use char because int might match the return type of a gcc2
9016 builtin and then its argument prototype would still apply. */
9026 rm -f conftest.$ac_objext conftest$ac_exeext
9027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9028 (eval $ac_link) 2>conftest.er1
9030 grep -v '^ *+' conftest.er1 >conftest.err
9032 cat conftest.err >&5
9033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9034 (exit $ac_status); } &&
9035 { ac_try='test -z "$ac_c_werror_flag"
9036 || test ! -s conftest.err'
9037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9041 (exit $ac_status); }; } &&
9042 { ac_try='test -s conftest$ac_exeext'
9043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9047 (exit $ac_status); }; }; then
9048 ac_cv_lib_m_round=yes
9050 echo "$as_me: failed program was:" >&5
9051 sed 's/^/| /' conftest.$ac_ext >&5
9053 ac_cv_lib_m_round=no
9055 rm -f conftest.err conftest.$ac_objext \
9056 conftest$ac_exeext conftest.$ac_ext
9057 LIBS=$ac_check_lib_save_LIBS
9059 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
9060 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
9061 if test $ac_cv_lib_m_round = yes; then
9063 cat >>confdefs.h <<\_ACEOF
9064 #define HAVE_ROUND 1
9069 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
9070 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
9071 if test "${ac_cv_lib_m_roundf+set}" = set; then
9072 echo $ECHO_N "(cached) $ECHO_C" >&6
9074 ac_check_lib_save_LIBS=$LIBS
9076 cat >conftest.$ac_ext <<_ACEOF
9079 cat confdefs.h >>conftest.$ac_ext
9080 cat >>conftest.$ac_ext <<_ACEOF
9081 /* end confdefs.h. */
9083 /* Override any gcc2 internal prototype to avoid an error. */
9087 /* We use char because int might match the return type of a gcc2
9088 builtin and then its argument prototype would still apply. */
9098 rm -f conftest.$ac_objext conftest$ac_exeext
9099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9100 (eval $ac_link) 2>conftest.er1
9102 grep -v '^ *+' conftest.er1 >conftest.err
9104 cat conftest.err >&5
9105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9106 (exit $ac_status); } &&
9107 { ac_try='test -z "$ac_c_werror_flag"
9108 || test ! -s conftest.err'
9109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9113 (exit $ac_status); }; } &&
9114 { ac_try='test -s conftest$ac_exeext'
9115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9119 (exit $ac_status); }; }; then
9120 ac_cv_lib_m_roundf=yes
9122 echo "$as_me: failed program was:" >&5
9123 sed 's/^/| /' conftest.$ac_ext >&5
9125 ac_cv_lib_m_roundf=no
9127 rm -f conftest.err conftest.$ac_objext \
9128 conftest$ac_exeext conftest.$ac_ext
9129 LIBS=$ac_check_lib_save_LIBS
9131 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
9132 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
9133 if test $ac_cv_lib_m_roundf = yes; then
9135 cat >>confdefs.h <<\_ACEOF
9136 #define HAVE_ROUNDF 1
9141 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
9142 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
9143 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
9144 echo $ECHO_N "(cached) $ECHO_C" >&6
9146 ac_check_lib_save_LIBS=$LIBS
9148 cat >conftest.$ac_ext <<_ACEOF
9151 cat confdefs.h >>conftest.$ac_ext
9152 cat >>conftest.$ac_ext <<_ACEOF
9153 /* end confdefs.h. */
9155 /* Override any gcc2 internal prototype to avoid an error. */
9159 /* We use char because int might match the return type of a gcc2
9160 builtin and then its argument prototype would still apply. */
9170 rm -f conftest.$ac_objext conftest$ac_exeext
9171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9172 (eval $ac_link) 2>conftest.er1
9174 grep -v '^ *+' conftest.er1 >conftest.err
9176 cat conftest.err >&5
9177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9178 (exit $ac_status); } &&
9179 { ac_try='test -z "$ac_c_werror_flag"
9180 || test ! -s conftest.err'
9181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9185 (exit $ac_status); }; } &&
9186 { ac_try='test -s conftest$ac_exeext'
9187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9191 (exit $ac_status); }; }; then
9192 ac_cv_lib_m_scalbnf=yes
9194 echo "$as_me: failed program was:" >&5
9195 sed 's/^/| /' conftest.$ac_ext >&5
9197 ac_cv_lib_m_scalbnf=no
9199 rm -f conftest.err conftest.$ac_objext \
9200 conftest$ac_exeext conftest.$ac_ext
9201 LIBS=$ac_check_lib_save_LIBS
9203 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
9204 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
9205 if test $ac_cv_lib_m_scalbnf = yes; then
9207 cat >>confdefs.h <<\_ACEOF
9208 #define HAVE_SCALBNF 1
9213 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
9214 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
9215 if test "${ac_cv_lib_m_sinf+set}" = set; then
9216 echo $ECHO_N "(cached) $ECHO_C" >&6
9218 ac_check_lib_save_LIBS=$LIBS
9220 cat >conftest.$ac_ext <<_ACEOF
9223 cat confdefs.h >>conftest.$ac_ext
9224 cat >>conftest.$ac_ext <<_ACEOF
9225 /* end confdefs.h. */
9227 /* Override any gcc2 internal prototype to avoid an error. */
9231 /* We use char because int might match the return type of a gcc2
9232 builtin and then its argument prototype would still apply. */
9242 rm -f conftest.$ac_objext conftest$ac_exeext
9243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9244 (eval $ac_link) 2>conftest.er1
9246 grep -v '^ *+' conftest.er1 >conftest.err
9248 cat conftest.err >&5
9249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9250 (exit $ac_status); } &&
9251 { ac_try='test -z "$ac_c_werror_flag"
9252 || test ! -s conftest.err'
9253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9257 (exit $ac_status); }; } &&
9258 { ac_try='test -s conftest$ac_exeext'
9259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9263 (exit $ac_status); }; }; then
9264 ac_cv_lib_m_sinf=yes
9266 echo "$as_me: failed program was:" >&5
9267 sed 's/^/| /' conftest.$ac_ext >&5
9271 rm -f conftest.err conftest.$ac_objext \
9272 conftest$ac_exeext conftest.$ac_ext
9273 LIBS=$ac_check_lib_save_LIBS
9275 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
9276 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
9277 if test $ac_cv_lib_m_sinf = yes; then
9279 cat >>confdefs.h <<\_ACEOF
9285 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
9286 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
9287 if test "${ac_cv_lib_m_sinhf+set}" = set; then
9288 echo $ECHO_N "(cached) $ECHO_C" >&6
9290 ac_check_lib_save_LIBS=$LIBS
9292 cat >conftest.$ac_ext <<_ACEOF
9295 cat confdefs.h >>conftest.$ac_ext
9296 cat >>conftest.$ac_ext <<_ACEOF
9297 /* end confdefs.h. */
9299 /* Override any gcc2 internal prototype to avoid an error. */
9303 /* We use char because int might match the return type of a gcc2
9304 builtin and then its argument prototype would still apply. */
9314 rm -f conftest.$ac_objext conftest$ac_exeext
9315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9316 (eval $ac_link) 2>conftest.er1
9318 grep -v '^ *+' conftest.er1 >conftest.err
9320 cat conftest.err >&5
9321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322 (exit $ac_status); } &&
9323 { ac_try='test -z "$ac_c_werror_flag"
9324 || test ! -s conftest.err'
9325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9329 (exit $ac_status); }; } &&
9330 { ac_try='test -s conftest$ac_exeext'
9331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9335 (exit $ac_status); }; }; then
9336 ac_cv_lib_m_sinhf=yes
9338 echo "$as_me: failed program was:" >&5
9339 sed 's/^/| /' conftest.$ac_ext >&5
9341 ac_cv_lib_m_sinhf=no
9343 rm -f conftest.err conftest.$ac_objext \
9344 conftest$ac_exeext conftest.$ac_ext
9345 LIBS=$ac_check_lib_save_LIBS
9347 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
9348 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
9349 if test $ac_cv_lib_m_sinhf = yes; then
9351 cat >>confdefs.h <<\_ACEOF
9352 #define HAVE_SINHF 1
9357 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
9358 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
9359 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
9360 echo $ECHO_N "(cached) $ECHO_C" >&6
9362 ac_check_lib_save_LIBS=$LIBS
9364 cat >conftest.$ac_ext <<_ACEOF
9367 cat confdefs.h >>conftest.$ac_ext
9368 cat >>conftest.$ac_ext <<_ACEOF
9369 /* end confdefs.h. */
9371 /* Override any gcc2 internal prototype to avoid an error. */
9375 /* We use char because int might match the return type of a gcc2
9376 builtin and then its argument prototype would still apply. */
9386 rm -f conftest.$ac_objext conftest$ac_exeext
9387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9388 (eval $ac_link) 2>conftest.er1
9390 grep -v '^ *+' conftest.er1 >conftest.err
9392 cat conftest.err >&5
9393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9394 (exit $ac_status); } &&
9395 { ac_try='test -z "$ac_c_werror_flag"
9396 || test ! -s conftest.err'
9397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9401 (exit $ac_status); }; } &&
9402 { ac_try='test -s conftest$ac_exeext'
9403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9407 (exit $ac_status); }; }; then
9408 ac_cv_lib_m_sqrtf=yes
9410 echo "$as_me: failed program was:" >&5
9411 sed 's/^/| /' conftest.$ac_ext >&5
9413 ac_cv_lib_m_sqrtf=no
9415 rm -f conftest.err conftest.$ac_objext \
9416 conftest$ac_exeext conftest.$ac_ext
9417 LIBS=$ac_check_lib_save_LIBS
9419 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
9420 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
9421 if test $ac_cv_lib_m_sqrtf = yes; then
9423 cat >>confdefs.h <<\_ACEOF
9424 #define HAVE_SQRTF 1
9429 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
9430 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
9431 if test "${ac_cv_lib_m_tanf+set}" = set; then
9432 echo $ECHO_N "(cached) $ECHO_C" >&6
9434 ac_check_lib_save_LIBS=$LIBS
9436 cat >conftest.$ac_ext <<_ACEOF
9439 cat confdefs.h >>conftest.$ac_ext
9440 cat >>conftest.$ac_ext <<_ACEOF
9441 /* end confdefs.h. */
9443 /* Override any gcc2 internal prototype to avoid an error. */
9447 /* We use char because int might match the return type of a gcc2
9448 builtin and then its argument prototype would still apply. */
9458 rm -f conftest.$ac_objext conftest$ac_exeext
9459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9460 (eval $ac_link) 2>conftest.er1
9462 grep -v '^ *+' conftest.er1 >conftest.err
9464 cat conftest.err >&5
9465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9466 (exit $ac_status); } &&
9467 { ac_try='test -z "$ac_c_werror_flag"
9468 || test ! -s conftest.err'
9469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9473 (exit $ac_status); }; } &&
9474 { ac_try='test -s conftest$ac_exeext'
9475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9479 (exit $ac_status); }; }; then
9480 ac_cv_lib_m_tanf=yes
9482 echo "$as_me: failed program was:" >&5
9483 sed 's/^/| /' conftest.$ac_ext >&5
9487 rm -f conftest.err conftest.$ac_objext \
9488 conftest$ac_exeext conftest.$ac_ext
9489 LIBS=$ac_check_lib_save_LIBS
9491 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
9492 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
9493 if test $ac_cv_lib_m_tanf = yes; then
9495 cat >>confdefs.h <<\_ACEOF
9501 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
9502 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
9503 if test "${ac_cv_lib_m_tanhf+set}" = set; then
9504 echo $ECHO_N "(cached) $ECHO_C" >&6
9506 ac_check_lib_save_LIBS=$LIBS
9508 cat >conftest.$ac_ext <<_ACEOF
9511 cat confdefs.h >>conftest.$ac_ext
9512 cat >>conftest.$ac_ext <<_ACEOF
9513 /* end confdefs.h. */
9515 /* Override any gcc2 internal prototype to avoid an error. */
9519 /* We use char because int might match the return type of a gcc2
9520 builtin and then its argument prototype would still apply. */
9530 rm -f conftest.$ac_objext conftest$ac_exeext
9531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9532 (eval $ac_link) 2>conftest.er1
9534 grep -v '^ *+' conftest.er1 >conftest.err
9536 cat conftest.err >&5
9537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9538 (exit $ac_status); } &&
9539 { ac_try='test -z "$ac_c_werror_flag"
9540 || test ! -s conftest.err'
9541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9545 (exit $ac_status); }; } &&
9546 { ac_try='test -s conftest$ac_exeext'
9547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9551 (exit $ac_status); }; }; then
9552 ac_cv_lib_m_tanhf=yes
9554 echo "$as_me: failed program was:" >&5
9555 sed 's/^/| /' conftest.$ac_ext >&5
9557 ac_cv_lib_m_tanhf=no
9559 rm -f conftest.err conftest.$ac_objext \
9560 conftest$ac_exeext conftest.$ac_ext
9561 LIBS=$ac_check_lib_save_LIBS
9563 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
9564 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
9565 if test $ac_cv_lib_m_tanhf = yes; then
9567 cat >>confdefs.h <<\_ACEOF
9568 #define HAVE_TANHF 1
9573 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
9574 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
9575 if test "${ac_cv_lib_m_trunc+set}" = set; then
9576 echo $ECHO_N "(cached) $ECHO_C" >&6
9578 ac_check_lib_save_LIBS=$LIBS
9580 cat >conftest.$ac_ext <<_ACEOF
9583 cat confdefs.h >>conftest.$ac_ext
9584 cat >>conftest.$ac_ext <<_ACEOF
9585 /* end confdefs.h. */
9587 /* Override any gcc2 internal prototype to avoid an error. */
9591 /* We use char because int might match the return type of a gcc2
9592 builtin and then its argument prototype would still apply. */
9602 rm -f conftest.$ac_objext conftest$ac_exeext
9603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9604 (eval $ac_link) 2>conftest.er1
9606 grep -v '^ *+' conftest.er1 >conftest.err
9608 cat conftest.err >&5
9609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9610 (exit $ac_status); } &&
9611 { ac_try='test -z "$ac_c_werror_flag"
9612 || test ! -s conftest.err'
9613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9617 (exit $ac_status); }; } &&
9618 { ac_try='test -s conftest$ac_exeext'
9619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623 (exit $ac_status); }; }; then
9624 ac_cv_lib_m_trunc=yes
9626 echo "$as_me: failed program was:" >&5
9627 sed 's/^/| /' conftest.$ac_ext >&5
9629 ac_cv_lib_m_trunc=no
9631 rm -f conftest.err conftest.$ac_objext \
9632 conftest$ac_exeext conftest.$ac_ext
9633 LIBS=$ac_check_lib_save_LIBS
9635 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
9636 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
9637 if test $ac_cv_lib_m_trunc = yes; then
9639 cat >>confdefs.h <<\_ACEOF
9640 #define HAVE_TRUNC 1
9645 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
9646 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
9647 if test "${ac_cv_lib_m_truncf+set}" = set; then
9648 echo $ECHO_N "(cached) $ECHO_C" >&6
9650 ac_check_lib_save_LIBS=$LIBS
9652 cat >conftest.$ac_ext <<_ACEOF
9655 cat confdefs.h >>conftest.$ac_ext
9656 cat >>conftest.$ac_ext <<_ACEOF
9657 /* end confdefs.h. */
9659 /* Override any gcc2 internal prototype to avoid an error. */
9663 /* We use char because int might match the return type of a gcc2
9664 builtin and then its argument prototype would still apply. */
9674 rm -f conftest.$ac_objext conftest$ac_exeext
9675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9676 (eval $ac_link) 2>conftest.er1
9678 grep -v '^ *+' conftest.er1 >conftest.err
9680 cat conftest.err >&5
9681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9682 (exit $ac_status); } &&
9683 { ac_try='test -z "$ac_c_werror_flag"
9684 || test ! -s conftest.err'
9685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9689 (exit $ac_status); }; } &&
9690 { ac_try='test -s conftest$ac_exeext'
9691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9695 (exit $ac_status); }; }; then
9696 ac_cv_lib_m_truncf=yes
9698 echo "$as_me: failed program was:" >&5
9699 sed 's/^/| /' conftest.$ac_ext >&5
9701 ac_cv_lib_m_truncf=no
9703 rm -f conftest.err conftest.$ac_objext \
9704 conftest$ac_exeext conftest.$ac_ext
9705 LIBS=$ac_check_lib_save_LIBS
9707 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
9708 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
9709 if test $ac_cv_lib_m_truncf = yes; then
9711 cat >>confdefs.h <<\_ACEOF
9712 #define HAVE_TRUNCF 1
9717 echo "$as_me:$LINENO: checking for erf in -lm" >&5
9718 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
9719 if test "${ac_cv_lib_m_erf+set}" = set; then
9720 echo $ECHO_N "(cached) $ECHO_C" >&6
9722 ac_check_lib_save_LIBS=$LIBS
9724 cat >conftest.$ac_ext <<_ACEOF
9727 cat confdefs.h >>conftest.$ac_ext
9728 cat >>conftest.$ac_ext <<_ACEOF
9729 /* end confdefs.h. */
9731 /* Override any gcc2 internal prototype to avoid an error. */
9735 /* We use char because int might match the return type of a gcc2
9736 builtin and then its argument prototype would still apply. */
9746 rm -f conftest.$ac_objext conftest$ac_exeext
9747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9748 (eval $ac_link) 2>conftest.er1
9750 grep -v '^ *+' conftest.er1 >conftest.err
9752 cat conftest.err >&5
9753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9754 (exit $ac_status); } &&
9755 { ac_try='test -z "$ac_c_werror_flag"
9756 || test ! -s conftest.err'
9757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9761 (exit $ac_status); }; } &&
9762 { ac_try='test -s conftest$ac_exeext'
9763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9767 (exit $ac_status); }; }; then
9770 echo "$as_me: failed program was:" >&5
9771 sed 's/^/| /' conftest.$ac_ext >&5
9775 rm -f conftest.err conftest.$ac_objext \
9776 conftest$ac_exeext conftest.$ac_ext
9777 LIBS=$ac_check_lib_save_LIBS
9779 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
9780 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
9781 if test $ac_cv_lib_m_erf = yes; then
9783 cat >>confdefs.h <<\_ACEOF
9789 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
9790 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
9791 if test "${ac_cv_lib_m_erfc+set}" = set; then
9792 echo $ECHO_N "(cached) $ECHO_C" >&6
9794 ac_check_lib_save_LIBS=$LIBS
9796 cat >conftest.$ac_ext <<_ACEOF
9799 cat confdefs.h >>conftest.$ac_ext
9800 cat >>conftest.$ac_ext <<_ACEOF
9801 /* end confdefs.h. */
9803 /* Override any gcc2 internal prototype to avoid an error. */
9807 /* We use char because int might match the return type of a gcc2
9808 builtin and then its argument prototype would still apply. */
9818 rm -f conftest.$ac_objext conftest$ac_exeext
9819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9820 (eval $ac_link) 2>conftest.er1
9822 grep -v '^ *+' conftest.er1 >conftest.err
9824 cat conftest.err >&5
9825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9826 (exit $ac_status); } &&
9827 { ac_try='test -z "$ac_c_werror_flag"
9828 || test ! -s conftest.err'
9829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9833 (exit $ac_status); }; } &&
9834 { ac_try='test -s conftest$ac_exeext'
9835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9839 (exit $ac_status); }; }; then
9840 ac_cv_lib_m_erfc=yes
9842 echo "$as_me: failed program was:" >&5
9843 sed 's/^/| /' conftest.$ac_ext >&5
9847 rm -f conftest.err conftest.$ac_objext \
9848 conftest$ac_exeext conftest.$ac_ext
9849 LIBS=$ac_check_lib_save_LIBS
9851 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
9852 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
9853 if test $ac_cv_lib_m_erfc = yes; then
9855 cat >>confdefs.h <<\_ACEOF
9861 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
9862 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
9863 if test "${ac_cv_lib_m_erfcf+set}" = set; then
9864 echo $ECHO_N "(cached) $ECHO_C" >&6
9866 ac_check_lib_save_LIBS=$LIBS
9868 cat >conftest.$ac_ext <<_ACEOF
9871 cat confdefs.h >>conftest.$ac_ext
9872 cat >>conftest.$ac_ext <<_ACEOF
9873 /* end confdefs.h. */
9875 /* Override any gcc2 internal prototype to avoid an error. */
9879 /* We use char because int might match the return type of a gcc2
9880 builtin and then its argument prototype would still apply. */
9890 rm -f conftest.$ac_objext conftest$ac_exeext
9891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9892 (eval $ac_link) 2>conftest.er1
9894 grep -v '^ *+' conftest.er1 >conftest.err
9896 cat conftest.err >&5
9897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9898 (exit $ac_status); } &&
9899 { ac_try='test -z "$ac_c_werror_flag"
9900 || test ! -s conftest.err'
9901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9905 (exit $ac_status); }; } &&
9906 { ac_try='test -s conftest$ac_exeext'
9907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9911 (exit $ac_status); }; }; then
9912 ac_cv_lib_m_erfcf=yes
9914 echo "$as_me: failed program was:" >&5
9915 sed 's/^/| /' conftest.$ac_ext >&5
9917 ac_cv_lib_m_erfcf=no
9919 rm -f conftest.err conftest.$ac_objext \
9920 conftest$ac_exeext conftest.$ac_ext
9921 LIBS=$ac_check_lib_save_LIBS
9923 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
9924 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
9925 if test $ac_cv_lib_m_erfcf = yes; then
9927 cat >>confdefs.h <<\_ACEOF
9928 #define HAVE_ERFCF 1
9933 echo "$as_me:$LINENO: checking for erff in -lm" >&5
9934 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
9935 if test "${ac_cv_lib_m_erff+set}" = set; then
9936 echo $ECHO_N "(cached) $ECHO_C" >&6
9938 ac_check_lib_save_LIBS=$LIBS
9940 cat >conftest.$ac_ext <<_ACEOF
9943 cat confdefs.h >>conftest.$ac_ext
9944 cat >>conftest.$ac_ext <<_ACEOF
9945 /* end confdefs.h. */
9947 /* Override any gcc2 internal prototype to avoid an error. */
9951 /* We use char because int might match the return type of a gcc2
9952 builtin and then its argument prototype would still apply. */
9962 rm -f conftest.$ac_objext conftest$ac_exeext
9963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9964 (eval $ac_link) 2>conftest.er1
9966 grep -v '^ *+' conftest.er1 >conftest.err
9968 cat conftest.err >&5
9969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9970 (exit $ac_status); } &&
9971 { ac_try='test -z "$ac_c_werror_flag"
9972 || test ! -s conftest.err'
9973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9977 (exit $ac_status); }; } &&
9978 { ac_try='test -s conftest$ac_exeext'
9979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9983 (exit $ac_status); }; }; then
9984 ac_cv_lib_m_erff=yes
9986 echo "$as_me: failed program was:" >&5
9987 sed 's/^/| /' conftest.$ac_ext >&5
9991 rm -f conftest.err conftest.$ac_objext \
9992 conftest$ac_exeext conftest.$ac_ext
9993 LIBS=$ac_check_lib_save_LIBS
9995 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
9996 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
9997 if test $ac_cv_lib_m_erff = yes; then
9999 cat >>confdefs.h <<\_ACEOF
10000 #define HAVE_ERFF 1
10005 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
10006 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
10007 if test "${ac_cv_lib_m_j0+set}" = set; then
10008 echo $ECHO_N "(cached) $ECHO_C" >&6
10010 ac_check_lib_save_LIBS=$LIBS
10012 cat >conftest.$ac_ext <<_ACEOF
10015 cat confdefs.h >>conftest.$ac_ext
10016 cat >>conftest.$ac_ext <<_ACEOF
10017 /* end confdefs.h. */
10019 /* Override any gcc2 internal prototype to avoid an error. */
10023 /* We use char because int might match the return type of a gcc2
10024 builtin and then its argument prototype would still apply. */
10034 rm -f conftest.$ac_objext conftest$ac_exeext
10035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10036 (eval $ac_link) 2>conftest.er1
10038 grep -v '^ *+' conftest.er1 >conftest.err
10040 cat conftest.err >&5
10041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10042 (exit $ac_status); } &&
10043 { ac_try='test -z "$ac_c_werror_flag"
10044 || test ! -s conftest.err'
10045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10046 (eval $ac_try) 2>&5
10048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10049 (exit $ac_status); }; } &&
10050 { ac_try='test -s conftest$ac_exeext'
10051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10052 (eval $ac_try) 2>&5
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 (exit $ac_status); }; }; then
10058 echo "$as_me: failed program was:" >&5
10059 sed 's/^/| /' conftest.$ac_ext >&5
10063 rm -f conftest.err conftest.$ac_objext \
10064 conftest$ac_exeext conftest.$ac_ext
10065 LIBS=$ac_check_lib_save_LIBS
10067 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
10068 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
10069 if test $ac_cv_lib_m_j0 = yes; then
10071 cat >>confdefs.h <<\_ACEOF
10077 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
10078 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
10079 if test "${ac_cv_lib_m_j0f+set}" = set; then
10080 echo $ECHO_N "(cached) $ECHO_C" >&6
10082 ac_check_lib_save_LIBS=$LIBS
10084 cat >conftest.$ac_ext <<_ACEOF
10087 cat confdefs.h >>conftest.$ac_ext
10088 cat >>conftest.$ac_ext <<_ACEOF
10089 /* end confdefs.h. */
10091 /* Override any gcc2 internal prototype to avoid an error. */
10095 /* We use char because int might match the return type of a gcc2
10096 builtin and then its argument prototype would still apply. */
10106 rm -f conftest.$ac_objext conftest$ac_exeext
10107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10108 (eval $ac_link) 2>conftest.er1
10110 grep -v '^ *+' conftest.er1 >conftest.err
10112 cat conftest.err >&5
10113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10114 (exit $ac_status); } &&
10115 { ac_try='test -z "$ac_c_werror_flag"
10116 || test ! -s conftest.err'
10117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10118 (eval $ac_try) 2>&5
10120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10121 (exit $ac_status); }; } &&
10122 { ac_try='test -s conftest$ac_exeext'
10123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10124 (eval $ac_try) 2>&5
10126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10127 (exit $ac_status); }; }; then
10128 ac_cv_lib_m_j0f=yes
10130 echo "$as_me: failed program was:" >&5
10131 sed 's/^/| /' conftest.$ac_ext >&5
10135 rm -f conftest.err conftest.$ac_objext \
10136 conftest$ac_exeext conftest.$ac_ext
10137 LIBS=$ac_check_lib_save_LIBS
10139 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
10140 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
10141 if test $ac_cv_lib_m_j0f = yes; then
10143 cat >>confdefs.h <<\_ACEOF
10149 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
10150 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
10151 if test "${ac_cv_lib_m_j1+set}" = set; then
10152 echo $ECHO_N "(cached) $ECHO_C" >&6
10154 ac_check_lib_save_LIBS=$LIBS
10156 cat >conftest.$ac_ext <<_ACEOF
10159 cat confdefs.h >>conftest.$ac_ext
10160 cat >>conftest.$ac_ext <<_ACEOF
10161 /* end confdefs.h. */
10163 /* Override any gcc2 internal prototype to avoid an error. */
10167 /* We use char because int might match the return type of a gcc2
10168 builtin and then its argument prototype would still apply. */
10178 rm -f conftest.$ac_objext conftest$ac_exeext
10179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10180 (eval $ac_link) 2>conftest.er1
10182 grep -v '^ *+' conftest.er1 >conftest.err
10184 cat conftest.err >&5
10185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10186 (exit $ac_status); } &&
10187 { ac_try='test -z "$ac_c_werror_flag"
10188 || test ! -s conftest.err'
10189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10190 (eval $ac_try) 2>&5
10192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10193 (exit $ac_status); }; } &&
10194 { ac_try='test -s conftest$ac_exeext'
10195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10196 (eval $ac_try) 2>&5
10198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10199 (exit $ac_status); }; }; then
10202 echo "$as_me: failed program was:" >&5
10203 sed 's/^/| /' conftest.$ac_ext >&5
10207 rm -f conftest.err conftest.$ac_objext \
10208 conftest$ac_exeext conftest.$ac_ext
10209 LIBS=$ac_check_lib_save_LIBS
10211 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
10212 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
10213 if test $ac_cv_lib_m_j1 = yes; then
10215 cat >>confdefs.h <<\_ACEOF
10221 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
10222 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
10223 if test "${ac_cv_lib_m_j1f+set}" = set; then
10224 echo $ECHO_N "(cached) $ECHO_C" >&6
10226 ac_check_lib_save_LIBS=$LIBS
10228 cat >conftest.$ac_ext <<_ACEOF
10231 cat confdefs.h >>conftest.$ac_ext
10232 cat >>conftest.$ac_ext <<_ACEOF
10233 /* end confdefs.h. */
10235 /* Override any gcc2 internal prototype to avoid an error. */
10239 /* We use char because int might match the return type of a gcc2
10240 builtin and then its argument prototype would still apply. */
10250 rm -f conftest.$ac_objext conftest$ac_exeext
10251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10252 (eval $ac_link) 2>conftest.er1
10254 grep -v '^ *+' conftest.er1 >conftest.err
10256 cat conftest.err >&5
10257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10258 (exit $ac_status); } &&
10259 { ac_try='test -z "$ac_c_werror_flag"
10260 || test ! -s conftest.err'
10261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10262 (eval $ac_try) 2>&5
10264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10265 (exit $ac_status); }; } &&
10266 { ac_try='test -s conftest$ac_exeext'
10267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10268 (eval $ac_try) 2>&5
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); }; }; then
10272 ac_cv_lib_m_j1f=yes
10274 echo "$as_me: failed program was:" >&5
10275 sed 's/^/| /' conftest.$ac_ext >&5
10279 rm -f conftest.err conftest.$ac_objext \
10280 conftest$ac_exeext conftest.$ac_ext
10281 LIBS=$ac_check_lib_save_LIBS
10283 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
10284 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
10285 if test $ac_cv_lib_m_j1f = yes; then
10287 cat >>confdefs.h <<\_ACEOF
10293 echo "$as_me:$LINENO: checking for jn in -lm" >&5
10294 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
10295 if test "${ac_cv_lib_m_jn+set}" = set; then
10296 echo $ECHO_N "(cached) $ECHO_C" >&6
10298 ac_check_lib_save_LIBS=$LIBS
10300 cat >conftest.$ac_ext <<_ACEOF
10303 cat confdefs.h >>conftest.$ac_ext
10304 cat >>conftest.$ac_ext <<_ACEOF
10305 /* end confdefs.h. */
10307 /* Override any gcc2 internal prototype to avoid an error. */
10311 /* We use char because int might match the return type of a gcc2
10312 builtin and then its argument prototype would still apply. */
10322 rm -f conftest.$ac_objext conftest$ac_exeext
10323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10324 (eval $ac_link) 2>conftest.er1
10326 grep -v '^ *+' conftest.er1 >conftest.err
10328 cat conftest.err >&5
10329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10330 (exit $ac_status); } &&
10331 { ac_try='test -z "$ac_c_werror_flag"
10332 || test ! -s conftest.err'
10333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10334 (eval $ac_try) 2>&5
10336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10337 (exit $ac_status); }; } &&
10338 { ac_try='test -s conftest$ac_exeext'
10339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10340 (eval $ac_try) 2>&5
10342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10343 (exit $ac_status); }; }; then
10346 echo "$as_me: failed program was:" >&5
10347 sed 's/^/| /' conftest.$ac_ext >&5
10351 rm -f conftest.err conftest.$ac_objext \
10352 conftest$ac_exeext conftest.$ac_ext
10353 LIBS=$ac_check_lib_save_LIBS
10355 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
10356 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
10357 if test $ac_cv_lib_m_jn = yes; then
10359 cat >>confdefs.h <<\_ACEOF
10365 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
10366 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
10367 if test "${ac_cv_lib_m_jnf+set}" = set; then
10368 echo $ECHO_N "(cached) $ECHO_C" >&6
10370 ac_check_lib_save_LIBS=$LIBS
10372 cat >conftest.$ac_ext <<_ACEOF
10375 cat confdefs.h >>conftest.$ac_ext
10376 cat >>conftest.$ac_ext <<_ACEOF
10377 /* end confdefs.h. */
10379 /* Override any gcc2 internal prototype to avoid an error. */
10383 /* We use char because int might match the return type of a gcc2
10384 builtin and then its argument prototype would still apply. */
10394 rm -f conftest.$ac_objext conftest$ac_exeext
10395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10396 (eval $ac_link) 2>conftest.er1
10398 grep -v '^ *+' conftest.er1 >conftest.err
10400 cat conftest.err >&5
10401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10402 (exit $ac_status); } &&
10403 { ac_try='test -z "$ac_c_werror_flag"
10404 || test ! -s conftest.err'
10405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10406 (eval $ac_try) 2>&5
10408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10409 (exit $ac_status); }; } &&
10410 { ac_try='test -s conftest$ac_exeext'
10411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10412 (eval $ac_try) 2>&5
10414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10415 (exit $ac_status); }; }; then
10416 ac_cv_lib_m_jnf=yes
10418 echo "$as_me: failed program was:" >&5
10419 sed 's/^/| /' conftest.$ac_ext >&5
10423 rm -f conftest.err conftest.$ac_objext \
10424 conftest$ac_exeext conftest.$ac_ext
10425 LIBS=$ac_check_lib_save_LIBS
10427 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
10428 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
10429 if test $ac_cv_lib_m_jnf = yes; then
10431 cat >>confdefs.h <<\_ACEOF
10437 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
10438 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
10439 if test "${ac_cv_lib_m_y0+set}" = set; then
10440 echo $ECHO_N "(cached) $ECHO_C" >&6
10442 ac_check_lib_save_LIBS=$LIBS
10444 cat >conftest.$ac_ext <<_ACEOF
10447 cat confdefs.h >>conftest.$ac_ext
10448 cat >>conftest.$ac_ext <<_ACEOF
10449 /* end confdefs.h. */
10451 /* Override any gcc2 internal prototype to avoid an error. */
10455 /* We use char because int might match the return type of a gcc2
10456 builtin and then its argument prototype would still apply. */
10466 rm -f conftest.$ac_objext conftest$ac_exeext
10467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10468 (eval $ac_link) 2>conftest.er1
10470 grep -v '^ *+' conftest.er1 >conftest.err
10472 cat conftest.err >&5
10473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10474 (exit $ac_status); } &&
10475 { ac_try='test -z "$ac_c_werror_flag"
10476 || test ! -s conftest.err'
10477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10478 (eval $ac_try) 2>&5
10480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10481 (exit $ac_status); }; } &&
10482 { ac_try='test -s conftest$ac_exeext'
10483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10484 (eval $ac_try) 2>&5
10486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10487 (exit $ac_status); }; }; then
10490 echo "$as_me: failed program was:" >&5
10491 sed 's/^/| /' conftest.$ac_ext >&5
10495 rm -f conftest.err conftest.$ac_objext \
10496 conftest$ac_exeext conftest.$ac_ext
10497 LIBS=$ac_check_lib_save_LIBS
10499 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
10500 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
10501 if test $ac_cv_lib_m_y0 = yes; then
10503 cat >>confdefs.h <<\_ACEOF
10509 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
10510 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
10511 if test "${ac_cv_lib_m_y0f+set}" = set; then
10512 echo $ECHO_N "(cached) $ECHO_C" >&6
10514 ac_check_lib_save_LIBS=$LIBS
10516 cat >conftest.$ac_ext <<_ACEOF
10519 cat confdefs.h >>conftest.$ac_ext
10520 cat >>conftest.$ac_ext <<_ACEOF
10521 /* end confdefs.h. */
10523 /* Override any gcc2 internal prototype to avoid an error. */
10527 /* We use char because int might match the return type of a gcc2
10528 builtin and then its argument prototype would still apply. */
10538 rm -f conftest.$ac_objext conftest$ac_exeext
10539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10540 (eval $ac_link) 2>conftest.er1
10542 grep -v '^ *+' conftest.er1 >conftest.err
10544 cat conftest.err >&5
10545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10546 (exit $ac_status); } &&
10547 { ac_try='test -z "$ac_c_werror_flag"
10548 || test ! -s conftest.err'
10549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10550 (eval $ac_try) 2>&5
10552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10553 (exit $ac_status); }; } &&
10554 { ac_try='test -s conftest$ac_exeext'
10555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10556 (eval $ac_try) 2>&5
10558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10559 (exit $ac_status); }; }; then
10560 ac_cv_lib_m_y0f=yes
10562 echo "$as_me: failed program was:" >&5
10563 sed 's/^/| /' conftest.$ac_ext >&5
10567 rm -f conftest.err conftest.$ac_objext \
10568 conftest$ac_exeext conftest.$ac_ext
10569 LIBS=$ac_check_lib_save_LIBS
10571 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
10572 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
10573 if test $ac_cv_lib_m_y0f = yes; then
10575 cat >>confdefs.h <<\_ACEOF
10581 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
10582 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
10583 if test "${ac_cv_lib_m_y1+set}" = set; then
10584 echo $ECHO_N "(cached) $ECHO_C" >&6
10586 ac_check_lib_save_LIBS=$LIBS
10588 cat >conftest.$ac_ext <<_ACEOF
10591 cat confdefs.h >>conftest.$ac_ext
10592 cat >>conftest.$ac_ext <<_ACEOF
10593 /* end confdefs.h. */
10595 /* Override any gcc2 internal prototype to avoid an error. */
10599 /* We use char because int might match the return type of a gcc2
10600 builtin and then its argument prototype would still apply. */
10610 rm -f conftest.$ac_objext conftest$ac_exeext
10611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10612 (eval $ac_link) 2>conftest.er1
10614 grep -v '^ *+' conftest.er1 >conftest.err
10616 cat conftest.err >&5
10617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10618 (exit $ac_status); } &&
10619 { ac_try='test -z "$ac_c_werror_flag"
10620 || test ! -s conftest.err'
10621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10622 (eval $ac_try) 2>&5
10624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10625 (exit $ac_status); }; } &&
10626 { ac_try='test -s conftest$ac_exeext'
10627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10628 (eval $ac_try) 2>&5
10630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10631 (exit $ac_status); }; }; then
10634 echo "$as_me: failed program was:" >&5
10635 sed 's/^/| /' conftest.$ac_ext >&5
10639 rm -f conftest.err conftest.$ac_objext \
10640 conftest$ac_exeext conftest.$ac_ext
10641 LIBS=$ac_check_lib_save_LIBS
10643 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
10644 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
10645 if test $ac_cv_lib_m_y1 = yes; then
10647 cat >>confdefs.h <<\_ACEOF
10653 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
10654 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
10655 if test "${ac_cv_lib_m_y1f+set}" = set; then
10656 echo $ECHO_N "(cached) $ECHO_C" >&6
10658 ac_check_lib_save_LIBS=$LIBS
10660 cat >conftest.$ac_ext <<_ACEOF
10663 cat confdefs.h >>conftest.$ac_ext
10664 cat >>conftest.$ac_ext <<_ACEOF
10665 /* end confdefs.h. */
10667 /* Override any gcc2 internal prototype to avoid an error. */
10671 /* We use char because int might match the return type of a gcc2
10672 builtin and then its argument prototype would still apply. */
10682 rm -f conftest.$ac_objext conftest$ac_exeext
10683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10684 (eval $ac_link) 2>conftest.er1
10686 grep -v '^ *+' conftest.er1 >conftest.err
10688 cat conftest.err >&5
10689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10690 (exit $ac_status); } &&
10691 { ac_try='test -z "$ac_c_werror_flag"
10692 || test ! -s conftest.err'
10693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10694 (eval $ac_try) 2>&5
10696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10697 (exit $ac_status); }; } &&
10698 { ac_try='test -s conftest$ac_exeext'
10699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10700 (eval $ac_try) 2>&5
10702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10703 (exit $ac_status); }; }; then
10704 ac_cv_lib_m_y1f=yes
10706 echo "$as_me: failed program was:" >&5
10707 sed 's/^/| /' conftest.$ac_ext >&5
10711 rm -f conftest.err conftest.$ac_objext \
10712 conftest$ac_exeext conftest.$ac_ext
10713 LIBS=$ac_check_lib_save_LIBS
10715 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
10716 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
10717 if test $ac_cv_lib_m_y1f = yes; then
10719 cat >>confdefs.h <<\_ACEOF
10725 echo "$as_me:$LINENO: checking for yn in -lm" >&5
10726 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
10727 if test "${ac_cv_lib_m_yn+set}" = set; then
10728 echo $ECHO_N "(cached) $ECHO_C" >&6
10730 ac_check_lib_save_LIBS=$LIBS
10732 cat >conftest.$ac_ext <<_ACEOF
10735 cat confdefs.h >>conftest.$ac_ext
10736 cat >>conftest.$ac_ext <<_ACEOF
10737 /* end confdefs.h. */
10739 /* Override any gcc2 internal prototype to avoid an error. */
10743 /* We use char because int might match the return type of a gcc2
10744 builtin and then its argument prototype would still apply. */
10754 rm -f conftest.$ac_objext conftest$ac_exeext
10755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10756 (eval $ac_link) 2>conftest.er1
10758 grep -v '^ *+' conftest.er1 >conftest.err
10760 cat conftest.err >&5
10761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10762 (exit $ac_status); } &&
10763 { ac_try='test -z "$ac_c_werror_flag"
10764 || test ! -s conftest.err'
10765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10766 (eval $ac_try) 2>&5
10768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10769 (exit $ac_status); }; } &&
10770 { ac_try='test -s conftest$ac_exeext'
10771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10772 (eval $ac_try) 2>&5
10774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10775 (exit $ac_status); }; }; then
10778 echo "$as_me: failed program was:" >&5
10779 sed 's/^/| /' conftest.$ac_ext >&5
10783 rm -f conftest.err conftest.$ac_objext \
10784 conftest$ac_exeext conftest.$ac_ext
10785 LIBS=$ac_check_lib_save_LIBS
10787 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
10788 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
10789 if test $ac_cv_lib_m_yn = yes; then
10791 cat >>confdefs.h <<\_ACEOF
10797 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
10798 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
10799 if test "${ac_cv_lib_m_ynf+set}" = set; then
10800 echo $ECHO_N "(cached) $ECHO_C" >&6
10802 ac_check_lib_save_LIBS=$LIBS
10804 cat >conftest.$ac_ext <<_ACEOF
10807 cat confdefs.h >>conftest.$ac_ext
10808 cat >>conftest.$ac_ext <<_ACEOF
10809 /* end confdefs.h. */
10811 /* Override any gcc2 internal prototype to avoid an error. */
10815 /* We use char because int might match the return type of a gcc2
10816 builtin and then its argument prototype would still apply. */
10826 rm -f conftest.$ac_objext conftest$ac_exeext
10827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10828 (eval $ac_link) 2>conftest.er1
10830 grep -v '^ *+' conftest.er1 >conftest.err
10832 cat conftest.err >&5
10833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10834 (exit $ac_status); } &&
10835 { ac_try='test -z "$ac_c_werror_flag"
10836 || test ! -s conftest.err'
10837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10838 (eval $ac_try) 2>&5
10840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10841 (exit $ac_status); }; } &&
10842 { ac_try='test -s conftest$ac_exeext'
10843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10844 (eval $ac_try) 2>&5
10846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10847 (exit $ac_status); }; }; then
10848 ac_cv_lib_m_ynf=yes
10850 echo "$as_me: failed program was:" >&5
10851 sed 's/^/| /' conftest.$ac_ext >&5
10855 rm -f conftest.err conftest.$ac_objext \
10856 conftest$ac_exeext conftest.$ac_ext
10857 LIBS=$ac_check_lib_save_LIBS
10859 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
10860 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
10861 if test $ac_cv_lib_m_ynf = yes; then
10863 cat >>confdefs.h <<\_ACEOF
10870 # Fallback in case isfinite is not available.
10871 echo "$as_me:$LINENO: checking for finite in -lm" >&5
10872 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
10873 if test "${ac_cv_lib_m_finite+set}" = set; then
10874 echo $ECHO_N "(cached) $ECHO_C" >&6
10876 ac_check_lib_save_LIBS=$LIBS
10878 cat >conftest.$ac_ext <<_ACEOF
10881 cat confdefs.h >>conftest.$ac_ext
10882 cat >>conftest.$ac_ext <<_ACEOF
10883 /* end confdefs.h. */
10885 /* Override any gcc2 internal prototype to avoid an error. */
10889 /* We use char because int might match the return type of a gcc2
10890 builtin and then its argument prototype would still apply. */
10900 rm -f conftest.$ac_objext conftest$ac_exeext
10901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10902 (eval $ac_link) 2>conftest.er1
10904 grep -v '^ *+' conftest.er1 >conftest.err
10906 cat conftest.err >&5
10907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10908 (exit $ac_status); } &&
10909 { ac_try='test -z "$ac_c_werror_flag"
10910 || test ! -s conftest.err'
10911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10912 (eval $ac_try) 2>&5
10914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10915 (exit $ac_status); }; } &&
10916 { ac_try='test -s conftest$ac_exeext'
10917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10918 (eval $ac_try) 2>&5
10920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10921 (exit $ac_status); }; }; then
10922 ac_cv_lib_m_finite=yes
10924 echo "$as_me: failed program was:" >&5
10925 sed 's/^/| /' conftest.$ac_ext >&5
10927 ac_cv_lib_m_finite=no
10929 rm -f conftest.err conftest.$ac_objext \
10930 conftest$ac_exeext conftest.$ac_ext
10931 LIBS=$ac_check_lib_save_LIBS
10933 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
10934 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
10935 if test $ac_cv_lib_m_finite = yes; then
10937 cat >>confdefs.h <<\_ACEOF
10938 #define HAVE_FINITE 1
10944 # Let the user override this
10945 # Check whether --enable-cmath or --disable-cmath was given.
10946 if test "${enable_cmath+set}" = set; then
10947 enableval="$enable_cmath"
10948 need_math=$enableval
10950 if test "$need_math" = "yes"; then
10951 { echo "$as_me:$LINENO: Including complex math functions in libgfor" >&5
10952 echo "$as_me: Including complex math functions in libgfor" >&6;};
10953 extra_math_obj='$(gfor_cmath_obj)'
10956 MATH_OBJ="$extra_math_obj"
10959 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
10960 # for struct timezone, as you might think. We also need to check how
10961 # to call gettimeofday if we have it.
10962 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10963 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
10964 if test "${ac_cv_header_time+set}" = set; then
10965 echo $ECHO_N "(cached) $ECHO_C" >&6
10967 cat >conftest.$ac_ext <<_ACEOF
10970 cat confdefs.h >>conftest.$ac_ext
10971 cat >>conftest.$ac_ext <<_ACEOF
10972 /* end confdefs.h. */
10973 #include <sys/types.h>
10974 #include <sys/time.h>
10980 if ((struct tm *) 0)
10986 rm -f conftest.$ac_objext
10987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10988 (eval $ac_compile) 2>conftest.er1
10990 grep -v '^ *+' conftest.er1 >conftest.err
10992 cat conftest.err >&5
10993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10994 (exit $ac_status); } &&
10995 { ac_try='test -z "$ac_c_werror_flag"
10996 || test ! -s conftest.err'
10997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10998 (eval $ac_try) 2>&5
11000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11001 (exit $ac_status); }; } &&
11002 { ac_try='test -s conftest.$ac_objext'
11003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11004 (eval $ac_try) 2>&5
11006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11007 (exit $ac_status); }; }; then
11008 ac_cv_header_time=yes
11010 echo "$as_me: failed program was:" >&5
11011 sed 's/^/| /' conftest.$ac_ext >&5
11013 ac_cv_header_time=no
11015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11017 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
11018 echo "${ECHO_T}$ac_cv_header_time" >&6
11019 if test $ac_cv_header_time = yes; then
11021 cat >>confdefs.h <<\_ACEOF
11022 #define TIME_WITH_SYS_TIME 1
11029 for ac_func in gettimeofday
11031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11032 echo "$as_me:$LINENO: checking for $ac_func" >&5
11033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11034 if eval "test \"\${$as_ac_var+set}\" = set"; then
11035 echo $ECHO_N "(cached) $ECHO_C" >&6
11037 cat >conftest.$ac_ext <<_ACEOF
11040 cat confdefs.h >>conftest.$ac_ext
11041 cat >>conftest.$ac_ext <<_ACEOF
11042 /* end confdefs.h. */
11043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11045 #define $ac_func innocuous_$ac_func
11047 /* System header to define __stub macros and hopefully few prototypes,
11048 which can conflict with char $ac_func (); below.
11049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11050 <limits.h> exists even on freestanding compilers. */
11053 # include <limits.h>
11055 # include <assert.h>
11060 /* Override any gcc2 internal prototype to avoid an error. */
11065 /* We use char because int might match the return type of a gcc2
11066 builtin and then its argument prototype would still apply. */
11068 /* The GNU C library defines this for functions which it implements
11069 to always fail with ENOSYS. Some functions are actually named
11070 something starting with __ and the normal name is an alias. */
11071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11074 char (*f) () = $ac_func;
11083 return f != $ac_func;
11088 rm -f conftest.$ac_objext conftest$ac_exeext
11089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11090 (eval $ac_link) 2>conftest.er1
11092 grep -v '^ *+' conftest.er1 >conftest.err
11094 cat conftest.err >&5
11095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11096 (exit $ac_status); } &&
11097 { ac_try='test -z "$ac_c_werror_flag"
11098 || test ! -s conftest.err'
11099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11100 (eval $ac_try) 2>&5
11102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11103 (exit $ac_status); }; } &&
11104 { ac_try='test -s conftest$ac_exeext'
11105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11106 (eval $ac_try) 2>&5
11108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11109 (exit $ac_status); }; }; then
11110 eval "$as_ac_var=yes"
11112 echo "$as_me: failed program was:" >&5
11113 sed 's/^/| /' conftest.$ac_ext >&5
11115 eval "$as_ac_var=no"
11117 rm -f conftest.err conftest.$ac_objext \
11118 conftest$ac_exeext conftest.$ac_ext
11120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11122 if test `eval echo '${'$as_ac_var'}'` = yes; then
11123 cat >>confdefs.h <<_ACEOF
11124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11130 if test "$ac_cv_func_gettimeofday" = yes; then
11131 echo "$as_me:$LINENO: checking for struct timezone" >&5
11132 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
11133 if test "${gfor_cv_struct_timezone+set}" = set; then
11134 echo $ECHO_N "(cached) $ECHO_C" >&6
11136 cat >conftest.$ac_ext <<_ACEOF
11139 cat confdefs.h >>conftest.$ac_ext
11140 cat >>conftest.$ac_ext <<_ACEOF
11141 /* end confdefs.h. */
11142 #include <sys/time.h>
11146 struct timezone tz;
11151 rm -f conftest.$ac_objext
11152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11153 (eval $ac_compile) 2>conftest.er1
11155 grep -v '^ *+' conftest.er1 >conftest.err
11157 cat conftest.err >&5
11158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11159 (exit $ac_status); } &&
11160 { ac_try='test -z "$ac_c_werror_flag"
11161 || test ! -s conftest.err'
11162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11163 (eval $ac_try) 2>&5
11165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11166 (exit $ac_status); }; } &&
11167 { ac_try='test -s conftest.$ac_objext'
11168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11169 (eval $ac_try) 2>&5
11171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11172 (exit $ac_status); }; }; then
11173 gfor_cv_struct_timezone=yes
11175 echo "$as_me: failed program was:" >&5
11176 sed 's/^/| /' conftest.$ac_ext >&5
11178 gfor_cv_struct_timezone=no
11180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11182 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
11183 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
11184 if test $gfor_cv_struct_timezone = yes; then
11185 if test "$cross_compiling" = yes; then
11186 gfor_have_struct_timezone=yes
11188 cat >conftest.$ac_ext <<_ACEOF
11191 cat confdefs.h >>conftest.$ac_ext
11192 cat >>conftest.$ac_ext <<_ACEOF
11193 /* end confdefs.h. */
11195 #ifdef TIME_WITH_SYS_TIME
11196 #include <sys/time.h>
11199 #ifdef HAVE_SYS_TIME_H
11200 #include <sys/time.h>
11207 struct timeval time;
11208 struct timezone dummy;
11209 if (gettimeofday (&time, &dummy))
11215 rm -f conftest$ac_exeext
11216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11217 (eval $ac_link) 2>&5
11219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11220 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11222 (eval $ac_try) 2>&5
11224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); }; }; then
11226 gfor_have_struct_timezone=yes
11228 echo "$as_me: program exited with status $ac_status" >&5
11229 echo "$as_me: failed program was:" >&5
11230 sed 's/^/| /' conftest.$ac_ext >&5
11232 ( exit $ac_status )
11233 gfor_have_struct_timezone=no
11235 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11237 if test $gfor_have_struct_timezone = yes; then
11239 cat >>confdefs.h <<\_ACEOF
11240 #define HAVE_TIMEZONE 1
11246 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
11247 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
11248 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11249 echo $ECHO_N "(cached) $ECHO_C" >&6
11251 cat >conftest.$ac_ext <<_ACEOF
11254 cat confdefs.h >>conftest.$ac_ext
11255 cat >>conftest.$ac_ext <<_ACEOF
11256 /* end confdefs.h. */
11258 #ifdef TIME_WITH_SYS_TIME
11259 #include <sys/time.h>
11262 #ifdef HAVE_SYS_TIME_H
11263 #include <sys/time.h>
11273 struct timeval time;
11274 #ifdef HAVE_TIMEZONE
11275 struct timezone dummy;
11276 #define DUMMY &dummy
11280 gettimeofday (&time, DUMMY);
11285 rm -f conftest.$ac_objext conftest$ac_exeext
11286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11287 (eval $ac_link) 2>conftest.er1
11289 grep -v '^ *+' conftest.er1 >conftest.err
11291 cat conftest.err >&5
11292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11293 (exit $ac_status); } &&
11294 { ac_try='test -z "$ac_c_werror_flag"
11295 || test ! -s conftest.err'
11296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11297 (eval $ac_try) 2>&5
11299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11300 (exit $ac_status); }; } &&
11301 { ac_try='test -s conftest$ac_exeext'
11302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11303 (eval $ac_try) 2>&5
11305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11306 (exit $ac_status); }; }; then
11307 emacs_cv_gettimeofday_two_arguments=yes
11309 echo "$as_me: failed program was:" >&5
11310 sed 's/^/| /' conftest.$ac_ext >&5
11312 emacs_cv_gettimeofday_two_arguments=no
11314 rm -f conftest.err conftest.$ac_objext \
11315 conftest$ac_exeext conftest.$ac_ext
11317 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
11318 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11319 if test $emacs_cv_gettimeofday_two_arguments = no; then
11321 cat >>confdefs.h <<\_ACEOF
11322 #define GETTIMEOFDAY_ONE_ARGUMENT 1
11328 # Attempt to assert that the target is of common type in case we don't
11329 # have C99 integer types at all.
11331 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
11332 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
11333 if test "${target_ilp32+set}" = set; then
11334 echo $ECHO_N "(cached) $ECHO_C" >&6
11337 save_CFLAGS="$CFLAGS"
11339 cat >conftest.$ac_ext <<_ACEOF
11342 cat confdefs.h >>conftest.$ac_ext
11343 cat >>conftest.$ac_ext <<_ACEOF
11344 /* end confdefs.h. */
11350 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
11353 undefined_function ();
11359 rm -f conftest.$ac_objext conftest$ac_exeext
11360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11361 (eval $ac_link) 2>conftest.er1
11363 grep -v '^ *+' conftest.er1 >conftest.err
11365 cat conftest.err >&5
11366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11367 (exit $ac_status); } &&
11368 { ac_try='test -z "$ac_c_werror_flag"
11369 || test ! -s conftest.err'
11370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11371 (eval $ac_try) 2>&5
11373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11374 (exit $ac_status); }; } &&
11375 { ac_try='test -s conftest$ac_exeext'
11376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11377 (eval $ac_try) 2>&5
11379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380 (exit $ac_status); }; }; then
11383 echo "$as_me: failed program was:" >&5
11384 sed 's/^/| /' conftest.$ac_ext >&5
11388 rm -f conftest.err conftest.$ac_objext \
11389 conftest$ac_exeext conftest.$ac_ext
11390 CFLAGS="$save_CFLAGS"
11392 echo "$as_me:$LINENO: result: $target_ilp32" >&5
11393 echo "${ECHO_T}$target_ilp32" >&6
11394 if test $target_ilp32 = yes; then
11396 cat >>confdefs.h <<\_ACEOF
11397 #define TARGET_ILP32 1
11403 # Check out attribute support.
11405 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
11406 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
11407 if test "${have_attribute_visibility+set}" = set; then
11408 echo $ECHO_N "(cached) $ECHO_C" >&6
11411 save_CFLAGS="$CFLAGS"
11412 CFLAGS="$CFLAGS -Werror"
11413 cat >conftest.$ac_ext <<_ACEOF
11416 cat confdefs.h >>conftest.$ac_ext
11417 cat >>conftest.$ac_ext <<_ACEOF
11418 /* end confdefs.h. */
11419 void __attribute__((visibility("hidden"))) foo(void) { }
11428 rm -f conftest.$ac_objext
11429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11430 (eval $ac_compile) 2>conftest.er1
11432 grep -v '^ *+' conftest.er1 >conftest.err
11434 cat conftest.err >&5
11435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11436 (exit $ac_status); } &&
11437 { ac_try='test -z "$ac_c_werror_flag"
11438 || test ! -s conftest.err'
11439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11440 (eval $ac_try) 2>&5
11442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11443 (exit $ac_status); }; } &&
11444 { ac_try='test -s conftest.$ac_objext'
11445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11446 (eval $ac_try) 2>&5
11448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11449 (exit $ac_status); }; }; then
11450 have_attribute_visibility=yes
11452 echo "$as_me: failed program was:" >&5
11453 sed 's/^/| /' conftest.$ac_ext >&5
11455 have_attribute_visibility=no
11457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11458 CFLAGS="$save_CFLAGS"
11460 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
11461 echo "${ECHO_T}$have_attribute_visibility" >&6
11462 if test $have_attribute_visibility = yes; then
11464 cat >>confdefs.h <<\_ACEOF
11465 #define HAVE_ATTRIBUTE_VISIBILITY 1
11470 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
11471 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
11472 if test "${have_attribute_dllexport+set}" = set; then
11473 echo $ECHO_N "(cached) $ECHO_C" >&6
11476 save_CFLAGS="$CFLAGS"
11477 CFLAGS="$CFLAGS -Werror"
11478 cat >conftest.$ac_ext <<_ACEOF
11481 cat confdefs.h >>conftest.$ac_ext
11482 cat >>conftest.$ac_ext <<_ACEOF
11483 /* end confdefs.h. */
11484 void __attribute__((dllexport)) foo(void) { }
11493 rm -f conftest.$ac_objext
11494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11495 (eval $ac_compile) 2>conftest.er1
11497 grep -v '^ *+' conftest.er1 >conftest.err
11499 cat conftest.err >&5
11500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11501 (exit $ac_status); } &&
11502 { ac_try='test -z "$ac_c_werror_flag"
11503 || test ! -s conftest.err'
11504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11505 (eval $ac_try) 2>&5
11507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11508 (exit $ac_status); }; } &&
11509 { ac_try='test -s conftest.$ac_objext'
11510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11511 (eval $ac_try) 2>&5
11513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11514 (exit $ac_status); }; }; then
11515 have_attribute_dllexport=yes
11517 echo "$as_me: failed program was:" >&5
11518 sed 's/^/| /' conftest.$ac_ext >&5
11520 have_attribute_dllexport=no
11522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11523 CFLAGS="$save_CFLAGS"
11525 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
11526 echo "${ECHO_T}$have_attribute_dllexport" >&6
11527 if test $have_attribute_dllexport = yes; then
11529 cat >>confdefs.h <<\_ACEOF
11530 #define HAVE_ATTRIBUTE_DLLEXPORT 1
11535 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
11536 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
11537 if test "${have_attribute_alias+set}" = set; then
11538 echo $ECHO_N "(cached) $ECHO_C" >&6
11541 cat >conftest.$ac_ext <<_ACEOF
11544 cat confdefs.h >>conftest.$ac_ext
11545 cat >>conftest.$ac_ext <<_ACEOF
11546 /* end confdefs.h. */
11548 #define ULP STR1(__USER_LABEL_PREFIX__)
11549 #define STR1(x) STR2(x)
11552 extern void bar(void) __attribute__((alias(ULP "foo")));
11561 rm -f conftest.$ac_objext conftest$ac_exeext
11562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11563 (eval $ac_link) 2>conftest.er1
11565 grep -v '^ *+' conftest.er1 >conftest.err
11567 cat conftest.err >&5
11568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11569 (exit $ac_status); } &&
11570 { ac_try='test -z "$ac_c_werror_flag"
11571 || test ! -s conftest.err'
11572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11573 (eval $ac_try) 2>&5
11575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11576 (exit $ac_status); }; } &&
11577 { ac_try='test -s conftest$ac_exeext'
11578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11579 (eval $ac_try) 2>&5
11581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11582 (exit $ac_status); }; }; then
11583 have_attribute_alias=yes
11585 echo "$as_me: failed program was:" >&5
11586 sed 's/^/| /' conftest.$ac_ext >&5
11588 have_attribute_alias=no
11590 rm -f conftest.err conftest.$ac_objext \
11591 conftest$ac_exeext conftest.$ac_ext
11593 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
11594 echo "${ECHO_T}$have_attribute_alias" >&6
11595 if test $have_attribute_alias = yes; then
11597 cat >>confdefs.h <<\_ACEOF
11598 #define HAVE_ATTRIBUTE_ALIAS 1
11603 cat >confcache <<\_ACEOF
11604 # This file is a shell script that caches the results of configure
11605 # tests run on this system so they can be shared between configure
11606 # scripts and configure runs, see configure's option --config-cache.
11607 # It is not useful on other systems. If it contains results you don't
11608 # want to keep, you may remove or edit it.
11610 # config.status only pays attention to the cache file if you give it
11611 # the --recheck option to rerun configure.
11613 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11614 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11615 # following values.
11619 # The following way of writing the cache mishandles newlines in values,
11620 # but we know of no workaround that is simple, portable, and efficient.
11621 # So, don't put newlines in cache variables' values.
11622 # Ultrix sh set writes to stderr and can't be redirected directly,
11623 # and sets the high bit in the cache file unless we assign to the vars.
11626 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11628 # `set' does not quote correctly, so add quotes (double-quote
11629 # substitution turns \\\\ into \\, and sed turns \\ into \).
11632 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11635 # `set' quotes correctly as required by POSIX, so do not add quotes.
11637 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11644 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11646 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11648 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11649 if test -w $cache_file; then
11650 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11651 cat confcache >$cache_file
11653 echo "not updating unwritable cache $cache_file"
11658 if test ${multilib} = yes; then
11659 multilib_arg="--enable-multilib"
11664 # Write our Makefile.
11665 ac_config_files="$ac_config_files Makefile"
11667 cat >confcache <<\_ACEOF
11668 # This file is a shell script that caches the results of configure
11669 # tests run on this system so they can be shared between configure
11670 # scripts and configure runs, see configure's option --config-cache.
11671 # It is not useful on other systems. If it contains results you don't
11672 # want to keep, you may remove or edit it.
11674 # config.status only pays attention to the cache file if you give it
11675 # the --recheck option to rerun configure.
11677 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11678 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11679 # following values.
11683 # The following way of writing the cache mishandles newlines in values,
11684 # but we know of no workaround that is simple, portable, and efficient.
11685 # So, don't put newlines in cache variables' values.
11686 # Ultrix sh set writes to stderr and can't be redirected directly,
11687 # and sets the high bit in the cache file unless we assign to the vars.
11690 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11692 # `set' does not quote correctly, so add quotes (double-quote
11693 # substitution turns \\\\ into \\, and sed turns \\ into \).
11696 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11699 # `set' quotes correctly as required by POSIX, so do not add quotes.
11701 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11708 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11710 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11712 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11713 if test -w $cache_file; then
11714 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11715 cat confcache >$cache_file
11717 echo "not updating unwritable cache $cache_file"
11722 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11723 # Let make expand exec_prefix.
11724 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11726 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11727 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11728 # trailing colons and then remove the whole line if VPATH becomes empty
11729 # (actually we leave an empty line to preserve line numbers).
11730 if test "x$srcdir" = x.; then
11731 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11732 s/:*\$(srcdir):*/:/;
11733 s/:*\${srcdir}:*/:/;
11735 s/^\([^=]*=[ ]*\):*/\1/;
11741 DEFS=-DHAVE_CONFIG_H
11745 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11746 # 1. Remove the extension, and $U if already installed.
11747 ac_i=`echo "$ac_i" |
11748 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11750 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
11751 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
11753 LIBOBJS=$ac_libobjs
11755 LTLIBOBJS=$ac_ltlibobjs
11758 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11759 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11760 Usually this means the macro was only invoked conditionally." >&5
11761 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11762 Usually this means the macro was only invoked conditionally." >&2;}
11763 { (exit 1); exit 1; }; }
11766 : ${CONFIG_STATUS=./config.status}
11767 ac_clean_files_save=$ac_clean_files
11768 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11769 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11770 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11771 cat >$CONFIG_STATUS <<_ACEOF
11773 # Generated by $as_me.
11774 # Run this file to recreate the current configuration.
11775 # Compiler output produced by configure, useful for debugging
11776 # configure, is in config.log if it exists.
11779 ac_cs_recheck=false
11781 SHELL=\${CONFIG_SHELL-$SHELL}
11784 cat >>$CONFIG_STATUS <<\_ACEOF
11785 ## --------------------- ##
11786 ## M4sh Initialization. ##
11787 ## --------------------- ##
11789 # Be Bourne compatible
11790 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11793 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11794 # is contrary to our usage. Disable this feature.
11795 alias -g '${1+"$@"}'='"$@"'
11796 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
11799 DUALCASE=1; export DUALCASE # for MKS sh
11801 # Support unset when possible.
11802 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11809 # Work around bugs in pre-3.0 UWIN ksh.
11810 $as_unset ENV MAIL MAILPATH
11817 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11818 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11819 LC_TELEPHONE LC_TIME
11821 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11822 eval $as_var=C; export $as_var
11828 # Required to use basename.
11829 if expr a : '\(a\)' >/dev/null 2>&1; then
11835 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
11836 as_basename=basename
11842 # Name of the executable.
11843 as_me=`$as_basename "$0" ||
11844 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11845 X"$0" : 'X\(//\)$' \| \
11846 X"$0" : 'X\(/\)$' \| \
11847 . : '\(.\)' 2>/dev/null ||
11849 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11850 /^X\/\(\/\/\)$/{ s//\1/; q; }
11851 /^X\/\(\/\).*/{ s//\1/; q; }
11855 # PATH needs CR, and LINENO needs CR and PATH.
11856 # Avoid depending upon Character Ranges.
11857 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11858 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11859 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11860 as_cr_digits='0123456789'
11861 as_cr_alnum=$as_cr_Letters$as_cr_digits
11863 # The user is always right.
11864 if test "${PATH_SEPARATOR+set}" != set; then
11865 echo "#! /bin/sh" >conf$$.sh
11866 echo "exit 0" >>conf$$.sh
11868 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11877 as_lineno_1=$LINENO
11878 as_lineno_2=$LINENO
11879 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11880 test "x$as_lineno_1" != "x$as_lineno_2" &&
11881 test "x$as_lineno_3" = "x$as_lineno_2" || {
11882 # Find who we are. Look in the path if we contain no path at all
11885 *[\\/]* ) as_myself=$0 ;;
11886 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11887 for as_dir in $PATH
11890 test -z "$as_dir" && as_dir=.
11891 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11896 # We did not find ourselves, most probably we were run as `sh COMMAND'
11897 # in which case we are not to be found in the path.
11898 if test "x$as_myself" = x; then
11901 if test ! -f "$as_myself"; then
11902 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11903 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11904 { (exit 1); exit 1; }; }
11906 case $CONFIG_SHELL in
11908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11909 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
11912 test -z "$as_dir" && as_dir=.
11913 for as_base in sh bash ksh sh5; do
11916 if ("$as_dir/$as_base" -c '
11917 as_lineno_1=$LINENO
11918 as_lineno_2=$LINENO
11919 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11920 test "x$as_lineno_1" != "x$as_lineno_2" &&
11921 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
11922 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
11923 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
11924 CONFIG_SHELL=$as_dir/$as_base
11925 export CONFIG_SHELL
11926 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11934 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11935 # uniformly replaced by the line number. The first 'sed' inserts a
11936 # line-number line before each line; the second 'sed' does the real
11937 # work. The second script uses 'N' to pair each line-number line
11938 # with the numbered line, and appends trailing '-' during
11939 # substitution so that $LINENO is not a special case at line end.
11940 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11941 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11942 sed '=' <$as_myself |
11947 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11950 s,^['$as_cr_digits']*\n,,
11951 ' >$as_me.lineno &&
11952 chmod +x $as_me.lineno ||
11953 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11954 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11955 { (exit 1); exit 1; }; }
11957 # Don't try to exec as it changes $[0], causing all sort of problems
11958 # (the dirname of $[0] is not the place where we might find the
11959 # original and so on. Autoconf is especially sensible to this).
11961 # Exit status is that of the last command.
11966 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11967 *c*,-n*) ECHO_N= ECHO_C='
11969 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
11970 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
11973 if expr a : '\(a\)' >/dev/null 2>&1; then
11979 rm -f conf$$ conf$$.exe conf$$.file
11981 if ln -s conf$$.file conf$$ 2>/dev/null; then
11982 # We could just check for DJGPP; but this test a) works b) is more generic
11983 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11984 if test -f conf$$.exe; then
11985 # Don't use ln at all; we don't have any links
11990 elif ln conf$$.file conf$$ 2>/dev/null; then
11995 rm -f conf$$ conf$$.exe conf$$.file
11997 if mkdir -p . 2>/dev/null; then
12000 test -d ./-p && rmdir ./-p
12004 as_executable_p="test -f"
12006 # Sed expression to map a string onto a valid CPP name.
12007 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12009 # Sed expression to map a string onto a valid variable name.
12010 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12014 # We need space, tab and new line, in precisely that order.
12024 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12025 # report actual input values of CONFIG_FILES etc. instead of their
12026 # values after options handling. Logging --version etc. is OK.
12030 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12031 ## Running $as_me. ##
12036 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
12037 generated by GNU Autoconf 2.59. Invocation command line was
12039 CONFIG_FILES = $CONFIG_FILES
12040 CONFIG_HEADERS = $CONFIG_HEADERS
12041 CONFIG_LINKS = $CONFIG_LINKS
12042 CONFIG_COMMANDS = $CONFIG_COMMANDS
12046 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12050 # Files that config.status was made for.
12051 if test -n "$ac_config_files"; then
12052 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12055 if test -n "$ac_config_headers"; then
12056 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12059 if test -n "$ac_config_links"; then
12060 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12063 if test -n "$ac_config_commands"; then
12064 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12067 cat >>$CONFIG_STATUS <<\_ACEOF
12070 \`$as_me' instantiates files from templates according to the
12071 current configuration.
12073 Usage: $0 [OPTIONS] [FILE]...
12075 -h, --help print this help, then exit
12076 -V, --version print version number, then exit
12077 -q, --quiet do not print progress messages
12078 -d, --debug don't remove temporary files
12079 --recheck update $as_me by reconfiguring in the same conditions
12080 --file=FILE[:TEMPLATE]
12081 instantiate the configuration file FILE
12082 --header=FILE[:TEMPLATE]
12083 instantiate the configuration header FILE
12085 Configuration files:
12088 Configuration headers:
12091 Configuration commands:
12094 Report bugs to <bug-autoconf@gnu.org>."
12097 cat >>$CONFIG_STATUS <<_ACEOF
12099 GNU Fortran Runtime Library config.status 0.2
12100 configured by $0, generated by GNU Autoconf 2.59,
12101 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12103 Copyright (C) 2003 Free Software Foundation, Inc.
12104 This config.status script is free software; the Free Software Foundation
12105 gives unlimited permission to copy, distribute and modify it."
12110 cat >>$CONFIG_STATUS <<\_ACEOF
12111 # If no file are specified by the user, then we need to provide default
12112 # value. By we need to know if files were specified by the user.
12118 ac_option=`expr "x$1" : 'x\([^=]*\)='`
12119 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
12127 *) # This is not an option, so the user has probably given explicit
12130 ac_need_defaults=false;;
12134 # Handling of the options.
12136 cat >>$CONFIG_STATUS <<\_ACEOF
12137 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12139 --version | --vers* | -V )
12140 echo "$ac_cs_version"; exit 0 ;;
12142 # Conflict between --help and --header
12143 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12144 Try \`$0 --help' for more information." >&5
12145 echo "$as_me: error: ambiguous option: $1
12146 Try \`$0 --help' for more information." >&2;}
12147 { (exit 1); exit 1; }; };;
12148 --help | --hel | -h )
12149 echo "$ac_cs_usage"; exit 0 ;;
12150 --debug | --d* | -d )
12152 --file | --fil | --fi | --f )
12154 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
12155 ac_need_defaults=false;;
12156 --header | --heade | --head | --hea )
12158 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
12159 ac_need_defaults=false;;
12160 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12161 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12164 # This is an error.
12165 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12166 Try \`$0 --help' for more information." >&5
12167 echo "$as_me: error: unrecognized option: $1
12168 Try \`$0 --help' for more information." >&2;}
12169 { (exit 1); exit 1; }; } ;;
12171 *) ac_config_targets="$ac_config_targets $1" ;;
12177 ac_configure_extra_args=
12179 if $ac_cs_silent; then
12181 ac_configure_extra_args="$ac_configure_extra_args --silent"
12185 cat >>$CONFIG_STATUS <<_ACEOF
12186 if \$ac_cs_recheck; then
12187 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12188 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12193 cat >>$CONFIG_STATUS <<_ACEOF
12195 # INIT-COMMANDS section.
12202 with_multisubdir="$with_multisubdir"
12203 with_multisrctop="$with_multisrctop"
12204 with_target_subdir="$with_target_subdir"
12205 ac_configure_args="${multilib_arg} ${ac_configure_args}"
12206 multi_basedir="$multi_basedir"
12207 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
12214 cat >>$CONFIG_STATUS <<\_ACEOF
12215 for ac_config_target in $ac_config_targets
12217 case "$ac_config_target" in
12218 # Handling of arguments.
12219 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12220 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
12221 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12222 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12223 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12224 { (exit 1); exit 1; }; };;
12228 # If the user did not use the arguments to specify the items to instantiate,
12229 # then the envvar interface is used. Set only those that are not.
12230 # We use the long form for the default assignment because of an extremely
12231 # bizarre bug on SunOS 4.1.3.
12232 if $ac_need_defaults; then
12233 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12234 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12235 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12238 # Have a temporary directory for convenience. Make it in the build tree
12239 # simply because there is no reason to put it here, and in addition,
12240 # creating and moving files from /tmp can sometimes cause problems.
12241 # Create a temporary directory, and hook for its removal unless debugging.
12244 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12245 trap '{ (exit 1); exit 1; }' 1 2 13 15
12248 # Create a (secure) tmp directory for tmp files.
12251 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12252 test -n "$tmp" && test -d "$tmp"
12255 tmp=./confstat$$-$RANDOM
12256 (umask 077 && mkdir $tmp)
12259 echo "$me: cannot create a temporary directory in ." >&2
12260 { (exit 1); exit 1; }
12265 cat >>$CONFIG_STATUS <<_ACEOF
12268 # CONFIG_FILES section.
12271 # No need to generate the scripts if there are no CONFIG_FILES.
12272 # This happens for instance when ./config.status config.h
12273 if test -n "\$CONFIG_FILES"; then
12274 # Protect against being on the right side of a sed subst in config.status.
12275 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12276 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12277 s,@SHELL@,$SHELL,;t t
12278 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12279 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12280 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12281 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12282 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12283 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12284 s,@exec_prefix@,$exec_prefix,;t t
12285 s,@prefix@,$prefix,;t t
12286 s,@program_transform_name@,$program_transform_name,;t t
12287 s,@bindir@,$bindir,;t t
12288 s,@sbindir@,$sbindir,;t t
12289 s,@libexecdir@,$libexecdir,;t t
12290 s,@datadir@,$datadir,;t t
12291 s,@sysconfdir@,$sysconfdir,;t t
12292 s,@sharedstatedir@,$sharedstatedir,;t t
12293 s,@localstatedir@,$localstatedir,;t t
12294 s,@libdir@,$libdir,;t t
12295 s,@includedir@,$includedir,;t t
12296 s,@oldincludedir@,$oldincludedir,;t t
12297 s,@infodir@,$infodir,;t t
12298 s,@mandir@,$mandir,;t t
12299 s,@build_alias@,$build_alias,;t t
12300 s,@host_alias@,$host_alias,;t t
12301 s,@target_alias@,$target_alias,;t t
12302 s,@DEFS@,$DEFS,;t t
12303 s,@ECHO_C@,$ECHO_C,;t t
12304 s,@ECHO_N@,$ECHO_N,;t t
12305 s,@ECHO_T@,$ECHO_T,;t t
12306 s,@LIBS@,$LIBS,;t t
12307 s,@build@,$build,;t t
12308 s,@build_cpu@,$build_cpu,;t t
12309 s,@build_vendor@,$build_vendor,;t t
12310 s,@build_os@,$build_os,;t t
12311 s,@host@,$host,;t t
12312 s,@host_cpu@,$host_cpu,;t t
12313 s,@host_vendor@,$host_vendor,;t t
12314 s,@host_os@,$host_os,;t t
12315 s,@target@,$target,;t t
12316 s,@target_cpu@,$target_cpu,;t t
12317 s,@target_vendor@,$target_vendor,;t t
12318 s,@target_os@,$target_os,;t t
12319 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12320 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12321 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12322 s,@CYGPATH_W@,$CYGPATH_W,;t t
12323 s,@PACKAGE@,$PACKAGE,;t t
12324 s,@VERSION@,$VERSION,;t t
12325 s,@ACLOCAL@,$ACLOCAL,;t t
12326 s,@AUTOCONF@,$AUTOCONF,;t t
12327 s,@AUTOMAKE@,$AUTOMAKE,;t t
12328 s,@AUTOHEADER@,$AUTOHEADER,;t t
12329 s,@MAKEINFO@,$MAKEINFO,;t t
12330 s,@install_sh@,$install_sh,;t t
12331 s,@STRIP@,$STRIP,;t t
12332 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12333 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
12334 s,@mkdir_p@,$mkdir_p,;t t
12336 s,@SET_MAKE@,$SET_MAKE,;t t
12337 s,@am__leading_dot@,$am__leading_dot,;t t
12338 s,@AMTAR@,$AMTAR,;t t
12339 s,@am__tar@,$am__tar,;t t
12340 s,@am__untar@,$am__untar,;t t
12341 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12342 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12343 s,@MAINT@,$MAINT,;t t
12344 s,@multi_basedir@,$multi_basedir,;t t
12345 s,@toolexecdir@,$toolexecdir,;t t
12346 s,@toolexeclibdir@,$toolexeclibdir,;t t
12348 s,@ac_ct_CC@,$ac_ct_CC,;t t
12349 s,@EXEEXT@,$EXEEXT,;t t
12350 s,@OBJEXT@,$OBJEXT,;t t
12351 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
12352 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
12354 s,@ac_ct_AS@,$ac_ct_AS,;t t
12356 s,@ac_ct_AR@,$ac_ct_AR,;t t
12357 s,@RANLIB@,$RANLIB,;t t
12358 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12359 s,@LN_S@,$LN_S,;t t
12360 s,@LIBTOOL@,$LIBTOOL,;t t
12361 s,@enable_shared@,$enable_shared,;t t
12362 s,@enable_static@,$enable_static,;t t
12364 s,@FCFLAGS@,$FCFLAGS,;t t
12365 s,@LDFLAGS@,$LDFLAGS,;t t
12366 s,@ac_ct_FC@,$ac_ct_FC,;t t
12367 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
12369 s,@CPPFLAGS@,$CPPFLAGS,;t t
12370 s,@EGREP@,$EGREP,;t t
12371 s,@MATH_OBJ@,$MATH_OBJ,;t t
12372 s,@LIBOBJS@,$LIBOBJS,;t t
12373 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12378 cat >>$CONFIG_STATUS <<\_ACEOF
12379 # Split the substitutions into bite-sized pieces for seds with
12380 # small command number limits, like on Digital OSF/1 and HP-UX.
12381 ac_max_sed_lines=48
12382 ac_sed_frag=1 # Number of current file.
12383 ac_beg=1 # First line for current file.
12384 ac_end=$ac_max_sed_lines # Line after last line for current file.
12387 while $ac_more_lines; do
12388 if test $ac_beg -gt 1; then
12389 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12391 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12393 if test ! -s $tmp/subs.frag; then
12394 ac_more_lines=false
12396 # The purpose of the label and of the branching condition is to
12397 # speed up the sed processing (if there are no `@' at all, there
12398 # is no need to browse any of the substitutions).
12399 # These are the two extra sed commands mentioned above.
12401 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
12402 if test -z "$ac_sed_cmds"; then
12403 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
12405 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12407 ac_sed_frag=`expr $ac_sed_frag + 1`
12409 ac_end=`expr $ac_end + $ac_max_sed_lines`
12412 if test -z "$ac_sed_cmds"; then
12415 fi # test -n "$CONFIG_FILES"
12418 cat >>$CONFIG_STATUS <<\_ACEOF
12419 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
12420 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12422 - | *:- | *:-:* ) # input from stdin
12424 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12425 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12426 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12427 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12428 * ) ac_file_in=$ac_file.in ;;
12431 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12432 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12433 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12434 X"$ac_file" : 'X\(//\)[^/]' \| \
12435 X"$ac_file" : 'X\(//\)$' \| \
12436 X"$ac_file" : 'X\(/\)' \| \
12437 . : '\(.\)' 2>/dev/null ||
12439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12440 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12441 /^X\(\/\/\)$/{ s//\1/; q; }
12442 /^X\(\/\).*/{ s//\1/; q; }
12444 { if $as_mkdir_p; then
12449 while test ! -d "$as_dir"; do
12450 as_dirs="$as_dir $as_dirs"
12451 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12452 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12453 X"$as_dir" : 'X\(//\)[^/]' \| \
12454 X"$as_dir" : 'X\(//\)$' \| \
12455 X"$as_dir" : 'X\(/\)' \| \
12456 . : '\(.\)' 2>/dev/null ||
12458 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12459 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12460 /^X\(\/\/\)$/{ s//\1/; q; }
12461 /^X\(\/\).*/{ s//\1/; q; }
12464 test ! -n "$as_dirs" || mkdir $as_dirs
12465 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12466 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12467 { (exit 1); exit 1; }; }; }
12471 if test "$ac_dir" != .; then
12472 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12473 # A "../" for each directory in $ac_dir_suffix.
12474 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12476 ac_dir_suffix= ac_top_builddir=
12480 .) # No --srcdir option. We are building in place.
12482 if test -z "$ac_top_builddir"; then
12485 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12487 [\\/]* | ?:[\\/]* ) # Absolute path.
12488 ac_srcdir=$srcdir$ac_dir_suffix;
12489 ac_top_srcdir=$srcdir ;;
12490 *) # Relative path.
12491 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12492 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12495 # Do not use `cd foo && pwd` to compute absolute paths, because
12496 # the directories may not exist.
12498 .) ac_abs_builddir="$ac_dir";;
12501 .) ac_abs_builddir=`pwd`;;
12502 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12503 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12506 case $ac_abs_builddir in
12507 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12509 case ${ac_top_builddir}. in
12510 .) ac_abs_top_builddir=$ac_abs_builddir;;
12511 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12512 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12515 case $ac_abs_builddir in
12516 .) ac_abs_srcdir=$ac_srcdir;;
12519 .) ac_abs_srcdir=$ac_abs_builddir;;
12520 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12521 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12524 case $ac_abs_builddir in
12525 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12527 case $ac_top_srcdir in
12528 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12529 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12530 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12536 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12537 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
12540 if test x"$ac_file" != x-; then
12541 { echo "$as_me:$LINENO: creating $ac_file" >&5
12542 echo "$as_me: creating $ac_file" >&6;}
12545 # Let's still pretend it is `configure' which instantiates (i.e., don't
12546 # use $as_me), people would be surprised to read:
12547 # /* config.h. Generated by config.status. */
12548 if test x"$ac_file" = x-; then
12551 configure_input="$ac_file. "
12553 configure_input=$configure_input"Generated from `echo $ac_file_in |
12554 sed 's,.*/,,'` by configure."
12556 # First look for the input files in the build tree, otherwise in the
12558 ac_file_inputs=`IFS=:
12559 for f in $ac_file_in; do
12561 -) echo $tmp/stdin ;;
12563 # Absolute (can't be DOS-style, as IFS=:)
12564 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12565 echo "$as_me: error: cannot find input file: $f" >&2;}
12566 { (exit 1); exit 1; }; }
12569 if test -f "$f"; then
12572 elif test -f "$srcdir/$f"; then
12577 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12578 echo "$as_me: error: cannot find input file: $f" >&2;}
12579 { (exit 1); exit 1; }; }
12582 done` || { (exit 1); exit 1; }
12584 cat >>$CONFIG_STATUS <<_ACEOF
12588 cat >>$CONFIG_STATUS <<\_ACEOF
12590 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12591 s,@configure_input@,$configure_input,;t t
12592 s,@srcdir@,$ac_srcdir,;t t
12593 s,@abs_srcdir@,$ac_abs_srcdir,;t t
12594 s,@top_srcdir@,$ac_top_srcdir,;t t
12595 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
12596 s,@builddir@,$ac_builddir,;t t
12597 s,@abs_builddir@,$ac_abs_builddir,;t t
12598 s,@top_builddir@,$ac_top_builddir,;t t
12599 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
12600 s,@INSTALL@,$ac_INSTALL,;t t
12601 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12603 if test x"$ac_file" != x-; then
12604 mv $tmp/out $ac_file
12612 cat >>$CONFIG_STATUS <<\_ACEOF
12615 # CONFIG_HEADER section.
12618 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12619 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12621 # ac_d sets the value in "#define NAME VALUE" lines.
12622 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12623 ac_dB='[ ].*$,\1#\2'
12626 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12627 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12628 ac_uB='$,\1#\2define\3'
12632 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
12633 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12635 - | *:- | *:-:* ) # input from stdin
12637 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12638 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12639 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12640 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12641 * ) ac_file_in=$ac_file.in ;;
12644 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
12645 echo "$as_me: creating $ac_file" >&6;}
12647 # First look for the input files in the build tree, otherwise in the
12649 ac_file_inputs=`IFS=:
12650 for f in $ac_file_in; do
12652 -) echo $tmp/stdin ;;
12654 # Absolute (can't be DOS-style, as IFS=:)
12655 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12656 echo "$as_me: error: cannot find input file: $f" >&2;}
12657 { (exit 1); exit 1; }; }
12658 # Do quote $f, to prevent DOS paths from being IFS'd.
12661 if test -f "$f"; then
12664 elif test -f "$srcdir/$f"; then
12669 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12670 echo "$as_me: error: cannot find input file: $f" >&2;}
12671 { (exit 1); exit 1; }; }
12674 done` || { (exit 1); exit 1; }
12675 # Remove the trailing spaces.
12676 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12680 # Transform confdefs.h into two sed scripts, `conftest.defines' and
12681 # `conftest.undefs', that substitutes the proper values into
12682 # config.h.in to produce config.h. The first handles `#define'
12683 # templates, and the second `#undef' templates.
12684 # And first: Protect against being on the right side of a sed subst in
12685 # config.status. Protect against being in an unquoted here document
12686 # in config.status.
12687 rm -f conftest.defines conftest.undefs
12688 # Using a here document instead of a string reduces the quoting nightmare.
12689 # Putting comments in sed scripts is not portable.
12691 # `end' is used to avoid that the second main sed command (meant for
12692 # 0-ary CPP macros) applies to n-ary macro definitions.
12693 # See the Autoconf documentation for `clear'.
12694 cat >confdef2sed.sed <<\_ACEOF
12699 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12701 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12704 # If some macros were called several times there might be several times
12705 # the same #defines, which is useless. Nevertheless, we may not want to
12706 # sort them, since we want the *last* AC-DEFINE to be honored.
12707 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12708 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12709 rm -f confdef2sed.sed
12711 # This sed command replaces #undef with comments. This is necessary, for
12712 # example, in the case of _POSIX_SOURCE, which is predefined and required
12713 # on some systems where configure will not decide to define it.
12714 cat >>conftest.undefs <<\_ACEOF
12715 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12718 # Break up conftest.defines because some shells have a limit on the size
12719 # of here documents, and old seds have small limits too (100 cmds).
12720 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12721 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12722 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12723 echo ' :' >>$CONFIG_STATUS
12724 rm -f conftest.tail
12725 while grep . conftest.defines >/dev/null
12727 # Write a limited-size here document to $tmp/defines.sed.
12728 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12729 # Speed up: don't consider the non `#define' lines.
12730 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12731 # Work around the forget-to-reset-the-flag bug.
12732 echo 't clr' >>$CONFIG_STATUS
12733 echo ': clr' >>$CONFIG_STATUS
12734 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
12736 sed -f $tmp/defines.sed $tmp/in >$tmp/out
12738 mv $tmp/out $tmp/in
12740 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
12741 rm -f conftest.defines
12742 mv conftest.tail conftest.defines
12744 rm -f conftest.defines
12745 echo ' fi # grep' >>$CONFIG_STATUS
12746 echo >>$CONFIG_STATUS
12748 # Break up conftest.undefs because some shells have a limit on the size
12749 # of here documents, and old seds have small limits too (100 cmds).
12750 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12751 rm -f conftest.tail
12752 while grep . conftest.undefs >/dev/null
12754 # Write a limited-size here document to $tmp/undefs.sed.
12755 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12756 # Speed up: don't consider the non `#undef'
12757 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12758 # Work around the forget-to-reset-the-flag bug.
12759 echo 't clr' >>$CONFIG_STATUS
12760 echo ': clr' >>$CONFIG_STATUS
12761 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12763 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12765 mv $tmp/out $tmp/in
12767 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12768 rm -f conftest.undefs
12769 mv conftest.tail conftest.undefs
12771 rm -f conftest.undefs
12773 cat >>$CONFIG_STATUS <<\_ACEOF
12774 # Let's still pretend it is `configure' which instantiates (i.e., don't
12775 # use $as_me), people would be surprised to read:
12776 # /* config.h. Generated by config.status. */
12777 if test x"$ac_file" = x-; then
12778 echo "/* Generated by configure. */" >$tmp/config.h
12780 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12782 cat $tmp/in >>$tmp/config.h
12784 if test x"$ac_file" != x-; then
12785 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
12786 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12787 echo "$as_me: $ac_file is unchanged" >&6;}
12789 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12790 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12791 X"$ac_file" : 'X\(//\)[^/]' \| \
12792 X"$ac_file" : 'X\(//\)$' \| \
12793 X"$ac_file" : 'X\(/\)' \| \
12794 . : '\(.\)' 2>/dev/null ||
12796 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12797 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12798 /^X\(\/\/\)$/{ s//\1/; q; }
12799 /^X\(\/\).*/{ s//\1/; q; }
12801 { if $as_mkdir_p; then
12806 while test ! -d "$as_dir"; do
12807 as_dirs="$as_dir $as_dirs"
12808 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12809 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12810 X"$as_dir" : 'X\(//\)[^/]' \| \
12811 X"$as_dir" : 'X\(//\)$' \| \
12812 X"$as_dir" : 'X\(/\)' \| \
12813 . : '\(.\)' 2>/dev/null ||
12815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12816 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12817 /^X\(\/\/\)$/{ s//\1/; q; }
12818 /^X\(\/\).*/{ s//\1/; q; }
12821 test ! -n "$as_dirs" || mkdir $as_dirs
12822 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12823 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12824 { (exit 1); exit 1; }; }; }
12827 mv $tmp/config.h $ac_file
12831 rm -f $tmp/config.h
12833 # Compute $ac_file's index in $config_headers.
12835 for _am_header in $config_headers :; do
12836 case $_am_header in
12837 $ac_file | $ac_file:* )
12840 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12843 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
12844 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12845 X$ac_file : 'X\(//\)[^/]' \| \
12846 X$ac_file : 'X\(//\)$' \| \
12847 X$ac_file : 'X\(/\)' \| \
12848 . : '\(.\)' 2>/dev/null ||
12850 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12851 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12852 /^X\(\/\/\)$/{ s//\1/; q; }
12853 /^X\(\/\).*/{ s//\1/; q; }
12854 s/.*/./; q'`/stamp-h$_am_stamp_count
12857 cat >>$CONFIG_STATUS <<\_ACEOF
12860 # CONFIG_COMMANDS section.
12862 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
12863 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
12864 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
12865 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
12866 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12867 X"$ac_dest" : 'X\(//\)[^/]' \| \
12868 X"$ac_dest" : 'X\(//\)$' \| \
12869 X"$ac_dest" : 'X\(/\)' \| \
12870 . : '\(.\)' 2>/dev/null ||
12872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12873 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12874 /^X\(\/\/\)$/{ s//\1/; q; }
12875 /^X\(\/\).*/{ s//\1/; q; }
12877 { if $as_mkdir_p; then
12882 while test ! -d "$as_dir"; do
12883 as_dirs="$as_dir $as_dirs"
12884 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12885 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12886 X"$as_dir" : 'X\(//\)[^/]' \| \
12887 X"$as_dir" : 'X\(//\)$' \| \
12888 X"$as_dir" : 'X\(/\)' \| \
12889 . : '\(.\)' 2>/dev/null ||
12891 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12892 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12893 /^X\(\/\/\)$/{ s//\1/; q; }
12894 /^X\(\/\).*/{ s//\1/; q; }
12897 test ! -n "$as_dirs" || mkdir $as_dirs
12898 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12899 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12900 { (exit 1); exit 1; }; }; }
12904 if test "$ac_dir" != .; then
12905 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12906 # A "../" for each directory in $ac_dir_suffix.
12907 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12909 ac_dir_suffix= ac_top_builddir=
12913 .) # No --srcdir option. We are building in place.
12915 if test -z "$ac_top_builddir"; then
12918 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12920 [\\/]* | ?:[\\/]* ) # Absolute path.
12921 ac_srcdir=$srcdir$ac_dir_suffix;
12922 ac_top_srcdir=$srcdir ;;
12923 *) # Relative path.
12924 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12925 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12928 # Do not use `cd foo && pwd` to compute absolute paths, because
12929 # the directories may not exist.
12931 .) ac_abs_builddir="$ac_dir";;
12934 .) ac_abs_builddir=`pwd`;;
12935 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12936 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12939 case $ac_abs_builddir in
12940 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12942 case ${ac_top_builddir}. in
12943 .) ac_abs_top_builddir=$ac_abs_builddir;;
12944 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12945 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12948 case $ac_abs_builddir in
12949 .) ac_abs_srcdir=$ac_srcdir;;
12952 .) ac_abs_srcdir=$ac_abs_builddir;;
12953 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12954 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12957 case $ac_abs_builddir in
12958 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12960 case $ac_top_srcdir in
12961 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12962 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12963 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12968 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12969 echo "$as_me: executing $ac_dest commands" >&6;}
12972 # Only add multilib support code if we just rebuilt the top-level
12974 case " $CONFIG_FILES " in
12976 ac_file=Makefile . ${multi_basedir}/config-ml.in
12983 cat >>$CONFIG_STATUS <<\_ACEOF
12985 { (exit 0); exit 0; }
12987 chmod +x $CONFIG_STATUS
12988 ac_clean_files=$ac_clean_files_save
12991 # configure is writing to config.log, and then calls config.status.
12992 # config.status does its own redirection, appending to config.log.
12993 # Unfortunately, on DOS this fails, as config.log is still kept open
12994 # by configure, so config.status won't be able to write to it; its
12995 # output is simply discarded. So we exec the FD to /dev/null,
12996 # effectively closing config.log, so it can be properly (re)opened and
12997 # appended to by config.status. When coming back to configure, we
12998 # need to make the FD available again.
12999 if test "$no_create" != yes; then
13001 ac_config_status_args=
13002 test "$silent" = yes &&
13003 ac_config_status_args="$ac_config_status_args --quiet"
13005 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13007 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13008 # would make configure fail if this is the last instruction.
13009 $ac_cs_success || { (exit 1); exit 1; }