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"
2606 || test ! -s conftest.err'
2607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2611 (exit $ac_status); }; } &&
2612 { ac_try='test -s conftest.$ac_objext'
2613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617 (exit $ac_status); }; }; then
2620 echo "$as_me: failed program was:" >&5
2621 sed 's/^/| /' conftest.$ac_ext >&5
2625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2626 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2629 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2630 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2631 GCC=`test $ac_compiler_gnu = yes && echo yes`
2632 ac_test_CFLAGS=${CFLAGS+set}
2633 ac_save_CFLAGS=$CFLAGS
2635 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2636 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2637 if test "${ac_cv_prog_cc_g+set}" = set; then
2638 echo $ECHO_N "(cached) $ECHO_C" >&6
2640 cat >conftest.$ac_ext <<_ACEOF
2643 cat confdefs.h >>conftest.$ac_ext
2644 cat >>conftest.$ac_ext <<_ACEOF
2645 /* end confdefs.h. */
2655 rm -f conftest.$ac_objext
2656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2657 (eval $ac_compile) 2>conftest.er1
2659 grep -v '^ *+' conftest.er1 >conftest.err
2661 cat conftest.err >&5
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); } &&
2664 { ac_try='test -z "$ac_c_werror_flag"
2665 || test ! -s conftest.err'
2666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); }; } &&
2671 { ac_try='test -s conftest.$ac_objext'
2672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 (exit $ac_status); }; }; then
2679 echo "$as_me: failed program was:" >&5
2680 sed 's/^/| /' conftest.$ac_ext >&5
2684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2686 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2687 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2688 if test "$ac_test_CFLAGS" = set; then
2689 CFLAGS=$ac_save_CFLAGS
2690 elif test $ac_cv_prog_cc_g = yes; then
2691 if test "$GCC" = yes; then
2697 if test "$GCC" = yes; then
2703 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2704 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2705 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2706 echo $ECHO_N "(cached) $ECHO_C" >&6
2708 ac_cv_prog_cc_stdc=no
2710 cat >conftest.$ac_ext <<_ACEOF
2713 cat confdefs.h >>conftest.$ac_ext
2714 cat >>conftest.$ac_ext <<_ACEOF
2715 /* end confdefs.h. */
2718 #include <sys/types.h>
2719 #include <sys/stat.h>
2720 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2721 struct buf { int x; };
2722 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2723 static char *e (p, i)
2729 static char *f (char * (*g) (char **, int), char **p, ...)
2734 s = g (p, va_arg (v,int));
2739 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2740 function prototypes and stuff, but not '\xHH' hex character constants.
2741 These don't provoke an error unfortunately, instead are silently treated
2742 as 'x'. The following induces an error, until -std1 is added to get
2743 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2744 array size at least. It's necessary to write '\x00'==0 to get something
2745 that's true only with -std1. */
2746 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2748 int test (int i, double x);
2749 struct s1 {int (*f) (int a);};
2750 struct s2 {int (*f) (double a);};
2751 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2757 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2762 # Don't try gcc -ansi; that turns off useful extensions and
2763 # breaks some systems' header files.
2764 # AIX -qlanglvl=ansi
2765 # Ultrix and OSF/1 -std1
2766 # HP-UX 10.20 and later -Ae
2767 # HP-UX older versions -Aa -D_HPUX_SOURCE
2768 # SVR4 -Xc -D__EXTENSIONS__
2769 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2771 CC="$ac_save_CC $ac_arg"
2772 rm -f conftest.$ac_objext
2773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2774 (eval $ac_compile) 2>conftest.er1
2776 grep -v '^ *+' conftest.er1 >conftest.err
2778 cat conftest.err >&5
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); } &&
2781 { ac_try='test -z "$ac_c_werror_flag"
2782 || test ! -s conftest.err'
2783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787 (exit $ac_status); }; } &&
2788 { ac_try='test -s conftest.$ac_objext'
2789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); }; }; then
2794 ac_cv_prog_cc_stdc=$ac_arg
2797 echo "$as_me: failed program was:" >&5
2798 sed 's/^/| /' conftest.$ac_ext >&5
2801 rm -f conftest.err conftest.$ac_objext
2803 rm -f conftest.$ac_ext conftest.$ac_objext
2808 case "x$ac_cv_prog_cc_stdc" in
2810 echo "$as_me:$LINENO: result: none needed" >&5
2811 echo "${ECHO_T}none needed" >&6 ;;
2813 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2814 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2815 CC="$CC $ac_cv_prog_cc_stdc" ;;
2818 # Some people use a C++ compiler to compile C. Since we use `exit',
2819 # in C++ we need to declare it. In case someone uses the same compiler
2820 # for both compiling C and C++ we need to have the C++ compiler decide
2821 # the declaration of exit, since it's the most demanding environment.
2822 cat >conftest.$ac_ext <<_ACEOF
2827 rm -f conftest.$ac_objext
2828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2829 (eval $ac_compile) 2>conftest.er1
2831 grep -v '^ *+' conftest.er1 >conftest.err
2833 cat conftest.err >&5
2834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835 (exit $ac_status); } &&
2836 { ac_try='test -z "$ac_c_werror_flag"
2837 || test ! -s conftest.err'
2838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); }; } &&
2843 { ac_try='test -s conftest.$ac_objext'
2844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848 (exit $ac_status); }; }; then
2849 for ac_declaration in \
2851 'extern "C" void std::exit (int) throw (); using std::exit;' \
2852 'extern "C" void std::exit (int); using std::exit;' \
2853 'extern "C" void exit (int) throw ();' \
2854 'extern "C" void exit (int);' \
2857 cat >conftest.$ac_ext <<_ACEOF
2860 cat confdefs.h >>conftest.$ac_ext
2861 cat >>conftest.$ac_ext <<_ACEOF
2862 /* end confdefs.h. */
2873 rm -f conftest.$ac_objext
2874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2875 (eval $ac_compile) 2>conftest.er1
2877 grep -v '^ *+' conftest.er1 >conftest.err
2879 cat conftest.err >&5
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); } &&
2882 { ac_try='test -z "$ac_c_werror_flag"
2883 || test ! -s conftest.err'
2884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); }; } &&
2889 { ac_try='test -s conftest.$ac_objext'
2890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894 (exit $ac_status); }; }; then
2897 echo "$as_me: failed program was:" >&5
2898 sed 's/^/| /' conftest.$ac_ext >&5
2902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2903 cat >conftest.$ac_ext <<_ACEOF
2906 cat confdefs.h >>conftest.$ac_ext
2907 cat >>conftest.$ac_ext <<_ACEOF
2908 /* end confdefs.h. */
2918 rm -f conftest.$ac_objext
2919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2920 (eval $ac_compile) 2>conftest.er1
2922 grep -v '^ *+' conftest.er1 >conftest.err
2924 cat conftest.err >&5
2925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2926 (exit $ac_status); } &&
2927 { ac_try='test -z "$ac_c_werror_flag"
2928 || test ! -s conftest.err'
2929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); }; } &&
2934 { ac_try='test -s conftest.$ac_objext'
2935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); }; }; then
2942 echo "$as_me: failed program was:" >&5
2943 sed 's/^/| /' conftest.$ac_ext >&5
2946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2949 if test -n "$ac_declaration"; then
2950 echo '#ifdef __cplusplus' >>confdefs.h
2951 echo $ac_declaration >>confdefs.h
2952 echo '#endif' >>confdefs.h
2956 echo "$as_me: failed program was:" >&5
2957 sed 's/^/| /' conftest.$ac_ext >&5
2960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2962 ac_cpp='$CPP $CPPFLAGS'
2963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2969 # Add -Wall if we are using GCC.
2970 if test "x$GCC" = "xyes"; then
2972 ## We like to use C99 routines when available. This makes sure that
2973 ## __STDC_VERSION__ is set such that libc includes make them available.
2974 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
2979 # Find other programs we need.
2980 if test -n "$ac_tool_prefix"; then
2981 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2982 set dummy ${ac_tool_prefix}as; ac_word=$2
2983 echo "$as_me:$LINENO: checking for $ac_word" >&5
2984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2985 if test "${ac_cv_prog_AS+set}" = set; then
2986 echo $ECHO_N "(cached) $ECHO_C" >&6
2988 if test -n "$AS"; then
2989 ac_cv_prog_AS="$AS" # Let the user override the test.
2991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2995 test -z "$as_dir" && as_dir=.
2996 for ac_exec_ext in '' $ac_executable_extensions; do
2997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2998 ac_cv_prog_AS="${ac_tool_prefix}as"
2999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3008 if test -n "$AS"; then
3009 echo "$as_me:$LINENO: result: $AS" >&5
3010 echo "${ECHO_T}$AS" >&6
3012 echo "$as_me:$LINENO: result: no" >&5
3013 echo "${ECHO_T}no" >&6
3017 if test -z "$ac_cv_prog_AS"; then
3019 # Extract the first word of "as", so it can be a program name with args.
3020 set dummy as; ac_word=$2
3021 echo "$as_me:$LINENO: checking for $ac_word" >&5
3022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3023 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3024 echo $ECHO_N "(cached) $ECHO_C" >&6
3026 if test -n "$ac_ct_AS"; then
3027 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3033 test -z "$as_dir" && as_dir=.
3034 for ac_exec_ext in '' $ac_executable_extensions; do
3035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3036 ac_cv_prog_ac_ct_AS="as"
3037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3045 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3046 if test -n "$ac_ct_AS"; then
3047 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3048 echo "${ECHO_T}$ac_ct_AS" >&6
3050 echo "$as_me:$LINENO: result: no" >&5
3051 echo "${ECHO_T}no" >&6
3059 if test -n "$ac_tool_prefix"; then
3060 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3061 set dummy ${ac_tool_prefix}ar; ac_word=$2
3062 echo "$as_me:$LINENO: checking for $ac_word" >&5
3063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3064 if test "${ac_cv_prog_AR+set}" = set; then
3065 echo $ECHO_N "(cached) $ECHO_C" >&6
3067 if test -n "$AR"; then
3068 ac_cv_prog_AR="$AR" # Let the user override the test.
3070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3074 test -z "$as_dir" && as_dir=.
3075 for ac_exec_ext in '' $ac_executable_extensions; do
3076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3077 ac_cv_prog_AR="${ac_tool_prefix}ar"
3078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3087 if test -n "$AR"; then
3088 echo "$as_me:$LINENO: result: $AR" >&5
3089 echo "${ECHO_T}$AR" >&6
3091 echo "$as_me:$LINENO: result: no" >&5
3092 echo "${ECHO_T}no" >&6
3096 if test -z "$ac_cv_prog_AR"; then
3098 # Extract the first word of "ar", so it can be a program name with args.
3099 set dummy ar; ac_word=$2
3100 echo "$as_me:$LINENO: checking for $ac_word" >&5
3101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3102 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3103 echo $ECHO_N "(cached) $ECHO_C" >&6
3105 if test -n "$ac_ct_AR"; then
3106 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3112 test -z "$as_dir" && as_dir=.
3113 for ac_exec_ext in '' $ac_executable_extensions; do
3114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3115 ac_cv_prog_ac_ct_AR="ar"
3116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3124 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3125 if test -n "$ac_ct_AR"; then
3126 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3127 echo "${ECHO_T}$ac_ct_AR" >&6
3129 echo "$as_me:$LINENO: result: no" >&5
3130 echo "${ECHO_T}no" >&6
3138 if test -n "$ac_tool_prefix"; then
3139 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3140 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3141 echo "$as_me:$LINENO: checking for $ac_word" >&5
3142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3143 if test "${ac_cv_prog_RANLIB+set}" = set; then
3144 echo $ECHO_N "(cached) $ECHO_C" >&6
3146 if test -n "$RANLIB"; then
3147 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3153 test -z "$as_dir" && as_dir=.
3154 for ac_exec_ext in '' $ac_executable_extensions; do
3155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3156 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3165 RANLIB=$ac_cv_prog_RANLIB
3166 if test -n "$RANLIB"; then
3167 echo "$as_me:$LINENO: result: $RANLIB" >&5
3168 echo "${ECHO_T}$RANLIB" >&6
3170 echo "$as_me:$LINENO: result: no" >&5
3171 echo "${ECHO_T}no" >&6
3175 if test -z "$ac_cv_prog_RANLIB"; then
3176 ac_ct_RANLIB=$RANLIB
3177 # Extract the first word of "ranlib", so it can be a program name with args.
3178 set dummy ranlib; ac_word=$2
3179 echo "$as_me:$LINENO: checking for $ac_word" >&5
3180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3181 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3182 echo $ECHO_N "(cached) $ECHO_C" >&6
3184 if test -n "$ac_ct_RANLIB"; then
3185 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3191 test -z "$as_dir" && as_dir=.
3192 for ac_exec_ext in '' $ac_executable_extensions; do
3193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3194 ac_cv_prog_ac_ct_RANLIB="ranlib"
3195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3201 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3204 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3205 if test -n "$ac_ct_RANLIB"; then
3206 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3207 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3209 echo "$as_me:$LINENO: result: no" >&5
3210 echo "${ECHO_T}no" >&6
3213 RANLIB=$ac_ct_RANLIB
3215 RANLIB="$ac_cv_prog_RANLIB"
3218 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3219 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3220 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3221 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3222 echo $ECHO_N "(cached) $ECHO_C" >&6
3224 cat >conftest.make <<\_ACEOF
3226 @echo 'ac_maketemp="$(MAKE)"'
3228 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3229 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3230 if test -n "$ac_maketemp"; then
3231 eval ac_cv_prog_make_${ac_make}_set=yes
3233 eval ac_cv_prog_make_${ac_make}_set=no
3237 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3238 echo "$as_me:$LINENO: result: yes" >&5
3239 echo "${ECHO_T}yes" >&6
3242 echo "$as_me:$LINENO: result: no" >&5
3243 echo "${ECHO_T}no" >&6
3244 SET_MAKE="MAKE=${MAKE-make}"
3247 # Find a good install program. We prefer a C program (faster),
3248 # so one script is as good as another. But avoid the broken or
3249 # incompatible versions:
3250 # SysV /etc/install, /usr/sbin/install
3251 # SunOS /usr/etc/install
3252 # IRIX /sbin/install
3254 # AmigaOS /C/install, which installs bootblocks on floppy discs
3255 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3256 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3257 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3258 # OS/2's system install, which has a completely different semantic
3259 # ./install, which can be erroneously created by make from ./install.sh.
3260 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3261 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3262 if test -z "$INSTALL"; then
3263 if test "${ac_cv_path_install+set}" = set; then
3264 echo $ECHO_N "(cached) $ECHO_C" >&6
3266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3270 test -z "$as_dir" && as_dir=.
3271 # Account for people who put trailing slashes in PATH elements.
3273 ./ | .// | /cC/* | \
3274 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3275 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3278 # OSF1 and SCO ODT 3.0 have their own names for install.
3279 # Don't use installbsd from OSF since it installs stuff as root
3281 for ac_prog in ginstall scoinst install; do
3282 for ac_exec_ext in '' $ac_executable_extensions; do
3283 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3284 if test $ac_prog = install &&
3285 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3286 # AIX install. It has an incompatible calling convention.
3288 elif test $ac_prog = install &&
3289 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3290 # program-specific install script used by HP pwplus--don't use.
3293 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3305 if test "${ac_cv_path_install+set}" = set; then
3306 INSTALL=$ac_cv_path_install
3308 # As a last resort, use the slow shell script. We don't cache a
3309 # path for INSTALL within a source directory, because that will
3310 # break other packages using the cache if that directory is
3311 # removed, or if the path is relative.
3312 INSTALL=$ac_install_sh
3315 echo "$as_me:$LINENO: result: $INSTALL" >&5
3316 echo "${ECHO_T}$INSTALL" >&6
3318 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3319 # It thinks the first close brace ends the variable substitution.
3320 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3322 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3324 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3328 #AC_MSG_NOTICE([====== Starting libtool configuration])
3330 # Check whether --enable-shared or --disable-shared was given.
3331 if test "${enable_shared+set}" = set; then
3332 enableval="$enable_shared"
3333 p=${PACKAGE-default}
3335 yes) enable_shared=yes ;;
3336 no) enable_shared=no ;;
3339 # Look at the argument we got. We use all the common list separators.
3340 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3341 for pkg in $enableval; do
3342 if test "X$pkg" = "X$p"; then
3352 # Check whether --enable-static or --disable-static was given.
3353 if test "${enable_static+set}" = set; then
3354 enableval="$enable_static"
3355 p=${PACKAGE-default}
3357 yes) enable_static=yes ;;
3358 no) enable_static=no ;;
3361 # Look at the argument we got. We use all the common list separators.
3362 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3363 for pkg in $enableval; do
3364 if test "X$pkg" = "X$p"; then
3374 # Check whether --enable-fast-install or --disable-fast-install was given.
3375 if test "${enable_fast_install+set}" = set; then
3376 enableval="$enable_fast_install"
3377 p=${PACKAGE-default}
3379 yes) enable_fast_install=yes ;;
3380 no) enable_fast_install=no ;;
3382 enable_fast_install=no
3383 # Look at the argument we got. We use all the common list separators.
3384 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3385 for pkg in $enableval; do
3386 if test "X$pkg" = "X$p"; then
3387 enable_fast_install=yes
3394 enable_fast_install=yes
3397 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3398 if test "${with_gnu_ld+set}" = set; then
3399 withval="$with_gnu_ld"
3400 test "$withval" = no || with_gnu_ld=yes
3405 if test "$GCC" = yes; then
3406 # Check if gcc -print-prog-name=ld gives a path.
3407 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3408 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3411 # gcc leaves a trailing carriage return which upsets mingw
3412 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3414 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3417 # Accept absolute paths.
3418 [\\/]* | [A-Za-z]:[\\/]*)
3419 re_direlt='/[^/][^/]*/\.\./'
3420 # Canonicalize the path of ld
3421 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3422 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3423 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3425 test -z "$LD" && LD="$ac_prog"
3428 # If it fails, then pretend we aren't using GCC.
3432 # If it is relative, then search for the first ld in PATH.
3436 elif test "$with_gnu_ld" = yes; then
3437 echo "$as_me:$LINENO: checking for GNU ld" >&5
3438 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3440 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3441 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3443 if test "${lt_cv_path_LD+set}" = set; then
3444 echo $ECHO_N "(cached) $ECHO_C" >&6
3446 if test -z "$LD"; then
3447 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3448 for ac_dir in $PATH; do
3449 test -z "$ac_dir" && ac_dir=.
3450 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3451 lt_cv_path_LD="$ac_dir/$ac_prog"
3452 # Check to see if the program is GNU ld. I'd rather use --version,
3453 # but apparently some GNU ld's only accept -v.
3454 # Break only if it was the GNU/non-GNU ld that we prefer.
3455 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3456 test "$with_gnu_ld" != no && break
3458 test "$with_gnu_ld" != yes && break
3464 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3469 if test -n "$LD"; then
3470 echo "$as_me:$LINENO: result: $LD" >&5
3471 echo "${ECHO_T}$LD" >&6
3473 echo "$as_me:$LINENO: result: no" >&5
3474 echo "${ECHO_T}no" >&6
3476 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3477 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3478 { (exit 1); exit 1; }; }
3479 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3480 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3481 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3482 echo $ECHO_N "(cached) $ECHO_C" >&6
3484 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3485 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3486 lt_cv_prog_gnu_ld=yes
3488 lt_cv_prog_gnu_ld=no
3491 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3492 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3493 with_gnu_ld=$lt_cv_prog_gnu_ld
3496 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3497 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3498 if test "${lt_cv_ld_reload_flag+set}" = set; then
3499 echo $ECHO_N "(cached) $ECHO_C" >&6
3501 lt_cv_ld_reload_flag='-r'
3503 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3504 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3505 reload_flag=$lt_cv_ld_reload_flag
3506 test -n "$reload_flag" && reload_flag=" $reload_flag"
3508 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3509 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3510 if test "${lt_cv_path_NM+set}" = set; then
3511 echo $ECHO_N "(cached) $ECHO_C" >&6
3513 if test -n "$NM"; then
3514 # Let the user override the test.
3517 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3518 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3519 test -z "$ac_dir" && ac_dir=.
3520 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3521 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3522 # Check to see if the nm accepts a BSD-compat flag.
3523 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3524 # nm: unknown option "B" ignored
3525 # Tru64's nm complains that /dev/null is an invalid object file
3526 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3527 lt_cv_path_NM="$tmp_nm -B"
3529 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3530 lt_cv_path_NM="$tmp_nm -p"
3533 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3534 continue # so that we can try to find one that supports BSD flags
3539 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3544 echo "$as_me:$LINENO: result: $NM" >&5
3545 echo "${ECHO_T}$NM" >&6
3547 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3548 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3550 if test "$LN_S" = "ln -s"; then
3551 echo "$as_me:$LINENO: result: yes" >&5
3552 echo "${ECHO_T}yes" >&6
3554 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3555 echo "${ECHO_T}no, using $LN_S" >&6
3558 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3559 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3560 if test "${lt_cv_deplibs_check_method+set}" = set; then
3561 echo $ECHO_N "(cached) $ECHO_C" >&6
3563 lt_cv_file_magic_cmd='$MAGIC_CMD'
3564 lt_cv_file_magic_test_file=
3565 lt_cv_deplibs_check_method='unknown'
3566 # Need to set the preceding variable on all platforms that support
3567 # interlibrary dependencies.
3568 # 'none' -- dependencies not supported.
3569 # `unknown' -- same as none, but documents that we really don't know.
3570 # 'pass_all' -- all dependencies passed with no checks.
3571 # 'test_compile' -- check by making test program.
3572 # 'file_magic [regex]' -- check by looking for files in library path
3573 # which responds to the $file_magic_cmd with a given egrep regex.
3574 # If you have `file' or equivalent on your system and you're not sure
3575 # whether `pass_all' will *always* work, you probably want this one.
3579 lt_cv_deplibs_check_method=pass_all
3583 lt_cv_deplibs_check_method=pass_all
3587 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3588 lt_cv_file_magic_cmd='/usr/bin/file -L'
3589 lt_cv_file_magic_test_file=/shlib/libc.so
3592 cygwin* | mingw* |pw32*)
3593 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3594 lt_cv_file_magic_cmd='$OBJDUMP -f'
3597 darwin* | rhapsody*)
3598 # this will be overwritten by pass_all, but leave it in just in case
3599 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3600 lt_cv_file_magic_cmd='/usr/bin/file -L'
3602 rhapsody* | darwin1.012)
3603 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3606 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3609 lt_cv_deplibs_check_method=pass_all
3612 freebsd* | kfreebsd*-gnu)
3613 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3616 # Not sure whether the presence of OpenBSD here was a mistake.
3617 # Let's accept both of them until this is cleared up.
3618 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3619 lt_cv_file_magic_cmd=/usr/bin/file
3620 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3624 lt_cv_deplibs_check_method=pass_all
3629 lt_cv_deplibs_check_method=pass_all
3635 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3636 lt_cv_file_magic_cmd=/usr/bin/file
3637 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3640 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3641 lt_cv_file_magic_cmd=/usr/bin/file
3642 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3650 # this will be overridden with pass_all, but let us keep it just in case
3651 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3655 *-32|*"-32 ") libmagic=32-bit;;
3656 *-n32|*"-n32 ") libmagic=N32;;
3657 *-64|*"-64 ") libmagic=64-bit;;
3658 *) libmagic=never-match;;
3660 # this will be overridden with pass_all, but let us keep it just in case
3661 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3664 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3665 lt_cv_deplibs_check_method=pass_all
3668 # This must be Linux ELF.
3670 lt_cv_deplibs_check_method=pass_all
3673 netbsd* | knetbsd*-gnu)
3674 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3675 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3677 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3682 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3683 lt_cv_file_magic_cmd=/usr/bin/file
3684 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3687 osf3* | osf4* | osf5*)
3688 # this will be overridden with pass_all, but let us keep it just in case
3689 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3690 lt_cv_file_magic_test_file=/shlib/libc.so
3691 lt_cv_deplibs_check_method=pass_all
3695 lt_cv_deplibs_check_method=pass_all
3699 lt_cv_deplibs_check_method=pass_all
3700 lt_cv_file_magic_test_file=/lib/libc.so
3703 sysv5uw[78]* | sysv4*uw2*)
3704 lt_cv_deplibs_check_method=pass_all
3707 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3708 case $host_vendor in
3710 lt_cv_deplibs_check_method=pass_all
3713 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]'
3714 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3721 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3722 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3723 file_magic_cmd=$lt_cv_file_magic_cmd
3724 deplibs_check_method=$lt_cv_deplibs_check_method
3730 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3732 # find the maximum length of command line arguments
3733 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3734 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3735 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3736 echo $ECHO_N "(cached) $ECHO_C" >&6
3743 # On DJGPP, this test can blow up pretty badly due to problems in libc
3744 # (any single argument exceeding 2000 bytes causes a buffer overrun
3745 # during glob expansion). Even if it were fixed, the result of this
3746 # check would be larger than it should be.
3747 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3751 # On Win9x/ME, this test blows up -- it succeeds, but takes
3752 # about 5 minutes as the teststring grows exponentially.
3753 # Worse, since 9x/ME are not pre-emptively multitasking,
3754 # you end up with a "frozen" computer, even though with patience
3755 # the test eventually succeeds (with a max line length of 256k).
3756 # Instead, let's just punt: use the minimum linelength reported by
3757 # all of the supported platforms: 8192 (on NT/2K/XP).
3758 lt_cv_sys_max_cmd_len=8192;
3762 # On AmigaOS with pdksh, this test takes hours, literally.
3763 # So we just punt and use a minimum line length of 8192.
3764 lt_cv_sys_max_cmd_len=8192;
3767 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3768 # This has been around since 386BSD, at least. Likely further.
3769 if test -x /sbin/sysctl; then
3770 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3771 elif test -x /usr/sbin/sysctl; then
3772 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3774 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
3776 # And add a safety zone
3777 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3778 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3784 if test -n "$lt_cv_sys_max_cmd_len" ; then
3785 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3786 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3788 echo "$as_me:$LINENO: result: none" >&5
3789 echo "${ECHO_T}none" >&6
3793 # Only perform the check for file, if the check method requires it
3794 case $deplibs_check_method in
3796 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3797 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3798 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3799 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3800 echo $ECHO_N "(cached) $ECHO_C" >&6
3804 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3807 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3810 ac_save_MAGIC_CMD="$MAGIC_CMD"
3811 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3812 ac_dummy="/usr/bin:$PATH"
3813 for ac_dir in $ac_dummy; do
3814 test -z "$ac_dir" && ac_dir=.
3815 if test -f $ac_dir/${ac_tool_prefix}file; then
3816 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3817 if test -n "$file_magic_test_file"; then
3818 case $deplibs_check_method in
3820 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3821 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3822 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3823 egrep "$file_magic_regex" > /dev/null; then
3828 *** Warning: the command libtool uses to detect shared libraries,
3829 *** $file_magic_cmd, produces output that libtool cannot recognize.
3830 *** The result is that libtool may fail to recognize shared libraries
3831 *** as such. This will affect the creation of libtool libraries that
3832 *** depend on shared libraries, but programs linked with such libtool
3833 *** libraries will work regardless of this problem. Nevertheless, you
3834 *** may want to report the problem to your system manager and/or to
3835 *** bug-libtool@gnu.org
3845 MAGIC_CMD="$ac_save_MAGIC_CMD"
3850 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3851 if test -n "$MAGIC_CMD"; then
3852 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3853 echo "${ECHO_T}$MAGIC_CMD" >&6
3855 echo "$as_me:$LINENO: result: no" >&5
3856 echo "${ECHO_T}no" >&6
3859 if test -z "$lt_cv_path_MAGIC_CMD"; then
3860 if test -n "$ac_tool_prefix"; then
3861 echo "$as_me:$LINENO: checking for file" >&5
3862 echo $ECHO_N "checking for file... $ECHO_C" >&6
3863 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3864 echo $ECHO_N "(cached) $ECHO_C" >&6
3868 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3871 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3874 ac_save_MAGIC_CMD="$MAGIC_CMD"
3875 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3876 ac_dummy="/usr/bin:$PATH"
3877 for ac_dir in $ac_dummy; do
3878 test -z "$ac_dir" && ac_dir=.
3879 if test -f $ac_dir/file; then
3880 lt_cv_path_MAGIC_CMD="$ac_dir/file"
3881 if test -n "$file_magic_test_file"; then
3882 case $deplibs_check_method in
3884 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3885 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3886 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3887 egrep "$file_magic_regex" > /dev/null; then
3892 *** Warning: the command libtool uses to detect shared libraries,
3893 *** $file_magic_cmd, produces output that libtool cannot recognize.
3894 *** The result is that libtool may fail to recognize shared libraries
3895 *** as such. This will affect the creation of libtool libraries that
3896 *** depend on shared libraries, but programs linked with such libtool
3897 *** libraries will work regardless of this problem. Nevertheless, you
3898 *** may want to report the problem to your system manager and/or to
3899 *** bug-libtool@gnu.org
3909 MAGIC_CMD="$ac_save_MAGIC_CMD"
3914 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3915 if test -n "$MAGIC_CMD"; then
3916 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3917 echo "${ECHO_T}$MAGIC_CMD" >&6
3919 echo "$as_me:$LINENO: result: no" >&5
3920 echo "${ECHO_T}no" >&6
3932 if test -n "$ac_tool_prefix"; then
3933 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3934 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3935 echo "$as_me:$LINENO: checking for $ac_word" >&5
3936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3937 if test "${ac_cv_prog_RANLIB+set}" = set; then
3938 echo $ECHO_N "(cached) $ECHO_C" >&6
3940 if test -n "$RANLIB"; then
3941 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3947 test -z "$as_dir" && as_dir=.
3948 for ac_exec_ext in '' $ac_executable_extensions; do
3949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3950 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3959 RANLIB=$ac_cv_prog_RANLIB
3960 if test -n "$RANLIB"; then
3961 echo "$as_me:$LINENO: result: $RANLIB" >&5
3962 echo "${ECHO_T}$RANLIB" >&6
3964 echo "$as_me:$LINENO: result: no" >&5
3965 echo "${ECHO_T}no" >&6
3969 if test -z "$ac_cv_prog_RANLIB"; then
3970 ac_ct_RANLIB=$RANLIB
3971 # Extract the first word of "ranlib", so it can be a program name with args.
3972 set dummy ranlib; ac_word=$2
3973 echo "$as_me:$LINENO: checking for $ac_word" >&5
3974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3975 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3976 echo $ECHO_N "(cached) $ECHO_C" >&6
3978 if test -n "$ac_ct_RANLIB"; then
3979 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3985 test -z "$as_dir" && as_dir=.
3986 for ac_exec_ext in '' $ac_executable_extensions; do
3987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3988 ac_cv_prog_ac_ct_RANLIB="ranlib"
3989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3995 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3998 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3999 if test -n "$ac_ct_RANLIB"; then
4000 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4001 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4003 echo "$as_me:$LINENO: result: no" >&5
4004 echo "${ECHO_T}no" >&6
4007 RANLIB=$ac_ct_RANLIB
4009 RANLIB="$ac_cv_prog_RANLIB"
4012 if test -n "$ac_tool_prefix"; then
4013 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4014 set dummy ${ac_tool_prefix}strip; ac_word=$2
4015 echo "$as_me:$LINENO: checking for $ac_word" >&5
4016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4017 if test "${ac_cv_prog_STRIP+set}" = set; then
4018 echo $ECHO_N "(cached) $ECHO_C" >&6
4020 if test -n "$STRIP"; then
4021 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4027 test -z "$as_dir" && as_dir=.
4028 for ac_exec_ext in '' $ac_executable_extensions; do
4029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4030 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4039 STRIP=$ac_cv_prog_STRIP
4040 if test -n "$STRIP"; then
4041 echo "$as_me:$LINENO: result: $STRIP" >&5
4042 echo "${ECHO_T}$STRIP" >&6
4044 echo "$as_me:$LINENO: result: no" >&5
4045 echo "${ECHO_T}no" >&6
4049 if test -z "$ac_cv_prog_STRIP"; then
4051 # Extract the first word of "strip", so it can be a program name with args.
4052 set dummy strip; ac_word=$2
4053 echo "$as_me:$LINENO: checking for $ac_word" >&5
4054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4055 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4056 echo $ECHO_N "(cached) $ECHO_C" >&6
4058 if test -n "$ac_ct_STRIP"; then
4059 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4065 test -z "$as_dir" && as_dir=.
4066 for ac_exec_ext in '' $ac_executable_extensions; do
4067 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4068 ac_cv_prog_ac_ct_STRIP="strip"
4069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4075 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4078 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4079 if test -n "$ac_ct_STRIP"; then
4080 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4081 echo "${ECHO_T}$ac_ct_STRIP" >&6
4083 echo "$as_me:$LINENO: result: no" >&5
4084 echo "${ECHO_T}no" >&6
4089 STRIP="$ac_cv_prog_STRIP"
4093 # Check for any special flags to pass to ltconfig.
4094 libtool_flags="--cache-file=$cache_file"
4095 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4096 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4097 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4098 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4099 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4102 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4103 if test "${enable_libtool_lock+set}" = set; then
4104 enableval="$enable_libtool_lock"
4107 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4108 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4111 # Check whether --with-pic or --without-pic was given.
4112 if test "${with_pic+set}" = set; then
4118 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4119 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4121 # Some flags need to be propagated to the compiler or linker for good
4125 # Find out which ABI we are using.
4126 echo '#line 4126 "configure"' > conftest.$ac_ext
4127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4128 (eval $ac_compile) 2>&5
4130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4131 (exit $ac_status); }; then
4132 if test "$lt_cv_prog_gnu_ld" = yes; then
4133 case `/usr/bin/file conftest.$ac_objext` in
4135 LD="${LD-ld} -melf32bsmip"
4138 LD="${LD-ld} -melf32bmipn32"
4141 LD="${LD-ld} -melf64bmip"
4145 case `/usr/bin/file conftest.$ac_objext` in
4162 # Find out which ABI we are using.
4163 echo 'int i;' > conftest.$ac_ext
4164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4165 (eval $ac_compile) 2>&5
4167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4168 (exit $ac_status); }; then
4169 case "`/usr/bin/file conftest.o`" in
4181 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4182 # Find out which ABI we are using.
4183 echo 'int i;' > conftest.$ac_ext
4184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4185 (eval $ac_compile) 2>&5
4187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188 (exit $ac_status); }; then
4189 case "`/usr/bin/file conftest.o`" in
4193 LD="${LD-ld} -m elf_i386"
4195 ppc64-*linux*|powerpc64-*linux*)
4196 LD="${LD-ld} -m elf32ppclinux"
4199 LD="${LD-ld} -m elf_s390"
4202 LD="${LD-ld} -m elf32_sparc"
4209 LD="${LD-ld} -m elf_x86_64"
4211 ppc*-*linux*|powerpc*-*linux*)
4212 LD="${LD-ld} -m elf64ppc"
4215 LD="${LD-ld} -m elf64_s390"
4218 LD="${LD-ld} -m elf64_sparc"
4228 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4229 SAVE_CFLAGS="$CFLAGS"
4230 CFLAGS="$CFLAGS -belf"
4231 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4232 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4233 if test "${lt_cv_cc_needs_belf+set}" = set; then
4234 echo $ECHO_N "(cached) $ECHO_C" >&6
4239 ac_cpp='$CPP $CPPFLAGS'
4240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4244 if test x$gcc_no_link = xyes; then
4245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4247 { (exit 1); exit 1; }; }
4249 cat >conftest.$ac_ext <<_ACEOF
4252 cat confdefs.h >>conftest.$ac_ext
4253 cat >>conftest.$ac_ext <<_ACEOF
4254 /* end confdefs.h. */
4264 rm -f conftest.$ac_objext conftest$ac_exeext
4265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4266 (eval $ac_link) 2>conftest.er1
4268 grep -v '^ *+' conftest.er1 >conftest.err
4270 cat conftest.err >&5
4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272 (exit $ac_status); } &&
4273 { ac_try='test -z "$ac_c_werror_flag"
4274 || test ! -s conftest.err'
4275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4279 (exit $ac_status); }; } &&
4280 { ac_try='test -s conftest$ac_exeext'
4281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4285 (exit $ac_status); }; }; then
4286 lt_cv_cc_needs_belf=yes
4288 echo "$as_me: failed program was:" >&5
4289 sed 's/^/| /' conftest.$ac_ext >&5
4291 lt_cv_cc_needs_belf=no
4293 rm -f conftest.err conftest.$ac_objext \
4294 conftest$ac_exeext conftest.$ac_ext
4296 ac_cpp='$CPP $CPPFLAGS'
4297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4302 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4303 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4304 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4305 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4306 CFLAGS="$SAVE_CFLAGS"
4314 # Save cache, so that ltconfig can load it
4315 cat >confcache <<\_ACEOF
4316 # This file is a shell script that caches the results of configure
4317 # tests run on this system so they can be shared between configure
4318 # scripts and configure runs, see configure's option --config-cache.
4319 # It is not useful on other systems. If it contains results you don't
4320 # want to keep, you may remove or edit it.
4322 # config.status only pays attention to the cache file if you give it
4323 # the --recheck option to rerun configure.
4325 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4326 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4331 # The following way of writing the cache mishandles newlines in values,
4332 # but we know of no workaround that is simple, portable, and efficient.
4333 # So, don't put newlines in cache variables' values.
4334 # Ultrix sh set writes to stderr and can't be redirected directly,
4335 # and sets the high bit in the cache file unless we assign to the vars.
4338 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4340 # `set' does not quote correctly, so add quotes (double-quote
4341 # substitution turns \\\\ into \\, and sed turns \\ into \).
4344 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4347 # `set' quotes correctly as required by POSIX, so do not add quotes.
4349 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4356 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4358 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4360 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4361 if test -w $cache_file; then
4362 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4363 cat confcache >$cache_file
4365 echo "not updating unwritable cache $cache_file"
4370 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4371 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4372 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4373 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4374 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4375 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4376 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4377 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4378 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4379 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4380 echo "$as_me: error: libtool configure failed" >&2;}
4381 { (exit 1); exit 1; }; }
4383 # Reload cache, that may have been modified by ltconfig
4384 if test -r "$cache_file"; then
4385 # Some versions of bash will fail to source /dev/null (special
4386 # files actually), so we avoid doing that.
4387 if test -f "$cache_file"; then
4388 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4389 echo "$as_me: loading cache $cache_file" >&6;}
4391 [\\/]* | ?:[\\/]* ) . $cache_file;;
4392 *) . ./$cache_file;;
4396 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4397 echo "$as_me: creating cache $cache_file" >&6;}
4402 # This can be used to rebuild libtool when needed
4403 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4405 # Always use our own libtool.
4406 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4408 # Redirect the config.log output again, so that the ltconfig log is not
4409 # clobbered by the next message.
4410 exec 5>>./config.log
4419 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4421 # We need gfortran to compile parts of the library
4422 # We can't use AC_PROG_FC because it expects a fully working gfortran.
4423 #AC_PROG_FC(gfortran)
4425 ac_ext=${FC_SRCEXT-f}
4426 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4427 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4428 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4429 if test -n "$ac_tool_prefix"; then
4430 for ac_prog in gfortran
4432 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4433 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4434 echo "$as_me:$LINENO: checking for $ac_word" >&5
4435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4436 if test "${ac_cv_prog_FC+set}" = set; then
4437 echo $ECHO_N "(cached) $ECHO_C" >&6
4439 if test -n "$FC"; then
4440 ac_cv_prog_FC="$FC" # Let the user override the test.
4442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4446 test -z "$as_dir" && as_dir=.
4447 for ac_exec_ext in '' $ac_executable_extensions; do
4448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4449 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4459 if test -n "$FC"; then
4460 echo "$as_me:$LINENO: result: $FC" >&5
4461 echo "${ECHO_T}$FC" >&6
4463 echo "$as_me:$LINENO: result: no" >&5
4464 echo "${ECHO_T}no" >&6
4467 test -n "$FC" && break
4470 if test -z "$FC"; then
4472 for ac_prog in gfortran
4474 # Extract the first word of "$ac_prog", so it can be a program name with args.
4475 set dummy $ac_prog; ac_word=$2
4476 echo "$as_me:$LINENO: checking for $ac_word" >&5
4477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4478 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4479 echo $ECHO_N "(cached) $ECHO_C" >&6
4481 if test -n "$ac_ct_FC"; then
4482 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4488 test -z "$as_dir" && as_dir=.
4489 for ac_exec_ext in '' $ac_executable_extensions; do
4490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4491 ac_cv_prog_ac_ct_FC="$ac_prog"
4492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4500 ac_ct_FC=$ac_cv_prog_ac_ct_FC
4501 if test -n "$ac_ct_FC"; then
4502 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4503 echo "${ECHO_T}$ac_ct_FC" >&6
4505 echo "$as_me:$LINENO: result: no" >&5
4506 echo "${ECHO_T}no" >&6
4509 test -n "$ac_ct_FC" && break
4516 # Provide some information about the compiler.
4517 echo "$as_me:4517:" \
4518 "checking for Fortran compiler version" >&5
4519 ac_compiler=`set X $ac_compile; echo $2`
4520 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4521 (eval $ac_compiler --version </dev/null >&5) 2>&5
4523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524 (exit $ac_status); }
4525 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4526 (eval $ac_compiler -v </dev/null >&5) 2>&5
4528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4529 (exit $ac_status); }
4530 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4531 (eval $ac_compiler -V </dev/null >&5) 2>&5
4533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4534 (exit $ac_status); }
4537 # If we don't use `.F' as extension, the preprocessor is not run on the
4538 # input file. (Note that this only needs to work for GNU compilers.)
4541 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4542 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4543 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4544 echo $ECHO_N "(cached) $ECHO_C" >&6
4546 cat >conftest.$ac_ext <<_ACEOF
4554 rm -f conftest.$ac_objext
4555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4556 (eval $ac_compile) 2>conftest.er1
4558 grep -v '^ *+' conftest.er1 >conftest.err
4560 cat conftest.err >&5
4561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4562 (exit $ac_status); } &&
4563 { ac_try='test -z "$ac_fc_werror_flag"
4564 || test ! -s conftest.err'
4565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 (exit $ac_status); }; } &&
4570 { ac_try='test -s conftest.$ac_objext'
4571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 (exit $ac_status); }; }; then
4578 echo "$as_me: failed program was:" >&5
4579 sed 's/^/| /' conftest.$ac_ext >&5
4583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4584 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4587 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4588 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4590 ac_test_FFLAGS=${FCFLAGS+set}
4591 ac_save_FFLAGS=$FCFLAGS
4593 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4594 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4595 if test "${ac_cv_prog_fc_g+set}" = set; then
4596 echo $ECHO_N "(cached) $ECHO_C" >&6
4599 cat >conftest.$ac_ext <<_ACEOF
4604 rm -f conftest.$ac_objext
4605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4606 (eval $ac_compile) 2>conftest.er1
4608 grep -v '^ *+' conftest.er1 >conftest.err
4610 cat conftest.err >&5
4611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4612 (exit $ac_status); } &&
4613 { ac_try='test -z "$ac_fc_werror_flag"
4614 || test ! -s conftest.err'
4615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4619 (exit $ac_status); }; } &&
4620 { ac_try='test -s conftest.$ac_objext'
4621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4625 (exit $ac_status); }; }; then
4628 echo "$as_me: failed program was:" >&5
4629 sed 's/^/| /' conftest.$ac_ext >&5
4633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4636 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4637 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4638 if test "$ac_test_FFLAGS" = set; then
4639 FCFLAGS=$ac_save_FFLAGS
4640 elif test $ac_cv_prog_fc_g = yes; then
4641 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4647 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4655 ac_cpp='$CPP $CPPFLAGS'
4656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4660 FCFLAGS="$FCFLAGS -Wall -fno-repack-arrays -fno-underscoring"
4662 # extra LD Flags which are required for targets
4665 # Darwin needs -single_module when linking libgfortran
4666 extra_ldflags_libgfortran=-Wl,-single_module
4671 # Check whether --enable-largefile or --disable-largefile was given.
4672 if test "${enable_largefile+set}" = set; then
4673 enableval="$enable_largefile"
4676 if test "$enable_largefile" != no; then
4678 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4679 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4680 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4681 echo $ECHO_N "(cached) $ECHO_C" >&6
4683 ac_cv_sys_largefile_CC=no
4684 if test "$GCC" != yes; then
4687 # IRIX 6.2 and later do not support large files by default,
4688 # so use the C compiler's -n32 option if that helps.
4689 cat >conftest.$ac_ext <<_ACEOF
4692 cat confdefs.h >>conftest.$ac_ext
4693 cat >>conftest.$ac_ext <<_ACEOF
4694 /* end confdefs.h. */
4695 #include <sys/types.h>
4696 /* Check that off_t can represent 2**63 - 1 correctly.
4697 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4698 since some C++ compilers masquerading as C compilers
4699 incorrectly reject 9223372036854775807. */
4700 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4701 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4702 && LARGE_OFF_T % 2147483647 == 1)
4712 rm -f conftest.$ac_objext
4713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4714 (eval $ac_compile) 2>conftest.er1
4716 grep -v '^ *+' conftest.er1 >conftest.err
4718 cat conftest.err >&5
4719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4720 (exit $ac_status); } &&
4721 { ac_try='test -z "$ac_c_werror_flag"
4722 || test ! -s conftest.err'
4723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4727 (exit $ac_status); }; } &&
4728 { ac_try='test -s conftest.$ac_objext'
4729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733 (exit $ac_status); }; }; then
4736 echo "$as_me: failed program was:" >&5
4737 sed 's/^/| /' conftest.$ac_ext >&5
4740 rm -f conftest.err conftest.$ac_objext
4742 rm -f conftest.$ac_objext
4743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4744 (eval $ac_compile) 2>conftest.er1
4746 grep -v '^ *+' conftest.er1 >conftest.err
4748 cat conftest.err >&5
4749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 (exit $ac_status); } &&
4751 { ac_try='test -z "$ac_c_werror_flag"
4752 || test ! -s conftest.err'
4753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757 (exit $ac_status); }; } &&
4758 { ac_try='test -s conftest.$ac_objext'
4759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4763 (exit $ac_status); }; }; then
4764 ac_cv_sys_largefile_CC=' -n32'; break
4766 echo "$as_me: failed program was:" >&5
4767 sed 's/^/| /' conftest.$ac_ext >&5
4770 rm -f conftest.err conftest.$ac_objext
4774 rm -f conftest.$ac_ext
4777 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4778 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4779 if test "$ac_cv_sys_largefile_CC" != no; then
4780 CC=$CC$ac_cv_sys_largefile_CC
4783 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4784 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4785 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4786 echo $ECHO_N "(cached) $ECHO_C" >&6
4789 ac_cv_sys_file_offset_bits=no
4790 cat >conftest.$ac_ext <<_ACEOF
4793 cat confdefs.h >>conftest.$ac_ext
4794 cat >>conftest.$ac_ext <<_ACEOF
4795 /* end confdefs.h. */
4796 #include <sys/types.h>
4797 /* Check that off_t can represent 2**63 - 1 correctly.
4798 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4799 since some C++ compilers masquerading as C compilers
4800 incorrectly reject 9223372036854775807. */
4801 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4802 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4803 && LARGE_OFF_T % 2147483647 == 1)
4813 rm -f conftest.$ac_objext
4814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4815 (eval $ac_compile) 2>conftest.er1
4817 grep -v '^ *+' conftest.er1 >conftest.err
4819 cat conftest.err >&5
4820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821 (exit $ac_status); } &&
4822 { ac_try='test -z "$ac_c_werror_flag"
4823 || test ! -s conftest.err'
4824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); }; } &&
4829 { ac_try='test -s conftest.$ac_objext'
4830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4834 (exit $ac_status); }; }; then
4837 echo "$as_me: failed program was:" >&5
4838 sed 's/^/| /' conftest.$ac_ext >&5
4841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4842 cat >conftest.$ac_ext <<_ACEOF
4845 cat confdefs.h >>conftest.$ac_ext
4846 cat >>conftest.$ac_ext <<_ACEOF
4847 /* end confdefs.h. */
4848 #define _FILE_OFFSET_BITS 64
4849 #include <sys/types.h>
4850 /* Check that off_t can represent 2**63 - 1 correctly.
4851 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4852 since some C++ compilers masquerading as C compilers
4853 incorrectly reject 9223372036854775807. */
4854 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4855 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4856 && LARGE_OFF_T % 2147483647 == 1)
4866 rm -f conftest.$ac_objext
4867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4868 (eval $ac_compile) 2>conftest.er1
4870 grep -v '^ *+' conftest.er1 >conftest.err
4872 cat conftest.err >&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); } &&
4875 { ac_try='test -z "$ac_c_werror_flag"
4876 || test ! -s conftest.err'
4877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4881 (exit $ac_status); }; } &&
4882 { ac_try='test -s conftest.$ac_objext'
4883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887 (exit $ac_status); }; }; then
4888 ac_cv_sys_file_offset_bits=64; break
4890 echo "$as_me: failed program was:" >&5
4891 sed 's/^/| /' conftest.$ac_ext >&5
4894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4898 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4899 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4900 if test "$ac_cv_sys_file_offset_bits" != no; then
4902 cat >>confdefs.h <<_ACEOF
4903 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4908 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4909 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4910 if test "${ac_cv_sys_large_files+set}" = set; then
4911 echo $ECHO_N "(cached) $ECHO_C" >&6
4914 ac_cv_sys_large_files=no
4915 cat >conftest.$ac_ext <<_ACEOF
4918 cat confdefs.h >>conftest.$ac_ext
4919 cat >>conftest.$ac_ext <<_ACEOF
4920 /* end confdefs.h. */
4921 #include <sys/types.h>
4922 /* Check that off_t can represent 2**63 - 1 correctly.
4923 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4924 since some C++ compilers masquerading as C compilers
4925 incorrectly reject 9223372036854775807. */
4926 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4927 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4928 && LARGE_OFF_T % 2147483647 == 1)
4938 rm -f conftest.$ac_objext
4939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4940 (eval $ac_compile) 2>conftest.er1
4942 grep -v '^ *+' conftest.er1 >conftest.err
4944 cat conftest.err >&5
4945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946 (exit $ac_status); } &&
4947 { ac_try='test -z "$ac_c_werror_flag"
4948 || test ! -s conftest.err'
4949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4953 (exit $ac_status); }; } &&
4954 { ac_try='test -s conftest.$ac_objext'
4955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4959 (exit $ac_status); }; }; then
4962 echo "$as_me: failed program was:" >&5
4963 sed 's/^/| /' conftest.$ac_ext >&5
4966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4967 cat >conftest.$ac_ext <<_ACEOF
4970 cat confdefs.h >>conftest.$ac_ext
4971 cat >>conftest.$ac_ext <<_ACEOF
4972 /* end confdefs.h. */
4973 #define _LARGE_FILES 1
4974 #include <sys/types.h>
4975 /* Check that off_t can represent 2**63 - 1 correctly.
4976 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4977 since some C++ compilers masquerading as C compilers
4978 incorrectly reject 9223372036854775807. */
4979 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4980 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4981 && LARGE_OFF_T % 2147483647 == 1)
4991 rm -f conftest.$ac_objext
4992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4993 (eval $ac_compile) 2>conftest.er1
4995 grep -v '^ *+' conftest.er1 >conftest.err
4997 cat conftest.err >&5
4998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999 (exit $ac_status); } &&
5000 { ac_try='test -z "$ac_c_werror_flag"
5001 || test ! -s conftest.err'
5002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5006 (exit $ac_status); }; } &&
5007 { ac_try='test -s conftest.$ac_objext'
5008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012 (exit $ac_status); }; }; then
5013 ac_cv_sys_large_files=1; break
5015 echo "$as_me: failed program was:" >&5
5016 sed 's/^/| /' conftest.$ac_ext >&5
5019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5023 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5024 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5025 if test "$ac_cv_sys_large_files" != no; then
5027 cat >>confdefs.h <<_ACEOF
5028 #define _LARGE_FILES $ac_cv_sys_large_files
5035 if test x$gcc_no_link = xyes; then
5036 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
5037 ac_cv_func_mmap_fixed_mapped=no
5040 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
5042 ac_cpp='$CPP $CPPFLAGS'
5043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5046 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5047 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5048 # On Suns, sometimes $CPP names a directory.
5049 if test -n "$CPP" && test -d "$CPP"; then
5052 if test -z "$CPP"; then
5053 if test "${ac_cv_prog_CPP+set}" = set; then
5054 echo $ECHO_N "(cached) $ECHO_C" >&6
5056 # Double quotes because CPP needs to be expanded
5057 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5060 for ac_c_preproc_warn_flag in '' yes
5062 # Use a header file that comes with gcc, so configuring glibc
5063 # with a fresh cross-compiler works.
5064 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5065 # <limits.h> exists even on freestanding compilers.
5066 # On the NeXT, cc -E runs the code through the compiler's parser,
5067 # not just through cpp. "Syntax error" is here to catch this case.
5068 cat >conftest.$ac_ext <<_ACEOF
5071 cat confdefs.h >>conftest.$ac_ext
5072 cat >>conftest.$ac_ext <<_ACEOF
5073 /* end confdefs.h. */
5075 # include <limits.h>
5077 # include <assert.h>
5081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5084 grep -v '^ *+' conftest.er1 >conftest.err
5086 cat conftest.err >&5
5087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5088 (exit $ac_status); } >/dev/null; then
5089 if test -s conftest.err; then
5090 ac_cpp_err=$ac_c_preproc_warn_flag
5091 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5098 if test -z "$ac_cpp_err"; then
5101 echo "$as_me: failed program was:" >&5
5102 sed 's/^/| /' conftest.$ac_ext >&5
5104 # Broken: fails on valid input.
5107 rm -f conftest.err conftest.$ac_ext
5109 # OK, works on sane cases. Now check whether non-existent headers
5110 # can be detected and how.
5111 cat >conftest.$ac_ext <<_ACEOF
5114 cat confdefs.h >>conftest.$ac_ext
5115 cat >>conftest.$ac_ext <<_ACEOF
5116 /* end confdefs.h. */
5117 #include <ac_nonexistent.h>
5119 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5120 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5122 grep -v '^ *+' conftest.er1 >conftest.err
5124 cat conftest.err >&5
5125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5126 (exit $ac_status); } >/dev/null; then
5127 if test -s conftest.err; then
5128 ac_cpp_err=$ac_c_preproc_warn_flag
5129 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5136 if test -z "$ac_cpp_err"; then
5137 # Broken: success on invalid input.
5140 echo "$as_me: failed program was:" >&5
5141 sed 's/^/| /' conftest.$ac_ext >&5
5143 # Passes both tests.
5147 rm -f conftest.err conftest.$ac_ext
5150 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5151 rm -f conftest.err conftest.$ac_ext
5152 if $ac_preproc_ok; then
5164 echo "$as_me:$LINENO: result: $CPP" >&5
5165 echo "${ECHO_T}$CPP" >&6
5167 for ac_c_preproc_warn_flag in '' yes
5169 # Use a header file that comes with gcc, so configuring glibc
5170 # with a fresh cross-compiler works.
5171 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5172 # <limits.h> exists even on freestanding compilers.
5173 # On the NeXT, cc -E runs the code through the compiler's parser,
5174 # not just through cpp. "Syntax error" is here to catch this case.
5175 cat >conftest.$ac_ext <<_ACEOF
5178 cat confdefs.h >>conftest.$ac_ext
5179 cat >>conftest.$ac_ext <<_ACEOF
5180 /* end confdefs.h. */
5182 # include <limits.h>
5184 # include <assert.h>
5188 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5189 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5191 grep -v '^ *+' conftest.er1 >conftest.err
5193 cat conftest.err >&5
5194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5195 (exit $ac_status); } >/dev/null; then
5196 if test -s conftest.err; then
5197 ac_cpp_err=$ac_c_preproc_warn_flag
5198 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5205 if test -z "$ac_cpp_err"; then
5208 echo "$as_me: failed program was:" >&5
5209 sed 's/^/| /' conftest.$ac_ext >&5
5211 # Broken: fails on valid input.
5214 rm -f conftest.err conftest.$ac_ext
5216 # OK, works on sane cases. Now check whether non-existent headers
5217 # can be detected and how.
5218 cat >conftest.$ac_ext <<_ACEOF
5221 cat confdefs.h >>conftest.$ac_ext
5222 cat >>conftest.$ac_ext <<_ACEOF
5223 /* end confdefs.h. */
5224 #include <ac_nonexistent.h>
5226 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5227 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5229 grep -v '^ *+' conftest.er1 >conftest.err
5231 cat conftest.err >&5
5232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5233 (exit $ac_status); } >/dev/null; then
5234 if test -s conftest.err; then
5235 ac_cpp_err=$ac_c_preproc_warn_flag
5236 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5243 if test -z "$ac_cpp_err"; then
5244 # Broken: success on invalid input.
5247 echo "$as_me: failed program was:" >&5
5248 sed 's/^/| /' conftest.$ac_ext >&5
5250 # Passes both tests.
5254 rm -f conftest.err conftest.$ac_ext
5257 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5258 rm -f conftest.err conftest.$ac_ext
5259 if $ac_preproc_ok; then
5262 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5263 See \`config.log' for more details." >&5
5264 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5265 See \`config.log' for more details." >&2;}
5266 { (exit 1); exit 1; }; }
5270 ac_cpp='$CPP $CPPFLAGS'
5271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5276 echo "$as_me:$LINENO: checking for egrep" >&5
5277 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5278 if test "${ac_cv_prog_egrep+set}" = set; then
5279 echo $ECHO_N "(cached) $ECHO_C" >&6
5281 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5282 then ac_cv_prog_egrep='grep -E'
5283 else ac_cv_prog_egrep='egrep'
5286 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5287 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5288 EGREP=$ac_cv_prog_egrep
5291 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5292 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5293 if test "${ac_cv_header_stdc+set}" = set; then
5294 echo $ECHO_N "(cached) $ECHO_C" >&6
5296 cat >conftest.$ac_ext <<_ACEOF
5299 cat confdefs.h >>conftest.$ac_ext
5300 cat >>conftest.$ac_ext <<_ACEOF
5301 /* end confdefs.h. */
5315 rm -f conftest.$ac_objext
5316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5317 (eval $ac_compile) 2>conftest.er1
5319 grep -v '^ *+' conftest.er1 >conftest.err
5321 cat conftest.err >&5
5322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5323 (exit $ac_status); } &&
5324 { ac_try='test -z "$ac_c_werror_flag"
5325 || test ! -s conftest.err'
5326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5330 (exit $ac_status); }; } &&
5331 { ac_try='test -s conftest.$ac_objext'
5332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5336 (exit $ac_status); }; }; then
5337 ac_cv_header_stdc=yes
5339 echo "$as_me: failed program was:" >&5
5340 sed 's/^/| /' conftest.$ac_ext >&5
5342 ac_cv_header_stdc=no
5344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5346 if test $ac_cv_header_stdc = yes; then
5347 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5348 cat >conftest.$ac_ext <<_ACEOF
5351 cat confdefs.h >>conftest.$ac_ext
5352 cat >>conftest.$ac_ext <<_ACEOF
5353 /* end confdefs.h. */
5357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5358 $EGREP "memchr" >/dev/null 2>&1; then
5361 ac_cv_header_stdc=no
5367 if test $ac_cv_header_stdc = yes; then
5368 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5369 cat >conftest.$ac_ext <<_ACEOF
5372 cat confdefs.h >>conftest.$ac_ext
5373 cat >>conftest.$ac_ext <<_ACEOF
5374 /* end confdefs.h. */
5378 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5379 $EGREP "free" >/dev/null 2>&1; then
5382 ac_cv_header_stdc=no
5388 if test $ac_cv_header_stdc = yes; then
5389 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5390 if test "$cross_compiling" = yes; then
5393 cat >conftest.$ac_ext <<_ACEOF
5396 cat confdefs.h >>conftest.$ac_ext
5397 cat >>conftest.$ac_ext <<_ACEOF
5398 /* end confdefs.h. */
5400 #if ((' ' & 0x0FF) == 0x020)
5401 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5402 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5404 # define ISLOWER(c) \
5405 (('a' <= (c) && (c) <= 'i') \
5406 || ('j' <= (c) && (c) <= 'r') \
5407 || ('s' <= (c) && (c) <= 'z'))
5408 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5411 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5416 for (i = 0; i < 256; i++)
5417 if (XOR (islower (i), ISLOWER (i))
5418 || toupper (i) != TOUPPER (i))
5423 rm -f conftest$ac_exeext
5424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5425 (eval $ac_link) 2>&5
5427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5428 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5433 (exit $ac_status); }; }; then
5436 echo "$as_me: program exited with status $ac_status" >&5
5437 echo "$as_me: failed program was:" >&5
5438 sed 's/^/| /' conftest.$ac_ext >&5
5441 ac_cv_header_stdc=no
5443 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5447 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5448 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5449 if test $ac_cv_header_stdc = yes; then
5451 cat >>confdefs.h <<\_ACEOF
5452 #define STDC_HEADERS 1
5457 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5467 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5468 inttypes.h stdint.h unistd.h
5470 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5471 echo "$as_me:$LINENO: checking for $ac_header" >&5
5472 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5473 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5474 echo $ECHO_N "(cached) $ECHO_C" >&6
5476 cat >conftest.$ac_ext <<_ACEOF
5479 cat confdefs.h >>conftest.$ac_ext
5480 cat >>conftest.$ac_ext <<_ACEOF
5481 /* end confdefs.h. */
5482 $ac_includes_default
5484 #include <$ac_header>
5486 rm -f conftest.$ac_objext
5487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5488 (eval $ac_compile) 2>conftest.er1
5490 grep -v '^ *+' conftest.er1 >conftest.err
5492 cat conftest.err >&5
5493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5494 (exit $ac_status); } &&
5495 { ac_try='test -z "$ac_c_werror_flag"
5496 || test ! -s conftest.err'
5497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5501 (exit $ac_status); }; } &&
5502 { ac_try='test -s conftest.$ac_objext'
5503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5507 (exit $ac_status); }; }; then
5508 eval "$as_ac_Header=yes"
5510 echo "$as_me: failed program was:" >&5
5511 sed 's/^/| /' conftest.$ac_ext >&5
5513 eval "$as_ac_Header=no"
5515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5519 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5520 cat >>confdefs.h <<_ACEOF
5521 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5531 for ac_header in stdlib.h unistd.h
5533 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5535 echo "$as_me:$LINENO: checking for $ac_header" >&5
5536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5538 echo $ECHO_N "(cached) $ECHO_C" >&6
5540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5541 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5543 # Is the header compilable?
5544 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5545 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5546 cat >conftest.$ac_ext <<_ACEOF
5549 cat confdefs.h >>conftest.$ac_ext
5550 cat >>conftest.$ac_ext <<_ACEOF
5551 /* end confdefs.h. */
5552 $ac_includes_default
5553 #include <$ac_header>
5555 rm -f conftest.$ac_objext
5556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5557 (eval $ac_compile) 2>conftest.er1
5559 grep -v '^ *+' conftest.er1 >conftest.err
5561 cat conftest.err >&5
5562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563 (exit $ac_status); } &&
5564 { ac_try='test -z "$ac_c_werror_flag"
5565 || test ! -s conftest.err'
5566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570 (exit $ac_status); }; } &&
5571 { ac_try='test -s conftest.$ac_objext'
5572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576 (exit $ac_status); }; }; then
5577 ac_header_compiler=yes
5579 echo "$as_me: failed program was:" >&5
5580 sed 's/^/| /' conftest.$ac_ext >&5
5582 ac_header_compiler=no
5584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5585 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5586 echo "${ECHO_T}$ac_header_compiler" >&6
5588 # Is the header present?
5589 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5590 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5591 cat >conftest.$ac_ext <<_ACEOF
5594 cat confdefs.h >>conftest.$ac_ext
5595 cat >>conftest.$ac_ext <<_ACEOF
5596 /* end confdefs.h. */
5597 #include <$ac_header>
5599 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5600 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5602 grep -v '^ *+' conftest.er1 >conftest.err
5604 cat conftest.err >&5
5605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5606 (exit $ac_status); } >/dev/null; then
5607 if test -s conftest.err; then
5608 ac_cpp_err=$ac_c_preproc_warn_flag
5609 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5616 if test -z "$ac_cpp_err"; then
5617 ac_header_preproc=yes
5619 echo "$as_me: failed program was:" >&5
5620 sed 's/^/| /' conftest.$ac_ext >&5
5622 ac_header_preproc=no
5624 rm -f conftest.err conftest.$ac_ext
5625 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5626 echo "${ECHO_T}$ac_header_preproc" >&6
5628 # So? What about this header?
5629 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5631 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5632 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5633 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5634 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5635 ac_header_preproc=yes
5638 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5639 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5640 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5641 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5642 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5643 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5644 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5645 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5646 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5647 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5648 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5649 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5652 ## ------------------------------------------------------ ##
5653 ## Report this to the GNU Fortran Runtime Library lists. ##
5654 ## ------------------------------------------------------ ##
5657 sed "s/^/$as_me: WARNING: /" >&2
5660 echo "$as_me:$LINENO: checking for $ac_header" >&5
5661 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5663 echo $ECHO_N "(cached) $ECHO_C" >&6
5665 eval "$as_ac_Header=\$ac_header_preproc"
5667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5668 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5672 cat >>confdefs.h <<_ACEOF
5673 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5681 for ac_func in getpagesize
5683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5684 echo "$as_me:$LINENO: checking for $ac_func" >&5
5685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5686 if eval "test \"\${$as_ac_var+set}\" = set"; then
5687 echo $ECHO_N "(cached) $ECHO_C" >&6
5689 if test x$gcc_no_link = xyes; then
5690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5692 { (exit 1); exit 1; }; }
5694 cat >conftest.$ac_ext <<_ACEOF
5697 cat confdefs.h >>conftest.$ac_ext
5698 cat >>conftest.$ac_ext <<_ACEOF
5699 /* end confdefs.h. */
5700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5702 #define $ac_func innocuous_$ac_func
5704 /* System header to define __stub macros and hopefully few prototypes,
5705 which can conflict with char $ac_func (); below.
5706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5707 <limits.h> exists even on freestanding compilers. */
5710 # include <limits.h>
5712 # include <assert.h>
5717 /* Override any gcc2 internal prototype to avoid an error. */
5722 /* We use char because int might match the return type of a gcc2
5723 builtin and then its argument prototype would still apply. */
5725 /* The GNU C library defines this for functions which it implements
5726 to always fail with ENOSYS. Some functions are actually named
5727 something starting with __ and the normal name is an alias. */
5728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5731 char (*f) () = $ac_func;
5740 return f != $ac_func;
5745 rm -f conftest.$ac_objext conftest$ac_exeext
5746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5747 (eval $ac_link) 2>conftest.er1
5749 grep -v '^ *+' conftest.er1 >conftest.err
5751 cat conftest.err >&5
5752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5753 (exit $ac_status); } &&
5754 { ac_try='test -z "$ac_c_werror_flag"
5755 || test ! -s conftest.err'
5756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5760 (exit $ac_status); }; } &&
5761 { ac_try='test -s conftest$ac_exeext'
5762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5766 (exit $ac_status); }; }; then
5767 eval "$as_ac_var=yes"
5769 echo "$as_me: failed program was:" >&5
5770 sed 's/^/| /' conftest.$ac_ext >&5
5772 eval "$as_ac_var=no"
5774 rm -f conftest.err conftest.$ac_objext \
5775 conftest$ac_exeext conftest.$ac_ext
5777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5779 if test `eval echo '${'$as_ac_var'}'` = yes; then
5780 cat >>confdefs.h <<_ACEOF
5781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5787 echo "$as_me:$LINENO: checking for working mmap" >&5
5788 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5789 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5790 echo $ECHO_N "(cached) $ECHO_C" >&6
5792 if test "$cross_compiling" = yes; then
5793 ac_cv_func_mmap_fixed_mapped=no
5795 cat >conftest.$ac_ext <<_ACEOF
5798 cat confdefs.h >>conftest.$ac_ext
5799 cat >>conftest.$ac_ext <<_ACEOF
5800 /* end confdefs.h. */
5801 $ac_includes_default
5802 /* malloc might have been renamed as rpl_malloc. */
5805 /* Thanks to Mike Haertel and Jim Avera for this test.
5806 Here is a matrix of mmap possibilities:
5807 mmap private not fixed
5808 mmap private fixed at somewhere currently unmapped
5809 mmap private fixed at somewhere already mapped
5810 mmap shared not fixed
5811 mmap shared fixed at somewhere currently unmapped
5812 mmap shared fixed at somewhere already mapped
5813 For private mappings, we should verify that changes cannot be read()
5814 back from the file, nor mmap's back from the file at a different
5815 address. (There have been systems where private was not correctly
5816 implemented like the infamous i386 svr4.0, and systems where the
5817 VM page cache was not coherent with the file system buffer cache
5818 like early versions of FreeBSD and possibly contemporary NetBSD.)
5819 For shared mappings, we should conversely verify that changes get
5820 propagated back to all the places they're supposed to be.
5822 Grep wants private fixed already mapped.
5823 The main things grep needs to know about mmap are:
5824 * does it exist and is it safe to write into the mmap'd area
5825 * how to use it (BSD variants) */
5828 #include <sys/mman.h>
5830 #if !STDC_HEADERS && !HAVE_STDLIB_H
5834 /* This mess was copied from the GNU getpagesize.h. */
5835 #if !HAVE_GETPAGESIZE
5836 /* Assume that all systems that can run configure have sys/param.h. */
5837 # if !HAVE_SYS_PARAM_H
5838 # define HAVE_SYS_PARAM_H 1
5841 # ifdef _SC_PAGESIZE
5842 # define getpagesize() sysconf(_SC_PAGESIZE)
5843 # else /* no _SC_PAGESIZE */
5844 # if HAVE_SYS_PARAM_H
5845 # include <sys/param.h>
5846 # ifdef EXEC_PAGESIZE
5847 # define getpagesize() EXEC_PAGESIZE
5848 # else /* no EXEC_PAGESIZE */
5850 # define getpagesize() NBPG * CLSIZE
5853 # endif /* no CLSIZE */
5854 # else /* no NBPG */
5856 # define getpagesize() NBPC
5857 # else /* no NBPC */
5859 # define getpagesize() PAGESIZE
5860 # endif /* PAGESIZE */
5861 # endif /* no NBPC */
5862 # endif /* no NBPG */
5863 # endif /* no EXEC_PAGESIZE */
5864 # else /* no HAVE_SYS_PARAM_H */
5865 # define getpagesize() 8192 /* punt totally */
5866 # endif /* no HAVE_SYS_PARAM_H */
5867 # endif /* no _SC_PAGESIZE */
5869 #endif /* no HAVE_GETPAGESIZE */
5874 char *data, *data2, *data3;
5878 pagesize = getpagesize ();
5880 /* First, make a file with some known garbage in it. */
5881 data = (char *) malloc (pagesize);
5884 for (i = 0; i < pagesize; ++i)
5885 *(data + i) = rand ();
5887 fd = creat ("conftest.mmap", 0600);
5890 if (write (fd, data, pagesize) != pagesize)
5894 /* Next, try to mmap the file at a fixed address which already has
5895 something else allocated at it. If we can, also make sure that
5896 we see the same garbage. */
5897 fd = open ("conftest.mmap", O_RDWR);
5900 data2 = (char *) malloc (2 * pagesize);
5903 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5904 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5905 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5907 for (i = 0; i < pagesize; ++i)
5908 if (*(data + i) != *(data2 + i))
5911 /* Finally, make sure that changes to the mapped area do not
5912 percolate back to the file as seen by read(). (This is a bug on
5913 some variants of i386 svr4.0.) */
5914 for (i = 0; i < pagesize; ++i)
5915 *(data2 + i) = *(data2 + i) + 1;
5916 data3 = (char *) malloc (pagesize);
5919 if (read (fd, data3, pagesize) != pagesize)
5921 for (i = 0; i < pagesize; ++i)
5922 if (*(data + i) != *(data3 + i))
5928 rm -f conftest$ac_exeext
5929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5930 (eval $ac_link) 2>&5
5932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5933 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5938 (exit $ac_status); }; }; then
5939 ac_cv_func_mmap_fixed_mapped=yes
5941 echo "$as_me: program exited with status $ac_status" >&5
5942 echo "$as_me: failed program was:" >&5
5943 sed 's/^/| /' conftest.$ac_ext >&5
5946 ac_cv_func_mmap_fixed_mapped=no
5948 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5951 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5952 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5953 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5955 cat >>confdefs.h <<\_ACEOF
5963 echo "$as_me:$LINENO: checking for off_t" >&5
5964 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5965 if test "${ac_cv_type_off_t+set}" = set; then
5966 echo $ECHO_N "(cached) $ECHO_C" >&6
5968 cat >conftest.$ac_ext <<_ACEOF
5971 cat confdefs.h >>conftest.$ac_ext
5972 cat >>conftest.$ac_ext <<_ACEOF
5973 /* end confdefs.h. */
5974 $ac_includes_default
5986 rm -f conftest.$ac_objext
5987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5988 (eval $ac_compile) 2>conftest.er1
5990 grep -v '^ *+' conftest.er1 >conftest.err
5992 cat conftest.err >&5
5993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5994 (exit $ac_status); } &&
5995 { ac_try='test -z "$ac_c_werror_flag"
5996 || test ! -s conftest.err'
5997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6001 (exit $ac_status); }; } &&
6002 { ac_try='test -s conftest.$ac_objext'
6003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6007 (exit $ac_status); }; }; then
6008 ac_cv_type_off_t=yes
6010 echo "$as_me: failed program was:" >&5
6011 sed 's/^/| /' conftest.$ac_ext >&5
6015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6017 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6018 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6019 if test $ac_cv_type_off_t = yes; then
6023 cat >>confdefs.h <<_ACEOF
6030 # check header files
6031 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6032 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6033 if test "${ac_cv_header_stdc+set}" = set; then
6034 echo $ECHO_N "(cached) $ECHO_C" >&6
6036 cat >conftest.$ac_ext <<_ACEOF
6039 cat confdefs.h >>conftest.$ac_ext
6040 cat >>conftest.$ac_ext <<_ACEOF
6041 /* end confdefs.h. */
6055 rm -f conftest.$ac_objext
6056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6057 (eval $ac_compile) 2>conftest.er1
6059 grep -v '^ *+' conftest.er1 >conftest.err
6061 cat conftest.err >&5
6062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6063 (exit $ac_status); } &&
6064 { ac_try='test -z "$ac_c_werror_flag"
6065 || test ! -s conftest.err'
6066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6070 (exit $ac_status); }; } &&
6071 { ac_try='test -s conftest.$ac_objext'
6072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6076 (exit $ac_status); }; }; then
6077 ac_cv_header_stdc=yes
6079 echo "$as_me: failed program was:" >&5
6080 sed 's/^/| /' conftest.$ac_ext >&5
6082 ac_cv_header_stdc=no
6084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6086 if test $ac_cv_header_stdc = yes; then
6087 # SunOS 4.x string.h does not declare mem*, 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 "memchr" >/dev/null 2>&1; then
6101 ac_cv_header_stdc=no
6107 if test $ac_cv_header_stdc = yes; then
6108 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6109 cat >conftest.$ac_ext <<_ACEOF
6112 cat confdefs.h >>conftest.$ac_ext
6113 cat >>conftest.$ac_ext <<_ACEOF
6114 /* end confdefs.h. */
6118 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6119 $EGREP "free" >/dev/null 2>&1; then
6122 ac_cv_header_stdc=no
6128 if test $ac_cv_header_stdc = yes; then
6129 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6130 if test "$cross_compiling" = yes; then
6133 cat >conftest.$ac_ext <<_ACEOF
6136 cat confdefs.h >>conftest.$ac_ext
6137 cat >>conftest.$ac_ext <<_ACEOF
6138 /* end confdefs.h. */
6140 #if ((' ' & 0x0FF) == 0x020)
6141 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6142 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6144 # define ISLOWER(c) \
6145 (('a' <= (c) && (c) <= 'i') \
6146 || ('j' <= (c) && (c) <= 'r') \
6147 || ('s' <= (c) && (c) <= 'z'))
6148 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6151 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6156 for (i = 0; i < 256; i++)
6157 if (XOR (islower (i), ISLOWER (i))
6158 || toupper (i) != TOUPPER (i))
6163 rm -f conftest$ac_exeext
6164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6165 (eval $ac_link) 2>&5
6167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6168 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173 (exit $ac_status); }; }; then
6176 echo "$as_me: program exited with status $ac_status" >&5
6177 echo "$as_me: failed program was:" >&5
6178 sed 's/^/| /' conftest.$ac_ext >&5
6181 ac_cv_header_stdc=no
6183 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6187 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6188 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6189 if test $ac_cv_header_stdc = yes; then
6191 cat >>confdefs.h <<\_ACEOF
6192 #define STDC_HEADERS 1
6204 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
6206 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6207 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6208 echo "$as_me:$LINENO: checking for $ac_header" >&5
6209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6211 echo $ECHO_N "(cached) $ECHO_C" >&6
6213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6214 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6216 # Is the header compilable?
6217 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6218 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6219 cat >conftest.$ac_ext <<_ACEOF
6222 cat confdefs.h >>conftest.$ac_ext
6223 cat >>conftest.$ac_ext <<_ACEOF
6224 /* end confdefs.h. */
6225 $ac_includes_default
6226 #include <$ac_header>
6228 rm -f conftest.$ac_objext
6229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6230 (eval $ac_compile) 2>conftest.er1
6232 grep -v '^ *+' conftest.er1 >conftest.err
6234 cat conftest.err >&5
6235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6236 (exit $ac_status); } &&
6237 { ac_try='test -z "$ac_c_werror_flag"
6238 || test ! -s conftest.err'
6239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6243 (exit $ac_status); }; } &&
6244 { ac_try='test -s conftest.$ac_objext'
6245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6249 (exit $ac_status); }; }; then
6250 ac_header_compiler=yes
6252 echo "$as_me: failed program was:" >&5
6253 sed 's/^/| /' conftest.$ac_ext >&5
6255 ac_header_compiler=no
6257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6258 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6259 echo "${ECHO_T}$ac_header_compiler" >&6
6261 # Is the header present?
6262 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6263 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6264 cat >conftest.$ac_ext <<_ACEOF
6267 cat confdefs.h >>conftest.$ac_ext
6268 cat >>conftest.$ac_ext <<_ACEOF
6269 /* end confdefs.h. */
6270 #include <$ac_header>
6272 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6273 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6275 grep -v '^ *+' conftest.er1 >conftest.err
6277 cat conftest.err >&5
6278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6279 (exit $ac_status); } >/dev/null; then
6280 if test -s conftest.err; then
6281 ac_cpp_err=$ac_c_preproc_warn_flag
6282 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6289 if test -z "$ac_cpp_err"; then
6290 ac_header_preproc=yes
6292 echo "$as_me: failed program was:" >&5
6293 sed 's/^/| /' conftest.$ac_ext >&5
6295 ac_header_preproc=no
6297 rm -f conftest.err conftest.$ac_ext
6298 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6299 echo "${ECHO_T}$ac_header_preproc" >&6
6301 # So? What about this header?
6302 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6304 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6305 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6306 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6307 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6308 ac_header_preproc=yes
6311 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6312 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6313 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6314 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6315 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6316 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6317 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6318 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6319 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6320 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6321 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6322 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6325 ## ------------------------------------------------------ ##
6326 ## Report this to the GNU Fortran Runtime Library lists. ##
6327 ## ------------------------------------------------------ ##
6330 sed "s/^/$as_me: WARNING: /" >&2
6333 echo "$as_me:$LINENO: checking for $ac_header" >&5
6334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6336 echo $ECHO_N "(cached) $ECHO_C" >&6
6338 eval "$as_ac_Header=\$ac_header_preproc"
6340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6344 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6345 cat >>confdefs.h <<_ACEOF
6346 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6358 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
6360 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6362 echo "$as_me:$LINENO: checking for $ac_header" >&5
6363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6365 echo $ECHO_N "(cached) $ECHO_C" >&6
6367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6368 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6370 # Is the header compilable?
6371 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6372 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6373 cat >conftest.$ac_ext <<_ACEOF
6376 cat confdefs.h >>conftest.$ac_ext
6377 cat >>conftest.$ac_ext <<_ACEOF
6378 /* end confdefs.h. */
6379 $ac_includes_default
6380 #include <$ac_header>
6382 rm -f conftest.$ac_objext
6383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6384 (eval $ac_compile) 2>conftest.er1
6386 grep -v '^ *+' conftest.er1 >conftest.err
6388 cat conftest.err >&5
6389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6390 (exit $ac_status); } &&
6391 { ac_try='test -z "$ac_c_werror_flag"
6392 || test ! -s conftest.err'
6393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6397 (exit $ac_status); }; } &&
6398 { ac_try='test -s conftest.$ac_objext'
6399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6403 (exit $ac_status); }; }; then
6404 ac_header_compiler=yes
6406 echo "$as_me: failed program was:" >&5
6407 sed 's/^/| /' conftest.$ac_ext >&5
6409 ac_header_compiler=no
6411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6412 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6413 echo "${ECHO_T}$ac_header_compiler" >&6
6415 # Is the header present?
6416 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6417 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6418 cat >conftest.$ac_ext <<_ACEOF
6421 cat confdefs.h >>conftest.$ac_ext
6422 cat >>conftest.$ac_ext <<_ACEOF
6423 /* end confdefs.h. */
6424 #include <$ac_header>
6426 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6427 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6429 grep -v '^ *+' conftest.er1 >conftest.err
6431 cat conftest.err >&5
6432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6433 (exit $ac_status); } >/dev/null; then
6434 if test -s conftest.err; then
6435 ac_cpp_err=$ac_c_preproc_warn_flag
6436 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6443 if test -z "$ac_cpp_err"; then
6444 ac_header_preproc=yes
6446 echo "$as_me: failed program was:" >&5
6447 sed 's/^/| /' conftest.$ac_ext >&5
6449 ac_header_preproc=no
6451 rm -f conftest.err conftest.$ac_ext
6452 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6453 echo "${ECHO_T}$ac_header_preproc" >&6
6455 # So? What about this header?
6456 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6458 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6459 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6460 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6461 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6462 ac_header_preproc=yes
6465 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6466 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6467 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6468 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6469 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6470 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6471 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6472 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6473 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6474 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6475 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6476 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6479 ## ------------------------------------------------------ ##
6480 ## Report this to the GNU Fortran Runtime Library lists. ##
6481 ## ------------------------------------------------------ ##
6484 sed "s/^/$as_me: WARNING: /" >&2
6487 echo "$as_me:$LINENO: checking for $ac_header" >&5
6488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6490 echo $ECHO_N "(cached) $ECHO_C" >&6
6492 eval "$as_ac_Header=\$ac_header_preproc"
6494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6498 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6499 cat >>confdefs.h <<_ACEOF
6500 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6511 for ac_header in sys/mman.h sys/types.h sys/stat.h ieeefp.h
6513 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6515 echo "$as_me:$LINENO: checking for $ac_header" >&5
6516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6518 echo $ECHO_N "(cached) $ECHO_C" >&6
6520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6521 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6523 # Is the header compilable?
6524 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6525 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6526 cat >conftest.$ac_ext <<_ACEOF
6529 cat confdefs.h >>conftest.$ac_ext
6530 cat >>conftest.$ac_ext <<_ACEOF
6531 /* end confdefs.h. */
6532 $ac_includes_default
6533 #include <$ac_header>
6535 rm -f conftest.$ac_objext
6536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6537 (eval $ac_compile) 2>conftest.er1
6539 grep -v '^ *+' conftest.er1 >conftest.err
6541 cat conftest.err >&5
6542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6543 (exit $ac_status); } &&
6544 { ac_try='test -z "$ac_c_werror_flag"
6545 || test ! -s conftest.err'
6546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6550 (exit $ac_status); }; } &&
6551 { ac_try='test -s conftest.$ac_objext'
6552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6556 (exit $ac_status); }; }; then
6557 ac_header_compiler=yes
6559 echo "$as_me: failed program was:" >&5
6560 sed 's/^/| /' conftest.$ac_ext >&5
6562 ac_header_compiler=no
6564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6565 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6566 echo "${ECHO_T}$ac_header_compiler" >&6
6568 # Is the header present?
6569 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6570 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6571 cat >conftest.$ac_ext <<_ACEOF
6574 cat confdefs.h >>conftest.$ac_ext
6575 cat >>conftest.$ac_ext <<_ACEOF
6576 /* end confdefs.h. */
6577 #include <$ac_header>
6579 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6580 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6582 grep -v '^ *+' conftest.er1 >conftest.err
6584 cat conftest.err >&5
6585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6586 (exit $ac_status); } >/dev/null; then
6587 if test -s conftest.err; then
6588 ac_cpp_err=$ac_c_preproc_warn_flag
6589 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6596 if test -z "$ac_cpp_err"; then
6597 ac_header_preproc=yes
6599 echo "$as_me: failed program was:" >&5
6600 sed 's/^/| /' conftest.$ac_ext >&5
6602 ac_header_preproc=no
6604 rm -f conftest.err conftest.$ac_ext
6605 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6606 echo "${ECHO_T}$ac_header_preproc" >&6
6608 # So? What about this header?
6609 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6611 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6612 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6613 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6614 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6615 ac_header_preproc=yes
6618 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6619 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6620 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6621 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6622 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6623 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6624 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6625 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6626 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6627 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6628 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6629 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6632 ## ------------------------------------------------------ ##
6633 ## Report this to the GNU Fortran Runtime Library lists. ##
6634 ## ------------------------------------------------------ ##
6637 sed "s/^/$as_me: WARNING: /" >&2
6640 echo "$as_me:$LINENO: checking for $ac_header" >&5
6641 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6643 echo $ECHO_N "(cached) $ECHO_C" >&6
6645 eval "$as_ac_Header=\$ac_header_preproc"
6647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6651 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6652 cat >>confdefs.h <<_ACEOF
6653 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6660 if test "${ac_cv_header_complex_h+set}" = set; then
6661 echo "$as_me:$LINENO: checking for complex.h" >&5
6662 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6663 if test "${ac_cv_header_complex_h+set}" = set; then
6664 echo $ECHO_N "(cached) $ECHO_C" >&6
6666 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6667 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6669 # Is the header compilable?
6670 echo "$as_me:$LINENO: checking complex.h usability" >&5
6671 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6672 cat >conftest.$ac_ext <<_ACEOF
6675 cat confdefs.h >>conftest.$ac_ext
6676 cat >>conftest.$ac_ext <<_ACEOF
6677 /* end confdefs.h. */
6678 $ac_includes_default
6679 #include <complex.h>
6681 rm -f conftest.$ac_objext
6682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6683 (eval $ac_compile) 2>conftest.er1
6685 grep -v '^ *+' conftest.er1 >conftest.err
6687 cat conftest.err >&5
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); } &&
6690 { ac_try='test -z "$ac_c_werror_flag"
6691 || test ! -s conftest.err'
6692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); }; } &&
6697 { ac_try='test -s conftest.$ac_objext'
6698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702 (exit $ac_status); }; }; then
6703 ac_header_compiler=yes
6705 echo "$as_me: failed program was:" >&5
6706 sed 's/^/| /' conftest.$ac_ext >&5
6708 ac_header_compiler=no
6710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6711 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6712 echo "${ECHO_T}$ac_header_compiler" >&6
6714 # Is the header present?
6715 echo "$as_me:$LINENO: checking complex.h presence" >&5
6716 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6717 cat >conftest.$ac_ext <<_ACEOF
6720 cat confdefs.h >>conftest.$ac_ext
6721 cat >>conftest.$ac_ext <<_ACEOF
6722 /* end confdefs.h. */
6723 #include <complex.h>
6725 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6726 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6728 grep -v '^ *+' conftest.er1 >conftest.err
6730 cat conftest.err >&5
6731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6732 (exit $ac_status); } >/dev/null; then
6733 if test -s conftest.err; then
6734 ac_cpp_err=$ac_c_preproc_warn_flag
6735 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6742 if test -z "$ac_cpp_err"; then
6743 ac_header_preproc=yes
6745 echo "$as_me: failed program was:" >&5
6746 sed 's/^/| /' conftest.$ac_ext >&5
6748 ac_header_preproc=no
6750 rm -f conftest.err conftest.$ac_ext
6751 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6752 echo "${ECHO_T}$ac_header_preproc" >&6
6754 # So? What about this header?
6755 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6757 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6758 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6759 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6760 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6761 ac_header_preproc=yes
6764 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6765 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6766 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6767 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6768 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6769 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6770 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6771 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6772 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6773 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6774 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6775 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6778 ## ------------------------------------------------------ ##
6779 ## Report this to the GNU Fortran Runtime Library lists. ##
6780 ## ------------------------------------------------------ ##
6783 sed "s/^/$as_me: WARNING: /" >&2
6786 echo "$as_me:$LINENO: checking for complex.h" >&5
6787 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6788 if test "${ac_cv_header_complex_h+set}" = set; then
6789 echo $ECHO_N "(cached) $ECHO_C" >&6
6791 ac_cv_header_complex_h=$ac_header_preproc
6793 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6794 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6797 if test $ac_cv_header_complex_h = yes; then
6799 cat >>confdefs.h <<\_ACEOF
6800 #define HAVE_COMPLEX_H 1
6807 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6808 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
6809 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6810 echo $ECHO_N "(cached) $ECHO_C" >&6
6812 cat >conftest.$ac_ext <<_ACEOF
6815 cat confdefs.h >>conftest.$ac_ext
6816 cat >>conftest.$ac_ext <<_ACEOF
6817 /* end confdefs.h. */
6818 $ac_includes_default
6822 static struct stat ac_aggr;
6823 if (ac_aggr.st_blksize)
6829 rm -f conftest.$ac_objext
6830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6831 (eval $ac_compile) 2>conftest.er1
6833 grep -v '^ *+' conftest.er1 >conftest.err
6835 cat conftest.err >&5
6836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6837 (exit $ac_status); } &&
6838 { ac_try='test -z "$ac_c_werror_flag"
6839 || test ! -s conftest.err'
6840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6844 (exit $ac_status); }; } &&
6845 { ac_try='test -s conftest.$ac_objext'
6846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6850 (exit $ac_status); }; }; then
6851 ac_cv_member_struct_stat_st_blksize=yes
6853 echo "$as_me: failed program was:" >&5
6854 sed 's/^/| /' conftest.$ac_ext >&5
6856 cat >conftest.$ac_ext <<_ACEOF
6859 cat confdefs.h >>conftest.$ac_ext
6860 cat >>conftest.$ac_ext <<_ACEOF
6861 /* end confdefs.h. */
6862 $ac_includes_default
6866 static struct stat ac_aggr;
6867 if (sizeof ac_aggr.st_blksize)
6873 rm -f conftest.$ac_objext
6874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6875 (eval $ac_compile) 2>conftest.er1
6877 grep -v '^ *+' conftest.er1 >conftest.err
6879 cat conftest.err >&5
6880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6881 (exit $ac_status); } &&
6882 { ac_try='test -z "$ac_c_werror_flag"
6883 || test ! -s conftest.err'
6884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888 (exit $ac_status); }; } &&
6889 { ac_try='test -s conftest.$ac_objext'
6890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6894 (exit $ac_status); }; }; then
6895 ac_cv_member_struct_stat_st_blksize=yes
6897 echo "$as_me: failed program was:" >&5
6898 sed 's/^/| /' conftest.$ac_ext >&5
6900 ac_cv_member_struct_stat_st_blksize=no
6902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6906 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6907 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
6908 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6910 cat >>confdefs.h <<_ACEOF
6911 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6917 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6918 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
6919 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6920 echo $ECHO_N "(cached) $ECHO_C" >&6
6922 cat >conftest.$ac_ext <<_ACEOF
6925 cat confdefs.h >>conftest.$ac_ext
6926 cat >>conftest.$ac_ext <<_ACEOF
6927 /* end confdefs.h. */
6928 $ac_includes_default
6932 static struct stat ac_aggr;
6933 if (ac_aggr.st_blocks)
6939 rm -f conftest.$ac_objext
6940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6941 (eval $ac_compile) 2>conftest.er1
6943 grep -v '^ *+' conftest.er1 >conftest.err
6945 cat conftest.err >&5
6946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6947 (exit $ac_status); } &&
6948 { ac_try='test -z "$ac_c_werror_flag"
6949 || test ! -s conftest.err'
6950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6954 (exit $ac_status); }; } &&
6955 { ac_try='test -s conftest.$ac_objext'
6956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6960 (exit $ac_status); }; }; then
6961 ac_cv_member_struct_stat_st_blocks=yes
6963 echo "$as_me: failed program was:" >&5
6964 sed 's/^/| /' conftest.$ac_ext >&5
6966 cat >conftest.$ac_ext <<_ACEOF
6969 cat confdefs.h >>conftest.$ac_ext
6970 cat >>conftest.$ac_ext <<_ACEOF
6971 /* end confdefs.h. */
6972 $ac_includes_default
6976 static struct stat ac_aggr;
6977 if (sizeof ac_aggr.st_blocks)
6983 rm -f conftest.$ac_objext
6984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6985 (eval $ac_compile) 2>conftest.er1
6987 grep -v '^ *+' conftest.er1 >conftest.err
6989 cat conftest.err >&5
6990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6991 (exit $ac_status); } &&
6992 { ac_try='test -z "$ac_c_werror_flag"
6993 || test ! -s conftest.err'
6994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6998 (exit $ac_status); }; } &&
6999 { ac_try='test -s conftest.$ac_objext'
7000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7004 (exit $ac_status); }; }; then
7005 ac_cv_member_struct_stat_st_blocks=yes
7007 echo "$as_me: failed program was:" >&5
7008 sed 's/^/| /' conftest.$ac_ext >&5
7010 ac_cv_member_struct_stat_st_blocks=no
7012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7016 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
7017 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
7018 if test $ac_cv_member_struct_stat_st_blocks = yes; then
7020 cat >>confdefs.h <<_ACEOF
7021 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
7027 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
7028 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
7029 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
7030 echo $ECHO_N "(cached) $ECHO_C" >&6
7032 cat >conftest.$ac_ext <<_ACEOF
7035 cat confdefs.h >>conftest.$ac_ext
7036 cat >>conftest.$ac_ext <<_ACEOF
7037 /* end confdefs.h. */
7038 $ac_includes_default
7042 static struct stat ac_aggr;
7043 if (ac_aggr.st_rdev)
7049 rm -f conftest.$ac_objext
7050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7051 (eval $ac_compile) 2>conftest.er1
7053 grep -v '^ *+' conftest.er1 >conftest.err
7055 cat conftest.err >&5
7056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7057 (exit $ac_status); } &&
7058 { ac_try='test -z "$ac_c_werror_flag"
7059 || test ! -s conftest.err'
7060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7064 (exit $ac_status); }; } &&
7065 { ac_try='test -s conftest.$ac_objext'
7066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7070 (exit $ac_status); }; }; then
7071 ac_cv_member_struct_stat_st_rdev=yes
7073 echo "$as_me: failed program was:" >&5
7074 sed 's/^/| /' conftest.$ac_ext >&5
7076 cat >conftest.$ac_ext <<_ACEOF
7079 cat confdefs.h >>conftest.$ac_ext
7080 cat >>conftest.$ac_ext <<_ACEOF
7081 /* end confdefs.h. */
7082 $ac_includes_default
7086 static struct stat ac_aggr;
7087 if (sizeof ac_aggr.st_rdev)
7093 rm -f conftest.$ac_objext
7094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7095 (eval $ac_compile) 2>conftest.er1
7097 grep -v '^ *+' conftest.er1 >conftest.err
7099 cat conftest.err >&5
7100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7101 (exit $ac_status); } &&
7102 { ac_try='test -z "$ac_c_werror_flag"
7103 || test ! -s conftest.err'
7104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7108 (exit $ac_status); }; } &&
7109 { ac_try='test -s conftest.$ac_objext'
7110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7114 (exit $ac_status); }; }; then
7115 ac_cv_member_struct_stat_st_rdev=yes
7117 echo "$as_me: failed program was:" >&5
7118 sed 's/^/| /' conftest.$ac_ext >&5
7120 ac_cv_member_struct_stat_st_rdev=no
7122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7126 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
7127 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
7128 if test $ac_cv_member_struct_stat_st_rdev = yes; then
7130 cat >>confdefs.h <<_ACEOF
7131 #define HAVE_STRUCT_STAT_ST_RDEV 1
7138 # Check for complex math functions
7139 echo "$as_me:$LINENO: checking for csin in -lm" >&5
7140 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
7141 if test "${ac_cv_lib_m_csin+set}" = set; then
7142 echo $ECHO_N "(cached) $ECHO_C" >&6
7144 ac_check_lib_save_LIBS=$LIBS
7146 if test x$gcc_no_link = xyes; then
7147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7149 { (exit 1); exit 1; }; }
7151 cat >conftest.$ac_ext <<_ACEOF
7154 cat confdefs.h >>conftest.$ac_ext
7155 cat >>conftest.$ac_ext <<_ACEOF
7156 /* end confdefs.h. */
7158 /* Override any gcc2 internal prototype to avoid an error. */
7162 /* We use char because int might match the return type of a gcc2
7163 builtin and then its argument prototype would still apply. */
7173 rm -f conftest.$ac_objext conftest$ac_exeext
7174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7175 (eval $ac_link) 2>conftest.er1
7177 grep -v '^ *+' conftest.er1 >conftest.err
7179 cat conftest.err >&5
7180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7181 (exit $ac_status); } &&
7182 { ac_try='test -z "$ac_c_werror_flag"
7183 || test ! -s conftest.err'
7184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188 (exit $ac_status); }; } &&
7189 { ac_try='test -s conftest$ac_exeext'
7190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7194 (exit $ac_status); }; }; then
7195 ac_cv_lib_m_csin=yes
7197 echo "$as_me: failed program was:" >&5
7198 sed 's/^/| /' conftest.$ac_ext >&5
7202 rm -f conftest.err conftest.$ac_objext \
7203 conftest$ac_exeext conftest.$ac_ext
7204 LIBS=$ac_check_lib_save_LIBS
7206 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
7207 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
7208 if test $ac_cv_lib_m_csin = yes; then
7215 # Check for library functions.
7223 for ac_func in getrusage times mkstemp strtof snprintf ftruncate chsize
7225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7226 echo "$as_me:$LINENO: checking for $ac_func" >&5
7227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7228 if eval "test \"\${$as_ac_var+set}\" = set"; then
7229 echo $ECHO_N "(cached) $ECHO_C" >&6
7231 if test x$gcc_no_link = xyes; then
7232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7234 { (exit 1); exit 1; }; }
7236 cat >conftest.$ac_ext <<_ACEOF
7239 cat confdefs.h >>conftest.$ac_ext
7240 cat >>conftest.$ac_ext <<_ACEOF
7241 /* end confdefs.h. */
7242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7244 #define $ac_func innocuous_$ac_func
7246 /* System header to define __stub macros and hopefully few prototypes,
7247 which can conflict with char $ac_func (); below.
7248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7249 <limits.h> exists even on freestanding compilers. */
7252 # include <limits.h>
7254 # include <assert.h>
7259 /* Override any gcc2 internal prototype to avoid an error. */
7264 /* We use char because int might match the return type of a gcc2
7265 builtin and then its argument prototype would still apply. */
7267 /* The GNU C library defines this for functions which it implements
7268 to always fail with ENOSYS. Some functions are actually named
7269 something starting with __ and the normal name is an alias. */
7270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7273 char (*f) () = $ac_func;
7282 return f != $ac_func;
7287 rm -f conftest.$ac_objext conftest$ac_exeext
7288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7289 (eval $ac_link) 2>conftest.er1
7291 grep -v '^ *+' conftest.er1 >conftest.err
7293 cat conftest.err >&5
7294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7295 (exit $ac_status); } &&
7296 { ac_try='test -z "$ac_c_werror_flag"
7297 || test ! -s conftest.err'
7298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7302 (exit $ac_status); }; } &&
7303 { ac_try='test -s conftest$ac_exeext'
7304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7308 (exit $ac_status); }; }; then
7309 eval "$as_ac_var=yes"
7311 echo "$as_me: failed program was:" >&5
7312 sed 's/^/| /' conftest.$ac_ext >&5
7314 eval "$as_ac_var=no"
7316 rm -f conftest.err conftest.$ac_objext \
7317 conftest$ac_exeext conftest.$ac_ext
7319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7321 if test `eval echo '${'$as_ac_var'}'` = yes; then
7322 cat >>confdefs.h <<_ACEOF
7323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7337 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
7339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7340 echo "$as_me:$LINENO: checking for $ac_func" >&5
7341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7342 if eval "test \"\${$as_ac_var+set}\" = set"; then
7343 echo $ECHO_N "(cached) $ECHO_C" >&6
7345 if test x$gcc_no_link = xyes; then
7346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7348 { (exit 1); exit 1; }; }
7350 cat >conftest.$ac_ext <<_ACEOF
7353 cat confdefs.h >>conftest.$ac_ext
7354 cat >>conftest.$ac_ext <<_ACEOF
7355 /* end confdefs.h. */
7356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7358 #define $ac_func innocuous_$ac_func
7360 /* System header to define __stub macros and hopefully few prototypes,
7361 which can conflict with char $ac_func (); below.
7362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7363 <limits.h> exists even on freestanding compilers. */
7366 # include <limits.h>
7368 # include <assert.h>
7373 /* Override any gcc2 internal prototype to avoid an error. */
7378 /* We use char because int might match the return type of a gcc2
7379 builtin and then its argument prototype would still apply. */
7381 /* The GNU C library defines this for functions which it implements
7382 to always fail with ENOSYS. Some functions are actually named
7383 something starting with __ and the normal name is an alias. */
7384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7387 char (*f) () = $ac_func;
7396 return f != $ac_func;
7401 rm -f conftest.$ac_objext conftest$ac_exeext
7402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7403 (eval $ac_link) 2>conftest.er1
7405 grep -v '^ *+' conftest.er1 >conftest.err
7407 cat conftest.err >&5
7408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7409 (exit $ac_status); } &&
7410 { ac_try='test -z "$ac_c_werror_flag"
7411 || test ! -s conftest.err'
7412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7416 (exit $ac_status); }; } &&
7417 { ac_try='test -s conftest$ac_exeext'
7418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7422 (exit $ac_status); }; }; then
7423 eval "$as_ac_var=yes"
7425 echo "$as_me: failed program was:" >&5
7426 sed 's/^/| /' conftest.$ac_ext >&5
7428 eval "$as_ac_var=no"
7430 rm -f conftest.err conftest.$ac_objext \
7431 conftest$ac_exeext conftest.$ac_ext
7433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7435 if test `eval echo '${'$as_ac_var'}'` = yes; then
7436 cat >>confdefs.h <<_ACEOF
7437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7445 for ac_func in sleep time
7447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7448 echo "$as_me:$LINENO: checking for $ac_func" >&5
7449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7450 if eval "test \"\${$as_ac_var+set}\" = set"; then
7451 echo $ECHO_N "(cached) $ECHO_C" >&6
7453 if test x$gcc_no_link = xyes; then
7454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7456 { (exit 1); exit 1; }; }
7458 cat >conftest.$ac_ext <<_ACEOF
7461 cat confdefs.h >>conftest.$ac_ext
7462 cat >>conftest.$ac_ext <<_ACEOF
7463 /* end confdefs.h. */
7464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7466 #define $ac_func innocuous_$ac_func
7468 /* System header to define __stub macros and hopefully few prototypes,
7469 which can conflict with char $ac_func (); below.
7470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7471 <limits.h> exists even on freestanding compilers. */
7474 # include <limits.h>
7476 # include <assert.h>
7481 /* Override any gcc2 internal prototype to avoid an error. */
7486 /* We use char because int might match the return type of a gcc2
7487 builtin and then its argument prototype would still apply. */
7489 /* The GNU C library defines this for functions which it implements
7490 to always fail with ENOSYS. Some functions are actually named
7491 something starting with __ and the normal name is an alias. */
7492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7495 char (*f) () = $ac_func;
7504 return f != $ac_func;
7509 rm -f conftest.$ac_objext conftest$ac_exeext
7510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7511 (eval $ac_link) 2>conftest.er1
7513 grep -v '^ *+' conftest.er1 >conftest.err
7515 cat conftest.err >&5
7516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7517 (exit $ac_status); } &&
7518 { ac_try='test -z "$ac_c_werror_flag"
7519 || test ! -s conftest.err'
7520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7524 (exit $ac_status); }; } &&
7525 { ac_try='test -s conftest$ac_exeext'
7526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7530 (exit $ac_status); }; }; then
7531 eval "$as_ac_var=yes"
7533 echo "$as_me: failed program was:" >&5
7534 sed 's/^/| /' conftest.$ac_ext >&5
7536 eval "$as_ac_var=no"
7538 rm -f conftest.err conftest.$ac_objext \
7539 conftest$ac_exeext conftest.$ac_ext
7541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7543 if test `eval echo '${'$as_ac_var'}'` = yes; then
7544 cat >>confdefs.h <<_ACEOF
7545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7552 # Check libc for getgid, getpid, getuid
7553 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
7554 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
7555 if test "${ac_cv_lib_c_getgid+set}" = set; then
7556 echo $ECHO_N "(cached) $ECHO_C" >&6
7558 ac_check_lib_save_LIBS=$LIBS
7560 if test x$gcc_no_link = xyes; then
7561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7563 { (exit 1); exit 1; }; }
7565 cat >conftest.$ac_ext <<_ACEOF
7568 cat confdefs.h >>conftest.$ac_ext
7569 cat >>conftest.$ac_ext <<_ACEOF
7570 /* end confdefs.h. */
7572 /* Override any gcc2 internal prototype to avoid an error. */
7576 /* We use char because int might match the return type of a gcc2
7577 builtin and then its argument prototype would still apply. */
7587 rm -f conftest.$ac_objext conftest$ac_exeext
7588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7589 (eval $ac_link) 2>conftest.er1
7591 grep -v '^ *+' conftest.er1 >conftest.err
7593 cat conftest.err >&5
7594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7595 (exit $ac_status); } &&
7596 { ac_try='test -z "$ac_c_werror_flag"
7597 || test ! -s conftest.err'
7598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7602 (exit $ac_status); }; } &&
7603 { ac_try='test -s conftest$ac_exeext'
7604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7608 (exit $ac_status); }; }; then
7609 ac_cv_lib_c_getgid=yes
7611 echo "$as_me: failed program was:" >&5
7612 sed 's/^/| /' conftest.$ac_ext >&5
7614 ac_cv_lib_c_getgid=no
7616 rm -f conftest.err conftest.$ac_objext \
7617 conftest$ac_exeext conftest.$ac_ext
7618 LIBS=$ac_check_lib_save_LIBS
7620 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
7621 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
7622 if test $ac_cv_lib_c_getgid = yes; then
7624 cat >>confdefs.h <<\_ACEOF
7625 #define HAVE_GETGID 1
7630 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
7631 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
7632 if test "${ac_cv_lib_c_getpid+set}" = set; then
7633 echo $ECHO_N "(cached) $ECHO_C" >&6
7635 ac_check_lib_save_LIBS=$LIBS
7637 if test x$gcc_no_link = xyes; then
7638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7640 { (exit 1); exit 1; }; }
7642 cat >conftest.$ac_ext <<_ACEOF
7645 cat confdefs.h >>conftest.$ac_ext
7646 cat >>conftest.$ac_ext <<_ACEOF
7647 /* end confdefs.h. */
7649 /* Override any gcc2 internal prototype to avoid an error. */
7653 /* We use char because int might match the return type of a gcc2
7654 builtin and then its argument prototype would still apply. */
7664 rm -f conftest.$ac_objext conftest$ac_exeext
7665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7666 (eval $ac_link) 2>conftest.er1
7668 grep -v '^ *+' conftest.er1 >conftest.err
7670 cat conftest.err >&5
7671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7672 (exit $ac_status); } &&
7673 { ac_try='test -z "$ac_c_werror_flag"
7674 || test ! -s conftest.err'
7675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7679 (exit $ac_status); }; } &&
7680 { ac_try='test -s conftest$ac_exeext'
7681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7685 (exit $ac_status); }; }; then
7686 ac_cv_lib_c_getpid=yes
7688 echo "$as_me: failed program was:" >&5
7689 sed 's/^/| /' conftest.$ac_ext >&5
7691 ac_cv_lib_c_getpid=no
7693 rm -f conftest.err conftest.$ac_objext \
7694 conftest$ac_exeext conftest.$ac_ext
7695 LIBS=$ac_check_lib_save_LIBS
7697 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
7698 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
7699 if test $ac_cv_lib_c_getpid = yes; then
7701 cat >>confdefs.h <<\_ACEOF
7702 #define HAVE_GETPID 1
7707 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
7708 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
7709 if test "${ac_cv_lib_c_getuid+set}" = set; then
7710 echo $ECHO_N "(cached) $ECHO_C" >&6
7712 ac_check_lib_save_LIBS=$LIBS
7714 if test x$gcc_no_link = xyes; then
7715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7717 { (exit 1); exit 1; }; }
7719 cat >conftest.$ac_ext <<_ACEOF
7722 cat confdefs.h >>conftest.$ac_ext
7723 cat >>conftest.$ac_ext <<_ACEOF
7724 /* end confdefs.h. */
7726 /* Override any gcc2 internal prototype to avoid an error. */
7730 /* We use char because int might match the return type of a gcc2
7731 builtin and then its argument prototype would still apply. */
7741 rm -f conftest.$ac_objext conftest$ac_exeext
7742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7743 (eval $ac_link) 2>conftest.er1
7745 grep -v '^ *+' conftest.er1 >conftest.err
7747 cat conftest.err >&5
7748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7749 (exit $ac_status); } &&
7750 { ac_try='test -z "$ac_c_werror_flag"
7751 || test ! -s conftest.err'
7752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7756 (exit $ac_status); }; } &&
7757 { ac_try='test -s conftest$ac_exeext'
7758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7762 (exit $ac_status); }; }; then
7763 ac_cv_lib_c_getuid=yes
7765 echo "$as_me: failed program was:" >&5
7766 sed 's/^/| /' conftest.$ac_ext >&5
7768 ac_cv_lib_c_getuid=no
7770 rm -f conftest.err conftest.$ac_objext \
7771 conftest$ac_exeext conftest.$ac_ext
7772 LIBS=$ac_check_lib_save_LIBS
7774 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
7775 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
7776 if test $ac_cv_lib_c_getuid = yes; then
7778 cat >>confdefs.h <<\_ACEOF
7779 #define HAVE_GETUID 1
7785 # Check for C99 (and other IEEE) math functions
7786 # ??? This list seems awful long. Is there a better way to test for these?
7787 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
7788 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
7789 if test "${ac_cv_lib_m_acosf+set}" = set; then
7790 echo $ECHO_N "(cached) $ECHO_C" >&6
7792 ac_check_lib_save_LIBS=$LIBS
7794 if test x$gcc_no_link = xyes; then
7795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7797 { (exit 1); exit 1; }; }
7799 cat >conftest.$ac_ext <<_ACEOF
7802 cat confdefs.h >>conftest.$ac_ext
7803 cat >>conftest.$ac_ext <<_ACEOF
7804 /* end confdefs.h. */
7806 /* Override any gcc2 internal prototype to avoid an error. */
7810 /* We use char because int might match the return type of a gcc2
7811 builtin and then its argument prototype would still apply. */
7821 rm -f conftest.$ac_objext conftest$ac_exeext
7822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7823 (eval $ac_link) 2>conftest.er1
7825 grep -v '^ *+' conftest.er1 >conftest.err
7827 cat conftest.err >&5
7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7829 (exit $ac_status); } &&
7830 { ac_try='test -z "$ac_c_werror_flag"
7831 || test ! -s conftest.err'
7832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7836 (exit $ac_status); }; } &&
7837 { ac_try='test -s conftest$ac_exeext'
7838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7842 (exit $ac_status); }; }; then
7843 ac_cv_lib_m_acosf=yes
7845 echo "$as_me: failed program was:" >&5
7846 sed 's/^/| /' conftest.$ac_ext >&5
7848 ac_cv_lib_m_acosf=no
7850 rm -f conftest.err conftest.$ac_objext \
7851 conftest$ac_exeext conftest.$ac_ext
7852 LIBS=$ac_check_lib_save_LIBS
7854 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
7855 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
7856 if test $ac_cv_lib_m_acosf = yes; then
7858 cat >>confdefs.h <<\_ACEOF
7859 #define HAVE_ACOSF 1
7864 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
7865 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
7866 if test "${ac_cv_lib_m_asinf+set}" = set; then
7867 echo $ECHO_N "(cached) $ECHO_C" >&6
7869 ac_check_lib_save_LIBS=$LIBS
7871 if test x$gcc_no_link = xyes; then
7872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7874 { (exit 1); exit 1; }; }
7876 cat >conftest.$ac_ext <<_ACEOF
7879 cat confdefs.h >>conftest.$ac_ext
7880 cat >>conftest.$ac_ext <<_ACEOF
7881 /* end confdefs.h. */
7883 /* Override any gcc2 internal prototype to avoid an error. */
7887 /* We use char because int might match the return type of a gcc2
7888 builtin and then its argument prototype would still apply. */
7898 rm -f conftest.$ac_objext conftest$ac_exeext
7899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7900 (eval $ac_link) 2>conftest.er1
7902 grep -v '^ *+' conftest.er1 >conftest.err
7904 cat conftest.err >&5
7905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7906 (exit $ac_status); } &&
7907 { ac_try='test -z "$ac_c_werror_flag"
7908 || test ! -s conftest.err'
7909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7913 (exit $ac_status); }; } &&
7914 { ac_try='test -s conftest$ac_exeext'
7915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7919 (exit $ac_status); }; }; then
7920 ac_cv_lib_m_asinf=yes
7922 echo "$as_me: failed program was:" >&5
7923 sed 's/^/| /' conftest.$ac_ext >&5
7925 ac_cv_lib_m_asinf=no
7927 rm -f conftest.err conftest.$ac_objext \
7928 conftest$ac_exeext conftest.$ac_ext
7929 LIBS=$ac_check_lib_save_LIBS
7931 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
7932 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
7933 if test $ac_cv_lib_m_asinf = yes; then
7935 cat >>confdefs.h <<\_ACEOF
7936 #define HAVE_ASINF 1
7941 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
7942 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
7943 if test "${ac_cv_lib_m_atan2f+set}" = set; then
7944 echo $ECHO_N "(cached) $ECHO_C" >&6
7946 ac_check_lib_save_LIBS=$LIBS
7948 if test x$gcc_no_link = xyes; then
7949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7951 { (exit 1); exit 1; }; }
7953 cat >conftest.$ac_ext <<_ACEOF
7956 cat confdefs.h >>conftest.$ac_ext
7957 cat >>conftest.$ac_ext <<_ACEOF
7958 /* end confdefs.h. */
7960 /* Override any gcc2 internal prototype to avoid an error. */
7964 /* We use char because int might match the return type of a gcc2
7965 builtin and then its argument prototype would still apply. */
7975 rm -f conftest.$ac_objext conftest$ac_exeext
7976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7977 (eval $ac_link) 2>conftest.er1
7979 grep -v '^ *+' conftest.er1 >conftest.err
7981 cat conftest.err >&5
7982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7983 (exit $ac_status); } &&
7984 { ac_try='test -z "$ac_c_werror_flag"
7985 || test ! -s conftest.err'
7986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7990 (exit $ac_status); }; } &&
7991 { ac_try='test -s conftest$ac_exeext'
7992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7996 (exit $ac_status); }; }; then
7997 ac_cv_lib_m_atan2f=yes
7999 echo "$as_me: failed program was:" >&5
8000 sed 's/^/| /' conftest.$ac_ext >&5
8002 ac_cv_lib_m_atan2f=no
8004 rm -f conftest.err conftest.$ac_objext \
8005 conftest$ac_exeext conftest.$ac_ext
8006 LIBS=$ac_check_lib_save_LIBS
8008 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
8009 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
8010 if test $ac_cv_lib_m_atan2f = yes; then
8012 cat >>confdefs.h <<\_ACEOF
8013 #define HAVE_ATAN2F 1
8018 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
8019 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
8020 if test "${ac_cv_lib_m_atanf+set}" = set; then
8021 echo $ECHO_N "(cached) $ECHO_C" >&6
8023 ac_check_lib_save_LIBS=$LIBS
8025 if test x$gcc_no_link = xyes; then
8026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8028 { (exit 1); exit 1; }; }
8030 cat >conftest.$ac_ext <<_ACEOF
8033 cat confdefs.h >>conftest.$ac_ext
8034 cat >>conftest.$ac_ext <<_ACEOF
8035 /* end confdefs.h. */
8037 /* Override any gcc2 internal prototype to avoid an error. */
8041 /* We use char because int might match the return type of a gcc2
8042 builtin and then its argument prototype would still apply. */
8052 rm -f conftest.$ac_objext conftest$ac_exeext
8053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8054 (eval $ac_link) 2>conftest.er1
8056 grep -v '^ *+' conftest.er1 >conftest.err
8058 cat conftest.err >&5
8059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8060 (exit $ac_status); } &&
8061 { ac_try='test -z "$ac_c_werror_flag"
8062 || test ! -s conftest.err'
8063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8067 (exit $ac_status); }; } &&
8068 { ac_try='test -s conftest$ac_exeext'
8069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8073 (exit $ac_status); }; }; then
8074 ac_cv_lib_m_atanf=yes
8076 echo "$as_me: failed program was:" >&5
8077 sed 's/^/| /' conftest.$ac_ext >&5
8079 ac_cv_lib_m_atanf=no
8081 rm -f conftest.err conftest.$ac_objext \
8082 conftest$ac_exeext conftest.$ac_ext
8083 LIBS=$ac_check_lib_save_LIBS
8085 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
8086 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
8087 if test $ac_cv_lib_m_atanf = yes; then
8089 cat >>confdefs.h <<\_ACEOF
8090 #define HAVE_ATANF 1
8095 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
8096 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
8097 if test "${ac_cv_lib_m_ceilf+set}" = set; then
8098 echo $ECHO_N "(cached) $ECHO_C" >&6
8100 ac_check_lib_save_LIBS=$LIBS
8102 if test x$gcc_no_link = xyes; then
8103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8105 { (exit 1); exit 1; }; }
8107 cat >conftest.$ac_ext <<_ACEOF
8110 cat confdefs.h >>conftest.$ac_ext
8111 cat >>conftest.$ac_ext <<_ACEOF
8112 /* end confdefs.h. */
8114 /* Override any gcc2 internal prototype to avoid an error. */
8118 /* We use char because int might match the return type of a gcc2
8119 builtin and then its argument prototype would still apply. */
8129 rm -f conftest.$ac_objext conftest$ac_exeext
8130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8131 (eval $ac_link) 2>conftest.er1
8133 grep -v '^ *+' conftest.er1 >conftest.err
8135 cat conftest.err >&5
8136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8137 (exit $ac_status); } &&
8138 { ac_try='test -z "$ac_c_werror_flag"
8139 || test ! -s conftest.err'
8140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8144 (exit $ac_status); }; } &&
8145 { ac_try='test -s conftest$ac_exeext'
8146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8150 (exit $ac_status); }; }; then
8151 ac_cv_lib_m_ceilf=yes
8153 echo "$as_me: failed program was:" >&5
8154 sed 's/^/| /' conftest.$ac_ext >&5
8156 ac_cv_lib_m_ceilf=no
8158 rm -f conftest.err conftest.$ac_objext \
8159 conftest$ac_exeext conftest.$ac_ext
8160 LIBS=$ac_check_lib_save_LIBS
8162 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
8163 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
8164 if test $ac_cv_lib_m_ceilf = yes; then
8166 cat >>confdefs.h <<\_ACEOF
8167 #define HAVE_CEILF 1
8172 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
8173 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
8174 if test "${ac_cv_lib_m_copysignf+set}" = set; then
8175 echo $ECHO_N "(cached) $ECHO_C" >&6
8177 ac_check_lib_save_LIBS=$LIBS
8179 if test x$gcc_no_link = xyes; then
8180 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8182 { (exit 1); exit 1; }; }
8184 cat >conftest.$ac_ext <<_ACEOF
8187 cat confdefs.h >>conftest.$ac_ext
8188 cat >>conftest.$ac_ext <<_ACEOF
8189 /* end confdefs.h. */
8191 /* Override any gcc2 internal prototype to avoid an error. */
8195 /* We use char because int might match the return type of a gcc2
8196 builtin and then its argument prototype would still apply. */
8206 rm -f conftest.$ac_objext conftest$ac_exeext
8207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8208 (eval $ac_link) 2>conftest.er1
8210 grep -v '^ *+' conftest.er1 >conftest.err
8212 cat conftest.err >&5
8213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8214 (exit $ac_status); } &&
8215 { ac_try='test -z "$ac_c_werror_flag"
8216 || test ! -s conftest.err'
8217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8221 (exit $ac_status); }; } &&
8222 { ac_try='test -s conftest$ac_exeext'
8223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8227 (exit $ac_status); }; }; then
8228 ac_cv_lib_m_copysignf=yes
8230 echo "$as_me: failed program was:" >&5
8231 sed 's/^/| /' conftest.$ac_ext >&5
8233 ac_cv_lib_m_copysignf=no
8235 rm -f conftest.err conftest.$ac_objext \
8236 conftest$ac_exeext conftest.$ac_ext
8237 LIBS=$ac_check_lib_save_LIBS
8239 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
8240 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
8241 if test $ac_cv_lib_m_copysignf = yes; then
8243 cat >>confdefs.h <<\_ACEOF
8244 #define HAVE_COPYSIGNF 1
8249 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
8250 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
8251 if test "${ac_cv_lib_m_cosf+set}" = set; then
8252 echo $ECHO_N "(cached) $ECHO_C" >&6
8254 ac_check_lib_save_LIBS=$LIBS
8256 if test x$gcc_no_link = xyes; then
8257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8259 { (exit 1); exit 1; }; }
8261 cat >conftest.$ac_ext <<_ACEOF
8264 cat confdefs.h >>conftest.$ac_ext
8265 cat >>conftest.$ac_ext <<_ACEOF
8266 /* end confdefs.h. */
8268 /* Override any gcc2 internal prototype to avoid an error. */
8272 /* We use char because int might match the return type of a gcc2
8273 builtin and then its argument prototype would still apply. */
8283 rm -f conftest.$ac_objext conftest$ac_exeext
8284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8285 (eval $ac_link) 2>conftest.er1
8287 grep -v '^ *+' conftest.er1 >conftest.err
8289 cat conftest.err >&5
8290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8291 (exit $ac_status); } &&
8292 { ac_try='test -z "$ac_c_werror_flag"
8293 || test ! -s conftest.err'
8294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8298 (exit $ac_status); }; } &&
8299 { ac_try='test -s conftest$ac_exeext'
8300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8304 (exit $ac_status); }; }; then
8305 ac_cv_lib_m_cosf=yes
8307 echo "$as_me: failed program was:" >&5
8308 sed 's/^/| /' conftest.$ac_ext >&5
8312 rm -f conftest.err conftest.$ac_objext \
8313 conftest$ac_exeext conftest.$ac_ext
8314 LIBS=$ac_check_lib_save_LIBS
8316 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
8317 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
8318 if test $ac_cv_lib_m_cosf = yes; then
8320 cat >>confdefs.h <<\_ACEOF
8326 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
8327 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
8328 if test "${ac_cv_lib_m_coshf+set}" = set; then
8329 echo $ECHO_N "(cached) $ECHO_C" >&6
8331 ac_check_lib_save_LIBS=$LIBS
8333 if test x$gcc_no_link = xyes; then
8334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8336 { (exit 1); exit 1; }; }
8338 cat >conftest.$ac_ext <<_ACEOF
8341 cat confdefs.h >>conftest.$ac_ext
8342 cat >>conftest.$ac_ext <<_ACEOF
8343 /* end confdefs.h. */
8345 /* Override any gcc2 internal prototype to avoid an error. */
8349 /* We use char because int might match the return type of a gcc2
8350 builtin and then its argument prototype would still apply. */
8360 rm -f conftest.$ac_objext conftest$ac_exeext
8361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8362 (eval $ac_link) 2>conftest.er1
8364 grep -v '^ *+' conftest.er1 >conftest.err
8366 cat conftest.err >&5
8367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8368 (exit $ac_status); } &&
8369 { ac_try='test -z "$ac_c_werror_flag"
8370 || test ! -s conftest.err'
8371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8375 (exit $ac_status); }; } &&
8376 { ac_try='test -s conftest$ac_exeext'
8377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8381 (exit $ac_status); }; }; then
8382 ac_cv_lib_m_coshf=yes
8384 echo "$as_me: failed program was:" >&5
8385 sed 's/^/| /' conftest.$ac_ext >&5
8387 ac_cv_lib_m_coshf=no
8389 rm -f conftest.err conftest.$ac_objext \
8390 conftest$ac_exeext conftest.$ac_ext
8391 LIBS=$ac_check_lib_save_LIBS
8393 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
8394 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
8395 if test $ac_cv_lib_m_coshf = yes; then
8397 cat >>confdefs.h <<\_ACEOF
8398 #define HAVE_COSHF 1
8403 echo "$as_me:$LINENO: checking for expf in -lm" >&5
8404 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
8405 if test "${ac_cv_lib_m_expf+set}" = set; then
8406 echo $ECHO_N "(cached) $ECHO_C" >&6
8408 ac_check_lib_save_LIBS=$LIBS
8410 if test x$gcc_no_link = xyes; then
8411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8413 { (exit 1); exit 1; }; }
8415 cat >conftest.$ac_ext <<_ACEOF
8418 cat confdefs.h >>conftest.$ac_ext
8419 cat >>conftest.$ac_ext <<_ACEOF
8420 /* end confdefs.h. */
8422 /* Override any gcc2 internal prototype to avoid an error. */
8426 /* We use char because int might match the return type of a gcc2
8427 builtin and then its argument prototype would still apply. */
8437 rm -f conftest.$ac_objext conftest$ac_exeext
8438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8439 (eval $ac_link) 2>conftest.er1
8441 grep -v '^ *+' conftest.er1 >conftest.err
8443 cat conftest.err >&5
8444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8445 (exit $ac_status); } &&
8446 { ac_try='test -z "$ac_c_werror_flag"
8447 || test ! -s conftest.err'
8448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8452 (exit $ac_status); }; } &&
8453 { ac_try='test -s conftest$ac_exeext'
8454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8458 (exit $ac_status); }; }; then
8459 ac_cv_lib_m_expf=yes
8461 echo "$as_me: failed program was:" >&5
8462 sed 's/^/| /' conftest.$ac_ext >&5
8466 rm -f conftest.err conftest.$ac_objext \
8467 conftest$ac_exeext conftest.$ac_ext
8468 LIBS=$ac_check_lib_save_LIBS
8470 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
8471 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
8472 if test $ac_cv_lib_m_expf = yes; then
8474 cat >>confdefs.h <<\_ACEOF
8480 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
8481 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
8482 if test "${ac_cv_lib_m_fabsf+set}" = set; then
8483 echo $ECHO_N "(cached) $ECHO_C" >&6
8485 ac_check_lib_save_LIBS=$LIBS
8487 if test x$gcc_no_link = xyes; then
8488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8490 { (exit 1); exit 1; }; }
8492 cat >conftest.$ac_ext <<_ACEOF
8495 cat confdefs.h >>conftest.$ac_ext
8496 cat >>conftest.$ac_ext <<_ACEOF
8497 /* end confdefs.h. */
8499 /* Override any gcc2 internal prototype to avoid an error. */
8503 /* We use char because int might match the return type of a gcc2
8504 builtin and then its argument prototype would still apply. */
8514 rm -f conftest.$ac_objext conftest$ac_exeext
8515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8516 (eval $ac_link) 2>conftest.er1
8518 grep -v '^ *+' conftest.er1 >conftest.err
8520 cat conftest.err >&5
8521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8522 (exit $ac_status); } &&
8523 { ac_try='test -z "$ac_c_werror_flag"
8524 || test ! -s conftest.err'
8525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8529 (exit $ac_status); }; } &&
8530 { ac_try='test -s conftest$ac_exeext'
8531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8535 (exit $ac_status); }; }; then
8536 ac_cv_lib_m_fabsf=yes
8538 echo "$as_me: failed program was:" >&5
8539 sed 's/^/| /' conftest.$ac_ext >&5
8541 ac_cv_lib_m_fabsf=no
8543 rm -f conftest.err conftest.$ac_objext \
8544 conftest$ac_exeext conftest.$ac_ext
8545 LIBS=$ac_check_lib_save_LIBS
8547 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
8548 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
8549 if test $ac_cv_lib_m_fabsf = yes; then
8551 cat >>confdefs.h <<\_ACEOF
8552 #define HAVE_FABSF 1
8557 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
8558 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
8559 if test "${ac_cv_lib_m_floorf+set}" = set; then
8560 echo $ECHO_N "(cached) $ECHO_C" >&6
8562 ac_check_lib_save_LIBS=$LIBS
8564 if test x$gcc_no_link = xyes; then
8565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8567 { (exit 1); exit 1; }; }
8569 cat >conftest.$ac_ext <<_ACEOF
8572 cat confdefs.h >>conftest.$ac_ext
8573 cat >>conftest.$ac_ext <<_ACEOF
8574 /* end confdefs.h. */
8576 /* Override any gcc2 internal prototype to avoid an error. */
8580 /* We use char because int might match the return type of a gcc2
8581 builtin and then its argument prototype would still apply. */
8591 rm -f conftest.$ac_objext conftest$ac_exeext
8592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8593 (eval $ac_link) 2>conftest.er1
8595 grep -v '^ *+' conftest.er1 >conftest.err
8597 cat conftest.err >&5
8598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8599 (exit $ac_status); } &&
8600 { ac_try='test -z "$ac_c_werror_flag"
8601 || test ! -s conftest.err'
8602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8606 (exit $ac_status); }; } &&
8607 { ac_try='test -s conftest$ac_exeext'
8608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612 (exit $ac_status); }; }; then
8613 ac_cv_lib_m_floorf=yes
8615 echo "$as_me: failed program was:" >&5
8616 sed 's/^/| /' conftest.$ac_ext >&5
8618 ac_cv_lib_m_floorf=no
8620 rm -f conftest.err conftest.$ac_objext \
8621 conftest$ac_exeext conftest.$ac_ext
8622 LIBS=$ac_check_lib_save_LIBS
8624 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
8625 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
8626 if test $ac_cv_lib_m_floorf = yes; then
8628 cat >>confdefs.h <<\_ACEOF
8629 #define HAVE_FLOORF 1
8634 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
8635 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
8636 if test "${ac_cv_lib_m_frexpf+set}" = set; then
8637 echo $ECHO_N "(cached) $ECHO_C" >&6
8639 ac_check_lib_save_LIBS=$LIBS
8641 if test x$gcc_no_link = xyes; then
8642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8644 { (exit 1); exit 1; }; }
8646 cat >conftest.$ac_ext <<_ACEOF
8649 cat confdefs.h >>conftest.$ac_ext
8650 cat >>conftest.$ac_ext <<_ACEOF
8651 /* end confdefs.h. */
8653 /* Override any gcc2 internal prototype to avoid an error. */
8657 /* We use char because int might match the return type of a gcc2
8658 builtin and then its argument prototype would still apply. */
8668 rm -f conftest.$ac_objext conftest$ac_exeext
8669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8670 (eval $ac_link) 2>conftest.er1
8672 grep -v '^ *+' conftest.er1 >conftest.err
8674 cat conftest.err >&5
8675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676 (exit $ac_status); } &&
8677 { ac_try='test -z "$ac_c_werror_flag"
8678 || test ! -s conftest.err'
8679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8683 (exit $ac_status); }; } &&
8684 { ac_try='test -s conftest$ac_exeext'
8685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8689 (exit $ac_status); }; }; then
8690 ac_cv_lib_m_frexpf=yes
8692 echo "$as_me: failed program was:" >&5
8693 sed 's/^/| /' conftest.$ac_ext >&5
8695 ac_cv_lib_m_frexpf=no
8697 rm -f conftest.err conftest.$ac_objext \
8698 conftest$ac_exeext conftest.$ac_ext
8699 LIBS=$ac_check_lib_save_LIBS
8701 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
8702 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
8703 if test $ac_cv_lib_m_frexpf = yes; then
8705 cat >>confdefs.h <<\_ACEOF
8706 #define HAVE_FREXPF 1
8711 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
8712 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
8713 if test "${ac_cv_lib_m_hypotf+set}" = set; then
8714 echo $ECHO_N "(cached) $ECHO_C" >&6
8716 ac_check_lib_save_LIBS=$LIBS
8718 if test x$gcc_no_link = xyes; then
8719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8721 { (exit 1); exit 1; }; }
8723 cat >conftest.$ac_ext <<_ACEOF
8726 cat confdefs.h >>conftest.$ac_ext
8727 cat >>conftest.$ac_ext <<_ACEOF
8728 /* end confdefs.h. */
8730 /* Override any gcc2 internal prototype to avoid an error. */
8734 /* We use char because int might match the return type of a gcc2
8735 builtin and then its argument prototype would still apply. */
8745 rm -f conftest.$ac_objext conftest$ac_exeext
8746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8747 (eval $ac_link) 2>conftest.er1
8749 grep -v '^ *+' conftest.er1 >conftest.err
8751 cat conftest.err >&5
8752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753 (exit $ac_status); } &&
8754 { ac_try='test -z "$ac_c_werror_flag"
8755 || test ! -s conftest.err'
8756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8760 (exit $ac_status); }; } &&
8761 { ac_try='test -s conftest$ac_exeext'
8762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8766 (exit $ac_status); }; }; then
8767 ac_cv_lib_m_hypotf=yes
8769 echo "$as_me: failed program was:" >&5
8770 sed 's/^/| /' conftest.$ac_ext >&5
8772 ac_cv_lib_m_hypotf=no
8774 rm -f conftest.err conftest.$ac_objext \
8775 conftest$ac_exeext conftest.$ac_ext
8776 LIBS=$ac_check_lib_save_LIBS
8778 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
8779 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
8780 if test $ac_cv_lib_m_hypotf = yes; then
8782 cat >>confdefs.h <<\_ACEOF
8783 #define HAVE_HYPOTF 1
8788 echo "$as_me:$LINENO: checking for logf in -lm" >&5
8789 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
8790 if test "${ac_cv_lib_m_logf+set}" = set; then
8791 echo $ECHO_N "(cached) $ECHO_C" >&6
8793 ac_check_lib_save_LIBS=$LIBS
8795 if test x$gcc_no_link = xyes; then
8796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8798 { (exit 1); exit 1; }; }
8800 cat >conftest.$ac_ext <<_ACEOF
8803 cat confdefs.h >>conftest.$ac_ext
8804 cat >>conftest.$ac_ext <<_ACEOF
8805 /* end confdefs.h. */
8807 /* Override any gcc2 internal prototype to avoid an error. */
8811 /* We use char because int might match the return type of a gcc2
8812 builtin and then its argument prototype would still apply. */
8822 rm -f conftest.$ac_objext conftest$ac_exeext
8823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8824 (eval $ac_link) 2>conftest.er1
8826 grep -v '^ *+' conftest.er1 >conftest.err
8828 cat conftest.err >&5
8829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8830 (exit $ac_status); } &&
8831 { ac_try='test -z "$ac_c_werror_flag"
8832 || test ! -s conftest.err'
8833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8837 (exit $ac_status); }; } &&
8838 { ac_try='test -s conftest$ac_exeext'
8839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8843 (exit $ac_status); }; }; then
8844 ac_cv_lib_m_logf=yes
8846 echo "$as_me: failed program was:" >&5
8847 sed 's/^/| /' conftest.$ac_ext >&5
8851 rm -f conftest.err conftest.$ac_objext \
8852 conftest$ac_exeext conftest.$ac_ext
8853 LIBS=$ac_check_lib_save_LIBS
8855 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
8856 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
8857 if test $ac_cv_lib_m_logf = yes; then
8859 cat >>confdefs.h <<\_ACEOF
8865 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
8866 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
8867 if test "${ac_cv_lib_m_log10f+set}" = set; then
8868 echo $ECHO_N "(cached) $ECHO_C" >&6
8870 ac_check_lib_save_LIBS=$LIBS
8872 if test x$gcc_no_link = xyes; then
8873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8875 { (exit 1); exit 1; }; }
8877 cat >conftest.$ac_ext <<_ACEOF
8880 cat confdefs.h >>conftest.$ac_ext
8881 cat >>conftest.$ac_ext <<_ACEOF
8882 /* end confdefs.h. */
8884 /* Override any gcc2 internal prototype to avoid an error. */
8888 /* We use char because int might match the return type of a gcc2
8889 builtin and then its argument prototype would still apply. */
8899 rm -f conftest.$ac_objext conftest$ac_exeext
8900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8901 (eval $ac_link) 2>conftest.er1
8903 grep -v '^ *+' conftest.er1 >conftest.err
8905 cat conftest.err >&5
8906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8907 (exit $ac_status); } &&
8908 { ac_try='test -z "$ac_c_werror_flag"
8909 || test ! -s conftest.err'
8910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8914 (exit $ac_status); }; } &&
8915 { ac_try='test -s conftest$ac_exeext'
8916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8920 (exit $ac_status); }; }; then
8921 ac_cv_lib_m_log10f=yes
8923 echo "$as_me: failed program was:" >&5
8924 sed 's/^/| /' conftest.$ac_ext >&5
8926 ac_cv_lib_m_log10f=no
8928 rm -f conftest.err conftest.$ac_objext \
8929 conftest$ac_exeext conftest.$ac_ext
8930 LIBS=$ac_check_lib_save_LIBS
8932 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
8933 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
8934 if test $ac_cv_lib_m_log10f = yes; then
8936 cat >>confdefs.h <<\_ACEOF
8937 #define HAVE_LOG10F 1
8942 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
8943 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
8944 if test "${ac_cv_lib_m_nextafter+set}" = set; then
8945 echo $ECHO_N "(cached) $ECHO_C" >&6
8947 ac_check_lib_save_LIBS=$LIBS
8949 if test x$gcc_no_link = xyes; then
8950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8952 { (exit 1); exit 1; }; }
8954 cat >conftest.$ac_ext <<_ACEOF
8957 cat confdefs.h >>conftest.$ac_ext
8958 cat >>conftest.$ac_ext <<_ACEOF
8959 /* end confdefs.h. */
8961 /* Override any gcc2 internal prototype to avoid an error. */
8965 /* We use char because int might match the return type of a gcc2
8966 builtin and then its argument prototype would still apply. */
8976 rm -f conftest.$ac_objext conftest$ac_exeext
8977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8978 (eval $ac_link) 2>conftest.er1
8980 grep -v '^ *+' conftest.er1 >conftest.err
8982 cat conftest.err >&5
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 (exit $ac_status); } &&
8985 { ac_try='test -z "$ac_c_werror_flag"
8986 || test ! -s conftest.err'
8987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8991 (exit $ac_status); }; } &&
8992 { ac_try='test -s conftest$ac_exeext'
8993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8997 (exit $ac_status); }; }; then
8998 ac_cv_lib_m_nextafter=yes
9000 echo "$as_me: failed program was:" >&5
9001 sed 's/^/| /' conftest.$ac_ext >&5
9003 ac_cv_lib_m_nextafter=no
9005 rm -f conftest.err conftest.$ac_objext \
9006 conftest$ac_exeext conftest.$ac_ext
9007 LIBS=$ac_check_lib_save_LIBS
9009 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
9010 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
9011 if test $ac_cv_lib_m_nextafter = yes; then
9013 cat >>confdefs.h <<\_ACEOF
9014 #define HAVE_NEXTAFTER 1
9019 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
9020 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
9021 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
9022 echo $ECHO_N "(cached) $ECHO_C" >&6
9024 ac_check_lib_save_LIBS=$LIBS
9026 if test x$gcc_no_link = xyes; then
9027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9029 { (exit 1); exit 1; }; }
9031 cat >conftest.$ac_ext <<_ACEOF
9034 cat confdefs.h >>conftest.$ac_ext
9035 cat >>conftest.$ac_ext <<_ACEOF
9036 /* end confdefs.h. */
9038 /* Override any gcc2 internal prototype to avoid an error. */
9042 /* We use char because int might match the return type of a gcc2
9043 builtin and then its argument prototype would still apply. */
9053 rm -f conftest.$ac_objext conftest$ac_exeext
9054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9055 (eval $ac_link) 2>conftest.er1
9057 grep -v '^ *+' conftest.er1 >conftest.err
9059 cat conftest.err >&5
9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061 (exit $ac_status); } &&
9062 { ac_try='test -z "$ac_c_werror_flag"
9063 || test ! -s conftest.err'
9064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068 (exit $ac_status); }; } &&
9069 { ac_try='test -s conftest$ac_exeext'
9070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074 (exit $ac_status); }; }; then
9075 ac_cv_lib_m_nextafterf=yes
9077 echo "$as_me: failed program was:" >&5
9078 sed 's/^/| /' conftest.$ac_ext >&5
9080 ac_cv_lib_m_nextafterf=no
9082 rm -f conftest.err conftest.$ac_objext \
9083 conftest$ac_exeext conftest.$ac_ext
9084 LIBS=$ac_check_lib_save_LIBS
9086 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
9087 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
9088 if test $ac_cv_lib_m_nextafterf = yes; then
9090 cat >>confdefs.h <<\_ACEOF
9091 #define HAVE_NEXTAFTERF 1
9096 echo "$as_me:$LINENO: checking for powf in -lm" >&5
9097 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
9098 if test "${ac_cv_lib_m_powf+set}" = set; then
9099 echo $ECHO_N "(cached) $ECHO_C" >&6
9101 ac_check_lib_save_LIBS=$LIBS
9103 if test x$gcc_no_link = xyes; then
9104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9106 { (exit 1); exit 1; }; }
9108 cat >conftest.$ac_ext <<_ACEOF
9111 cat confdefs.h >>conftest.$ac_ext
9112 cat >>conftest.$ac_ext <<_ACEOF
9113 /* end confdefs.h. */
9115 /* Override any gcc2 internal prototype to avoid an error. */
9119 /* We use char because int might match the return type of a gcc2
9120 builtin and then its argument prototype would still apply. */
9130 rm -f conftest.$ac_objext conftest$ac_exeext
9131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9132 (eval $ac_link) 2>conftest.er1
9134 grep -v '^ *+' conftest.er1 >conftest.err
9136 cat conftest.err >&5
9137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138 (exit $ac_status); } &&
9139 { ac_try='test -z "$ac_c_werror_flag"
9140 || test ! -s conftest.err'
9141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9145 (exit $ac_status); }; } &&
9146 { ac_try='test -s conftest$ac_exeext'
9147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9151 (exit $ac_status); }; }; then
9152 ac_cv_lib_m_powf=yes
9154 echo "$as_me: failed program was:" >&5
9155 sed 's/^/| /' conftest.$ac_ext >&5
9159 rm -f conftest.err conftest.$ac_objext \
9160 conftest$ac_exeext conftest.$ac_ext
9161 LIBS=$ac_check_lib_save_LIBS
9163 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
9164 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
9165 if test $ac_cv_lib_m_powf = yes; then
9167 cat >>confdefs.h <<\_ACEOF
9173 echo "$as_me:$LINENO: checking for round in -lm" >&5
9174 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
9175 if test "${ac_cv_lib_m_round+set}" = set; then
9176 echo $ECHO_N "(cached) $ECHO_C" >&6
9178 ac_check_lib_save_LIBS=$LIBS
9180 if test x$gcc_no_link = xyes; then
9181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9183 { (exit 1); exit 1; }; }
9185 cat >conftest.$ac_ext <<_ACEOF
9188 cat confdefs.h >>conftest.$ac_ext
9189 cat >>conftest.$ac_ext <<_ACEOF
9190 /* end confdefs.h. */
9192 /* Override any gcc2 internal prototype to avoid an error. */
9196 /* We use char because int might match the return type of a gcc2
9197 builtin and then its argument prototype would still apply. */
9207 rm -f conftest.$ac_objext conftest$ac_exeext
9208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9209 (eval $ac_link) 2>conftest.er1
9211 grep -v '^ *+' conftest.er1 >conftest.err
9213 cat conftest.err >&5
9214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9215 (exit $ac_status); } &&
9216 { ac_try='test -z "$ac_c_werror_flag"
9217 || test ! -s conftest.err'
9218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9222 (exit $ac_status); }; } &&
9223 { ac_try='test -s conftest$ac_exeext'
9224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9228 (exit $ac_status); }; }; then
9229 ac_cv_lib_m_round=yes
9231 echo "$as_me: failed program was:" >&5
9232 sed 's/^/| /' conftest.$ac_ext >&5
9234 ac_cv_lib_m_round=no
9236 rm -f conftest.err conftest.$ac_objext \
9237 conftest$ac_exeext conftest.$ac_ext
9238 LIBS=$ac_check_lib_save_LIBS
9240 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
9241 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
9242 if test $ac_cv_lib_m_round = yes; then
9244 cat >>confdefs.h <<\_ACEOF
9245 #define HAVE_ROUND 1
9250 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
9251 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
9252 if test "${ac_cv_lib_m_roundf+set}" = set; then
9253 echo $ECHO_N "(cached) $ECHO_C" >&6
9255 ac_check_lib_save_LIBS=$LIBS
9257 if test x$gcc_no_link = xyes; then
9258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9260 { (exit 1); exit 1; }; }
9262 cat >conftest.$ac_ext <<_ACEOF
9265 cat confdefs.h >>conftest.$ac_ext
9266 cat >>conftest.$ac_ext <<_ACEOF
9267 /* end confdefs.h. */
9269 /* Override any gcc2 internal prototype to avoid an error. */
9273 /* We use char because int might match the return type of a gcc2
9274 builtin and then its argument prototype would still apply. */
9284 rm -f conftest.$ac_objext conftest$ac_exeext
9285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9286 (eval $ac_link) 2>conftest.er1
9288 grep -v '^ *+' conftest.er1 >conftest.err
9290 cat conftest.err >&5
9291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9292 (exit $ac_status); } &&
9293 { ac_try='test -z "$ac_c_werror_flag"
9294 || test ! -s conftest.err'
9295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9299 (exit $ac_status); }; } &&
9300 { ac_try='test -s conftest$ac_exeext'
9301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9305 (exit $ac_status); }; }; then
9306 ac_cv_lib_m_roundf=yes
9308 echo "$as_me: failed program was:" >&5
9309 sed 's/^/| /' conftest.$ac_ext >&5
9311 ac_cv_lib_m_roundf=no
9313 rm -f conftest.err conftest.$ac_objext \
9314 conftest$ac_exeext conftest.$ac_ext
9315 LIBS=$ac_check_lib_save_LIBS
9317 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
9318 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
9319 if test $ac_cv_lib_m_roundf = yes; then
9321 cat >>confdefs.h <<\_ACEOF
9322 #define HAVE_ROUNDF 1
9327 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
9328 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
9329 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
9330 echo $ECHO_N "(cached) $ECHO_C" >&6
9332 ac_check_lib_save_LIBS=$LIBS
9334 if test x$gcc_no_link = xyes; then
9335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9337 { (exit 1); exit 1; }; }
9339 cat >conftest.$ac_ext <<_ACEOF
9342 cat confdefs.h >>conftest.$ac_ext
9343 cat >>conftest.$ac_ext <<_ACEOF
9344 /* end confdefs.h. */
9346 /* Override any gcc2 internal prototype to avoid an error. */
9350 /* We use char because int might match the return type of a gcc2
9351 builtin and then its argument prototype would still apply. */
9361 rm -f conftest.$ac_objext conftest$ac_exeext
9362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9363 (eval $ac_link) 2>conftest.er1
9365 grep -v '^ *+' conftest.er1 >conftest.err
9367 cat conftest.err >&5
9368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369 (exit $ac_status); } &&
9370 { ac_try='test -z "$ac_c_werror_flag"
9371 || test ! -s conftest.err'
9372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9376 (exit $ac_status); }; } &&
9377 { ac_try='test -s conftest$ac_exeext'
9378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9382 (exit $ac_status); }; }; then
9383 ac_cv_lib_m_scalbnf=yes
9385 echo "$as_me: failed program was:" >&5
9386 sed 's/^/| /' conftest.$ac_ext >&5
9388 ac_cv_lib_m_scalbnf=no
9390 rm -f conftest.err conftest.$ac_objext \
9391 conftest$ac_exeext conftest.$ac_ext
9392 LIBS=$ac_check_lib_save_LIBS
9394 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
9395 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
9396 if test $ac_cv_lib_m_scalbnf = yes; then
9398 cat >>confdefs.h <<\_ACEOF
9399 #define HAVE_SCALBNF 1
9404 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
9405 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
9406 if test "${ac_cv_lib_m_scalbn+set}" = set; then
9407 echo $ECHO_N "(cached) $ECHO_C" >&6
9409 ac_check_lib_save_LIBS=$LIBS
9411 if test x$gcc_no_link = xyes; then
9412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9414 { (exit 1); exit 1; }; }
9416 cat >conftest.$ac_ext <<_ACEOF
9419 cat confdefs.h >>conftest.$ac_ext
9420 cat >>conftest.$ac_ext <<_ACEOF
9421 /* end confdefs.h. */
9423 /* Override any gcc2 internal prototype to avoid an error. */
9427 /* We use char because int might match the return type of a gcc2
9428 builtin and then its argument prototype would still apply. */
9438 rm -f conftest.$ac_objext conftest$ac_exeext
9439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9440 (eval $ac_link) 2>conftest.er1
9442 grep -v '^ *+' conftest.er1 >conftest.err
9444 cat conftest.err >&5
9445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9446 (exit $ac_status); } &&
9447 { ac_try='test -z "$ac_c_werror_flag"
9448 || test ! -s conftest.err'
9449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9453 (exit $ac_status); }; } &&
9454 { ac_try='test -s conftest$ac_exeext'
9455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9459 (exit $ac_status); }; }; then
9460 ac_cv_lib_m_scalbn=yes
9462 echo "$as_me: failed program was:" >&5
9463 sed 's/^/| /' conftest.$ac_ext >&5
9465 ac_cv_lib_m_scalbn=no
9467 rm -f conftest.err conftest.$ac_objext \
9468 conftest$ac_exeext conftest.$ac_ext
9469 LIBS=$ac_check_lib_save_LIBS
9471 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
9472 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
9473 if test $ac_cv_lib_m_scalbn = yes; then
9475 cat >>confdefs.h <<\_ACEOF
9476 #define HAVE_SCALBN 1
9481 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
9482 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
9483 if test "${ac_cv_lib_m_sinf+set}" = set; then
9484 echo $ECHO_N "(cached) $ECHO_C" >&6
9486 ac_check_lib_save_LIBS=$LIBS
9488 if test x$gcc_no_link = xyes; then
9489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9491 { (exit 1); exit 1; }; }
9493 cat >conftest.$ac_ext <<_ACEOF
9496 cat confdefs.h >>conftest.$ac_ext
9497 cat >>conftest.$ac_ext <<_ACEOF
9498 /* end confdefs.h. */
9500 /* Override any gcc2 internal prototype to avoid an error. */
9504 /* We use char because int might match the return type of a gcc2
9505 builtin and then its argument prototype would still apply. */
9515 rm -f conftest.$ac_objext conftest$ac_exeext
9516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9517 (eval $ac_link) 2>conftest.er1
9519 grep -v '^ *+' conftest.er1 >conftest.err
9521 cat conftest.err >&5
9522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); } &&
9524 { ac_try='test -z "$ac_c_werror_flag"
9525 || test ! -s conftest.err'
9526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9530 (exit $ac_status); }; } &&
9531 { ac_try='test -s conftest$ac_exeext'
9532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9536 (exit $ac_status); }; }; then
9537 ac_cv_lib_m_sinf=yes
9539 echo "$as_me: failed program was:" >&5
9540 sed 's/^/| /' conftest.$ac_ext >&5
9544 rm -f conftest.err conftest.$ac_objext \
9545 conftest$ac_exeext conftest.$ac_ext
9546 LIBS=$ac_check_lib_save_LIBS
9548 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
9549 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
9550 if test $ac_cv_lib_m_sinf = yes; then
9552 cat >>confdefs.h <<\_ACEOF
9558 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
9559 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
9560 if test "${ac_cv_lib_m_sinhf+set}" = set; then
9561 echo $ECHO_N "(cached) $ECHO_C" >&6
9563 ac_check_lib_save_LIBS=$LIBS
9565 if test x$gcc_no_link = xyes; then
9566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9568 { (exit 1); exit 1; }; }
9570 cat >conftest.$ac_ext <<_ACEOF
9573 cat confdefs.h >>conftest.$ac_ext
9574 cat >>conftest.$ac_ext <<_ACEOF
9575 /* end confdefs.h. */
9577 /* Override any gcc2 internal prototype to avoid an error. */
9581 /* We use char because int might match the return type of a gcc2
9582 builtin and then its argument prototype would still apply. */
9592 rm -f conftest.$ac_objext conftest$ac_exeext
9593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9594 (eval $ac_link) 2>conftest.er1
9596 grep -v '^ *+' conftest.er1 >conftest.err
9598 cat conftest.err >&5
9599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9600 (exit $ac_status); } &&
9601 { ac_try='test -z "$ac_c_werror_flag"
9602 || test ! -s conftest.err'
9603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9607 (exit $ac_status); }; } &&
9608 { ac_try='test -s conftest$ac_exeext'
9609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9613 (exit $ac_status); }; }; then
9614 ac_cv_lib_m_sinhf=yes
9616 echo "$as_me: failed program was:" >&5
9617 sed 's/^/| /' conftest.$ac_ext >&5
9619 ac_cv_lib_m_sinhf=no
9621 rm -f conftest.err conftest.$ac_objext \
9622 conftest$ac_exeext conftest.$ac_ext
9623 LIBS=$ac_check_lib_save_LIBS
9625 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
9626 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
9627 if test $ac_cv_lib_m_sinhf = yes; then
9629 cat >>confdefs.h <<\_ACEOF
9630 #define HAVE_SINHF 1
9635 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
9636 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
9637 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
9638 echo $ECHO_N "(cached) $ECHO_C" >&6
9640 ac_check_lib_save_LIBS=$LIBS
9642 if test x$gcc_no_link = xyes; then
9643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9645 { (exit 1); exit 1; }; }
9647 cat >conftest.$ac_ext <<_ACEOF
9650 cat confdefs.h >>conftest.$ac_ext
9651 cat >>conftest.$ac_ext <<_ACEOF
9652 /* end confdefs.h. */
9654 /* Override any gcc2 internal prototype to avoid an error. */
9658 /* We use char because int might match the return type of a gcc2
9659 builtin and then its argument prototype would still apply. */
9669 rm -f conftest.$ac_objext conftest$ac_exeext
9670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9671 (eval $ac_link) 2>conftest.er1
9673 grep -v '^ *+' conftest.er1 >conftest.err
9675 cat conftest.err >&5
9676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9677 (exit $ac_status); } &&
9678 { ac_try='test -z "$ac_c_werror_flag"
9679 || test ! -s conftest.err'
9680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9684 (exit $ac_status); }; } &&
9685 { ac_try='test -s conftest$ac_exeext'
9686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9690 (exit $ac_status); }; }; then
9691 ac_cv_lib_m_sqrtf=yes
9693 echo "$as_me: failed program was:" >&5
9694 sed 's/^/| /' conftest.$ac_ext >&5
9696 ac_cv_lib_m_sqrtf=no
9698 rm -f conftest.err conftest.$ac_objext \
9699 conftest$ac_exeext conftest.$ac_ext
9700 LIBS=$ac_check_lib_save_LIBS
9702 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
9703 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
9704 if test $ac_cv_lib_m_sqrtf = yes; then
9706 cat >>confdefs.h <<\_ACEOF
9707 #define HAVE_SQRTF 1
9712 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
9713 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
9714 if test "${ac_cv_lib_m_tanf+set}" = set; then
9715 echo $ECHO_N "(cached) $ECHO_C" >&6
9717 ac_check_lib_save_LIBS=$LIBS
9719 if test x$gcc_no_link = xyes; then
9720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9722 { (exit 1); exit 1; }; }
9724 cat >conftest.$ac_ext <<_ACEOF
9727 cat confdefs.h >>conftest.$ac_ext
9728 cat >>conftest.$ac_ext <<_ACEOF
9729 /* end confdefs.h. */
9731 /* Override any gcc2 internal prototype to avoid an error. */
9735 /* We use char because int might match the return type of a gcc2
9736 builtin and then its argument prototype would still apply. */
9746 rm -f conftest.$ac_objext conftest$ac_exeext
9747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9748 (eval $ac_link) 2>conftest.er1
9750 grep -v '^ *+' conftest.er1 >conftest.err
9752 cat conftest.err >&5
9753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9754 (exit $ac_status); } &&
9755 { ac_try='test -z "$ac_c_werror_flag"
9756 || test ! -s conftest.err'
9757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9761 (exit $ac_status); }; } &&
9762 { ac_try='test -s conftest$ac_exeext'
9763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9767 (exit $ac_status); }; }; then
9768 ac_cv_lib_m_tanf=yes
9770 echo "$as_me: failed program was:" >&5
9771 sed 's/^/| /' conftest.$ac_ext >&5
9775 rm -f conftest.err conftest.$ac_objext \
9776 conftest$ac_exeext conftest.$ac_ext
9777 LIBS=$ac_check_lib_save_LIBS
9779 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
9780 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
9781 if test $ac_cv_lib_m_tanf = yes; then
9783 cat >>confdefs.h <<\_ACEOF
9789 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
9790 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
9791 if test "${ac_cv_lib_m_tanhf+set}" = set; then
9792 echo $ECHO_N "(cached) $ECHO_C" >&6
9794 ac_check_lib_save_LIBS=$LIBS
9796 if test x$gcc_no_link = xyes; then
9797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9799 { (exit 1); exit 1; }; }
9801 cat >conftest.$ac_ext <<_ACEOF
9804 cat confdefs.h >>conftest.$ac_ext
9805 cat >>conftest.$ac_ext <<_ACEOF
9806 /* end confdefs.h. */
9808 /* Override any gcc2 internal prototype to avoid an error. */
9812 /* We use char because int might match the return type of a gcc2
9813 builtin and then its argument prototype would still apply. */
9823 rm -f conftest.$ac_objext conftest$ac_exeext
9824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9825 (eval $ac_link) 2>conftest.er1
9827 grep -v '^ *+' conftest.er1 >conftest.err
9829 cat conftest.err >&5
9830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9831 (exit $ac_status); } &&
9832 { ac_try='test -z "$ac_c_werror_flag"
9833 || test ! -s conftest.err'
9834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9838 (exit $ac_status); }; } &&
9839 { ac_try='test -s conftest$ac_exeext'
9840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9844 (exit $ac_status); }; }; then
9845 ac_cv_lib_m_tanhf=yes
9847 echo "$as_me: failed program was:" >&5
9848 sed 's/^/| /' conftest.$ac_ext >&5
9850 ac_cv_lib_m_tanhf=no
9852 rm -f conftest.err conftest.$ac_objext \
9853 conftest$ac_exeext conftest.$ac_ext
9854 LIBS=$ac_check_lib_save_LIBS
9856 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
9857 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
9858 if test $ac_cv_lib_m_tanhf = yes; then
9860 cat >>confdefs.h <<\_ACEOF
9861 #define HAVE_TANHF 1
9866 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
9867 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
9868 if test "${ac_cv_lib_m_trunc+set}" = set; then
9869 echo $ECHO_N "(cached) $ECHO_C" >&6
9871 ac_check_lib_save_LIBS=$LIBS
9873 if test x$gcc_no_link = xyes; then
9874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9876 { (exit 1); exit 1; }; }
9878 cat >conftest.$ac_ext <<_ACEOF
9881 cat confdefs.h >>conftest.$ac_ext
9882 cat >>conftest.$ac_ext <<_ACEOF
9883 /* end confdefs.h. */
9885 /* Override any gcc2 internal prototype to avoid an error. */
9889 /* We use char because int might match the return type of a gcc2
9890 builtin and then its argument prototype would still apply. */
9900 rm -f conftest.$ac_objext conftest$ac_exeext
9901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9902 (eval $ac_link) 2>conftest.er1
9904 grep -v '^ *+' conftest.er1 >conftest.err
9906 cat conftest.err >&5
9907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9908 (exit $ac_status); } &&
9909 { ac_try='test -z "$ac_c_werror_flag"
9910 || test ! -s conftest.err'
9911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9915 (exit $ac_status); }; } &&
9916 { ac_try='test -s conftest$ac_exeext'
9917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9921 (exit $ac_status); }; }; then
9922 ac_cv_lib_m_trunc=yes
9924 echo "$as_me: failed program was:" >&5
9925 sed 's/^/| /' conftest.$ac_ext >&5
9927 ac_cv_lib_m_trunc=no
9929 rm -f conftest.err conftest.$ac_objext \
9930 conftest$ac_exeext conftest.$ac_ext
9931 LIBS=$ac_check_lib_save_LIBS
9933 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
9934 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
9935 if test $ac_cv_lib_m_trunc = yes; then
9937 cat >>confdefs.h <<\_ACEOF
9938 #define HAVE_TRUNC 1
9943 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
9944 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
9945 if test "${ac_cv_lib_m_truncf+set}" = set; then
9946 echo $ECHO_N "(cached) $ECHO_C" >&6
9948 ac_check_lib_save_LIBS=$LIBS
9950 if test x$gcc_no_link = xyes; then
9951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9953 { (exit 1); exit 1; }; }
9955 cat >conftest.$ac_ext <<_ACEOF
9958 cat confdefs.h >>conftest.$ac_ext
9959 cat >>conftest.$ac_ext <<_ACEOF
9960 /* end confdefs.h. */
9962 /* Override any gcc2 internal prototype to avoid an error. */
9966 /* We use char because int might match the return type of a gcc2
9967 builtin and then its argument prototype would still apply. */
9977 rm -f conftest.$ac_objext conftest$ac_exeext
9978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9979 (eval $ac_link) 2>conftest.er1
9981 grep -v '^ *+' conftest.er1 >conftest.err
9983 cat conftest.err >&5
9984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9985 (exit $ac_status); } &&
9986 { ac_try='test -z "$ac_c_werror_flag"
9987 || test ! -s conftest.err'
9988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9992 (exit $ac_status); }; } &&
9993 { ac_try='test -s conftest$ac_exeext'
9994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9998 (exit $ac_status); }; }; then
9999 ac_cv_lib_m_truncf=yes
10001 echo "$as_me: failed program was:" >&5
10002 sed 's/^/| /' conftest.$ac_ext >&5
10004 ac_cv_lib_m_truncf=no
10006 rm -f conftest.err conftest.$ac_objext \
10007 conftest$ac_exeext conftest.$ac_ext
10008 LIBS=$ac_check_lib_save_LIBS
10010 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
10011 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
10012 if test $ac_cv_lib_m_truncf = yes; then
10014 cat >>confdefs.h <<\_ACEOF
10015 #define HAVE_TRUNCF 1
10020 echo "$as_me:$LINENO: checking for erf in -lm" >&5
10021 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
10022 if test "${ac_cv_lib_m_erf+set}" = set; then
10023 echo $ECHO_N "(cached) $ECHO_C" >&6
10025 ac_check_lib_save_LIBS=$LIBS
10027 if test x$gcc_no_link = xyes; then
10028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10030 { (exit 1); exit 1; }; }
10032 cat >conftest.$ac_ext <<_ACEOF
10035 cat confdefs.h >>conftest.$ac_ext
10036 cat >>conftest.$ac_ext <<_ACEOF
10037 /* end confdefs.h. */
10039 /* Override any gcc2 internal prototype to avoid an error. */
10043 /* We use char because int might match the return type of a gcc2
10044 builtin and then its argument prototype would still apply. */
10054 rm -f conftest.$ac_objext conftest$ac_exeext
10055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10056 (eval $ac_link) 2>conftest.er1
10058 grep -v '^ *+' conftest.er1 >conftest.err
10060 cat conftest.err >&5
10061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10062 (exit $ac_status); } &&
10063 { ac_try='test -z "$ac_c_werror_flag"
10064 || test ! -s conftest.err'
10065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10066 (eval $ac_try) 2>&5
10068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10069 (exit $ac_status); }; } &&
10070 { ac_try='test -s conftest$ac_exeext'
10071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10072 (eval $ac_try) 2>&5
10074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075 (exit $ac_status); }; }; then
10076 ac_cv_lib_m_erf=yes
10078 echo "$as_me: failed program was:" >&5
10079 sed 's/^/| /' conftest.$ac_ext >&5
10083 rm -f conftest.err conftest.$ac_objext \
10084 conftest$ac_exeext conftest.$ac_ext
10085 LIBS=$ac_check_lib_save_LIBS
10087 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
10088 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
10089 if test $ac_cv_lib_m_erf = yes; then
10091 cat >>confdefs.h <<\_ACEOF
10097 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
10098 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
10099 if test "${ac_cv_lib_m_erfc+set}" = set; then
10100 echo $ECHO_N "(cached) $ECHO_C" >&6
10102 ac_check_lib_save_LIBS=$LIBS
10104 if test x$gcc_no_link = xyes; then
10105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10107 { (exit 1); exit 1; }; }
10109 cat >conftest.$ac_ext <<_ACEOF
10112 cat confdefs.h >>conftest.$ac_ext
10113 cat >>conftest.$ac_ext <<_ACEOF
10114 /* end confdefs.h. */
10116 /* Override any gcc2 internal prototype to avoid an error. */
10120 /* We use char because int might match the return type of a gcc2
10121 builtin and then its argument prototype would still apply. */
10131 rm -f conftest.$ac_objext conftest$ac_exeext
10132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10133 (eval $ac_link) 2>conftest.er1
10135 grep -v '^ *+' conftest.er1 >conftest.err
10137 cat conftest.err >&5
10138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10139 (exit $ac_status); } &&
10140 { ac_try='test -z "$ac_c_werror_flag"
10141 || test ! -s conftest.err'
10142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10143 (eval $ac_try) 2>&5
10145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10146 (exit $ac_status); }; } &&
10147 { ac_try='test -s conftest$ac_exeext'
10148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10149 (eval $ac_try) 2>&5
10151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10152 (exit $ac_status); }; }; then
10153 ac_cv_lib_m_erfc=yes
10155 echo "$as_me: failed program was:" >&5
10156 sed 's/^/| /' conftest.$ac_ext >&5
10158 ac_cv_lib_m_erfc=no
10160 rm -f conftest.err conftest.$ac_objext \
10161 conftest$ac_exeext conftest.$ac_ext
10162 LIBS=$ac_check_lib_save_LIBS
10164 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
10165 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
10166 if test $ac_cv_lib_m_erfc = yes; then
10168 cat >>confdefs.h <<\_ACEOF
10169 #define HAVE_ERFC 1
10174 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
10175 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
10176 if test "${ac_cv_lib_m_erfcf+set}" = set; then
10177 echo $ECHO_N "(cached) $ECHO_C" >&6
10179 ac_check_lib_save_LIBS=$LIBS
10181 if test x$gcc_no_link = xyes; then
10182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10184 { (exit 1); exit 1; }; }
10186 cat >conftest.$ac_ext <<_ACEOF
10189 cat confdefs.h >>conftest.$ac_ext
10190 cat >>conftest.$ac_ext <<_ACEOF
10191 /* end confdefs.h. */
10193 /* Override any gcc2 internal prototype to avoid an error. */
10197 /* We use char because int might match the return type of a gcc2
10198 builtin and then its argument prototype would still apply. */
10208 rm -f conftest.$ac_objext conftest$ac_exeext
10209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10210 (eval $ac_link) 2>conftest.er1
10212 grep -v '^ *+' conftest.er1 >conftest.err
10214 cat conftest.err >&5
10215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10216 (exit $ac_status); } &&
10217 { ac_try='test -z "$ac_c_werror_flag"
10218 || test ! -s conftest.err'
10219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10220 (eval $ac_try) 2>&5
10222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10223 (exit $ac_status); }; } &&
10224 { ac_try='test -s conftest$ac_exeext'
10225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10226 (eval $ac_try) 2>&5
10228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10229 (exit $ac_status); }; }; then
10230 ac_cv_lib_m_erfcf=yes
10232 echo "$as_me: failed program was:" >&5
10233 sed 's/^/| /' conftest.$ac_ext >&5
10235 ac_cv_lib_m_erfcf=no
10237 rm -f conftest.err conftest.$ac_objext \
10238 conftest$ac_exeext conftest.$ac_ext
10239 LIBS=$ac_check_lib_save_LIBS
10241 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
10242 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
10243 if test $ac_cv_lib_m_erfcf = yes; then
10245 cat >>confdefs.h <<\_ACEOF
10246 #define HAVE_ERFCF 1
10251 echo "$as_me:$LINENO: checking for erff in -lm" >&5
10252 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
10253 if test "${ac_cv_lib_m_erff+set}" = set; then
10254 echo $ECHO_N "(cached) $ECHO_C" >&6
10256 ac_check_lib_save_LIBS=$LIBS
10258 if test x$gcc_no_link = xyes; then
10259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10261 { (exit 1); exit 1; }; }
10263 cat >conftest.$ac_ext <<_ACEOF
10266 cat confdefs.h >>conftest.$ac_ext
10267 cat >>conftest.$ac_ext <<_ACEOF
10268 /* end confdefs.h. */
10270 /* Override any gcc2 internal prototype to avoid an error. */
10274 /* We use char because int might match the return type of a gcc2
10275 builtin and then its argument prototype would still apply. */
10285 rm -f conftest.$ac_objext conftest$ac_exeext
10286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10287 (eval $ac_link) 2>conftest.er1
10289 grep -v '^ *+' conftest.er1 >conftest.err
10291 cat conftest.err >&5
10292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10293 (exit $ac_status); } &&
10294 { ac_try='test -z "$ac_c_werror_flag"
10295 || test ! -s conftest.err'
10296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10297 (eval $ac_try) 2>&5
10299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10300 (exit $ac_status); }; } &&
10301 { ac_try='test -s conftest$ac_exeext'
10302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10303 (eval $ac_try) 2>&5
10305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10306 (exit $ac_status); }; }; then
10307 ac_cv_lib_m_erff=yes
10309 echo "$as_me: failed program was:" >&5
10310 sed 's/^/| /' conftest.$ac_ext >&5
10312 ac_cv_lib_m_erff=no
10314 rm -f conftest.err conftest.$ac_objext \
10315 conftest$ac_exeext conftest.$ac_ext
10316 LIBS=$ac_check_lib_save_LIBS
10318 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
10319 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
10320 if test $ac_cv_lib_m_erff = yes; then
10322 cat >>confdefs.h <<\_ACEOF
10323 #define HAVE_ERFF 1
10328 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
10329 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
10330 if test "${ac_cv_lib_m_j0+set}" = set; then
10331 echo $ECHO_N "(cached) $ECHO_C" >&6
10333 ac_check_lib_save_LIBS=$LIBS
10335 if test x$gcc_no_link = xyes; then
10336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10338 { (exit 1); exit 1; }; }
10340 cat >conftest.$ac_ext <<_ACEOF
10343 cat confdefs.h >>conftest.$ac_ext
10344 cat >>conftest.$ac_ext <<_ACEOF
10345 /* end confdefs.h. */
10347 /* Override any gcc2 internal prototype to avoid an error. */
10351 /* We use char because int might match the return type of a gcc2
10352 builtin and then its argument prototype would still apply. */
10362 rm -f conftest.$ac_objext conftest$ac_exeext
10363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10364 (eval $ac_link) 2>conftest.er1
10366 grep -v '^ *+' conftest.er1 >conftest.err
10368 cat conftest.err >&5
10369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10370 (exit $ac_status); } &&
10371 { ac_try='test -z "$ac_c_werror_flag"
10372 || test ! -s conftest.err'
10373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10374 (eval $ac_try) 2>&5
10376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10377 (exit $ac_status); }; } &&
10378 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
10386 echo "$as_me: failed program was:" >&5
10387 sed 's/^/| /' conftest.$ac_ext >&5
10391 rm -f conftest.err conftest.$ac_objext \
10392 conftest$ac_exeext conftest.$ac_ext
10393 LIBS=$ac_check_lib_save_LIBS
10395 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
10396 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
10397 if test $ac_cv_lib_m_j0 = yes; then
10399 cat >>confdefs.h <<\_ACEOF
10405 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
10406 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
10407 if test "${ac_cv_lib_m_j0f+set}" = set; then
10408 echo $ECHO_N "(cached) $ECHO_C" >&6
10410 ac_check_lib_save_LIBS=$LIBS
10412 if test x$gcc_no_link = xyes; then
10413 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10415 { (exit 1); exit 1; }; }
10417 cat >conftest.$ac_ext <<_ACEOF
10420 cat confdefs.h >>conftest.$ac_ext
10421 cat >>conftest.$ac_ext <<_ACEOF
10422 /* end confdefs.h. */
10424 /* Override any gcc2 internal prototype to avoid an error. */
10428 /* We use char because int might match the return type of a gcc2
10429 builtin and then its argument prototype would still apply. */
10439 rm -f conftest.$ac_objext conftest$ac_exeext
10440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10441 (eval $ac_link) 2>conftest.er1
10443 grep -v '^ *+' conftest.er1 >conftest.err
10445 cat conftest.err >&5
10446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10447 (exit $ac_status); } &&
10448 { ac_try='test -z "$ac_c_werror_flag"
10449 || test ! -s conftest.err'
10450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10451 (eval $ac_try) 2>&5
10453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10454 (exit $ac_status); }; } &&
10455 { ac_try='test -s conftest$ac_exeext'
10456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10457 (eval $ac_try) 2>&5
10459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10460 (exit $ac_status); }; }; then
10461 ac_cv_lib_m_j0f=yes
10463 echo "$as_me: failed program was:" >&5
10464 sed 's/^/| /' conftest.$ac_ext >&5
10468 rm -f conftest.err conftest.$ac_objext \
10469 conftest$ac_exeext conftest.$ac_ext
10470 LIBS=$ac_check_lib_save_LIBS
10472 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
10473 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
10474 if test $ac_cv_lib_m_j0f = yes; then
10476 cat >>confdefs.h <<\_ACEOF
10482 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
10483 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
10484 if test "${ac_cv_lib_m_j1+set}" = set; then
10485 echo $ECHO_N "(cached) $ECHO_C" >&6
10487 ac_check_lib_save_LIBS=$LIBS
10489 if test x$gcc_no_link = xyes; then
10490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10492 { (exit 1); exit 1; }; }
10494 cat >conftest.$ac_ext <<_ACEOF
10497 cat confdefs.h >>conftest.$ac_ext
10498 cat >>conftest.$ac_ext <<_ACEOF
10499 /* end confdefs.h. */
10501 /* Override any gcc2 internal prototype to avoid an error. */
10505 /* We use char because int might match the return type of a gcc2
10506 builtin and then its argument prototype would still apply. */
10516 rm -f conftest.$ac_objext conftest$ac_exeext
10517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10518 (eval $ac_link) 2>conftest.er1
10520 grep -v '^ *+' conftest.er1 >conftest.err
10522 cat conftest.err >&5
10523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10524 (exit $ac_status); } &&
10525 { ac_try='test -z "$ac_c_werror_flag"
10526 || test ! -s conftest.err'
10527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10528 (eval $ac_try) 2>&5
10530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10531 (exit $ac_status); }; } &&
10532 { ac_try='test -s conftest$ac_exeext'
10533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10534 (eval $ac_try) 2>&5
10536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10537 (exit $ac_status); }; }; then
10540 echo "$as_me: failed program was:" >&5
10541 sed 's/^/| /' conftest.$ac_ext >&5
10545 rm -f conftest.err conftest.$ac_objext \
10546 conftest$ac_exeext conftest.$ac_ext
10547 LIBS=$ac_check_lib_save_LIBS
10549 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
10550 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
10551 if test $ac_cv_lib_m_j1 = yes; then
10553 cat >>confdefs.h <<\_ACEOF
10559 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
10560 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
10561 if test "${ac_cv_lib_m_j1f+set}" = set; then
10562 echo $ECHO_N "(cached) $ECHO_C" >&6
10564 ac_check_lib_save_LIBS=$LIBS
10566 if test x$gcc_no_link = xyes; then
10567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10569 { (exit 1); exit 1; }; }
10571 cat >conftest.$ac_ext <<_ACEOF
10574 cat confdefs.h >>conftest.$ac_ext
10575 cat >>conftest.$ac_ext <<_ACEOF
10576 /* end confdefs.h. */
10578 /* Override any gcc2 internal prototype to avoid an error. */
10582 /* We use char because int might match the return type of a gcc2
10583 builtin and then its argument prototype would still apply. */
10593 rm -f conftest.$ac_objext conftest$ac_exeext
10594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10595 (eval $ac_link) 2>conftest.er1
10597 grep -v '^ *+' conftest.er1 >conftest.err
10599 cat conftest.err >&5
10600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10601 (exit $ac_status); } &&
10602 { ac_try='test -z "$ac_c_werror_flag"
10603 || test ! -s conftest.err'
10604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10605 (eval $ac_try) 2>&5
10607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608 (exit $ac_status); }; } &&
10609 { ac_try='test -s conftest$ac_exeext'
10610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10611 (eval $ac_try) 2>&5
10613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10614 (exit $ac_status); }; }; then
10615 ac_cv_lib_m_j1f=yes
10617 echo "$as_me: failed program was:" >&5
10618 sed 's/^/| /' conftest.$ac_ext >&5
10622 rm -f conftest.err conftest.$ac_objext \
10623 conftest$ac_exeext conftest.$ac_ext
10624 LIBS=$ac_check_lib_save_LIBS
10626 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
10627 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
10628 if test $ac_cv_lib_m_j1f = yes; then
10630 cat >>confdefs.h <<\_ACEOF
10636 echo "$as_me:$LINENO: checking for jn in -lm" >&5
10637 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
10638 if test "${ac_cv_lib_m_jn+set}" = set; then
10639 echo $ECHO_N "(cached) $ECHO_C" >&6
10641 ac_check_lib_save_LIBS=$LIBS
10643 if test x$gcc_no_link = xyes; then
10644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10646 { (exit 1); exit 1; }; }
10648 cat >conftest.$ac_ext <<_ACEOF
10651 cat confdefs.h >>conftest.$ac_ext
10652 cat >>conftest.$ac_ext <<_ACEOF
10653 /* end confdefs.h. */
10655 /* Override any gcc2 internal prototype to avoid an error. */
10659 /* We use char because int might match the return type of a gcc2
10660 builtin and then its argument prototype would still apply. */
10670 rm -f conftest.$ac_objext conftest$ac_exeext
10671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10672 (eval $ac_link) 2>conftest.er1
10674 grep -v '^ *+' conftest.er1 >conftest.err
10676 cat conftest.err >&5
10677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10678 (exit $ac_status); } &&
10679 { ac_try='test -z "$ac_c_werror_flag"
10680 || test ! -s conftest.err'
10681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10682 (eval $ac_try) 2>&5
10684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10685 (exit $ac_status); }; } &&
10686 { ac_try='test -s conftest$ac_exeext'
10687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10688 (eval $ac_try) 2>&5
10690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10691 (exit $ac_status); }; }; then
10694 echo "$as_me: failed program was:" >&5
10695 sed 's/^/| /' conftest.$ac_ext >&5
10699 rm -f conftest.err conftest.$ac_objext \
10700 conftest$ac_exeext conftest.$ac_ext
10701 LIBS=$ac_check_lib_save_LIBS
10703 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
10704 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
10705 if test $ac_cv_lib_m_jn = yes; then
10707 cat >>confdefs.h <<\_ACEOF
10713 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
10714 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
10715 if test "${ac_cv_lib_m_jnf+set}" = set; then
10716 echo $ECHO_N "(cached) $ECHO_C" >&6
10718 ac_check_lib_save_LIBS=$LIBS
10720 if test x$gcc_no_link = xyes; then
10721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10723 { (exit 1); exit 1; }; }
10725 cat >conftest.$ac_ext <<_ACEOF
10728 cat confdefs.h >>conftest.$ac_ext
10729 cat >>conftest.$ac_ext <<_ACEOF
10730 /* end confdefs.h. */
10732 /* Override any gcc2 internal prototype to avoid an error. */
10736 /* We use char because int might match the return type of a gcc2
10737 builtin and then its argument prototype would still apply. */
10747 rm -f conftest.$ac_objext conftest$ac_exeext
10748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10749 (eval $ac_link) 2>conftest.er1
10751 grep -v '^ *+' conftest.er1 >conftest.err
10753 cat conftest.err >&5
10754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10755 (exit $ac_status); } &&
10756 { ac_try='test -z "$ac_c_werror_flag"
10757 || test ! -s conftest.err'
10758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10759 (eval $ac_try) 2>&5
10761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10762 (exit $ac_status); }; } &&
10763 { ac_try='test -s conftest$ac_exeext'
10764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10765 (eval $ac_try) 2>&5
10767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10768 (exit $ac_status); }; }; then
10769 ac_cv_lib_m_jnf=yes
10771 echo "$as_me: failed program was:" >&5
10772 sed 's/^/| /' conftest.$ac_ext >&5
10776 rm -f conftest.err conftest.$ac_objext \
10777 conftest$ac_exeext conftest.$ac_ext
10778 LIBS=$ac_check_lib_save_LIBS
10780 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
10781 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
10782 if test $ac_cv_lib_m_jnf = yes; then
10784 cat >>confdefs.h <<\_ACEOF
10790 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
10791 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
10792 if test "${ac_cv_lib_m_y0+set}" = set; then
10793 echo $ECHO_N "(cached) $ECHO_C" >&6
10795 ac_check_lib_save_LIBS=$LIBS
10797 if test x$gcc_no_link = xyes; then
10798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10800 { (exit 1); exit 1; }; }
10802 cat >conftest.$ac_ext <<_ACEOF
10805 cat confdefs.h >>conftest.$ac_ext
10806 cat >>conftest.$ac_ext <<_ACEOF
10807 /* end confdefs.h. */
10809 /* Override any gcc2 internal prototype to avoid an error. */
10813 /* We use char because int might match the return type of a gcc2
10814 builtin and then its argument prototype would still apply. */
10824 rm -f conftest.$ac_objext conftest$ac_exeext
10825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10826 (eval $ac_link) 2>conftest.er1
10828 grep -v '^ *+' conftest.er1 >conftest.err
10830 cat conftest.err >&5
10831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10832 (exit $ac_status); } &&
10833 { ac_try='test -z "$ac_c_werror_flag"
10834 || 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
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_y0" >&5
10858 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
10859 if test $ac_cv_lib_m_y0 = yes; then
10861 cat >>confdefs.h <<\_ACEOF
10867 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
10868 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
10869 if test "${ac_cv_lib_m_y0f+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"
10911 || test ! -s conftest.err'
10912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10913 (eval $ac_try) 2>&5
10915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10916 (exit $ac_status); }; } &&
10917 { ac_try='test -s conftest$ac_exeext'
10918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10919 (eval $ac_try) 2>&5
10921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10922 (exit $ac_status); }; }; then
10923 ac_cv_lib_m_y0f=yes
10925 echo "$as_me: failed program was:" >&5
10926 sed 's/^/| /' conftest.$ac_ext >&5
10930 rm -f conftest.err conftest.$ac_objext \
10931 conftest$ac_exeext conftest.$ac_ext
10932 LIBS=$ac_check_lib_save_LIBS
10934 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
10935 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
10936 if test $ac_cv_lib_m_y0f = yes; then
10938 cat >>confdefs.h <<\_ACEOF
10944 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
10945 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
10946 if test "${ac_cv_lib_m_y1+set}" = set; then
10947 echo $ECHO_N "(cached) $ECHO_C" >&6
10949 ac_check_lib_save_LIBS=$LIBS
10951 if test x$gcc_no_link = xyes; then
10952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10954 { (exit 1); exit 1; }; }
10956 cat >conftest.$ac_ext <<_ACEOF
10959 cat confdefs.h >>conftest.$ac_ext
10960 cat >>conftest.$ac_ext <<_ACEOF
10961 /* end confdefs.h. */
10963 /* Override any gcc2 internal prototype to avoid an error. */
10967 /* We use char because int might match the return type of a gcc2
10968 builtin and then its argument prototype would still apply. */
10978 rm -f conftest.$ac_objext conftest$ac_exeext
10979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10980 (eval $ac_link) 2>conftest.er1
10982 grep -v '^ *+' conftest.er1 >conftest.err
10984 cat conftest.err >&5
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); } &&
10987 { ac_try='test -z "$ac_c_werror_flag"
10988 || test ! -s conftest.err'
10989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10990 (eval $ac_try) 2>&5
10992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10993 (exit $ac_status); }; } &&
10994 { ac_try='test -s conftest$ac_exeext'
10995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10996 (eval $ac_try) 2>&5
10998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10999 (exit $ac_status); }; }; then
11002 echo "$as_me: failed program was:" >&5
11003 sed 's/^/| /' conftest.$ac_ext >&5
11007 rm -f conftest.err conftest.$ac_objext \
11008 conftest$ac_exeext conftest.$ac_ext
11009 LIBS=$ac_check_lib_save_LIBS
11011 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
11012 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
11013 if test $ac_cv_lib_m_y1 = yes; then
11015 cat >>confdefs.h <<\_ACEOF
11021 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
11022 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
11023 if test "${ac_cv_lib_m_y1f+set}" = set; then
11024 echo $ECHO_N "(cached) $ECHO_C" >&6
11026 ac_check_lib_save_LIBS=$LIBS
11028 if test x$gcc_no_link = xyes; then
11029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11031 { (exit 1); exit 1; }; }
11033 cat >conftest.$ac_ext <<_ACEOF
11036 cat confdefs.h >>conftest.$ac_ext
11037 cat >>conftest.$ac_ext <<_ACEOF
11038 /* end confdefs.h. */
11040 /* Override any gcc2 internal prototype to avoid an error. */
11044 /* We use char because int might match the return type of a gcc2
11045 builtin and then its argument prototype would still apply. */
11055 rm -f conftest.$ac_objext conftest$ac_exeext
11056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11057 (eval $ac_link) 2>conftest.er1
11059 grep -v '^ *+' conftest.er1 >conftest.err
11061 cat conftest.err >&5
11062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11063 (exit $ac_status); } &&
11064 { ac_try='test -z "$ac_c_werror_flag"
11065 || test ! -s conftest.err'
11066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11067 (eval $ac_try) 2>&5
11069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070 (exit $ac_status); }; } &&
11071 { ac_try='test -s conftest$ac_exeext'
11072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11073 (eval $ac_try) 2>&5
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); }; }; then
11077 ac_cv_lib_m_y1f=yes
11079 echo "$as_me: failed program was:" >&5
11080 sed 's/^/| /' conftest.$ac_ext >&5
11084 rm -f conftest.err conftest.$ac_objext \
11085 conftest$ac_exeext conftest.$ac_ext
11086 LIBS=$ac_check_lib_save_LIBS
11088 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
11089 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
11090 if test $ac_cv_lib_m_y1f = yes; then
11092 cat >>confdefs.h <<\_ACEOF
11098 echo "$as_me:$LINENO: checking for yn in -lm" >&5
11099 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
11100 if test "${ac_cv_lib_m_yn+set}" = set; then
11101 echo $ECHO_N "(cached) $ECHO_C" >&6
11103 ac_check_lib_save_LIBS=$LIBS
11105 if test x$gcc_no_link = xyes; then
11106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11108 { (exit 1); exit 1; }; }
11110 cat >conftest.$ac_ext <<_ACEOF
11113 cat confdefs.h >>conftest.$ac_ext
11114 cat >>conftest.$ac_ext <<_ACEOF
11115 /* end confdefs.h. */
11117 /* Override any gcc2 internal prototype to avoid an error. */
11121 /* We use char because int might match the return type of a gcc2
11122 builtin and then its argument prototype would still apply. */
11132 rm -f conftest.$ac_objext conftest$ac_exeext
11133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11134 (eval $ac_link) 2>conftest.er1
11136 grep -v '^ *+' conftest.er1 >conftest.err
11138 cat conftest.err >&5
11139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11140 (exit $ac_status); } &&
11141 { ac_try='test -z "$ac_c_werror_flag"
11142 || test ! -s conftest.err'
11143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11144 (eval $ac_try) 2>&5
11146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11147 (exit $ac_status); }; } &&
11148 { ac_try='test -s conftest$ac_exeext'
11149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11150 (eval $ac_try) 2>&5
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); }; }; then
11156 echo "$as_me: failed program was:" >&5
11157 sed 's/^/| /' conftest.$ac_ext >&5
11161 rm -f conftest.err conftest.$ac_objext \
11162 conftest$ac_exeext conftest.$ac_ext
11163 LIBS=$ac_check_lib_save_LIBS
11165 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
11166 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
11167 if test $ac_cv_lib_m_yn = yes; then
11169 cat >>confdefs.h <<\_ACEOF
11175 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
11176 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
11177 if test "${ac_cv_lib_m_ynf+set}" = set; then
11178 echo $ECHO_N "(cached) $ECHO_C" >&6
11180 ac_check_lib_save_LIBS=$LIBS
11182 if test x$gcc_no_link = xyes; then
11183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11185 { (exit 1); exit 1; }; }
11187 cat >conftest.$ac_ext <<_ACEOF
11190 cat confdefs.h >>conftest.$ac_ext
11191 cat >>conftest.$ac_ext <<_ACEOF
11192 /* end confdefs.h. */
11194 /* Override any gcc2 internal prototype to avoid an error. */
11198 /* We use char because int might match the return type of a gcc2
11199 builtin and then its argument prototype would still apply. */
11209 rm -f conftest.$ac_objext conftest$ac_exeext
11210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11211 (eval $ac_link) 2>conftest.er1
11213 grep -v '^ *+' conftest.er1 >conftest.err
11215 cat conftest.err >&5
11216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11217 (exit $ac_status); } &&
11218 { ac_try='test -z "$ac_c_werror_flag"
11219 || test ! -s conftest.err'
11220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11221 (eval $ac_try) 2>&5
11223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11224 (exit $ac_status); }; } &&
11225 { ac_try='test -s conftest$ac_exeext'
11226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11227 (eval $ac_try) 2>&5
11229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11230 (exit $ac_status); }; }; then
11231 ac_cv_lib_m_ynf=yes
11233 echo "$as_me: failed program was:" >&5
11234 sed 's/^/| /' conftest.$ac_ext >&5
11238 rm -f conftest.err conftest.$ac_objext \
11239 conftest$ac_exeext conftest.$ac_ext
11240 LIBS=$ac_check_lib_save_LIBS
11242 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
11243 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
11244 if test $ac_cv_lib_m_ynf = yes; then
11246 cat >>confdefs.h <<\_ACEOF
11253 # Fallback in case isfinite is not available.
11254 echo "$as_me:$LINENO: checking for finite in -lm" >&5
11255 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
11256 if test "${ac_cv_lib_m_finite+set}" = set; then
11257 echo $ECHO_N "(cached) $ECHO_C" >&6
11259 ac_check_lib_save_LIBS=$LIBS
11261 if test x$gcc_no_link = xyes; then
11262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11264 { (exit 1); exit 1; }; }
11266 cat >conftest.$ac_ext <<_ACEOF
11269 cat confdefs.h >>conftest.$ac_ext
11270 cat >>conftest.$ac_ext <<_ACEOF
11271 /* end confdefs.h. */
11273 /* Override any gcc2 internal prototype to avoid an error. */
11277 /* We use char because int might match the return type of a gcc2
11278 builtin and then its argument prototype would still apply. */
11288 rm -f conftest.$ac_objext conftest$ac_exeext
11289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11290 (eval $ac_link) 2>conftest.er1
11292 grep -v '^ *+' conftest.er1 >conftest.err
11294 cat conftest.err >&5
11295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11296 (exit $ac_status); } &&
11297 { ac_try='test -z "$ac_c_werror_flag"
11298 || test ! -s conftest.err'
11299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11300 (eval $ac_try) 2>&5
11302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11303 (exit $ac_status); }; } &&
11304 { ac_try='test -s conftest$ac_exeext'
11305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11306 (eval $ac_try) 2>&5
11308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11309 (exit $ac_status); }; }; then
11310 ac_cv_lib_m_finite=yes
11312 echo "$as_me: failed program was:" >&5
11313 sed 's/^/| /' conftest.$ac_ext >&5
11315 ac_cv_lib_m_finite=no
11317 rm -f conftest.err conftest.$ac_objext \
11318 conftest$ac_exeext conftest.$ac_ext
11319 LIBS=$ac_check_lib_save_LIBS
11321 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
11322 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
11323 if test $ac_cv_lib_m_finite = yes; then
11325 cat >>confdefs.h <<\_ACEOF
11326 #define HAVE_FINITE 1
11332 # Let the user override this
11333 # Check whether --enable-cmath or --disable-cmath was given.
11334 if test "${enable_cmath+set}" = set; then
11335 enableval="$enable_cmath"
11336 need_math=$enableval
11338 if test "$need_math" = "yes"; then
11339 { echo "$as_me:$LINENO: Including complex math functions in libgfor" >&5
11340 echo "$as_me: Including complex math functions in libgfor" >&6;};
11341 extra_math_obj='$(gfor_cmath_obj)'
11344 MATH_OBJ="$extra_math_obj"
11347 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
11348 # for struct timezone, as you might think. We also need to check how
11349 # to call gettimeofday if we have it.
11350 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
11351 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
11352 if test "${ac_cv_header_time+set}" = set; then
11353 echo $ECHO_N "(cached) $ECHO_C" >&6
11355 cat >conftest.$ac_ext <<_ACEOF
11358 cat confdefs.h >>conftest.$ac_ext
11359 cat >>conftest.$ac_ext <<_ACEOF
11360 /* end confdefs.h. */
11361 #include <sys/types.h>
11362 #include <sys/time.h>
11368 if ((struct tm *) 0)
11374 rm -f conftest.$ac_objext
11375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11376 (eval $ac_compile) 2>conftest.er1
11378 grep -v '^ *+' conftest.er1 >conftest.err
11380 cat conftest.err >&5
11381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11382 (exit $ac_status); } &&
11383 { ac_try='test -z "$ac_c_werror_flag"
11384 || test ! -s conftest.err'
11385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11386 (eval $ac_try) 2>&5
11388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11389 (exit $ac_status); }; } &&
11390 { ac_try='test -s conftest.$ac_objext'
11391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11392 (eval $ac_try) 2>&5
11394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11395 (exit $ac_status); }; }; then
11396 ac_cv_header_time=yes
11398 echo "$as_me: failed program was:" >&5
11399 sed 's/^/| /' conftest.$ac_ext >&5
11401 ac_cv_header_time=no
11403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11405 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
11406 echo "${ECHO_T}$ac_cv_header_time" >&6
11407 if test $ac_cv_header_time = yes; then
11409 cat >>confdefs.h <<\_ACEOF
11410 #define TIME_WITH_SYS_TIME 1
11417 for ac_func in gettimeofday
11419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11420 echo "$as_me:$LINENO: checking for $ac_func" >&5
11421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11422 if eval "test \"\${$as_ac_var+set}\" = set"; then
11423 echo $ECHO_N "(cached) $ECHO_C" >&6
11425 if test x$gcc_no_link = xyes; then
11426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11428 { (exit 1); exit 1; }; }
11430 cat >conftest.$ac_ext <<_ACEOF
11433 cat confdefs.h >>conftest.$ac_ext
11434 cat >>conftest.$ac_ext <<_ACEOF
11435 /* end confdefs.h. */
11436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11438 #define $ac_func innocuous_$ac_func
11440 /* System header to define __stub macros and hopefully few prototypes,
11441 which can conflict with char $ac_func (); below.
11442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11443 <limits.h> exists even on freestanding compilers. */
11446 # include <limits.h>
11448 # include <assert.h>
11453 /* Override any gcc2 internal prototype to avoid an error. */
11458 /* We use char because int might match the return type of a gcc2
11459 builtin and then its argument prototype would still apply. */
11461 /* The GNU C library defines this for functions which it implements
11462 to always fail with ENOSYS. Some functions are actually named
11463 something starting with __ and the normal name is an alias. */
11464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11467 char (*f) () = $ac_func;
11476 return f != $ac_func;
11481 rm -f conftest.$ac_objext conftest$ac_exeext
11482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11483 (eval $ac_link) 2>conftest.er1
11485 grep -v '^ *+' conftest.er1 >conftest.err
11487 cat conftest.err >&5
11488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11489 (exit $ac_status); } &&
11490 { ac_try='test -z "$ac_c_werror_flag"
11491 || test ! -s conftest.err'
11492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11493 (eval $ac_try) 2>&5
11495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11496 (exit $ac_status); }; } &&
11497 { ac_try='test -s conftest$ac_exeext'
11498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11499 (eval $ac_try) 2>&5
11501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11502 (exit $ac_status); }; }; then
11503 eval "$as_ac_var=yes"
11505 echo "$as_me: failed program was:" >&5
11506 sed 's/^/| /' conftest.$ac_ext >&5
11508 eval "$as_ac_var=no"
11510 rm -f conftest.err conftest.$ac_objext \
11511 conftest$ac_exeext conftest.$ac_ext
11513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11515 if test `eval echo '${'$as_ac_var'}'` = yes; then
11516 cat >>confdefs.h <<_ACEOF
11517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11523 if test "$ac_cv_func_gettimeofday" = yes; then
11524 echo "$as_me:$LINENO: checking for struct timezone" >&5
11525 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
11526 if test "${gfor_cv_struct_timezone+set}" = set; then
11527 echo $ECHO_N "(cached) $ECHO_C" >&6
11529 cat >conftest.$ac_ext <<_ACEOF
11532 cat confdefs.h >>conftest.$ac_ext
11533 cat >>conftest.$ac_ext <<_ACEOF
11534 /* end confdefs.h. */
11535 #include <sys/time.h>
11539 struct timezone tz;
11544 rm -f conftest.$ac_objext
11545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11546 (eval $ac_compile) 2>conftest.er1
11548 grep -v '^ *+' conftest.er1 >conftest.err
11550 cat conftest.err >&5
11551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11552 (exit $ac_status); } &&
11553 { ac_try='test -z "$ac_c_werror_flag"
11554 || test ! -s conftest.err'
11555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11556 (eval $ac_try) 2>&5
11558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11559 (exit $ac_status); }; } &&
11560 { ac_try='test -s conftest.$ac_objext'
11561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11562 (eval $ac_try) 2>&5
11564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11565 (exit $ac_status); }; }; then
11566 gfor_cv_struct_timezone=yes
11568 echo "$as_me: failed program was:" >&5
11569 sed 's/^/| /' conftest.$ac_ext >&5
11571 gfor_cv_struct_timezone=no
11573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11575 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
11576 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
11577 if test $gfor_cv_struct_timezone = yes; then
11578 if test "$cross_compiling" = yes; then
11579 gfor_have_struct_timezone=yes
11581 cat >conftest.$ac_ext <<_ACEOF
11584 cat confdefs.h >>conftest.$ac_ext
11585 cat >>conftest.$ac_ext <<_ACEOF
11586 /* end confdefs.h. */
11588 #ifdef TIME_WITH_SYS_TIME
11589 #include <sys/time.h>
11592 #ifdef HAVE_SYS_TIME_H
11593 #include <sys/time.h>
11600 struct timeval time;
11601 struct timezone dummy;
11602 if (gettimeofday (&time, &dummy))
11608 rm -f conftest$ac_exeext
11609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11610 (eval $ac_link) 2>&5
11612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11613 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11615 (eval $ac_try) 2>&5
11617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11618 (exit $ac_status); }; }; then
11619 gfor_have_struct_timezone=yes
11621 echo "$as_me: program exited with status $ac_status" >&5
11622 echo "$as_me: failed program was:" >&5
11623 sed 's/^/| /' conftest.$ac_ext >&5
11625 ( exit $ac_status )
11626 gfor_have_struct_timezone=no
11628 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11630 if test $gfor_have_struct_timezone = yes; then
11632 cat >>confdefs.h <<\_ACEOF
11633 #define HAVE_TIMEZONE 1
11639 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
11640 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
11641 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11642 echo $ECHO_N "(cached) $ECHO_C" >&6
11644 if test x$gcc_no_link = xyes; then
11645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11647 { (exit 1); exit 1; }; }
11649 cat >conftest.$ac_ext <<_ACEOF
11652 cat confdefs.h >>conftest.$ac_ext
11653 cat >>conftest.$ac_ext <<_ACEOF
11654 /* end confdefs.h. */
11656 #ifdef TIME_WITH_SYS_TIME
11657 #include <sys/time.h>
11660 #ifdef HAVE_SYS_TIME_H
11661 #include <sys/time.h>
11671 struct timeval time;
11672 #ifdef HAVE_TIMEZONE
11673 struct timezone dummy;
11674 #define DUMMY &dummy
11678 gettimeofday (&time, DUMMY);
11683 rm -f conftest.$ac_objext conftest$ac_exeext
11684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11685 (eval $ac_link) 2>conftest.er1
11687 grep -v '^ *+' conftest.er1 >conftest.err
11689 cat conftest.err >&5
11690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11691 (exit $ac_status); } &&
11692 { ac_try='test -z "$ac_c_werror_flag"
11693 || test ! -s conftest.err'
11694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11695 (eval $ac_try) 2>&5
11697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11698 (exit $ac_status); }; } &&
11699 { ac_try='test -s conftest$ac_exeext'
11700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11701 (eval $ac_try) 2>&5
11703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11704 (exit $ac_status); }; }; then
11705 emacs_cv_gettimeofday_two_arguments=yes
11707 echo "$as_me: failed program was:" >&5
11708 sed 's/^/| /' conftest.$ac_ext >&5
11710 emacs_cv_gettimeofday_two_arguments=no
11712 rm -f conftest.err conftest.$ac_objext \
11713 conftest$ac_exeext conftest.$ac_ext
11715 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
11716 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11717 if test $emacs_cv_gettimeofday_two_arguments = no; then
11719 cat >>confdefs.h <<\_ACEOF
11720 #define GETTIMEOFDAY_ONE_ARGUMENT 1
11726 # Attempt to assert that the target is of common type in case we don't
11727 # have C99 integer types at all.
11729 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
11730 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
11731 if test "${target_ilp32+set}" = set; then
11732 echo $ECHO_N "(cached) $ECHO_C" >&6
11735 save_CFLAGS="$CFLAGS"
11737 if test x$gcc_no_link = xyes; then
11738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11740 { (exit 1); exit 1; }; }
11742 cat >conftest.$ac_ext <<_ACEOF
11745 cat confdefs.h >>conftest.$ac_ext
11746 cat >>conftest.$ac_ext <<_ACEOF
11747 /* end confdefs.h. */
11753 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
11756 undefined_function ();
11762 rm -f conftest.$ac_objext conftest$ac_exeext
11763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11764 (eval $ac_link) 2>conftest.er1
11766 grep -v '^ *+' conftest.er1 >conftest.err
11768 cat conftest.err >&5
11769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11770 (exit $ac_status); } &&
11771 { ac_try='test -z "$ac_c_werror_flag"
11772 || test ! -s conftest.err'
11773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11774 (eval $ac_try) 2>&5
11776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11777 (exit $ac_status); }; } &&
11778 { ac_try='test -s conftest$ac_exeext'
11779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11780 (eval $ac_try) 2>&5
11782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11783 (exit $ac_status); }; }; then
11786 echo "$as_me: failed program was:" >&5
11787 sed 's/^/| /' conftest.$ac_ext >&5
11791 rm -f conftest.err conftest.$ac_objext \
11792 conftest$ac_exeext conftest.$ac_ext
11793 CFLAGS="$save_CFLAGS"
11795 echo "$as_me:$LINENO: result: $target_ilp32" >&5
11796 echo "${ECHO_T}$target_ilp32" >&6
11797 if test $target_ilp32 = yes; then
11799 cat >>confdefs.h <<\_ACEOF
11800 #define TARGET_ILP32 1
11806 # Check out attribute support.
11808 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
11809 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
11810 if test "${have_attribute_visibility+set}" = set; then
11811 echo $ECHO_N "(cached) $ECHO_C" >&6
11814 save_CFLAGS="$CFLAGS"
11815 CFLAGS="$CFLAGS -Werror"
11816 cat >conftest.$ac_ext <<_ACEOF
11819 cat confdefs.h >>conftest.$ac_ext
11820 cat >>conftest.$ac_ext <<_ACEOF
11821 /* end confdefs.h. */
11822 void __attribute__((visibility("hidden"))) foo(void) { }
11831 rm -f conftest.$ac_objext
11832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11833 (eval $ac_compile) 2>conftest.er1
11835 grep -v '^ *+' conftest.er1 >conftest.err
11837 cat conftest.err >&5
11838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11839 (exit $ac_status); } &&
11840 { ac_try='test -z "$ac_c_werror_flag"
11841 || test ! -s conftest.err'
11842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11843 (eval $ac_try) 2>&5
11845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11846 (exit $ac_status); }; } &&
11847 { ac_try='test -s conftest.$ac_objext'
11848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11849 (eval $ac_try) 2>&5
11851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11852 (exit $ac_status); }; }; then
11853 have_attribute_visibility=yes
11855 echo "$as_me: failed program was:" >&5
11856 sed 's/^/| /' conftest.$ac_ext >&5
11858 have_attribute_visibility=no
11860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11861 CFLAGS="$save_CFLAGS"
11863 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
11864 echo "${ECHO_T}$have_attribute_visibility" >&6
11865 if test $have_attribute_visibility = yes; then
11867 cat >>confdefs.h <<\_ACEOF
11868 #define HAVE_ATTRIBUTE_VISIBILITY 1
11873 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
11874 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
11875 if test "${have_attribute_dllexport+set}" = set; then
11876 echo $ECHO_N "(cached) $ECHO_C" >&6
11879 save_CFLAGS="$CFLAGS"
11880 CFLAGS="$CFLAGS -Werror"
11881 cat >conftest.$ac_ext <<_ACEOF
11884 cat confdefs.h >>conftest.$ac_ext
11885 cat >>conftest.$ac_ext <<_ACEOF
11886 /* end confdefs.h. */
11887 void __attribute__((dllexport)) foo(void) { }
11896 rm -f conftest.$ac_objext
11897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11898 (eval $ac_compile) 2>conftest.er1
11900 grep -v '^ *+' conftest.er1 >conftest.err
11902 cat conftest.err >&5
11903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11904 (exit $ac_status); } &&
11905 { ac_try='test -z "$ac_c_werror_flag"
11906 || test ! -s conftest.err'
11907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11908 (eval $ac_try) 2>&5
11910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911 (exit $ac_status); }; } &&
11912 { ac_try='test -s conftest.$ac_objext'
11913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11914 (eval $ac_try) 2>&5
11916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917 (exit $ac_status); }; }; then
11918 have_attribute_dllexport=yes
11920 echo "$as_me: failed program was:" >&5
11921 sed 's/^/| /' conftest.$ac_ext >&5
11923 have_attribute_dllexport=no
11925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11926 CFLAGS="$save_CFLAGS"
11928 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
11929 echo "${ECHO_T}$have_attribute_dllexport" >&6
11930 if test $have_attribute_dllexport = yes; then
11932 cat >>confdefs.h <<\_ACEOF
11933 #define HAVE_ATTRIBUTE_DLLEXPORT 1
11938 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
11939 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
11940 if test "${have_attribute_alias+set}" = set; then
11941 echo $ECHO_N "(cached) $ECHO_C" >&6
11944 if test x$gcc_no_link = xyes; then
11945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11947 { (exit 1); exit 1; }; }
11949 cat >conftest.$ac_ext <<_ACEOF
11952 cat confdefs.h >>conftest.$ac_ext
11953 cat >>conftest.$ac_ext <<_ACEOF
11954 /* end confdefs.h. */
11956 #define ULP STR1(__USER_LABEL_PREFIX__)
11957 #define STR1(x) STR2(x)
11960 extern void bar(void) __attribute__((alias(ULP "foo")));
11969 rm -f conftest.$ac_objext conftest$ac_exeext
11970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11971 (eval $ac_link) 2>conftest.er1
11973 grep -v '^ *+' conftest.er1 >conftest.err
11975 cat conftest.err >&5
11976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11977 (exit $ac_status); } &&
11978 { ac_try='test -z "$ac_c_werror_flag"
11979 || test ! -s conftest.err'
11980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11981 (eval $ac_try) 2>&5
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); }; } &&
11985 { ac_try='test -s conftest$ac_exeext'
11986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11987 (eval $ac_try) 2>&5
11989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11990 (exit $ac_status); }; }; then
11991 have_attribute_alias=yes
11993 echo "$as_me: failed program was:" >&5
11994 sed 's/^/| /' conftest.$ac_ext >&5
11996 have_attribute_alias=no
11998 rm -f conftest.err conftest.$ac_objext \
11999 conftest$ac_exeext conftest.$ac_ext
12001 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
12002 echo "${ECHO_T}$have_attribute_alias" >&6
12003 if test $have_attribute_alias = yes; then
12005 cat >>confdefs.h <<\_ACEOF
12006 #define HAVE_ATTRIBUTE_ALIAS 1
12011 cat >confcache <<\_ACEOF
12012 # This file is a shell script that caches the results of configure
12013 # tests run on this system so they can be shared between configure
12014 # scripts and configure runs, see configure's option --config-cache.
12015 # It is not useful on other systems. If it contains results you don't
12016 # want to keep, you may remove or edit it.
12018 # config.status only pays attention to the cache file if you give it
12019 # the --recheck option to rerun configure.
12021 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12022 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12023 # following values.
12027 # The following way of writing the cache mishandles newlines in values,
12028 # but we know of no workaround that is simple, portable, and efficient.
12029 # So, don't put newlines in cache variables' values.
12030 # Ultrix sh set writes to stderr and can't be redirected directly,
12031 # and sets the high bit in the cache file unless we assign to the vars.
12034 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12036 # `set' does not quote correctly, so add quotes (double-quote
12037 # substitution turns \\\\ into \\, and sed turns \\ into \).
12040 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12043 # `set' quotes correctly as required by POSIX, so do not add quotes.
12045 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12052 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12054 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12056 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12057 if test -w $cache_file; then
12058 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12059 cat confcache >$cache_file
12061 echo "not updating unwritable cache $cache_file"
12066 if test ${multilib} = yes; then
12067 multilib_arg="--enable-multilib"
12072 # Write our Makefile.
12073 ac_config_files="$ac_config_files Makefile"
12075 cat >confcache <<\_ACEOF
12076 # This file is a shell script that caches the results of configure
12077 # tests run on this system so they can be shared between configure
12078 # scripts and configure runs, see configure's option --config-cache.
12079 # It is not useful on other systems. If it contains results you don't
12080 # want to keep, you may remove or edit it.
12082 # config.status only pays attention to the cache file if you give it
12083 # the --recheck option to rerun configure.
12085 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12086 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12087 # following values.
12091 # The following way of writing the cache mishandles newlines in values,
12092 # but we know of no workaround that is simple, portable, and efficient.
12093 # So, don't put newlines in cache variables' values.
12094 # Ultrix sh set writes to stderr and can't be redirected directly,
12095 # and sets the high bit in the cache file unless we assign to the vars.
12098 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12100 # `set' does not quote correctly, so add quotes (double-quote
12101 # substitution turns \\\\ into \\, and sed turns \\ into \).
12104 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12107 # `set' quotes correctly as required by POSIX, so do not add quotes.
12109 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12116 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12118 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12120 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12121 if test -w $cache_file; then
12122 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12123 cat confcache >$cache_file
12125 echo "not updating unwritable cache $cache_file"
12130 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12131 # Let make expand exec_prefix.
12132 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12134 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12135 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12136 # trailing colons and then remove the whole line if VPATH becomes empty
12137 # (actually we leave an empty line to preserve line numbers).
12138 if test "x$srcdir" = x.; then
12139 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12140 s/:*\$(srcdir):*/:/;
12141 s/:*\${srcdir}:*/:/;
12143 s/^\([^=]*=[ ]*\):*/\1/;
12149 DEFS=-DHAVE_CONFIG_H
12153 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12154 # 1. Remove the extension, and $U if already installed.
12155 ac_i=`echo "$ac_i" |
12156 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12158 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
12159 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
12161 LIBOBJS=$ac_libobjs
12163 LTLIBOBJS=$ac_ltlibobjs
12166 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12167 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12168 Usually this means the macro was only invoked conditionally." >&5
12169 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12170 Usually this means the macro was only invoked conditionally." >&2;}
12171 { (exit 1); exit 1; }; }
12174 : ${CONFIG_STATUS=./config.status}
12175 ac_clean_files_save=$ac_clean_files
12176 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12177 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12178 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12179 cat >$CONFIG_STATUS <<_ACEOF
12181 # Generated by $as_me.
12182 # Run this file to recreate the current configuration.
12183 # Compiler output produced by configure, useful for debugging
12184 # configure, is in config.log if it exists.
12187 ac_cs_recheck=false
12189 SHELL=\${CONFIG_SHELL-$SHELL}
12192 cat >>$CONFIG_STATUS <<\_ACEOF
12193 ## --------------------- ##
12194 ## M4sh Initialization. ##
12195 ## --------------------- ##
12197 # Be Bourne compatible
12198 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12201 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12202 # is contrary to our usage. Disable this feature.
12203 alias -g '${1+"$@"}'='"$@"'
12204 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
12207 DUALCASE=1; export DUALCASE # for MKS sh
12209 # Support unset when possible.
12210 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12217 # Work around bugs in pre-3.0 UWIN ksh.
12218 $as_unset ENV MAIL MAILPATH
12225 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12226 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12227 LC_TELEPHONE LC_TIME
12229 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12230 eval $as_var=C; export $as_var
12236 # Required to use basename.
12237 if expr a : '\(a\)' >/dev/null 2>&1; then
12243 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
12244 as_basename=basename
12250 # Name of the executable.
12251 as_me=`$as_basename "$0" ||
12252 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12253 X"$0" : 'X\(//\)$' \| \
12254 X"$0" : 'X\(/\)$' \| \
12255 . : '\(.\)' 2>/dev/null ||
12257 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12258 /^X\/\(\/\/\)$/{ s//\1/; q; }
12259 /^X\/\(\/\).*/{ s//\1/; q; }
12263 # PATH needs CR, and LINENO needs CR and PATH.
12264 # Avoid depending upon Character Ranges.
12265 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12266 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12267 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12268 as_cr_digits='0123456789'
12269 as_cr_alnum=$as_cr_Letters$as_cr_digits
12271 # The user is always right.
12272 if test "${PATH_SEPARATOR+set}" != set; then
12273 echo "#! /bin/sh" >conf$$.sh
12274 echo "exit 0" >>conf$$.sh
12276 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12285 as_lineno_1=$LINENO
12286 as_lineno_2=$LINENO
12287 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12288 test "x$as_lineno_1" != "x$as_lineno_2" &&
12289 test "x$as_lineno_3" = "x$as_lineno_2" || {
12290 # Find who we are. Look in the path if we contain no path at all
12293 *[\\/]* ) as_myself=$0 ;;
12294 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12295 for as_dir in $PATH
12298 test -z "$as_dir" && as_dir=.
12299 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12304 # We did not find ourselves, most probably we were run as `sh COMMAND'
12305 # in which case we are not to be found in the path.
12306 if test "x$as_myself" = x; then
12309 if test ! -f "$as_myself"; then
12310 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12311 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12312 { (exit 1); exit 1; }; }
12314 case $CONFIG_SHELL in
12316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12317 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
12320 test -z "$as_dir" && as_dir=.
12321 for as_base in sh bash ksh sh5; do
12324 if ("$as_dir/$as_base" -c '
12325 as_lineno_1=$LINENO
12326 as_lineno_2=$LINENO
12327 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12328 test "x$as_lineno_1" != "x$as_lineno_2" &&
12329 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
12330 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
12331 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
12332 CONFIG_SHELL=$as_dir/$as_base
12333 export CONFIG_SHELL
12334 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12342 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12343 # uniformly replaced by the line number. The first 'sed' inserts a
12344 # line-number line before each line; the second 'sed' does the real
12345 # work. The second script uses 'N' to pair each line-number line
12346 # with the numbered line, and appends trailing '-' during
12347 # substitution so that $LINENO is not a special case at line end.
12348 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12349 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12350 sed '=' <$as_myself |
12355 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12358 s,^['$as_cr_digits']*\n,,
12359 ' >$as_me.lineno &&
12360 chmod +x $as_me.lineno ||
12361 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12362 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12363 { (exit 1); exit 1; }; }
12365 # Don't try to exec as it changes $[0], causing all sort of problems
12366 # (the dirname of $[0] is not the place where we might find the
12367 # original and so on. Autoconf is especially sensible to this).
12369 # Exit status is that of the last command.
12374 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12375 *c*,-n*) ECHO_N= ECHO_C='
12377 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
12378 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
12381 if expr a : '\(a\)' >/dev/null 2>&1; then
12387 rm -f conf$$ conf$$.exe conf$$.file
12389 if ln -s conf$$.file conf$$ 2>/dev/null; then
12390 # We could just check for DJGPP; but this test a) works b) is more generic
12391 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12392 if test -f conf$$.exe; then
12393 # Don't use ln at all; we don't have any links
12398 elif ln conf$$.file conf$$ 2>/dev/null; then
12403 rm -f conf$$ conf$$.exe conf$$.file
12405 if mkdir -p . 2>/dev/null; then
12408 test -d ./-p && rmdir ./-p
12412 as_executable_p="test -f"
12414 # Sed expression to map a string onto a valid CPP name.
12415 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12417 # Sed expression to map a string onto a valid variable name.
12418 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12422 # We need space, tab and new line, in precisely that order.
12432 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12433 # report actual input values of CONFIG_FILES etc. instead of their
12434 # values after options handling. Logging --version etc. is OK.
12438 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12439 ## Running $as_me. ##
12444 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
12445 generated by GNU Autoconf 2.59. Invocation command line was
12447 CONFIG_FILES = $CONFIG_FILES
12448 CONFIG_HEADERS = $CONFIG_HEADERS
12449 CONFIG_LINKS = $CONFIG_LINKS
12450 CONFIG_COMMANDS = $CONFIG_COMMANDS
12454 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12458 # Files that config.status was made for.
12459 if test -n "$ac_config_files"; then
12460 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12463 if test -n "$ac_config_headers"; then
12464 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12467 if test -n "$ac_config_links"; then
12468 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12471 if test -n "$ac_config_commands"; then
12472 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12475 cat >>$CONFIG_STATUS <<\_ACEOF
12478 \`$as_me' instantiates files from templates according to the
12479 current configuration.
12481 Usage: $0 [OPTIONS] [FILE]...
12483 -h, --help print this help, then exit
12484 -V, --version print version number, then exit
12485 -q, --quiet do not print progress messages
12486 -d, --debug don't remove temporary files
12487 --recheck update $as_me by reconfiguring in the same conditions
12488 --file=FILE[:TEMPLATE]
12489 instantiate the configuration file FILE
12490 --header=FILE[:TEMPLATE]
12491 instantiate the configuration header FILE
12493 Configuration files:
12496 Configuration headers:
12499 Configuration commands:
12502 Report bugs to <bug-autoconf@gnu.org>."
12505 cat >>$CONFIG_STATUS <<_ACEOF
12507 GNU Fortran Runtime Library config.status 0.2
12508 configured by $0, generated by GNU Autoconf 2.59,
12509 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12511 Copyright (C) 2003 Free Software Foundation, Inc.
12512 This config.status script is free software; the Free Software Foundation
12513 gives unlimited permission to copy, distribute and modify it."
12518 cat >>$CONFIG_STATUS <<\_ACEOF
12519 # If no file are specified by the user, then we need to provide default
12520 # value. By we need to know if files were specified by the user.
12526 ac_option=`expr "x$1" : 'x\([^=]*\)='`
12527 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
12535 *) # This is not an option, so the user has probably given explicit
12538 ac_need_defaults=false;;
12542 # Handling of the options.
12544 cat >>$CONFIG_STATUS <<\_ACEOF
12545 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12547 --version | --vers* | -V )
12548 echo "$ac_cs_version"; exit 0 ;;
12550 # Conflict between --help and --header
12551 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12552 Try \`$0 --help' for more information." >&5
12553 echo "$as_me: error: ambiguous option: $1
12554 Try \`$0 --help' for more information." >&2;}
12555 { (exit 1); exit 1; }; };;
12556 --help | --hel | -h )
12557 echo "$ac_cs_usage"; exit 0 ;;
12558 --debug | --d* | -d )
12560 --file | --fil | --fi | --f )
12562 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
12563 ac_need_defaults=false;;
12564 --header | --heade | --head | --hea )
12566 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
12567 ac_need_defaults=false;;
12568 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12569 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12572 # This is an error.
12573 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12574 Try \`$0 --help' for more information." >&5
12575 echo "$as_me: error: unrecognized option: $1
12576 Try \`$0 --help' for more information." >&2;}
12577 { (exit 1); exit 1; }; } ;;
12579 *) ac_config_targets="$ac_config_targets $1" ;;
12585 ac_configure_extra_args=
12587 if $ac_cs_silent; then
12589 ac_configure_extra_args="$ac_configure_extra_args --silent"
12593 cat >>$CONFIG_STATUS <<_ACEOF
12594 if \$ac_cs_recheck; then
12595 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12596 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12601 cat >>$CONFIG_STATUS <<_ACEOF
12603 # INIT-COMMANDS section.
12610 with_multisubdir="$with_multisubdir"
12611 with_multisrctop="$with_multisrctop"
12612 with_target_subdir="$with_target_subdir"
12613 ac_configure_args="${multilib_arg} ${ac_configure_args}"
12614 multi_basedir="$multi_basedir"
12615 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
12622 cat >>$CONFIG_STATUS <<\_ACEOF
12623 for ac_config_target in $ac_config_targets
12625 case "$ac_config_target" in
12626 # Handling of arguments.
12627 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12628 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
12629 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12630 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12631 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12632 { (exit 1); exit 1; }; };;
12636 # If the user did not use the arguments to specify the items to instantiate,
12637 # then the envvar interface is used. Set only those that are not.
12638 # We use the long form for the default assignment because of an extremely
12639 # bizarre bug on SunOS 4.1.3.
12640 if $ac_need_defaults; then
12641 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12642 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12643 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12646 # Have a temporary directory for convenience. Make it in the build tree
12647 # simply because there is no reason to put it here, and in addition,
12648 # creating and moving files from /tmp can sometimes cause problems.
12649 # Create a temporary directory, and hook for its removal unless debugging.
12652 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12653 trap '{ (exit 1); exit 1; }' 1 2 13 15
12656 # Create a (secure) tmp directory for tmp files.
12659 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12660 test -n "$tmp" && test -d "$tmp"
12663 tmp=./confstat$$-$RANDOM
12664 (umask 077 && mkdir $tmp)
12667 echo "$me: cannot create a temporary directory in ." >&2
12668 { (exit 1); exit 1; }
12673 cat >>$CONFIG_STATUS <<_ACEOF
12676 # CONFIG_FILES section.
12679 # No need to generate the scripts if there are no CONFIG_FILES.
12680 # This happens for instance when ./config.status config.h
12681 if test -n "\$CONFIG_FILES"; then
12682 # Protect against being on the right side of a sed subst in config.status.
12683 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12684 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12685 s,@SHELL@,$SHELL,;t t
12686 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12687 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12688 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12689 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12690 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12691 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12692 s,@exec_prefix@,$exec_prefix,;t t
12693 s,@prefix@,$prefix,;t t
12694 s,@program_transform_name@,$program_transform_name,;t t
12695 s,@bindir@,$bindir,;t t
12696 s,@sbindir@,$sbindir,;t t
12697 s,@libexecdir@,$libexecdir,;t t
12698 s,@datadir@,$datadir,;t t
12699 s,@sysconfdir@,$sysconfdir,;t t
12700 s,@sharedstatedir@,$sharedstatedir,;t t
12701 s,@localstatedir@,$localstatedir,;t t
12702 s,@libdir@,$libdir,;t t
12703 s,@includedir@,$includedir,;t t
12704 s,@oldincludedir@,$oldincludedir,;t t
12705 s,@infodir@,$infodir,;t t
12706 s,@mandir@,$mandir,;t t
12707 s,@build_alias@,$build_alias,;t t
12708 s,@host_alias@,$host_alias,;t t
12709 s,@target_alias@,$target_alias,;t t
12710 s,@DEFS@,$DEFS,;t t
12711 s,@ECHO_C@,$ECHO_C,;t t
12712 s,@ECHO_N@,$ECHO_N,;t t
12713 s,@ECHO_T@,$ECHO_T,;t t
12714 s,@LIBS@,$LIBS,;t t
12715 s,@build@,$build,;t t
12716 s,@build_cpu@,$build_cpu,;t t
12717 s,@build_vendor@,$build_vendor,;t t
12718 s,@build_os@,$build_os,;t t
12719 s,@host@,$host,;t t
12720 s,@host_cpu@,$host_cpu,;t t
12721 s,@host_vendor@,$host_vendor,;t t
12722 s,@host_os@,$host_os,;t t
12723 s,@target@,$target,;t t
12724 s,@target_cpu@,$target_cpu,;t t
12725 s,@target_vendor@,$target_vendor,;t t
12726 s,@target_os@,$target_os,;t t
12727 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12728 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12729 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12730 s,@CYGPATH_W@,$CYGPATH_W,;t t
12731 s,@PACKAGE@,$PACKAGE,;t t
12732 s,@VERSION@,$VERSION,;t t
12733 s,@ACLOCAL@,$ACLOCAL,;t t
12734 s,@AUTOCONF@,$AUTOCONF,;t t
12735 s,@AUTOMAKE@,$AUTOMAKE,;t t
12736 s,@AUTOHEADER@,$AUTOHEADER,;t t
12737 s,@MAKEINFO@,$MAKEINFO,;t t
12738 s,@install_sh@,$install_sh,;t t
12739 s,@STRIP@,$STRIP,;t t
12740 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12741 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
12742 s,@mkdir_p@,$mkdir_p,;t t
12744 s,@SET_MAKE@,$SET_MAKE,;t t
12745 s,@am__leading_dot@,$am__leading_dot,;t t
12746 s,@AMTAR@,$AMTAR,;t t
12747 s,@am__tar@,$am__tar,;t t
12748 s,@am__untar@,$am__untar,;t t
12749 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12750 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12751 s,@MAINT@,$MAINT,;t t
12752 s,@multi_basedir@,$multi_basedir,;t t
12753 s,@toolexecdir@,$toolexecdir,;t t
12754 s,@toolexeclibdir@,$toolexeclibdir,;t t
12756 s,@ac_ct_CC@,$ac_ct_CC,;t t
12757 s,@EXEEXT@,$EXEEXT,;t t
12758 s,@OBJEXT@,$OBJEXT,;t t
12759 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
12760 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
12762 s,@ac_ct_AS@,$ac_ct_AS,;t t
12764 s,@ac_ct_AR@,$ac_ct_AR,;t t
12765 s,@RANLIB@,$RANLIB,;t t
12766 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12767 s,@LN_S@,$LN_S,;t t
12768 s,@LIBTOOL@,$LIBTOOL,;t t
12769 s,@enable_shared@,$enable_shared,;t t
12770 s,@enable_static@,$enable_static,;t t
12772 s,@FCFLAGS@,$FCFLAGS,;t t
12773 s,@LDFLAGS@,$LDFLAGS,;t t
12774 s,@ac_ct_FC@,$ac_ct_FC,;t t
12775 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
12777 s,@CPPFLAGS@,$CPPFLAGS,;t t
12778 s,@EGREP@,$EGREP,;t t
12779 s,@MATH_OBJ@,$MATH_OBJ,;t t
12780 s,@LIBOBJS@,$LIBOBJS,;t t
12781 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12786 cat >>$CONFIG_STATUS <<\_ACEOF
12787 # Split the substitutions into bite-sized pieces for seds with
12788 # small command number limits, like on Digital OSF/1 and HP-UX.
12789 ac_max_sed_lines=48
12790 ac_sed_frag=1 # Number of current file.
12791 ac_beg=1 # First line for current file.
12792 ac_end=$ac_max_sed_lines # Line after last line for current file.
12795 while $ac_more_lines; do
12796 if test $ac_beg -gt 1; then
12797 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12799 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12801 if test ! -s $tmp/subs.frag; then
12802 ac_more_lines=false
12804 # The purpose of the label and of the branching condition is to
12805 # speed up the sed processing (if there are no `@' at all, there
12806 # is no need to browse any of the substitutions).
12807 # These are the two extra sed commands mentioned above.
12809 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
12810 if test -z "$ac_sed_cmds"; then
12811 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
12813 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12815 ac_sed_frag=`expr $ac_sed_frag + 1`
12817 ac_end=`expr $ac_end + $ac_max_sed_lines`
12820 if test -z "$ac_sed_cmds"; then
12823 fi # test -n "$CONFIG_FILES"
12826 cat >>$CONFIG_STATUS <<\_ACEOF
12827 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
12828 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12830 - | *:- | *:-:* ) # input from stdin
12832 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12833 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12834 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12835 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12836 * ) ac_file_in=$ac_file.in ;;
12839 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12840 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12841 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12842 X"$ac_file" : 'X\(//\)[^/]' \| \
12843 X"$ac_file" : 'X\(//\)$' \| \
12844 X"$ac_file" : 'X\(/\)' \| \
12845 . : '\(.\)' 2>/dev/null ||
12847 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12848 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12849 /^X\(\/\/\)$/{ s//\1/; q; }
12850 /^X\(\/\).*/{ s//\1/; q; }
12852 { if $as_mkdir_p; then
12857 while test ! -d "$as_dir"; do
12858 as_dirs="$as_dir $as_dirs"
12859 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12860 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12861 X"$as_dir" : 'X\(//\)[^/]' \| \
12862 X"$as_dir" : 'X\(//\)$' \| \
12863 X"$as_dir" : 'X\(/\)' \| \
12864 . : '\(.\)' 2>/dev/null ||
12866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12867 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12868 /^X\(\/\/\)$/{ s//\1/; q; }
12869 /^X\(\/\).*/{ s//\1/; q; }
12872 test ! -n "$as_dirs" || mkdir $as_dirs
12873 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12874 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12875 { (exit 1); exit 1; }; }; }
12879 if test "$ac_dir" != .; then
12880 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12881 # A "../" for each directory in $ac_dir_suffix.
12882 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12884 ac_dir_suffix= ac_top_builddir=
12888 .) # No --srcdir option. We are building in place.
12890 if test -z "$ac_top_builddir"; then
12893 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12895 [\\/]* | ?:[\\/]* ) # Absolute path.
12896 ac_srcdir=$srcdir$ac_dir_suffix;
12897 ac_top_srcdir=$srcdir ;;
12898 *) # Relative path.
12899 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12900 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12903 # Do not use `cd foo && pwd` to compute absolute paths, because
12904 # the directories may not exist.
12906 .) ac_abs_builddir="$ac_dir";;
12909 .) ac_abs_builddir=`pwd`;;
12910 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12911 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12914 case $ac_abs_builddir in
12915 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12917 case ${ac_top_builddir}. in
12918 .) ac_abs_top_builddir=$ac_abs_builddir;;
12919 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12920 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12923 case $ac_abs_builddir in
12924 .) ac_abs_srcdir=$ac_srcdir;;
12927 .) ac_abs_srcdir=$ac_abs_builddir;;
12928 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12929 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12932 case $ac_abs_builddir in
12933 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12935 case $ac_top_srcdir in
12936 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12937 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12938 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12944 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12945 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
12948 if test x"$ac_file" != x-; then
12949 { echo "$as_me:$LINENO: creating $ac_file" >&5
12950 echo "$as_me: creating $ac_file" >&6;}
12953 # Let's still pretend it is `configure' which instantiates (i.e., don't
12954 # use $as_me), people would be surprised to read:
12955 # /* config.h. Generated by config.status. */
12956 if test x"$ac_file" = x-; then
12959 configure_input="$ac_file. "
12961 configure_input=$configure_input"Generated from `echo $ac_file_in |
12962 sed 's,.*/,,'` by configure."
12964 # First look for the input files in the build tree, otherwise in the
12966 ac_file_inputs=`IFS=:
12967 for f in $ac_file_in; do
12969 -) echo $tmp/stdin ;;
12971 # Absolute (can't be DOS-style, as IFS=:)
12972 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12973 echo "$as_me: error: cannot find input file: $f" >&2;}
12974 { (exit 1); exit 1; }; }
12977 if test -f "$f"; then
12980 elif test -f "$srcdir/$f"; then
12985 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12986 echo "$as_me: error: cannot find input file: $f" >&2;}
12987 { (exit 1); exit 1; }; }
12990 done` || { (exit 1); exit 1; }
12992 cat >>$CONFIG_STATUS <<_ACEOF
12996 cat >>$CONFIG_STATUS <<\_ACEOF
12998 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12999 s,@configure_input@,$configure_input,;t t
13000 s,@srcdir@,$ac_srcdir,;t t
13001 s,@abs_srcdir@,$ac_abs_srcdir,;t t
13002 s,@top_srcdir@,$ac_top_srcdir,;t t
13003 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
13004 s,@builddir@,$ac_builddir,;t t
13005 s,@abs_builddir@,$ac_abs_builddir,;t t
13006 s,@top_builddir@,$ac_top_builddir,;t t
13007 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
13008 s,@INSTALL@,$ac_INSTALL,;t t
13009 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13011 if test x"$ac_file" != x-; then
13012 mv $tmp/out $ac_file
13020 cat >>$CONFIG_STATUS <<\_ACEOF
13023 # CONFIG_HEADER section.
13026 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
13027 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13029 # ac_d sets the value in "#define NAME VALUE" lines.
13030 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13031 ac_dB='[ ].*$,\1#\2'
13034 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13035 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13036 ac_uB='$,\1#\2define\3'
13040 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
13041 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13043 - | *:- | *:-:* ) # input from stdin
13045 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13046 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13047 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13048 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13049 * ) ac_file_in=$ac_file.in ;;
13052 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
13053 echo "$as_me: creating $ac_file" >&6;}
13055 # First look for the input files in the build tree, otherwise in the
13057 ac_file_inputs=`IFS=:
13058 for f in $ac_file_in; do
13060 -) echo $tmp/stdin ;;
13062 # Absolute (can't be DOS-style, as IFS=:)
13063 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13064 echo "$as_me: error: cannot find input file: $f" >&2;}
13065 { (exit 1); exit 1; }; }
13066 # Do quote $f, to prevent DOS paths from being IFS'd.
13069 if test -f "$f"; then
13072 elif test -f "$srcdir/$f"; then
13077 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13078 echo "$as_me: error: cannot find input file: $f" >&2;}
13079 { (exit 1); exit 1; }; }
13082 done` || { (exit 1); exit 1; }
13083 # Remove the trailing spaces.
13084 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
13088 # Transform confdefs.h into two sed scripts, `conftest.defines' and
13089 # `conftest.undefs', that substitutes the proper values into
13090 # config.h.in to produce config.h. The first handles `#define'
13091 # templates, and the second `#undef' templates.
13092 # And first: Protect against being on the right side of a sed subst in
13093 # config.status. Protect against being in an unquoted here document
13094 # in config.status.
13095 rm -f conftest.defines conftest.undefs
13096 # Using a here document instead of a string reduces the quoting nightmare.
13097 # Putting comments in sed scripts is not portable.
13099 # `end' is used to avoid that the second main sed command (meant for
13100 # 0-ary CPP macros) applies to n-ary macro definitions.
13101 # See the Autoconf documentation for `clear'.
13102 cat >confdef2sed.sed <<\_ACEOF
13107 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
13109 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
13112 # If some macros were called several times there might be several times
13113 # the same #defines, which is useless. Nevertheless, we may not want to
13114 # sort them, since we want the *last* AC-DEFINE to be honored.
13115 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
13116 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
13117 rm -f confdef2sed.sed
13119 # This sed command replaces #undef with comments. This is necessary, for
13120 # example, in the case of _POSIX_SOURCE, which is predefined and required
13121 # on some systems where configure will not decide to define it.
13122 cat >>conftest.undefs <<\_ACEOF
13123 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
13126 # Break up conftest.defines because some shells have a limit on the size
13127 # of here documents, and old seds have small limits too (100 cmds).
13128 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
13129 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
13130 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
13131 echo ' :' >>$CONFIG_STATUS
13132 rm -f conftest.tail
13133 while grep . conftest.defines >/dev/null
13135 # Write a limited-size here document to $tmp/defines.sed.
13136 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
13137 # Speed up: don't consider the non `#define' lines.
13138 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
13139 # Work around the forget-to-reset-the-flag bug.
13140 echo 't clr' >>$CONFIG_STATUS
13141 echo ': clr' >>$CONFIG_STATUS
13142 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
13144 sed -f $tmp/defines.sed $tmp/in >$tmp/out
13146 mv $tmp/out $tmp/in
13148 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
13149 rm -f conftest.defines
13150 mv conftest.tail conftest.defines
13152 rm -f conftest.defines
13153 echo ' fi # grep' >>$CONFIG_STATUS
13154 echo >>$CONFIG_STATUS
13156 # Break up conftest.undefs because some shells have a limit on the size
13157 # of here documents, and old seds have small limits too (100 cmds).
13158 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
13159 rm -f conftest.tail
13160 while grep . conftest.undefs >/dev/null
13162 # Write a limited-size here document to $tmp/undefs.sed.
13163 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
13164 # Speed up: don't consider the non `#undef'
13165 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
13166 # Work around the forget-to-reset-the-flag bug.
13167 echo 't clr' >>$CONFIG_STATUS
13168 echo ': clr' >>$CONFIG_STATUS
13169 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
13171 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
13173 mv $tmp/out $tmp/in
13175 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
13176 rm -f conftest.undefs
13177 mv conftest.tail conftest.undefs
13179 rm -f conftest.undefs
13181 cat >>$CONFIG_STATUS <<\_ACEOF
13182 # Let's still pretend it is `configure' which instantiates (i.e., don't
13183 # use $as_me), people would be surprised to read:
13184 # /* config.h. Generated by config.status. */
13185 if test x"$ac_file" = x-; then
13186 echo "/* Generated by configure. */" >$tmp/config.h
13188 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
13190 cat $tmp/in >>$tmp/config.h
13192 if test x"$ac_file" != x-; then
13193 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
13194 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13195 echo "$as_me: $ac_file is unchanged" >&6;}
13197 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
13198 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13199 X"$ac_file" : 'X\(//\)[^/]' \| \
13200 X"$ac_file" : 'X\(//\)$' \| \
13201 X"$ac_file" : 'X\(/\)' \| \
13202 . : '\(.\)' 2>/dev/null ||
13204 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13205 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13206 /^X\(\/\/\)$/{ s//\1/; q; }
13207 /^X\(\/\).*/{ s//\1/; q; }
13209 { if $as_mkdir_p; then
13214 while test ! -d "$as_dir"; do
13215 as_dirs="$as_dir $as_dirs"
13216 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13217 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13218 X"$as_dir" : 'X\(//\)[^/]' \| \
13219 X"$as_dir" : 'X\(//\)$' \| \
13220 X"$as_dir" : 'X\(/\)' \| \
13221 . : '\(.\)' 2>/dev/null ||
13223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13224 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13225 /^X\(\/\/\)$/{ s//\1/; q; }
13226 /^X\(\/\).*/{ s//\1/; q; }
13229 test ! -n "$as_dirs" || mkdir $as_dirs
13230 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13231 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13232 { (exit 1); exit 1; }; }; }
13235 mv $tmp/config.h $ac_file
13239 rm -f $tmp/config.h
13241 # Compute $ac_file's index in $config_headers.
13243 for _am_header in $config_headers :; do
13244 case $_am_header in
13245 $ac_file | $ac_file:* )
13248 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13251 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
13252 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13253 X$ac_file : 'X\(//\)[^/]' \| \
13254 X$ac_file : 'X\(//\)$' \| \
13255 X$ac_file : 'X\(/\)' \| \
13256 . : '\(.\)' 2>/dev/null ||
13258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13259 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13260 /^X\(\/\/\)$/{ s//\1/; q; }
13261 /^X\(\/\).*/{ s//\1/; q; }
13262 s/.*/./; q'`/stamp-h$_am_stamp_count
13265 cat >>$CONFIG_STATUS <<\_ACEOF
13268 # CONFIG_COMMANDS section.
13270 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
13271 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
13272 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
13273 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
13274 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13275 X"$ac_dest" : 'X\(//\)[^/]' \| \
13276 X"$ac_dest" : 'X\(//\)$' \| \
13277 X"$ac_dest" : 'X\(/\)' \| \
13278 . : '\(.\)' 2>/dev/null ||
13280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13281 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13282 /^X\(\/\/\)$/{ s//\1/; q; }
13283 /^X\(\/\).*/{ s//\1/; q; }
13285 { if $as_mkdir_p; then
13290 while test ! -d "$as_dir"; do
13291 as_dirs="$as_dir $as_dirs"
13292 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13293 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13294 X"$as_dir" : 'X\(//\)[^/]' \| \
13295 X"$as_dir" : 'X\(//\)$' \| \
13296 X"$as_dir" : 'X\(/\)' \| \
13297 . : '\(.\)' 2>/dev/null ||
13299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13300 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13301 /^X\(\/\/\)$/{ s//\1/; q; }
13302 /^X\(\/\).*/{ s//\1/; q; }
13305 test ! -n "$as_dirs" || mkdir $as_dirs
13306 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13307 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13308 { (exit 1); exit 1; }; }; }
13312 if test "$ac_dir" != .; then
13313 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13314 # A "../" for each directory in $ac_dir_suffix.
13315 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13317 ac_dir_suffix= ac_top_builddir=
13321 .) # No --srcdir option. We are building in place.
13323 if test -z "$ac_top_builddir"; then
13326 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
13328 [\\/]* | ?:[\\/]* ) # Absolute path.
13329 ac_srcdir=$srcdir$ac_dir_suffix;
13330 ac_top_srcdir=$srcdir ;;
13331 *) # Relative path.
13332 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13333 ac_top_srcdir=$ac_top_builddir$srcdir ;;
13336 # Do not use `cd foo && pwd` to compute absolute paths, because
13337 # the directories may not exist.
13339 .) ac_abs_builddir="$ac_dir";;
13342 .) ac_abs_builddir=`pwd`;;
13343 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
13344 *) ac_abs_builddir=`pwd`/"$ac_dir";;
13347 case $ac_abs_builddir in
13348 .) ac_abs_top_builddir=${ac_top_builddir}.;;
13350 case ${ac_top_builddir}. in
13351 .) ac_abs_top_builddir=$ac_abs_builddir;;
13352 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
13353 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
13356 case $ac_abs_builddir in
13357 .) ac_abs_srcdir=$ac_srcdir;;
13360 .) ac_abs_srcdir=$ac_abs_builddir;;
13361 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
13362 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
13365 case $ac_abs_builddir in
13366 .) ac_abs_top_srcdir=$ac_top_srcdir;;
13368 case $ac_top_srcdir in
13369 .) ac_abs_top_srcdir=$ac_abs_builddir;;
13370 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
13371 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
13376 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
13377 echo "$as_me: executing $ac_dest commands" >&6;}
13380 # Only add multilib support code if we just rebuilt the top-level
13382 case " $CONFIG_FILES " in
13384 ac_file=Makefile . ${multi_basedir}/config-ml.in
13391 cat >>$CONFIG_STATUS <<\_ACEOF
13393 { (exit 0); exit 0; }
13395 chmod +x $CONFIG_STATUS
13396 ac_clean_files=$ac_clean_files_save
13399 # configure is writing to config.log, and then calls config.status.
13400 # config.status does its own redirection, appending to config.log.
13401 # Unfortunately, on DOS this fails, as config.log is still kept open
13402 # by configure, so config.status won't be able to write to it; its
13403 # output is simply discarded. So we exec the FD to /dev/null,
13404 # effectively closing config.log, so it can be properly (re)opened and
13405 # appended to by config.status. When coming back to configure, we
13406 # need to make the FD available again.
13407 if test "$no_create" != yes; then
13409 ac_config_status_args=
13410 test "$silent" = yes &&
13411 ac_config_status_args="$ac_config_status_args --quiet"
13413 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13415 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13416 # would make configure fail if this is the last instruction.
13417 $ac_cs_success || { (exit 1); exit 1; }