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. */
2354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2355 (eval $ac_link) 2>&5
2357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2358 (exit $ac_status); }; then
2364 if test x$gcc_no_link = xyes; then
2365 # Setting cross_compile will disable run tests; it will
2366 # also disable AC_CHECK_FILE but that's generally
2367 # correct if we can't link.
2371 cat >conftest.$ac_ext <<_ACEOF
2374 cat confdefs.h >>conftest.$ac_ext
2375 cat >>conftest.$ac_ext <<_ACEOF
2376 /* end confdefs.h. */
2386 ac_clean_files_save=$ac_clean_files
2387 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2388 # Try to create an executable without -o first, disregard a.out.
2389 # It will help us diagnose broken compilers, and finding out an intuition
2391 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2392 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2393 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2394 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2395 (eval $ac_link_default) 2>&5
2397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398 (exit $ac_status); }; then
2399 # Find the output, starting from the most likely. This scheme is
2400 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2403 # Be careful to initialize this variable, since it used to be cached.
2404 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2406 # b.out is created by i960 compilers.
2407 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2409 test -f "$ac_file" || continue
2411 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2414 # This is the source file.
2417 # We found the default executable, but exeext='' is most
2421 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2422 # FIXME: I believe we export ac_cv_exeext for Libtool,
2423 # but it would be cool to find out if it's true. Does anybody
2424 # maintain Libtool? --akim.
2432 echo "$as_me: failed program was:" >&5
2433 sed 's/^/| /' conftest.$ac_ext >&5
2435 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2436 See \`config.log' for more details." >&5
2437 echo "$as_me: error: C compiler cannot create executables
2438 See \`config.log' for more details." >&2;}
2439 { (exit 77); exit 77; }; }
2442 ac_exeext=$ac_cv_exeext
2443 echo "$as_me:$LINENO: result: $ac_file" >&5
2444 echo "${ECHO_T}$ac_file" >&6
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 the C compiler works" >&5
2449 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2450 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2451 # If not cross compiling, check that we can run a simple program.
2452 if test "$cross_compiling" != yes; then
2453 if { ac_try='./$ac_file'
2454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458 (exit $ac_status); }; }; then
2461 if test "$cross_compiling" = maybe; then
2464 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2465 If you meant to cross compile, use \`--host'.
2466 See \`config.log' for more details." >&5
2467 echo "$as_me: error: cannot run C compiled programs.
2468 If you meant to cross compile, use \`--host'.
2469 See \`config.log' for more details." >&2;}
2470 { (exit 1); exit 1; }; }
2474 echo "$as_me:$LINENO: result: yes" >&5
2475 echo "${ECHO_T}yes" >&6
2477 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2478 ac_clean_files=$ac_clean_files_save
2479 # Check the compiler produces executables we can run. If not, either
2480 # the compiler is broken, or we cross compile.
2481 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2482 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2483 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2484 echo "${ECHO_T}$cross_compiling" >&6
2486 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2487 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2489 (eval $ac_link) 2>&5
2491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492 (exit $ac_status); }; then
2493 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2494 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2495 # work properly (i.e., refer to `conftest.exe'), while it won't with
2497 for ac_file in conftest.exe conftest conftest.*; do
2498 test -f "$ac_file" || continue
2500 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2501 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2508 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2509 See \`config.log' for more details." >&5
2510 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2511 See \`config.log' for more details." >&2;}
2512 { (exit 1); exit 1; }; }
2515 rm -f conftest$ac_cv_exeext
2516 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2517 echo "${ECHO_T}$ac_cv_exeext" >&6
2519 rm -f conftest.$ac_ext
2520 EXEEXT=$ac_cv_exeext
2523 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2524 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2525 if test "${ac_cv_objext+set}" = set; then
2526 echo $ECHO_N "(cached) $ECHO_C" >&6
2528 cat >conftest.$ac_ext <<_ACEOF
2531 cat confdefs.h >>conftest.$ac_ext
2532 cat >>conftest.$ac_ext <<_ACEOF
2533 /* end confdefs.h. */
2543 rm -f conftest.o conftest.obj
2544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2545 (eval $ac_compile) 2>&5
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); }; then
2549 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2551 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2552 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2557 echo "$as_me: failed program was:" >&5
2558 sed 's/^/| /' conftest.$ac_ext >&5
2560 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2561 See \`config.log' for more details." >&5
2562 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2563 See \`config.log' for more details." >&2;}
2564 { (exit 1); exit 1; }; }
2567 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2569 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2570 echo "${ECHO_T}$ac_cv_objext" >&6
2571 OBJEXT=$ac_cv_objext
2573 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2574 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2575 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2576 echo $ECHO_N "(cached) $ECHO_C" >&6
2578 cat >conftest.$ac_ext <<_ACEOF
2581 cat confdefs.h >>conftest.$ac_ext
2582 cat >>conftest.$ac_ext <<_ACEOF
2583 /* end confdefs.h. */
2596 rm -f conftest.$ac_objext
2597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2598 (eval $ac_compile) 2>conftest.er1
2600 grep -v '^ *+' conftest.er1 >conftest.err
2602 cat conftest.err >&5
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); } &&
2605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); }; } &&
2611 { ac_try='test -s conftest.$ac_objext'
2612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616 (exit $ac_status); }; }; then
2619 echo "$as_me: failed program was:" >&5
2620 sed 's/^/| /' conftest.$ac_ext >&5
2624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2625 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2628 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2629 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2630 GCC=`test $ac_compiler_gnu = yes && echo yes`
2631 ac_test_CFLAGS=${CFLAGS+set}
2632 ac_save_CFLAGS=$CFLAGS
2634 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2635 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2636 if test "${ac_cv_prog_cc_g+set}" = set; then
2637 echo $ECHO_N "(cached) $ECHO_C" >&6
2639 cat >conftest.$ac_ext <<_ACEOF
2642 cat confdefs.h >>conftest.$ac_ext
2643 cat >>conftest.$ac_ext <<_ACEOF
2644 /* end confdefs.h. */
2654 rm -f conftest.$ac_objext
2655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2656 (eval $ac_compile) 2>conftest.er1
2658 grep -v '^ *+' conftest.er1 >conftest.err
2660 cat conftest.err >&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); } &&
2663 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668 (exit $ac_status); }; } &&
2669 { ac_try='test -s conftest.$ac_objext'
2670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2674 (exit $ac_status); }; }; then
2677 echo "$as_me: failed program was:" >&5
2678 sed 's/^/| /' conftest.$ac_ext >&5
2682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2684 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2685 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2686 if test "$ac_test_CFLAGS" = set; then
2687 CFLAGS=$ac_save_CFLAGS
2688 elif test $ac_cv_prog_cc_g = yes; then
2689 if test "$GCC" = yes; then
2695 if test "$GCC" = yes; then
2701 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2702 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2703 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2704 echo $ECHO_N "(cached) $ECHO_C" >&6
2706 ac_cv_prog_cc_stdc=no
2708 cat >conftest.$ac_ext <<_ACEOF
2711 cat confdefs.h >>conftest.$ac_ext
2712 cat >>conftest.$ac_ext <<_ACEOF
2713 /* end confdefs.h. */
2716 #include <sys/types.h>
2717 #include <sys/stat.h>
2718 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2719 struct buf { int x; };
2720 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2721 static char *e (p, i)
2727 static char *f (char * (*g) (char **, int), char **p, ...)
2732 s = g (p, va_arg (v,int));
2737 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2738 function prototypes and stuff, but not '\xHH' hex character constants.
2739 These don't provoke an error unfortunately, instead are silently treated
2740 as 'x'. The following induces an error, until -std1 is added to get
2741 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2742 array size at least. It's necessary to write '\x00'==0 to get something
2743 that's true only with -std1. */
2744 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2746 int test (int i, double x);
2747 struct s1 {int (*f) (int a);};
2748 struct s2 {int (*f) (double a);};
2749 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2755 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2760 # Don't try gcc -ansi; that turns off useful extensions and
2761 # breaks some systems' header files.
2762 # AIX -qlanglvl=ansi
2763 # Ultrix and OSF/1 -std1
2764 # HP-UX 10.20 and later -Ae
2765 # HP-UX older versions -Aa -D_HPUX_SOURCE
2766 # SVR4 -Xc -D__EXTENSIONS__
2767 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2769 CC="$ac_save_CC $ac_arg"
2770 rm -f conftest.$ac_objext
2771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2772 (eval $ac_compile) 2>conftest.er1
2774 grep -v '^ *+' conftest.er1 >conftest.err
2776 cat conftest.err >&5
2777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778 (exit $ac_status); } &&
2779 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784 (exit $ac_status); }; } &&
2785 { ac_try='test -s conftest.$ac_objext'
2786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); }; }; then
2791 ac_cv_prog_cc_stdc=$ac_arg
2794 echo "$as_me: failed program was:" >&5
2795 sed 's/^/| /' conftest.$ac_ext >&5
2798 rm -f conftest.err conftest.$ac_objext
2800 rm -f conftest.$ac_ext conftest.$ac_objext
2805 case "x$ac_cv_prog_cc_stdc" in
2807 echo "$as_me:$LINENO: result: none needed" >&5
2808 echo "${ECHO_T}none needed" >&6 ;;
2810 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2811 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2812 CC="$CC $ac_cv_prog_cc_stdc" ;;
2815 # Some people use a C++ compiler to compile C. Since we use `exit',
2816 # in C++ we need to declare it. In case someone uses the same compiler
2817 # for both compiling C and C++ we need to have the C++ compiler decide
2818 # the declaration of exit, since it's the most demanding environment.
2819 cat >conftest.$ac_ext <<_ACEOF
2824 rm -f conftest.$ac_objext
2825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2826 (eval $ac_compile) 2>conftest.er1
2828 grep -v '^ *+' conftest.er1 >conftest.err
2830 cat conftest.err >&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); } &&
2833 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); }; } &&
2839 { ac_try='test -s conftest.$ac_objext'
2840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); }; }; then
2845 for ac_declaration in \
2847 'extern "C" void std::exit (int) throw (); using std::exit;' \
2848 'extern "C" void std::exit (int); using std::exit;' \
2849 'extern "C" void exit (int) throw ();' \
2850 'extern "C" void exit (int);' \
2853 cat >conftest.$ac_ext <<_ACEOF
2856 cat confdefs.h >>conftest.$ac_ext
2857 cat >>conftest.$ac_ext <<_ACEOF
2858 /* end confdefs.h. */
2869 rm -f conftest.$ac_objext
2870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2871 (eval $ac_compile) 2>conftest.er1
2873 grep -v '^ *+' conftest.er1 >conftest.err
2875 cat conftest.err >&5
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); } &&
2878 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883 (exit $ac_status); }; } &&
2884 { ac_try='test -s conftest.$ac_objext'
2885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2889 (exit $ac_status); }; }; then
2892 echo "$as_me: failed program was:" >&5
2893 sed 's/^/| /' conftest.$ac_ext >&5
2897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2898 cat >conftest.$ac_ext <<_ACEOF
2901 cat confdefs.h >>conftest.$ac_ext
2902 cat >>conftest.$ac_ext <<_ACEOF
2903 /* end confdefs.h. */
2913 rm -f conftest.$ac_objext
2914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2915 (eval $ac_compile) 2>conftest.er1
2917 grep -v '^ *+' conftest.er1 >conftest.err
2919 cat conftest.err >&5
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); } &&
2922 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); }; } &&
2928 { ac_try='test -s conftest.$ac_objext'
2929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); }; }; then
2936 echo "$as_me: failed program was:" >&5
2937 sed 's/^/| /' conftest.$ac_ext >&5
2940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2943 if test -n "$ac_declaration"; then
2944 echo '#ifdef __cplusplus' >>confdefs.h
2945 echo $ac_declaration >>confdefs.h
2946 echo '#endif' >>confdefs.h
2950 echo "$as_me: failed program was:" >&5
2951 sed 's/^/| /' conftest.$ac_ext >&5
2954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2956 ac_cpp='$CPP $CPPFLAGS'
2957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2963 # Add -Wall if we are using GCC.
2964 if test "x$GCC" = "xyes"; then
2966 ## We like to use C99 routines when available. This makes sure that
2967 ## __STDC_VERSION__ is set such that libc includes make them available.
2968 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
2973 # Find other programs we need.
2974 if test -n "$ac_tool_prefix"; then
2975 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2976 set dummy ${ac_tool_prefix}as; ac_word=$2
2977 echo "$as_me:$LINENO: checking for $ac_word" >&5
2978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2979 if test "${ac_cv_prog_AS+set}" = set; then
2980 echo $ECHO_N "(cached) $ECHO_C" >&6
2982 if test -n "$AS"; then
2983 ac_cv_prog_AS="$AS" # Let the user override the test.
2985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2989 test -z "$as_dir" && as_dir=.
2990 for ac_exec_ext in '' $ac_executable_extensions; do
2991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2992 ac_cv_prog_AS="${ac_tool_prefix}as"
2993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3002 if test -n "$AS"; then
3003 echo "$as_me:$LINENO: result: $AS" >&5
3004 echo "${ECHO_T}$AS" >&6
3006 echo "$as_me:$LINENO: result: no" >&5
3007 echo "${ECHO_T}no" >&6
3011 if test -z "$ac_cv_prog_AS"; then
3013 # Extract the first word of "as", so it can be a program name with args.
3014 set dummy as; ac_word=$2
3015 echo "$as_me:$LINENO: checking for $ac_word" >&5
3016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3017 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3018 echo $ECHO_N "(cached) $ECHO_C" >&6
3020 if test -n "$ac_ct_AS"; then
3021 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3027 test -z "$as_dir" && as_dir=.
3028 for ac_exec_ext in '' $ac_executable_extensions; do
3029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3030 ac_cv_prog_ac_ct_AS="as"
3031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3039 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3040 if test -n "$ac_ct_AS"; then
3041 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3042 echo "${ECHO_T}$ac_ct_AS" >&6
3044 echo "$as_me:$LINENO: result: no" >&5
3045 echo "${ECHO_T}no" >&6
3053 if test -n "$ac_tool_prefix"; then
3054 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3055 set dummy ${ac_tool_prefix}ar; ac_word=$2
3056 echo "$as_me:$LINENO: checking for $ac_word" >&5
3057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3058 if test "${ac_cv_prog_AR+set}" = set; then
3059 echo $ECHO_N "(cached) $ECHO_C" >&6
3061 if test -n "$AR"; then
3062 ac_cv_prog_AR="$AR" # Let the user override the test.
3064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3068 test -z "$as_dir" && as_dir=.
3069 for ac_exec_ext in '' $ac_executable_extensions; do
3070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3071 ac_cv_prog_AR="${ac_tool_prefix}ar"
3072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3081 if test -n "$AR"; then
3082 echo "$as_me:$LINENO: result: $AR" >&5
3083 echo "${ECHO_T}$AR" >&6
3085 echo "$as_me:$LINENO: result: no" >&5
3086 echo "${ECHO_T}no" >&6
3090 if test -z "$ac_cv_prog_AR"; then
3092 # Extract the first word of "ar", so it can be a program name with args.
3093 set dummy ar; ac_word=$2
3094 echo "$as_me:$LINENO: checking for $ac_word" >&5
3095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3096 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3097 echo $ECHO_N "(cached) $ECHO_C" >&6
3099 if test -n "$ac_ct_AR"; then
3100 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3106 test -z "$as_dir" && as_dir=.
3107 for ac_exec_ext in '' $ac_executable_extensions; do
3108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3109 ac_cv_prog_ac_ct_AR="ar"
3110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3118 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3119 if test -n "$ac_ct_AR"; then
3120 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3121 echo "${ECHO_T}$ac_ct_AR" >&6
3123 echo "$as_me:$LINENO: result: no" >&5
3124 echo "${ECHO_T}no" >&6
3132 if test -n "$ac_tool_prefix"; then
3133 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3134 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3135 echo "$as_me:$LINENO: checking for $ac_word" >&5
3136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3137 if test "${ac_cv_prog_RANLIB+set}" = set; then
3138 echo $ECHO_N "(cached) $ECHO_C" >&6
3140 if test -n "$RANLIB"; then
3141 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3147 test -z "$as_dir" && as_dir=.
3148 for ac_exec_ext in '' $ac_executable_extensions; do
3149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3150 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3159 RANLIB=$ac_cv_prog_RANLIB
3160 if test -n "$RANLIB"; then
3161 echo "$as_me:$LINENO: result: $RANLIB" >&5
3162 echo "${ECHO_T}$RANLIB" >&6
3164 echo "$as_me:$LINENO: result: no" >&5
3165 echo "${ECHO_T}no" >&6
3169 if test -z "$ac_cv_prog_RANLIB"; then
3170 ac_ct_RANLIB=$RANLIB
3171 # Extract the first word of "ranlib", so it can be a program name with args.
3172 set dummy ranlib; ac_word=$2
3173 echo "$as_me:$LINENO: checking for $ac_word" >&5
3174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3175 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3176 echo $ECHO_N "(cached) $ECHO_C" >&6
3178 if test -n "$ac_ct_RANLIB"; then
3179 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3185 test -z "$as_dir" && as_dir=.
3186 for ac_exec_ext in '' $ac_executable_extensions; do
3187 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3188 ac_cv_prog_ac_ct_RANLIB="ranlib"
3189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3195 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3198 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3199 if test -n "$ac_ct_RANLIB"; then
3200 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3201 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3203 echo "$as_me:$LINENO: result: no" >&5
3204 echo "${ECHO_T}no" >&6
3207 RANLIB=$ac_ct_RANLIB
3209 RANLIB="$ac_cv_prog_RANLIB"
3212 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3213 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3214 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3215 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3216 echo $ECHO_N "(cached) $ECHO_C" >&6
3218 cat >conftest.make <<\_ACEOF
3220 @echo 'ac_maketemp="$(MAKE)"'
3222 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3223 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3224 if test -n "$ac_maketemp"; then
3225 eval ac_cv_prog_make_${ac_make}_set=yes
3227 eval ac_cv_prog_make_${ac_make}_set=no
3231 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3232 echo "$as_me:$LINENO: result: yes" >&5
3233 echo "${ECHO_T}yes" >&6
3236 echo "$as_me:$LINENO: result: no" >&5
3237 echo "${ECHO_T}no" >&6
3238 SET_MAKE="MAKE=${MAKE-make}"
3241 # Find a good install program. We prefer a C program (faster),
3242 # so one script is as good as another. But avoid the broken or
3243 # incompatible versions:
3244 # SysV /etc/install, /usr/sbin/install
3245 # SunOS /usr/etc/install
3246 # IRIX /sbin/install
3248 # AmigaOS /C/install, which installs bootblocks on floppy discs
3249 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3250 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3251 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3252 # OS/2's system install, which has a completely different semantic
3253 # ./install, which can be erroneously created by make from ./install.sh.
3254 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3255 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3256 if test -z "$INSTALL"; then
3257 if test "${ac_cv_path_install+set}" = set; then
3258 echo $ECHO_N "(cached) $ECHO_C" >&6
3260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3264 test -z "$as_dir" && as_dir=.
3265 # Account for people who put trailing slashes in PATH elements.
3267 ./ | .// | /cC/* | \
3268 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3269 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3272 # OSF1 and SCO ODT 3.0 have their own names for install.
3273 # Don't use installbsd from OSF since it installs stuff as root
3275 for ac_prog in ginstall scoinst install; do
3276 for ac_exec_ext in '' $ac_executable_extensions; do
3277 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3278 if test $ac_prog = install &&
3279 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3280 # AIX install. It has an incompatible calling convention.
3282 elif test $ac_prog = install &&
3283 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3284 # program-specific install script used by HP pwplus--don't use.
3287 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3299 if test "${ac_cv_path_install+set}" = set; then
3300 INSTALL=$ac_cv_path_install
3302 # As a last resort, use the slow shell script. We don't cache a
3303 # path for INSTALL within a source directory, because that will
3304 # break other packages using the cache if that directory is
3305 # removed, or if the path is relative.
3306 INSTALL=$ac_install_sh
3309 echo "$as_me:$LINENO: result: $INSTALL" >&5
3310 echo "${ECHO_T}$INSTALL" >&6
3312 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3313 # It thinks the first close brace ends the variable substitution.
3314 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3316 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3318 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3322 #AC_MSG_NOTICE([====== Starting libtool configuration])
3324 # Check whether --enable-shared or --disable-shared was given.
3325 if test "${enable_shared+set}" = set; then
3326 enableval="$enable_shared"
3327 p=${PACKAGE-default}
3329 yes) enable_shared=yes ;;
3330 no) enable_shared=no ;;
3333 # Look at the argument we got. We use all the common list separators.
3334 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3335 for pkg in $enableval; do
3336 if test "X$pkg" = "X$p"; then
3346 # Check whether --enable-static or --disable-static was given.
3347 if test "${enable_static+set}" = set; then
3348 enableval="$enable_static"
3349 p=${PACKAGE-default}
3351 yes) enable_static=yes ;;
3352 no) enable_static=no ;;
3355 # Look at the argument we got. We use all the common list separators.
3356 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3357 for pkg in $enableval; do
3358 if test "X$pkg" = "X$p"; then
3368 # Check whether --enable-fast-install or --disable-fast-install was given.
3369 if test "${enable_fast_install+set}" = set; then
3370 enableval="$enable_fast_install"
3371 p=${PACKAGE-default}
3373 yes) enable_fast_install=yes ;;
3374 no) enable_fast_install=no ;;
3376 enable_fast_install=no
3377 # Look at the argument we got. We use all the common list separators.
3378 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3379 for pkg in $enableval; do
3380 if test "X$pkg" = "X$p"; then
3381 enable_fast_install=yes
3388 enable_fast_install=yes
3391 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3392 if test "${with_gnu_ld+set}" = set; then
3393 withval="$with_gnu_ld"
3394 test "$withval" = no || with_gnu_ld=yes
3399 if test "$GCC" = yes; then
3400 # Check if gcc -print-prog-name=ld gives a path.
3401 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3402 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3405 # gcc leaves a trailing carriage return which upsets mingw
3406 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3408 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3411 # Accept absolute paths.
3412 [\\/]* | [A-Za-z]:[\\/]*)
3413 re_direlt='/[^/][^/]*/\.\./'
3414 # Canonicalize the path of ld
3415 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3416 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3417 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3419 test -z "$LD" && LD="$ac_prog"
3422 # If it fails, then pretend we aren't using GCC.
3426 # If it is relative, then search for the first ld in PATH.
3430 elif test "$with_gnu_ld" = yes; then
3431 echo "$as_me:$LINENO: checking for GNU ld" >&5
3432 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3434 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3435 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3437 if test "${lt_cv_path_LD+set}" = set; then
3438 echo $ECHO_N "(cached) $ECHO_C" >&6
3440 if test -z "$LD"; then
3441 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3442 for ac_dir in $PATH; do
3443 test -z "$ac_dir" && ac_dir=.
3444 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3445 lt_cv_path_LD="$ac_dir/$ac_prog"
3446 # Check to see if the program is GNU ld. I'd rather use --version,
3447 # but apparently some GNU ld's only accept -v.
3448 # Break only if it was the GNU/non-GNU ld that we prefer.
3449 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3450 test "$with_gnu_ld" != no && break
3452 test "$with_gnu_ld" != yes && break
3458 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3463 if test -n "$LD"; then
3464 echo "$as_me:$LINENO: result: $LD" >&5
3465 echo "${ECHO_T}$LD" >&6
3467 echo "$as_me:$LINENO: result: no" >&5
3468 echo "${ECHO_T}no" >&6
3470 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3471 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3472 { (exit 1); exit 1; }; }
3473 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3474 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3475 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3476 echo $ECHO_N "(cached) $ECHO_C" >&6
3478 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3479 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3480 lt_cv_prog_gnu_ld=yes
3482 lt_cv_prog_gnu_ld=no
3485 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3486 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3487 with_gnu_ld=$lt_cv_prog_gnu_ld
3490 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3491 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3492 if test "${lt_cv_ld_reload_flag+set}" = set; then
3493 echo $ECHO_N "(cached) $ECHO_C" >&6
3495 lt_cv_ld_reload_flag='-r'
3497 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3498 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3499 reload_flag=$lt_cv_ld_reload_flag
3500 test -n "$reload_flag" && reload_flag=" $reload_flag"
3502 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3503 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3504 if test "${lt_cv_path_NM+set}" = set; then
3505 echo $ECHO_N "(cached) $ECHO_C" >&6
3507 if test -n "$NM"; then
3508 # Let the user override the test.
3511 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3512 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3513 test -z "$ac_dir" && ac_dir=.
3514 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3515 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3516 # Check to see if the nm accepts a BSD-compat flag.
3517 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3518 # nm: unknown option "B" ignored
3519 # Tru64's nm complains that /dev/null is an invalid object file
3520 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3521 lt_cv_path_NM="$tmp_nm -B"
3523 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3524 lt_cv_path_NM="$tmp_nm -p"
3527 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3528 continue # so that we can try to find one that supports BSD flags
3533 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3538 echo "$as_me:$LINENO: result: $NM" >&5
3539 echo "${ECHO_T}$NM" >&6
3541 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3542 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3544 if test "$LN_S" = "ln -s"; then
3545 echo "$as_me:$LINENO: result: yes" >&5
3546 echo "${ECHO_T}yes" >&6
3548 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3549 echo "${ECHO_T}no, using $LN_S" >&6
3552 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3553 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3554 if test "${lt_cv_deplibs_check_method+set}" = set; then
3555 echo $ECHO_N "(cached) $ECHO_C" >&6
3557 lt_cv_file_magic_cmd='$MAGIC_CMD'
3558 lt_cv_file_magic_test_file=
3559 lt_cv_deplibs_check_method='unknown'
3560 # Need to set the preceding variable on all platforms that support
3561 # interlibrary dependencies.
3562 # 'none' -- dependencies not supported.
3563 # `unknown' -- same as none, but documents that we really don't know.
3564 # 'pass_all' -- all dependencies passed with no checks.
3565 # 'test_compile' -- check by making test program.
3566 # 'file_magic [regex]' -- check by looking for files in library path
3567 # which responds to the $file_magic_cmd with a given egrep regex.
3568 # If you have `file' or equivalent on your system and you're not sure
3569 # whether `pass_all' will *always* work, you probably want this one.
3573 lt_cv_deplibs_check_method=pass_all
3577 lt_cv_deplibs_check_method=pass_all
3581 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3582 lt_cv_file_magic_cmd='/usr/bin/file -L'
3583 lt_cv_file_magic_test_file=/shlib/libc.so
3586 cygwin* | mingw* |pw32*)
3587 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3588 lt_cv_file_magic_cmd='$OBJDUMP -f'
3591 darwin* | rhapsody*)
3592 # this will be overwritten by pass_all, but leave it in just in case
3593 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3594 lt_cv_file_magic_cmd='/usr/bin/file -L'
3596 rhapsody* | darwin1.012)
3597 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3600 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3603 lt_cv_deplibs_check_method=pass_all
3606 freebsd* | kfreebsd*-gnu)
3607 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3610 # Not sure whether the presence of OpenBSD here was a mistake.
3611 # Let's accept both of them until this is cleared up.
3612 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3613 lt_cv_file_magic_cmd=/usr/bin/file
3614 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3618 lt_cv_deplibs_check_method=pass_all
3623 lt_cv_deplibs_check_method=pass_all
3629 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3630 lt_cv_file_magic_cmd=/usr/bin/file
3631 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3634 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3635 lt_cv_file_magic_cmd=/usr/bin/file
3636 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3644 # this will be overridden with pass_all, but let us keep it just in case
3645 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3649 *-32|*"-32 ") libmagic=32-bit;;
3650 *-n32|*"-n32 ") libmagic=N32;;
3651 *-64|*"-64 ") libmagic=64-bit;;
3652 *) libmagic=never-match;;
3654 # this will be overridden with pass_all, but let us keep it just in case
3655 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3658 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3659 lt_cv_deplibs_check_method=pass_all
3662 # This must be Linux ELF.
3664 lt_cv_deplibs_check_method=pass_all
3667 netbsd* | knetbsd*-gnu)
3668 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3669 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3671 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3676 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3677 lt_cv_file_magic_cmd=/usr/bin/file
3678 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3681 osf3* | osf4* | osf5*)
3682 # this will be overridden with pass_all, but let us keep it just in case
3683 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3684 lt_cv_file_magic_test_file=/shlib/libc.so
3685 lt_cv_deplibs_check_method=pass_all
3689 lt_cv_deplibs_check_method=pass_all
3693 lt_cv_deplibs_check_method=pass_all
3694 lt_cv_file_magic_test_file=/lib/libc.so
3697 sysv5uw[78]* | sysv4*uw2*)
3698 lt_cv_deplibs_check_method=pass_all
3701 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3702 case $host_vendor in
3704 lt_cv_deplibs_check_method=pass_all
3707 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]'
3708 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3715 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3716 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3717 file_magic_cmd=$lt_cv_file_magic_cmd
3718 deplibs_check_method=$lt_cv_deplibs_check_method
3724 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3726 # find the maximum length of command line arguments
3727 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3728 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3729 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3730 echo $ECHO_N "(cached) $ECHO_C" >&6
3737 # On DJGPP, this test can blow up pretty badly due to problems in libc
3738 # (any single argument exceeding 2000 bytes causes a buffer overrun
3739 # during glob expansion). Even if it were fixed, the result of this
3740 # check would be larger than it should be.
3741 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3745 # On Win9x/ME, this test blows up -- it succeeds, but takes
3746 # about 5 minutes as the teststring grows exponentially.
3747 # Worse, since 9x/ME are not pre-emptively multitasking,
3748 # you end up with a "frozen" computer, even though with patience
3749 # the test eventually succeeds (with a max line length of 256k).
3750 # Instead, let's just punt: use the minimum linelength reported by
3751 # all of the supported platforms: 8192 (on NT/2K/XP).
3752 lt_cv_sys_max_cmd_len=8192;
3756 # On AmigaOS with pdksh, this test takes hours, literally.
3757 # So we just punt and use a minimum line length of 8192.
3758 lt_cv_sys_max_cmd_len=8192;
3761 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3762 # This has been around since 386BSD, at least. Likely further.
3763 if test -x /sbin/sysctl; then
3764 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3765 elif test -x /usr/sbin/sysctl; then
3766 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3768 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
3770 # And add a safety zone
3771 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3772 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3778 if test -n "$lt_cv_sys_max_cmd_len" ; then
3779 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3780 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3782 echo "$as_me:$LINENO: result: none" >&5
3783 echo "${ECHO_T}none" >&6
3787 # Only perform the check for file, if the check method requires it
3788 case $deplibs_check_method in
3790 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3791 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3792 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3793 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3794 echo $ECHO_N "(cached) $ECHO_C" >&6
3798 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3801 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3804 ac_save_MAGIC_CMD="$MAGIC_CMD"
3805 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3806 ac_dummy="/usr/bin:$PATH"
3807 for ac_dir in $ac_dummy; do
3808 test -z "$ac_dir" && ac_dir=.
3809 if test -f $ac_dir/${ac_tool_prefix}file; then
3810 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3811 if test -n "$file_magic_test_file"; then
3812 case $deplibs_check_method in
3814 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3815 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3816 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3817 egrep "$file_magic_regex" > /dev/null; then
3822 *** Warning: the command libtool uses to detect shared libraries,
3823 *** $file_magic_cmd, produces output that libtool cannot recognize.
3824 *** The result is that libtool may fail to recognize shared libraries
3825 *** as such. This will affect the creation of libtool libraries that
3826 *** depend on shared libraries, but programs linked with such libtool
3827 *** libraries will work regardless of this problem. Nevertheless, you
3828 *** may want to report the problem to your system manager and/or to
3829 *** bug-libtool@gnu.org
3839 MAGIC_CMD="$ac_save_MAGIC_CMD"
3844 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3845 if test -n "$MAGIC_CMD"; then
3846 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3847 echo "${ECHO_T}$MAGIC_CMD" >&6
3849 echo "$as_me:$LINENO: result: no" >&5
3850 echo "${ECHO_T}no" >&6
3853 if test -z "$lt_cv_path_MAGIC_CMD"; then
3854 if test -n "$ac_tool_prefix"; then
3855 echo "$as_me:$LINENO: checking for file" >&5
3856 echo $ECHO_N "checking for file... $ECHO_C" >&6
3857 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3858 echo $ECHO_N "(cached) $ECHO_C" >&6
3862 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3865 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3868 ac_save_MAGIC_CMD="$MAGIC_CMD"
3869 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3870 ac_dummy="/usr/bin:$PATH"
3871 for ac_dir in $ac_dummy; do
3872 test -z "$ac_dir" && ac_dir=.
3873 if test -f $ac_dir/file; then
3874 lt_cv_path_MAGIC_CMD="$ac_dir/file"
3875 if test -n "$file_magic_test_file"; then
3876 case $deplibs_check_method in
3878 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3879 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3880 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3881 egrep "$file_magic_regex" > /dev/null; then
3886 *** Warning: the command libtool uses to detect shared libraries,
3887 *** $file_magic_cmd, produces output that libtool cannot recognize.
3888 *** The result is that libtool may fail to recognize shared libraries
3889 *** as such. This will affect the creation of libtool libraries that
3890 *** depend on shared libraries, but programs linked with such libtool
3891 *** libraries will work regardless of this problem. Nevertheless, you
3892 *** may want to report the problem to your system manager and/or to
3893 *** bug-libtool@gnu.org
3903 MAGIC_CMD="$ac_save_MAGIC_CMD"
3908 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3909 if test -n "$MAGIC_CMD"; then
3910 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3911 echo "${ECHO_T}$MAGIC_CMD" >&6
3913 echo "$as_me:$LINENO: result: no" >&5
3914 echo "${ECHO_T}no" >&6
3926 if test -n "$ac_tool_prefix"; then
3927 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3928 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3929 echo "$as_me:$LINENO: checking for $ac_word" >&5
3930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3931 if test "${ac_cv_prog_RANLIB+set}" = set; then
3932 echo $ECHO_N "(cached) $ECHO_C" >&6
3934 if test -n "$RANLIB"; then
3935 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3941 test -z "$as_dir" && as_dir=.
3942 for ac_exec_ext in '' $ac_executable_extensions; do
3943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3944 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3953 RANLIB=$ac_cv_prog_RANLIB
3954 if test -n "$RANLIB"; then
3955 echo "$as_me:$LINENO: result: $RANLIB" >&5
3956 echo "${ECHO_T}$RANLIB" >&6
3958 echo "$as_me:$LINENO: result: no" >&5
3959 echo "${ECHO_T}no" >&6
3963 if test -z "$ac_cv_prog_RANLIB"; then
3964 ac_ct_RANLIB=$RANLIB
3965 # Extract the first word of "ranlib", so it can be a program name with args.
3966 set dummy ranlib; ac_word=$2
3967 echo "$as_me:$LINENO: checking for $ac_word" >&5
3968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3969 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3970 echo $ECHO_N "(cached) $ECHO_C" >&6
3972 if test -n "$ac_ct_RANLIB"; then
3973 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3979 test -z "$as_dir" && as_dir=.
3980 for ac_exec_ext in '' $ac_executable_extensions; do
3981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3982 ac_cv_prog_ac_ct_RANLIB="ranlib"
3983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3989 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3992 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3993 if test -n "$ac_ct_RANLIB"; then
3994 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3995 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3997 echo "$as_me:$LINENO: result: no" >&5
3998 echo "${ECHO_T}no" >&6
4001 RANLIB=$ac_ct_RANLIB
4003 RANLIB="$ac_cv_prog_RANLIB"
4006 if test -n "$ac_tool_prefix"; then
4007 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4008 set dummy ${ac_tool_prefix}strip; ac_word=$2
4009 echo "$as_me:$LINENO: checking for $ac_word" >&5
4010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4011 if test "${ac_cv_prog_STRIP+set}" = set; then
4012 echo $ECHO_N "(cached) $ECHO_C" >&6
4014 if test -n "$STRIP"; then
4015 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4021 test -z "$as_dir" && as_dir=.
4022 for ac_exec_ext in '' $ac_executable_extensions; do
4023 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4024 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4033 STRIP=$ac_cv_prog_STRIP
4034 if test -n "$STRIP"; then
4035 echo "$as_me:$LINENO: result: $STRIP" >&5
4036 echo "${ECHO_T}$STRIP" >&6
4038 echo "$as_me:$LINENO: result: no" >&5
4039 echo "${ECHO_T}no" >&6
4043 if test -z "$ac_cv_prog_STRIP"; then
4045 # Extract the first word of "strip", so it can be a program name with args.
4046 set dummy strip; ac_word=$2
4047 echo "$as_me:$LINENO: checking for $ac_word" >&5
4048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4049 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4050 echo $ECHO_N "(cached) $ECHO_C" >&6
4052 if test -n "$ac_ct_STRIP"; then
4053 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4059 test -z "$as_dir" && as_dir=.
4060 for ac_exec_ext in '' $ac_executable_extensions; do
4061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4062 ac_cv_prog_ac_ct_STRIP="strip"
4063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4069 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4072 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4073 if test -n "$ac_ct_STRIP"; then
4074 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4075 echo "${ECHO_T}$ac_ct_STRIP" >&6
4077 echo "$as_me:$LINENO: result: no" >&5
4078 echo "${ECHO_T}no" >&6
4083 STRIP="$ac_cv_prog_STRIP"
4087 # Check for any special flags to pass to ltconfig.
4088 libtool_flags="--cache-file=$cache_file"
4089 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4090 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4091 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4092 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4093 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4096 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4097 if test "${enable_libtool_lock+set}" = set; then
4098 enableval="$enable_libtool_lock"
4101 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4102 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4105 # Check whether --with-pic or --without-pic was given.
4106 if test "${with_pic+set}" = set; then
4112 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4113 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4115 # Some flags need to be propagated to the compiler or linker for good
4119 # Find out which ABI we are using.
4120 echo '#line 4120 "configure"' > conftest.$ac_ext
4121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4122 (eval $ac_compile) 2>&5
4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4125 (exit $ac_status); }; then
4126 if test "$lt_cv_prog_gnu_ld" = yes; then
4127 case `/usr/bin/file conftest.$ac_objext` in
4129 LD="${LD-ld} -melf32bsmip"
4132 LD="${LD-ld} -melf32bmipn32"
4135 LD="${LD-ld} -melf64bmip"
4139 case `/usr/bin/file conftest.$ac_objext` in
4156 # Find out which ABI we are using.
4157 echo 'int i;' > conftest.$ac_ext
4158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4159 (eval $ac_compile) 2>&5
4161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4162 (exit $ac_status); }; then
4163 case "`/usr/bin/file conftest.o`" in
4175 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4176 # Find out which ABI we are using.
4177 echo 'int i;' > conftest.$ac_ext
4178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4179 (eval $ac_compile) 2>&5
4181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182 (exit $ac_status); }; then
4183 case "`/usr/bin/file conftest.o`" in
4187 LD="${LD-ld} -m elf_i386"
4189 ppc64-*linux*|powerpc64-*linux*)
4190 LD="${LD-ld} -m elf32ppclinux"
4193 LD="${LD-ld} -m elf_s390"
4196 LD="${LD-ld} -m elf32_sparc"
4203 LD="${LD-ld} -m elf_x86_64"
4205 ppc*-*linux*|powerpc*-*linux*)
4206 LD="${LD-ld} -m elf64ppc"
4209 LD="${LD-ld} -m elf64_s390"
4212 LD="${LD-ld} -m elf64_sparc"
4222 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4223 SAVE_CFLAGS="$CFLAGS"
4224 CFLAGS="$CFLAGS -belf"
4225 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4226 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4227 if test "${lt_cv_cc_needs_belf+set}" = set; then
4228 echo $ECHO_N "(cached) $ECHO_C" >&6
4233 ac_cpp='$CPP $CPPFLAGS'
4234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4238 if test x$gcc_no_link = xyes; then
4239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4241 { (exit 1); exit 1; }; }
4243 cat >conftest.$ac_ext <<_ACEOF
4246 cat confdefs.h >>conftest.$ac_ext
4247 cat >>conftest.$ac_ext <<_ACEOF
4248 /* end confdefs.h. */
4258 rm -f conftest.$ac_objext conftest$ac_exeext
4259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4260 (eval $ac_link) 2>conftest.er1
4262 grep -v '^ *+' conftest.er1 >conftest.err
4264 cat conftest.err >&5
4265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266 (exit $ac_status); } &&
4267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272 (exit $ac_status); }; } &&
4273 { ac_try='test -s conftest$ac_exeext'
4274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278 (exit $ac_status); }; }; then
4279 lt_cv_cc_needs_belf=yes
4281 echo "$as_me: failed program was:" >&5
4282 sed 's/^/| /' conftest.$ac_ext >&5
4284 lt_cv_cc_needs_belf=no
4286 rm -f conftest.err conftest.$ac_objext \
4287 conftest$ac_exeext conftest.$ac_ext
4289 ac_cpp='$CPP $CPPFLAGS'
4290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4295 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4296 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4297 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4298 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4299 CFLAGS="$SAVE_CFLAGS"
4307 # Save cache, so that ltconfig can load it
4308 cat >confcache <<\_ACEOF
4309 # This file is a shell script that caches the results of configure
4310 # tests run on this system so they can be shared between configure
4311 # scripts and configure runs, see configure's option --config-cache.
4312 # It is not useful on other systems. If it contains results you don't
4313 # want to keep, you may remove or edit it.
4315 # config.status only pays attention to the cache file if you give it
4316 # the --recheck option to rerun configure.
4318 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4319 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4324 # The following way of writing the cache mishandles newlines in values,
4325 # but we know of no workaround that is simple, portable, and efficient.
4326 # So, don't put newlines in cache variables' values.
4327 # Ultrix sh set writes to stderr and can't be redirected directly,
4328 # and sets the high bit in the cache file unless we assign to the vars.
4331 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4333 # `set' does not quote correctly, so add quotes (double-quote
4334 # substitution turns \\\\ into \\, and sed turns \\ into \).
4337 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4340 # `set' quotes correctly as required by POSIX, so do not add quotes.
4342 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4349 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4351 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4353 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4354 if test -w $cache_file; then
4355 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4356 cat confcache >$cache_file
4358 echo "not updating unwritable cache $cache_file"
4363 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4364 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4365 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4366 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4367 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4368 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4369 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4370 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4371 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4372 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4373 echo "$as_me: error: libtool configure failed" >&2;}
4374 { (exit 1); exit 1; }; }
4376 # Reload cache, that may have been modified by ltconfig
4377 if test -r "$cache_file"; then
4378 # Some versions of bash will fail to source /dev/null (special
4379 # files actually), so we avoid doing that.
4380 if test -f "$cache_file"; then
4381 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4382 echo "$as_me: loading cache $cache_file" >&6;}
4384 [\\/]* | ?:[\\/]* ) . $cache_file;;
4385 *) . ./$cache_file;;
4389 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4390 echo "$as_me: creating cache $cache_file" >&6;}
4395 # This can be used to rebuild libtool when needed
4396 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4398 # Always use our own libtool.
4399 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4401 # Redirect the config.log output again, so that the ltconfig log is not
4402 # clobbered by the next message.
4403 exec 5>>./config.log
4412 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4414 # We need gfortran to compile parts of the library
4415 # We can't use AC_PROG_FC because it expects a fully working gfortran.
4416 #AC_PROG_FC(gfortran)
4418 ac_ext=${FC_SRCEXT-f}
4419 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4420 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4421 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4422 if test -n "$ac_tool_prefix"; then
4423 for ac_prog in gfortran
4425 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4426 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4427 echo "$as_me:$LINENO: checking for $ac_word" >&5
4428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4429 if test "${ac_cv_prog_FC+set}" = set; then
4430 echo $ECHO_N "(cached) $ECHO_C" >&6
4432 if test -n "$FC"; then
4433 ac_cv_prog_FC="$FC" # Let the user override the test.
4435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4439 test -z "$as_dir" && as_dir=.
4440 for ac_exec_ext in '' $ac_executable_extensions; do
4441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4442 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4452 if test -n "$FC"; then
4453 echo "$as_me:$LINENO: result: $FC" >&5
4454 echo "${ECHO_T}$FC" >&6
4456 echo "$as_me:$LINENO: result: no" >&5
4457 echo "${ECHO_T}no" >&6
4460 test -n "$FC" && break
4463 if test -z "$FC"; then
4465 for ac_prog in gfortran
4467 # Extract the first word of "$ac_prog", so it can be a program name with args.
4468 set dummy $ac_prog; ac_word=$2
4469 echo "$as_me:$LINENO: checking for $ac_word" >&5
4470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4471 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4472 echo $ECHO_N "(cached) $ECHO_C" >&6
4474 if test -n "$ac_ct_FC"; then
4475 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4481 test -z "$as_dir" && as_dir=.
4482 for ac_exec_ext in '' $ac_executable_extensions; do
4483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4484 ac_cv_prog_ac_ct_FC="$ac_prog"
4485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4493 ac_ct_FC=$ac_cv_prog_ac_ct_FC
4494 if test -n "$ac_ct_FC"; then
4495 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4496 echo "${ECHO_T}$ac_ct_FC" >&6
4498 echo "$as_me:$LINENO: result: no" >&5
4499 echo "${ECHO_T}no" >&6
4502 test -n "$ac_ct_FC" && break
4509 # Provide some information about the compiler.
4510 echo "$as_me:4510:" \
4511 "checking for Fortran compiler version" >&5
4512 ac_compiler=`set X $ac_compile; echo $2`
4513 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4514 (eval $ac_compiler --version </dev/null >&5) 2>&5
4516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4517 (exit $ac_status); }
4518 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4519 (eval $ac_compiler -v </dev/null >&5) 2>&5
4521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4522 (exit $ac_status); }
4523 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4524 (eval $ac_compiler -V </dev/null >&5) 2>&5
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); }
4530 # If we don't use `.F' as extension, the preprocessor is not run on the
4531 # input file. (Note that this only needs to work for GNU compilers.)
4534 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4535 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4536 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4537 echo $ECHO_N "(cached) $ECHO_C" >&6
4539 cat >conftest.$ac_ext <<_ACEOF
4547 rm -f conftest.$ac_objext
4548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4549 (eval $ac_compile) 2>conftest.er1
4551 grep -v '^ *+' conftest.er1 >conftest.err
4553 cat conftest.err >&5
4554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4555 (exit $ac_status); } &&
4556 { ac_try='test -z "$ac_fc_werror_flag" || test ! -s conftest.err'
4557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4561 (exit $ac_status); }; } &&
4562 { ac_try='test -s conftest.$ac_objext'
4563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4567 (exit $ac_status); }; }; then
4570 echo "$as_me: failed program was:" >&5
4571 sed 's/^/| /' conftest.$ac_ext >&5
4575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4576 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4579 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4580 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4582 ac_test_FFLAGS=${FCFLAGS+set}
4583 ac_save_FFLAGS=$FCFLAGS
4585 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4586 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4587 if test "${ac_cv_prog_fc_g+set}" = set; then
4588 echo $ECHO_N "(cached) $ECHO_C" >&6
4591 cat >conftest.$ac_ext <<_ACEOF
4596 rm -f conftest.$ac_objext
4597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4598 (eval $ac_compile) 2>conftest.er1
4600 grep -v '^ *+' conftest.er1 >conftest.err
4602 cat conftest.err >&5
4603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604 (exit $ac_status); } &&
4605 { ac_try='test -z "$ac_fc_werror_flag" || test ! -s conftest.err'
4606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610 (exit $ac_status); }; } &&
4611 { ac_try='test -s conftest.$ac_objext'
4612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616 (exit $ac_status); }; }; then
4619 echo "$as_me: failed program was:" >&5
4620 sed 's/^/| /' conftest.$ac_ext >&5
4624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4627 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4628 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4629 if test "$ac_test_FFLAGS" = set; then
4630 FCFLAGS=$ac_save_FFLAGS
4631 elif test $ac_cv_prog_fc_g = yes; then
4632 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4638 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4646 ac_cpp='$CPP $CPPFLAGS'
4647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4651 FCFLAGS="$FCFLAGS -Wall -fno-repack-arrays -fno-underscoring"
4653 # extra LD Flags which are required for targets
4656 # Darwin needs -single_module when linking libgfortran
4657 extra_ldflags_libgfortran=-Wl,-single_module
4662 # Check whether --enable-largefile or --disable-largefile was given.
4663 if test "${enable_largefile+set}" = set; then
4664 enableval="$enable_largefile"
4667 if test "$enable_largefile" != no; then
4669 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4670 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4671 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4672 echo $ECHO_N "(cached) $ECHO_C" >&6
4674 ac_cv_sys_largefile_CC=no
4675 if test "$GCC" != yes; then
4678 # IRIX 6.2 and later do not support large files by default,
4679 # so use the C compiler's -n32 option if that helps.
4680 cat >conftest.$ac_ext <<_ACEOF
4683 cat confdefs.h >>conftest.$ac_ext
4684 cat >>conftest.$ac_ext <<_ACEOF
4685 /* end confdefs.h. */
4686 #include <sys/types.h>
4687 /* Check that off_t can represent 2**63 - 1 correctly.
4688 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4689 since some C++ compilers masquerading as C compilers
4690 incorrectly reject 9223372036854775807. */
4691 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4692 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4693 && LARGE_OFF_T % 2147483647 == 1)
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" || test ! -s conftest.err'
4713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4717 (exit $ac_status); }; } &&
4718 { ac_try='test -s conftest.$ac_objext'
4719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4723 (exit $ac_status); }; }; then
4726 echo "$as_me: failed program was:" >&5
4727 sed 's/^/| /' conftest.$ac_ext >&5
4730 rm -f conftest.err conftest.$ac_objext
4732 rm -f conftest.$ac_objext
4733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4734 (eval $ac_compile) 2>conftest.er1
4736 grep -v '^ *+' conftest.er1 >conftest.err
4738 cat conftest.err >&5
4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 (exit $ac_status); } &&
4741 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); }; } &&
4747 { ac_try='test -s conftest.$ac_objext'
4748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); }; }; then
4753 ac_cv_sys_largefile_CC=' -n32'; break
4755 echo "$as_me: failed program was:" >&5
4756 sed 's/^/| /' conftest.$ac_ext >&5
4759 rm -f conftest.err conftest.$ac_objext
4763 rm -f conftest.$ac_ext
4766 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4767 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4768 if test "$ac_cv_sys_largefile_CC" != no; then
4769 CC=$CC$ac_cv_sys_largefile_CC
4772 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4773 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4774 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4775 echo $ECHO_N "(cached) $ECHO_C" >&6
4778 ac_cv_sys_file_offset_bits=no
4779 cat >conftest.$ac_ext <<_ACEOF
4782 cat confdefs.h >>conftest.$ac_ext
4783 cat >>conftest.$ac_ext <<_ACEOF
4784 /* end confdefs.h. */
4785 #include <sys/types.h>
4786 /* Check that off_t can represent 2**63 - 1 correctly.
4787 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4788 since some C++ compilers masquerading as C compilers
4789 incorrectly reject 9223372036854775807. */
4790 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4791 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4792 && LARGE_OFF_T % 2147483647 == 1)
4802 rm -f conftest.$ac_objext
4803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4804 (eval $ac_compile) 2>conftest.er1
4806 grep -v '^ *+' conftest.er1 >conftest.err
4808 cat conftest.err >&5
4809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4810 (exit $ac_status); } &&
4811 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816 (exit $ac_status); }; } &&
4817 { ac_try='test -s conftest.$ac_objext'
4818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822 (exit $ac_status); }; }; then
4825 echo "$as_me: failed program was:" >&5
4826 sed 's/^/| /' conftest.$ac_ext >&5
4829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4830 cat >conftest.$ac_ext <<_ACEOF
4833 cat confdefs.h >>conftest.$ac_ext
4834 cat >>conftest.$ac_ext <<_ACEOF
4835 /* end confdefs.h. */
4836 #define _FILE_OFFSET_BITS 64
4837 #include <sys/types.h>
4838 /* Check that off_t can represent 2**63 - 1 correctly.
4839 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4840 since some C++ compilers masquerading as C compilers
4841 incorrectly reject 9223372036854775807. */
4842 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4843 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4844 && LARGE_OFF_T % 2147483647 == 1)
4854 rm -f conftest.$ac_objext
4855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4856 (eval $ac_compile) 2>conftest.er1
4858 grep -v '^ *+' conftest.er1 >conftest.err
4860 cat conftest.err >&5
4861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4862 (exit $ac_status); } &&
4863 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4868 (exit $ac_status); }; } &&
4869 { ac_try='test -s conftest.$ac_objext'
4870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); }; }; then
4875 ac_cv_sys_file_offset_bits=64; break
4877 echo "$as_me: failed program was:" >&5
4878 sed 's/^/| /' conftest.$ac_ext >&5
4881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4885 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4886 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4887 if test "$ac_cv_sys_file_offset_bits" != no; then
4889 cat >>confdefs.h <<_ACEOF
4890 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4895 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4896 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4897 if test "${ac_cv_sys_large_files+set}" = set; then
4898 echo $ECHO_N "(cached) $ECHO_C" >&6
4901 ac_cv_sys_large_files=no
4902 cat >conftest.$ac_ext <<_ACEOF
4905 cat confdefs.h >>conftest.$ac_ext
4906 cat >>conftest.$ac_ext <<_ACEOF
4907 /* end confdefs.h. */
4908 #include <sys/types.h>
4909 /* Check that off_t can represent 2**63 - 1 correctly.
4910 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4911 since some C++ compilers masquerading as C compilers
4912 incorrectly reject 9223372036854775807. */
4913 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4914 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4915 && LARGE_OFF_T % 2147483647 == 1)
4925 rm -f conftest.$ac_objext
4926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4927 (eval $ac_compile) 2>conftest.er1
4929 grep -v '^ *+' conftest.er1 >conftest.err
4931 cat conftest.err >&5
4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 (exit $ac_status); } &&
4934 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); }; } &&
4940 { ac_try='test -s conftest.$ac_objext'
4941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4945 (exit $ac_status); }; }; then
4948 echo "$as_me: failed program was:" >&5
4949 sed 's/^/| /' conftest.$ac_ext >&5
4952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4953 cat >conftest.$ac_ext <<_ACEOF
4956 cat confdefs.h >>conftest.$ac_ext
4957 cat >>conftest.$ac_ext <<_ACEOF
4958 /* end confdefs.h. */
4959 #define _LARGE_FILES 1
4960 #include <sys/types.h>
4961 /* Check that off_t can represent 2**63 - 1 correctly.
4962 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4963 since some C++ compilers masquerading as C compilers
4964 incorrectly reject 9223372036854775807. */
4965 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4966 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4967 && LARGE_OFF_T % 2147483647 == 1)
4977 rm -f conftest.$ac_objext
4978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4979 (eval $ac_compile) 2>conftest.er1
4981 grep -v '^ *+' conftest.er1 >conftest.err
4983 cat conftest.err >&5
4984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4985 (exit $ac_status); } &&
4986 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4991 (exit $ac_status); }; } &&
4992 { ac_try='test -s conftest.$ac_objext'
4993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4997 (exit $ac_status); }; }; then
4998 ac_cv_sys_large_files=1; break
5000 echo "$as_me: failed program was:" >&5
5001 sed 's/^/| /' conftest.$ac_ext >&5
5004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5008 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5009 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5010 if test "$ac_cv_sys_large_files" != no; then
5012 cat >>confdefs.h <<_ACEOF
5013 #define _LARGE_FILES $ac_cv_sys_large_files
5020 if test x$gcc_no_link = xyes; then
5021 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
5022 ac_cv_func_mmap_fixed_mapped=no
5025 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
5027 ac_cpp='$CPP $CPPFLAGS'
5028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5031 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5032 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5033 # On Suns, sometimes $CPP names a directory.
5034 if test -n "$CPP" && test -d "$CPP"; then
5037 if test -z "$CPP"; then
5038 if test "${ac_cv_prog_CPP+set}" = set; then
5039 echo $ECHO_N "(cached) $ECHO_C" >&6
5041 # Double quotes because CPP needs to be expanded
5042 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5045 for ac_c_preproc_warn_flag in '' yes
5047 # Use a header file that comes with gcc, so configuring glibc
5048 # with a fresh cross-compiler works.
5049 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5050 # <limits.h> exists even on freestanding compilers.
5051 # On the NeXT, cc -E runs the code through the compiler's parser,
5052 # not just through cpp. "Syntax error" is here to catch this case.
5053 cat >conftest.$ac_ext <<_ACEOF
5056 cat confdefs.h >>conftest.$ac_ext
5057 cat >>conftest.$ac_ext <<_ACEOF
5058 /* end confdefs.h. */
5060 # include <limits.h>
5062 # include <assert.h>
5066 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5067 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5069 grep -v '^ *+' conftest.er1 >conftest.err
5071 cat conftest.err >&5
5072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073 (exit $ac_status); } >/dev/null; then
5074 if test -s conftest.err; then
5075 ac_cpp_err=$ac_c_preproc_warn_flag
5076 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5083 if test -z "$ac_cpp_err"; then
5086 echo "$as_me: failed program was:" >&5
5087 sed 's/^/| /' conftest.$ac_ext >&5
5089 # Broken: fails on valid input.
5092 rm -f conftest.err conftest.$ac_ext
5094 # OK, works on sane cases. Now check whether non-existent headers
5095 # can be detected and how.
5096 cat >conftest.$ac_ext <<_ACEOF
5099 cat confdefs.h >>conftest.$ac_ext
5100 cat >>conftest.$ac_ext <<_ACEOF
5101 /* end confdefs.h. */
5102 #include <ac_nonexistent.h>
5104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5105 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5107 grep -v '^ *+' conftest.er1 >conftest.err
5109 cat conftest.err >&5
5110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5111 (exit $ac_status); } >/dev/null; then
5112 if test -s conftest.err; then
5113 ac_cpp_err=$ac_c_preproc_warn_flag
5114 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5121 if test -z "$ac_cpp_err"; then
5122 # Broken: success on invalid input.
5125 echo "$as_me: failed program was:" >&5
5126 sed 's/^/| /' conftest.$ac_ext >&5
5128 # Passes both tests.
5132 rm -f conftest.err conftest.$ac_ext
5135 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5136 rm -f conftest.err conftest.$ac_ext
5137 if $ac_preproc_ok; then
5149 echo "$as_me:$LINENO: result: $CPP" >&5
5150 echo "${ECHO_T}$CPP" >&6
5152 for ac_c_preproc_warn_flag in '' yes
5154 # Use a header file that comes with gcc, so configuring glibc
5155 # with a fresh cross-compiler works.
5156 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5157 # <limits.h> exists even on freestanding compilers.
5158 # On the NeXT, cc -E runs the code through the compiler's parser,
5159 # not just through cpp. "Syntax error" is here to catch this case.
5160 cat >conftest.$ac_ext <<_ACEOF
5163 cat confdefs.h >>conftest.$ac_ext
5164 cat >>conftest.$ac_ext <<_ACEOF
5165 /* end confdefs.h. */
5167 # include <limits.h>
5169 # include <assert.h>
5173 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5174 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5176 grep -v '^ *+' conftest.er1 >conftest.err
5178 cat conftest.err >&5
5179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5180 (exit $ac_status); } >/dev/null; then
5181 if test -s conftest.err; then
5182 ac_cpp_err=$ac_c_preproc_warn_flag
5183 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5190 if test -z "$ac_cpp_err"; then
5193 echo "$as_me: failed program was:" >&5
5194 sed 's/^/| /' conftest.$ac_ext >&5
5196 # Broken: fails on valid input.
5199 rm -f conftest.err conftest.$ac_ext
5201 # OK, works on sane cases. Now check whether non-existent headers
5202 # can be detected and how.
5203 cat >conftest.$ac_ext <<_ACEOF
5206 cat confdefs.h >>conftest.$ac_ext
5207 cat >>conftest.$ac_ext <<_ACEOF
5208 /* end confdefs.h. */
5209 #include <ac_nonexistent.h>
5211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5212 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5214 grep -v '^ *+' conftest.er1 >conftest.err
5216 cat conftest.err >&5
5217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5218 (exit $ac_status); } >/dev/null; then
5219 if test -s conftest.err; then
5220 ac_cpp_err=$ac_c_preproc_warn_flag
5221 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5228 if test -z "$ac_cpp_err"; then
5229 # Broken: success on invalid input.
5232 echo "$as_me: failed program was:" >&5
5233 sed 's/^/| /' conftest.$ac_ext >&5
5235 # Passes both tests.
5239 rm -f conftest.err conftest.$ac_ext
5242 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5243 rm -f conftest.err conftest.$ac_ext
5244 if $ac_preproc_ok; then
5247 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5248 See \`config.log' for more details." >&5
5249 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5250 See \`config.log' for more details." >&2;}
5251 { (exit 1); exit 1; }; }
5255 ac_cpp='$CPP $CPPFLAGS'
5256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5261 echo "$as_me:$LINENO: checking for egrep" >&5
5262 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5263 if test "${ac_cv_prog_egrep+set}" = set; then
5264 echo $ECHO_N "(cached) $ECHO_C" >&6
5266 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5267 then ac_cv_prog_egrep='grep -E'
5268 else ac_cv_prog_egrep='egrep'
5271 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5272 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5273 EGREP=$ac_cv_prog_egrep
5276 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5277 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5278 if test "${ac_cv_header_stdc+set}" = set; then
5279 echo $ECHO_N "(cached) $ECHO_C" >&6
5281 cat >conftest.$ac_ext <<_ACEOF
5284 cat confdefs.h >>conftest.$ac_ext
5285 cat >>conftest.$ac_ext <<_ACEOF
5286 /* end confdefs.h. */
5300 rm -f conftest.$ac_objext
5301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5302 (eval $ac_compile) 2>conftest.er1
5304 grep -v '^ *+' conftest.er1 >conftest.err
5306 cat conftest.err >&5
5307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5308 (exit $ac_status); } &&
5309 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5314 (exit $ac_status); }; } &&
5315 { ac_try='test -s conftest.$ac_objext'
5316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5320 (exit $ac_status); }; }; then
5321 ac_cv_header_stdc=yes
5323 echo "$as_me: failed program was:" >&5
5324 sed 's/^/| /' conftest.$ac_ext >&5
5326 ac_cv_header_stdc=no
5328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5330 if test $ac_cv_header_stdc = yes; then
5331 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5332 cat >conftest.$ac_ext <<_ACEOF
5335 cat confdefs.h >>conftest.$ac_ext
5336 cat >>conftest.$ac_ext <<_ACEOF
5337 /* end confdefs.h. */
5341 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5342 $EGREP "memchr" >/dev/null 2>&1; then
5345 ac_cv_header_stdc=no
5351 if test $ac_cv_header_stdc = yes; then
5352 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5353 cat >conftest.$ac_ext <<_ACEOF
5356 cat confdefs.h >>conftest.$ac_ext
5357 cat >>conftest.$ac_ext <<_ACEOF
5358 /* end confdefs.h. */
5362 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5363 $EGREP "free" >/dev/null 2>&1; then
5366 ac_cv_header_stdc=no
5372 if test $ac_cv_header_stdc = yes; then
5373 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5374 if test "$cross_compiling" = yes; then
5377 cat >conftest.$ac_ext <<_ACEOF
5380 cat confdefs.h >>conftest.$ac_ext
5381 cat >>conftest.$ac_ext <<_ACEOF
5382 /* end confdefs.h. */
5384 #if ((' ' & 0x0FF) == 0x020)
5385 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5386 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5388 # define ISLOWER(c) \
5389 (('a' <= (c) && (c) <= 'i') \
5390 || ('j' <= (c) && (c) <= 'r') \
5391 || ('s' <= (c) && (c) <= 'z'))
5392 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5395 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5400 for (i = 0; i < 256; i++)
5401 if (XOR (islower (i), ISLOWER (i))
5402 || toupper (i) != TOUPPER (i))
5407 rm -f conftest$ac_exeext
5408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5409 (eval $ac_link) 2>&5
5411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5412 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417 (exit $ac_status); }; }; then
5420 echo "$as_me: program exited with status $ac_status" >&5
5421 echo "$as_me: failed program was:" >&5
5422 sed 's/^/| /' conftest.$ac_ext >&5
5425 ac_cv_header_stdc=no
5427 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5431 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5432 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5433 if test $ac_cv_header_stdc = yes; then
5435 cat >>confdefs.h <<\_ACEOF
5436 #define STDC_HEADERS 1
5441 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5451 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5452 inttypes.h stdint.h unistd.h
5454 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5455 echo "$as_me:$LINENO: checking for $ac_header" >&5
5456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5458 echo $ECHO_N "(cached) $ECHO_C" >&6
5460 cat >conftest.$ac_ext <<_ACEOF
5463 cat confdefs.h >>conftest.$ac_ext
5464 cat >>conftest.$ac_ext <<_ACEOF
5465 /* end confdefs.h. */
5466 $ac_includes_default
5468 #include <$ac_header>
5470 rm -f conftest.$ac_objext
5471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5472 (eval $ac_compile) 2>conftest.er1
5474 grep -v '^ *+' conftest.er1 >conftest.err
5476 cat conftest.err >&5
5477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5478 (exit $ac_status); } &&
5479 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5484 (exit $ac_status); }; } &&
5485 { ac_try='test -s conftest.$ac_objext'
5486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490 (exit $ac_status); }; }; then
5491 eval "$as_ac_Header=yes"
5493 echo "$as_me: failed program was:" >&5
5494 sed 's/^/| /' conftest.$ac_ext >&5
5496 eval "$as_ac_Header=no"
5498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5502 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5503 cat >>confdefs.h <<_ACEOF
5504 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5514 for ac_header in stdlib.h unistd.h
5516 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5518 echo "$as_me:$LINENO: checking for $ac_header" >&5
5519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5521 echo $ECHO_N "(cached) $ECHO_C" >&6
5523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5524 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5526 # Is the header compilable?
5527 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5528 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5529 cat >conftest.$ac_ext <<_ACEOF
5532 cat confdefs.h >>conftest.$ac_ext
5533 cat >>conftest.$ac_ext <<_ACEOF
5534 /* end confdefs.h. */
5535 $ac_includes_default
5536 #include <$ac_header>
5538 rm -f conftest.$ac_objext
5539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5540 (eval $ac_compile) 2>conftest.er1
5542 grep -v '^ *+' conftest.er1 >conftest.err
5544 cat conftest.err >&5
5545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5546 (exit $ac_status); } &&
5547 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5552 (exit $ac_status); }; } &&
5553 { ac_try='test -s conftest.$ac_objext'
5554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5558 (exit $ac_status); }; }; then
5559 ac_header_compiler=yes
5561 echo "$as_me: failed program was:" >&5
5562 sed 's/^/| /' conftest.$ac_ext >&5
5564 ac_header_compiler=no
5566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5567 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5568 echo "${ECHO_T}$ac_header_compiler" >&6
5570 # Is the header present?
5571 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5572 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5573 cat >conftest.$ac_ext <<_ACEOF
5576 cat confdefs.h >>conftest.$ac_ext
5577 cat >>conftest.$ac_ext <<_ACEOF
5578 /* end confdefs.h. */
5579 #include <$ac_header>
5581 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5582 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5584 grep -v '^ *+' conftest.er1 >conftest.err
5586 cat conftest.err >&5
5587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5588 (exit $ac_status); } >/dev/null; then
5589 if test -s conftest.err; then
5590 ac_cpp_err=$ac_c_preproc_warn_flag
5591 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5598 if test -z "$ac_cpp_err"; then
5599 ac_header_preproc=yes
5601 echo "$as_me: failed program was:" >&5
5602 sed 's/^/| /' conftest.$ac_ext >&5
5604 ac_header_preproc=no
5606 rm -f conftest.err conftest.$ac_ext
5607 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5608 echo "${ECHO_T}$ac_header_preproc" >&6
5610 # So? What about this header?
5611 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5613 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5614 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5616 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5617 ac_header_preproc=yes
5620 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5621 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5622 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5623 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5624 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5625 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5626 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5627 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5628 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5629 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5630 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5631 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5634 ## ------------------------------------------------------ ##
5635 ## Report this to the GNU Fortran Runtime Library lists. ##
5636 ## ------------------------------------------------------ ##
5639 sed "s/^/$as_me: WARNING: /" >&2
5642 echo "$as_me:$LINENO: checking for $ac_header" >&5
5643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5645 echo $ECHO_N "(cached) $ECHO_C" >&6
5647 eval "$as_ac_Header=\$ac_header_preproc"
5649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5650 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5653 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5654 cat >>confdefs.h <<_ACEOF
5655 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5663 for ac_func in getpagesize
5665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5666 echo "$as_me:$LINENO: checking for $ac_func" >&5
5667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5668 if eval "test \"\${$as_ac_var+set}\" = set"; then
5669 echo $ECHO_N "(cached) $ECHO_C" >&6
5671 if test x$gcc_no_link = xyes; then
5672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5674 { (exit 1); exit 1; }; }
5676 cat >conftest.$ac_ext <<_ACEOF
5679 cat confdefs.h >>conftest.$ac_ext
5680 cat >>conftest.$ac_ext <<_ACEOF
5681 /* end confdefs.h. */
5682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5684 #define $ac_func innocuous_$ac_func
5686 /* System header to define __stub macros and hopefully few prototypes,
5687 which can conflict with char $ac_func (); below.
5688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5689 <limits.h> exists even on freestanding compilers. */
5692 # include <limits.h>
5694 # include <assert.h>
5699 /* Override any gcc2 internal prototype to avoid an error. */
5704 /* We use char because int might match the return type of a gcc2
5705 builtin and then its argument prototype would still apply. */
5707 /* The GNU C library defines this for functions which it implements
5708 to always fail with ENOSYS. Some functions are actually named
5709 something starting with __ and the normal name is an alias. */
5710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5713 char (*f) () = $ac_func;
5722 return f != $ac_func;
5727 rm -f conftest.$ac_objext conftest$ac_exeext
5728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5729 (eval $ac_link) 2>conftest.er1
5731 grep -v '^ *+' conftest.er1 >conftest.err
5733 cat conftest.err >&5
5734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5735 (exit $ac_status); } &&
5736 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5741 (exit $ac_status); }; } &&
5742 { ac_try='test -s conftest$ac_exeext'
5743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747 (exit $ac_status); }; }; then
5748 eval "$as_ac_var=yes"
5750 echo "$as_me: failed program was:" >&5
5751 sed 's/^/| /' conftest.$ac_ext >&5
5753 eval "$as_ac_var=no"
5755 rm -f conftest.err conftest.$ac_objext \
5756 conftest$ac_exeext conftest.$ac_ext
5758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5760 if test `eval echo '${'$as_ac_var'}'` = yes; then
5761 cat >>confdefs.h <<_ACEOF
5762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5768 echo "$as_me:$LINENO: checking for working mmap" >&5
5769 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5770 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5771 echo $ECHO_N "(cached) $ECHO_C" >&6
5773 if test "$cross_compiling" = yes; then
5774 ac_cv_func_mmap_fixed_mapped=no
5776 cat >conftest.$ac_ext <<_ACEOF
5779 cat confdefs.h >>conftest.$ac_ext
5780 cat >>conftest.$ac_ext <<_ACEOF
5781 /* end confdefs.h. */
5782 $ac_includes_default
5783 /* malloc might have been renamed as rpl_malloc. */
5786 /* Thanks to Mike Haertel and Jim Avera for this test.
5787 Here is a matrix of mmap possibilities:
5788 mmap private not fixed
5789 mmap private fixed at somewhere currently unmapped
5790 mmap private fixed at somewhere already mapped
5791 mmap shared not fixed
5792 mmap shared fixed at somewhere currently unmapped
5793 mmap shared fixed at somewhere already mapped
5794 For private mappings, we should verify that changes cannot be read()
5795 back from the file, nor mmap's back from the file at a different
5796 address. (There have been systems where private was not correctly
5797 implemented like the infamous i386 svr4.0, and systems where the
5798 VM page cache was not coherent with the file system buffer cache
5799 like early versions of FreeBSD and possibly contemporary NetBSD.)
5800 For shared mappings, we should conversely verify that changes get
5801 propagated back to all the places they're supposed to be.
5803 Grep wants private fixed already mapped.
5804 The main things grep needs to know about mmap are:
5805 * does it exist and is it safe to write into the mmap'd area
5806 * how to use it (BSD variants) */
5809 #include <sys/mman.h>
5811 #if !STDC_HEADERS && !HAVE_STDLIB_H
5815 /* This mess was copied from the GNU getpagesize.h. */
5816 #if !HAVE_GETPAGESIZE
5817 /* Assume that all systems that can run configure have sys/param.h. */
5818 # if !HAVE_SYS_PARAM_H
5819 # define HAVE_SYS_PARAM_H 1
5822 # ifdef _SC_PAGESIZE
5823 # define getpagesize() sysconf(_SC_PAGESIZE)
5824 # else /* no _SC_PAGESIZE */
5825 # if HAVE_SYS_PARAM_H
5826 # include <sys/param.h>
5827 # ifdef EXEC_PAGESIZE
5828 # define getpagesize() EXEC_PAGESIZE
5829 # else /* no EXEC_PAGESIZE */
5831 # define getpagesize() NBPG * CLSIZE
5834 # endif /* no CLSIZE */
5835 # else /* no NBPG */
5837 # define getpagesize() NBPC
5838 # else /* no NBPC */
5840 # define getpagesize() PAGESIZE
5841 # endif /* PAGESIZE */
5842 # endif /* no NBPC */
5843 # endif /* no NBPG */
5844 # endif /* no EXEC_PAGESIZE */
5845 # else /* no HAVE_SYS_PARAM_H */
5846 # define getpagesize() 8192 /* punt totally */
5847 # endif /* no HAVE_SYS_PARAM_H */
5848 # endif /* no _SC_PAGESIZE */
5850 #endif /* no HAVE_GETPAGESIZE */
5855 char *data, *data2, *data3;
5859 pagesize = getpagesize ();
5861 /* First, make a file with some known garbage in it. */
5862 data = (char *) malloc (pagesize);
5865 for (i = 0; i < pagesize; ++i)
5866 *(data + i) = rand ();
5868 fd = creat ("conftest.mmap", 0600);
5871 if (write (fd, data, pagesize) != pagesize)
5875 /* Next, try to mmap the file at a fixed address which already has
5876 something else allocated at it. If we can, also make sure that
5877 we see the same garbage. */
5878 fd = open ("conftest.mmap", O_RDWR);
5881 data2 = (char *) malloc (2 * pagesize);
5884 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5885 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5886 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5888 for (i = 0; i < pagesize; ++i)
5889 if (*(data + i) != *(data2 + i))
5892 /* Finally, make sure that changes to the mapped area do not
5893 percolate back to the file as seen by read(). (This is a bug on
5894 some variants of i386 svr4.0.) */
5895 for (i = 0; i < pagesize; ++i)
5896 *(data2 + i) = *(data2 + i) + 1;
5897 data3 = (char *) malloc (pagesize);
5900 if (read (fd, data3, pagesize) != pagesize)
5902 for (i = 0; i < pagesize; ++i)
5903 if (*(data + i) != *(data3 + i))
5909 rm -f conftest$ac_exeext
5910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5911 (eval $ac_link) 2>&5
5913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5914 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); }; }; then
5920 ac_cv_func_mmap_fixed_mapped=yes
5922 echo "$as_me: program exited with status $ac_status" >&5
5923 echo "$as_me: failed program was:" >&5
5924 sed 's/^/| /' conftest.$ac_ext >&5
5927 ac_cv_func_mmap_fixed_mapped=no
5929 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5932 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5933 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5934 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5936 cat >>confdefs.h <<\_ACEOF
5944 echo "$as_me:$LINENO: checking for off_t" >&5
5945 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5946 if test "${ac_cv_type_off_t+set}" = set; then
5947 echo $ECHO_N "(cached) $ECHO_C" >&6
5949 cat >conftest.$ac_ext <<_ACEOF
5952 cat confdefs.h >>conftest.$ac_ext
5953 cat >>conftest.$ac_ext <<_ACEOF
5954 /* end confdefs.h. */
5955 $ac_includes_default
5967 rm -f conftest.$ac_objext
5968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5969 (eval $ac_compile) 2>conftest.er1
5971 grep -v '^ *+' conftest.er1 >conftest.err
5973 cat conftest.err >&5
5974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5975 (exit $ac_status); } &&
5976 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5981 (exit $ac_status); }; } &&
5982 { ac_try='test -s conftest.$ac_objext'
5983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5987 (exit $ac_status); }; }; then
5988 ac_cv_type_off_t=yes
5990 echo "$as_me: failed program was:" >&5
5991 sed 's/^/| /' conftest.$ac_ext >&5
5995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5997 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5998 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5999 if test $ac_cv_type_off_t = yes; then
6003 cat >>confdefs.h <<_ACEOF
6010 # check header files
6011 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6012 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6013 if test "${ac_cv_header_stdc+set}" = set; then
6014 echo $ECHO_N "(cached) $ECHO_C" >&6
6016 cat >conftest.$ac_ext <<_ACEOF
6019 cat confdefs.h >>conftest.$ac_ext
6020 cat >>conftest.$ac_ext <<_ACEOF
6021 /* end confdefs.h. */
6035 rm -f conftest.$ac_objext
6036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6037 (eval $ac_compile) 2>conftest.er1
6039 grep -v '^ *+' conftest.er1 >conftest.err
6041 cat conftest.err >&5
6042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6043 (exit $ac_status); } &&
6044 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6049 (exit $ac_status); }; } &&
6050 { ac_try='test -s conftest.$ac_objext'
6051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6055 (exit $ac_status); }; }; then
6056 ac_cv_header_stdc=yes
6058 echo "$as_me: failed program was:" >&5
6059 sed 's/^/| /' conftest.$ac_ext >&5
6061 ac_cv_header_stdc=no
6063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6065 if test $ac_cv_header_stdc = yes; then
6066 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6067 cat >conftest.$ac_ext <<_ACEOF
6070 cat confdefs.h >>conftest.$ac_ext
6071 cat >>conftest.$ac_ext <<_ACEOF
6072 /* end confdefs.h. */
6076 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6077 $EGREP "memchr" >/dev/null 2>&1; then
6080 ac_cv_header_stdc=no
6086 if test $ac_cv_header_stdc = yes; then
6087 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6088 cat >conftest.$ac_ext <<_ACEOF
6091 cat confdefs.h >>conftest.$ac_ext
6092 cat >>conftest.$ac_ext <<_ACEOF
6093 /* end confdefs.h. */
6097 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6098 $EGREP "free" >/dev/null 2>&1; then
6101 ac_cv_header_stdc=no
6107 if test $ac_cv_header_stdc = yes; then
6108 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6109 if test "$cross_compiling" = yes; then
6112 cat >conftest.$ac_ext <<_ACEOF
6115 cat confdefs.h >>conftest.$ac_ext
6116 cat >>conftest.$ac_ext <<_ACEOF
6117 /* end confdefs.h. */
6119 #if ((' ' & 0x0FF) == 0x020)
6120 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6121 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6123 # define ISLOWER(c) \
6124 (('a' <= (c) && (c) <= 'i') \
6125 || ('j' <= (c) && (c) <= 'r') \
6126 || ('s' <= (c) && (c) <= 'z'))
6127 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6130 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6135 for (i = 0; i < 256; i++)
6136 if (XOR (islower (i), ISLOWER (i))
6137 || toupper (i) != TOUPPER (i))
6142 rm -f conftest$ac_exeext
6143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6144 (eval $ac_link) 2>&5
6146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6147 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152 (exit $ac_status); }; }; then
6155 echo "$as_me: program exited with status $ac_status" >&5
6156 echo "$as_me: failed program was:" >&5
6157 sed 's/^/| /' conftest.$ac_ext >&5
6160 ac_cv_header_stdc=no
6162 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6166 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6167 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6168 if test $ac_cv_header_stdc = yes; then
6170 cat >>confdefs.h <<\_ACEOF
6171 #define STDC_HEADERS 1
6183 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
6185 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6186 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6187 echo "$as_me:$LINENO: checking for $ac_header" >&5
6188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6189 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6190 echo $ECHO_N "(cached) $ECHO_C" >&6
6192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6193 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6195 # Is the header compilable?
6196 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6197 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6198 cat >conftest.$ac_ext <<_ACEOF
6201 cat confdefs.h >>conftest.$ac_ext
6202 cat >>conftest.$ac_ext <<_ACEOF
6203 /* end confdefs.h. */
6204 $ac_includes_default
6205 #include <$ac_header>
6207 rm -f conftest.$ac_objext
6208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6209 (eval $ac_compile) 2>conftest.er1
6211 grep -v '^ *+' conftest.er1 >conftest.err
6213 cat conftest.err >&5
6214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6215 (exit $ac_status); } &&
6216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); }; } &&
6222 { ac_try='test -s conftest.$ac_objext'
6223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6227 (exit $ac_status); }; }; then
6228 ac_header_compiler=yes
6230 echo "$as_me: failed program was:" >&5
6231 sed 's/^/| /' conftest.$ac_ext >&5
6233 ac_header_compiler=no
6235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6236 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6237 echo "${ECHO_T}$ac_header_compiler" >&6
6239 # Is the header present?
6240 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6241 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6242 cat >conftest.$ac_ext <<_ACEOF
6245 cat confdefs.h >>conftest.$ac_ext
6246 cat >>conftest.$ac_ext <<_ACEOF
6247 /* end confdefs.h. */
6248 #include <$ac_header>
6250 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6251 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6253 grep -v '^ *+' conftest.er1 >conftest.err
6255 cat conftest.err >&5
6256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6257 (exit $ac_status); } >/dev/null; then
6258 if test -s conftest.err; then
6259 ac_cpp_err=$ac_c_preproc_warn_flag
6260 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6267 if test -z "$ac_cpp_err"; then
6268 ac_header_preproc=yes
6270 echo "$as_me: failed program was:" >&5
6271 sed 's/^/| /' conftest.$ac_ext >&5
6273 ac_header_preproc=no
6275 rm -f conftest.err conftest.$ac_ext
6276 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6277 echo "${ECHO_T}$ac_header_preproc" >&6
6279 # So? What about this header?
6280 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6282 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6283 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6284 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6285 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6286 ac_header_preproc=yes
6289 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6290 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6291 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6292 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6293 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6294 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6295 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6296 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6298 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6299 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6300 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6303 ## ------------------------------------------------------ ##
6304 ## Report this to the GNU Fortran Runtime Library lists. ##
6305 ## ------------------------------------------------------ ##
6308 sed "s/^/$as_me: WARNING: /" >&2
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 eval "$as_ac_Header=\$ac_header_preproc"
6318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6322 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6323 cat >>confdefs.h <<_ACEOF
6324 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6336 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
6338 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6340 echo "$as_me:$LINENO: checking for $ac_header" >&5
6341 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6343 echo $ECHO_N "(cached) $ECHO_C" >&6
6345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6346 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6348 # Is the header compilable?
6349 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6350 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6351 cat >conftest.$ac_ext <<_ACEOF
6354 cat confdefs.h >>conftest.$ac_ext
6355 cat >>conftest.$ac_ext <<_ACEOF
6356 /* end confdefs.h. */
6357 $ac_includes_default
6358 #include <$ac_header>
6360 rm -f conftest.$ac_objext
6361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6362 (eval $ac_compile) 2>conftest.er1
6364 grep -v '^ *+' conftest.er1 >conftest.err
6366 cat conftest.err >&5
6367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6368 (exit $ac_status); } &&
6369 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6374 (exit $ac_status); }; } &&
6375 { ac_try='test -s conftest.$ac_objext'
6376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6380 (exit $ac_status); }; }; then
6381 ac_header_compiler=yes
6383 echo "$as_me: failed program was:" >&5
6384 sed 's/^/| /' conftest.$ac_ext >&5
6386 ac_header_compiler=no
6388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6389 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6390 echo "${ECHO_T}$ac_header_compiler" >&6
6392 # Is the header present?
6393 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6394 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6395 cat >conftest.$ac_ext <<_ACEOF
6398 cat confdefs.h >>conftest.$ac_ext
6399 cat >>conftest.$ac_ext <<_ACEOF
6400 /* end confdefs.h. */
6401 #include <$ac_header>
6403 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6404 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6406 grep -v '^ *+' conftest.er1 >conftest.err
6408 cat conftest.err >&5
6409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6410 (exit $ac_status); } >/dev/null; then
6411 if test -s conftest.err; then
6412 ac_cpp_err=$ac_c_preproc_warn_flag
6413 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6420 if test -z "$ac_cpp_err"; then
6421 ac_header_preproc=yes
6423 echo "$as_me: failed program was:" >&5
6424 sed 's/^/| /' conftest.$ac_ext >&5
6426 ac_header_preproc=no
6428 rm -f conftest.err conftest.$ac_ext
6429 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6430 echo "${ECHO_T}$ac_header_preproc" >&6
6432 # So? What about this header?
6433 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6435 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6436 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6437 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6438 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6439 ac_header_preproc=yes
6442 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6443 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6444 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6445 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6446 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6447 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6448 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6449 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6451 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6452 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6453 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6456 ## ------------------------------------------------------ ##
6457 ## Report this to the GNU Fortran Runtime Library lists. ##
6458 ## ------------------------------------------------------ ##
6461 sed "s/^/$as_me: WARNING: /" >&2
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 eval "$as_ac_Header=\$ac_header_preproc"
6471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6475 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6476 cat >>confdefs.h <<_ACEOF
6477 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6488 for ac_header in sys/mman.h sys/types.h sys/stat.h ieeefp.h
6490 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6492 echo "$as_me:$LINENO: checking for $ac_header" >&5
6493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6495 echo $ECHO_N "(cached) $ECHO_C" >&6
6497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6500 # Is the header compilable?
6501 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6502 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6503 cat >conftest.$ac_ext <<_ACEOF
6506 cat confdefs.h >>conftest.$ac_ext
6507 cat >>conftest.$ac_ext <<_ACEOF
6508 /* end confdefs.h. */
6509 $ac_includes_default
6510 #include <$ac_header>
6512 rm -f conftest.$ac_objext
6513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6514 (eval $ac_compile) 2>conftest.er1
6516 grep -v '^ *+' conftest.er1 >conftest.err
6518 cat conftest.err >&5
6519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6520 (exit $ac_status); } &&
6521 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6526 (exit $ac_status); }; } &&
6527 { ac_try='test -s conftest.$ac_objext'
6528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532 (exit $ac_status); }; }; then
6533 ac_header_compiler=yes
6535 echo "$as_me: failed program was:" >&5
6536 sed 's/^/| /' conftest.$ac_ext >&5
6538 ac_header_compiler=no
6540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6541 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6542 echo "${ECHO_T}$ac_header_compiler" >&6
6544 # Is the header present?
6545 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6546 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6547 cat >conftest.$ac_ext <<_ACEOF
6550 cat confdefs.h >>conftest.$ac_ext
6551 cat >>conftest.$ac_ext <<_ACEOF
6552 /* end confdefs.h. */
6553 #include <$ac_header>
6555 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6556 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6558 grep -v '^ *+' conftest.er1 >conftest.err
6560 cat conftest.err >&5
6561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6562 (exit $ac_status); } >/dev/null; then
6563 if test -s conftest.err; then
6564 ac_cpp_err=$ac_c_preproc_warn_flag
6565 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6572 if test -z "$ac_cpp_err"; then
6573 ac_header_preproc=yes
6575 echo "$as_me: failed program was:" >&5
6576 sed 's/^/| /' conftest.$ac_ext >&5
6578 ac_header_preproc=no
6580 rm -f conftest.err conftest.$ac_ext
6581 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6582 echo "${ECHO_T}$ac_header_preproc" >&6
6584 # So? What about this header?
6585 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6587 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6588 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6590 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6591 ac_header_preproc=yes
6594 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6595 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6596 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6597 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6598 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6599 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6600 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6601 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6603 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6604 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6605 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6608 ## ------------------------------------------------------ ##
6609 ## Report this to the GNU Fortran Runtime Library lists. ##
6610 ## ------------------------------------------------------ ##
6613 sed "s/^/$as_me: WARNING: /" >&2
6616 echo "$as_me:$LINENO: checking for $ac_header" >&5
6617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6619 echo $ECHO_N "(cached) $ECHO_C" >&6
6621 eval "$as_ac_Header=\$ac_header_preproc"
6623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6624 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6628 cat >>confdefs.h <<_ACEOF
6629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6636 if test "${ac_cv_header_complex_h+set}" = set; then
6637 echo "$as_me:$LINENO: checking for complex.h" >&5
6638 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6639 if test "${ac_cv_header_complex_h+set}" = set; then
6640 echo $ECHO_N "(cached) $ECHO_C" >&6
6642 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6643 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6645 # Is the header compilable?
6646 echo "$as_me:$LINENO: checking complex.h usability" >&5
6647 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6648 cat >conftest.$ac_ext <<_ACEOF
6651 cat confdefs.h >>conftest.$ac_ext
6652 cat >>conftest.$ac_ext <<_ACEOF
6653 /* end confdefs.h. */
6654 $ac_includes_default
6655 #include <complex.h>
6657 rm -f conftest.$ac_objext
6658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6659 (eval $ac_compile) 2>conftest.er1
6661 grep -v '^ *+' conftest.er1 >conftest.err
6663 cat conftest.err >&5
6664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6665 (exit $ac_status); } &&
6666 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6671 (exit $ac_status); }; } &&
6672 { ac_try='test -s conftest.$ac_objext'
6673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6677 (exit $ac_status); }; }; then
6678 ac_header_compiler=yes
6680 echo "$as_me: failed program was:" >&5
6681 sed 's/^/| /' conftest.$ac_ext >&5
6683 ac_header_compiler=no
6685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6686 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6687 echo "${ECHO_T}$ac_header_compiler" >&6
6689 # Is the header present?
6690 echo "$as_me:$LINENO: checking complex.h presence" >&5
6691 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6692 cat >conftest.$ac_ext <<_ACEOF
6695 cat confdefs.h >>conftest.$ac_ext
6696 cat >>conftest.$ac_ext <<_ACEOF
6697 /* end confdefs.h. */
6698 #include <complex.h>
6700 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6701 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6703 grep -v '^ *+' conftest.er1 >conftest.err
6705 cat conftest.err >&5
6706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707 (exit $ac_status); } >/dev/null; then
6708 if test -s conftest.err; then
6709 ac_cpp_err=$ac_c_preproc_warn_flag
6710 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6717 if test -z "$ac_cpp_err"; then
6718 ac_header_preproc=yes
6720 echo "$as_me: failed program was:" >&5
6721 sed 's/^/| /' conftest.$ac_ext >&5
6723 ac_header_preproc=no
6725 rm -f conftest.err conftest.$ac_ext
6726 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6727 echo "${ECHO_T}$ac_header_preproc" >&6
6729 # So? What about this header?
6730 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6732 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6733 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6734 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6735 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6736 ac_header_preproc=yes
6739 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6740 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6741 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6742 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6743 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6744 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6745 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6746 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6747 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6748 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6749 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6750 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6753 ## ------------------------------------------------------ ##
6754 ## Report this to the GNU Fortran Runtime Library lists. ##
6755 ## ------------------------------------------------------ ##
6758 sed "s/^/$as_me: WARNING: /" >&2
6761 echo "$as_me:$LINENO: checking for complex.h" >&5
6762 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6763 if test "${ac_cv_header_complex_h+set}" = set; then
6764 echo $ECHO_N "(cached) $ECHO_C" >&6
6766 ac_cv_header_complex_h=$ac_header_preproc
6768 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6769 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6772 if test $ac_cv_header_complex_h = yes; then
6774 cat >>confdefs.h <<\_ACEOF
6775 #define HAVE_COMPLEX_H 1
6782 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6783 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
6784 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6785 echo $ECHO_N "(cached) $ECHO_C" >&6
6787 cat >conftest.$ac_ext <<_ACEOF
6790 cat confdefs.h >>conftest.$ac_ext
6791 cat >>conftest.$ac_ext <<_ACEOF
6792 /* end confdefs.h. */
6793 $ac_includes_default
6797 static struct stat ac_aggr;
6798 if (ac_aggr.st_blksize)
6804 rm -f conftest.$ac_objext
6805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6806 (eval $ac_compile) 2>conftest.er1
6808 grep -v '^ *+' conftest.er1 >conftest.err
6810 cat conftest.err >&5
6811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6812 (exit $ac_status); } &&
6813 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6818 (exit $ac_status); }; } &&
6819 { ac_try='test -s conftest.$ac_objext'
6820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6824 (exit $ac_status); }; }; then
6825 ac_cv_member_struct_stat_st_blksize=yes
6827 echo "$as_me: failed program was:" >&5
6828 sed 's/^/| /' conftest.$ac_ext >&5
6830 cat >conftest.$ac_ext <<_ACEOF
6833 cat confdefs.h >>conftest.$ac_ext
6834 cat >>conftest.$ac_ext <<_ACEOF
6835 /* end confdefs.h. */
6836 $ac_includes_default
6840 static struct stat ac_aggr;
6841 if (sizeof ac_aggr.st_blksize)
6847 rm -f conftest.$ac_objext
6848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6849 (eval $ac_compile) 2>conftest.er1
6851 grep -v '^ *+' conftest.er1 >conftest.err
6853 cat conftest.err >&5
6854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6855 (exit $ac_status); } &&
6856 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6861 (exit $ac_status); }; } &&
6862 { ac_try='test -s conftest.$ac_objext'
6863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6867 (exit $ac_status); }; }; then
6868 ac_cv_member_struct_stat_st_blksize=yes
6870 echo "$as_me: failed program was:" >&5
6871 sed 's/^/| /' conftest.$ac_ext >&5
6873 ac_cv_member_struct_stat_st_blksize=no
6875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6879 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6880 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
6881 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6883 cat >>confdefs.h <<_ACEOF
6884 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6890 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6891 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
6892 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6893 echo $ECHO_N "(cached) $ECHO_C" >&6
6895 cat >conftest.$ac_ext <<_ACEOF
6898 cat confdefs.h >>conftest.$ac_ext
6899 cat >>conftest.$ac_ext <<_ACEOF
6900 /* end confdefs.h. */
6901 $ac_includes_default
6905 static struct stat ac_aggr;
6906 if (ac_aggr.st_blocks)
6912 rm -f conftest.$ac_objext
6913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6914 (eval $ac_compile) 2>conftest.er1
6916 grep -v '^ *+' conftest.er1 >conftest.err
6918 cat conftest.err >&5
6919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6920 (exit $ac_status); } &&
6921 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6926 (exit $ac_status); }; } &&
6927 { ac_try='test -s conftest.$ac_objext'
6928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6932 (exit $ac_status); }; }; then
6933 ac_cv_member_struct_stat_st_blocks=yes
6935 echo "$as_me: failed program was:" >&5
6936 sed 's/^/| /' conftest.$ac_ext >&5
6938 cat >conftest.$ac_ext <<_ACEOF
6941 cat confdefs.h >>conftest.$ac_ext
6942 cat >>conftest.$ac_ext <<_ACEOF
6943 /* end confdefs.h. */
6944 $ac_includes_default
6948 static struct stat ac_aggr;
6949 if (sizeof ac_aggr.st_blocks)
6955 rm -f conftest.$ac_objext
6956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6957 (eval $ac_compile) 2>conftest.er1
6959 grep -v '^ *+' conftest.er1 >conftest.err
6961 cat conftest.err >&5
6962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6963 (exit $ac_status); } &&
6964 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6969 (exit $ac_status); }; } &&
6970 { ac_try='test -s conftest.$ac_objext'
6971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6975 (exit $ac_status); }; }; then
6976 ac_cv_member_struct_stat_st_blocks=yes
6978 echo "$as_me: failed program was:" >&5
6979 sed 's/^/| /' conftest.$ac_ext >&5
6981 ac_cv_member_struct_stat_st_blocks=no
6983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6987 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6988 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
6989 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6991 cat >>confdefs.h <<_ACEOF
6992 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6998 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6999 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
7000 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
7001 echo $ECHO_N "(cached) $ECHO_C" >&6
7003 cat >conftest.$ac_ext <<_ACEOF
7006 cat confdefs.h >>conftest.$ac_ext
7007 cat >>conftest.$ac_ext <<_ACEOF
7008 /* end confdefs.h. */
7009 $ac_includes_default
7013 static struct stat ac_aggr;
7014 if (ac_aggr.st_rdev)
7020 rm -f conftest.$ac_objext
7021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7022 (eval $ac_compile) 2>conftest.er1
7024 grep -v '^ *+' conftest.er1 >conftest.err
7026 cat conftest.err >&5
7027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7028 (exit $ac_status); } &&
7029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7034 (exit $ac_status); }; } &&
7035 { ac_try='test -s conftest.$ac_objext'
7036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7040 (exit $ac_status); }; }; then
7041 ac_cv_member_struct_stat_st_rdev=yes
7043 echo "$as_me: failed program was:" >&5
7044 sed 's/^/| /' conftest.$ac_ext >&5
7046 cat >conftest.$ac_ext <<_ACEOF
7049 cat confdefs.h >>conftest.$ac_ext
7050 cat >>conftest.$ac_ext <<_ACEOF
7051 /* end confdefs.h. */
7052 $ac_includes_default
7056 static struct stat ac_aggr;
7057 if (sizeof ac_aggr.st_rdev)
7063 rm -f conftest.$ac_objext
7064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7065 (eval $ac_compile) 2>conftest.er1
7067 grep -v '^ *+' conftest.er1 >conftest.err
7069 cat conftest.err >&5
7070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7071 (exit $ac_status); } &&
7072 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7077 (exit $ac_status); }; } &&
7078 { ac_try='test -s conftest.$ac_objext'
7079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7083 (exit $ac_status); }; }; then
7084 ac_cv_member_struct_stat_st_rdev=yes
7086 echo "$as_me: failed program was:" >&5
7087 sed 's/^/| /' conftest.$ac_ext >&5
7089 ac_cv_member_struct_stat_st_rdev=no
7091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7095 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
7096 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
7097 if test $ac_cv_member_struct_stat_st_rdev = yes; then
7099 cat >>confdefs.h <<_ACEOF
7100 #define HAVE_STRUCT_STAT_ST_RDEV 1
7107 # Check for complex math functions
7108 echo "$as_me:$LINENO: checking for csin in -lm" >&5
7109 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
7110 if test "${ac_cv_lib_m_csin+set}" = set; then
7111 echo $ECHO_N "(cached) $ECHO_C" >&6
7113 ac_check_lib_save_LIBS=$LIBS
7115 if test x$gcc_no_link = xyes; then
7116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7118 { (exit 1); exit 1; }; }
7120 cat >conftest.$ac_ext <<_ACEOF
7123 cat confdefs.h >>conftest.$ac_ext
7124 cat >>conftest.$ac_ext <<_ACEOF
7125 /* end confdefs.h. */
7127 /* Override any gcc2 internal prototype to avoid an error. */
7131 /* We use char because int might match the return type of a gcc2
7132 builtin and then its argument prototype would still apply. */
7142 rm -f conftest.$ac_objext conftest$ac_exeext
7143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7144 (eval $ac_link) 2>conftest.er1
7146 grep -v '^ *+' conftest.er1 >conftest.err
7148 cat conftest.err >&5
7149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150 (exit $ac_status); } &&
7151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7156 (exit $ac_status); }; } &&
7157 { ac_try='test -s conftest$ac_exeext'
7158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7162 (exit $ac_status); }; }; then
7163 ac_cv_lib_m_csin=yes
7165 echo "$as_me: failed program was:" >&5
7166 sed 's/^/| /' conftest.$ac_ext >&5
7170 rm -f conftest.err conftest.$ac_objext \
7171 conftest$ac_exeext conftest.$ac_ext
7172 LIBS=$ac_check_lib_save_LIBS
7174 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
7175 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
7176 if test $ac_cv_lib_m_csin = yes; then
7183 # Check for library functions.
7192 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
7194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7195 echo "$as_me:$LINENO: checking for $ac_func" >&5
7196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7197 if eval "test \"\${$as_ac_var+set}\" = set"; then
7198 echo $ECHO_N "(cached) $ECHO_C" >&6
7200 if test x$gcc_no_link = xyes; then
7201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7203 { (exit 1); exit 1; }; }
7205 cat >conftest.$ac_ext <<_ACEOF
7208 cat confdefs.h >>conftest.$ac_ext
7209 cat >>conftest.$ac_ext <<_ACEOF
7210 /* end confdefs.h. */
7211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7213 #define $ac_func innocuous_$ac_func
7215 /* System header to define __stub macros and hopefully few prototypes,
7216 which can conflict with char $ac_func (); below.
7217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7218 <limits.h> exists even on freestanding compilers. */
7221 # include <limits.h>
7223 # include <assert.h>
7228 /* Override any gcc2 internal prototype to avoid an error. */
7233 /* We use char because int might match the return type of a gcc2
7234 builtin and then its argument prototype would still apply. */
7236 /* The GNU C library defines this for functions which it implements
7237 to always fail with ENOSYS. Some functions are actually named
7238 something starting with __ and the normal name is an alias. */
7239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7242 char (*f) () = $ac_func;
7251 return f != $ac_func;
7256 rm -f conftest.$ac_objext conftest$ac_exeext
7257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7258 (eval $ac_link) 2>conftest.er1
7260 grep -v '^ *+' conftest.er1 >conftest.err
7262 cat conftest.err >&5
7263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7264 (exit $ac_status); } &&
7265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7270 (exit $ac_status); }; } &&
7271 { ac_try='test -s conftest$ac_exeext'
7272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7276 (exit $ac_status); }; }; then
7277 eval "$as_ac_var=yes"
7279 echo "$as_me: failed program was:" >&5
7280 sed 's/^/| /' conftest.$ac_ext >&5
7282 eval "$as_ac_var=no"
7284 rm -f conftest.err conftest.$ac_objext \
7285 conftest$ac_exeext conftest.$ac_ext
7287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7289 if test `eval echo '${'$as_ac_var'}'` = yes; then
7290 cat >>confdefs.h <<_ACEOF
7291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7305 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
7307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7308 echo "$as_me:$LINENO: checking for $ac_func" >&5
7309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7310 if eval "test \"\${$as_ac_var+set}\" = set"; then
7311 echo $ECHO_N "(cached) $ECHO_C" >&6
7313 if test x$gcc_no_link = xyes; then
7314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7316 { (exit 1); exit 1; }; }
7318 cat >conftest.$ac_ext <<_ACEOF
7321 cat confdefs.h >>conftest.$ac_ext
7322 cat >>conftest.$ac_ext <<_ACEOF
7323 /* end confdefs.h. */
7324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7326 #define $ac_func innocuous_$ac_func
7328 /* System header to define __stub macros and hopefully few prototypes,
7329 which can conflict with char $ac_func (); below.
7330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7331 <limits.h> exists even on freestanding compilers. */
7334 # include <limits.h>
7336 # include <assert.h>
7341 /* Override any gcc2 internal prototype to avoid an error. */
7346 /* We use char because int might match the return type of a gcc2
7347 builtin and then its argument prototype would still apply. */
7349 /* The GNU C library defines this for functions which it implements
7350 to always fail with ENOSYS. Some functions are actually named
7351 something starting with __ and the normal name is an alias. */
7352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7355 char (*f) () = $ac_func;
7364 return f != $ac_func;
7369 rm -f conftest.$ac_objext conftest$ac_exeext
7370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7371 (eval $ac_link) 2>conftest.er1
7373 grep -v '^ *+' conftest.er1 >conftest.err
7375 cat conftest.err >&5
7376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7377 (exit $ac_status); } &&
7378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7383 (exit $ac_status); }; } &&
7384 { ac_try='test -s conftest$ac_exeext'
7385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7389 (exit $ac_status); }; }; then
7390 eval "$as_ac_var=yes"
7392 echo "$as_me: failed program was:" >&5
7393 sed 's/^/| /' conftest.$ac_ext >&5
7395 eval "$as_ac_var=no"
7397 rm -f conftest.err conftest.$ac_objext \
7398 conftest$ac_exeext conftest.$ac_ext
7400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7402 if test `eval echo '${'$as_ac_var'}'` = yes; then
7403 cat >>confdefs.h <<_ACEOF
7404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7413 for ac_func in sleep time ttyname
7415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7416 echo "$as_me:$LINENO: checking for $ac_func" >&5
7417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7418 if eval "test \"\${$as_ac_var+set}\" = set"; then
7419 echo $ECHO_N "(cached) $ECHO_C" >&6
7421 if test x$gcc_no_link = xyes; then
7422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7424 { (exit 1); exit 1; }; }
7426 cat >conftest.$ac_ext <<_ACEOF
7429 cat confdefs.h >>conftest.$ac_ext
7430 cat >>conftest.$ac_ext <<_ACEOF
7431 /* end confdefs.h. */
7432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7434 #define $ac_func innocuous_$ac_func
7436 /* System header to define __stub macros and hopefully few prototypes,
7437 which can conflict with char $ac_func (); below.
7438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7439 <limits.h> exists even on freestanding compilers. */
7442 # include <limits.h>
7444 # include <assert.h>
7449 /* Override any gcc2 internal prototype to avoid an error. */
7454 /* We use char because int might match the return type of a gcc2
7455 builtin and then its argument prototype would still apply. */
7457 /* The GNU C library defines this for functions which it implements
7458 to always fail with ENOSYS. Some functions are actually named
7459 something starting with __ and the normal name is an alias. */
7460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7463 char (*f) () = $ac_func;
7472 return f != $ac_func;
7477 rm -f conftest.$ac_objext conftest$ac_exeext
7478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7479 (eval $ac_link) 2>conftest.er1
7481 grep -v '^ *+' conftest.er1 >conftest.err
7483 cat conftest.err >&5
7484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7485 (exit $ac_status); } &&
7486 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7491 (exit $ac_status); }; } &&
7492 { ac_try='test -s conftest$ac_exeext'
7493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7497 (exit $ac_status); }; }; then
7498 eval "$as_ac_var=yes"
7500 echo "$as_me: failed program was:" >&5
7501 sed 's/^/| /' conftest.$ac_ext >&5
7503 eval "$as_ac_var=no"
7505 rm -f conftest.err conftest.$ac_objext \
7506 conftest$ac_exeext conftest.$ac_ext
7508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7510 if test `eval echo '${'$as_ac_var'}'` = yes; then
7511 cat >>confdefs.h <<_ACEOF
7512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7519 # Check libc for getgid, getpid, getuid
7520 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
7521 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
7522 if test "${ac_cv_lib_c_getgid+set}" = set; then
7523 echo $ECHO_N "(cached) $ECHO_C" >&6
7525 ac_check_lib_save_LIBS=$LIBS
7527 if test x$gcc_no_link = xyes; then
7528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7530 { (exit 1); exit 1; }; }
7532 cat >conftest.$ac_ext <<_ACEOF
7535 cat confdefs.h >>conftest.$ac_ext
7536 cat >>conftest.$ac_ext <<_ACEOF
7537 /* end confdefs.h. */
7539 /* Override any gcc2 internal prototype to avoid an error. */
7543 /* We use char because int might match the return type of a gcc2
7544 builtin and then its argument prototype would still apply. */
7554 rm -f conftest.$ac_objext conftest$ac_exeext
7555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7556 (eval $ac_link) 2>conftest.er1
7558 grep -v '^ *+' conftest.er1 >conftest.err
7560 cat conftest.err >&5
7561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7562 (exit $ac_status); } &&
7563 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7568 (exit $ac_status); }; } &&
7569 { ac_try='test -s conftest$ac_exeext'
7570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7574 (exit $ac_status); }; }; then
7575 ac_cv_lib_c_getgid=yes
7577 echo "$as_me: failed program was:" >&5
7578 sed 's/^/| /' conftest.$ac_ext >&5
7580 ac_cv_lib_c_getgid=no
7582 rm -f conftest.err conftest.$ac_objext \
7583 conftest$ac_exeext conftest.$ac_ext
7584 LIBS=$ac_check_lib_save_LIBS
7586 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
7587 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
7588 if test $ac_cv_lib_c_getgid = yes; then
7590 cat >>confdefs.h <<\_ACEOF
7591 #define HAVE_GETGID 1
7596 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
7597 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
7598 if test "${ac_cv_lib_c_getpid+set}" = set; then
7599 echo $ECHO_N "(cached) $ECHO_C" >&6
7601 ac_check_lib_save_LIBS=$LIBS
7603 if test x$gcc_no_link = xyes; then
7604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7606 { (exit 1); exit 1; }; }
7608 cat >conftest.$ac_ext <<_ACEOF
7611 cat confdefs.h >>conftest.$ac_ext
7612 cat >>conftest.$ac_ext <<_ACEOF
7613 /* end confdefs.h. */
7615 /* Override any gcc2 internal prototype to avoid an error. */
7619 /* We use char because int might match the return type of a gcc2
7620 builtin and then its argument prototype would still apply. */
7630 rm -f conftest.$ac_objext conftest$ac_exeext
7631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7632 (eval $ac_link) 2>conftest.er1
7634 grep -v '^ *+' conftest.er1 >conftest.err
7636 cat conftest.err >&5
7637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7638 (exit $ac_status); } &&
7639 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7644 (exit $ac_status); }; } &&
7645 { ac_try='test -s conftest$ac_exeext'
7646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7650 (exit $ac_status); }; }; then
7651 ac_cv_lib_c_getpid=yes
7653 echo "$as_me: failed program was:" >&5
7654 sed 's/^/| /' conftest.$ac_ext >&5
7656 ac_cv_lib_c_getpid=no
7658 rm -f conftest.err conftest.$ac_objext \
7659 conftest$ac_exeext conftest.$ac_ext
7660 LIBS=$ac_check_lib_save_LIBS
7662 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
7663 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
7664 if test $ac_cv_lib_c_getpid = yes; then
7666 cat >>confdefs.h <<\_ACEOF
7667 #define HAVE_GETPID 1
7672 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
7673 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
7674 if test "${ac_cv_lib_c_getuid+set}" = set; then
7675 echo $ECHO_N "(cached) $ECHO_C" >&6
7677 ac_check_lib_save_LIBS=$LIBS
7679 if test x$gcc_no_link = xyes; then
7680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7682 { (exit 1); exit 1; }; }
7684 cat >conftest.$ac_ext <<_ACEOF
7687 cat confdefs.h >>conftest.$ac_ext
7688 cat >>conftest.$ac_ext <<_ACEOF
7689 /* end confdefs.h. */
7691 /* Override any gcc2 internal prototype to avoid an error. */
7695 /* We use char because int might match the return type of a gcc2
7696 builtin and then its argument prototype would still apply. */
7706 rm -f conftest.$ac_objext conftest$ac_exeext
7707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7708 (eval $ac_link) 2>conftest.er1
7710 grep -v '^ *+' conftest.er1 >conftest.err
7712 cat conftest.err >&5
7713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7714 (exit $ac_status); } &&
7715 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7720 (exit $ac_status); }; } &&
7721 { ac_try='test -s conftest$ac_exeext'
7722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7726 (exit $ac_status); }; }; then
7727 ac_cv_lib_c_getuid=yes
7729 echo "$as_me: failed program was:" >&5
7730 sed 's/^/| /' conftest.$ac_ext >&5
7732 ac_cv_lib_c_getuid=no
7734 rm -f conftest.err conftest.$ac_objext \
7735 conftest$ac_exeext conftest.$ac_ext
7736 LIBS=$ac_check_lib_save_LIBS
7738 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
7739 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
7740 if test $ac_cv_lib_c_getuid = yes; then
7742 cat >>confdefs.h <<\_ACEOF
7743 #define HAVE_GETUID 1
7749 # Check for C99 (and other IEEE) math functions
7750 # ??? This list seems awful long. Is there a better way to test for these?
7751 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
7752 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
7753 if test "${ac_cv_lib_m_acosf+set}" = set; then
7754 echo $ECHO_N "(cached) $ECHO_C" >&6
7756 ac_check_lib_save_LIBS=$LIBS
7758 if test x$gcc_no_link = xyes; then
7759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7761 { (exit 1); exit 1; }; }
7763 cat >conftest.$ac_ext <<_ACEOF
7766 cat confdefs.h >>conftest.$ac_ext
7767 cat >>conftest.$ac_ext <<_ACEOF
7768 /* end confdefs.h. */
7770 /* Override any gcc2 internal prototype to avoid an error. */
7774 /* We use char because int might match the return type of a gcc2
7775 builtin and then its argument prototype would still apply. */
7785 rm -f conftest.$ac_objext conftest$ac_exeext
7786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7787 (eval $ac_link) 2>conftest.er1
7789 grep -v '^ *+' conftest.er1 >conftest.err
7791 cat conftest.err >&5
7792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7793 (exit $ac_status); } &&
7794 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7799 (exit $ac_status); }; } &&
7800 { ac_try='test -s conftest$ac_exeext'
7801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7805 (exit $ac_status); }; }; then
7806 ac_cv_lib_m_acosf=yes
7808 echo "$as_me: failed program was:" >&5
7809 sed 's/^/| /' conftest.$ac_ext >&5
7811 ac_cv_lib_m_acosf=no
7813 rm -f conftest.err conftest.$ac_objext \
7814 conftest$ac_exeext conftest.$ac_ext
7815 LIBS=$ac_check_lib_save_LIBS
7817 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
7818 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
7819 if test $ac_cv_lib_m_acosf = yes; then
7821 cat >>confdefs.h <<\_ACEOF
7822 #define HAVE_ACOSF 1
7827 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
7828 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
7829 if test "${ac_cv_lib_m_acoshf+set}" = set; then
7830 echo $ECHO_N "(cached) $ECHO_C" >&6
7832 ac_check_lib_save_LIBS=$LIBS
7834 if test x$gcc_no_link = xyes; then
7835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7837 { (exit 1); exit 1; }; }
7839 cat >conftest.$ac_ext <<_ACEOF
7842 cat confdefs.h >>conftest.$ac_ext
7843 cat >>conftest.$ac_ext <<_ACEOF
7844 /* end confdefs.h. */
7846 /* Override any gcc2 internal prototype to avoid an error. */
7850 /* We use char because int might match the return type of a gcc2
7851 builtin and then its argument prototype would still apply. */
7861 rm -f conftest.$ac_objext conftest$ac_exeext
7862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7863 (eval $ac_link) 2>conftest.er1
7865 grep -v '^ *+' conftest.er1 >conftest.err
7867 cat conftest.err >&5
7868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7869 (exit $ac_status); } &&
7870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7875 (exit $ac_status); }; } &&
7876 { ac_try='test -s conftest$ac_exeext'
7877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7881 (exit $ac_status); }; }; then
7882 ac_cv_lib_m_acoshf=yes
7884 echo "$as_me: failed program was:" >&5
7885 sed 's/^/| /' conftest.$ac_ext >&5
7887 ac_cv_lib_m_acoshf=no
7889 rm -f conftest.err conftest.$ac_objext \
7890 conftest$ac_exeext conftest.$ac_ext
7891 LIBS=$ac_check_lib_save_LIBS
7893 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
7894 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
7895 if test $ac_cv_lib_m_acoshf = yes; then
7897 cat >>confdefs.h <<\_ACEOF
7898 #define HAVE_ACOSHF 1
7903 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
7904 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
7905 if test "${ac_cv_lib_m_asinf+set}" = set; then
7906 echo $ECHO_N "(cached) $ECHO_C" >&6
7908 ac_check_lib_save_LIBS=$LIBS
7910 if test x$gcc_no_link = xyes; then
7911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7913 { (exit 1); exit 1; }; }
7915 cat >conftest.$ac_ext <<_ACEOF
7918 cat confdefs.h >>conftest.$ac_ext
7919 cat >>conftest.$ac_ext <<_ACEOF
7920 /* end confdefs.h. */
7922 /* Override any gcc2 internal prototype to avoid an error. */
7926 /* We use char because int might match the return type of a gcc2
7927 builtin and then its argument prototype would still apply. */
7937 rm -f conftest.$ac_objext conftest$ac_exeext
7938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7939 (eval $ac_link) 2>conftest.er1
7941 grep -v '^ *+' conftest.er1 >conftest.err
7943 cat conftest.err >&5
7944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7945 (exit $ac_status); } &&
7946 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7951 (exit $ac_status); }; } &&
7952 { ac_try='test -s conftest$ac_exeext'
7953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7957 (exit $ac_status); }; }; then
7958 ac_cv_lib_m_asinf=yes
7960 echo "$as_me: failed program was:" >&5
7961 sed 's/^/| /' conftest.$ac_ext >&5
7963 ac_cv_lib_m_asinf=no
7965 rm -f conftest.err conftest.$ac_objext \
7966 conftest$ac_exeext conftest.$ac_ext
7967 LIBS=$ac_check_lib_save_LIBS
7969 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
7970 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
7971 if test $ac_cv_lib_m_asinf = yes; then
7973 cat >>confdefs.h <<\_ACEOF
7974 #define HAVE_ASINF 1
7979 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
7980 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
7981 if test "${ac_cv_lib_m_asinhf+set}" = set; then
7982 echo $ECHO_N "(cached) $ECHO_C" >&6
7984 ac_check_lib_save_LIBS=$LIBS
7986 if test x$gcc_no_link = xyes; then
7987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7989 { (exit 1); exit 1; }; }
7991 cat >conftest.$ac_ext <<_ACEOF
7994 cat confdefs.h >>conftest.$ac_ext
7995 cat >>conftest.$ac_ext <<_ACEOF
7996 /* end confdefs.h. */
7998 /* Override any gcc2 internal prototype to avoid an error. */
8002 /* We use char because int might match the return type of a gcc2
8003 builtin and then its argument prototype would still apply. */
8013 rm -f conftest.$ac_objext conftest$ac_exeext
8014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8015 (eval $ac_link) 2>conftest.er1
8017 grep -v '^ *+' conftest.er1 >conftest.err
8019 cat conftest.err >&5
8020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8021 (exit $ac_status); } &&
8022 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8027 (exit $ac_status); }; } &&
8028 { ac_try='test -s conftest$ac_exeext'
8029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8033 (exit $ac_status); }; }; then
8034 ac_cv_lib_m_asinhf=yes
8036 echo "$as_me: failed program was:" >&5
8037 sed 's/^/| /' conftest.$ac_ext >&5
8039 ac_cv_lib_m_asinhf=no
8041 rm -f conftest.err conftest.$ac_objext \
8042 conftest$ac_exeext conftest.$ac_ext
8043 LIBS=$ac_check_lib_save_LIBS
8045 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
8046 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
8047 if test $ac_cv_lib_m_asinhf = yes; then
8049 cat >>confdefs.h <<\_ACEOF
8050 #define HAVE_ASINHF 1
8055 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
8056 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
8057 if test "${ac_cv_lib_m_atan2f+set}" = set; then
8058 echo $ECHO_N "(cached) $ECHO_C" >&6
8060 ac_check_lib_save_LIBS=$LIBS
8062 if test x$gcc_no_link = xyes; then
8063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8065 { (exit 1); exit 1; }; }
8067 cat >conftest.$ac_ext <<_ACEOF
8070 cat confdefs.h >>conftest.$ac_ext
8071 cat >>conftest.$ac_ext <<_ACEOF
8072 /* end confdefs.h. */
8074 /* Override any gcc2 internal prototype to avoid an error. */
8078 /* We use char because int might match the return type of a gcc2
8079 builtin and then its argument prototype would still apply. */
8089 rm -f conftest.$ac_objext conftest$ac_exeext
8090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8091 (eval $ac_link) 2>conftest.er1
8093 grep -v '^ *+' conftest.er1 >conftest.err
8095 cat conftest.err >&5
8096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8097 (exit $ac_status); } &&
8098 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8103 (exit $ac_status); }; } &&
8104 { ac_try='test -s conftest$ac_exeext'
8105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8109 (exit $ac_status); }; }; then
8110 ac_cv_lib_m_atan2f=yes
8112 echo "$as_me: failed program was:" >&5
8113 sed 's/^/| /' conftest.$ac_ext >&5
8115 ac_cv_lib_m_atan2f=no
8117 rm -f conftest.err conftest.$ac_objext \
8118 conftest$ac_exeext conftest.$ac_ext
8119 LIBS=$ac_check_lib_save_LIBS
8121 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
8122 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
8123 if test $ac_cv_lib_m_atan2f = yes; then
8125 cat >>confdefs.h <<\_ACEOF
8126 #define HAVE_ATAN2F 1
8131 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
8132 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
8133 if test "${ac_cv_lib_m_atanf+set}" = set; then
8134 echo $ECHO_N "(cached) $ECHO_C" >&6
8136 ac_check_lib_save_LIBS=$LIBS
8138 if test x$gcc_no_link = xyes; then
8139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8141 { (exit 1); exit 1; }; }
8143 cat >conftest.$ac_ext <<_ACEOF
8146 cat confdefs.h >>conftest.$ac_ext
8147 cat >>conftest.$ac_ext <<_ACEOF
8148 /* end confdefs.h. */
8150 /* Override any gcc2 internal prototype to avoid an error. */
8154 /* We use char because int might match the return type of a gcc2
8155 builtin and then its argument prototype would still apply. */
8165 rm -f conftest.$ac_objext conftest$ac_exeext
8166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8167 (eval $ac_link) 2>conftest.er1
8169 grep -v '^ *+' conftest.er1 >conftest.err
8171 cat conftest.err >&5
8172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8173 (exit $ac_status); } &&
8174 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8179 (exit $ac_status); }; } &&
8180 { ac_try='test -s conftest$ac_exeext'
8181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8185 (exit $ac_status); }; }; then
8186 ac_cv_lib_m_atanf=yes
8188 echo "$as_me: failed program was:" >&5
8189 sed 's/^/| /' conftest.$ac_ext >&5
8191 ac_cv_lib_m_atanf=no
8193 rm -f conftest.err conftest.$ac_objext \
8194 conftest$ac_exeext conftest.$ac_ext
8195 LIBS=$ac_check_lib_save_LIBS
8197 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
8198 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
8199 if test $ac_cv_lib_m_atanf = yes; then
8201 cat >>confdefs.h <<\_ACEOF
8202 #define HAVE_ATANF 1
8207 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
8208 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
8209 if test "${ac_cv_lib_m_atanhf+set}" = set; then
8210 echo $ECHO_N "(cached) $ECHO_C" >&6
8212 ac_check_lib_save_LIBS=$LIBS
8214 if test x$gcc_no_link = xyes; then
8215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8217 { (exit 1); exit 1; }; }
8219 cat >conftest.$ac_ext <<_ACEOF
8222 cat confdefs.h >>conftest.$ac_ext
8223 cat >>conftest.$ac_ext <<_ACEOF
8224 /* end confdefs.h. */
8226 /* Override any gcc2 internal prototype to avoid an error. */
8230 /* We use char because int might match the return type of a gcc2
8231 builtin and then its argument prototype would still apply. */
8241 rm -f conftest.$ac_objext conftest$ac_exeext
8242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8243 (eval $ac_link) 2>conftest.er1
8245 grep -v '^ *+' conftest.er1 >conftest.err
8247 cat conftest.err >&5
8248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8249 (exit $ac_status); } &&
8250 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8255 (exit $ac_status); }; } &&
8256 { ac_try='test -s conftest$ac_exeext'
8257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8261 (exit $ac_status); }; }; then
8262 ac_cv_lib_m_atanhf=yes
8264 echo "$as_me: failed program was:" >&5
8265 sed 's/^/| /' conftest.$ac_ext >&5
8267 ac_cv_lib_m_atanhf=no
8269 rm -f conftest.err conftest.$ac_objext \
8270 conftest$ac_exeext conftest.$ac_ext
8271 LIBS=$ac_check_lib_save_LIBS
8273 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
8274 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
8275 if test $ac_cv_lib_m_atanhf = yes; then
8277 cat >>confdefs.h <<\_ACEOF
8278 #define HAVE_ATANHF 1
8283 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
8284 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
8285 if test "${ac_cv_lib_m_ceilf+set}" = set; then
8286 echo $ECHO_N "(cached) $ECHO_C" >&6
8288 ac_check_lib_save_LIBS=$LIBS
8290 if test x$gcc_no_link = xyes; then
8291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8293 { (exit 1); exit 1; }; }
8295 cat >conftest.$ac_ext <<_ACEOF
8298 cat confdefs.h >>conftest.$ac_ext
8299 cat >>conftest.$ac_ext <<_ACEOF
8300 /* end confdefs.h. */
8302 /* Override any gcc2 internal prototype to avoid an error. */
8306 /* We use char because int might match the return type of a gcc2
8307 builtin and then its argument prototype would still apply. */
8317 rm -f conftest.$ac_objext conftest$ac_exeext
8318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8319 (eval $ac_link) 2>conftest.er1
8321 grep -v '^ *+' conftest.er1 >conftest.err
8323 cat conftest.err >&5
8324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8325 (exit $ac_status); } &&
8326 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8331 (exit $ac_status); }; } &&
8332 { ac_try='test -s conftest$ac_exeext'
8333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8337 (exit $ac_status); }; }; then
8338 ac_cv_lib_m_ceilf=yes
8340 echo "$as_me: failed program was:" >&5
8341 sed 's/^/| /' conftest.$ac_ext >&5
8343 ac_cv_lib_m_ceilf=no
8345 rm -f conftest.err conftest.$ac_objext \
8346 conftest$ac_exeext conftest.$ac_ext
8347 LIBS=$ac_check_lib_save_LIBS
8349 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
8350 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
8351 if test $ac_cv_lib_m_ceilf = yes; then
8353 cat >>confdefs.h <<\_ACEOF
8354 #define HAVE_CEILF 1
8359 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
8360 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
8361 if test "${ac_cv_lib_m_copysignf+set}" = set; then
8362 echo $ECHO_N "(cached) $ECHO_C" >&6
8364 ac_check_lib_save_LIBS=$LIBS
8366 if test x$gcc_no_link = xyes; then
8367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8369 { (exit 1); exit 1; }; }
8371 cat >conftest.$ac_ext <<_ACEOF
8374 cat confdefs.h >>conftest.$ac_ext
8375 cat >>conftest.$ac_ext <<_ACEOF
8376 /* end confdefs.h. */
8378 /* Override any gcc2 internal prototype to avoid an error. */
8382 /* We use char because int might match the return type of a gcc2
8383 builtin and then its argument prototype would still apply. */
8393 rm -f conftest.$ac_objext conftest$ac_exeext
8394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8395 (eval $ac_link) 2>conftest.er1
8397 grep -v '^ *+' conftest.er1 >conftest.err
8399 cat conftest.err >&5
8400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8401 (exit $ac_status); } &&
8402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8407 (exit $ac_status); }; } &&
8408 { ac_try='test -s conftest$ac_exeext'
8409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8413 (exit $ac_status); }; }; then
8414 ac_cv_lib_m_copysignf=yes
8416 echo "$as_me: failed program was:" >&5
8417 sed 's/^/| /' conftest.$ac_ext >&5
8419 ac_cv_lib_m_copysignf=no
8421 rm -f conftest.err conftest.$ac_objext \
8422 conftest$ac_exeext conftest.$ac_ext
8423 LIBS=$ac_check_lib_save_LIBS
8425 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
8426 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
8427 if test $ac_cv_lib_m_copysignf = yes; then
8429 cat >>confdefs.h <<\_ACEOF
8430 #define HAVE_COPYSIGNF 1
8435 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
8436 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
8437 if test "${ac_cv_lib_m_cosf+set}" = set; then
8438 echo $ECHO_N "(cached) $ECHO_C" >&6
8440 ac_check_lib_save_LIBS=$LIBS
8442 if test x$gcc_no_link = xyes; then
8443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8445 { (exit 1); exit 1; }; }
8447 cat >conftest.$ac_ext <<_ACEOF
8450 cat confdefs.h >>conftest.$ac_ext
8451 cat >>conftest.$ac_ext <<_ACEOF
8452 /* end confdefs.h. */
8454 /* Override any gcc2 internal prototype to avoid an error. */
8458 /* We use char because int might match the return type of a gcc2
8459 builtin and then its argument prototype would still apply. */
8469 rm -f conftest.$ac_objext conftest$ac_exeext
8470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8471 (eval $ac_link) 2>conftest.er1
8473 grep -v '^ *+' conftest.er1 >conftest.err
8475 cat conftest.err >&5
8476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8477 (exit $ac_status); } &&
8478 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8483 (exit $ac_status); }; } &&
8484 { ac_try='test -s conftest$ac_exeext'
8485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8489 (exit $ac_status); }; }; then
8490 ac_cv_lib_m_cosf=yes
8492 echo "$as_me: failed program was:" >&5
8493 sed 's/^/| /' conftest.$ac_ext >&5
8497 rm -f conftest.err conftest.$ac_objext \
8498 conftest$ac_exeext conftest.$ac_ext
8499 LIBS=$ac_check_lib_save_LIBS
8501 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
8502 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
8503 if test $ac_cv_lib_m_cosf = yes; then
8505 cat >>confdefs.h <<\_ACEOF
8511 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
8512 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
8513 if test "${ac_cv_lib_m_coshf+set}" = set; then
8514 echo $ECHO_N "(cached) $ECHO_C" >&6
8516 ac_check_lib_save_LIBS=$LIBS
8518 if test x$gcc_no_link = xyes; then
8519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8521 { (exit 1); exit 1; }; }
8523 cat >conftest.$ac_ext <<_ACEOF
8526 cat confdefs.h >>conftest.$ac_ext
8527 cat >>conftest.$ac_ext <<_ACEOF
8528 /* end confdefs.h. */
8530 /* Override any gcc2 internal prototype to avoid an error. */
8534 /* We use char because int might match the return type of a gcc2
8535 builtin and then its argument prototype would still apply. */
8545 rm -f conftest.$ac_objext conftest$ac_exeext
8546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8547 (eval $ac_link) 2>conftest.er1
8549 grep -v '^ *+' conftest.er1 >conftest.err
8551 cat conftest.err >&5
8552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8553 (exit $ac_status); } &&
8554 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8559 (exit $ac_status); }; } &&
8560 { ac_try='test -s conftest$ac_exeext'
8561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565 (exit $ac_status); }; }; then
8566 ac_cv_lib_m_coshf=yes
8568 echo "$as_me: failed program was:" >&5
8569 sed 's/^/| /' conftest.$ac_ext >&5
8571 ac_cv_lib_m_coshf=no
8573 rm -f conftest.err conftest.$ac_objext \
8574 conftest$ac_exeext conftest.$ac_ext
8575 LIBS=$ac_check_lib_save_LIBS
8577 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
8578 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
8579 if test $ac_cv_lib_m_coshf = yes; then
8581 cat >>confdefs.h <<\_ACEOF
8582 #define HAVE_COSHF 1
8587 echo "$as_me:$LINENO: checking for expf in -lm" >&5
8588 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
8589 if test "${ac_cv_lib_m_expf+set}" = set; then
8590 echo $ECHO_N "(cached) $ECHO_C" >&6
8592 ac_check_lib_save_LIBS=$LIBS
8594 if test x$gcc_no_link = xyes; then
8595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8597 { (exit 1); exit 1; }; }
8599 cat >conftest.$ac_ext <<_ACEOF
8602 cat confdefs.h >>conftest.$ac_ext
8603 cat >>conftest.$ac_ext <<_ACEOF
8604 /* end confdefs.h. */
8606 /* Override any gcc2 internal prototype to avoid an error. */
8610 /* We use char because int might match the return type of a gcc2
8611 builtin and then its argument prototype would still apply. */
8621 rm -f conftest.$ac_objext conftest$ac_exeext
8622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8623 (eval $ac_link) 2>conftest.er1
8625 grep -v '^ *+' conftest.er1 >conftest.err
8627 cat conftest.err >&5
8628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8629 (exit $ac_status); } &&
8630 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8635 (exit $ac_status); }; } &&
8636 { ac_try='test -s conftest$ac_exeext'
8637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8641 (exit $ac_status); }; }; then
8642 ac_cv_lib_m_expf=yes
8644 echo "$as_me: failed program was:" >&5
8645 sed 's/^/| /' conftest.$ac_ext >&5
8649 rm -f conftest.err conftest.$ac_objext \
8650 conftest$ac_exeext conftest.$ac_ext
8651 LIBS=$ac_check_lib_save_LIBS
8653 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
8654 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
8655 if test $ac_cv_lib_m_expf = yes; then
8657 cat >>confdefs.h <<\_ACEOF
8663 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
8664 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
8665 if test "${ac_cv_lib_m_fabsf+set}" = set; then
8666 echo $ECHO_N "(cached) $ECHO_C" >&6
8668 ac_check_lib_save_LIBS=$LIBS
8670 if test x$gcc_no_link = xyes; then
8671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8673 { (exit 1); exit 1; }; }
8675 cat >conftest.$ac_ext <<_ACEOF
8678 cat confdefs.h >>conftest.$ac_ext
8679 cat >>conftest.$ac_ext <<_ACEOF
8680 /* end confdefs.h. */
8682 /* Override any gcc2 internal prototype to avoid an error. */
8686 /* We use char because int might match the return type of a gcc2
8687 builtin and then its argument prototype would still apply. */
8697 rm -f conftest.$ac_objext conftest$ac_exeext
8698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8699 (eval $ac_link) 2>conftest.er1
8701 grep -v '^ *+' conftest.er1 >conftest.err
8703 cat conftest.err >&5
8704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705 (exit $ac_status); } &&
8706 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711 (exit $ac_status); }; } &&
8712 { ac_try='test -s conftest$ac_exeext'
8713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); }; }; then
8718 ac_cv_lib_m_fabsf=yes
8720 echo "$as_me: failed program was:" >&5
8721 sed 's/^/| /' conftest.$ac_ext >&5
8723 ac_cv_lib_m_fabsf=no
8725 rm -f conftest.err conftest.$ac_objext \
8726 conftest$ac_exeext conftest.$ac_ext
8727 LIBS=$ac_check_lib_save_LIBS
8729 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
8730 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
8731 if test $ac_cv_lib_m_fabsf = yes; then
8733 cat >>confdefs.h <<\_ACEOF
8734 #define HAVE_FABSF 1
8739 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
8740 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
8741 if test "${ac_cv_lib_m_floorf+set}" = set; then
8742 echo $ECHO_N "(cached) $ECHO_C" >&6
8744 ac_check_lib_save_LIBS=$LIBS
8746 if test x$gcc_no_link = xyes; then
8747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8749 { (exit 1); exit 1; }; }
8751 cat >conftest.$ac_ext <<_ACEOF
8754 cat confdefs.h >>conftest.$ac_ext
8755 cat >>conftest.$ac_ext <<_ACEOF
8756 /* end confdefs.h. */
8758 /* Override any gcc2 internal prototype to avoid an error. */
8762 /* We use char because int might match the return type of a gcc2
8763 builtin and then its argument prototype would still apply. */
8773 rm -f conftest.$ac_objext conftest$ac_exeext
8774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8775 (eval $ac_link) 2>conftest.er1
8777 grep -v '^ *+' conftest.er1 >conftest.err
8779 cat conftest.err >&5
8780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8781 (exit $ac_status); } &&
8782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8787 (exit $ac_status); }; } &&
8788 { ac_try='test -s conftest$ac_exeext'
8789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8793 (exit $ac_status); }; }; then
8794 ac_cv_lib_m_floorf=yes
8796 echo "$as_me: failed program was:" >&5
8797 sed 's/^/| /' conftest.$ac_ext >&5
8799 ac_cv_lib_m_floorf=no
8801 rm -f conftest.err conftest.$ac_objext \
8802 conftest$ac_exeext conftest.$ac_ext
8803 LIBS=$ac_check_lib_save_LIBS
8805 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
8806 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
8807 if test $ac_cv_lib_m_floorf = yes; then
8809 cat >>confdefs.h <<\_ACEOF
8810 #define HAVE_FLOORF 1
8815 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
8816 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
8817 if test "${ac_cv_lib_m_frexpf+set}" = set; then
8818 echo $ECHO_N "(cached) $ECHO_C" >&6
8820 ac_check_lib_save_LIBS=$LIBS
8822 if test x$gcc_no_link = xyes; then
8823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8825 { (exit 1); exit 1; }; }
8827 cat >conftest.$ac_ext <<_ACEOF
8830 cat confdefs.h >>conftest.$ac_ext
8831 cat >>conftest.$ac_ext <<_ACEOF
8832 /* end confdefs.h. */
8834 /* Override any gcc2 internal prototype to avoid an error. */
8838 /* We use char because int might match the return type of a gcc2
8839 builtin and then its argument prototype would still apply. */
8849 rm -f conftest.$ac_objext conftest$ac_exeext
8850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8851 (eval $ac_link) 2>conftest.er1
8853 grep -v '^ *+' conftest.er1 >conftest.err
8855 cat conftest.err >&5
8856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8857 (exit $ac_status); } &&
8858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8863 (exit $ac_status); }; } &&
8864 { ac_try='test -s conftest$ac_exeext'
8865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8869 (exit $ac_status); }; }; then
8870 ac_cv_lib_m_frexpf=yes
8872 echo "$as_me: failed program was:" >&5
8873 sed 's/^/| /' conftest.$ac_ext >&5
8875 ac_cv_lib_m_frexpf=no
8877 rm -f conftest.err conftest.$ac_objext \
8878 conftest$ac_exeext conftest.$ac_ext
8879 LIBS=$ac_check_lib_save_LIBS
8881 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
8882 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
8883 if test $ac_cv_lib_m_frexpf = yes; then
8885 cat >>confdefs.h <<\_ACEOF
8886 #define HAVE_FREXPF 1
8891 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
8892 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
8893 if test "${ac_cv_lib_m_hypotf+set}" = set; then
8894 echo $ECHO_N "(cached) $ECHO_C" >&6
8896 ac_check_lib_save_LIBS=$LIBS
8898 if test x$gcc_no_link = xyes; then
8899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8901 { (exit 1); exit 1; }; }
8903 cat >conftest.$ac_ext <<_ACEOF
8906 cat confdefs.h >>conftest.$ac_ext
8907 cat >>conftest.$ac_ext <<_ACEOF
8908 /* end confdefs.h. */
8910 /* Override any gcc2 internal prototype to avoid an error. */
8914 /* We use char because int might match the return type of a gcc2
8915 builtin and then its argument prototype would still apply. */
8925 rm -f conftest.$ac_objext conftest$ac_exeext
8926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8927 (eval $ac_link) 2>conftest.er1
8929 grep -v '^ *+' conftest.er1 >conftest.err
8931 cat conftest.err >&5
8932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8933 (exit $ac_status); } &&
8934 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8939 (exit $ac_status); }; } &&
8940 { ac_try='test -s conftest$ac_exeext'
8941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8945 (exit $ac_status); }; }; then
8946 ac_cv_lib_m_hypotf=yes
8948 echo "$as_me: failed program was:" >&5
8949 sed 's/^/| /' conftest.$ac_ext >&5
8951 ac_cv_lib_m_hypotf=no
8953 rm -f conftest.err conftest.$ac_objext \
8954 conftest$ac_exeext conftest.$ac_ext
8955 LIBS=$ac_check_lib_save_LIBS
8957 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
8958 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
8959 if test $ac_cv_lib_m_hypotf = yes; then
8961 cat >>confdefs.h <<\_ACEOF
8962 #define HAVE_HYPOTF 1
8967 echo "$as_me:$LINENO: checking for logf in -lm" >&5
8968 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
8969 if test "${ac_cv_lib_m_logf+set}" = set; then
8970 echo $ECHO_N "(cached) $ECHO_C" >&6
8972 ac_check_lib_save_LIBS=$LIBS
8974 if test x$gcc_no_link = xyes; then
8975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8977 { (exit 1); exit 1; }; }
8979 cat >conftest.$ac_ext <<_ACEOF
8982 cat confdefs.h >>conftest.$ac_ext
8983 cat >>conftest.$ac_ext <<_ACEOF
8984 /* end confdefs.h. */
8986 /* Override any gcc2 internal prototype to avoid an error. */
8990 /* We use char because int might match the return type of a gcc2
8991 builtin and then its argument prototype would still apply. */
9001 rm -f conftest.$ac_objext conftest$ac_exeext
9002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9003 (eval $ac_link) 2>conftest.er1
9005 grep -v '^ *+' conftest.er1 >conftest.err
9007 cat conftest.err >&5
9008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009 (exit $ac_status); } &&
9010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9015 (exit $ac_status); }; } &&
9016 { ac_try='test -s conftest$ac_exeext'
9017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9021 (exit $ac_status); }; }; then
9022 ac_cv_lib_m_logf=yes
9024 echo "$as_me: failed program was:" >&5
9025 sed 's/^/| /' conftest.$ac_ext >&5
9029 rm -f conftest.err conftest.$ac_objext \
9030 conftest$ac_exeext conftest.$ac_ext
9031 LIBS=$ac_check_lib_save_LIBS
9033 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
9034 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
9035 if test $ac_cv_lib_m_logf = yes; then
9037 cat >>confdefs.h <<\_ACEOF
9043 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
9044 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
9045 if test "${ac_cv_lib_m_log10f+set}" = set; then
9046 echo $ECHO_N "(cached) $ECHO_C" >&6
9048 ac_check_lib_save_LIBS=$LIBS
9050 if test x$gcc_no_link = xyes; then
9051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9053 { (exit 1); exit 1; }; }
9055 cat >conftest.$ac_ext <<_ACEOF
9058 cat confdefs.h >>conftest.$ac_ext
9059 cat >>conftest.$ac_ext <<_ACEOF
9060 /* end confdefs.h. */
9062 /* Override any gcc2 internal prototype to avoid an error. */
9066 /* We use char because int might match the return type of a gcc2
9067 builtin and then its argument prototype would still apply. */
9077 rm -f conftest.$ac_objext conftest$ac_exeext
9078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9079 (eval $ac_link) 2>conftest.er1
9081 grep -v '^ *+' conftest.er1 >conftest.err
9083 cat conftest.err >&5
9084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9085 (exit $ac_status); } &&
9086 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9091 (exit $ac_status); }; } &&
9092 { ac_try='test -s conftest$ac_exeext'
9093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9097 (exit $ac_status); }; }; then
9098 ac_cv_lib_m_log10f=yes
9100 echo "$as_me: failed program was:" >&5
9101 sed 's/^/| /' conftest.$ac_ext >&5
9103 ac_cv_lib_m_log10f=no
9105 rm -f conftest.err conftest.$ac_objext \
9106 conftest$ac_exeext conftest.$ac_ext
9107 LIBS=$ac_check_lib_save_LIBS
9109 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
9110 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
9111 if test $ac_cv_lib_m_log10f = yes; then
9113 cat >>confdefs.h <<\_ACEOF
9114 #define HAVE_LOG10F 1
9119 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
9120 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
9121 if test "${ac_cv_lib_m_log10l+set}" = set; then
9122 echo $ECHO_N "(cached) $ECHO_C" >&6
9124 ac_check_lib_save_LIBS=$LIBS
9126 if test x$gcc_no_link = xyes; then
9127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9129 { (exit 1); exit 1; }; }
9131 cat >conftest.$ac_ext <<_ACEOF
9134 cat confdefs.h >>conftest.$ac_ext
9135 cat >>conftest.$ac_ext <<_ACEOF
9136 /* end confdefs.h. */
9138 /* Override any gcc2 internal prototype to avoid an error. */
9142 /* We use char because int might match the return type of a gcc2
9143 builtin and then its argument prototype would still apply. */
9153 rm -f conftest.$ac_objext conftest$ac_exeext
9154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9155 (eval $ac_link) 2>conftest.er1
9157 grep -v '^ *+' conftest.er1 >conftest.err
9159 cat conftest.err >&5
9160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9161 (exit $ac_status); } &&
9162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9167 (exit $ac_status); }; } &&
9168 { ac_try='test -s conftest$ac_exeext'
9169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9173 (exit $ac_status); }; }; then
9174 ac_cv_lib_m_log10l=yes
9176 echo "$as_me: failed program was:" >&5
9177 sed 's/^/| /' conftest.$ac_ext >&5
9179 ac_cv_lib_m_log10l=no
9181 rm -f conftest.err conftest.$ac_objext \
9182 conftest$ac_exeext conftest.$ac_ext
9183 LIBS=$ac_check_lib_save_LIBS
9185 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
9186 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
9187 if test $ac_cv_lib_m_log10l = yes; then
9189 cat >>confdefs.h <<\_ACEOF
9190 #define HAVE_LOG10L 1
9195 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
9196 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
9197 if test "${ac_cv_lib_m_nextafter+set}" = set; then
9198 echo $ECHO_N "(cached) $ECHO_C" >&6
9200 ac_check_lib_save_LIBS=$LIBS
9202 if test x$gcc_no_link = xyes; then
9203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9205 { (exit 1); exit 1; }; }
9207 cat >conftest.$ac_ext <<_ACEOF
9210 cat confdefs.h >>conftest.$ac_ext
9211 cat >>conftest.$ac_ext <<_ACEOF
9212 /* end confdefs.h. */
9214 /* Override any gcc2 internal prototype to avoid an error. */
9218 /* We use char because int might match the return type of a gcc2
9219 builtin and then its argument prototype would still apply. */
9229 rm -f conftest.$ac_objext conftest$ac_exeext
9230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9231 (eval $ac_link) 2>conftest.er1
9233 grep -v '^ *+' conftest.er1 >conftest.err
9235 cat conftest.err >&5
9236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9237 (exit $ac_status); } &&
9238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9243 (exit $ac_status); }; } &&
9244 { ac_try='test -s conftest$ac_exeext'
9245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9249 (exit $ac_status); }; }; then
9250 ac_cv_lib_m_nextafter=yes
9252 echo "$as_me: failed program was:" >&5
9253 sed 's/^/| /' conftest.$ac_ext >&5
9255 ac_cv_lib_m_nextafter=no
9257 rm -f conftest.err conftest.$ac_objext \
9258 conftest$ac_exeext conftest.$ac_ext
9259 LIBS=$ac_check_lib_save_LIBS
9261 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
9262 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
9263 if test $ac_cv_lib_m_nextafter = yes; then
9265 cat >>confdefs.h <<\_ACEOF
9266 #define HAVE_NEXTAFTER 1
9271 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
9272 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
9273 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
9274 echo $ECHO_N "(cached) $ECHO_C" >&6
9276 ac_check_lib_save_LIBS=$LIBS
9278 if test x$gcc_no_link = xyes; then
9279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9281 { (exit 1); exit 1; }; }
9283 cat >conftest.$ac_ext <<_ACEOF
9286 cat confdefs.h >>conftest.$ac_ext
9287 cat >>conftest.$ac_ext <<_ACEOF
9288 /* end confdefs.h. */
9290 /* Override any gcc2 internal prototype to avoid an error. */
9294 /* We use char because int might match the return type of a gcc2
9295 builtin and then its argument prototype would still apply. */
9305 rm -f conftest.$ac_objext conftest$ac_exeext
9306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9307 (eval $ac_link) 2>conftest.er1
9309 grep -v '^ *+' conftest.er1 >conftest.err
9311 cat conftest.err >&5
9312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9313 (exit $ac_status); } &&
9314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9319 (exit $ac_status); }; } &&
9320 { ac_try='test -s conftest$ac_exeext'
9321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9325 (exit $ac_status); }; }; then
9326 ac_cv_lib_m_nextafterf=yes
9328 echo "$as_me: failed program was:" >&5
9329 sed 's/^/| /' conftest.$ac_ext >&5
9331 ac_cv_lib_m_nextafterf=no
9333 rm -f conftest.err conftest.$ac_objext \
9334 conftest$ac_exeext conftest.$ac_ext
9335 LIBS=$ac_check_lib_save_LIBS
9337 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
9338 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
9339 if test $ac_cv_lib_m_nextafterf = yes; then
9341 cat >>confdefs.h <<\_ACEOF
9342 #define HAVE_NEXTAFTERF 1
9347 echo "$as_me:$LINENO: checking for powf in -lm" >&5
9348 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
9349 if test "${ac_cv_lib_m_powf+set}" = set; then
9350 echo $ECHO_N "(cached) $ECHO_C" >&6
9352 ac_check_lib_save_LIBS=$LIBS
9354 if test x$gcc_no_link = xyes; then
9355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9357 { (exit 1); exit 1; }; }
9359 cat >conftest.$ac_ext <<_ACEOF
9362 cat confdefs.h >>conftest.$ac_ext
9363 cat >>conftest.$ac_ext <<_ACEOF
9364 /* end confdefs.h. */
9366 /* Override any gcc2 internal prototype to avoid an error. */
9370 /* We use char because int might match the return type of a gcc2
9371 builtin and then its argument prototype would still apply. */
9381 rm -f conftest.$ac_objext conftest$ac_exeext
9382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9383 (eval $ac_link) 2>conftest.er1
9385 grep -v '^ *+' conftest.er1 >conftest.err
9387 cat conftest.err >&5
9388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9389 (exit $ac_status); } &&
9390 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9395 (exit $ac_status); }; } &&
9396 { ac_try='test -s conftest$ac_exeext'
9397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9401 (exit $ac_status); }; }; then
9402 ac_cv_lib_m_powf=yes
9404 echo "$as_me: failed program was:" >&5
9405 sed 's/^/| /' conftest.$ac_ext >&5
9409 rm -f conftest.err conftest.$ac_objext \
9410 conftest$ac_exeext conftest.$ac_ext
9411 LIBS=$ac_check_lib_save_LIBS
9413 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
9414 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
9415 if test $ac_cv_lib_m_powf = yes; then
9417 cat >>confdefs.h <<\_ACEOF
9423 echo "$as_me:$LINENO: checking for round in -lm" >&5
9424 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
9425 if test "${ac_cv_lib_m_round+set}" = set; then
9426 echo $ECHO_N "(cached) $ECHO_C" >&6
9428 ac_check_lib_save_LIBS=$LIBS
9430 if test x$gcc_no_link = xyes; then
9431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9433 { (exit 1); exit 1; }; }
9435 cat >conftest.$ac_ext <<_ACEOF
9438 cat confdefs.h >>conftest.$ac_ext
9439 cat >>conftest.$ac_ext <<_ACEOF
9440 /* end confdefs.h. */
9442 /* Override any gcc2 internal prototype to avoid an error. */
9446 /* We use char because int might match the return type of a gcc2
9447 builtin and then its argument prototype would still apply. */
9457 rm -f conftest.$ac_objext conftest$ac_exeext
9458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9459 (eval $ac_link) 2>conftest.er1
9461 grep -v '^ *+' conftest.er1 >conftest.err
9463 cat conftest.err >&5
9464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9465 (exit $ac_status); } &&
9466 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 (exit $ac_status); }; } &&
9472 { ac_try='test -s conftest$ac_exeext'
9473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9477 (exit $ac_status); }; }; then
9478 ac_cv_lib_m_round=yes
9480 echo "$as_me: failed program was:" >&5
9481 sed 's/^/| /' conftest.$ac_ext >&5
9483 ac_cv_lib_m_round=no
9485 rm -f conftest.err conftest.$ac_objext \
9486 conftest$ac_exeext conftest.$ac_ext
9487 LIBS=$ac_check_lib_save_LIBS
9489 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
9490 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
9491 if test $ac_cv_lib_m_round = yes; then
9493 cat >>confdefs.h <<\_ACEOF
9494 #define HAVE_ROUND 1
9499 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
9500 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
9501 if test "${ac_cv_lib_m_roundf+set}" = set; then
9502 echo $ECHO_N "(cached) $ECHO_C" >&6
9504 ac_check_lib_save_LIBS=$LIBS
9506 if test x$gcc_no_link = xyes; then
9507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9509 { (exit 1); exit 1; }; }
9511 cat >conftest.$ac_ext <<_ACEOF
9514 cat confdefs.h >>conftest.$ac_ext
9515 cat >>conftest.$ac_ext <<_ACEOF
9516 /* end confdefs.h. */
9518 /* Override any gcc2 internal prototype to avoid an error. */
9522 /* We use char because int might match the return type of a gcc2
9523 builtin and then its argument prototype would still apply. */
9533 rm -f conftest.$ac_objext conftest$ac_exeext
9534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9535 (eval $ac_link) 2>conftest.er1
9537 grep -v '^ *+' conftest.er1 >conftest.err
9539 cat conftest.err >&5
9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); } &&
9542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9547 (exit $ac_status); }; } &&
9548 { ac_try='test -s conftest$ac_exeext'
9549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9553 (exit $ac_status); }; }; then
9554 ac_cv_lib_m_roundf=yes
9556 echo "$as_me: failed program was:" >&5
9557 sed 's/^/| /' conftest.$ac_ext >&5
9559 ac_cv_lib_m_roundf=no
9561 rm -f conftest.err conftest.$ac_objext \
9562 conftest$ac_exeext conftest.$ac_ext
9563 LIBS=$ac_check_lib_save_LIBS
9565 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
9566 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
9567 if test $ac_cv_lib_m_roundf = yes; then
9569 cat >>confdefs.h <<\_ACEOF
9570 #define HAVE_ROUNDF 1
9575 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
9576 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
9577 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
9578 echo $ECHO_N "(cached) $ECHO_C" >&6
9580 ac_check_lib_save_LIBS=$LIBS
9582 if test x$gcc_no_link = xyes; then
9583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9585 { (exit 1); exit 1; }; }
9587 cat >conftest.$ac_ext <<_ACEOF
9590 cat confdefs.h >>conftest.$ac_ext
9591 cat >>conftest.$ac_ext <<_ACEOF
9592 /* end confdefs.h. */
9594 /* Override any gcc2 internal prototype to avoid an error. */
9598 /* We use char because int might match the return type of a gcc2
9599 builtin and then its argument prototype would still apply. */
9609 rm -f conftest.$ac_objext conftest$ac_exeext
9610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9611 (eval $ac_link) 2>conftest.er1
9613 grep -v '^ *+' conftest.er1 >conftest.err
9615 cat conftest.err >&5
9616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9617 (exit $ac_status); } &&
9618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623 (exit $ac_status); }; } &&
9624 { ac_try='test -s conftest$ac_exeext'
9625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9629 (exit $ac_status); }; }; then
9630 ac_cv_lib_m_scalbnf=yes
9632 echo "$as_me: failed program was:" >&5
9633 sed 's/^/| /' conftest.$ac_ext >&5
9635 ac_cv_lib_m_scalbnf=no
9637 rm -f conftest.err conftest.$ac_objext \
9638 conftest$ac_exeext conftest.$ac_ext
9639 LIBS=$ac_check_lib_save_LIBS
9641 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
9642 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
9643 if test $ac_cv_lib_m_scalbnf = yes; then
9645 cat >>confdefs.h <<\_ACEOF
9646 #define HAVE_SCALBNF 1
9651 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
9652 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
9653 if test "${ac_cv_lib_m_scalbn+set}" = set; then
9654 echo $ECHO_N "(cached) $ECHO_C" >&6
9656 ac_check_lib_save_LIBS=$LIBS
9658 if test x$gcc_no_link = xyes; then
9659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9661 { (exit 1); exit 1; }; }
9663 cat >conftest.$ac_ext <<_ACEOF
9666 cat confdefs.h >>conftest.$ac_ext
9667 cat >>conftest.$ac_ext <<_ACEOF
9668 /* end confdefs.h. */
9670 /* Override any gcc2 internal prototype to avoid an error. */
9674 /* We use char because int might match the return type of a gcc2
9675 builtin and then its argument prototype would still apply. */
9685 rm -f conftest.$ac_objext conftest$ac_exeext
9686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9687 (eval $ac_link) 2>conftest.er1
9689 grep -v '^ *+' conftest.er1 >conftest.err
9691 cat conftest.err >&5
9692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9693 (exit $ac_status); } &&
9694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9699 (exit $ac_status); }; } &&
9700 { ac_try='test -s conftest$ac_exeext'
9701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9705 (exit $ac_status); }; }; then
9706 ac_cv_lib_m_scalbn=yes
9708 echo "$as_me: failed program was:" >&5
9709 sed 's/^/| /' conftest.$ac_ext >&5
9711 ac_cv_lib_m_scalbn=no
9713 rm -f conftest.err conftest.$ac_objext \
9714 conftest$ac_exeext conftest.$ac_ext
9715 LIBS=$ac_check_lib_save_LIBS
9717 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
9718 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
9719 if test $ac_cv_lib_m_scalbn = yes; then
9721 cat >>confdefs.h <<\_ACEOF
9722 #define HAVE_SCALBN 1
9727 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
9728 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
9729 if test "${ac_cv_lib_m_sinf+set}" = set; then
9730 echo $ECHO_N "(cached) $ECHO_C" >&6
9732 ac_check_lib_save_LIBS=$LIBS
9734 if test x$gcc_no_link = xyes; then
9735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9737 { (exit 1); exit 1; }; }
9739 cat >conftest.$ac_ext <<_ACEOF
9742 cat confdefs.h >>conftest.$ac_ext
9743 cat >>conftest.$ac_ext <<_ACEOF
9744 /* end confdefs.h. */
9746 /* Override any gcc2 internal prototype to avoid an error. */
9750 /* We use char because int might match the return type of a gcc2
9751 builtin and then its argument prototype would still apply. */
9761 rm -f conftest.$ac_objext conftest$ac_exeext
9762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9763 (eval $ac_link) 2>conftest.er1
9765 grep -v '^ *+' conftest.er1 >conftest.err
9767 cat conftest.err >&5
9768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9769 (exit $ac_status); } &&
9770 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9775 (exit $ac_status); }; } &&
9776 { ac_try='test -s conftest$ac_exeext'
9777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 (exit $ac_status); }; }; then
9782 ac_cv_lib_m_sinf=yes
9784 echo "$as_me: failed program was:" >&5
9785 sed 's/^/| /' conftest.$ac_ext >&5
9789 rm -f conftest.err conftest.$ac_objext \
9790 conftest$ac_exeext conftest.$ac_ext
9791 LIBS=$ac_check_lib_save_LIBS
9793 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
9794 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
9795 if test $ac_cv_lib_m_sinf = yes; then
9797 cat >>confdefs.h <<\_ACEOF
9803 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
9804 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
9805 if test "${ac_cv_lib_m_sinhf+set}" = set; then
9806 echo $ECHO_N "(cached) $ECHO_C" >&6
9808 ac_check_lib_save_LIBS=$LIBS
9810 if test x$gcc_no_link = xyes; then
9811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9813 { (exit 1); exit 1; }; }
9815 cat >conftest.$ac_ext <<_ACEOF
9818 cat confdefs.h >>conftest.$ac_ext
9819 cat >>conftest.$ac_ext <<_ACEOF
9820 /* end confdefs.h. */
9822 /* Override any gcc2 internal prototype to avoid an error. */
9826 /* We use char because int might match the return type of a gcc2
9827 builtin and then its argument prototype would still apply. */
9837 rm -f conftest.$ac_objext conftest$ac_exeext
9838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9839 (eval $ac_link) 2>conftest.er1
9841 grep -v '^ *+' conftest.er1 >conftest.err
9843 cat conftest.err >&5
9844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845 (exit $ac_status); } &&
9846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9851 (exit $ac_status); }; } &&
9852 { ac_try='test -s conftest$ac_exeext'
9853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9857 (exit $ac_status); }; }; then
9858 ac_cv_lib_m_sinhf=yes
9860 echo "$as_me: failed program was:" >&5
9861 sed 's/^/| /' conftest.$ac_ext >&5
9863 ac_cv_lib_m_sinhf=no
9865 rm -f conftest.err conftest.$ac_objext \
9866 conftest$ac_exeext conftest.$ac_ext
9867 LIBS=$ac_check_lib_save_LIBS
9869 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
9870 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
9871 if test $ac_cv_lib_m_sinhf = yes; then
9873 cat >>confdefs.h <<\_ACEOF
9874 #define HAVE_SINHF 1
9879 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
9880 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
9881 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
9882 echo $ECHO_N "(cached) $ECHO_C" >&6
9884 ac_check_lib_save_LIBS=$LIBS
9886 if test x$gcc_no_link = xyes; then
9887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9889 { (exit 1); exit 1; }; }
9891 cat >conftest.$ac_ext <<_ACEOF
9894 cat confdefs.h >>conftest.$ac_ext
9895 cat >>conftest.$ac_ext <<_ACEOF
9896 /* end confdefs.h. */
9898 /* Override any gcc2 internal prototype to avoid an error. */
9902 /* We use char because int might match the return type of a gcc2
9903 builtin and then its argument prototype would still apply. */
9913 rm -f conftest.$ac_objext conftest$ac_exeext
9914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9915 (eval $ac_link) 2>conftest.er1
9917 grep -v '^ *+' conftest.er1 >conftest.err
9919 cat conftest.err >&5
9920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9921 (exit $ac_status); } &&
9922 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9927 (exit $ac_status); }; } &&
9928 { ac_try='test -s conftest$ac_exeext'
9929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9933 (exit $ac_status); }; }; then
9934 ac_cv_lib_m_sqrtf=yes
9936 echo "$as_me: failed program was:" >&5
9937 sed 's/^/| /' conftest.$ac_ext >&5
9939 ac_cv_lib_m_sqrtf=no
9941 rm -f conftest.err conftest.$ac_objext \
9942 conftest$ac_exeext conftest.$ac_ext
9943 LIBS=$ac_check_lib_save_LIBS
9945 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
9946 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
9947 if test $ac_cv_lib_m_sqrtf = yes; then
9949 cat >>confdefs.h <<\_ACEOF
9950 #define HAVE_SQRTF 1
9955 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
9956 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
9957 if test "${ac_cv_lib_m_tanf+set}" = set; then
9958 echo $ECHO_N "(cached) $ECHO_C" >&6
9960 ac_check_lib_save_LIBS=$LIBS
9962 if test x$gcc_no_link = xyes; then
9963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9965 { (exit 1); exit 1; }; }
9967 cat >conftest.$ac_ext <<_ACEOF
9970 cat confdefs.h >>conftest.$ac_ext
9971 cat >>conftest.$ac_ext <<_ACEOF
9972 /* end confdefs.h. */
9974 /* Override any gcc2 internal prototype to avoid an error. */
9978 /* We use char because int might match the return type of a gcc2
9979 builtin and then its argument prototype would still apply. */
9989 rm -f conftest.$ac_objext conftest$ac_exeext
9990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9991 (eval $ac_link) 2>conftest.er1
9993 grep -v '^ *+' conftest.er1 >conftest.err
9995 cat conftest.err >&5
9996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9997 (exit $ac_status); } &&
9998 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10000 (eval $ac_try) 2>&5
10002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10003 (exit $ac_status); }; } &&
10004 { ac_try='test -s conftest$ac_exeext'
10005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10006 (eval $ac_try) 2>&5
10008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10009 (exit $ac_status); }; }; then
10010 ac_cv_lib_m_tanf=yes
10012 echo "$as_me: failed program was:" >&5
10013 sed 's/^/| /' conftest.$ac_ext >&5
10015 ac_cv_lib_m_tanf=no
10017 rm -f conftest.err conftest.$ac_objext \
10018 conftest$ac_exeext conftest.$ac_ext
10019 LIBS=$ac_check_lib_save_LIBS
10021 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
10022 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
10023 if test $ac_cv_lib_m_tanf = yes; then
10025 cat >>confdefs.h <<\_ACEOF
10026 #define HAVE_TANF 1
10031 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
10032 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
10033 if test "${ac_cv_lib_m_tanhf+set}" = set; then
10034 echo $ECHO_N "(cached) $ECHO_C" >&6
10036 ac_check_lib_save_LIBS=$LIBS
10038 if test x$gcc_no_link = xyes; then
10039 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10041 { (exit 1); exit 1; }; }
10043 cat >conftest.$ac_ext <<_ACEOF
10046 cat confdefs.h >>conftest.$ac_ext
10047 cat >>conftest.$ac_ext <<_ACEOF
10048 /* end confdefs.h. */
10050 /* Override any gcc2 internal prototype to avoid an error. */
10054 /* We use char because int might match the return type of a gcc2
10055 builtin and then its argument prototype would still apply. */
10065 rm -f conftest.$ac_objext conftest$ac_exeext
10066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10067 (eval $ac_link) 2>conftest.er1
10069 grep -v '^ *+' conftest.er1 >conftest.err
10071 cat conftest.err >&5
10072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10073 (exit $ac_status); } &&
10074 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10076 (eval $ac_try) 2>&5
10078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10079 (exit $ac_status); }; } &&
10080 { ac_try='test -s conftest$ac_exeext'
10081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10082 (eval $ac_try) 2>&5
10084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10085 (exit $ac_status); }; }; then
10086 ac_cv_lib_m_tanhf=yes
10088 echo "$as_me: failed program was:" >&5
10089 sed 's/^/| /' conftest.$ac_ext >&5
10091 ac_cv_lib_m_tanhf=no
10093 rm -f conftest.err conftest.$ac_objext \
10094 conftest$ac_exeext conftest.$ac_ext
10095 LIBS=$ac_check_lib_save_LIBS
10097 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
10098 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
10099 if test $ac_cv_lib_m_tanhf = yes; then
10101 cat >>confdefs.h <<\_ACEOF
10102 #define HAVE_TANHF 1
10107 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
10108 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
10109 if test "${ac_cv_lib_m_trunc+set}" = set; then
10110 echo $ECHO_N "(cached) $ECHO_C" >&6
10112 ac_check_lib_save_LIBS=$LIBS
10114 if test x$gcc_no_link = xyes; then
10115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10117 { (exit 1); exit 1; }; }
10119 cat >conftest.$ac_ext <<_ACEOF
10122 cat confdefs.h >>conftest.$ac_ext
10123 cat >>conftest.$ac_ext <<_ACEOF
10124 /* end confdefs.h. */
10126 /* Override any gcc2 internal prototype to avoid an error. */
10130 /* We use char because int might match the return type of a gcc2
10131 builtin and then its argument prototype would still apply. */
10141 rm -f conftest.$ac_objext conftest$ac_exeext
10142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10143 (eval $ac_link) 2>conftest.er1
10145 grep -v '^ *+' conftest.er1 >conftest.err
10147 cat conftest.err >&5
10148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10149 (exit $ac_status); } &&
10150 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10152 (eval $ac_try) 2>&5
10154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10155 (exit $ac_status); }; } &&
10156 { ac_try='test -s conftest$ac_exeext'
10157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10158 (eval $ac_try) 2>&5
10160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10161 (exit $ac_status); }; }; then
10162 ac_cv_lib_m_trunc=yes
10164 echo "$as_me: failed program was:" >&5
10165 sed 's/^/| /' conftest.$ac_ext >&5
10167 ac_cv_lib_m_trunc=no
10169 rm -f conftest.err conftest.$ac_objext \
10170 conftest$ac_exeext conftest.$ac_ext
10171 LIBS=$ac_check_lib_save_LIBS
10173 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
10174 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
10175 if test $ac_cv_lib_m_trunc = yes; then
10177 cat >>confdefs.h <<\_ACEOF
10178 #define HAVE_TRUNC 1
10183 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
10184 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
10185 if test "${ac_cv_lib_m_truncf+set}" = set; then
10186 echo $ECHO_N "(cached) $ECHO_C" >&6
10188 ac_check_lib_save_LIBS=$LIBS
10190 if test x$gcc_no_link = xyes; then
10191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10193 { (exit 1); exit 1; }; }
10195 cat >conftest.$ac_ext <<_ACEOF
10198 cat confdefs.h >>conftest.$ac_ext
10199 cat >>conftest.$ac_ext <<_ACEOF
10200 /* end confdefs.h. */
10202 /* Override any gcc2 internal prototype to avoid an error. */
10206 /* We use char because int might match the return type of a gcc2
10207 builtin and then its argument prototype would still apply. */
10217 rm -f conftest.$ac_objext conftest$ac_exeext
10218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10219 (eval $ac_link) 2>conftest.er1
10221 grep -v '^ *+' conftest.er1 >conftest.err
10223 cat conftest.err >&5
10224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10225 (exit $ac_status); } &&
10226 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10228 (eval $ac_try) 2>&5
10230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10231 (exit $ac_status); }; } &&
10232 { ac_try='test -s conftest$ac_exeext'
10233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10234 (eval $ac_try) 2>&5
10236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10237 (exit $ac_status); }; }; then
10238 ac_cv_lib_m_truncf=yes
10240 echo "$as_me: failed program was:" >&5
10241 sed 's/^/| /' conftest.$ac_ext >&5
10243 ac_cv_lib_m_truncf=no
10245 rm -f conftest.err conftest.$ac_objext \
10246 conftest$ac_exeext conftest.$ac_ext
10247 LIBS=$ac_check_lib_save_LIBS
10249 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
10250 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
10251 if test $ac_cv_lib_m_truncf = yes; then
10253 cat >>confdefs.h <<\_ACEOF
10254 #define HAVE_TRUNCF 1
10259 echo "$as_me:$LINENO: checking for erf in -lm" >&5
10260 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
10261 if test "${ac_cv_lib_m_erf+set}" = set; then
10262 echo $ECHO_N "(cached) $ECHO_C" >&6
10264 ac_check_lib_save_LIBS=$LIBS
10266 if test x$gcc_no_link = xyes; then
10267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10269 { (exit 1); exit 1; }; }
10271 cat >conftest.$ac_ext <<_ACEOF
10274 cat confdefs.h >>conftest.$ac_ext
10275 cat >>conftest.$ac_ext <<_ACEOF
10276 /* end confdefs.h. */
10278 /* Override any gcc2 internal prototype to avoid an error. */
10282 /* We use char because int might match the return type of a gcc2
10283 builtin and then its argument prototype would still apply. */
10293 rm -f conftest.$ac_objext conftest$ac_exeext
10294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10295 (eval $ac_link) 2>conftest.er1
10297 grep -v '^ *+' conftest.er1 >conftest.err
10299 cat conftest.err >&5
10300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301 (exit $ac_status); } &&
10302 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10304 (eval $ac_try) 2>&5
10306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10307 (exit $ac_status); }; } &&
10308 { ac_try='test -s conftest$ac_exeext'
10309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10310 (eval $ac_try) 2>&5
10312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10313 (exit $ac_status); }; }; then
10314 ac_cv_lib_m_erf=yes
10316 echo "$as_me: failed program was:" >&5
10317 sed 's/^/| /' conftest.$ac_ext >&5
10321 rm -f conftest.err conftest.$ac_objext \
10322 conftest$ac_exeext conftest.$ac_ext
10323 LIBS=$ac_check_lib_save_LIBS
10325 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
10326 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
10327 if test $ac_cv_lib_m_erf = yes; then
10329 cat >>confdefs.h <<\_ACEOF
10335 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
10336 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
10337 if test "${ac_cv_lib_m_erfc+set}" = set; then
10338 echo $ECHO_N "(cached) $ECHO_C" >&6
10340 ac_check_lib_save_LIBS=$LIBS
10342 if test x$gcc_no_link = xyes; then
10343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10345 { (exit 1); exit 1; }; }
10347 cat >conftest.$ac_ext <<_ACEOF
10350 cat confdefs.h >>conftest.$ac_ext
10351 cat >>conftest.$ac_ext <<_ACEOF
10352 /* end confdefs.h. */
10354 /* Override any gcc2 internal prototype to avoid an error. */
10358 /* We use char because int might match the return type of a gcc2
10359 builtin and then its argument prototype would still apply. */
10369 rm -f conftest.$ac_objext conftest$ac_exeext
10370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10371 (eval $ac_link) 2>conftest.er1
10373 grep -v '^ *+' conftest.er1 >conftest.err
10375 cat conftest.err >&5
10376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10377 (exit $ac_status); } &&
10378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10380 (eval $ac_try) 2>&5
10382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10383 (exit $ac_status); }; } &&
10384 { ac_try='test -s conftest$ac_exeext'
10385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10386 (eval $ac_try) 2>&5
10388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10389 (exit $ac_status); }; }; then
10390 ac_cv_lib_m_erfc=yes
10392 echo "$as_me: failed program was:" >&5
10393 sed 's/^/| /' conftest.$ac_ext >&5
10395 ac_cv_lib_m_erfc=no
10397 rm -f conftest.err conftest.$ac_objext \
10398 conftest$ac_exeext conftest.$ac_ext
10399 LIBS=$ac_check_lib_save_LIBS
10401 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
10402 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
10403 if test $ac_cv_lib_m_erfc = yes; then
10405 cat >>confdefs.h <<\_ACEOF
10406 #define HAVE_ERFC 1
10411 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
10412 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
10413 if test "${ac_cv_lib_m_erfcf+set}" = set; then
10414 echo $ECHO_N "(cached) $ECHO_C" >&6
10416 ac_check_lib_save_LIBS=$LIBS
10418 if test x$gcc_no_link = xyes; then
10419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10421 { (exit 1); exit 1; }; }
10423 cat >conftest.$ac_ext <<_ACEOF
10426 cat confdefs.h >>conftest.$ac_ext
10427 cat >>conftest.$ac_ext <<_ACEOF
10428 /* end confdefs.h. */
10430 /* Override any gcc2 internal prototype to avoid an error. */
10434 /* We use char because int might match the return type of a gcc2
10435 builtin and then its argument prototype would still apply. */
10445 rm -f conftest.$ac_objext conftest$ac_exeext
10446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10447 (eval $ac_link) 2>conftest.er1
10449 grep -v '^ *+' conftest.er1 >conftest.err
10451 cat conftest.err >&5
10452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10453 (exit $ac_status); } &&
10454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10456 (eval $ac_try) 2>&5
10458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10459 (exit $ac_status); }; } &&
10460 { ac_try='test -s conftest$ac_exeext'
10461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10462 (eval $ac_try) 2>&5
10464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465 (exit $ac_status); }; }; then
10466 ac_cv_lib_m_erfcf=yes
10468 echo "$as_me: failed program was:" >&5
10469 sed 's/^/| /' conftest.$ac_ext >&5
10471 ac_cv_lib_m_erfcf=no
10473 rm -f conftest.err conftest.$ac_objext \
10474 conftest$ac_exeext conftest.$ac_ext
10475 LIBS=$ac_check_lib_save_LIBS
10477 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
10478 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
10479 if test $ac_cv_lib_m_erfcf = yes; then
10481 cat >>confdefs.h <<\_ACEOF
10482 #define HAVE_ERFCF 1
10487 echo "$as_me:$LINENO: checking for erff in -lm" >&5
10488 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
10489 if test "${ac_cv_lib_m_erff+set}" = set; then
10490 echo $ECHO_N "(cached) $ECHO_C" >&6
10492 ac_check_lib_save_LIBS=$LIBS
10494 if test x$gcc_no_link = xyes; then
10495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10497 { (exit 1); exit 1; }; }
10499 cat >conftest.$ac_ext <<_ACEOF
10502 cat confdefs.h >>conftest.$ac_ext
10503 cat >>conftest.$ac_ext <<_ACEOF
10504 /* end confdefs.h. */
10506 /* Override any gcc2 internal prototype to avoid an error. */
10510 /* We use char because int might match the return type of a gcc2
10511 builtin and then its argument prototype would still apply. */
10521 rm -f conftest.$ac_objext conftest$ac_exeext
10522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10523 (eval $ac_link) 2>conftest.er1
10525 grep -v '^ *+' conftest.er1 >conftest.err
10527 cat conftest.err >&5
10528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10529 (exit $ac_status); } &&
10530 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10532 (eval $ac_try) 2>&5
10534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10535 (exit $ac_status); }; } &&
10536 { ac_try='test -s conftest$ac_exeext'
10537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10538 (eval $ac_try) 2>&5
10540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10541 (exit $ac_status); }; }; then
10542 ac_cv_lib_m_erff=yes
10544 echo "$as_me: failed program was:" >&5
10545 sed 's/^/| /' conftest.$ac_ext >&5
10547 ac_cv_lib_m_erff=no
10549 rm -f conftest.err conftest.$ac_objext \
10550 conftest$ac_exeext conftest.$ac_ext
10551 LIBS=$ac_check_lib_save_LIBS
10553 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
10554 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
10555 if test $ac_cv_lib_m_erff = yes; then
10557 cat >>confdefs.h <<\_ACEOF
10558 #define HAVE_ERFF 1
10563 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
10564 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
10565 if test "${ac_cv_lib_m_j0+set}" = set; then
10566 echo $ECHO_N "(cached) $ECHO_C" >&6
10568 ac_check_lib_save_LIBS=$LIBS
10570 if test x$gcc_no_link = xyes; then
10571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10573 { (exit 1); exit 1; }; }
10575 cat >conftest.$ac_ext <<_ACEOF
10578 cat confdefs.h >>conftest.$ac_ext
10579 cat >>conftest.$ac_ext <<_ACEOF
10580 /* end confdefs.h. */
10582 /* Override any gcc2 internal prototype to avoid an error. */
10586 /* We use char because int might match the return type of a gcc2
10587 builtin and then its argument prototype would still apply. */
10597 rm -f conftest.$ac_objext conftest$ac_exeext
10598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10599 (eval $ac_link) 2>conftest.er1
10601 grep -v '^ *+' conftest.er1 >conftest.err
10603 cat conftest.err >&5
10604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10605 (exit $ac_status); } &&
10606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10608 (eval $ac_try) 2>&5
10610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10611 (exit $ac_status); }; } &&
10612 { ac_try='test -s conftest$ac_exeext'
10613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10614 (eval $ac_try) 2>&5
10616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10617 (exit $ac_status); }; }; then
10620 echo "$as_me: failed program was:" >&5
10621 sed 's/^/| /' conftest.$ac_ext >&5
10625 rm -f conftest.err conftest.$ac_objext \
10626 conftest$ac_exeext conftest.$ac_ext
10627 LIBS=$ac_check_lib_save_LIBS
10629 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
10630 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
10631 if test $ac_cv_lib_m_j0 = yes; then
10633 cat >>confdefs.h <<\_ACEOF
10639 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
10640 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
10641 if test "${ac_cv_lib_m_j0f+set}" = set; then
10642 echo $ECHO_N "(cached) $ECHO_C" >&6
10644 ac_check_lib_save_LIBS=$LIBS
10646 if test x$gcc_no_link = xyes; then
10647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10649 { (exit 1); exit 1; }; }
10651 cat >conftest.$ac_ext <<_ACEOF
10654 cat confdefs.h >>conftest.$ac_ext
10655 cat >>conftest.$ac_ext <<_ACEOF
10656 /* end confdefs.h. */
10658 /* Override any gcc2 internal prototype to avoid an error. */
10662 /* We use char because int might match the return type of a gcc2
10663 builtin and then its argument prototype would still apply. */
10673 rm -f conftest.$ac_objext conftest$ac_exeext
10674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10675 (eval $ac_link) 2>conftest.er1
10677 grep -v '^ *+' conftest.er1 >conftest.err
10679 cat conftest.err >&5
10680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10681 (exit $ac_status); } &&
10682 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10684 (eval $ac_try) 2>&5
10686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10687 (exit $ac_status); }; } &&
10688 { ac_try='test -s conftest$ac_exeext'
10689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10690 (eval $ac_try) 2>&5
10692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10693 (exit $ac_status); }; }; then
10694 ac_cv_lib_m_j0f=yes
10696 echo "$as_me: failed program was:" >&5
10697 sed 's/^/| /' conftest.$ac_ext >&5
10701 rm -f conftest.err conftest.$ac_objext \
10702 conftest$ac_exeext conftest.$ac_ext
10703 LIBS=$ac_check_lib_save_LIBS
10705 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
10706 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
10707 if test $ac_cv_lib_m_j0f = yes; then
10709 cat >>confdefs.h <<\_ACEOF
10715 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
10716 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
10717 if test "${ac_cv_lib_m_j1+set}" = set; then
10718 echo $ECHO_N "(cached) $ECHO_C" >&6
10720 ac_check_lib_save_LIBS=$LIBS
10722 if test x$gcc_no_link = xyes; then
10723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10725 { (exit 1); exit 1; }; }
10727 cat >conftest.$ac_ext <<_ACEOF
10730 cat confdefs.h >>conftest.$ac_ext
10731 cat >>conftest.$ac_ext <<_ACEOF
10732 /* end confdefs.h. */
10734 /* Override any gcc2 internal prototype to avoid an error. */
10738 /* We use char because int might match the return type of a gcc2
10739 builtin and then its argument prototype would still apply. */
10749 rm -f conftest.$ac_objext conftest$ac_exeext
10750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10751 (eval $ac_link) 2>conftest.er1
10753 grep -v '^ *+' conftest.er1 >conftest.err
10755 cat conftest.err >&5
10756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757 (exit $ac_status); } &&
10758 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10760 (eval $ac_try) 2>&5
10762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10763 (exit $ac_status); }; } &&
10764 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
10772 echo "$as_me: failed program was:" >&5
10773 sed 's/^/| /' conftest.$ac_ext >&5
10777 rm -f conftest.err conftest.$ac_objext \
10778 conftest$ac_exeext conftest.$ac_ext
10779 LIBS=$ac_check_lib_save_LIBS
10781 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
10782 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
10783 if test $ac_cv_lib_m_j1 = yes; then
10785 cat >>confdefs.h <<\_ACEOF
10791 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
10792 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
10793 if test "${ac_cv_lib_m_j1f+set}" = set; then
10794 echo $ECHO_N "(cached) $ECHO_C" >&6
10796 ac_check_lib_save_LIBS=$LIBS
10798 if test x$gcc_no_link = xyes; then
10799 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10801 { (exit 1); exit 1; }; }
10803 cat >conftest.$ac_ext <<_ACEOF
10806 cat confdefs.h >>conftest.$ac_ext
10807 cat >>conftest.$ac_ext <<_ACEOF
10808 /* end confdefs.h. */
10810 /* Override any gcc2 internal prototype to avoid an error. */
10814 /* We use char because int might match the return type of a gcc2
10815 builtin and then its argument prototype would still apply. */
10825 rm -f conftest.$ac_objext conftest$ac_exeext
10826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10827 (eval $ac_link) 2>conftest.er1
10829 grep -v '^ *+' conftest.er1 >conftest.err
10831 cat conftest.err >&5
10832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10833 (exit $ac_status); } &&
10834 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10836 (eval $ac_try) 2>&5
10838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10839 (exit $ac_status); }; } &&
10840 { ac_try='test -s conftest$ac_exeext'
10841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10842 (eval $ac_try) 2>&5
10844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10845 (exit $ac_status); }; }; then
10846 ac_cv_lib_m_j1f=yes
10848 echo "$as_me: failed program was:" >&5
10849 sed 's/^/| /' conftest.$ac_ext >&5
10853 rm -f conftest.err conftest.$ac_objext \
10854 conftest$ac_exeext conftest.$ac_ext
10855 LIBS=$ac_check_lib_save_LIBS
10857 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
10858 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
10859 if test $ac_cv_lib_m_j1f = yes; then
10861 cat >>confdefs.h <<\_ACEOF
10867 echo "$as_me:$LINENO: checking for jn in -lm" >&5
10868 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
10869 if test "${ac_cv_lib_m_jn+set}" = set; then
10870 echo $ECHO_N "(cached) $ECHO_C" >&6
10872 ac_check_lib_save_LIBS=$LIBS
10874 if test x$gcc_no_link = xyes; then
10875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10877 { (exit 1); exit 1; }; }
10879 cat >conftest.$ac_ext <<_ACEOF
10882 cat confdefs.h >>conftest.$ac_ext
10883 cat >>conftest.$ac_ext <<_ACEOF
10884 /* end confdefs.h. */
10886 /* Override any gcc2 internal prototype to avoid an error. */
10890 /* We use char because int might match the return type of a gcc2
10891 builtin and then its argument prototype would still apply. */
10901 rm -f conftest.$ac_objext conftest$ac_exeext
10902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10903 (eval $ac_link) 2>conftest.er1
10905 grep -v '^ *+' conftest.er1 >conftest.err
10907 cat conftest.err >&5
10908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10909 (exit $ac_status); } &&
10910 { ac_try='test -z "$ac_c_werror_flag" || 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
10924 echo "$as_me: failed program was:" >&5
10925 sed 's/^/| /' conftest.$ac_ext >&5
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_jn" >&5
10934 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
10935 if test $ac_cv_lib_m_jn = yes; then
10937 cat >>confdefs.h <<\_ACEOF
10943 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
10944 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
10945 if test "${ac_cv_lib_m_jnf+set}" = set; then
10946 echo $ECHO_N "(cached) $ECHO_C" >&6
10948 ac_check_lib_save_LIBS=$LIBS
10950 if test x$gcc_no_link = xyes; then
10951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10953 { (exit 1); exit 1; }; }
10955 cat >conftest.$ac_ext <<_ACEOF
10958 cat confdefs.h >>conftest.$ac_ext
10959 cat >>conftest.$ac_ext <<_ACEOF
10960 /* end confdefs.h. */
10962 /* Override any gcc2 internal prototype to avoid an error. */
10966 /* We use char because int might match the return type of a gcc2
10967 builtin and then its argument prototype would still apply. */
10977 rm -f conftest.$ac_objext conftest$ac_exeext
10978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10979 (eval $ac_link) 2>conftest.er1
10981 grep -v '^ *+' conftest.er1 >conftest.err
10983 cat conftest.err >&5
10984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10985 (exit $ac_status); } &&
10986 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10988 (eval $ac_try) 2>&5
10990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10991 (exit $ac_status); }; } &&
10992 { ac_try='test -s conftest$ac_exeext'
10993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10994 (eval $ac_try) 2>&5
10996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10997 (exit $ac_status); }; }; then
10998 ac_cv_lib_m_jnf=yes
11000 echo "$as_me: failed program was:" >&5
11001 sed 's/^/| /' conftest.$ac_ext >&5
11005 rm -f conftest.err conftest.$ac_objext \
11006 conftest$ac_exeext conftest.$ac_ext
11007 LIBS=$ac_check_lib_save_LIBS
11009 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
11010 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
11011 if test $ac_cv_lib_m_jnf = yes; then
11013 cat >>confdefs.h <<\_ACEOF
11019 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
11020 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
11021 if test "${ac_cv_lib_m_y0+set}" = set; then
11022 echo $ECHO_N "(cached) $ECHO_C" >&6
11024 ac_check_lib_save_LIBS=$LIBS
11026 if test x$gcc_no_link = xyes; then
11027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11029 { (exit 1); exit 1; }; }
11031 cat >conftest.$ac_ext <<_ACEOF
11034 cat confdefs.h >>conftest.$ac_ext
11035 cat >>conftest.$ac_ext <<_ACEOF
11036 /* end confdefs.h. */
11038 /* Override any gcc2 internal prototype to avoid an error. */
11042 /* We use char because int might match the return type of a gcc2
11043 builtin and then its argument prototype would still apply. */
11053 rm -f conftest.$ac_objext conftest$ac_exeext
11054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11055 (eval $ac_link) 2>conftest.er1
11057 grep -v '^ *+' conftest.er1 >conftest.err
11059 cat conftest.err >&5
11060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11061 (exit $ac_status); } &&
11062 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11064 (eval $ac_try) 2>&5
11066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11067 (exit $ac_status); }; } &&
11068 { ac_try='test -s conftest$ac_exeext'
11069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11070 (eval $ac_try) 2>&5
11072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11073 (exit $ac_status); }; }; then
11076 echo "$as_me: failed program was:" >&5
11077 sed 's/^/| /' conftest.$ac_ext >&5
11081 rm -f conftest.err conftest.$ac_objext \
11082 conftest$ac_exeext conftest.$ac_ext
11083 LIBS=$ac_check_lib_save_LIBS
11085 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
11086 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
11087 if test $ac_cv_lib_m_y0 = yes; then
11089 cat >>confdefs.h <<\_ACEOF
11095 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
11096 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
11097 if test "${ac_cv_lib_m_y0f+set}" = set; then
11098 echo $ECHO_N "(cached) $ECHO_C" >&6
11100 ac_check_lib_save_LIBS=$LIBS
11102 if test x$gcc_no_link = xyes; then
11103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11105 { (exit 1); exit 1; }; }
11107 cat >conftest.$ac_ext <<_ACEOF
11110 cat confdefs.h >>conftest.$ac_ext
11111 cat >>conftest.$ac_ext <<_ACEOF
11112 /* end confdefs.h. */
11114 /* Override any gcc2 internal prototype to avoid an error. */
11118 /* We use char because int might match the return type of a gcc2
11119 builtin and then its argument prototype would still apply. */
11129 rm -f conftest.$ac_objext conftest$ac_exeext
11130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11131 (eval $ac_link) 2>conftest.er1
11133 grep -v '^ *+' conftest.er1 >conftest.err
11135 cat conftest.err >&5
11136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11137 (exit $ac_status); } &&
11138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11140 (eval $ac_try) 2>&5
11142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 (exit $ac_status); }; } &&
11144 { ac_try='test -s conftest$ac_exeext'
11145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11146 (eval $ac_try) 2>&5
11148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); }; }; then
11150 ac_cv_lib_m_y0f=yes
11152 echo "$as_me: failed program was:" >&5
11153 sed 's/^/| /' conftest.$ac_ext >&5
11157 rm -f conftest.err conftest.$ac_objext \
11158 conftest$ac_exeext conftest.$ac_ext
11159 LIBS=$ac_check_lib_save_LIBS
11161 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
11162 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
11163 if test $ac_cv_lib_m_y0f = yes; then
11165 cat >>confdefs.h <<\_ACEOF
11171 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
11172 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
11173 if test "${ac_cv_lib_m_y1+set}" = set; then
11174 echo $ECHO_N "(cached) $ECHO_C" >&6
11176 ac_check_lib_save_LIBS=$LIBS
11178 if test x$gcc_no_link = xyes; then
11179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11181 { (exit 1); exit 1; }; }
11183 cat >conftest.$ac_ext <<_ACEOF
11186 cat confdefs.h >>conftest.$ac_ext
11187 cat >>conftest.$ac_ext <<_ACEOF
11188 /* end confdefs.h. */
11190 /* Override any gcc2 internal prototype to avoid an error. */
11194 /* We use char because int might match the return type of a gcc2
11195 builtin and then its argument prototype would still apply. */
11205 rm -f conftest.$ac_objext conftest$ac_exeext
11206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11207 (eval $ac_link) 2>conftest.er1
11209 grep -v '^ *+' conftest.er1 >conftest.err
11211 cat conftest.err >&5
11212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11213 (exit $ac_status); } &&
11214 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11216 (eval $ac_try) 2>&5
11218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11219 (exit $ac_status); }; } &&
11220 { ac_try='test -s 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
11228 echo "$as_me: failed program was:" >&5
11229 sed 's/^/| /' conftest.$ac_ext >&5
11233 rm -f conftest.err conftest.$ac_objext \
11234 conftest$ac_exeext conftest.$ac_ext
11235 LIBS=$ac_check_lib_save_LIBS
11237 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
11238 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
11239 if test $ac_cv_lib_m_y1 = yes; then
11241 cat >>confdefs.h <<\_ACEOF
11247 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
11248 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
11249 if test "${ac_cv_lib_m_y1f+set}" = set; then
11250 echo $ECHO_N "(cached) $ECHO_C" >&6
11252 ac_check_lib_save_LIBS=$LIBS
11254 if test x$gcc_no_link = xyes; then
11255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11257 { (exit 1); exit 1; }; }
11259 cat >conftest.$ac_ext <<_ACEOF
11262 cat confdefs.h >>conftest.$ac_ext
11263 cat >>conftest.$ac_ext <<_ACEOF
11264 /* end confdefs.h. */
11266 /* Override any gcc2 internal prototype to avoid an error. */
11270 /* We use char because int might match the return type of a gcc2
11271 builtin and then its argument prototype would still apply. */
11281 rm -f conftest.$ac_objext conftest$ac_exeext
11282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11283 (eval $ac_link) 2>conftest.er1
11285 grep -v '^ *+' conftest.er1 >conftest.err
11287 cat conftest.err >&5
11288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11289 (exit $ac_status); } &&
11290 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11292 (eval $ac_try) 2>&5
11294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11295 (exit $ac_status); }; } &&
11296 { ac_try='test -s conftest$ac_exeext'
11297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11298 (eval $ac_try) 2>&5
11300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11301 (exit $ac_status); }; }; then
11302 ac_cv_lib_m_y1f=yes
11304 echo "$as_me: failed program was:" >&5
11305 sed 's/^/| /' conftest.$ac_ext >&5
11309 rm -f conftest.err conftest.$ac_objext \
11310 conftest$ac_exeext conftest.$ac_ext
11311 LIBS=$ac_check_lib_save_LIBS
11313 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
11314 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
11315 if test $ac_cv_lib_m_y1f = yes; then
11317 cat >>confdefs.h <<\_ACEOF
11323 echo "$as_me:$LINENO: checking for yn in -lm" >&5
11324 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
11325 if test "${ac_cv_lib_m_yn+set}" = set; then
11326 echo $ECHO_N "(cached) $ECHO_C" >&6
11328 ac_check_lib_save_LIBS=$LIBS
11330 if test x$gcc_no_link = xyes; then
11331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11333 { (exit 1); exit 1; }; }
11335 cat >conftest.$ac_ext <<_ACEOF
11338 cat confdefs.h >>conftest.$ac_ext
11339 cat >>conftest.$ac_ext <<_ACEOF
11340 /* end confdefs.h. */
11342 /* Override any gcc2 internal prototype to avoid an error. */
11346 /* We use char because int might match the return type of a gcc2
11347 builtin and then its argument prototype would still apply. */
11357 rm -f conftest.$ac_objext conftest$ac_exeext
11358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11359 (eval $ac_link) 2>conftest.er1
11361 grep -v '^ *+' conftest.er1 >conftest.err
11363 cat conftest.err >&5
11364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11365 (exit $ac_status); } &&
11366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11368 (eval $ac_try) 2>&5
11370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11371 (exit $ac_status); }; } &&
11372 { ac_try='test -s conftest$ac_exeext'
11373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11374 (eval $ac_try) 2>&5
11376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11377 (exit $ac_status); }; }; then
11380 echo "$as_me: failed program was:" >&5
11381 sed 's/^/| /' conftest.$ac_ext >&5
11385 rm -f conftest.err conftest.$ac_objext \
11386 conftest$ac_exeext conftest.$ac_ext
11387 LIBS=$ac_check_lib_save_LIBS
11389 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
11390 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
11391 if test $ac_cv_lib_m_yn = yes; then
11393 cat >>confdefs.h <<\_ACEOF
11399 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
11400 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
11401 if test "${ac_cv_lib_m_ynf+set}" = set; then
11402 echo $ECHO_N "(cached) $ECHO_C" >&6
11404 ac_check_lib_save_LIBS=$LIBS
11406 if test x$gcc_no_link = xyes; then
11407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11409 { (exit 1); exit 1; }; }
11411 cat >conftest.$ac_ext <<_ACEOF
11414 cat confdefs.h >>conftest.$ac_ext
11415 cat >>conftest.$ac_ext <<_ACEOF
11416 /* end confdefs.h. */
11418 /* Override any gcc2 internal prototype to avoid an error. */
11422 /* We use char because int might match the return type of a gcc2
11423 builtin and then its argument prototype would still apply. */
11433 rm -f conftest.$ac_objext conftest$ac_exeext
11434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11435 (eval $ac_link) 2>conftest.er1
11437 grep -v '^ *+' conftest.er1 >conftest.err
11439 cat conftest.err >&5
11440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11441 (exit $ac_status); } &&
11442 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11444 (eval $ac_try) 2>&5
11446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11447 (exit $ac_status); }; } &&
11448 { ac_try='test -s conftest$ac_exeext'
11449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11450 (eval $ac_try) 2>&5
11452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453 (exit $ac_status); }; }; then
11454 ac_cv_lib_m_ynf=yes
11456 echo "$as_me: failed program was:" >&5
11457 sed 's/^/| /' conftest.$ac_ext >&5
11461 rm -f conftest.err conftest.$ac_objext \
11462 conftest$ac_exeext conftest.$ac_ext
11463 LIBS=$ac_check_lib_save_LIBS
11465 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
11466 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
11467 if test $ac_cv_lib_m_ynf = yes; then
11469 cat >>confdefs.h <<\_ACEOF
11476 # Fallback in case isfinite is not available.
11477 echo "$as_me:$LINENO: checking for finite in -lm" >&5
11478 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
11479 if test "${ac_cv_lib_m_finite+set}" = set; then
11480 echo $ECHO_N "(cached) $ECHO_C" >&6
11482 ac_check_lib_save_LIBS=$LIBS
11484 if test x$gcc_no_link = xyes; then
11485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11487 { (exit 1); exit 1; }; }
11489 cat >conftest.$ac_ext <<_ACEOF
11492 cat confdefs.h >>conftest.$ac_ext
11493 cat >>conftest.$ac_ext <<_ACEOF
11494 /* end confdefs.h. */
11496 /* Override any gcc2 internal prototype to avoid an error. */
11500 /* We use char because int might match the return type of a gcc2
11501 builtin and then its argument prototype would still apply. */
11511 rm -f conftest.$ac_objext conftest$ac_exeext
11512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11513 (eval $ac_link) 2>conftest.er1
11515 grep -v '^ *+' conftest.er1 >conftest.err
11517 cat conftest.err >&5
11518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11519 (exit $ac_status); } &&
11520 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11522 (eval $ac_try) 2>&5
11524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11525 (exit $ac_status); }; } &&
11526 { ac_try='test -s conftest$ac_exeext'
11527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11528 (eval $ac_try) 2>&5
11530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11531 (exit $ac_status); }; }; then
11532 ac_cv_lib_m_finite=yes
11534 echo "$as_me: failed program was:" >&5
11535 sed 's/^/| /' conftest.$ac_ext >&5
11537 ac_cv_lib_m_finite=no
11539 rm -f conftest.err conftest.$ac_objext \
11540 conftest$ac_exeext conftest.$ac_ext
11541 LIBS=$ac_check_lib_save_LIBS
11543 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
11544 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
11545 if test $ac_cv_lib_m_finite = yes; then
11547 cat >>confdefs.h <<\_ACEOF
11548 #define HAVE_FINITE 1
11554 # Let the user override this
11555 # Check whether --enable-cmath or --disable-cmath was given.
11556 if test "${enable_cmath+set}" = set; then
11557 enableval="$enable_cmath"
11558 need_math=$enableval
11560 if test "$need_math" = "yes"; then
11561 { echo "$as_me:$LINENO: Including complex math functions in libgfor" >&5
11562 echo "$as_me: Including complex math functions in libgfor" >&6;};
11563 extra_math_obj='$(gfor_cmath_obj)'
11566 MATH_OBJ="$extra_math_obj"
11569 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
11570 # for struct timezone, as you might think. We also need to check how
11571 # to call gettimeofday if we have it.
11572 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
11573 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
11574 if test "${ac_cv_header_time+set}" = set; then
11575 echo $ECHO_N "(cached) $ECHO_C" >&6
11577 cat >conftest.$ac_ext <<_ACEOF
11580 cat confdefs.h >>conftest.$ac_ext
11581 cat >>conftest.$ac_ext <<_ACEOF
11582 /* end confdefs.h. */
11583 #include <sys/types.h>
11584 #include <sys/time.h>
11590 if ((struct tm *) 0)
11596 rm -f conftest.$ac_objext
11597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11598 (eval $ac_compile) 2>conftest.er1
11600 grep -v '^ *+' conftest.er1 >conftest.err
11602 cat conftest.err >&5
11603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11604 (exit $ac_status); } &&
11605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11607 (eval $ac_try) 2>&5
11609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11610 (exit $ac_status); }; } &&
11611 { ac_try='test -s conftest.$ac_objext'
11612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11613 (eval $ac_try) 2>&5
11615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11616 (exit $ac_status); }; }; then
11617 ac_cv_header_time=yes
11619 echo "$as_me: failed program was:" >&5
11620 sed 's/^/| /' conftest.$ac_ext >&5
11622 ac_cv_header_time=no
11624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11626 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
11627 echo "${ECHO_T}$ac_cv_header_time" >&6
11628 if test $ac_cv_header_time = yes; then
11630 cat >>confdefs.h <<\_ACEOF
11631 #define TIME_WITH_SYS_TIME 1
11638 for ac_func in gettimeofday
11640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11641 echo "$as_me:$LINENO: checking for $ac_func" >&5
11642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11643 if eval "test \"\${$as_ac_var+set}\" = set"; then
11644 echo $ECHO_N "(cached) $ECHO_C" >&6
11646 if test x$gcc_no_link = xyes; then
11647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11649 { (exit 1); exit 1; }; }
11651 cat >conftest.$ac_ext <<_ACEOF
11654 cat confdefs.h >>conftest.$ac_ext
11655 cat >>conftest.$ac_ext <<_ACEOF
11656 /* end confdefs.h. */
11657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11659 #define $ac_func innocuous_$ac_func
11661 /* System header to define __stub macros and hopefully few prototypes,
11662 which can conflict with char $ac_func (); below.
11663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11664 <limits.h> exists even on freestanding compilers. */
11667 # include <limits.h>
11669 # include <assert.h>
11674 /* Override any gcc2 internal prototype to avoid an error. */
11679 /* We use char because int might match the return type of a gcc2
11680 builtin and then its argument prototype would still apply. */
11682 /* The GNU C library defines this for functions which it implements
11683 to always fail with ENOSYS. Some functions are actually named
11684 something starting with __ and the normal name is an alias. */
11685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11688 char (*f) () = $ac_func;
11697 return f != $ac_func;
11702 rm -f conftest.$ac_objext conftest$ac_exeext
11703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11704 (eval $ac_link) 2>conftest.er1
11706 grep -v '^ *+' conftest.er1 >conftest.err
11708 cat conftest.err >&5
11709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11710 (exit $ac_status); } &&
11711 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11713 (eval $ac_try) 2>&5
11715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11716 (exit $ac_status); }; } &&
11717 { ac_try='test -s conftest$ac_exeext'
11718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11719 (eval $ac_try) 2>&5
11721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11722 (exit $ac_status); }; }; then
11723 eval "$as_ac_var=yes"
11725 echo "$as_me: failed program was:" >&5
11726 sed 's/^/| /' conftest.$ac_ext >&5
11728 eval "$as_ac_var=no"
11730 rm -f conftest.err conftest.$ac_objext \
11731 conftest$ac_exeext conftest.$ac_ext
11733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11735 if test `eval echo '${'$as_ac_var'}'` = yes; then
11736 cat >>confdefs.h <<_ACEOF
11737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11743 if test "$ac_cv_func_gettimeofday" = yes; then
11744 echo "$as_me:$LINENO: checking for struct timezone" >&5
11745 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
11746 if test "${gfor_cv_struct_timezone+set}" = set; then
11747 echo $ECHO_N "(cached) $ECHO_C" >&6
11749 cat >conftest.$ac_ext <<_ACEOF
11752 cat confdefs.h >>conftest.$ac_ext
11753 cat >>conftest.$ac_ext <<_ACEOF
11754 /* end confdefs.h. */
11755 #include <sys/time.h>
11759 struct timezone tz;
11764 rm -f conftest.$ac_objext
11765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11766 (eval $ac_compile) 2>conftest.er1
11768 grep -v '^ *+' conftest.er1 >conftest.err
11770 cat conftest.err >&5
11771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11772 (exit $ac_status); } &&
11773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11775 (eval $ac_try) 2>&5
11777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11778 (exit $ac_status); }; } &&
11779 { ac_try='test -s conftest.$ac_objext'
11780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11781 (eval $ac_try) 2>&5
11783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11784 (exit $ac_status); }; }; then
11785 gfor_cv_struct_timezone=yes
11787 echo "$as_me: failed program was:" >&5
11788 sed 's/^/| /' conftest.$ac_ext >&5
11790 gfor_cv_struct_timezone=no
11792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11794 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
11795 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
11796 if test $gfor_cv_struct_timezone = yes; then
11797 if test "$cross_compiling" = yes; then
11798 gfor_have_struct_timezone=yes
11800 cat >conftest.$ac_ext <<_ACEOF
11803 cat confdefs.h >>conftest.$ac_ext
11804 cat >>conftest.$ac_ext <<_ACEOF
11805 /* end confdefs.h. */
11807 #ifdef TIME_WITH_SYS_TIME
11808 #include <sys/time.h>
11811 #ifdef HAVE_SYS_TIME_H
11812 #include <sys/time.h>
11819 struct timeval time;
11820 struct timezone dummy;
11821 if (gettimeofday (&time, &dummy))
11827 rm -f conftest$ac_exeext
11828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11829 (eval $ac_link) 2>&5
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11834 (eval $ac_try) 2>&5
11836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11837 (exit $ac_status); }; }; then
11838 gfor_have_struct_timezone=yes
11840 echo "$as_me: program exited with status $ac_status" >&5
11841 echo "$as_me: failed program was:" >&5
11842 sed 's/^/| /' conftest.$ac_ext >&5
11844 ( exit $ac_status )
11845 gfor_have_struct_timezone=no
11847 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11849 if test $gfor_have_struct_timezone = yes; then
11851 cat >>confdefs.h <<\_ACEOF
11852 #define HAVE_TIMEZONE 1
11858 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
11859 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
11860 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11861 echo $ECHO_N "(cached) $ECHO_C" >&6
11863 if test x$gcc_no_link = xyes; then
11864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11866 { (exit 1); exit 1; }; }
11868 cat >conftest.$ac_ext <<_ACEOF
11871 cat confdefs.h >>conftest.$ac_ext
11872 cat >>conftest.$ac_ext <<_ACEOF
11873 /* end confdefs.h. */
11875 #ifdef TIME_WITH_SYS_TIME
11876 #include <sys/time.h>
11879 #ifdef HAVE_SYS_TIME_H
11880 #include <sys/time.h>
11890 struct timeval time;
11891 #ifdef HAVE_TIMEZONE
11892 struct timezone dummy;
11893 #define DUMMY &dummy
11897 gettimeofday (&time, DUMMY);
11902 rm -f conftest.$ac_objext conftest$ac_exeext
11903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11904 (eval $ac_link) 2>conftest.er1
11906 grep -v '^ *+' conftest.er1 >conftest.err
11908 cat conftest.err >&5
11909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11910 (exit $ac_status); } &&
11911 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11913 (eval $ac_try) 2>&5
11915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11916 (exit $ac_status); }; } &&
11917 { ac_try='test -s conftest$ac_exeext'
11918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11919 (eval $ac_try) 2>&5
11921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11922 (exit $ac_status); }; }; then
11923 emacs_cv_gettimeofday_two_arguments=yes
11925 echo "$as_me: failed program was:" >&5
11926 sed 's/^/| /' conftest.$ac_ext >&5
11928 emacs_cv_gettimeofday_two_arguments=no
11930 rm -f conftest.err conftest.$ac_objext \
11931 conftest$ac_exeext conftest.$ac_ext
11933 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
11934 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11935 if test $emacs_cv_gettimeofday_two_arguments = no; then
11937 cat >>confdefs.h <<\_ACEOF
11938 #define GETTIMEOFDAY_ONE_ARGUMENT 1
11944 # Attempt to assert that the target is of common type in case we don't
11945 # have C99 integer types at all.
11947 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
11948 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
11949 if test "${target_ilp32+set}" = set; then
11950 echo $ECHO_N "(cached) $ECHO_C" >&6
11953 save_CFLAGS="$CFLAGS"
11955 if test x$gcc_no_link = xyes; then
11956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11958 { (exit 1); exit 1; }; }
11960 cat >conftest.$ac_ext <<_ACEOF
11963 cat confdefs.h >>conftest.$ac_ext
11964 cat >>conftest.$ac_ext <<_ACEOF
11965 /* end confdefs.h. */
11971 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
11974 undefined_function ();
11980 rm -f conftest.$ac_objext conftest$ac_exeext
11981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11982 (eval $ac_link) 2>conftest.er1
11984 grep -v '^ *+' conftest.er1 >conftest.err
11986 cat conftest.err >&5
11987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11988 (exit $ac_status); } &&
11989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11991 (eval $ac_try) 2>&5
11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11994 (exit $ac_status); }; } &&
11995 { ac_try='test -s conftest$ac_exeext'
11996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11997 (eval $ac_try) 2>&5
11999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12000 (exit $ac_status); }; }; then
12003 echo "$as_me: failed program was:" >&5
12004 sed 's/^/| /' conftest.$ac_ext >&5
12008 rm -f conftest.err conftest.$ac_objext \
12009 conftest$ac_exeext conftest.$ac_ext
12010 CFLAGS="$save_CFLAGS"
12012 echo "$as_me:$LINENO: result: $target_ilp32" >&5
12013 echo "${ECHO_T}$target_ilp32" >&6
12014 if test $target_ilp32 = yes; then
12016 cat >>confdefs.h <<\_ACEOF
12017 #define TARGET_ILP32 1
12023 # Check out attribute support.
12025 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
12026 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
12027 if test "${have_attribute_visibility+set}" = set; then
12028 echo $ECHO_N "(cached) $ECHO_C" >&6
12031 save_CFLAGS="$CFLAGS"
12032 CFLAGS="$CFLAGS -Werror"
12033 cat >conftest.$ac_ext <<_ACEOF
12036 cat confdefs.h >>conftest.$ac_ext
12037 cat >>conftest.$ac_ext <<_ACEOF
12038 /* end confdefs.h. */
12039 void __attribute__((visibility("hidden"))) foo(void) { }
12048 rm -f conftest.$ac_objext
12049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12050 (eval $ac_compile) 2>conftest.er1
12052 grep -v '^ *+' conftest.er1 >conftest.err
12054 cat conftest.err >&5
12055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12056 (exit $ac_status); } &&
12057 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12059 (eval $ac_try) 2>&5
12061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 (exit $ac_status); }; } &&
12063 { ac_try='test -s conftest.$ac_objext'
12064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12065 (eval $ac_try) 2>&5
12067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12068 (exit $ac_status); }; }; then
12069 have_attribute_visibility=yes
12071 echo "$as_me: failed program was:" >&5
12072 sed 's/^/| /' conftest.$ac_ext >&5
12074 have_attribute_visibility=no
12076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12077 CFLAGS="$save_CFLAGS"
12079 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
12080 echo "${ECHO_T}$have_attribute_visibility" >&6
12081 if test $have_attribute_visibility = yes; then
12083 cat >>confdefs.h <<\_ACEOF
12084 #define HAVE_ATTRIBUTE_VISIBILITY 1
12089 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
12090 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
12091 if test "${have_attribute_dllexport+set}" = set; then
12092 echo $ECHO_N "(cached) $ECHO_C" >&6
12095 save_CFLAGS="$CFLAGS"
12096 CFLAGS="$CFLAGS -Werror"
12097 cat >conftest.$ac_ext <<_ACEOF
12100 cat confdefs.h >>conftest.$ac_ext
12101 cat >>conftest.$ac_ext <<_ACEOF
12102 /* end confdefs.h. */
12103 void __attribute__((dllexport)) foo(void) { }
12112 rm -f conftest.$ac_objext
12113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12114 (eval $ac_compile) 2>conftest.er1
12116 grep -v '^ *+' conftest.er1 >conftest.err
12118 cat conftest.err >&5
12119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12120 (exit $ac_status); } &&
12121 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12123 (eval $ac_try) 2>&5
12125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12126 (exit $ac_status); }; } &&
12127 { ac_try='test -s conftest.$ac_objext'
12128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12129 (eval $ac_try) 2>&5
12131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12132 (exit $ac_status); }; }; then
12133 have_attribute_dllexport=yes
12135 echo "$as_me: failed program was:" >&5
12136 sed 's/^/| /' conftest.$ac_ext >&5
12138 have_attribute_dllexport=no
12140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12141 CFLAGS="$save_CFLAGS"
12143 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
12144 echo "${ECHO_T}$have_attribute_dllexport" >&6
12145 if test $have_attribute_dllexport = yes; then
12147 cat >>confdefs.h <<\_ACEOF
12148 #define HAVE_ATTRIBUTE_DLLEXPORT 1
12153 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
12154 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
12155 if test "${have_attribute_alias+set}" = set; then
12156 echo $ECHO_N "(cached) $ECHO_C" >&6
12159 if test x$gcc_no_link = xyes; then
12160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12162 { (exit 1); exit 1; }; }
12164 cat >conftest.$ac_ext <<_ACEOF
12167 cat confdefs.h >>conftest.$ac_ext
12168 cat >>conftest.$ac_ext <<_ACEOF
12169 /* end confdefs.h. */
12171 #define ULP STR1(__USER_LABEL_PREFIX__)
12172 #define STR1(x) STR2(x)
12175 extern void bar(void) __attribute__((alias(ULP "foo")));
12184 rm -f conftest.$ac_objext conftest$ac_exeext
12185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12186 (eval $ac_link) 2>conftest.er1
12188 grep -v '^ *+' conftest.er1 >conftest.err
12190 cat conftest.err >&5
12191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12192 (exit $ac_status); } &&
12193 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12195 (eval $ac_try) 2>&5
12197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12198 (exit $ac_status); }; } &&
12199 { ac_try='test -s conftest$ac_exeext'
12200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12201 (eval $ac_try) 2>&5
12203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12204 (exit $ac_status); }; }; then
12205 have_attribute_alias=yes
12207 echo "$as_me: failed program was:" >&5
12208 sed 's/^/| /' conftest.$ac_ext >&5
12210 have_attribute_alias=no
12212 rm -f conftest.err conftest.$ac_objext \
12213 conftest$ac_exeext conftest.$ac_ext
12215 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
12216 echo "${ECHO_T}$have_attribute_alias" >&6
12217 if test $have_attribute_alias = yes; then
12219 cat >>confdefs.h <<\_ACEOF
12220 #define HAVE_ATTRIBUTE_ALIAS 1
12225 # Various other checks on target
12227 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
12228 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
12229 if test "${have_unlink_open_file+set}" = set; then
12230 echo $ECHO_N "(cached) $ECHO_C" >&6
12233 if test "$cross_compiling" = yes; then
12235 case "${target}" in
12236 *mingw*) have_unlink_open_file=no ;;
12237 *) have_unlink_open_file=yes;;
12240 cat >conftest.$ac_ext <<_ACEOF
12243 cat confdefs.h >>conftest.$ac_ext
12244 cat >>conftest.$ac_ext <<_ACEOF
12245 /* end confdefs.h. */
12249 #include <unistd.h>
12250 #include <sys/stat.h>
12256 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
12259 if (unlink ("testfile") == -1)
12261 write (fd, "This is a test\n", 15);
12264 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
12270 rm -f conftest$ac_exeext
12271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12272 (eval $ac_link) 2>&5
12274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12275 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12277 (eval $ac_try) 2>&5
12279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12280 (exit $ac_status); }; }; then
12281 have_unlink_open_file=yes
12283 echo "$as_me: program exited with status $ac_status" >&5
12284 echo "$as_me: failed program was:" >&5
12285 sed 's/^/| /' conftest.$ac_ext >&5
12287 ( exit $ac_status )
12288 have_unlink_open_file=no
12290 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12293 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
12294 echo "${ECHO_T}$have_unlink_open_file" >&6
12295 if test x"$have_unlink_open_file" = xyes; then
12297 cat >>confdefs.h <<\_ACEOF
12298 #define HAVE_UNLINK_OPEN_FILE 1
12303 cat >confcache <<\_ACEOF
12304 # This file is a shell script that caches the results of configure
12305 # tests run on this system so they can be shared between configure
12306 # scripts and configure runs, see configure's option --config-cache.
12307 # It is not useful on other systems. If it contains results you don't
12308 # want to keep, you may remove or edit it.
12310 # config.status only pays attention to the cache file if you give it
12311 # the --recheck option to rerun configure.
12313 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12314 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12315 # following values.
12319 # The following way of writing the cache mishandles newlines in values,
12320 # but we know of no workaround that is simple, portable, and efficient.
12321 # So, don't put newlines in cache variables' values.
12322 # Ultrix sh set writes to stderr and can't be redirected directly,
12323 # and sets the high bit in the cache file unless we assign to the vars.
12326 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12328 # `set' does not quote correctly, so add quotes (double-quote
12329 # substitution turns \\\\ into \\, and sed turns \\ into \).
12332 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12335 # `set' quotes correctly as required by POSIX, so do not add quotes.
12337 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12344 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12346 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12348 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12349 if test -w $cache_file; then
12350 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12351 cat confcache >$cache_file
12353 echo "not updating unwritable cache $cache_file"
12358 if test ${multilib} = yes; then
12359 multilib_arg="--enable-multilib"
12364 # Write our Makefile.
12365 ac_config_files="$ac_config_files Makefile"
12367 cat >confcache <<\_ACEOF
12368 # This file is a shell script that caches the results of configure
12369 # tests run on this system so they can be shared between configure
12370 # scripts and configure runs, see configure's option --config-cache.
12371 # It is not useful on other systems. If it contains results you don't
12372 # want to keep, you may remove or edit it.
12374 # config.status only pays attention to the cache file if you give it
12375 # the --recheck option to rerun configure.
12377 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12378 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12379 # following values.
12383 # The following way of writing the cache mishandles newlines in values,
12384 # but we know of no workaround that is simple, portable, and efficient.
12385 # So, don't put newlines in cache variables' values.
12386 # Ultrix sh set writes to stderr and can't be redirected directly,
12387 # and sets the high bit in the cache file unless we assign to the vars.
12390 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12392 # `set' does not quote correctly, so add quotes (double-quote
12393 # substitution turns \\\\ into \\, and sed turns \\ into \).
12396 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12399 # `set' quotes correctly as required by POSIX, so do not add quotes.
12401 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12408 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12410 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12412 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12413 if test -w $cache_file; then
12414 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12415 cat confcache >$cache_file
12417 echo "not updating unwritable cache $cache_file"
12422 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12423 # Let make expand exec_prefix.
12424 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12426 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12427 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12428 # trailing colons and then remove the whole line if VPATH becomes empty
12429 # (actually we leave an empty line to preserve line numbers).
12430 if test "x$srcdir" = x.; then
12431 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12432 s/:*\$(srcdir):*/:/;
12433 s/:*\${srcdir}:*/:/;
12435 s/^\([^=]*=[ ]*\):*/\1/;
12441 DEFS=-DHAVE_CONFIG_H
12445 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12446 # 1. Remove the extension, and $U if already installed.
12447 ac_i=`echo "$ac_i" |
12448 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12450 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
12451 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
12453 LIBOBJS=$ac_libobjs
12455 LTLIBOBJS=$ac_ltlibobjs
12458 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12459 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12460 Usually this means the macro was only invoked conditionally." >&5
12461 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12462 Usually this means the macro was only invoked conditionally." >&2;}
12463 { (exit 1); exit 1; }; }
12466 : ${CONFIG_STATUS=./config.status}
12467 ac_clean_files_save=$ac_clean_files
12468 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12469 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12470 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12471 cat >$CONFIG_STATUS <<_ACEOF
12473 # Generated by $as_me.
12474 # Run this file to recreate the current configuration.
12475 # Compiler output produced by configure, useful for debugging
12476 # configure, is in config.log if it exists.
12479 ac_cs_recheck=false
12481 SHELL=\${CONFIG_SHELL-$SHELL}
12484 cat >>$CONFIG_STATUS <<\_ACEOF
12485 ## --------------------- ##
12486 ## M4sh Initialization. ##
12487 ## --------------------- ##
12489 # Be Bourne compatible
12490 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12493 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12494 # is contrary to our usage. Disable this feature.
12495 alias -g '${1+"$@"}'='"$@"'
12496 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
12499 DUALCASE=1; export DUALCASE # for MKS sh
12501 # Support unset when possible.
12502 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12509 # Work around bugs in pre-3.0 UWIN ksh.
12510 $as_unset ENV MAIL MAILPATH
12517 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12518 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12519 LC_TELEPHONE LC_TIME
12521 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12522 eval $as_var=C; export $as_var
12528 # Required to use basename.
12529 if expr a : '\(a\)' >/dev/null 2>&1; then
12535 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
12536 as_basename=basename
12542 # Name of the executable.
12543 as_me=`$as_basename "$0" ||
12544 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12545 X"$0" : 'X\(//\)$' \| \
12546 X"$0" : 'X\(/\)$' \| \
12547 . : '\(.\)' 2>/dev/null ||
12549 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12550 /^X\/\(\/\/\)$/{ s//\1/; q; }
12551 /^X\/\(\/\).*/{ s//\1/; q; }
12555 # PATH needs CR, and LINENO needs CR and PATH.
12556 # Avoid depending upon Character Ranges.
12557 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12558 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12559 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12560 as_cr_digits='0123456789'
12561 as_cr_alnum=$as_cr_Letters$as_cr_digits
12563 # The user is always right.
12564 if test "${PATH_SEPARATOR+set}" != set; then
12565 echo "#! /bin/sh" >conf$$.sh
12566 echo "exit 0" >>conf$$.sh
12568 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12577 as_lineno_1=$LINENO
12578 as_lineno_2=$LINENO
12579 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12580 test "x$as_lineno_1" != "x$as_lineno_2" &&
12581 test "x$as_lineno_3" = "x$as_lineno_2" || {
12582 # Find who we are. Look in the path if we contain no path at all
12585 *[\\/]* ) as_myself=$0 ;;
12586 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12587 for as_dir in $PATH
12590 test -z "$as_dir" && as_dir=.
12591 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12596 # We did not find ourselves, most probably we were run as `sh COMMAND'
12597 # in which case we are not to be found in the path.
12598 if test "x$as_myself" = x; then
12601 if test ! -f "$as_myself"; then
12602 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12603 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12604 { (exit 1); exit 1; }; }
12606 case $CONFIG_SHELL in
12608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12609 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
12612 test -z "$as_dir" && as_dir=.
12613 for as_base in sh bash ksh sh5; do
12616 if ("$as_dir/$as_base" -c '
12617 as_lineno_1=$LINENO
12618 as_lineno_2=$LINENO
12619 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12620 test "x$as_lineno_1" != "x$as_lineno_2" &&
12621 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
12622 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
12623 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
12624 CONFIG_SHELL=$as_dir/$as_base
12625 export CONFIG_SHELL
12626 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12634 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12635 # uniformly replaced by the line number. The first 'sed' inserts a
12636 # line-number line before each line; the second 'sed' does the real
12637 # work. The second script uses 'N' to pair each line-number line
12638 # with the numbered line, and appends trailing '-' during
12639 # substitution so that $LINENO is not a special case at line end.
12640 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12641 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12642 sed '=' <$as_myself |
12647 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12650 s,^['$as_cr_digits']*\n,,
12651 ' >$as_me.lineno &&
12652 chmod +x $as_me.lineno ||
12653 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12654 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12655 { (exit 1); exit 1; }; }
12657 # Don't try to exec as it changes $[0], causing all sort of problems
12658 # (the dirname of $[0] is not the place where we might find the
12659 # original and so on. Autoconf is especially sensible to this).
12661 # Exit status is that of the last command.
12666 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12667 *c*,-n*) ECHO_N= ECHO_C='
12669 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
12670 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
12673 if expr a : '\(a\)' >/dev/null 2>&1; then
12679 rm -f conf$$ conf$$.exe conf$$.file
12681 if ln -s conf$$.file conf$$ 2>/dev/null; then
12682 # We could just check for DJGPP; but this test a) works b) is more generic
12683 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12684 if test -f conf$$.exe; then
12685 # Don't use ln at all; we don't have any links
12690 elif ln conf$$.file conf$$ 2>/dev/null; then
12695 rm -f conf$$ conf$$.exe conf$$.file
12697 if mkdir -p . 2>/dev/null; then
12700 test -d ./-p && rmdir ./-p
12704 as_executable_p="test -f"
12706 # Sed expression to map a string onto a valid CPP name.
12707 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12709 # Sed expression to map a string onto a valid variable name.
12710 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12714 # We need space, tab and new line, in precisely that order.
12724 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12725 # report actual input values of CONFIG_FILES etc. instead of their
12726 # values after options handling. Logging --version etc. is OK.
12730 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12731 ## Running $as_me. ##
12736 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
12737 generated by GNU Autoconf 2.59. Invocation command line was
12739 CONFIG_FILES = $CONFIG_FILES
12740 CONFIG_HEADERS = $CONFIG_HEADERS
12741 CONFIG_LINKS = $CONFIG_LINKS
12742 CONFIG_COMMANDS = $CONFIG_COMMANDS
12746 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12750 # Files that config.status was made for.
12751 if test -n "$ac_config_files"; then
12752 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12755 if test -n "$ac_config_headers"; then
12756 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12759 if test -n "$ac_config_links"; then
12760 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12763 if test -n "$ac_config_commands"; then
12764 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12767 cat >>$CONFIG_STATUS <<\_ACEOF
12770 \`$as_me' instantiates files from templates according to the
12771 current configuration.
12773 Usage: $0 [OPTIONS] [FILE]...
12775 -h, --help print this help, then exit
12776 -V, --version print version number, then exit
12777 -q, --quiet do not print progress messages
12778 -d, --debug don't remove temporary files
12779 --recheck update $as_me by reconfiguring in the same conditions
12780 --file=FILE[:TEMPLATE]
12781 instantiate the configuration file FILE
12782 --header=FILE[:TEMPLATE]
12783 instantiate the configuration header FILE
12785 Configuration files:
12788 Configuration headers:
12791 Configuration commands:
12794 Report bugs to <bug-autoconf@gnu.org>."
12797 cat >>$CONFIG_STATUS <<_ACEOF
12799 GNU Fortran Runtime Library config.status 0.2
12800 configured by $0, generated by GNU Autoconf 2.59,
12801 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12803 Copyright (C) 2003 Free Software Foundation, Inc.
12804 This config.status script is free software; the Free Software Foundation
12805 gives unlimited permission to copy, distribute and modify it."
12810 cat >>$CONFIG_STATUS <<\_ACEOF
12811 # If no file are specified by the user, then we need to provide default
12812 # value. By we need to know if files were specified by the user.
12818 ac_option=`expr "x$1" : 'x\([^=]*\)='`
12819 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
12827 *) # This is not an option, so the user has probably given explicit
12830 ac_need_defaults=false;;
12834 # Handling of the options.
12836 cat >>$CONFIG_STATUS <<\_ACEOF
12837 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12839 --version | --vers* | -V )
12840 echo "$ac_cs_version"; exit 0 ;;
12842 # Conflict between --help and --header
12843 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12844 Try \`$0 --help' for more information." >&5
12845 echo "$as_me: error: ambiguous option: $1
12846 Try \`$0 --help' for more information." >&2;}
12847 { (exit 1); exit 1; }; };;
12848 --help | --hel | -h )
12849 echo "$ac_cs_usage"; exit 0 ;;
12850 --debug | --d* | -d )
12852 --file | --fil | --fi | --f )
12854 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
12855 ac_need_defaults=false;;
12856 --header | --heade | --head | --hea )
12858 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
12859 ac_need_defaults=false;;
12860 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12861 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12864 # This is an error.
12865 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12866 Try \`$0 --help' for more information." >&5
12867 echo "$as_me: error: unrecognized option: $1
12868 Try \`$0 --help' for more information." >&2;}
12869 { (exit 1); exit 1; }; } ;;
12871 *) ac_config_targets="$ac_config_targets $1" ;;
12877 ac_configure_extra_args=
12879 if $ac_cs_silent; then
12881 ac_configure_extra_args="$ac_configure_extra_args --silent"
12885 cat >>$CONFIG_STATUS <<_ACEOF
12886 if \$ac_cs_recheck; then
12887 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12888 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12893 cat >>$CONFIG_STATUS <<_ACEOF
12895 # INIT-COMMANDS section.
12902 with_multisubdir="$with_multisubdir"
12903 with_multisrctop="$with_multisrctop"
12904 with_target_subdir="$with_target_subdir"
12905 ac_configure_args="${multilib_arg} ${ac_configure_args}"
12906 multi_basedir="$multi_basedir"
12907 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
12914 cat >>$CONFIG_STATUS <<\_ACEOF
12915 for ac_config_target in $ac_config_targets
12917 case "$ac_config_target" in
12918 # Handling of arguments.
12919 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12920 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
12921 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12922 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12923 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12924 { (exit 1); exit 1; }; };;
12928 # If the user did not use the arguments to specify the items to instantiate,
12929 # then the envvar interface is used. Set only those that are not.
12930 # We use the long form for the default assignment because of an extremely
12931 # bizarre bug on SunOS 4.1.3.
12932 if $ac_need_defaults; then
12933 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12934 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12935 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12938 # Have a temporary directory for convenience. Make it in the build tree
12939 # simply because there is no reason to put it here, and in addition,
12940 # creating and moving files from /tmp can sometimes cause problems.
12941 # Create a temporary directory, and hook for its removal unless debugging.
12944 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12945 trap '{ (exit 1); exit 1; }' 1 2 13 15
12948 # Create a (secure) tmp directory for tmp files.
12951 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12952 test -n "$tmp" && test -d "$tmp"
12955 tmp=./confstat$$-$RANDOM
12956 (umask 077 && mkdir $tmp)
12959 echo "$me: cannot create a temporary directory in ." >&2
12960 { (exit 1); exit 1; }
12965 cat >>$CONFIG_STATUS <<_ACEOF
12968 # CONFIG_FILES section.
12971 # No need to generate the scripts if there are no CONFIG_FILES.
12972 # This happens for instance when ./config.status config.h
12973 if test -n "\$CONFIG_FILES"; then
12974 # Protect against being on the right side of a sed subst in config.status.
12975 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12976 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12977 s,@SHELL@,$SHELL,;t t
12978 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12979 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12980 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12981 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12982 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12983 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12984 s,@exec_prefix@,$exec_prefix,;t t
12985 s,@prefix@,$prefix,;t t
12986 s,@program_transform_name@,$program_transform_name,;t t
12987 s,@bindir@,$bindir,;t t
12988 s,@sbindir@,$sbindir,;t t
12989 s,@libexecdir@,$libexecdir,;t t
12990 s,@datadir@,$datadir,;t t
12991 s,@sysconfdir@,$sysconfdir,;t t
12992 s,@sharedstatedir@,$sharedstatedir,;t t
12993 s,@localstatedir@,$localstatedir,;t t
12994 s,@libdir@,$libdir,;t t
12995 s,@includedir@,$includedir,;t t
12996 s,@oldincludedir@,$oldincludedir,;t t
12997 s,@infodir@,$infodir,;t t
12998 s,@mandir@,$mandir,;t t
12999 s,@build_alias@,$build_alias,;t t
13000 s,@host_alias@,$host_alias,;t t
13001 s,@target_alias@,$target_alias,;t t
13002 s,@DEFS@,$DEFS,;t t
13003 s,@ECHO_C@,$ECHO_C,;t t
13004 s,@ECHO_N@,$ECHO_N,;t t
13005 s,@ECHO_T@,$ECHO_T,;t t
13006 s,@LIBS@,$LIBS,;t t
13007 s,@build@,$build,;t t
13008 s,@build_cpu@,$build_cpu,;t t
13009 s,@build_vendor@,$build_vendor,;t t
13010 s,@build_os@,$build_os,;t t
13011 s,@host@,$host,;t t
13012 s,@host_cpu@,$host_cpu,;t t
13013 s,@host_vendor@,$host_vendor,;t t
13014 s,@host_os@,$host_os,;t t
13015 s,@target@,$target,;t t
13016 s,@target_cpu@,$target_cpu,;t t
13017 s,@target_vendor@,$target_vendor,;t t
13018 s,@target_os@,$target_os,;t t
13019 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13020 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13021 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13022 s,@CYGPATH_W@,$CYGPATH_W,;t t
13023 s,@PACKAGE@,$PACKAGE,;t t
13024 s,@VERSION@,$VERSION,;t t
13025 s,@ACLOCAL@,$ACLOCAL,;t t
13026 s,@AUTOCONF@,$AUTOCONF,;t t
13027 s,@AUTOMAKE@,$AUTOMAKE,;t t
13028 s,@AUTOHEADER@,$AUTOHEADER,;t t
13029 s,@MAKEINFO@,$MAKEINFO,;t t
13030 s,@install_sh@,$install_sh,;t t
13031 s,@STRIP@,$STRIP,;t t
13032 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
13033 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
13034 s,@mkdir_p@,$mkdir_p,;t t
13036 s,@SET_MAKE@,$SET_MAKE,;t t
13037 s,@am__leading_dot@,$am__leading_dot,;t t
13038 s,@AMTAR@,$AMTAR,;t t
13039 s,@am__tar@,$am__tar,;t t
13040 s,@am__untar@,$am__untar,;t t
13041 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13042 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13043 s,@MAINT@,$MAINT,;t t
13044 s,@multi_basedir@,$multi_basedir,;t t
13045 s,@toolexecdir@,$toolexecdir,;t t
13046 s,@toolexeclibdir@,$toolexeclibdir,;t t
13048 s,@ac_ct_CC@,$ac_ct_CC,;t t
13049 s,@EXEEXT@,$EXEEXT,;t t
13050 s,@OBJEXT@,$OBJEXT,;t t
13051 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
13052 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
13054 s,@ac_ct_AS@,$ac_ct_AS,;t t
13056 s,@ac_ct_AR@,$ac_ct_AR,;t t
13057 s,@RANLIB@,$RANLIB,;t t
13058 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
13059 s,@LN_S@,$LN_S,;t t
13060 s,@LIBTOOL@,$LIBTOOL,;t t
13061 s,@enable_shared@,$enable_shared,;t t
13062 s,@enable_static@,$enable_static,;t t
13064 s,@FCFLAGS@,$FCFLAGS,;t t
13065 s,@LDFLAGS@,$LDFLAGS,;t t
13066 s,@ac_ct_FC@,$ac_ct_FC,;t t
13067 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
13069 s,@CPPFLAGS@,$CPPFLAGS,;t t
13070 s,@EGREP@,$EGREP,;t t
13071 s,@MATH_OBJ@,$MATH_OBJ,;t t
13072 s,@LIBOBJS@,$LIBOBJS,;t t
13073 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13078 cat >>$CONFIG_STATUS <<\_ACEOF
13079 # Split the substitutions into bite-sized pieces for seds with
13080 # small command number limits, like on Digital OSF/1 and HP-UX.
13081 ac_max_sed_lines=48
13082 ac_sed_frag=1 # Number of current file.
13083 ac_beg=1 # First line for current file.
13084 ac_end=$ac_max_sed_lines # Line after last line for current file.
13087 while $ac_more_lines; do
13088 if test $ac_beg -gt 1; then
13089 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
13091 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
13093 if test ! -s $tmp/subs.frag; then
13094 ac_more_lines=false
13096 # The purpose of the label and of the branching condition is to
13097 # speed up the sed processing (if there are no `@' at all, there
13098 # is no need to browse any of the substitutions).
13099 # These are the two extra sed commands mentioned above.
13101 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
13102 if test -z "$ac_sed_cmds"; then
13103 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
13105 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13107 ac_sed_frag=`expr $ac_sed_frag + 1`
13109 ac_end=`expr $ac_end + $ac_max_sed_lines`
13112 if test -z "$ac_sed_cmds"; then
13115 fi # test -n "$CONFIG_FILES"
13118 cat >>$CONFIG_STATUS <<\_ACEOF
13119 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
13120 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13122 - | *:- | *:-:* ) # input from stdin
13124 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13125 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13126 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13127 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13128 * ) ac_file_in=$ac_file.in ;;
13131 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13132 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
13133 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13134 X"$ac_file" : 'X\(//\)[^/]' \| \
13135 X"$ac_file" : 'X\(//\)$' \| \
13136 X"$ac_file" : 'X\(/\)' \| \
13137 . : '\(.\)' 2>/dev/null ||
13139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13140 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13141 /^X\(\/\/\)$/{ s//\1/; q; }
13142 /^X\(\/\).*/{ s//\1/; q; }
13144 { if $as_mkdir_p; then
13149 while test ! -d "$as_dir"; do
13150 as_dirs="$as_dir $as_dirs"
13151 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13152 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13153 X"$as_dir" : 'X\(//\)[^/]' \| \
13154 X"$as_dir" : 'X\(//\)$' \| \
13155 X"$as_dir" : 'X\(/\)' \| \
13156 . : '\(.\)' 2>/dev/null ||
13158 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13159 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13160 /^X\(\/\/\)$/{ s//\1/; q; }
13161 /^X\(\/\).*/{ s//\1/; q; }
13164 test ! -n "$as_dirs" || mkdir $as_dirs
13165 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13166 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13167 { (exit 1); exit 1; }; }; }
13171 if test "$ac_dir" != .; then
13172 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13173 # A "../" for each directory in $ac_dir_suffix.
13174 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13176 ac_dir_suffix= ac_top_builddir=
13180 .) # No --srcdir option. We are building in place.
13182 if test -z "$ac_top_builddir"; then
13185 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
13187 [\\/]* | ?:[\\/]* ) # Absolute path.
13188 ac_srcdir=$srcdir$ac_dir_suffix;
13189 ac_top_srcdir=$srcdir ;;
13190 *) # Relative path.
13191 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13192 ac_top_srcdir=$ac_top_builddir$srcdir ;;
13195 # Do not use `cd foo && pwd` to compute absolute paths, because
13196 # the directories may not exist.
13198 .) ac_abs_builddir="$ac_dir";;
13201 .) ac_abs_builddir=`pwd`;;
13202 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
13203 *) ac_abs_builddir=`pwd`/"$ac_dir";;
13206 case $ac_abs_builddir in
13207 .) ac_abs_top_builddir=${ac_top_builddir}.;;
13209 case ${ac_top_builddir}. in
13210 .) ac_abs_top_builddir=$ac_abs_builddir;;
13211 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
13212 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
13215 case $ac_abs_builddir in
13216 .) ac_abs_srcdir=$ac_srcdir;;
13219 .) ac_abs_srcdir=$ac_abs_builddir;;
13220 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
13221 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
13224 case $ac_abs_builddir in
13225 .) ac_abs_top_srcdir=$ac_top_srcdir;;
13227 case $ac_top_srcdir in
13228 .) ac_abs_top_srcdir=$ac_abs_builddir;;
13229 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
13230 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
13236 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13237 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
13240 # Let's still pretend it is `configure' which instantiates (i.e., don't
13241 # use $as_me), people would be surprised to read:
13242 # /* config.h. Generated by config.status. */
13243 if test x"$ac_file" = x-; then
13246 configure_input="$ac_file. "
13248 configure_input=$configure_input"Generated from `echo $ac_file_in |
13249 sed 's,.*/,,'` by configure."
13251 # First look for the input files in the build tree, otherwise in the
13253 ac_file_inputs=`IFS=:
13254 for f in $ac_file_in; do
13256 -) echo $tmp/stdin ;;
13258 # Absolute (can't be DOS-style, as IFS=:)
13259 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13260 echo "$as_me: error: cannot find input file: $f" >&2;}
13261 { (exit 1); exit 1; }; }
13264 if test -f "$f"; then
13267 elif test -f "$srcdir/$f"; then
13272 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13273 echo "$as_me: error: cannot find input file: $f" >&2;}
13274 { (exit 1); exit 1; }; }
13277 done` || { (exit 1); exit 1; }
13279 if test x"$ac_file" != x-; then
13280 { echo "$as_me:$LINENO: creating $ac_file" >&5
13281 echo "$as_me: creating $ac_file" >&6;}
13285 cat >>$CONFIG_STATUS <<_ACEOF
13289 cat >>$CONFIG_STATUS <<\_ACEOF
13291 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13292 s,@configure_input@,$configure_input,;t t
13293 s,@srcdir@,$ac_srcdir,;t t
13294 s,@abs_srcdir@,$ac_abs_srcdir,;t t
13295 s,@top_srcdir@,$ac_top_srcdir,;t t
13296 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
13297 s,@builddir@,$ac_builddir,;t t
13298 s,@abs_builddir@,$ac_abs_builddir,;t t
13299 s,@top_builddir@,$ac_top_builddir,;t t
13300 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
13301 s,@INSTALL@,$ac_INSTALL,;t t
13302 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13304 if test x"$ac_file" != x-; then
13305 mv $tmp/out $ac_file
13313 cat >>$CONFIG_STATUS <<\_ACEOF
13316 # CONFIG_HEADER section.
13319 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
13320 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13322 # ac_d sets the value in "#define NAME VALUE" lines.
13323 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13324 ac_dB='[ ].*$,\1#\2'
13327 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13328 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13329 ac_uB='$,\1#\2define\3'
13333 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
13334 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13336 - | *:- | *:-:* ) # input from stdin
13338 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13339 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13340 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13341 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13342 * ) ac_file_in=$ac_file.in ;;
13345 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
13346 echo "$as_me: creating $ac_file" >&6;}
13348 # First look for the input files in the build tree, otherwise in the
13350 ac_file_inputs=`IFS=:
13351 for f in $ac_file_in; do
13353 -) echo $tmp/stdin ;;
13355 # Absolute (can't be DOS-style, as IFS=:)
13356 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13357 echo "$as_me: error: cannot find input file: $f" >&2;}
13358 { (exit 1); exit 1; }; }
13359 # Do quote $f, to prevent DOS paths from being IFS'd.
13362 if test -f "$f"; then
13365 elif test -f "$srcdir/$f"; then
13370 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13371 echo "$as_me: error: cannot find input file: $f" >&2;}
13372 { (exit 1); exit 1; }; }
13375 done` || { (exit 1); exit 1; }
13376 # Remove the trailing spaces.
13377 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
13381 # Transform confdefs.h into two sed scripts, `conftest.defines' and
13382 # `conftest.undefs', that substitutes the proper values into
13383 # config.h.in to produce config.h. The first handles `#define'
13384 # templates, and the second `#undef' templates.
13385 # And first: Protect against being on the right side of a sed subst in
13386 # config.status. Protect against being in an unquoted here document
13387 # in config.status.
13388 rm -f conftest.defines conftest.undefs
13389 # Using a here document instead of a string reduces the quoting nightmare.
13390 # Putting comments in sed scripts is not portable.
13392 # `end' is used to avoid that the second main sed command (meant for
13393 # 0-ary CPP macros) applies to n-ary macro definitions.
13394 # See the Autoconf documentation for `clear'.
13395 cat >confdef2sed.sed <<\_ACEOF
13400 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
13402 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
13405 # If some macros were called several times there might be several times
13406 # the same #defines, which is useless. Nevertheless, we may not want to
13407 # sort them, since we want the *last* AC-DEFINE to be honored.
13408 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
13409 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
13410 rm -f confdef2sed.sed
13412 # This sed command replaces #undef with comments. This is necessary, for
13413 # example, in the case of _POSIX_SOURCE, which is predefined and required
13414 # on some systems where configure will not decide to define it.
13415 cat >>conftest.undefs <<\_ACEOF
13416 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
13419 # Break up conftest.defines because some shells have a limit on the size
13420 # of here documents, and old seds have small limits too (100 cmds).
13421 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
13422 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
13423 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
13424 echo ' :' >>$CONFIG_STATUS
13425 rm -f conftest.tail
13426 while grep . conftest.defines >/dev/null
13428 # Write a limited-size here document to $tmp/defines.sed.
13429 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
13430 # Speed up: don't consider the non `#define' lines.
13431 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
13432 # Work around the forget-to-reset-the-flag bug.
13433 echo 't clr' >>$CONFIG_STATUS
13434 echo ': clr' >>$CONFIG_STATUS
13435 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
13437 sed -f $tmp/defines.sed $tmp/in >$tmp/out
13439 mv $tmp/out $tmp/in
13441 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
13442 rm -f conftest.defines
13443 mv conftest.tail conftest.defines
13445 rm -f conftest.defines
13446 echo ' fi # grep' >>$CONFIG_STATUS
13447 echo >>$CONFIG_STATUS
13449 # Break up conftest.undefs because some shells have a limit on the size
13450 # of here documents, and old seds have small limits too (100 cmds).
13451 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
13452 rm -f conftest.tail
13453 while grep . conftest.undefs >/dev/null
13455 # Write a limited-size here document to $tmp/undefs.sed.
13456 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
13457 # Speed up: don't consider the non `#undef'
13458 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
13459 # Work around the forget-to-reset-the-flag bug.
13460 echo 't clr' >>$CONFIG_STATUS
13461 echo ': clr' >>$CONFIG_STATUS
13462 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
13464 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
13466 mv $tmp/out $tmp/in
13468 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
13469 rm -f conftest.undefs
13470 mv conftest.tail conftest.undefs
13472 rm -f conftest.undefs
13474 cat >>$CONFIG_STATUS <<\_ACEOF
13475 # Let's still pretend it is `configure' which instantiates (i.e., don't
13476 # use $as_me), people would be surprised to read:
13477 # /* config.h. Generated by config.status. */
13478 if test x"$ac_file" = x-; then
13479 echo "/* Generated by configure. */" >$tmp/config.h
13481 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
13483 cat $tmp/in >>$tmp/config.h
13485 if test x"$ac_file" != x-; then
13486 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
13487 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13488 echo "$as_me: $ac_file is unchanged" >&6;}
13490 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
13491 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13492 X"$ac_file" : 'X\(//\)[^/]' \| \
13493 X"$ac_file" : 'X\(//\)$' \| \
13494 X"$ac_file" : 'X\(/\)' \| \
13495 . : '\(.\)' 2>/dev/null ||
13497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13498 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13499 /^X\(\/\/\)$/{ s//\1/; q; }
13500 /^X\(\/\).*/{ s//\1/; q; }
13502 { if $as_mkdir_p; then
13507 while test ! -d "$as_dir"; do
13508 as_dirs="$as_dir $as_dirs"
13509 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13510 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13511 X"$as_dir" : 'X\(//\)[^/]' \| \
13512 X"$as_dir" : 'X\(//\)$' \| \
13513 X"$as_dir" : 'X\(/\)' \| \
13514 . : '\(.\)' 2>/dev/null ||
13516 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13517 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13518 /^X\(\/\/\)$/{ s//\1/; q; }
13519 /^X\(\/\).*/{ s//\1/; q; }
13522 test ! -n "$as_dirs" || mkdir $as_dirs
13523 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13524 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13525 { (exit 1); exit 1; }; }; }
13528 mv $tmp/config.h $ac_file
13532 rm -f $tmp/config.h
13534 # Compute $ac_file's index in $config_headers.
13536 for _am_header in $config_headers :; do
13537 case $_am_header in
13538 $ac_file | $ac_file:* )
13541 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13544 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
13545 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13546 X$ac_file : 'X\(//\)[^/]' \| \
13547 X$ac_file : 'X\(//\)$' \| \
13548 X$ac_file : 'X\(/\)' \| \
13549 . : '\(.\)' 2>/dev/null ||
13551 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13552 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13553 /^X\(\/\/\)$/{ s//\1/; q; }
13554 /^X\(\/\).*/{ s//\1/; q; }
13555 s/.*/./; q'`/stamp-h$_am_stamp_count
13558 cat >>$CONFIG_STATUS <<\_ACEOF
13561 # CONFIG_COMMANDS section.
13563 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
13564 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
13565 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
13566 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
13567 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13568 X"$ac_dest" : 'X\(//\)[^/]' \| \
13569 X"$ac_dest" : 'X\(//\)$' \| \
13570 X"$ac_dest" : 'X\(/\)' \| \
13571 . : '\(.\)' 2>/dev/null ||
13573 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13574 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13575 /^X\(\/\/\)$/{ s//\1/; q; }
13576 /^X\(\/\).*/{ s//\1/; q; }
13578 { if $as_mkdir_p; then
13583 while test ! -d "$as_dir"; do
13584 as_dirs="$as_dir $as_dirs"
13585 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13586 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13587 X"$as_dir" : 'X\(//\)[^/]' \| \
13588 X"$as_dir" : 'X\(//\)$' \| \
13589 X"$as_dir" : 'X\(/\)' \| \
13590 . : '\(.\)' 2>/dev/null ||
13592 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13593 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13594 /^X\(\/\/\)$/{ s//\1/; q; }
13595 /^X\(\/\).*/{ s//\1/; q; }
13598 test ! -n "$as_dirs" || mkdir $as_dirs
13599 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13600 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13601 { (exit 1); exit 1; }; }; }
13605 if test "$ac_dir" != .; then
13606 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13607 # A "../" for each directory in $ac_dir_suffix.
13608 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13610 ac_dir_suffix= ac_top_builddir=
13614 .) # No --srcdir option. We are building in place.
13616 if test -z "$ac_top_builddir"; then
13619 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
13621 [\\/]* | ?:[\\/]* ) # Absolute path.
13622 ac_srcdir=$srcdir$ac_dir_suffix;
13623 ac_top_srcdir=$srcdir ;;
13624 *) # Relative path.
13625 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13626 ac_top_srcdir=$ac_top_builddir$srcdir ;;
13629 # Do not use `cd foo && pwd` to compute absolute paths, because
13630 # the directories may not exist.
13632 .) ac_abs_builddir="$ac_dir";;
13635 .) ac_abs_builddir=`pwd`;;
13636 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
13637 *) ac_abs_builddir=`pwd`/"$ac_dir";;
13640 case $ac_abs_builddir in
13641 .) ac_abs_top_builddir=${ac_top_builddir}.;;
13643 case ${ac_top_builddir}. in
13644 .) ac_abs_top_builddir=$ac_abs_builddir;;
13645 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
13646 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
13649 case $ac_abs_builddir in
13650 .) ac_abs_srcdir=$ac_srcdir;;
13653 .) ac_abs_srcdir=$ac_abs_builddir;;
13654 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
13655 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
13658 case $ac_abs_builddir in
13659 .) ac_abs_top_srcdir=$ac_top_srcdir;;
13661 case $ac_top_srcdir in
13662 .) ac_abs_top_srcdir=$ac_abs_builddir;;
13663 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
13664 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
13669 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
13670 echo "$as_me: executing $ac_dest commands" >&6;}
13673 # Only add multilib support code if we just rebuilt the top-level
13675 case " $CONFIG_FILES " in
13677 ac_file=Makefile . ${multi_basedir}/config-ml.in
13684 cat >>$CONFIG_STATUS <<\_ACEOF
13686 { (exit 0); exit 0; }
13688 chmod +x $CONFIG_STATUS
13689 ac_clean_files=$ac_clean_files_save
13692 # configure is writing to config.log, and then calls config.status.
13693 # config.status does its own redirection, appending to config.log.
13694 # Unfortunately, on DOS this fails, as config.log is still kept open
13695 # by configure, so config.status won't be able to write to it; its
13696 # output is simply discarded. So we exec the FD to /dev/null,
13697 # effectively closing config.log, so it can be properly (re)opened and
13698 # appended to by config.status. When coming back to configure, we
13699 # need to make the FD available again.
13700 if test "$no_create" != yes; then
13702 ac_config_status_args=
13703 test "$silent" = yes &&
13704 ac_config_status_args="$ac_config_status_args --quiet"
13706 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13708 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13709 # would make configure fail if this is the last instruction.
13710 $ac_cs_success || { (exit 1); exit 1; }