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 gcc_version_trigger gcc_version_full gcc_version toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT 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 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
1966 if test "${with_gcc_version_trigger+set}" = set; then
1967 gcc_version_trigger
=$with_gcc_version_trigger
1969 gcc_version_trigger
=$srcdir/..
/gcc
/version.c
1971 if test -f "${gcc_version_trigger}"; then
1972 gcc_version_full
=`grep version_string "${gcc_version_trigger}" | sed -e 's/.*"\([^"]*\)".*/\1/'`
1974 gcc_version_full
=`$CC -v 2>&1 | sed -n 's/^gcc version //p'`
1976 gcc_version
=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
1982 # Calculate toolexeclibdir
1983 # Also toolexecdir, though it's only used in toolexeclibdir
1984 case ${version_specific_libs} in
1986 # Need the gcc compiler version to know where to install libraries
1987 # and header files if --enable-version-specific-runtime-libs option
1989 toolexecdir
='$(libdir)/gcc/$(target_alias)'
1990 toolexeclibdir
='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
1993 if test -n "$with_cross_host" &&
1994 test x
"$with_cross_host" != x
"no"; then
1995 # Install a library built with a cross compiler in tooldir, not libdir.
1996 toolexecdir
='$(exec_prefix)/$(target_alias)'
1997 toolexeclibdir
='$(toolexecdir)/lib'
1999 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
2000 toolexeclibdir
='$(libdir)'
2002 multi_os_directory
=`$CC -print-multi-os-directory`
2003 case $multi_os_directory in
2004 .
) ;; # Avoid trailing /.
2005 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
2012 # Check the compiler.
2013 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2014 # We must force CC to /not/ be precious variables; otherwise
2015 # the wrong, non-multilib-adjusted value will be used in multilibs.
2016 # As a side effect, we have to subst CFLAGS ourselves.
2021 ac_cpp
='$CPP $CPPFLAGS'
2022 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2023 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2024 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2025 if test -n "$ac_tool_prefix"; then
2026 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2027 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2028 echo "$as_me:$LINENO: checking for $ac_word" >&5
2029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2030 if test "${ac_cv_prog_CC+set}" = set; then
2031 echo $ECHO_N "(cached) $ECHO_C" >&6
2033 if test -n "$CC"; then
2034 ac_cv_prog_CC
="$CC" # Let the user override the test.
2036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2040 test -z "$as_dir" && as_dir
=.
2041 for ac_exec_ext
in '' $ac_executable_extensions; do
2042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2043 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2053 if test -n "$CC"; then
2054 echo "$as_me:$LINENO: result: $CC" >&5
2055 echo "${ECHO_T}$CC" >&6
2057 echo "$as_me:$LINENO: result: no" >&5
2058 echo "${ECHO_T}no" >&6
2062 if test -z "$ac_cv_prog_CC"; then
2064 # Extract the first word of "gcc", so it can be a program name with args.
2065 set dummy gcc
; ac_word
=$2
2066 echo "$as_me:$LINENO: checking for $ac_word" >&5
2067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2068 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2069 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 if test -n "$ac_ct_CC"; then
2072 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2078 test -z "$as_dir" && as_dir
=.
2079 for ac_exec_ext
in '' $ac_executable_extensions; do
2080 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2081 ac_cv_prog_ac_ct_CC
="gcc"
2082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2090 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2091 if test -n "$ac_ct_CC"; then
2092 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2093 echo "${ECHO_T}$ac_ct_CC" >&6
2095 echo "$as_me:$LINENO: result: no" >&5
2096 echo "${ECHO_T}no" >&6
2104 if test -z "$CC"; then
2105 if test -n "$ac_tool_prefix"; then
2106 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2107 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2108 echo "$as_me:$LINENO: checking for $ac_word" >&5
2109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2110 if test "${ac_cv_prog_CC+set}" = set; then
2111 echo $ECHO_N "(cached) $ECHO_C" >&6
2113 if test -n "$CC"; then
2114 ac_cv_prog_CC
="$CC" # Let the user override the test.
2116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2120 test -z "$as_dir" && as_dir
=.
2121 for ac_exec_ext
in '' $ac_executable_extensions; do
2122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2123 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2133 if test -n "$CC"; then
2134 echo "$as_me:$LINENO: result: $CC" >&5
2135 echo "${ECHO_T}$CC" >&6
2137 echo "$as_me:$LINENO: result: no" >&5
2138 echo "${ECHO_T}no" >&6
2142 if test -z "$ac_cv_prog_CC"; then
2144 # Extract the first word of "cc", so it can be a program name with args.
2145 set dummy cc
; ac_word
=$2
2146 echo "$as_me:$LINENO: checking for $ac_word" >&5
2147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2148 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2149 echo $ECHO_N "(cached) $ECHO_C" >&6
2151 if test -n "$ac_ct_CC"; then
2152 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2158 test -z "$as_dir" && as_dir
=.
2159 for ac_exec_ext
in '' $ac_executable_extensions; do
2160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2161 ac_cv_prog_ac_ct_CC
="cc"
2162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2170 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2171 if test -n "$ac_ct_CC"; then
2172 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2173 echo "${ECHO_T}$ac_ct_CC" >&6
2175 echo "$as_me:$LINENO: result: no" >&5
2176 echo "${ECHO_T}no" >&6
2185 if test -z "$CC"; then
2186 # Extract the first word of "cc", so it can be a program name with args.
2187 set dummy cc
; ac_word
=$2
2188 echo "$as_me:$LINENO: checking for $ac_word" >&5
2189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2190 if test "${ac_cv_prog_CC+set}" = set; then
2191 echo $ECHO_N "(cached) $ECHO_C" >&6
2193 if test -n "$CC"; then
2194 ac_cv_prog_CC
="$CC" # Let the user override the test.
2197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2201 test -z "$as_dir" && as_dir
=.
2202 for ac_exec_ext
in '' $ac_executable_extensions; do
2203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2204 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2205 ac_prog_rejected
=yes
2209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2215 if test $ac_prog_rejected = yes; then
2216 # We found a bogon in the path, so make sure we never use it.
2217 set dummy
$ac_cv_prog_CC
2219 if test $# != 0; then
2220 # We chose a different compiler from the bogus one.
2221 # However, it has the same basename, so the bogon will be chosen
2222 # first if we set CC to just the basename; use the full file name.
2224 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2230 if test -n "$CC"; then
2231 echo "$as_me:$LINENO: result: $CC" >&5
2232 echo "${ECHO_T}$CC" >&6
2234 echo "$as_me:$LINENO: result: no" >&5
2235 echo "${ECHO_T}no" >&6
2239 if test -z "$CC"; then
2240 if test -n "$ac_tool_prefix"; then
2243 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2244 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2245 echo "$as_me:$LINENO: checking for $ac_word" >&5
2246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2247 if test "${ac_cv_prog_CC+set}" = set; then
2248 echo $ECHO_N "(cached) $ECHO_C" >&6
2250 if test -n "$CC"; then
2251 ac_cv_prog_CC
="$CC" # Let the user override the test.
2253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2257 test -z "$as_dir" && as_dir
=.
2258 for ac_exec_ext
in '' $ac_executable_extensions; do
2259 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2260 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2270 if test -n "$CC"; then
2271 echo "$as_me:$LINENO: result: $CC" >&5
2272 echo "${ECHO_T}$CC" >&6
2274 echo "$as_me:$LINENO: result: no" >&5
2275 echo "${ECHO_T}no" >&6
2278 test -n "$CC" && break
2281 if test -z "$CC"; then
2285 # Extract the first word of "$ac_prog", so it can be a program name with args.
2286 set dummy
$ac_prog; ac_word
=$2
2287 echo "$as_me:$LINENO: checking for $ac_word" >&5
2288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2289 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2290 echo $ECHO_N "(cached) $ECHO_C" >&6
2292 if test -n "$ac_ct_CC"; then
2293 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2299 test -z "$as_dir" && as_dir
=.
2300 for ac_exec_ext
in '' $ac_executable_extensions; do
2301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2302 ac_cv_prog_ac_ct_CC
="$ac_prog"
2303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2311 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2312 if test -n "$ac_ct_CC"; then
2313 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2314 echo "${ECHO_T}$ac_ct_CC" >&6
2316 echo "$as_me:$LINENO: result: no" >&5
2317 echo "${ECHO_T}no" >&6
2320 test -n "$ac_ct_CC" && break
2329 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2330 See \`config.log' for more details." >&5
2331 echo "$as_me: error: no acceptable C compiler found in \$PATH
2332 See \`config.log' for more details." >&2;}
2333 { (exit 1); exit 1; }; }
2335 # Provide some information about the compiler.
2336 echo "$as_me:$LINENO:" \
2337 "checking for C compiler version" >&5
2338 ac_compiler
=`set X $ac_compile; echo $2`
2339 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2340 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2343 (exit $ac_status); }
2344 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2345 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348 (exit $ac_status); }
2349 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2350 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353 (exit $ac_status); }
2355 cat >conftest.
$ac_ext <<_ACEOF
2358 cat confdefs.h
>>conftest.
$ac_ext
2359 cat >>conftest.
$ac_ext <<_ACEOF
2360 /* end confdefs.h. */
2371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2372 (eval $ac_link) 2>&5
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); }; then
2381 if test x
$gcc_no_link = xyes
; then
2382 # Setting cross_compile will disable run tests; it will
2383 # also disable AC_CHECK_FILE but that's generally
2384 # correct if we can't link.
2388 cat >conftest.
$ac_ext <<_ACEOF
2391 cat confdefs.h
>>conftest.
$ac_ext
2392 cat >>conftest.
$ac_ext <<_ACEOF
2393 /* end confdefs.h. */
2403 ac_clean_files_save
=$ac_clean_files
2404 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2405 # Try to create an executable without -o first, disregard a.out.
2406 # It will help us diagnose broken compilers, and finding out an intuition
2408 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2409 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2410 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2411 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2412 (eval $ac_link_default) 2>&5
2414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2415 (exit $ac_status); }; then
2416 # Find the output, starting from the most likely. This scheme is
2417 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2420 # Be careful to initialize this variable, since it used to be cached.
2421 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2423 # b.out is created by i960 compilers.
2424 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2426 test -f "$ac_file" ||
continue
2428 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2431 # This is the source file.
2434 # We found the default executable, but exeext='' is most
2438 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2439 # FIXME: I believe we export ac_cv_exeext for Libtool,
2440 # but it would be cool to find out if it's true. Does anybody
2441 # maintain Libtool? --akim.
2449 echo "$as_me: failed program was:" >&5
2450 sed 's/^/| /' conftest.
$ac_ext >&5
2452 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2453 See \`config.log' for more details." >&5
2454 echo "$as_me: error: C compiler cannot create executables
2455 See \`config.log' for more details." >&2;}
2456 { (exit 77); exit 77; }; }
2459 ac_exeext
=$ac_cv_exeext
2460 echo "$as_me:$LINENO: result: $ac_file" >&5
2461 echo "${ECHO_T}$ac_file" >&6
2463 # Check the compiler produces executables we can run. If not, either
2464 # the compiler is broken, or we cross compile.
2465 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2466 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2467 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2468 # If not cross compiling, check that we can run a simple program.
2469 if test "$cross_compiling" != yes; then
2470 if { ac_try
='./$ac_file'
2471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); }; }; then
2478 if test "$cross_compiling" = maybe
; then
2481 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2482 If you meant to cross compile, use \`--host'.
2483 See \`config.log' for more details." >&5
2484 echo "$as_me: error: cannot run C compiled programs.
2485 If you meant to cross compile, use \`--host'.
2486 See \`config.log' for more details." >&2;}
2487 { (exit 1); exit 1; }; }
2491 echo "$as_me:$LINENO: result: yes" >&5
2492 echo "${ECHO_T}yes" >&6
2494 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2495 ac_clean_files
=$ac_clean_files_save
2496 # Check the compiler produces executables we can run. If not, either
2497 # the compiler is broken, or we cross compile.
2498 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2499 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2500 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2501 echo "${ECHO_T}$cross_compiling" >&6
2503 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2504 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2506 (eval $ac_link) 2>&5
2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509 (exit $ac_status); }; then
2510 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2511 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2512 # work properly (i.e., refer to `conftest.exe'), while it won't with
2514 for ac_file
in conftest.exe conftest conftest.
*; do
2515 test -f "$ac_file" ||
continue
2517 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2518 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2525 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2526 See \`config.log' for more details." >&5
2527 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2528 See \`config.log' for more details." >&2;}
2529 { (exit 1); exit 1; }; }
2532 rm -f conftest
$ac_cv_exeext
2533 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2534 echo "${ECHO_T}$ac_cv_exeext" >&6
2536 rm -f conftest.
$ac_ext
2537 EXEEXT
=$ac_cv_exeext
2540 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2541 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2542 if test "${ac_cv_objext+set}" = set; then
2543 echo $ECHO_N "(cached) $ECHO_C" >&6
2545 cat >conftest.
$ac_ext <<_ACEOF
2548 cat confdefs.h
>>conftest.
$ac_ext
2549 cat >>conftest.
$ac_ext <<_ACEOF
2550 /* end confdefs.h. */
2560 rm -f conftest.o conftest.obj
2561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2562 (eval $ac_compile) 2>&5
2564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565 (exit $ac_status); }; then
2566 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2568 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2569 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2574 echo "$as_me: failed program was:" >&5
2575 sed 's/^/| /' conftest.
$ac_ext >&5
2577 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2578 See \`config.log' for more details." >&5
2579 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2580 See \`config.log' for more details." >&2;}
2581 { (exit 1); exit 1; }; }
2584 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2586 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2587 echo "${ECHO_T}$ac_cv_objext" >&6
2588 OBJEXT
=$ac_cv_objext
2590 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2591 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2592 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2593 echo $ECHO_N "(cached) $ECHO_C" >&6
2595 cat >conftest.
$ac_ext <<_ACEOF
2598 cat confdefs.h
>>conftest.
$ac_ext
2599 cat >>conftest.
$ac_ext <<_ACEOF
2600 /* end confdefs.h. */
2613 rm -f conftest.
$ac_objext
2614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2615 (eval $ac_compile) 2>conftest.er1
2617 grep -v '^ *+' conftest.er1
>conftest.err
2619 cat conftest.err
>&5
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); } &&
2622 { ac_try
='test -z "$ac_c_werror_flag"
2623 || test ! -s conftest.err'
2624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); }; } &&
2629 { ac_try
='test -s conftest.$ac_objext'
2630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634 (exit $ac_status); }; }; then
2637 echo "$as_me: failed program was:" >&5
2638 sed 's/^/| /' conftest.
$ac_ext >&5
2642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2643 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2646 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2647 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2648 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2649 ac_test_CFLAGS
=${CFLAGS+set}
2650 ac_save_CFLAGS
=$CFLAGS
2652 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2653 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2654 if test "${ac_cv_prog_cc_g+set}" = set; then
2655 echo $ECHO_N "(cached) $ECHO_C" >&6
2657 cat >conftest.
$ac_ext <<_ACEOF
2660 cat confdefs.h
>>conftest.
$ac_ext
2661 cat >>conftest.
$ac_ext <<_ACEOF
2662 /* end confdefs.h. */
2672 rm -f conftest.
$ac_objext
2673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2674 (eval $ac_compile) 2>conftest.er1
2676 grep -v '^ *+' conftest.er1
>conftest.err
2678 cat conftest.err
>&5
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); } &&
2681 { ac_try
='test -z "$ac_c_werror_flag"
2682 || test ! -s conftest.err'
2683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687 (exit $ac_status); }; } &&
2688 { ac_try
='test -s conftest.$ac_objext'
2689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); }; }; then
2696 echo "$as_me: failed program was:" >&5
2697 sed 's/^/| /' conftest.
$ac_ext >&5
2701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2703 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2704 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2705 if test "$ac_test_CFLAGS" = set; then
2706 CFLAGS
=$ac_save_CFLAGS
2707 elif test $ac_cv_prog_cc_g = yes; then
2708 if test "$GCC" = yes; then
2714 if test "$GCC" = yes; then
2720 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2721 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2722 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2723 echo $ECHO_N "(cached) $ECHO_C" >&6
2725 ac_cv_prog_cc_stdc
=no
2727 cat >conftest.
$ac_ext <<_ACEOF
2730 cat confdefs.h
>>conftest.
$ac_ext
2731 cat >>conftest.
$ac_ext <<_ACEOF
2732 /* end confdefs.h. */
2735 #include <sys/types.h>
2736 #include <sys/stat.h>
2737 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2738 struct buf { int x; };
2739 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2740 static char *e (p, i)
2746 static char *f (char * (*g) (char **, int), char **p, ...)
2751 s = g (p, va_arg (v,int));
2756 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2757 function prototypes and stuff, but not '\xHH' hex character constants.
2758 These don't provoke an error unfortunately, instead are silently treated
2759 as 'x'. The following induces an error, until -std1 is added to get
2760 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2761 array size at least. It's necessary to write '\x00'==0 to get something
2762 that's true only with -std1. */
2763 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2765 int test (int i, double x);
2766 struct s1 {int (*f) (int a);};
2767 struct s2 {int (*f) (double a);};
2768 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2774 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2779 # Don't try gcc -ansi; that turns off useful extensions and
2780 # breaks some systems' header files.
2781 # AIX -qlanglvl=ansi
2782 # Ultrix and OSF/1 -std1
2783 # HP-UX 10.20 and later -Ae
2784 # HP-UX older versions -Aa -D_HPUX_SOURCE
2785 # SVR4 -Xc -D__EXTENSIONS__
2786 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2788 CC
="$ac_save_CC $ac_arg"
2789 rm -f conftest.
$ac_objext
2790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2791 (eval $ac_compile) 2>conftest.er1
2793 grep -v '^ *+' conftest.er1
>conftest.err
2795 cat conftest.err
>&5
2796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797 (exit $ac_status); } &&
2798 { ac_try
='test -z "$ac_c_werror_flag"
2799 || test ! -s conftest.err'
2800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); }; } &&
2805 { ac_try
='test -s conftest.$ac_objext'
2806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); }; }; then
2811 ac_cv_prog_cc_stdc
=$ac_arg
2814 echo "$as_me: failed program was:" >&5
2815 sed 's/^/| /' conftest.
$ac_ext >&5
2818 rm -f conftest.err conftest.
$ac_objext
2820 rm -f conftest.
$ac_ext conftest.
$ac_objext
2825 case "x$ac_cv_prog_cc_stdc" in
2827 echo "$as_me:$LINENO: result: none needed" >&5
2828 echo "${ECHO_T}none needed" >&6 ;;
2830 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2831 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2832 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2835 # Some people use a C++ compiler to compile C. Since we use `exit',
2836 # in C++ we need to declare it. In case someone uses the same compiler
2837 # for both compiling C and C++ we need to have the C++ compiler decide
2838 # the declaration of exit, since it's the most demanding environment.
2839 cat >conftest.
$ac_ext <<_ACEOF
2844 rm -f conftest.
$ac_objext
2845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2846 (eval $ac_compile) 2>conftest.er1
2848 grep -v '^ *+' conftest.er1
>conftest.err
2850 cat conftest.err
>&5
2851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2852 (exit $ac_status); } &&
2853 { ac_try
='test -z "$ac_c_werror_flag"
2854 || test ! -s conftest.err'
2855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2859 (exit $ac_status); }; } &&
2860 { ac_try
='test -s conftest.$ac_objext'
2861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865 (exit $ac_status); }; }; then
2866 for ac_declaration
in \
2868 'extern "C" void std::exit (int) throw (); using std::exit;' \
2869 'extern "C" void std::exit (int); using std::exit;' \
2870 'extern "C" void exit (int) throw ();' \
2871 'extern "C" void exit (int);' \
2874 cat >conftest.
$ac_ext <<_ACEOF
2877 cat confdefs.h
>>conftest.
$ac_ext
2878 cat >>conftest.
$ac_ext <<_ACEOF
2879 /* end confdefs.h. */
2890 rm -f conftest.
$ac_objext
2891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2892 (eval $ac_compile) 2>conftest.er1
2894 grep -v '^ *+' conftest.er1
>conftest.err
2896 cat conftest.err
>&5
2897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898 (exit $ac_status); } &&
2899 { ac_try
='test -z "$ac_c_werror_flag"
2900 || test ! -s conftest.err'
2901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905 (exit $ac_status); }; } &&
2906 { ac_try
='test -s conftest.$ac_objext'
2907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); }; }; then
2914 echo "$as_me: failed program was:" >&5
2915 sed 's/^/| /' conftest.
$ac_ext >&5
2919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2920 cat >conftest.
$ac_ext <<_ACEOF
2923 cat confdefs.h
>>conftest.
$ac_ext
2924 cat >>conftest.
$ac_ext <<_ACEOF
2925 /* end confdefs.h. */
2935 rm -f conftest.
$ac_objext
2936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2937 (eval $ac_compile) 2>conftest.er1
2939 grep -v '^ *+' conftest.er1
>conftest.err
2941 cat conftest.err
>&5
2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943 (exit $ac_status); } &&
2944 { ac_try
='test -z "$ac_c_werror_flag"
2945 || test ! -s conftest.err'
2946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2950 (exit $ac_status); }; } &&
2951 { ac_try
='test -s conftest.$ac_objext'
2952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956 (exit $ac_status); }; }; then
2959 echo "$as_me: failed program was:" >&5
2960 sed 's/^/| /' conftest.
$ac_ext >&5
2963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2966 if test -n "$ac_declaration"; then
2967 echo '#ifdef __cplusplus' >>confdefs.h
2968 echo $ac_declaration >>confdefs.h
2969 echo '#endif' >>confdefs.h
2973 echo "$as_me: failed program was:" >&5
2974 sed 's/^/| /' conftest.
$ac_ext >&5
2977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2979 ac_cpp
='$CPP $CPPFLAGS'
2980 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2981 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2982 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2988 # Add -Wall if we are using GCC.
2989 if test "x$GCC" = "xyes"; then
2990 CFLAGS
="$CFLAGS -Wall"
2993 # Find other programs we need.
2994 if test -n "$ac_tool_prefix"; then
2995 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2996 set dummy
${ac_tool_prefix}as
; ac_word
=$2
2997 echo "$as_me:$LINENO: checking for $ac_word" >&5
2998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2999 if test "${ac_cv_prog_AS+set}" = set; then
3000 echo $ECHO_N "(cached) $ECHO_C" >&6
3002 if test -n "$AS"; then
3003 ac_cv_prog_AS
="$AS" # Let the user override the test.
3005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3009 test -z "$as_dir" && as_dir
=.
3010 for ac_exec_ext
in '' $ac_executable_extensions; do
3011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3012 ac_cv_prog_AS
="${ac_tool_prefix}as"
3013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3022 if test -n "$AS"; then
3023 echo "$as_me:$LINENO: result: $AS" >&5
3024 echo "${ECHO_T}$AS" >&6
3026 echo "$as_me:$LINENO: result: no" >&5
3027 echo "${ECHO_T}no" >&6
3031 if test -z "$ac_cv_prog_AS"; then
3033 # Extract the first word of "as", so it can be a program name with args.
3034 set dummy as
; ac_word
=$2
3035 echo "$as_me:$LINENO: checking for $ac_word" >&5
3036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3037 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3038 echo $ECHO_N "(cached) $ECHO_C" >&6
3040 if test -n "$ac_ct_AS"; then
3041 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3047 test -z "$as_dir" && as_dir
=.
3048 for ac_exec_ext
in '' $ac_executable_extensions; do
3049 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3050 ac_cv_prog_ac_ct_AS
="as"
3051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3059 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3060 if test -n "$ac_ct_AS"; then
3061 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3062 echo "${ECHO_T}$ac_ct_AS" >&6
3064 echo "$as_me:$LINENO: result: no" >&5
3065 echo "${ECHO_T}no" >&6
3073 if test -n "$ac_tool_prefix"; then
3074 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3075 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3076 echo "$as_me:$LINENO: checking for $ac_word" >&5
3077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3078 if test "${ac_cv_prog_AR+set}" = set; then
3079 echo $ECHO_N "(cached) $ECHO_C" >&6
3081 if test -n "$AR"; then
3082 ac_cv_prog_AR
="$AR" # Let the user override the test.
3084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3088 test -z "$as_dir" && as_dir
=.
3089 for ac_exec_ext
in '' $ac_executable_extensions; do
3090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3091 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3101 if test -n "$AR"; then
3102 echo "$as_me:$LINENO: result: $AR" >&5
3103 echo "${ECHO_T}$AR" >&6
3105 echo "$as_me:$LINENO: result: no" >&5
3106 echo "${ECHO_T}no" >&6
3110 if test -z "$ac_cv_prog_AR"; then
3112 # Extract the first word of "ar", so it can be a program name with args.
3113 set dummy
ar; ac_word
=$2
3114 echo "$as_me:$LINENO: checking for $ac_word" >&5
3115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3116 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3117 echo $ECHO_N "(cached) $ECHO_C" >&6
3119 if test -n "$ac_ct_AR"; then
3120 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3126 test -z "$as_dir" && as_dir
=.
3127 for ac_exec_ext
in '' $ac_executable_extensions; do
3128 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3129 ac_cv_prog_ac_ct_AR
="ar"
3130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3138 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3139 if test -n "$ac_ct_AR"; then
3140 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3141 echo "${ECHO_T}$ac_ct_AR" >&6
3143 echo "$as_me:$LINENO: result: no" >&5
3144 echo "${ECHO_T}no" >&6
3152 if test -n "$ac_tool_prefix"; then
3153 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3154 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3155 echo "$as_me:$LINENO: checking for $ac_word" >&5
3156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3157 if test "${ac_cv_prog_RANLIB+set}" = set; then
3158 echo $ECHO_N "(cached) $ECHO_C" >&6
3160 if test -n "$RANLIB"; then
3161 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3167 test -z "$as_dir" && as_dir
=.
3168 for ac_exec_ext
in '' $ac_executable_extensions; do
3169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3170 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3179 RANLIB
=$ac_cv_prog_RANLIB
3180 if test -n "$RANLIB"; then
3181 echo "$as_me:$LINENO: result: $RANLIB" >&5
3182 echo "${ECHO_T}$RANLIB" >&6
3184 echo "$as_me:$LINENO: result: no" >&5
3185 echo "${ECHO_T}no" >&6
3189 if test -z "$ac_cv_prog_RANLIB"; then
3190 ac_ct_RANLIB
=$RANLIB
3191 # Extract the first word of "ranlib", so it can be a program name with args.
3192 set dummy ranlib
; ac_word
=$2
3193 echo "$as_me:$LINENO: checking for $ac_word" >&5
3194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3195 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3196 echo $ECHO_N "(cached) $ECHO_C" >&6
3198 if test -n "$ac_ct_RANLIB"; then
3199 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3205 test -z "$as_dir" && as_dir
=.
3206 for ac_exec_ext
in '' $ac_executable_extensions; do
3207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3208 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3215 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
="ranlib-not-found-in-path-error"
3218 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3219 if test -n "$ac_ct_RANLIB"; then
3220 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3221 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3223 echo "$as_me:$LINENO: result: no" >&5
3224 echo "${ECHO_T}no" >&6
3227 RANLIB
=$ac_ct_RANLIB
3229 RANLIB
="$ac_cv_prog_RANLIB"
3232 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3233 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3234 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3235 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3236 echo $ECHO_N "(cached) $ECHO_C" >&6
3238 cat >conftest.
make <<\_ACEOF
3240 @
echo 'ac_maketemp="$(MAKE)"'
3242 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3243 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3244 if test -n "$ac_maketemp"; then
3245 eval ac_cv_prog_make_
${ac_make}_set
=yes
3247 eval ac_cv_prog_make_
${ac_make}_set
=no
3251 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3252 echo "$as_me:$LINENO: result: yes" >&5
3253 echo "${ECHO_T}yes" >&6
3256 echo "$as_me:$LINENO: result: no" >&5
3257 echo "${ECHO_T}no" >&6
3258 SET_MAKE
="MAKE=${MAKE-make}"
3261 # Find a good install program. We prefer a C program (faster),
3262 # so one script is as good as another. But avoid the broken or
3263 # incompatible versions:
3264 # SysV /etc/install, /usr/sbin/install
3265 # SunOS /usr/etc/install
3266 # IRIX /sbin/install
3268 # AmigaOS /C/install, which installs bootblocks on floppy discs
3269 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3270 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3271 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3272 # OS/2's system install, which has a completely different semantic
3273 # ./install, which can be erroneously created by make from ./install.sh.
3274 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3275 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3276 if test -z "$INSTALL"; then
3277 if test "${ac_cv_path_install+set}" = set; then
3278 echo $ECHO_N "(cached) $ECHO_C" >&6
3280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3284 test -z "$as_dir" && as_dir
=.
3285 # Account for people who put trailing slashes in PATH elements.
3287 .
/ | .
// |
/cC
/* | \
3288 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3289 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3292 # OSF1 and SCO ODT 3.0 have their own names for install.
3293 # Don't use installbsd from OSF since it installs stuff as root
3295 for ac_prog
in ginstall scoinst
install; do
3296 for ac_exec_ext
in '' $ac_executable_extensions; do
3297 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3298 if test $ac_prog = install &&
3299 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3300 # AIX install. It has an incompatible calling convention.
3302 elif test $ac_prog = install &&
3303 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3304 # program-specific install script used by HP pwplus--don't use.
3307 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3319 if test "${ac_cv_path_install+set}" = set; then
3320 INSTALL
=$ac_cv_path_install
3322 # As a last resort, use the slow shell script. We don't cache a
3323 # path for INSTALL within a source directory, because that will
3324 # break other packages using the cache if that directory is
3325 # removed, or if the path is relative.
3326 INSTALL
=$ac_install_sh
3329 echo "$as_me:$LINENO: result: $INSTALL" >&5
3330 echo "${ECHO_T}$INSTALL" >&6
3332 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3333 # It thinks the first close brace ends the variable substitution.
3334 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3336 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3338 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3342 #AC_MSG_NOTICE([====== Starting libtool configuration])
3344 # Check whether --enable-shared or --disable-shared was given.
3345 if test "${enable_shared+set}" = set; then
3346 enableval
="$enable_shared"
3347 p
=${PACKAGE-default}
3349 yes) enable_shared
=yes ;;
3350 no
) enable_shared
=no
;;
3353 # Look at the argument we got. We use all the common list separators.
3354 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3355 for pkg
in $enableval; do
3356 if test "X$pkg" = "X$p"; then
3366 # Check whether --enable-static or --disable-static was given.
3367 if test "${enable_static+set}" = set; then
3368 enableval
="$enable_static"
3369 p
=${PACKAGE-default}
3371 yes) enable_static
=yes ;;
3372 no
) enable_static
=no
;;
3375 # Look at the argument we got. We use all the common list separators.
3376 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3377 for pkg
in $enableval; do
3378 if test "X$pkg" = "X$p"; then
3388 # Check whether --enable-fast-install or --disable-fast-install was given.
3389 if test "${enable_fast_install+set}" = set; then
3390 enableval
="$enable_fast_install"
3391 p
=${PACKAGE-default}
3393 yes) enable_fast_install
=yes ;;
3394 no
) enable_fast_install
=no
;;
3396 enable_fast_install
=no
3397 # Look at the argument we got. We use all the common list separators.
3398 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3399 for pkg
in $enableval; do
3400 if test "X$pkg" = "X$p"; then
3401 enable_fast_install
=yes
3408 enable_fast_install
=yes
3411 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3412 if test "${with_gnu_ld+set}" = set; then
3413 withval
="$with_gnu_ld"
3414 test "$withval" = no || with_gnu_ld
=yes
3419 if test "$GCC" = yes; then
3420 # Check if gcc -print-prog-name=ld gives a path.
3421 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3422 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3425 # gcc leaves a trailing carriage return which upsets mingw
3426 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3428 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3431 # Accept absolute paths.
3432 [\\/]* |
[A-Za-z
]:[\\/]*)
3433 re_direlt
='/[^/][^/]*/\.\./'
3434 # Canonicalize the path of ld
3435 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3436 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3437 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3439 test -z "$LD" && LD
="$ac_prog"
3442 # If it fails, then pretend we aren't using GCC.
3446 # If it is relative, then search for the first ld in PATH.
3450 elif test "$with_gnu_ld" = yes; then
3451 echo "$as_me:$LINENO: checking for GNU ld" >&5
3452 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3454 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3455 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3457 if test "${lt_cv_path_LD+set}" = set; then
3458 echo $ECHO_N "(cached) $ECHO_C" >&6
3460 if test -z "$LD"; then
3461 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3462 for ac_dir
in $PATH; do
3463 test -z "$ac_dir" && ac_dir
=.
3464 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3465 lt_cv_path_LD
="$ac_dir/$ac_prog"
3466 # Check to see if the program is GNU ld. I'd rather use --version,
3467 # but apparently some GNU ld's only accept -v.
3468 # Break only if it was the GNU/non-GNU ld that we prefer.
3469 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3470 test "$with_gnu_ld" != no
&& break
3472 test "$with_gnu_ld" != yes && break
3478 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3483 if test -n "$LD"; then
3484 echo "$as_me:$LINENO: result: $LD" >&5
3485 echo "${ECHO_T}$LD" >&6
3487 echo "$as_me:$LINENO: result: no" >&5
3488 echo "${ECHO_T}no" >&6
3490 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3491 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3492 { (exit 1); exit 1; }; }
3493 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3494 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3495 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3496 echo $ECHO_N "(cached) $ECHO_C" >&6
3498 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3499 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3500 lt_cv_prog_gnu_ld
=yes
3502 lt_cv_prog_gnu_ld
=no
3505 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3506 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3507 with_gnu_ld
=$lt_cv_prog_gnu_ld
3510 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3511 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3512 if test "${lt_cv_ld_reload_flag+set}" = set; then
3513 echo $ECHO_N "(cached) $ECHO_C" >&6
3515 lt_cv_ld_reload_flag
='-r'
3517 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3518 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3519 reload_flag
=$lt_cv_ld_reload_flag
3520 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3522 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3523 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3524 if test "${lt_cv_path_NM+set}" = set; then
3525 echo $ECHO_N "(cached) $ECHO_C" >&6
3527 if test -n "$NM"; then
3528 # Let the user override the test.
3531 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3532 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3533 test -z "$ac_dir" && ac_dir
=.
3534 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3535 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3536 # Check to see if the nm accepts a BSD-compat flag.
3537 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3538 # nm: unknown option "B" ignored
3539 # Tru64's nm complains that /dev/null is an invalid object file
3540 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3541 lt_cv_path_NM
="$tmp_nm -B"
3543 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3544 lt_cv_path_NM
="$tmp_nm -p"
3547 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3548 continue # so that we can try to find one that supports BSD flags
3553 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3558 echo "$as_me:$LINENO: result: $NM" >&5
3559 echo "${ECHO_T}$NM" >&6
3561 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3562 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3564 if test "$LN_S" = "ln -s"; then
3565 echo "$as_me:$LINENO: result: yes" >&5
3566 echo "${ECHO_T}yes" >&6
3568 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3569 echo "${ECHO_T}no, using $LN_S" >&6
3572 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3573 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3574 if test "${lt_cv_deplibs_check_method+set}" = set; then
3575 echo $ECHO_N "(cached) $ECHO_C" >&6
3577 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3578 lt_cv_file_magic_test_file
=
3579 lt_cv_deplibs_check_method
='unknown'
3580 # Need to set the preceding variable on all platforms that support
3581 # interlibrary dependencies.
3582 # 'none' -- dependencies not supported.
3583 # `unknown' -- same as none, but documents that we really don't know.
3584 # 'pass_all' -- all dependencies passed with no checks.
3585 # 'test_compile' -- check by making test program.
3586 # 'file_magic [regex]' -- check by looking for files in library path
3587 # which responds to the $file_magic_cmd with a given egrep regex.
3588 # If you have `file' or equivalent on your system and you're not sure
3589 # whether `pass_all' will *always* work, you probably want this one.
3593 lt_cv_deplibs_check_method
=pass_all
3597 lt_cv_deplibs_check_method
=pass_all
3601 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3602 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3603 lt_cv_file_magic_test_file
=/shlib
/libc.so
3606 cygwin
* | mingw
* |pw32
*)
3607 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3608 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3611 darwin
* | rhapsody
*)
3612 # this will be overwritten by pass_all, but leave it in just in case
3613 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3614 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3616 rhapsody
* | darwin1.012
)
3617 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3620 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3623 lt_cv_deplibs_check_method
=pass_all
3626 freebsd
* | kfreebsd
*-gnu)
3627 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3630 # Not sure whether the presence of OpenBSD here was a mistake.
3631 # Let's accept both of them until this is cleared up.
3632 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3633 lt_cv_file_magic_cmd
=/usr
/bin
/file
3634 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3638 lt_cv_deplibs_check_method
=pass_all
3643 lt_cv_deplibs_check_method
=pass_all
3649 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3650 lt_cv_file_magic_cmd
=/usr
/bin
/file
3651 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3654 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3655 lt_cv_file_magic_cmd
=/usr
/bin
/file
3656 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3664 # this will be overridden with pass_all, but let us keep it just in case
3665 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3669 *-32|
*"-32 ") libmagic
=32-bit;;
3670 *-n32|
*"-n32 ") libmagic
=N32
;;
3671 *-64|
*"-64 ") libmagic
=64-bit;;
3672 *) libmagic
=never-match
;;
3674 # this will be overridden with pass_all, but let us keep it just in case
3675 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3678 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3679 lt_cv_deplibs_check_method
=pass_all
3682 # This must be Linux ELF.
3684 lt_cv_deplibs_check_method
=pass_all
3687 netbsd
* | knetbsd
*-gnu)
3688 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3689 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3691 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3696 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3697 lt_cv_file_magic_cmd
=/usr
/bin
/file
3698 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3701 osf3
* | osf4
* | osf5
*)
3702 # this will be overridden with pass_all, but let us keep it just in case
3703 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3704 lt_cv_file_magic_test_file
=/shlib
/libc.so
3705 lt_cv_deplibs_check_method
=pass_all
3709 lt_cv_deplibs_check_method
=pass_all
3713 lt_cv_deplibs_check_method
=pass_all
3714 lt_cv_file_magic_test_file
=/lib
/libc.so
3717 sysv5uw
[78]* | sysv4
*uw2
*)
3718 lt_cv_deplibs_check_method
=pass_all
3721 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3722 case $host_vendor in
3724 lt_cv_deplibs_check_method
=pass_all
3727 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]'
3728 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3735 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3736 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3737 file_magic_cmd
=$lt_cv_file_magic_cmd
3738 deplibs_check_method
=$lt_cv_deplibs_check_method
3744 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3746 # Only perform the check for file, if the check method requires it
3747 case $deplibs_check_method in
3749 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3750 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3751 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3752 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3753 echo $ECHO_N "(cached) $ECHO_C" >&6
3757 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3760 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3763 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3764 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3765 ac_dummy
="/usr/bin:$PATH"
3766 for ac_dir
in $ac_dummy; do
3767 test -z "$ac_dir" && ac_dir
=.
3768 if test -f $ac_dir/${ac_tool_prefix}file; then
3769 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3770 if test -n "$file_magic_test_file"; then
3771 case $deplibs_check_method in
3773 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3774 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3775 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3776 egrep "$file_magic_regex" > /dev
/null
; then
3781 *** Warning: the command libtool uses to detect shared libraries,
3782 *** $file_magic_cmd, produces output that libtool cannot recognize.
3783 *** The result is that libtool may fail to recognize shared libraries
3784 *** as such. This will affect the creation of libtool libraries that
3785 *** depend on shared libraries, but programs linked with such libtool
3786 *** libraries will work regardless of this problem. Nevertheless, you
3787 *** may want to report the problem to your system manager and/or to
3788 *** bug-libtool@gnu.org
3798 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3803 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3804 if test -n "$MAGIC_CMD"; then
3805 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3806 echo "${ECHO_T}$MAGIC_CMD" >&6
3808 echo "$as_me:$LINENO: result: no" >&5
3809 echo "${ECHO_T}no" >&6
3812 if test -z "$lt_cv_path_MAGIC_CMD"; then
3813 if test -n "$ac_tool_prefix"; then
3814 echo "$as_me:$LINENO: checking for file" >&5
3815 echo $ECHO_N "checking for file... $ECHO_C" >&6
3816 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3817 echo $ECHO_N "(cached) $ECHO_C" >&6
3821 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3824 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3827 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3828 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3829 ac_dummy
="/usr/bin:$PATH"
3830 for ac_dir
in $ac_dummy; do
3831 test -z "$ac_dir" && ac_dir
=.
3832 if test -f $ac_dir/file; then
3833 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3834 if test -n "$file_magic_test_file"; then
3835 case $deplibs_check_method in
3837 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3838 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3839 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3840 egrep "$file_magic_regex" > /dev
/null
; then
3845 *** Warning: the command libtool uses to detect shared libraries,
3846 *** $file_magic_cmd, produces output that libtool cannot recognize.
3847 *** The result is that libtool may fail to recognize shared libraries
3848 *** as such. This will affect the creation of libtool libraries that
3849 *** depend on shared libraries, but programs linked with such libtool
3850 *** libraries will work regardless of this problem. Nevertheless, you
3851 *** may want to report the problem to your system manager and/or to
3852 *** bug-libtool@gnu.org
3862 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3867 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3868 if test -n "$MAGIC_CMD"; then
3869 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3870 echo "${ECHO_T}$MAGIC_CMD" >&6
3872 echo "$as_me:$LINENO: result: no" >&5
3873 echo "${ECHO_T}no" >&6
3885 if test -n "$ac_tool_prefix"; then
3886 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3887 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3888 echo "$as_me:$LINENO: checking for $ac_word" >&5
3889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3890 if test "${ac_cv_prog_RANLIB+set}" = set; then
3891 echo $ECHO_N "(cached) $ECHO_C" >&6
3893 if test -n "$RANLIB"; then
3894 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3900 test -z "$as_dir" && as_dir
=.
3901 for ac_exec_ext
in '' $ac_executable_extensions; do
3902 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3903 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3912 RANLIB
=$ac_cv_prog_RANLIB
3913 if test -n "$RANLIB"; then
3914 echo "$as_me:$LINENO: result: $RANLIB" >&5
3915 echo "${ECHO_T}$RANLIB" >&6
3917 echo "$as_me:$LINENO: result: no" >&5
3918 echo "${ECHO_T}no" >&6
3922 if test -z "$ac_cv_prog_RANLIB"; then
3923 ac_ct_RANLIB
=$RANLIB
3924 # Extract the first word of "ranlib", so it can be a program name with args.
3925 set dummy ranlib
; ac_word
=$2
3926 echo "$as_me:$LINENO: checking for $ac_word" >&5
3927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3928 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3929 echo $ECHO_N "(cached) $ECHO_C" >&6
3931 if test -n "$ac_ct_RANLIB"; then
3932 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3938 test -z "$as_dir" && as_dir
=.
3939 for ac_exec_ext
in '' $ac_executable_extensions; do
3940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3941 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3948 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3951 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3952 if test -n "$ac_ct_RANLIB"; then
3953 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3954 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3956 echo "$as_me:$LINENO: result: no" >&5
3957 echo "${ECHO_T}no" >&6
3960 RANLIB
=$ac_ct_RANLIB
3962 RANLIB
="$ac_cv_prog_RANLIB"
3965 if test -n "$ac_tool_prefix"; then
3966 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3967 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3968 echo "$as_me:$LINENO: checking for $ac_word" >&5
3969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3970 if test "${ac_cv_prog_STRIP+set}" = set; then
3971 echo $ECHO_N "(cached) $ECHO_C" >&6
3973 if test -n "$STRIP"; then
3974 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3980 test -z "$as_dir" && as_dir
=.
3981 for ac_exec_ext
in '' $ac_executable_extensions; do
3982 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3983 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3992 STRIP
=$ac_cv_prog_STRIP
3993 if test -n "$STRIP"; then
3994 echo "$as_me:$LINENO: result: $STRIP" >&5
3995 echo "${ECHO_T}$STRIP" >&6
3997 echo "$as_me:$LINENO: result: no" >&5
3998 echo "${ECHO_T}no" >&6
4002 if test -z "$ac_cv_prog_STRIP"; then
4004 # Extract the first word of "strip", so it can be a program name with args.
4005 set dummy strip
; ac_word
=$2
4006 echo "$as_me:$LINENO: checking for $ac_word" >&5
4007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4008 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4009 echo $ECHO_N "(cached) $ECHO_C" >&6
4011 if test -n "$ac_ct_STRIP"; then
4012 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4018 test -z "$as_dir" && as_dir
=.
4019 for ac_exec_ext
in '' $ac_executable_extensions; do
4020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4021 ac_cv_prog_ac_ct_STRIP
="strip"
4022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4028 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
4031 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4032 if test -n "$ac_ct_STRIP"; then
4033 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4034 echo "${ECHO_T}$ac_ct_STRIP" >&6
4036 echo "$as_me:$LINENO: result: no" >&5
4037 echo "${ECHO_T}no" >&6
4042 STRIP
="$ac_cv_prog_STRIP"
4046 # Check for any special flags to pass to ltconfig.
4047 libtool_flags
="--cache-file=$cache_file"
4048 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4049 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4050 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4051 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4052 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4055 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4056 if test "${enable_libtool_lock+set}" = set; then
4057 enableval
="$enable_libtool_lock"
4060 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4061 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4064 # Check whether --with-pic or --without-pic was given.
4065 if test "${with_pic+set}" = set; then
4071 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4072 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4074 # Some flags need to be propagated to the compiler or linker for good
4078 # Find out which ABI we are using.
4079 echo '#line 4079 "configure"' > conftest.
$ac_ext
4080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4081 (eval $ac_compile) 2>&5
4083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4084 (exit $ac_status); }; then
4085 if test "$lt_cv_prog_gnu_ld" = yes; then
4086 case `/usr/bin/file conftest.$ac_objext` in
4088 LD
="${LD-ld} -melf32bsmip"
4091 LD
="${LD-ld} -melf32bmipn32"
4094 LD
="${LD-ld} -melf64bmip"
4098 case `/usr/bin/file conftest.$ac_objext` in
4115 # Find out which ABI we are using.
4116 echo 'int i;' > conftest.
$ac_ext
4117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4118 (eval $ac_compile) 2>&5
4120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4121 (exit $ac_status); }; then
4122 case "`/usr/bin/file conftest.o`" in
4134 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4135 # Find out which ABI we are using.
4136 echo 'int i;' > conftest.
$ac_ext
4137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4138 (eval $ac_compile) 2>&5
4140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4141 (exit $ac_status); }; then
4142 case "`/usr/bin/file conftest.o`" in
4146 LD
="${LD-ld} -m elf_i386"
4148 ppc64-
*linux
*|powerpc64-
*linux
*)
4149 LD
="${LD-ld} -m elf32ppclinux"
4152 LD
="${LD-ld} -m elf_s390"
4155 LD
="${LD-ld} -m elf32_sparc"
4162 LD
="${LD-ld} -m elf_x86_64"
4164 ppc
*-*linux
*|powerpc
*-*linux
*)
4165 LD
="${LD-ld} -m elf64ppc"
4168 LD
="${LD-ld} -m elf64_s390"
4171 LD
="${LD-ld} -m elf64_sparc"
4181 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4182 SAVE_CFLAGS
="$CFLAGS"
4183 CFLAGS
="$CFLAGS -belf"
4184 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4185 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4186 if test "${lt_cv_cc_needs_belf+set}" = set; then
4187 echo $ECHO_N "(cached) $ECHO_C" >&6
4192 ac_cpp
='$CPP $CPPFLAGS'
4193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4197 if test x
$gcc_no_link = xyes
; then
4198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4200 { (exit 1); exit 1; }; }
4202 cat >conftest.
$ac_ext <<_ACEOF
4205 cat confdefs.h
>>conftest.
$ac_ext
4206 cat >>conftest.
$ac_ext <<_ACEOF
4207 /* end confdefs.h. */
4217 rm -f conftest.
$ac_objext conftest
$ac_exeext
4218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4219 (eval $ac_link) 2>conftest.er1
4221 grep -v '^ *+' conftest.er1
>conftest.err
4223 cat conftest.err
>&5
4224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4225 (exit $ac_status); } &&
4226 { ac_try
='test -z "$ac_c_werror_flag"
4227 || test ! -s conftest.err'
4228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4232 (exit $ac_status); }; } &&
4233 { ac_try
='test -s conftest$ac_exeext'
4234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4238 (exit $ac_status); }; }; then
4239 lt_cv_cc_needs_belf
=yes
4241 echo "$as_me: failed program was:" >&5
4242 sed 's/^/| /' conftest.
$ac_ext >&5
4244 lt_cv_cc_needs_belf
=no
4246 rm -f conftest.err conftest.
$ac_objext \
4247 conftest
$ac_exeext conftest.
$ac_ext
4249 ac_cpp
='$CPP $CPPFLAGS'
4250 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4251 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4252 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4255 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4256 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4257 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4258 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4259 CFLAGS
="$SAVE_CFLAGS"
4267 # Save cache, so that ltconfig can load it
4268 cat >confcache
<<\_ACEOF
4269 # This file is a shell script that caches the results of configure
4270 # tests run on this system so they can be shared between configure
4271 # scripts and configure runs, see configure's option --config-cache.
4272 # It is not useful on other systems. If it contains results you don't
4273 # want to keep, you may remove or edit it.
4275 # config.status only pays attention to the cache file if you give it
4276 # the --recheck option to rerun configure.
4278 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4279 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4284 # The following way of writing the cache mishandles newlines in values,
4285 # but we know of no workaround that is simple, portable, and efficient.
4286 # So, don't put newlines in cache variables' values.
4287 # Ultrix sh set writes to stderr and can't be redirected directly,
4288 # and sets the high bit in the cache file unless we assign to the vars.
4291 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4293 # `set' does not quote correctly, so add quotes (double-quote
4294 # substitution turns \\\\ into \\, and sed turns \\ into \).
4297 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4300 # `set' quotes correctly as required by POSIX, so do not add quotes.
4302 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4309 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4311 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4313 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4314 if test -w $cache_file; then
4315 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4316 cat confcache
>$cache_file
4318 echo "not updating unwritable cache $cache_file"
4323 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4324 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4325 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4326 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4327 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4328 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4329 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4330 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4331 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4332 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4333 echo "$as_me: error: libtool configure failed" >&2;}
4334 { (exit 1); exit 1; }; }
4336 # Reload cache, that may have been modified by ltconfig
4337 if test -r "$cache_file"; then
4338 # Some versions of bash will fail to source /dev/null (special
4339 # files actually), so we avoid doing that.
4340 if test -f "$cache_file"; then
4341 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4342 echo "$as_me: loading cache $cache_file" >&6;}
4344 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4345 *) . .
/$cache_file;;
4349 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4350 echo "$as_me: creating cache $cache_file" >&6;}
4355 # This can be used to rebuild libtool when needed
4356 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4358 # Always use our own libtool.
4359 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4361 # Redirect the config.log output again, so that the ltconfig log is not
4362 # clobbered by the next message.
4363 exec 5>>.
/config.log
4372 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4374 # We need gfortran to compile parts of the library
4375 # We can't use AC_PROG_FC because it expects a fully working gfortran.
4376 #AC_PROG_FC(gfortran)
4378 ac_ext
=${FC_SRCEXT-f}
4379 ac_compile
='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4380 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4381 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
4382 if test -n "$ac_tool_prefix"; then
4383 for ac_prog
in gfortran
4385 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4386 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4387 echo "$as_me:$LINENO: checking for $ac_word" >&5
4388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4389 if test "${ac_cv_prog_FC+set}" = set; then
4390 echo $ECHO_N "(cached) $ECHO_C" >&6
4392 if test -n "$FC"; then
4393 ac_cv_prog_FC
="$FC" # Let the user override the test.
4395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4399 test -z "$as_dir" && as_dir
=.
4400 for ac_exec_ext
in '' $ac_executable_extensions; do
4401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4402 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
4403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4412 if test -n "$FC"; then
4413 echo "$as_me:$LINENO: result: $FC" >&5
4414 echo "${ECHO_T}$FC" >&6
4416 echo "$as_me:$LINENO: result: no" >&5
4417 echo "${ECHO_T}no" >&6
4420 test -n "$FC" && break
4423 if test -z "$FC"; then
4425 for ac_prog
in gfortran
4427 # Extract the first word of "$ac_prog", so it can be a program name with args.
4428 set dummy
$ac_prog; ac_word
=$2
4429 echo "$as_me:$LINENO: checking for $ac_word" >&5
4430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4431 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4432 echo $ECHO_N "(cached) $ECHO_C" >&6
4434 if test -n "$ac_ct_FC"; then
4435 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
4437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4441 test -z "$as_dir" && as_dir
=.
4442 for ac_exec_ext
in '' $ac_executable_extensions; do
4443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4444 ac_cv_prog_ac_ct_FC
="$ac_prog"
4445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4453 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
4454 if test -n "$ac_ct_FC"; then
4455 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4456 echo "${ECHO_T}$ac_ct_FC" >&6
4458 echo "$as_me:$LINENO: result: no" >&5
4459 echo "${ECHO_T}no" >&6
4462 test -n "$ac_ct_FC" && break
4469 # Provide some information about the compiler.
4470 echo "$as_me:4470:" \
4471 "checking for Fortran compiler version" >&5
4472 ac_compiler
=`set X $ac_compile; echo $2`
4473 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4474 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4477 (exit $ac_status); }
4478 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4479 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4482 (exit $ac_status); }
4483 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4484 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4487 (exit $ac_status); }
4490 # If we don't use `.F' as extension, the preprocessor is not run on the
4491 # input file. (Note that this only needs to work for GNU compilers.)
4494 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4495 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4496 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4497 echo $ECHO_N "(cached) $ECHO_C" >&6
4499 cat >conftest.
$ac_ext <<_ACEOF
4507 rm -f conftest.
$ac_objext
4508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4509 (eval $ac_compile) 2>conftest.er1
4511 grep -v '^ *+' conftest.er1
>conftest.err
4513 cat conftest.err
>&5
4514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515 (exit $ac_status); } &&
4516 { ac_try
='test -z "$ac_fc_werror_flag"
4517 || test ! -s conftest.err'
4518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4522 (exit $ac_status); }; } &&
4523 { ac_try
='test -s conftest.$ac_objext'
4524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); }; }; then
4531 echo "$as_me: failed program was:" >&5
4532 sed 's/^/| /' conftest.
$ac_ext >&5
4536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4537 ac_cv_fc_compiler_gnu
=$ac_compiler_gnu
4540 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4541 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4543 ac_test_FFLAGS
=${FCFLAGS+set}
4544 ac_save_FFLAGS
=$FCFLAGS
4546 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4547 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4548 if test "${ac_cv_prog_fc_g+set}" = set; then
4549 echo $ECHO_N "(cached) $ECHO_C" >&6
4552 cat >conftest.
$ac_ext <<_ACEOF
4557 rm -f conftest.
$ac_objext
4558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4559 (eval $ac_compile) 2>conftest.er1
4561 grep -v '^ *+' conftest.er1
>conftest.err
4563 cat conftest.err
>&5
4564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4565 (exit $ac_status); } &&
4566 { ac_try
='test -z "$ac_fc_werror_flag"
4567 || test ! -s conftest.err'
4568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); }; } &&
4573 { ac_try
='test -s conftest.$ac_objext'
4574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578 (exit $ac_status); }; }; then
4581 echo "$as_me: failed program was:" >&5
4582 sed 's/^/| /' conftest.
$ac_ext >&5
4586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4589 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4590 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4591 if test "$ac_test_FFLAGS" = set; then
4592 FCFLAGS
=$ac_save_FFLAGS
4593 elif test $ac_cv_prog_fc_g = yes; then
4594 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
4600 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
4608 ac_cpp
='$CPP $CPPFLAGS'
4609 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4610 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4611 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4613 FCFLAGS
="$FCFLAGS -Wall -fno-repack-arrays -fno-underscoring"
4615 # Check whether --enable-largefile or --disable-largefile was given.
4616 if test "${enable_largefile+set}" = set; then
4617 enableval
="$enable_largefile"
4620 if test "$enable_largefile" != no
; then
4622 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4623 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4624 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4625 echo $ECHO_N "(cached) $ECHO_C" >&6
4627 ac_cv_sys_largefile_CC
=no
4628 if test "$GCC" != yes; then
4631 # IRIX 6.2 and later do not support large files by default,
4632 # so use the C compiler's -n32 option if that helps.
4633 cat >conftest.
$ac_ext <<_ACEOF
4636 cat confdefs.h
>>conftest.
$ac_ext
4637 cat >>conftest.
$ac_ext <<_ACEOF
4638 /* end confdefs.h. */
4639 #include <sys/types.h>
4640 /* Check that off_t can represent 2**63 - 1 correctly.
4641 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4642 since some C++ compilers masquerading as C compilers
4643 incorrectly reject 9223372036854775807. */
4644 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4645 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4646 && LARGE_OFF_T % 2147483647 == 1)
4656 rm -f conftest.
$ac_objext
4657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4658 (eval $ac_compile) 2>conftest.er1
4660 grep -v '^ *+' conftest.er1
>conftest.err
4662 cat conftest.err
>&5
4663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4664 (exit $ac_status); } &&
4665 { ac_try
='test -z "$ac_c_werror_flag"
4666 || test ! -s conftest.err'
4667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4671 (exit $ac_status); }; } &&
4672 { ac_try
='test -s conftest.$ac_objext'
4673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); }; }; then
4680 echo "$as_me: failed program was:" >&5
4681 sed 's/^/| /' conftest.
$ac_ext >&5
4684 rm -f conftest.err conftest.
$ac_objext
4686 rm -f conftest.
$ac_objext
4687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4688 (eval $ac_compile) 2>conftest.er1
4690 grep -v '^ *+' conftest.er1
>conftest.err
4692 cat conftest.err
>&5
4693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4694 (exit $ac_status); } &&
4695 { ac_try
='test -z "$ac_c_werror_flag"
4696 || test ! -s conftest.err'
4697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4701 (exit $ac_status); }; } &&
4702 { ac_try
='test -s conftest.$ac_objext'
4703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707 (exit $ac_status); }; }; then
4708 ac_cv_sys_largefile_CC
=' -n32'; break
4710 echo "$as_me: failed program was:" >&5
4711 sed 's/^/| /' conftest.
$ac_ext >&5
4714 rm -f conftest.err conftest.
$ac_objext
4718 rm -f conftest.
$ac_ext
4721 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4722 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4723 if test "$ac_cv_sys_largefile_CC" != no
; then
4724 CC
=$CC$ac_cv_sys_largefile_CC
4727 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4728 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4729 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4730 echo $ECHO_N "(cached) $ECHO_C" >&6
4733 ac_cv_sys_file_offset_bits
=no
4734 cat >conftest.
$ac_ext <<_ACEOF
4737 cat confdefs.h
>>conftest.
$ac_ext
4738 cat >>conftest.
$ac_ext <<_ACEOF
4739 /* end confdefs.h. */
4740 #include <sys/types.h>
4741 /* Check that off_t can represent 2**63 - 1 correctly.
4742 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4743 since some C++ compilers masquerading as C compilers
4744 incorrectly reject 9223372036854775807. */
4745 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4746 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4747 && LARGE_OFF_T % 2147483647 == 1)
4757 rm -f conftest.
$ac_objext
4758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4759 (eval $ac_compile) 2>conftest.er1
4761 grep -v '^ *+' conftest.er1
>conftest.err
4763 cat conftest.err
>&5
4764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765 (exit $ac_status); } &&
4766 { ac_try
='test -z "$ac_c_werror_flag"
4767 || test ! -s conftest.err'
4768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4772 (exit $ac_status); }; } &&
4773 { ac_try
='test -s conftest.$ac_objext'
4774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4778 (exit $ac_status); }; }; then
4781 echo "$as_me: failed program was:" >&5
4782 sed 's/^/| /' conftest.
$ac_ext >&5
4785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4786 cat >conftest.
$ac_ext <<_ACEOF
4789 cat confdefs.h
>>conftest.
$ac_ext
4790 cat >>conftest.
$ac_ext <<_ACEOF
4791 /* end confdefs.h. */
4792 #define _FILE_OFFSET_BITS 64
4793 #include <sys/types.h>
4794 /* Check that off_t can represent 2**63 - 1 correctly.
4795 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4796 since some C++ compilers masquerading as C compilers
4797 incorrectly reject 9223372036854775807. */
4798 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4799 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4800 && LARGE_OFF_T % 2147483647 == 1)
4810 rm -f conftest.
$ac_objext
4811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4812 (eval $ac_compile) 2>conftest.er1
4814 grep -v '^ *+' conftest.er1
>conftest.err
4816 cat conftest.err
>&5
4817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4818 (exit $ac_status); } &&
4819 { ac_try
='test -z "$ac_c_werror_flag"
4820 || test ! -s conftest.err'
4821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4825 (exit $ac_status); }; } &&
4826 { ac_try
='test -s conftest.$ac_objext'
4827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4831 (exit $ac_status); }; }; then
4832 ac_cv_sys_file_offset_bits
=64; break
4834 echo "$as_me: failed program was:" >&5
4835 sed 's/^/| /' conftest.
$ac_ext >&5
4838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4842 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4843 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4844 if test "$ac_cv_sys_file_offset_bits" != no
; then
4846 cat >>confdefs.h
<<_ACEOF
4847 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4852 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4853 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4854 if test "${ac_cv_sys_large_files+set}" = set; then
4855 echo $ECHO_N "(cached) $ECHO_C" >&6
4858 ac_cv_sys_large_files
=no
4859 cat >conftest.
$ac_ext <<_ACEOF
4862 cat confdefs.h
>>conftest.
$ac_ext
4863 cat >>conftest.
$ac_ext <<_ACEOF
4864 /* end confdefs.h. */
4865 #include <sys/types.h>
4866 /* Check that off_t can represent 2**63 - 1 correctly.
4867 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4868 since some C++ compilers masquerading as C compilers
4869 incorrectly reject 9223372036854775807. */
4870 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4871 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4872 && LARGE_OFF_T % 2147483647 == 1)
4882 rm -f conftest.
$ac_objext
4883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4884 (eval $ac_compile) 2>conftest.er1
4886 grep -v '^ *+' conftest.er1
>conftest.err
4888 cat conftest.err
>&5
4889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890 (exit $ac_status); } &&
4891 { ac_try
='test -z "$ac_c_werror_flag"
4892 || test ! -s conftest.err'
4893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897 (exit $ac_status); }; } &&
4898 { ac_try
='test -s conftest.$ac_objext'
4899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); }; }; then
4906 echo "$as_me: failed program was:" >&5
4907 sed 's/^/| /' conftest.
$ac_ext >&5
4910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4911 cat >conftest.
$ac_ext <<_ACEOF
4914 cat confdefs.h
>>conftest.
$ac_ext
4915 cat >>conftest.
$ac_ext <<_ACEOF
4916 /* end confdefs.h. */
4917 #define _LARGE_FILES 1
4918 #include <sys/types.h>
4919 /* Check that off_t can represent 2**63 - 1 correctly.
4920 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4921 since some C++ compilers masquerading as C compilers
4922 incorrectly reject 9223372036854775807. */
4923 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4924 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4925 && LARGE_OFF_T % 2147483647 == 1)
4935 rm -f conftest.
$ac_objext
4936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4937 (eval $ac_compile) 2>conftest.er1
4939 grep -v '^ *+' conftest.er1
>conftest.err
4941 cat conftest.err
>&5
4942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943 (exit $ac_status); } &&
4944 { ac_try
='test -z "$ac_c_werror_flag"
4945 || test ! -s conftest.err'
4946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4950 (exit $ac_status); }; } &&
4951 { ac_try
='test -s conftest.$ac_objext'
4952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956 (exit $ac_status); }; }; then
4957 ac_cv_sys_large_files
=1; break
4959 echo "$as_me: failed program was:" >&5
4960 sed 's/^/| /' conftest.
$ac_ext >&5
4963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4967 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4968 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4969 if test "$ac_cv_sys_large_files" != no
; then
4971 cat >>confdefs.h
<<_ACEOF
4972 #define _LARGE_FILES $ac_cv_sys_large_files
4979 if test x
$gcc_no_link = xyes
; then
4980 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset
; then
4981 ac_cv_func_mmap_fixed_mapped
=no
4984 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset
; then
4986 ac_cpp
='$CPP $CPPFLAGS'
4987 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4988 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4989 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4990 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4991 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4992 # On Suns, sometimes $CPP names a directory.
4993 if test -n "$CPP" && test -d "$CPP"; then
4996 if test -z "$CPP"; then
4997 if test "${ac_cv_prog_CPP+set}" = set; then
4998 echo $ECHO_N "(cached) $ECHO_C" >&6
5000 # Double quotes because CPP needs to be expanded
5001 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5004 for ac_c_preproc_warn_flag
in '' yes
5006 # Use a header file that comes with gcc, so configuring glibc
5007 # with a fresh cross-compiler works.
5008 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5009 # <limits.h> exists even on freestanding compilers.
5010 # On the NeXT, cc -E runs the code through the compiler's parser,
5011 # not just through cpp. "Syntax error" is here to catch this case.
5012 cat >conftest.
$ac_ext <<_ACEOF
5015 cat confdefs.h
>>conftest.
$ac_ext
5016 cat >>conftest.
$ac_ext <<_ACEOF
5017 /* end confdefs.h. */
5019 # include <limits.h>
5021 # include <assert.h>
5025 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5026 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5028 grep -v '^ *+' conftest.er1
>conftest.err
5030 cat conftest.err
>&5
5031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5032 (exit $ac_status); } >/dev
/null
; then
5033 if test -s conftest.err
; then
5034 ac_cpp_err
=$ac_c_preproc_warn_flag
5035 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5042 if test -z "$ac_cpp_err"; then
5045 echo "$as_me: failed program was:" >&5
5046 sed 's/^/| /' conftest.
$ac_ext >&5
5048 # Broken: fails on valid input.
5051 rm -f conftest.err conftest.
$ac_ext
5053 # OK, works on sane cases. Now check whether non-existent headers
5054 # can be detected and how.
5055 cat >conftest.
$ac_ext <<_ACEOF
5058 cat confdefs.h
>>conftest.
$ac_ext
5059 cat >>conftest.
$ac_ext <<_ACEOF
5060 /* end confdefs.h. */
5061 #include <ac_nonexistent.h>
5063 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5064 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5066 grep -v '^ *+' conftest.er1
>conftest.err
5068 cat conftest.err
>&5
5069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070 (exit $ac_status); } >/dev
/null
; then
5071 if test -s conftest.err
; then
5072 ac_cpp_err
=$ac_c_preproc_warn_flag
5073 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5080 if test -z "$ac_cpp_err"; then
5081 # Broken: success on invalid input.
5084 echo "$as_me: failed program was:" >&5
5085 sed 's/^/| /' conftest.
$ac_ext >&5
5087 # Passes both tests.
5091 rm -f conftest.err conftest.
$ac_ext
5094 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5095 rm -f conftest.err conftest.
$ac_ext
5096 if $ac_preproc_ok; then
5108 echo "$as_me:$LINENO: result: $CPP" >&5
5109 echo "${ECHO_T}$CPP" >&6
5111 for ac_c_preproc_warn_flag
in '' yes
5113 # Use a header file that comes with gcc, so configuring glibc
5114 # with a fresh cross-compiler works.
5115 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5116 # <limits.h> exists even on freestanding compilers.
5117 # On the NeXT, cc -E runs the code through the compiler's parser,
5118 # not just through cpp. "Syntax error" is here to catch this case.
5119 cat >conftest.
$ac_ext <<_ACEOF
5122 cat confdefs.h
>>conftest.
$ac_ext
5123 cat >>conftest.
$ac_ext <<_ACEOF
5124 /* end confdefs.h. */
5126 # include <limits.h>
5128 # include <assert.h>
5132 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5133 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5135 grep -v '^ *+' conftest.er1
>conftest.err
5137 cat conftest.err
>&5
5138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5139 (exit $ac_status); } >/dev
/null
; then
5140 if test -s conftest.err
; then
5141 ac_cpp_err
=$ac_c_preproc_warn_flag
5142 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5149 if test -z "$ac_cpp_err"; then
5152 echo "$as_me: failed program was:" >&5
5153 sed 's/^/| /' conftest.
$ac_ext >&5
5155 # Broken: fails on valid input.
5158 rm -f conftest.err conftest.
$ac_ext
5160 # OK, works on sane cases. Now check whether non-existent headers
5161 # can be detected and how.
5162 cat >conftest.
$ac_ext <<_ACEOF
5165 cat confdefs.h
>>conftest.
$ac_ext
5166 cat >>conftest.
$ac_ext <<_ACEOF
5167 /* end confdefs.h. */
5168 #include <ac_nonexistent.h>
5170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5171 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5173 grep -v '^ *+' conftest.er1
>conftest.err
5175 cat conftest.err
>&5
5176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5177 (exit $ac_status); } >/dev
/null
; then
5178 if test -s conftest.err
; then
5179 ac_cpp_err
=$ac_c_preproc_warn_flag
5180 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5187 if test -z "$ac_cpp_err"; then
5188 # Broken: success on invalid input.
5191 echo "$as_me: failed program was:" >&5
5192 sed 's/^/| /' conftest.
$ac_ext >&5
5194 # Passes both tests.
5198 rm -f conftest.err conftest.
$ac_ext
5201 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5202 rm -f conftest.err conftest.
$ac_ext
5203 if $ac_preproc_ok; then
5206 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5207 See \`config.log' for more details." >&5
5208 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5209 See \`config.log' for more details." >&2;}
5210 { (exit 1); exit 1; }; }
5214 ac_cpp
='$CPP $CPPFLAGS'
5215 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5216 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5217 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5220 echo "$as_me:$LINENO: checking for egrep" >&5
5221 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5222 if test "${ac_cv_prog_egrep+set}" = set; then
5223 echo $ECHO_N "(cached) $ECHO_C" >&6
5225 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5226 then ac_cv_prog_egrep
='grep -E'
5227 else ac_cv_prog_egrep
='egrep'
5230 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5231 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5232 EGREP
=$ac_cv_prog_egrep
5235 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5236 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5237 if test "${ac_cv_header_stdc+set}" = set; then
5238 echo $ECHO_N "(cached) $ECHO_C" >&6
5240 cat >conftest.
$ac_ext <<_ACEOF
5243 cat confdefs.h
>>conftest.
$ac_ext
5244 cat >>conftest.
$ac_ext <<_ACEOF
5245 /* end confdefs.h. */
5259 rm -f conftest.
$ac_objext
5260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5261 (eval $ac_compile) 2>conftest.er1
5263 grep -v '^ *+' conftest.er1
>conftest.err
5265 cat conftest.err
>&5
5266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5267 (exit $ac_status); } &&
5268 { ac_try
='test -z "$ac_c_werror_flag"
5269 || test ! -s conftest.err'
5270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5274 (exit $ac_status); }; } &&
5275 { ac_try
='test -s conftest.$ac_objext'
5276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5280 (exit $ac_status); }; }; then
5281 ac_cv_header_stdc
=yes
5283 echo "$as_me: failed program was:" >&5
5284 sed 's/^/| /' conftest.
$ac_ext >&5
5286 ac_cv_header_stdc
=no
5288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5290 if test $ac_cv_header_stdc = yes; then
5291 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5292 cat >conftest.
$ac_ext <<_ACEOF
5295 cat confdefs.h
>>conftest.
$ac_ext
5296 cat >>conftest.
$ac_ext <<_ACEOF
5297 /* end confdefs.h. */
5301 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5302 $EGREP "memchr" >/dev
/null
2>&1; then
5305 ac_cv_header_stdc
=no
5311 if test $ac_cv_header_stdc = yes; then
5312 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5313 cat >conftest.
$ac_ext <<_ACEOF
5316 cat confdefs.h
>>conftest.
$ac_ext
5317 cat >>conftest.
$ac_ext <<_ACEOF
5318 /* end confdefs.h. */
5322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5323 $EGREP "free" >/dev
/null
2>&1; then
5326 ac_cv_header_stdc
=no
5332 if test $ac_cv_header_stdc = yes; then
5333 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5334 if test "$cross_compiling" = yes; then
5337 cat >conftest.
$ac_ext <<_ACEOF
5340 cat confdefs.h
>>conftest.
$ac_ext
5341 cat >>conftest.
$ac_ext <<_ACEOF
5342 /* end confdefs.h. */
5344 #if ((' ' & 0x0FF) == 0x020)
5345 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5346 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5348 # define ISLOWER(c) \
5349 (('a' <= (c) && (c) <= 'i') \
5350 || ('j' <= (c) && (c) <= 'r') \
5351 || ('s' <= (c) && (c) <= 'z'))
5352 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5355 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5360 for (i = 0; i < 256; i++)
5361 if (XOR (islower (i), ISLOWER (i))
5362 || toupper (i) != TOUPPER (i))
5367 rm -f conftest
$ac_exeext
5368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5369 (eval $ac_link) 2>&5
5371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5372 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5377 (exit $ac_status); }; }; then
5380 echo "$as_me: program exited with status $ac_status" >&5
5381 echo "$as_me: failed program was:" >&5
5382 sed 's/^/| /' conftest.
$ac_ext >&5
5385 ac_cv_header_stdc
=no
5387 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5391 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5392 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5393 if test $ac_cv_header_stdc = yes; then
5395 cat >>confdefs.h
<<\_ACEOF
5396 #define STDC_HEADERS 1
5401 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5411 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5412 inttypes.h stdint.h unistd.h
5414 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5415 echo "$as_me:$LINENO: checking for $ac_header" >&5
5416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5418 echo $ECHO_N "(cached) $ECHO_C" >&6
5420 cat >conftest.
$ac_ext <<_ACEOF
5423 cat confdefs.h
>>conftest.
$ac_ext
5424 cat >>conftest.
$ac_ext <<_ACEOF
5425 /* end confdefs.h. */
5426 $ac_includes_default
5428 #include <$ac_header>
5430 rm -f conftest.
$ac_objext
5431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5432 (eval $ac_compile) 2>conftest.er1
5434 grep -v '^ *+' conftest.er1
>conftest.err
5436 cat conftest.err
>&5
5437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438 (exit $ac_status); } &&
5439 { ac_try
='test -z "$ac_c_werror_flag"
5440 || test ! -s conftest.err'
5441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5445 (exit $ac_status); }; } &&
5446 { ac_try
='test -s conftest.$ac_objext'
5447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5451 (exit $ac_status); }; }; then
5452 eval "$as_ac_Header=yes"
5454 echo "$as_me: failed program was:" >&5
5455 sed 's/^/| /' conftest.
$ac_ext >&5
5457 eval "$as_ac_Header=no"
5459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5464 cat >>confdefs.h
<<_ACEOF
5465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5475 for ac_header
in stdlib.h unistd.h
5477 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5479 echo "$as_me:$LINENO: checking for $ac_header" >&5
5480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5482 echo $ECHO_N "(cached) $ECHO_C" >&6
5484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5487 # Is the header compilable?
5488 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5489 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5490 cat >conftest.
$ac_ext <<_ACEOF
5493 cat confdefs.h
>>conftest.
$ac_ext
5494 cat >>conftest.
$ac_ext <<_ACEOF
5495 /* end confdefs.h. */
5496 $ac_includes_default
5497 #include <$ac_header>
5499 rm -f conftest.
$ac_objext
5500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5501 (eval $ac_compile) 2>conftest.er1
5503 grep -v '^ *+' conftest.er1
>conftest.err
5505 cat conftest.err
>&5
5506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5507 (exit $ac_status); } &&
5508 { ac_try
='test -z "$ac_c_werror_flag"
5509 || test ! -s conftest.err'
5510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514 (exit $ac_status); }; } &&
5515 { ac_try
='test -s conftest.$ac_objext'
5516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5520 (exit $ac_status); }; }; then
5521 ac_header_compiler
=yes
5523 echo "$as_me: failed program was:" >&5
5524 sed 's/^/| /' conftest.
$ac_ext >&5
5526 ac_header_compiler
=no
5528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5529 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5530 echo "${ECHO_T}$ac_header_compiler" >&6
5532 # Is the header present?
5533 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5534 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5535 cat >conftest.
$ac_ext <<_ACEOF
5538 cat confdefs.h
>>conftest.
$ac_ext
5539 cat >>conftest.
$ac_ext <<_ACEOF
5540 /* end confdefs.h. */
5541 #include <$ac_header>
5543 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5544 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5546 grep -v '^ *+' conftest.er1
>conftest.err
5548 cat conftest.err
>&5
5549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5550 (exit $ac_status); } >/dev
/null
; then
5551 if test -s conftest.err
; then
5552 ac_cpp_err
=$ac_c_preproc_warn_flag
5553 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5560 if test -z "$ac_cpp_err"; then
5561 ac_header_preproc
=yes
5563 echo "$as_me: failed program was:" >&5
5564 sed 's/^/| /' conftest.
$ac_ext >&5
5566 ac_header_preproc
=no
5568 rm -f conftest.err conftest.
$ac_ext
5569 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5570 echo "${ECHO_T}$ac_header_preproc" >&6
5572 # So? What about this header?
5573 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5575 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5576 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5578 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5579 ac_header_preproc
=yes
5582 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5583 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5584 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5585 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5586 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5587 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5588 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5589 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5590 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5591 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5592 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5593 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5596 ## ------------------------------------------------------ ##
5597 ## Report this to the GNU Fortran Runtime Library lists. ##
5598 ## ------------------------------------------------------ ##
5601 sed "s/^/$as_me: WARNING: /" >&2
5604 echo "$as_me:$LINENO: checking for $ac_header" >&5
5605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5607 echo $ECHO_N "(cached) $ECHO_C" >&6
5609 eval "$as_ac_Header=\$ac_header_preproc"
5611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5616 cat >>confdefs.h
<<_ACEOF
5617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5625 for ac_func
in getpagesize
5627 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5628 echo "$as_me:$LINENO: checking for $ac_func" >&5
5629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5630 if eval "test \"\${$as_ac_var+set}\" = set"; then
5631 echo $ECHO_N "(cached) $ECHO_C" >&6
5633 if test x
$gcc_no_link = xyes
; then
5634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5636 { (exit 1); exit 1; }; }
5638 cat >conftest.
$ac_ext <<_ACEOF
5641 cat confdefs.h
>>conftest.
$ac_ext
5642 cat >>conftest.
$ac_ext <<_ACEOF
5643 /* end confdefs.h. */
5644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5646 #define $ac_func innocuous_$ac_func
5648 /* System header to define __stub macros and hopefully few prototypes,
5649 which can conflict with char $ac_func (); below.
5650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5651 <limits.h> exists even on freestanding compilers. */
5654 # include <limits.h>
5656 # include <assert.h>
5661 /* Override any gcc2 internal prototype to avoid an error. */
5666 /* We use char because int might match the return type of a gcc2
5667 builtin and then its argument prototype would still apply. */
5669 /* The GNU C library defines this for functions which it implements
5670 to always fail with ENOSYS. Some functions are actually named
5671 something starting with __ and the normal name is an alias. */
5672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5675 char (*f) () = $ac_func;
5684 return f != $ac_func;
5689 rm -f conftest.
$ac_objext conftest
$ac_exeext
5690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5691 (eval $ac_link) 2>conftest.er1
5693 grep -v '^ *+' conftest.er1
>conftest.err
5695 cat conftest.err
>&5
5696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5697 (exit $ac_status); } &&
5698 { ac_try
='test -z "$ac_c_werror_flag"
5699 || test ! -s conftest.err'
5700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5704 (exit $ac_status); }; } &&
5705 { ac_try
='test -s conftest$ac_exeext'
5706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5710 (exit $ac_status); }; }; then
5711 eval "$as_ac_var=yes"
5713 echo "$as_me: failed program was:" >&5
5714 sed 's/^/| /' conftest.
$ac_ext >&5
5716 eval "$as_ac_var=no"
5718 rm -f conftest.err conftest.
$ac_objext \
5719 conftest
$ac_exeext conftest.
$ac_ext
5721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5723 if test `eval echo '${'$as_ac_var'}'` = yes; then
5724 cat >>confdefs.h
<<_ACEOF
5725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5731 echo "$as_me:$LINENO: checking for working mmap" >&5
5732 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5733 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5734 echo $ECHO_N "(cached) $ECHO_C" >&6
5736 if test "$cross_compiling" = yes; then
5737 ac_cv_func_mmap_fixed_mapped
=no
5739 cat >conftest.
$ac_ext <<_ACEOF
5742 cat confdefs.h
>>conftest.
$ac_ext
5743 cat >>conftest.
$ac_ext <<_ACEOF
5744 /* end confdefs.h. */
5745 $ac_includes_default
5746 /* malloc might have been renamed as rpl_malloc. */
5749 /* Thanks to Mike Haertel and Jim Avera for this test.
5750 Here is a matrix of mmap possibilities:
5751 mmap private not fixed
5752 mmap private fixed at somewhere currently unmapped
5753 mmap private fixed at somewhere already mapped
5754 mmap shared not fixed
5755 mmap shared fixed at somewhere currently unmapped
5756 mmap shared fixed at somewhere already mapped
5757 For private mappings, we should verify that changes cannot be read()
5758 back from the file, nor mmap's back from the file at a different
5759 address. (There have been systems where private was not correctly
5760 implemented like the infamous i386 svr4.0, and systems where the
5761 VM page cache was not coherent with the file system buffer cache
5762 like early versions of FreeBSD and possibly contemporary NetBSD.)
5763 For shared mappings, we should conversely verify that changes get
5764 propagated back to all the places they're supposed to be.
5766 Grep wants private fixed already mapped.
5767 The main things grep needs to know about mmap are:
5768 * does it exist and is it safe to write into the mmap'd area
5769 * how to use it (BSD variants) */
5772 #include <sys/mman.h>
5774 #if !STDC_HEADERS && !HAVE_STDLIB_H
5778 /* This mess was copied from the GNU getpagesize.h. */
5779 #if !HAVE_GETPAGESIZE
5780 /* Assume that all systems that can run configure have sys/param.h. */
5781 # if !HAVE_SYS_PARAM_H
5782 # define HAVE_SYS_PARAM_H 1
5785 # ifdef _SC_PAGESIZE
5786 # define getpagesize() sysconf(_SC_PAGESIZE)
5787 # else /* no _SC_PAGESIZE */
5788 # if HAVE_SYS_PARAM_H
5789 # include <sys/param.h>
5790 # ifdef EXEC_PAGESIZE
5791 # define getpagesize() EXEC_PAGESIZE
5792 # else /* no EXEC_PAGESIZE */
5794 # define getpagesize() NBPG * CLSIZE
5797 # endif /* no CLSIZE */
5798 # else /* no NBPG */
5800 # define getpagesize() NBPC
5801 # else /* no NBPC */
5803 # define getpagesize() PAGESIZE
5804 # endif /* PAGESIZE */
5805 # endif /* no NBPC */
5806 # endif /* no NBPG */
5807 # endif /* no EXEC_PAGESIZE */
5808 # else /* no HAVE_SYS_PARAM_H */
5809 # define getpagesize() 8192 /* punt totally */
5810 # endif /* no HAVE_SYS_PARAM_H */
5811 # endif /* no _SC_PAGESIZE */
5813 #endif /* no HAVE_GETPAGESIZE */
5818 char *data, *data2, *data3;
5822 pagesize = getpagesize ();
5824 /* First, make a file with some known garbage in it. */
5825 data = (char *) malloc (pagesize);
5828 for (i = 0; i < pagesize; ++i)
5829 *(data + i) = rand ();
5831 fd = creat ("conftest.mmap", 0600);
5834 if (write (fd, data, pagesize) != pagesize)
5838 /* Next, try to mmap the file at a fixed address which already has
5839 something else allocated at it. If we can, also make sure that
5840 we see the same garbage. */
5841 fd = open ("conftest.mmap", O_RDWR);
5844 data2 = (char *) malloc (2 * pagesize);
5847 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5848 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5849 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5851 for (i = 0; i < pagesize; ++i)
5852 if (*(data + i) != *(data2 + i))
5855 /* Finally, make sure that changes to the mapped area do not
5856 percolate back to the file as seen by read(). (This is a bug on
5857 some variants of i386 svr4.0.) */
5858 for (i = 0; i < pagesize; ++i)
5859 *(data2 + i) = *(data2 + i) + 1;
5860 data3 = (char *) malloc (pagesize);
5863 if (read (fd, data3, pagesize) != pagesize)
5865 for (i = 0; i < pagesize; ++i)
5866 if (*(data + i) != *(data3 + i))
5872 rm -f conftest
$ac_exeext
5873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5874 (eval $ac_link) 2>&5
5876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5882 (exit $ac_status); }; }; then
5883 ac_cv_func_mmap_fixed_mapped
=yes
5885 echo "$as_me: program exited with status $ac_status" >&5
5886 echo "$as_me: failed program was:" >&5
5887 sed 's/^/| /' conftest.
$ac_ext >&5
5890 ac_cv_func_mmap_fixed_mapped
=no
5892 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5895 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5896 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5897 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5899 cat >>confdefs.h
<<\_ACEOF
5907 echo "$as_me:$LINENO: checking for off_t" >&5
5908 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5909 if test "${ac_cv_type_off_t+set}" = set; then
5910 echo $ECHO_N "(cached) $ECHO_C" >&6
5912 cat >conftest.
$ac_ext <<_ACEOF
5915 cat confdefs.h
>>conftest.
$ac_ext
5916 cat >>conftest.
$ac_ext <<_ACEOF
5917 /* end confdefs.h. */
5918 $ac_includes_default
5930 rm -f conftest.
$ac_objext
5931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5932 (eval $ac_compile) 2>conftest.er1
5934 grep -v '^ *+' conftest.er1
>conftest.err
5936 cat conftest.err
>&5
5937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5938 (exit $ac_status); } &&
5939 { ac_try
='test -z "$ac_c_werror_flag"
5940 || test ! -s conftest.err'
5941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5945 (exit $ac_status); }; } &&
5946 { ac_try
='test -s conftest.$ac_objext'
5947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5951 (exit $ac_status); }; }; then
5952 ac_cv_type_off_t
=yes
5954 echo "$as_me: failed program was:" >&5
5955 sed 's/^/| /' conftest.
$ac_ext >&5
5959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5961 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5962 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5963 if test $ac_cv_type_off_t = yes; then
5967 cat >>confdefs.h
<<_ACEOF
5974 # check header files
5975 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5976 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5977 if test "${ac_cv_header_stdc+set}" = set; then
5978 echo $ECHO_N "(cached) $ECHO_C" >&6
5980 cat >conftest.
$ac_ext <<_ACEOF
5983 cat confdefs.h
>>conftest.
$ac_ext
5984 cat >>conftest.
$ac_ext <<_ACEOF
5985 /* end confdefs.h. */
5999 rm -f conftest.
$ac_objext
6000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6001 (eval $ac_compile) 2>conftest.er1
6003 grep -v '^ *+' conftest.er1
>conftest.err
6005 cat conftest.err
>&5
6006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6007 (exit $ac_status); } &&
6008 { ac_try
='test -z "$ac_c_werror_flag"
6009 || test ! -s conftest.err'
6010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6014 (exit $ac_status); }; } &&
6015 { ac_try
='test -s conftest.$ac_objext'
6016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6020 (exit $ac_status); }; }; then
6021 ac_cv_header_stdc
=yes
6023 echo "$as_me: failed program was:" >&5
6024 sed 's/^/| /' conftest.
$ac_ext >&5
6026 ac_cv_header_stdc
=no
6028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6030 if test $ac_cv_header_stdc = yes; then
6031 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6032 cat >conftest.
$ac_ext <<_ACEOF
6035 cat confdefs.h
>>conftest.
$ac_ext
6036 cat >>conftest.
$ac_ext <<_ACEOF
6037 /* end confdefs.h. */
6041 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6042 $EGREP "memchr" >/dev
/null
2>&1; then
6045 ac_cv_header_stdc
=no
6051 if test $ac_cv_header_stdc = yes; then
6052 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6053 cat >conftest.
$ac_ext <<_ACEOF
6056 cat confdefs.h
>>conftest.
$ac_ext
6057 cat >>conftest.
$ac_ext <<_ACEOF
6058 /* end confdefs.h. */
6062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6063 $EGREP "free" >/dev
/null
2>&1; then
6066 ac_cv_header_stdc
=no
6072 if test $ac_cv_header_stdc = yes; then
6073 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6074 if test "$cross_compiling" = yes; then
6077 cat >conftest.
$ac_ext <<_ACEOF
6080 cat confdefs.h
>>conftest.
$ac_ext
6081 cat >>conftest.
$ac_ext <<_ACEOF
6082 /* end confdefs.h. */
6084 #if ((' ' & 0x0FF) == 0x020)
6085 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6086 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6088 # define ISLOWER(c) \
6089 (('a' <= (c) && (c) <= 'i') \
6090 || ('j' <= (c) && (c) <= 'r') \
6091 || ('s' <= (c) && (c) <= 'z'))
6092 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6095 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6100 for (i = 0; i < 256; i++)
6101 if (XOR (islower (i), ISLOWER (i))
6102 || toupper (i) != TOUPPER (i))
6107 rm -f conftest
$ac_exeext
6108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6109 (eval $ac_link) 2>&5
6111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6112 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117 (exit $ac_status); }; }; then
6120 echo "$as_me: program exited with status $ac_status" >&5
6121 echo "$as_me: failed program was:" >&5
6122 sed 's/^/| /' conftest.
$ac_ext >&5
6125 ac_cv_header_stdc
=no
6127 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6131 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6132 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6133 if test $ac_cv_header_stdc = yes; then
6135 cat >>confdefs.h
<<\_ACEOF
6136 #define STDC_HEADERS 1
6147 for ac_header
in stdlib.h stdio.h string.h stddef.h math.h unistd.h
6149 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6150 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6151 echo "$as_me:$LINENO: checking for $ac_header" >&5
6152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6153 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6154 echo $ECHO_N "(cached) $ECHO_C" >&6
6156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6157 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6159 # Is the header compilable?
6160 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6161 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6162 cat >conftest.
$ac_ext <<_ACEOF
6165 cat confdefs.h
>>conftest.
$ac_ext
6166 cat >>conftest.
$ac_ext <<_ACEOF
6167 /* end confdefs.h. */
6168 $ac_includes_default
6169 #include <$ac_header>
6171 rm -f conftest.
$ac_objext
6172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6173 (eval $ac_compile) 2>conftest.er1
6175 grep -v '^ *+' conftest.er1
>conftest.err
6177 cat conftest.err
>&5
6178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179 (exit $ac_status); } &&
6180 { ac_try
='test -z "$ac_c_werror_flag"
6181 || test ! -s conftest.err'
6182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6186 (exit $ac_status); }; } &&
6187 { ac_try
='test -s conftest.$ac_objext'
6188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 (exit $ac_status); }; }; then
6193 ac_header_compiler
=yes
6195 echo "$as_me: failed program was:" >&5
6196 sed 's/^/| /' conftest.
$ac_ext >&5
6198 ac_header_compiler
=no
6200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6201 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6202 echo "${ECHO_T}$ac_header_compiler" >&6
6204 # Is the header present?
6205 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6206 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6207 cat >conftest.
$ac_ext <<_ACEOF
6210 cat confdefs.h
>>conftest.
$ac_ext
6211 cat >>conftest.
$ac_ext <<_ACEOF
6212 /* end confdefs.h. */
6213 #include <$ac_header>
6215 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6216 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6218 grep -v '^ *+' conftest.er1
>conftest.err
6220 cat conftest.err
>&5
6221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6222 (exit $ac_status); } >/dev
/null
; then
6223 if test -s conftest.err
; then
6224 ac_cpp_err
=$ac_c_preproc_warn_flag
6225 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6232 if test -z "$ac_cpp_err"; then
6233 ac_header_preproc
=yes
6235 echo "$as_me: failed program was:" >&5
6236 sed 's/^/| /' conftest.
$ac_ext >&5
6238 ac_header_preproc
=no
6240 rm -f conftest.err conftest.
$ac_ext
6241 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6242 echo "${ECHO_T}$ac_header_preproc" >&6
6244 # So? What about this header?
6245 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6247 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6248 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6249 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6250 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6251 ac_header_preproc
=yes
6254 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6255 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6256 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6257 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6258 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6259 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6260 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6261 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6262 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6263 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6264 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6265 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6268 ## ------------------------------------------------------ ##
6269 ## Report this to the GNU Fortran Runtime Library lists. ##
6270 ## ------------------------------------------------------ ##
6273 sed "s/^/$as_me: WARNING: /" >&2
6276 echo "$as_me:$LINENO: checking for $ac_header" >&5
6277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6278 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6279 echo $ECHO_N "(cached) $ECHO_C" >&6
6281 eval "$as_ac_Header=\$ac_header_preproc"
6283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6284 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6287 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6288 cat >>confdefs.h
<<_ACEOF
6289 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6301 for ac_header
in time.h sys
/params.h sys
/time.h sys
/times.h sys
/resource.h
6303 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6305 echo "$as_me:$LINENO: checking for $ac_header" >&5
6306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6308 echo $ECHO_N "(cached) $ECHO_C" >&6
6310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6311 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6313 # Is the header compilable?
6314 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6315 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6316 cat >conftest.
$ac_ext <<_ACEOF
6319 cat confdefs.h
>>conftest.
$ac_ext
6320 cat >>conftest.
$ac_ext <<_ACEOF
6321 /* end confdefs.h. */
6322 $ac_includes_default
6323 #include <$ac_header>
6325 rm -f conftest.
$ac_objext
6326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6327 (eval $ac_compile) 2>conftest.er1
6329 grep -v '^ *+' conftest.er1
>conftest.err
6331 cat conftest.err
>&5
6332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6333 (exit $ac_status); } &&
6334 { ac_try
='test -z "$ac_c_werror_flag"
6335 || test ! -s conftest.err'
6336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6340 (exit $ac_status); }; } &&
6341 { ac_try
='test -s conftest.$ac_objext'
6342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6346 (exit $ac_status); }; }; then
6347 ac_header_compiler
=yes
6349 echo "$as_me: failed program was:" >&5
6350 sed 's/^/| /' conftest.
$ac_ext >&5
6352 ac_header_compiler
=no
6354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6355 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6356 echo "${ECHO_T}$ac_header_compiler" >&6
6358 # Is the header present?
6359 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6360 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6361 cat >conftest.
$ac_ext <<_ACEOF
6364 cat confdefs.h
>>conftest.
$ac_ext
6365 cat >>conftest.
$ac_ext <<_ACEOF
6366 /* end confdefs.h. */
6367 #include <$ac_header>
6369 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6370 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6372 grep -v '^ *+' conftest.er1
>conftest.err
6374 cat conftest.err
>&5
6375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6376 (exit $ac_status); } >/dev
/null
; then
6377 if test -s conftest.err
; then
6378 ac_cpp_err
=$ac_c_preproc_warn_flag
6379 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6386 if test -z "$ac_cpp_err"; then
6387 ac_header_preproc
=yes
6389 echo "$as_me: failed program was:" >&5
6390 sed 's/^/| /' conftest.
$ac_ext >&5
6392 ac_header_preproc
=no
6394 rm -f conftest.err conftest.
$ac_ext
6395 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6396 echo "${ECHO_T}$ac_header_preproc" >&6
6398 # So? What about this header?
6399 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6401 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6402 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6403 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6404 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6405 ac_header_preproc
=yes
6408 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6409 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6410 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6411 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6412 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6413 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6414 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6415 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6417 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6418 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6419 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6422 ## ------------------------------------------------------ ##
6423 ## Report this to the GNU Fortran Runtime Library lists. ##
6424 ## ------------------------------------------------------ ##
6427 sed "s/^/$as_me: WARNING: /" >&2
6430 echo "$as_me:$LINENO: checking for $ac_header" >&5
6431 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6432 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6433 echo $ECHO_N "(cached) $ECHO_C" >&6
6435 eval "$as_ac_Header=\$ac_header_preproc"
6437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6438 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6441 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6442 cat >>confdefs.h
<<_ACEOF
6443 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6454 for ac_header
in sys
/mman.h sys
/types.h sys
/stat.h ieeefp.h
6456 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6458 echo "$as_me:$LINENO: checking for $ac_header" >&5
6459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6461 echo $ECHO_N "(cached) $ECHO_C" >&6
6463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6464 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6466 # Is the header compilable?
6467 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6468 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6469 cat >conftest.
$ac_ext <<_ACEOF
6472 cat confdefs.h
>>conftest.
$ac_ext
6473 cat >>conftest.
$ac_ext <<_ACEOF
6474 /* end confdefs.h. */
6475 $ac_includes_default
6476 #include <$ac_header>
6478 rm -f conftest.
$ac_objext
6479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6480 (eval $ac_compile) 2>conftest.er1
6482 grep -v '^ *+' conftest.er1
>conftest.err
6484 cat conftest.err
>&5
6485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6486 (exit $ac_status); } &&
6487 { ac_try
='test -z "$ac_c_werror_flag"
6488 || test ! -s conftest.err'
6489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6493 (exit $ac_status); }; } &&
6494 { ac_try
='test -s conftest.$ac_objext'
6495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6499 (exit $ac_status); }; }; then
6500 ac_header_compiler
=yes
6502 echo "$as_me: failed program was:" >&5
6503 sed 's/^/| /' conftest.
$ac_ext >&5
6505 ac_header_compiler
=no
6507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6508 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6509 echo "${ECHO_T}$ac_header_compiler" >&6
6511 # Is the header present?
6512 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6513 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6514 cat >conftest.
$ac_ext <<_ACEOF
6517 cat confdefs.h
>>conftest.
$ac_ext
6518 cat >>conftest.
$ac_ext <<_ACEOF
6519 /* end confdefs.h. */
6520 #include <$ac_header>
6522 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6523 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6525 grep -v '^ *+' conftest.er1
>conftest.err
6527 cat conftest.err
>&5
6528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6529 (exit $ac_status); } >/dev
/null
; then
6530 if test -s conftest.err
; then
6531 ac_cpp_err
=$ac_c_preproc_warn_flag
6532 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6539 if test -z "$ac_cpp_err"; then
6540 ac_header_preproc
=yes
6542 echo "$as_me: failed program was:" >&5
6543 sed 's/^/| /' conftest.
$ac_ext >&5
6545 ac_header_preproc
=no
6547 rm -f conftest.err conftest.
$ac_ext
6548 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6549 echo "${ECHO_T}$ac_header_preproc" >&6
6551 # So? What about this header?
6552 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6554 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6555 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6556 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6557 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6558 ac_header_preproc
=yes
6561 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6562 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6563 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6564 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6565 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6566 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6567 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6568 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6569 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6570 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6571 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6572 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6575 ## ------------------------------------------------------ ##
6576 ## Report this to the GNU Fortran Runtime Library lists. ##
6577 ## ------------------------------------------------------ ##
6580 sed "s/^/$as_me: WARNING: /" >&2
6583 echo "$as_me:$LINENO: checking for $ac_header" >&5
6584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6586 echo $ECHO_N "(cached) $ECHO_C" >&6
6588 eval "$as_ac_Header=\$ac_header_preproc"
6590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6591 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6594 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6595 cat >>confdefs.h
<<_ACEOF
6596 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6603 if test "${ac_cv_header_complex_h+set}" = set; then
6604 echo "$as_me:$LINENO: checking for complex.h" >&5
6605 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6606 if test "${ac_cv_header_complex_h+set}" = set; then
6607 echo $ECHO_N "(cached) $ECHO_C" >&6
6609 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6610 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6612 # Is the header compilable?
6613 echo "$as_me:$LINENO: checking complex.h usability" >&5
6614 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6615 cat >conftest.
$ac_ext <<_ACEOF
6618 cat confdefs.h
>>conftest.
$ac_ext
6619 cat >>conftest.
$ac_ext <<_ACEOF
6620 /* end confdefs.h. */
6621 $ac_includes_default
6622 #include <complex.h>
6624 rm -f conftest.
$ac_objext
6625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6626 (eval $ac_compile) 2>conftest.er1
6628 grep -v '^ *+' conftest.er1
>conftest.err
6630 cat conftest.err
>&5
6631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6632 (exit $ac_status); } &&
6633 { ac_try
='test -z "$ac_c_werror_flag"
6634 || test ! -s conftest.err'
6635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6639 (exit $ac_status); }; } &&
6640 { ac_try
='test -s conftest.$ac_objext'
6641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6645 (exit $ac_status); }; }; then
6646 ac_header_compiler
=yes
6648 echo "$as_me: failed program was:" >&5
6649 sed 's/^/| /' conftest.
$ac_ext >&5
6651 ac_header_compiler
=no
6653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6654 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6655 echo "${ECHO_T}$ac_header_compiler" >&6
6657 # Is the header present?
6658 echo "$as_me:$LINENO: checking complex.h presence" >&5
6659 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6660 cat >conftest.
$ac_ext <<_ACEOF
6663 cat confdefs.h
>>conftest.
$ac_ext
6664 cat >>conftest.
$ac_ext <<_ACEOF
6665 /* end confdefs.h. */
6666 #include <complex.h>
6668 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6669 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6671 grep -v '^ *+' conftest.er1
>conftest.err
6673 cat conftest.err
>&5
6674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6675 (exit $ac_status); } >/dev
/null
; then
6676 if test -s conftest.err
; then
6677 ac_cpp_err
=$ac_c_preproc_warn_flag
6678 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6685 if test -z "$ac_cpp_err"; then
6686 ac_header_preproc
=yes
6688 echo "$as_me: failed program was:" >&5
6689 sed 's/^/| /' conftest.
$ac_ext >&5
6691 ac_header_preproc
=no
6693 rm -f conftest.err conftest.
$ac_ext
6694 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6695 echo "${ECHO_T}$ac_header_preproc" >&6
6697 # So? What about this header?
6698 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6700 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6701 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6702 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6703 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6704 ac_header_preproc
=yes
6707 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6708 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6709 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6710 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6711 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6712 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6713 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6714 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6715 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6716 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6717 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6718 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6721 ## ------------------------------------------------------ ##
6722 ## Report this to the GNU Fortran Runtime Library lists. ##
6723 ## ------------------------------------------------------ ##
6726 sed "s/^/$as_me: WARNING: /" >&2
6729 echo "$as_me:$LINENO: checking for complex.h" >&5
6730 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6731 if test "${ac_cv_header_complex_h+set}" = set; then
6732 echo $ECHO_N "(cached) $ECHO_C" >&6
6734 ac_cv_header_complex_h
=$ac_header_preproc
6736 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6737 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6740 if test $ac_cv_header_complex_h = yes; then
6742 cat >>confdefs.h
<<\_ACEOF
6743 #define HAVE_COMPLEX_H 1
6750 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6751 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
6752 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6753 echo $ECHO_N "(cached) $ECHO_C" >&6
6755 cat >conftest.
$ac_ext <<_ACEOF
6758 cat confdefs.h
>>conftest.
$ac_ext
6759 cat >>conftest.
$ac_ext <<_ACEOF
6760 /* end confdefs.h. */
6761 $ac_includes_default
6765 static struct stat ac_aggr;
6766 if (ac_aggr.st_blksize)
6772 rm -f conftest.
$ac_objext
6773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6774 (eval $ac_compile) 2>conftest.er1
6776 grep -v '^ *+' conftest.er1
>conftest.err
6778 cat conftest.err
>&5
6779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6780 (exit $ac_status); } &&
6781 { ac_try
='test -z "$ac_c_werror_flag"
6782 || test ! -s conftest.err'
6783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6787 (exit $ac_status); }; } &&
6788 { ac_try
='test -s conftest.$ac_objext'
6789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6793 (exit $ac_status); }; }; then
6794 ac_cv_member_struct_stat_st_blksize
=yes
6796 echo "$as_me: failed program was:" >&5
6797 sed 's/^/| /' conftest.
$ac_ext >&5
6799 cat >conftest.
$ac_ext <<_ACEOF
6802 cat confdefs.h
>>conftest.
$ac_ext
6803 cat >>conftest.
$ac_ext <<_ACEOF
6804 /* end confdefs.h. */
6805 $ac_includes_default
6809 static struct stat ac_aggr;
6810 if (sizeof ac_aggr.st_blksize)
6816 rm -f conftest.
$ac_objext
6817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6818 (eval $ac_compile) 2>conftest.er1
6820 grep -v '^ *+' conftest.er1
>conftest.err
6822 cat conftest.err
>&5
6823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6824 (exit $ac_status); } &&
6825 { ac_try
='test -z "$ac_c_werror_flag"
6826 || test ! -s conftest.err'
6827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6831 (exit $ac_status); }; } &&
6832 { ac_try
='test -s conftest.$ac_objext'
6833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6837 (exit $ac_status); }; }; then
6838 ac_cv_member_struct_stat_st_blksize
=yes
6840 echo "$as_me: failed program was:" >&5
6841 sed 's/^/| /' conftest.
$ac_ext >&5
6843 ac_cv_member_struct_stat_st_blksize
=no
6845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6849 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6850 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
6851 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6853 cat >>confdefs.h
<<_ACEOF
6854 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6860 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6861 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
6862 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6863 echo $ECHO_N "(cached) $ECHO_C" >&6
6865 cat >conftest.
$ac_ext <<_ACEOF
6868 cat confdefs.h
>>conftest.
$ac_ext
6869 cat >>conftest.
$ac_ext <<_ACEOF
6870 /* end confdefs.h. */
6871 $ac_includes_default
6875 static struct stat ac_aggr;
6876 if (ac_aggr.st_blocks)
6882 rm -f conftest.
$ac_objext
6883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6884 (eval $ac_compile) 2>conftest.er1
6886 grep -v '^ *+' conftest.er1
>conftest.err
6888 cat conftest.err
>&5
6889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6890 (exit $ac_status); } &&
6891 { ac_try
='test -z "$ac_c_werror_flag"
6892 || test ! -s conftest.err'
6893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6897 (exit $ac_status); }; } &&
6898 { ac_try
='test -s conftest.$ac_objext'
6899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6903 (exit $ac_status); }; }; then
6904 ac_cv_member_struct_stat_st_blocks
=yes
6906 echo "$as_me: failed program was:" >&5
6907 sed 's/^/| /' conftest.
$ac_ext >&5
6909 cat >conftest.
$ac_ext <<_ACEOF
6912 cat confdefs.h
>>conftest.
$ac_ext
6913 cat >>conftest.
$ac_ext <<_ACEOF
6914 /* end confdefs.h. */
6915 $ac_includes_default
6919 static struct stat ac_aggr;
6920 if (sizeof ac_aggr.st_blocks)
6926 rm -f conftest.
$ac_objext
6927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6928 (eval $ac_compile) 2>conftest.er1
6930 grep -v '^ *+' conftest.er1
>conftest.err
6932 cat conftest.err
>&5
6933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6934 (exit $ac_status); } &&
6935 { ac_try
='test -z "$ac_c_werror_flag"
6936 || test ! -s conftest.err'
6937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6941 (exit $ac_status); }; } &&
6942 { ac_try
='test -s conftest.$ac_objext'
6943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6947 (exit $ac_status); }; }; then
6948 ac_cv_member_struct_stat_st_blocks
=yes
6950 echo "$as_me: failed program was:" >&5
6951 sed 's/^/| /' conftest.
$ac_ext >&5
6953 ac_cv_member_struct_stat_st_blocks
=no
6955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6959 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6960 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
6961 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6963 cat >>confdefs.h
<<_ACEOF
6964 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6970 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6971 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
6972 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6973 echo $ECHO_N "(cached) $ECHO_C" >&6
6975 cat >conftest.
$ac_ext <<_ACEOF
6978 cat confdefs.h
>>conftest.
$ac_ext
6979 cat >>conftest.
$ac_ext <<_ACEOF
6980 /* end confdefs.h. */
6981 $ac_includes_default
6985 static struct stat ac_aggr;
6986 if (ac_aggr.st_rdev)
6992 rm -f conftest.
$ac_objext
6993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6994 (eval $ac_compile) 2>conftest.er1
6996 grep -v '^ *+' conftest.er1
>conftest.err
6998 cat conftest.err
>&5
6999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7000 (exit $ac_status); } &&
7001 { ac_try
='test -z "$ac_c_werror_flag"
7002 || test ! -s conftest.err'
7003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7007 (exit $ac_status); }; } &&
7008 { ac_try
='test -s conftest.$ac_objext'
7009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7013 (exit $ac_status); }; }; then
7014 ac_cv_member_struct_stat_st_rdev
=yes
7016 echo "$as_me: failed program was:" >&5
7017 sed 's/^/| /' conftest.
$ac_ext >&5
7019 cat >conftest.
$ac_ext <<_ACEOF
7022 cat confdefs.h
>>conftest.
$ac_ext
7023 cat >>conftest.
$ac_ext <<_ACEOF
7024 /* end confdefs.h. */
7025 $ac_includes_default
7029 static struct stat ac_aggr;
7030 if (sizeof ac_aggr.st_rdev)
7036 rm -f conftest.
$ac_objext
7037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7038 (eval $ac_compile) 2>conftest.er1
7040 grep -v '^ *+' conftest.er1
>conftest.err
7042 cat conftest.err
>&5
7043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7044 (exit $ac_status); } &&
7045 { ac_try
='test -z "$ac_c_werror_flag"
7046 || test ! -s conftest.err'
7047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7051 (exit $ac_status); }; } &&
7052 { ac_try
='test -s conftest.$ac_objext'
7053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7057 (exit $ac_status); }; }; then
7058 ac_cv_member_struct_stat_st_rdev
=yes
7060 echo "$as_me: failed program was:" >&5
7061 sed 's/^/| /' conftest.
$ac_ext >&5
7063 ac_cv_member_struct_stat_st_rdev
=no
7065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7069 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
7070 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
7071 if test $ac_cv_member_struct_stat_st_rdev = yes; then
7073 cat >>confdefs.h
<<_ACEOF
7074 #define HAVE_STRUCT_STAT_ST_RDEV 1
7081 # Check for complex math functions
7082 echo "$as_me:$LINENO: checking for csin in -lm" >&5
7083 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
7084 if test "${ac_cv_lib_m_csin+set}" = set; then
7085 echo $ECHO_N "(cached) $ECHO_C" >&6
7087 ac_check_lib_save_LIBS
=$LIBS
7089 if test x
$gcc_no_link = xyes
; then
7090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7092 { (exit 1); exit 1; }; }
7094 cat >conftest.
$ac_ext <<_ACEOF
7097 cat confdefs.h
>>conftest.
$ac_ext
7098 cat >>conftest.
$ac_ext <<_ACEOF
7099 /* end confdefs.h. */
7101 /* Override any gcc2 internal prototype to avoid an error. */
7105 /* We use char because int might match the return type of a gcc2
7106 builtin and then its argument prototype would still apply. */
7116 rm -f conftest.
$ac_objext conftest
$ac_exeext
7117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7118 (eval $ac_link) 2>conftest.er1
7120 grep -v '^ *+' conftest.er1
>conftest.err
7122 cat conftest.err
>&5
7123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7124 (exit $ac_status); } &&
7125 { ac_try
='test -z "$ac_c_werror_flag"
7126 || test ! -s conftest.err'
7127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7131 (exit $ac_status); }; } &&
7132 { ac_try
='test -s conftest$ac_exeext'
7133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137 (exit $ac_status); }; }; then
7138 ac_cv_lib_m_csin
=yes
7140 echo "$as_me: failed program was:" >&5
7141 sed 's/^/| /' conftest.
$ac_ext >&5
7145 rm -f conftest.err conftest.
$ac_objext \
7146 conftest
$ac_exeext conftest.
$ac_ext
7147 LIBS
=$ac_check_lib_save_LIBS
7149 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
7150 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
7151 if test $ac_cv_lib_m_csin = yes; then
7158 # Check for library functions.
7164 for ac_func
in getrusage
times mkstemp strtof snprintf
7166 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7167 echo "$as_me:$LINENO: checking for $ac_func" >&5
7168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7169 if eval "test \"\${$as_ac_var+set}\" = set"; then
7170 echo $ECHO_N "(cached) $ECHO_C" >&6
7172 if test x
$gcc_no_link = xyes
; then
7173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7175 { (exit 1); exit 1; }; }
7177 cat >conftest.
$ac_ext <<_ACEOF
7180 cat confdefs.h
>>conftest.
$ac_ext
7181 cat >>conftest.
$ac_ext <<_ACEOF
7182 /* end confdefs.h. */
7183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7185 #define $ac_func innocuous_$ac_func
7187 /* System header to define __stub macros and hopefully few prototypes,
7188 which can conflict with char $ac_func (); below.
7189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7190 <limits.h> exists even on freestanding compilers. */
7193 # include <limits.h>
7195 # include <assert.h>
7200 /* Override any gcc2 internal prototype to avoid an error. */
7205 /* We use char because int might match the return type of a gcc2
7206 builtin and then its argument prototype would still apply. */
7208 /* The GNU C library defines this for functions which it implements
7209 to always fail with ENOSYS. Some functions are actually named
7210 something starting with __ and the normal name is an alias. */
7211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7214 char (*f) () = $ac_func;
7223 return f != $ac_func;
7228 rm -f conftest.
$ac_objext conftest
$ac_exeext
7229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7230 (eval $ac_link) 2>conftest.er1
7232 grep -v '^ *+' conftest.er1
>conftest.err
7234 cat conftest.err
>&5
7235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7236 (exit $ac_status); } &&
7237 { ac_try
='test -z "$ac_c_werror_flag"
7238 || test ! -s conftest.err'
7239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7243 (exit $ac_status); }; } &&
7244 { ac_try
='test -s conftest$ac_exeext'
7245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7249 (exit $ac_status); }; }; then
7250 eval "$as_ac_var=yes"
7252 echo "$as_me: failed program was:" >&5
7253 sed 's/^/| /' conftest.
$ac_ext >&5
7255 eval "$as_ac_var=no"
7257 rm -f conftest.err conftest.
$ac_objext \
7258 conftest
$ac_exeext conftest.
$ac_ext
7260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7262 if test `eval echo '${'$as_ac_var'}'` = yes; then
7263 cat >>confdefs.h
<<_ACEOF
7264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7271 # Check libc for getgid, getpid, getuid
7272 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
7273 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
7274 if test "${ac_cv_lib_c_getgid+set}" = set; then
7275 echo $ECHO_N "(cached) $ECHO_C" >&6
7277 ac_check_lib_save_LIBS
=$LIBS
7279 if test x
$gcc_no_link = xyes
; then
7280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7282 { (exit 1); exit 1; }; }
7284 cat >conftest.
$ac_ext <<_ACEOF
7287 cat confdefs.h
>>conftest.
$ac_ext
7288 cat >>conftest.
$ac_ext <<_ACEOF
7289 /* end confdefs.h. */
7291 /* Override any gcc2 internal prototype to avoid an error. */
7295 /* We use char because int might match the return type of a gcc2
7296 builtin and then its argument prototype would still apply. */
7306 rm -f conftest.
$ac_objext conftest
$ac_exeext
7307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7308 (eval $ac_link) 2>conftest.er1
7310 grep -v '^ *+' conftest.er1
>conftest.err
7312 cat conftest.err
>&5
7313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7314 (exit $ac_status); } &&
7315 { ac_try
='test -z "$ac_c_werror_flag"
7316 || test ! -s conftest.err'
7317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7321 (exit $ac_status); }; } &&
7322 { ac_try
='test -s conftest$ac_exeext'
7323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7327 (exit $ac_status); }; }; then
7328 ac_cv_lib_c_getgid
=yes
7330 echo "$as_me: failed program was:" >&5
7331 sed 's/^/| /' conftest.
$ac_ext >&5
7333 ac_cv_lib_c_getgid
=no
7335 rm -f conftest.err conftest.
$ac_objext \
7336 conftest
$ac_exeext conftest.
$ac_ext
7337 LIBS
=$ac_check_lib_save_LIBS
7339 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
7340 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
7341 if test $ac_cv_lib_c_getgid = yes; then
7343 cat >>confdefs.h
<<\_ACEOF
7344 #define HAVE_GETGID 1
7349 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
7350 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
7351 if test "${ac_cv_lib_c_getpid+set}" = set; then
7352 echo $ECHO_N "(cached) $ECHO_C" >&6
7354 ac_check_lib_save_LIBS
=$LIBS
7356 if test x
$gcc_no_link = xyes
; then
7357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7359 { (exit 1); exit 1; }; }
7361 cat >conftest.
$ac_ext <<_ACEOF
7364 cat confdefs.h
>>conftest.
$ac_ext
7365 cat >>conftest.
$ac_ext <<_ACEOF
7366 /* end confdefs.h. */
7368 /* Override any gcc2 internal prototype to avoid an error. */
7372 /* We use char because int might match the return type of a gcc2
7373 builtin and then its argument prototype would still apply. */
7383 rm -f conftest.
$ac_objext conftest
$ac_exeext
7384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7385 (eval $ac_link) 2>conftest.er1
7387 grep -v '^ *+' conftest.er1
>conftest.err
7389 cat conftest.err
>&5
7390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7391 (exit $ac_status); } &&
7392 { ac_try
='test -z "$ac_c_werror_flag"
7393 || test ! -s conftest.err'
7394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7398 (exit $ac_status); }; } &&
7399 { ac_try
='test -s conftest$ac_exeext'
7400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7404 (exit $ac_status); }; }; then
7405 ac_cv_lib_c_getpid
=yes
7407 echo "$as_me: failed program was:" >&5
7408 sed 's/^/| /' conftest.
$ac_ext >&5
7410 ac_cv_lib_c_getpid
=no
7412 rm -f conftest.err conftest.
$ac_objext \
7413 conftest
$ac_exeext conftest.
$ac_ext
7414 LIBS
=$ac_check_lib_save_LIBS
7416 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
7417 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
7418 if test $ac_cv_lib_c_getpid = yes; then
7420 cat >>confdefs.h
<<\_ACEOF
7421 #define HAVE_GETPID 1
7426 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
7427 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
7428 if test "${ac_cv_lib_c_getuid+set}" = set; then
7429 echo $ECHO_N "(cached) $ECHO_C" >&6
7431 ac_check_lib_save_LIBS
=$LIBS
7433 if test x
$gcc_no_link = xyes
; then
7434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7436 { (exit 1); exit 1; }; }
7438 cat >conftest.
$ac_ext <<_ACEOF
7441 cat confdefs.h
>>conftest.
$ac_ext
7442 cat >>conftest.
$ac_ext <<_ACEOF
7443 /* end confdefs.h. */
7445 /* Override any gcc2 internal prototype to avoid an error. */
7449 /* We use char because int might match the return type of a gcc2
7450 builtin and then its argument prototype would still apply. */
7460 rm -f conftest.
$ac_objext conftest
$ac_exeext
7461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7462 (eval $ac_link) 2>conftest.er1
7464 grep -v '^ *+' conftest.er1
>conftest.err
7466 cat conftest.err
>&5
7467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7468 (exit $ac_status); } &&
7469 { ac_try
='test -z "$ac_c_werror_flag"
7470 || test ! -s conftest.err'
7471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475 (exit $ac_status); }; } &&
7476 { ac_try
='test -s conftest$ac_exeext'
7477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7481 (exit $ac_status); }; }; then
7482 ac_cv_lib_c_getuid
=yes
7484 echo "$as_me: failed program was:" >&5
7485 sed 's/^/| /' conftest.
$ac_ext >&5
7487 ac_cv_lib_c_getuid
=no
7489 rm -f conftest.err conftest.
$ac_objext \
7490 conftest
$ac_exeext conftest.
$ac_ext
7491 LIBS
=$ac_check_lib_save_LIBS
7493 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
7494 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
7495 if test $ac_cv_lib_c_getuid = yes; then
7497 cat >>confdefs.h
<<\_ACEOF
7498 #define HAVE_GETUID 1
7504 # Check for C99 (and other IEEE) math functions
7505 # ??? This list seems awful long. Is there a better way to test for these?
7506 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
7507 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
7508 if test "${ac_cv_lib_m_acosf+set}" = set; then
7509 echo $ECHO_N "(cached) $ECHO_C" >&6
7511 ac_check_lib_save_LIBS
=$LIBS
7513 if test x
$gcc_no_link = xyes
; then
7514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7516 { (exit 1); exit 1; }; }
7518 cat >conftest.
$ac_ext <<_ACEOF
7521 cat confdefs.h
>>conftest.
$ac_ext
7522 cat >>conftest.
$ac_ext <<_ACEOF
7523 /* end confdefs.h. */
7525 /* Override any gcc2 internal prototype to avoid an error. */
7529 /* We use char because int might match the return type of a gcc2
7530 builtin and then its argument prototype would still apply. */
7540 rm -f conftest.
$ac_objext conftest
$ac_exeext
7541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7542 (eval $ac_link) 2>conftest.er1
7544 grep -v '^ *+' conftest.er1
>conftest.err
7546 cat conftest.err
>&5
7547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7548 (exit $ac_status); } &&
7549 { ac_try
='test -z "$ac_c_werror_flag"
7550 || test ! -s conftest.err'
7551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7555 (exit $ac_status); }; } &&
7556 { ac_try
='test -s conftest$ac_exeext'
7557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7561 (exit $ac_status); }; }; then
7562 ac_cv_lib_m_acosf
=yes
7564 echo "$as_me: failed program was:" >&5
7565 sed 's/^/| /' conftest.
$ac_ext >&5
7567 ac_cv_lib_m_acosf
=no
7569 rm -f conftest.err conftest.
$ac_objext \
7570 conftest
$ac_exeext conftest.
$ac_ext
7571 LIBS
=$ac_check_lib_save_LIBS
7573 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
7574 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
7575 if test $ac_cv_lib_m_acosf = yes; then
7577 cat >>confdefs.h
<<\_ACEOF
7578 #define HAVE_ACOSF 1
7583 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
7584 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
7585 if test "${ac_cv_lib_m_asinf+set}" = set; then
7586 echo $ECHO_N "(cached) $ECHO_C" >&6
7588 ac_check_lib_save_LIBS
=$LIBS
7590 if test x
$gcc_no_link = xyes
; then
7591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7593 { (exit 1); exit 1; }; }
7595 cat >conftest.
$ac_ext <<_ACEOF
7598 cat confdefs.h
>>conftest.
$ac_ext
7599 cat >>conftest.
$ac_ext <<_ACEOF
7600 /* end confdefs.h. */
7602 /* Override any gcc2 internal prototype to avoid an error. */
7606 /* We use char because int might match the return type of a gcc2
7607 builtin and then its argument prototype would still apply. */
7617 rm -f conftest.
$ac_objext conftest
$ac_exeext
7618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7619 (eval $ac_link) 2>conftest.er1
7621 grep -v '^ *+' conftest.er1
>conftest.err
7623 cat conftest.err
>&5
7624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7625 (exit $ac_status); } &&
7626 { ac_try
='test -z "$ac_c_werror_flag"
7627 || test ! -s conftest.err'
7628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7632 (exit $ac_status); }; } &&
7633 { ac_try
='test -s conftest$ac_exeext'
7634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7638 (exit $ac_status); }; }; then
7639 ac_cv_lib_m_asinf
=yes
7641 echo "$as_me: failed program was:" >&5
7642 sed 's/^/| /' conftest.
$ac_ext >&5
7644 ac_cv_lib_m_asinf
=no
7646 rm -f conftest.err conftest.
$ac_objext \
7647 conftest
$ac_exeext conftest.
$ac_ext
7648 LIBS
=$ac_check_lib_save_LIBS
7650 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
7651 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
7652 if test $ac_cv_lib_m_asinf = yes; then
7654 cat >>confdefs.h
<<\_ACEOF
7655 #define HAVE_ASINF 1
7660 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
7661 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
7662 if test "${ac_cv_lib_m_atan2f+set}" = set; then
7663 echo $ECHO_N "(cached) $ECHO_C" >&6
7665 ac_check_lib_save_LIBS
=$LIBS
7667 if test x
$gcc_no_link = xyes
; then
7668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7670 { (exit 1); exit 1; }; }
7672 cat >conftest.
$ac_ext <<_ACEOF
7675 cat confdefs.h
>>conftest.
$ac_ext
7676 cat >>conftest.
$ac_ext <<_ACEOF
7677 /* end confdefs.h. */
7679 /* Override any gcc2 internal prototype to avoid an error. */
7683 /* We use char because int might match the return type of a gcc2
7684 builtin and then its argument prototype would still apply. */
7694 rm -f conftest.
$ac_objext conftest
$ac_exeext
7695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7696 (eval $ac_link) 2>conftest.er1
7698 grep -v '^ *+' conftest.er1
>conftest.err
7700 cat conftest.err
>&5
7701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7702 (exit $ac_status); } &&
7703 { ac_try
='test -z "$ac_c_werror_flag"
7704 || test ! -s conftest.err'
7705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7709 (exit $ac_status); }; } &&
7710 { ac_try
='test -s conftest$ac_exeext'
7711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7715 (exit $ac_status); }; }; then
7716 ac_cv_lib_m_atan2f
=yes
7718 echo "$as_me: failed program was:" >&5
7719 sed 's/^/| /' conftest.
$ac_ext >&5
7721 ac_cv_lib_m_atan2f
=no
7723 rm -f conftest.err conftest.
$ac_objext \
7724 conftest
$ac_exeext conftest.
$ac_ext
7725 LIBS
=$ac_check_lib_save_LIBS
7727 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
7728 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
7729 if test $ac_cv_lib_m_atan2f = yes; then
7731 cat >>confdefs.h
<<\_ACEOF
7732 #define HAVE_ATAN2F 1
7737 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
7738 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
7739 if test "${ac_cv_lib_m_atanf+set}" = set; then
7740 echo $ECHO_N "(cached) $ECHO_C" >&6
7742 ac_check_lib_save_LIBS
=$LIBS
7744 if test x
$gcc_no_link = xyes
; then
7745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7747 { (exit 1); exit 1; }; }
7749 cat >conftest.
$ac_ext <<_ACEOF
7752 cat confdefs.h
>>conftest.
$ac_ext
7753 cat >>conftest.
$ac_ext <<_ACEOF
7754 /* end confdefs.h. */
7756 /* Override any gcc2 internal prototype to avoid an error. */
7760 /* We use char because int might match the return type of a gcc2
7761 builtin and then its argument prototype would still apply. */
7771 rm -f conftest.
$ac_objext conftest
$ac_exeext
7772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7773 (eval $ac_link) 2>conftest.er1
7775 grep -v '^ *+' conftest.er1
>conftest.err
7777 cat conftest.err
>&5
7778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7779 (exit $ac_status); } &&
7780 { ac_try
='test -z "$ac_c_werror_flag"
7781 || test ! -s conftest.err'
7782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7786 (exit $ac_status); }; } &&
7787 { ac_try
='test -s conftest$ac_exeext'
7788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7792 (exit $ac_status); }; }; then
7793 ac_cv_lib_m_atanf
=yes
7795 echo "$as_me: failed program was:" >&5
7796 sed 's/^/| /' conftest.
$ac_ext >&5
7798 ac_cv_lib_m_atanf
=no
7800 rm -f conftest.err conftest.
$ac_objext \
7801 conftest
$ac_exeext conftest.
$ac_ext
7802 LIBS
=$ac_check_lib_save_LIBS
7804 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
7805 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
7806 if test $ac_cv_lib_m_atanf = yes; then
7808 cat >>confdefs.h
<<\_ACEOF
7809 #define HAVE_ATANF 1
7814 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
7815 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
7816 if test "${ac_cv_lib_m_ceilf+set}" = set; then
7817 echo $ECHO_N "(cached) $ECHO_C" >&6
7819 ac_check_lib_save_LIBS
=$LIBS
7821 if test x
$gcc_no_link = xyes
; then
7822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7824 { (exit 1); exit 1; }; }
7826 cat >conftest.
$ac_ext <<_ACEOF
7829 cat confdefs.h
>>conftest.
$ac_ext
7830 cat >>conftest.
$ac_ext <<_ACEOF
7831 /* end confdefs.h. */
7833 /* Override any gcc2 internal prototype to avoid an error. */
7837 /* We use char because int might match the return type of a gcc2
7838 builtin and then its argument prototype would still apply. */
7848 rm -f conftest.
$ac_objext conftest
$ac_exeext
7849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7850 (eval $ac_link) 2>conftest.er1
7852 grep -v '^ *+' conftest.er1
>conftest.err
7854 cat conftest.err
>&5
7855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7856 (exit $ac_status); } &&
7857 { ac_try
='test -z "$ac_c_werror_flag"
7858 || test ! -s conftest.err'
7859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7863 (exit $ac_status); }; } &&
7864 { ac_try
='test -s conftest$ac_exeext'
7865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7869 (exit $ac_status); }; }; then
7870 ac_cv_lib_m_ceilf
=yes
7872 echo "$as_me: failed program was:" >&5
7873 sed 's/^/| /' conftest.
$ac_ext >&5
7875 ac_cv_lib_m_ceilf
=no
7877 rm -f conftest.err conftest.
$ac_objext \
7878 conftest
$ac_exeext conftest.
$ac_ext
7879 LIBS
=$ac_check_lib_save_LIBS
7881 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
7882 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
7883 if test $ac_cv_lib_m_ceilf = yes; then
7885 cat >>confdefs.h
<<\_ACEOF
7886 #define HAVE_CEILF 1
7891 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
7892 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
7893 if test "${ac_cv_lib_m_copysignf+set}" = set; then
7894 echo $ECHO_N "(cached) $ECHO_C" >&6
7896 ac_check_lib_save_LIBS
=$LIBS
7898 if test x
$gcc_no_link = xyes
; then
7899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7901 { (exit 1); exit 1; }; }
7903 cat >conftest.
$ac_ext <<_ACEOF
7906 cat confdefs.h
>>conftest.
$ac_ext
7907 cat >>conftest.
$ac_ext <<_ACEOF
7908 /* end confdefs.h. */
7910 /* Override any gcc2 internal prototype to avoid an error. */
7914 /* We use char because int might match the return type of a gcc2
7915 builtin and then its argument prototype would still apply. */
7925 rm -f conftest.
$ac_objext conftest
$ac_exeext
7926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7927 (eval $ac_link) 2>conftest.er1
7929 grep -v '^ *+' conftest.er1
>conftest.err
7931 cat conftest.err
>&5
7932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7933 (exit $ac_status); } &&
7934 { ac_try
='test -z "$ac_c_werror_flag"
7935 || test ! -s conftest.err'
7936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7940 (exit $ac_status); }; } &&
7941 { ac_try
='test -s conftest$ac_exeext'
7942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7946 (exit $ac_status); }; }; then
7947 ac_cv_lib_m_copysignf
=yes
7949 echo "$as_me: failed program was:" >&5
7950 sed 's/^/| /' conftest.
$ac_ext >&5
7952 ac_cv_lib_m_copysignf
=no
7954 rm -f conftest.err conftest.
$ac_objext \
7955 conftest
$ac_exeext conftest.
$ac_ext
7956 LIBS
=$ac_check_lib_save_LIBS
7958 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
7959 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
7960 if test $ac_cv_lib_m_copysignf = yes; then
7962 cat >>confdefs.h
<<\_ACEOF
7963 #define HAVE_COPYSIGNF 1
7968 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
7969 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
7970 if test "${ac_cv_lib_m_cosf+set}" = set; then
7971 echo $ECHO_N "(cached) $ECHO_C" >&6
7973 ac_check_lib_save_LIBS
=$LIBS
7975 if test x
$gcc_no_link = xyes
; then
7976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7978 { (exit 1); exit 1; }; }
7980 cat >conftest.
$ac_ext <<_ACEOF
7983 cat confdefs.h
>>conftest.
$ac_ext
7984 cat >>conftest.
$ac_ext <<_ACEOF
7985 /* end confdefs.h. */
7987 /* Override any gcc2 internal prototype to avoid an error. */
7991 /* We use char because int might match the return type of a gcc2
7992 builtin and then its argument prototype would still apply. */
8002 rm -f conftest.
$ac_objext conftest
$ac_exeext
8003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8004 (eval $ac_link) 2>conftest.er1
8006 grep -v '^ *+' conftest.er1
>conftest.err
8008 cat conftest.err
>&5
8009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010 (exit $ac_status); } &&
8011 { ac_try
='test -z "$ac_c_werror_flag"
8012 || test ! -s conftest.err'
8013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8017 (exit $ac_status); }; } &&
8018 { ac_try
='test -s conftest$ac_exeext'
8019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8023 (exit $ac_status); }; }; then
8024 ac_cv_lib_m_cosf
=yes
8026 echo "$as_me: failed program was:" >&5
8027 sed 's/^/| /' conftest.
$ac_ext >&5
8031 rm -f conftest.err conftest.
$ac_objext \
8032 conftest
$ac_exeext conftest.
$ac_ext
8033 LIBS
=$ac_check_lib_save_LIBS
8035 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
8036 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
8037 if test $ac_cv_lib_m_cosf = yes; then
8039 cat >>confdefs.h
<<\_ACEOF
8045 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
8046 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
8047 if test "${ac_cv_lib_m_coshf+set}" = set; then
8048 echo $ECHO_N "(cached) $ECHO_C" >&6
8050 ac_check_lib_save_LIBS
=$LIBS
8052 if test x
$gcc_no_link = xyes
; then
8053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8055 { (exit 1); exit 1; }; }
8057 cat >conftest.
$ac_ext <<_ACEOF
8060 cat confdefs.h
>>conftest.
$ac_ext
8061 cat >>conftest.
$ac_ext <<_ACEOF
8062 /* end confdefs.h. */
8064 /* Override any gcc2 internal prototype to avoid an error. */
8068 /* We use char because int might match the return type of a gcc2
8069 builtin and then its argument prototype would still apply. */
8079 rm -f conftest.
$ac_objext conftest
$ac_exeext
8080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8081 (eval $ac_link) 2>conftest.er1
8083 grep -v '^ *+' conftest.er1
>conftest.err
8085 cat conftest.err
>&5
8086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8087 (exit $ac_status); } &&
8088 { ac_try
='test -z "$ac_c_werror_flag"
8089 || test ! -s conftest.err'
8090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8094 (exit $ac_status); }; } &&
8095 { ac_try
='test -s conftest$ac_exeext'
8096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8100 (exit $ac_status); }; }; then
8101 ac_cv_lib_m_coshf
=yes
8103 echo "$as_me: failed program was:" >&5
8104 sed 's/^/| /' conftest.
$ac_ext >&5
8106 ac_cv_lib_m_coshf
=no
8108 rm -f conftest.err conftest.
$ac_objext \
8109 conftest
$ac_exeext conftest.
$ac_ext
8110 LIBS
=$ac_check_lib_save_LIBS
8112 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
8113 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
8114 if test $ac_cv_lib_m_coshf = yes; then
8116 cat >>confdefs.h
<<\_ACEOF
8117 #define HAVE_COSHF 1
8122 echo "$as_me:$LINENO: checking for expf in -lm" >&5
8123 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
8124 if test "${ac_cv_lib_m_expf+set}" = set; then
8125 echo $ECHO_N "(cached) $ECHO_C" >&6
8127 ac_check_lib_save_LIBS
=$LIBS
8129 if test x
$gcc_no_link = xyes
; then
8130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8132 { (exit 1); exit 1; }; }
8134 cat >conftest.
$ac_ext <<_ACEOF
8137 cat confdefs.h
>>conftest.
$ac_ext
8138 cat >>conftest.
$ac_ext <<_ACEOF
8139 /* end confdefs.h. */
8141 /* Override any gcc2 internal prototype to avoid an error. */
8145 /* We use char because int might match the return type of a gcc2
8146 builtin and then its argument prototype would still apply. */
8156 rm -f conftest.
$ac_objext conftest
$ac_exeext
8157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8158 (eval $ac_link) 2>conftest.er1
8160 grep -v '^ *+' conftest.er1
>conftest.err
8162 cat conftest.err
>&5
8163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8164 (exit $ac_status); } &&
8165 { ac_try
='test -z "$ac_c_werror_flag"
8166 || test ! -s conftest.err'
8167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8171 (exit $ac_status); }; } &&
8172 { ac_try
='test -s conftest$ac_exeext'
8173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8177 (exit $ac_status); }; }; then
8178 ac_cv_lib_m_expf
=yes
8180 echo "$as_me: failed program was:" >&5
8181 sed 's/^/| /' conftest.
$ac_ext >&5
8185 rm -f conftest.err conftest.
$ac_objext \
8186 conftest
$ac_exeext conftest.
$ac_ext
8187 LIBS
=$ac_check_lib_save_LIBS
8189 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
8190 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
8191 if test $ac_cv_lib_m_expf = yes; then
8193 cat >>confdefs.h
<<\_ACEOF
8199 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
8200 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
8201 if test "${ac_cv_lib_m_fabsf+set}" = set; then
8202 echo $ECHO_N "(cached) $ECHO_C" >&6
8204 ac_check_lib_save_LIBS
=$LIBS
8206 if test x
$gcc_no_link = xyes
; then
8207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8209 { (exit 1); exit 1; }; }
8211 cat >conftest.
$ac_ext <<_ACEOF
8214 cat confdefs.h
>>conftest.
$ac_ext
8215 cat >>conftest.
$ac_ext <<_ACEOF
8216 /* end confdefs.h. */
8218 /* Override any gcc2 internal prototype to avoid an error. */
8222 /* We use char because int might match the return type of a gcc2
8223 builtin and then its argument prototype would still apply. */
8233 rm -f conftest.
$ac_objext conftest
$ac_exeext
8234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8235 (eval $ac_link) 2>conftest.er1
8237 grep -v '^ *+' conftest.er1
>conftest.err
8239 cat conftest.err
>&5
8240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8241 (exit $ac_status); } &&
8242 { ac_try
='test -z "$ac_c_werror_flag"
8243 || test ! -s conftest.err'
8244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248 (exit $ac_status); }; } &&
8249 { ac_try
='test -s conftest$ac_exeext'
8250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254 (exit $ac_status); }; }; then
8255 ac_cv_lib_m_fabsf
=yes
8257 echo "$as_me: failed program was:" >&5
8258 sed 's/^/| /' conftest.
$ac_ext >&5
8260 ac_cv_lib_m_fabsf
=no
8262 rm -f conftest.err conftest.
$ac_objext \
8263 conftest
$ac_exeext conftest.
$ac_ext
8264 LIBS
=$ac_check_lib_save_LIBS
8266 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
8267 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
8268 if test $ac_cv_lib_m_fabsf = yes; then
8270 cat >>confdefs.h
<<\_ACEOF
8271 #define HAVE_FABSF 1
8276 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
8277 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
8278 if test "${ac_cv_lib_m_floorf+set}" = set; then
8279 echo $ECHO_N "(cached) $ECHO_C" >&6
8281 ac_check_lib_save_LIBS
=$LIBS
8283 if test x
$gcc_no_link = xyes
; then
8284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8286 { (exit 1); exit 1; }; }
8288 cat >conftest.
$ac_ext <<_ACEOF
8291 cat confdefs.h
>>conftest.
$ac_ext
8292 cat >>conftest.
$ac_ext <<_ACEOF
8293 /* end confdefs.h. */
8295 /* Override any gcc2 internal prototype to avoid an error. */
8299 /* We use char because int might match the return type of a gcc2
8300 builtin and then its argument prototype would still apply. */
8310 rm -f conftest.
$ac_objext conftest
$ac_exeext
8311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8312 (eval $ac_link) 2>conftest.er1
8314 grep -v '^ *+' conftest.er1
>conftest.err
8316 cat conftest.err
>&5
8317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8318 (exit $ac_status); } &&
8319 { ac_try
='test -z "$ac_c_werror_flag"
8320 || test ! -s conftest.err'
8321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8325 (exit $ac_status); }; } &&
8326 { ac_try
='test -s conftest$ac_exeext'
8327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8331 (exit $ac_status); }; }; then
8332 ac_cv_lib_m_floorf
=yes
8334 echo "$as_me: failed program was:" >&5
8335 sed 's/^/| /' conftest.
$ac_ext >&5
8337 ac_cv_lib_m_floorf
=no
8339 rm -f conftest.err conftest.
$ac_objext \
8340 conftest
$ac_exeext conftest.
$ac_ext
8341 LIBS
=$ac_check_lib_save_LIBS
8343 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
8344 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
8345 if test $ac_cv_lib_m_floorf = yes; then
8347 cat >>confdefs.h
<<\_ACEOF
8348 #define HAVE_FLOORF 1
8353 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
8354 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
8355 if test "${ac_cv_lib_m_frexpf+set}" = set; then
8356 echo $ECHO_N "(cached) $ECHO_C" >&6
8358 ac_check_lib_save_LIBS
=$LIBS
8360 if test x
$gcc_no_link = xyes
; then
8361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8363 { (exit 1); exit 1; }; }
8365 cat >conftest.
$ac_ext <<_ACEOF
8368 cat confdefs.h
>>conftest.
$ac_ext
8369 cat >>conftest.
$ac_ext <<_ACEOF
8370 /* end confdefs.h. */
8372 /* Override any gcc2 internal prototype to avoid an error. */
8376 /* We use char because int might match the return type of a gcc2
8377 builtin and then its argument prototype would still apply. */
8387 rm -f conftest.
$ac_objext conftest
$ac_exeext
8388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8389 (eval $ac_link) 2>conftest.er1
8391 grep -v '^ *+' conftest.er1
>conftest.err
8393 cat conftest.err
>&5
8394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8395 (exit $ac_status); } &&
8396 { ac_try
='test -z "$ac_c_werror_flag"
8397 || test ! -s conftest.err'
8398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8402 (exit $ac_status); }; } &&
8403 { ac_try
='test -s conftest$ac_exeext'
8404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8408 (exit $ac_status); }; }; then
8409 ac_cv_lib_m_frexpf
=yes
8411 echo "$as_me: failed program was:" >&5
8412 sed 's/^/| /' conftest.
$ac_ext >&5
8414 ac_cv_lib_m_frexpf
=no
8416 rm -f conftest.err conftest.
$ac_objext \
8417 conftest
$ac_exeext conftest.
$ac_ext
8418 LIBS
=$ac_check_lib_save_LIBS
8420 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
8421 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
8422 if test $ac_cv_lib_m_frexpf = yes; then
8424 cat >>confdefs.h
<<\_ACEOF
8425 #define HAVE_FREXPF 1
8430 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
8431 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
8432 if test "${ac_cv_lib_m_hypotf+set}" = set; then
8433 echo $ECHO_N "(cached) $ECHO_C" >&6
8435 ac_check_lib_save_LIBS
=$LIBS
8437 if test x
$gcc_no_link = xyes
; then
8438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8440 { (exit 1); exit 1; }; }
8442 cat >conftest.
$ac_ext <<_ACEOF
8445 cat confdefs.h
>>conftest.
$ac_ext
8446 cat >>conftest.
$ac_ext <<_ACEOF
8447 /* end confdefs.h. */
8449 /* Override any gcc2 internal prototype to avoid an error. */
8453 /* We use char because int might match the return type of a gcc2
8454 builtin and then its argument prototype would still apply. */
8464 rm -f conftest.
$ac_objext conftest
$ac_exeext
8465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8466 (eval $ac_link) 2>conftest.er1
8468 grep -v '^ *+' conftest.er1
>conftest.err
8470 cat conftest.err
>&5
8471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 (exit $ac_status); } &&
8473 { ac_try
='test -z "$ac_c_werror_flag"
8474 || test ! -s conftest.err'
8475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8479 (exit $ac_status); }; } &&
8480 { ac_try
='test -s conftest$ac_exeext'
8481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8485 (exit $ac_status); }; }; then
8486 ac_cv_lib_m_hypotf
=yes
8488 echo "$as_me: failed program was:" >&5
8489 sed 's/^/| /' conftest.
$ac_ext >&5
8491 ac_cv_lib_m_hypotf
=no
8493 rm -f conftest.err conftest.
$ac_objext \
8494 conftest
$ac_exeext conftest.
$ac_ext
8495 LIBS
=$ac_check_lib_save_LIBS
8497 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
8498 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
8499 if test $ac_cv_lib_m_hypotf = yes; then
8501 cat >>confdefs.h
<<\_ACEOF
8502 #define HAVE_HYPOTF 1
8507 echo "$as_me:$LINENO: checking for logf in -lm" >&5
8508 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
8509 if test "${ac_cv_lib_m_logf+set}" = set; then
8510 echo $ECHO_N "(cached) $ECHO_C" >&6
8512 ac_check_lib_save_LIBS
=$LIBS
8514 if test x
$gcc_no_link = xyes
; then
8515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8517 { (exit 1); exit 1; }; }
8519 cat >conftest.
$ac_ext <<_ACEOF
8522 cat confdefs.h
>>conftest.
$ac_ext
8523 cat >>conftest.
$ac_ext <<_ACEOF
8524 /* end confdefs.h. */
8526 /* Override any gcc2 internal prototype to avoid an error. */
8530 /* We use char because int might match the return type of a gcc2
8531 builtin and then its argument prototype would still apply. */
8541 rm -f conftest.
$ac_objext conftest
$ac_exeext
8542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8543 (eval $ac_link) 2>conftest.er1
8545 grep -v '^ *+' conftest.er1
>conftest.err
8547 cat conftest.err
>&5
8548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8549 (exit $ac_status); } &&
8550 { ac_try
='test -z "$ac_c_werror_flag"
8551 || test ! -s conftest.err'
8552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8556 (exit $ac_status); }; } &&
8557 { ac_try
='test -s conftest$ac_exeext'
8558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8562 (exit $ac_status); }; }; then
8563 ac_cv_lib_m_logf
=yes
8565 echo "$as_me: failed program was:" >&5
8566 sed 's/^/| /' conftest.
$ac_ext >&5
8570 rm -f conftest.err conftest.
$ac_objext \
8571 conftest
$ac_exeext conftest.
$ac_ext
8572 LIBS
=$ac_check_lib_save_LIBS
8574 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
8575 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
8576 if test $ac_cv_lib_m_logf = yes; then
8578 cat >>confdefs.h
<<\_ACEOF
8584 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
8585 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
8586 if test "${ac_cv_lib_m_log10f+set}" = set; then
8587 echo $ECHO_N "(cached) $ECHO_C" >&6
8589 ac_check_lib_save_LIBS
=$LIBS
8591 if test x
$gcc_no_link = xyes
; then
8592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8594 { (exit 1); exit 1; }; }
8596 cat >conftest.
$ac_ext <<_ACEOF
8599 cat confdefs.h
>>conftest.
$ac_ext
8600 cat >>conftest.
$ac_ext <<_ACEOF
8601 /* end confdefs.h. */
8603 /* Override any gcc2 internal prototype to avoid an error. */
8607 /* We use char because int might match the return type of a gcc2
8608 builtin and then its argument prototype would still apply. */
8618 rm -f conftest.
$ac_objext conftest
$ac_exeext
8619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8620 (eval $ac_link) 2>conftest.er1
8622 grep -v '^ *+' conftest.er1
>conftest.err
8624 cat conftest.err
>&5
8625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8626 (exit $ac_status); } &&
8627 { ac_try
='test -z "$ac_c_werror_flag"
8628 || test ! -s conftest.err'
8629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8633 (exit $ac_status); }; } &&
8634 { ac_try
='test -s conftest$ac_exeext'
8635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8639 (exit $ac_status); }; }; then
8640 ac_cv_lib_m_log10f
=yes
8642 echo "$as_me: failed program was:" >&5
8643 sed 's/^/| /' conftest.
$ac_ext >&5
8645 ac_cv_lib_m_log10f
=no
8647 rm -f conftest.err conftest.
$ac_objext \
8648 conftest
$ac_exeext conftest.
$ac_ext
8649 LIBS
=$ac_check_lib_save_LIBS
8651 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
8652 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
8653 if test $ac_cv_lib_m_log10f = yes; then
8655 cat >>confdefs.h
<<\_ACEOF
8656 #define HAVE_LOG10F 1
8661 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
8662 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
8663 if test "${ac_cv_lib_m_nextafter+set}" = set; then
8664 echo $ECHO_N "(cached) $ECHO_C" >&6
8666 ac_check_lib_save_LIBS
=$LIBS
8668 if test x
$gcc_no_link = xyes
; then
8669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8671 { (exit 1); exit 1; }; }
8673 cat >conftest.
$ac_ext <<_ACEOF
8676 cat confdefs.h
>>conftest.
$ac_ext
8677 cat >>conftest.
$ac_ext <<_ACEOF
8678 /* end confdefs.h. */
8680 /* Override any gcc2 internal prototype to avoid an error. */
8684 /* We use char because int might match the return type of a gcc2
8685 builtin and then its argument prototype would still apply. */
8695 rm -f conftest.
$ac_objext conftest
$ac_exeext
8696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8697 (eval $ac_link) 2>conftest.er1
8699 grep -v '^ *+' conftest.er1
>conftest.err
8701 cat conftest.err
>&5
8702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8703 (exit $ac_status); } &&
8704 { ac_try
='test -z "$ac_c_werror_flag"
8705 || test ! -s conftest.err'
8706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8710 (exit $ac_status); }; } &&
8711 { ac_try
='test -s conftest$ac_exeext'
8712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 (exit $ac_status); }; }; then
8717 ac_cv_lib_m_nextafter
=yes
8719 echo "$as_me: failed program was:" >&5
8720 sed 's/^/| /' conftest.
$ac_ext >&5
8722 ac_cv_lib_m_nextafter
=no
8724 rm -f conftest.err conftest.
$ac_objext \
8725 conftest
$ac_exeext conftest.
$ac_ext
8726 LIBS
=$ac_check_lib_save_LIBS
8728 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
8729 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
8730 if test $ac_cv_lib_m_nextafter = yes; then
8732 cat >>confdefs.h
<<\_ACEOF
8733 #define HAVE_NEXTAFTER 1
8738 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
8739 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
8740 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
8741 echo $ECHO_N "(cached) $ECHO_C" >&6
8743 ac_check_lib_save_LIBS
=$LIBS
8745 if test x
$gcc_no_link = xyes
; then
8746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8748 { (exit 1); exit 1; }; }
8750 cat >conftest.
$ac_ext <<_ACEOF
8753 cat confdefs.h
>>conftest.
$ac_ext
8754 cat >>conftest.
$ac_ext <<_ACEOF
8755 /* end confdefs.h. */
8757 /* Override any gcc2 internal prototype to avoid an error. */
8761 /* We use char because int might match the return type of a gcc2
8762 builtin and then its argument prototype would still apply. */
8772 rm -f conftest.
$ac_objext conftest
$ac_exeext
8773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8774 (eval $ac_link) 2>conftest.er1
8776 grep -v '^ *+' conftest.er1
>conftest.err
8778 cat conftest.err
>&5
8779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8780 (exit $ac_status); } &&
8781 { ac_try
='test -z "$ac_c_werror_flag"
8782 || test ! -s conftest.err'
8783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8787 (exit $ac_status); }; } &&
8788 { ac_try
='test -s conftest$ac_exeext'
8789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8793 (exit $ac_status); }; }; then
8794 ac_cv_lib_m_nextafterf
=yes
8796 echo "$as_me: failed program was:" >&5
8797 sed 's/^/| /' conftest.
$ac_ext >&5
8799 ac_cv_lib_m_nextafterf
=no
8801 rm -f conftest.err conftest.
$ac_objext \
8802 conftest
$ac_exeext conftest.
$ac_ext
8803 LIBS
=$ac_check_lib_save_LIBS
8805 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
8806 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
8807 if test $ac_cv_lib_m_nextafterf = yes; then
8809 cat >>confdefs.h
<<\_ACEOF
8810 #define HAVE_NEXTAFTERF 1
8815 echo "$as_me:$LINENO: checking for powf in -lm" >&5
8816 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
8817 if test "${ac_cv_lib_m_powf+set}" = set; then
8818 echo $ECHO_N "(cached) $ECHO_C" >&6
8820 ac_check_lib_save_LIBS
=$LIBS
8822 if test x
$gcc_no_link = xyes
; then
8823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8825 { (exit 1); exit 1; }; }
8827 cat >conftest.
$ac_ext <<_ACEOF
8830 cat confdefs.h
>>conftest.
$ac_ext
8831 cat >>conftest.
$ac_ext <<_ACEOF
8832 /* end confdefs.h. */
8834 /* Override any gcc2 internal prototype to avoid an error. */
8838 /* We use char because int might match the return type of a gcc2
8839 builtin and then its argument prototype would still apply. */
8849 rm -f conftest.
$ac_objext conftest
$ac_exeext
8850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8851 (eval $ac_link) 2>conftest.er1
8853 grep -v '^ *+' conftest.er1
>conftest.err
8855 cat conftest.err
>&5
8856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8857 (exit $ac_status); } &&
8858 { ac_try
='test -z "$ac_c_werror_flag"
8859 || test ! -s conftest.err'
8860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8864 (exit $ac_status); }; } &&
8865 { ac_try
='test -s conftest$ac_exeext'
8866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8870 (exit $ac_status); }; }; then
8871 ac_cv_lib_m_powf
=yes
8873 echo "$as_me: failed program was:" >&5
8874 sed 's/^/| /' conftest.
$ac_ext >&5
8878 rm -f conftest.err conftest.
$ac_objext \
8879 conftest
$ac_exeext conftest.
$ac_ext
8880 LIBS
=$ac_check_lib_save_LIBS
8882 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
8883 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
8884 if test $ac_cv_lib_m_powf = yes; then
8886 cat >>confdefs.h
<<\_ACEOF
8892 echo "$as_me:$LINENO: checking for round in -lm" >&5
8893 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
8894 if test "${ac_cv_lib_m_round+set}" = set; then
8895 echo $ECHO_N "(cached) $ECHO_C" >&6
8897 ac_check_lib_save_LIBS
=$LIBS
8899 if test x
$gcc_no_link = xyes
; then
8900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8902 { (exit 1); exit 1; }; }
8904 cat >conftest.
$ac_ext <<_ACEOF
8907 cat confdefs.h
>>conftest.
$ac_ext
8908 cat >>conftest.
$ac_ext <<_ACEOF
8909 /* end confdefs.h. */
8911 /* Override any gcc2 internal prototype to avoid an error. */
8915 /* We use char because int might match the return type of a gcc2
8916 builtin and then its argument prototype would still apply. */
8926 rm -f conftest.
$ac_objext conftest
$ac_exeext
8927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8928 (eval $ac_link) 2>conftest.er1
8930 grep -v '^ *+' conftest.er1
>conftest.err
8932 cat conftest.err
>&5
8933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8934 (exit $ac_status); } &&
8935 { ac_try
='test -z "$ac_c_werror_flag"
8936 || test ! -s conftest.err'
8937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8941 (exit $ac_status); }; } &&
8942 { ac_try
='test -s conftest$ac_exeext'
8943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8947 (exit $ac_status); }; }; then
8948 ac_cv_lib_m_round
=yes
8950 echo "$as_me: failed program was:" >&5
8951 sed 's/^/| /' conftest.
$ac_ext >&5
8953 ac_cv_lib_m_round
=no
8955 rm -f conftest.err conftest.
$ac_objext \
8956 conftest
$ac_exeext conftest.
$ac_ext
8957 LIBS
=$ac_check_lib_save_LIBS
8959 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
8960 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
8961 if test $ac_cv_lib_m_round = yes; then
8963 cat >>confdefs.h
<<\_ACEOF
8964 #define HAVE_ROUND 1
8969 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
8970 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
8971 if test "${ac_cv_lib_m_roundf+set}" = set; then
8972 echo $ECHO_N "(cached) $ECHO_C" >&6
8974 ac_check_lib_save_LIBS
=$LIBS
8976 if test x
$gcc_no_link = xyes
; then
8977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8979 { (exit 1); exit 1; }; }
8981 cat >conftest.
$ac_ext <<_ACEOF
8984 cat confdefs.h
>>conftest.
$ac_ext
8985 cat >>conftest.
$ac_ext <<_ACEOF
8986 /* end confdefs.h. */
8988 /* Override any gcc2 internal prototype to avoid an error. */
8992 /* We use char because int might match the return type of a gcc2
8993 builtin and then its argument prototype would still apply. */
9003 rm -f conftest.
$ac_objext conftest
$ac_exeext
9004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9005 (eval $ac_link) 2>conftest.er1
9007 grep -v '^ *+' conftest.er1
>conftest.err
9009 cat conftest.err
>&5
9010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9011 (exit $ac_status); } &&
9012 { ac_try
='test -z "$ac_c_werror_flag"
9013 || test ! -s conftest.err'
9014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9018 (exit $ac_status); }; } &&
9019 { ac_try
='test -s conftest$ac_exeext'
9020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9024 (exit $ac_status); }; }; then
9025 ac_cv_lib_m_roundf
=yes
9027 echo "$as_me: failed program was:" >&5
9028 sed 's/^/| /' conftest.
$ac_ext >&5
9030 ac_cv_lib_m_roundf
=no
9032 rm -f conftest.err conftest.
$ac_objext \
9033 conftest
$ac_exeext conftest.
$ac_ext
9034 LIBS
=$ac_check_lib_save_LIBS
9036 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
9037 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
9038 if test $ac_cv_lib_m_roundf = yes; then
9040 cat >>confdefs.h
<<\_ACEOF
9041 #define HAVE_ROUNDF 1
9046 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
9047 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
9048 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
9049 echo $ECHO_N "(cached) $ECHO_C" >&6
9051 ac_check_lib_save_LIBS
=$LIBS
9053 if test x
$gcc_no_link = xyes
; then
9054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9056 { (exit 1); exit 1; }; }
9058 cat >conftest.
$ac_ext <<_ACEOF
9061 cat confdefs.h
>>conftest.
$ac_ext
9062 cat >>conftest.
$ac_ext <<_ACEOF
9063 /* end confdefs.h. */
9065 /* Override any gcc2 internal prototype to avoid an error. */
9069 /* We use char because int might match the return type of a gcc2
9070 builtin and then its argument prototype would still apply. */
9080 rm -f conftest.
$ac_objext conftest
$ac_exeext
9081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9082 (eval $ac_link) 2>conftest.er1
9084 grep -v '^ *+' conftest.er1
>conftest.err
9086 cat conftest.err
>&5
9087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9088 (exit $ac_status); } &&
9089 { ac_try
='test -z "$ac_c_werror_flag"
9090 || test ! -s conftest.err'
9091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9095 (exit $ac_status); }; } &&
9096 { ac_try
='test -s conftest$ac_exeext'
9097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9101 (exit $ac_status); }; }; then
9102 ac_cv_lib_m_scalbnf
=yes
9104 echo "$as_me: failed program was:" >&5
9105 sed 's/^/| /' conftest.
$ac_ext >&5
9107 ac_cv_lib_m_scalbnf
=no
9109 rm -f conftest.err conftest.
$ac_objext \
9110 conftest
$ac_exeext conftest.
$ac_ext
9111 LIBS
=$ac_check_lib_save_LIBS
9113 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
9114 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
9115 if test $ac_cv_lib_m_scalbnf = yes; then
9117 cat >>confdefs.h
<<\_ACEOF
9118 #define HAVE_SCALBNF 1
9123 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
9124 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
9125 if test "${ac_cv_lib_m_sinf+set}" = set; then
9126 echo $ECHO_N "(cached) $ECHO_C" >&6
9128 ac_check_lib_save_LIBS
=$LIBS
9130 if test x
$gcc_no_link = xyes
; then
9131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9133 { (exit 1); exit 1; }; }
9135 cat >conftest.
$ac_ext <<_ACEOF
9138 cat confdefs.h
>>conftest.
$ac_ext
9139 cat >>conftest.
$ac_ext <<_ACEOF
9140 /* end confdefs.h. */
9142 /* Override any gcc2 internal prototype to avoid an error. */
9146 /* We use char because int might match the return type of a gcc2
9147 builtin and then its argument prototype would still apply. */
9157 rm -f conftest.
$ac_objext conftest
$ac_exeext
9158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9159 (eval $ac_link) 2>conftest.er1
9161 grep -v '^ *+' conftest.er1
>conftest.err
9163 cat conftest.err
>&5
9164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9165 (exit $ac_status); } &&
9166 { ac_try
='test -z "$ac_c_werror_flag"
9167 || test ! -s conftest.err'
9168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9172 (exit $ac_status); }; } &&
9173 { ac_try
='test -s conftest$ac_exeext'
9174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9178 (exit $ac_status); }; }; then
9179 ac_cv_lib_m_sinf
=yes
9181 echo "$as_me: failed program was:" >&5
9182 sed 's/^/| /' conftest.
$ac_ext >&5
9186 rm -f conftest.err conftest.
$ac_objext \
9187 conftest
$ac_exeext conftest.
$ac_ext
9188 LIBS
=$ac_check_lib_save_LIBS
9190 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
9191 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
9192 if test $ac_cv_lib_m_sinf = yes; then
9194 cat >>confdefs.h
<<\_ACEOF
9200 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
9201 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
9202 if test "${ac_cv_lib_m_sinhf+set}" = set; then
9203 echo $ECHO_N "(cached) $ECHO_C" >&6
9205 ac_check_lib_save_LIBS
=$LIBS
9207 if test x
$gcc_no_link = xyes
; then
9208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9210 { (exit 1); exit 1; }; }
9212 cat >conftest.
$ac_ext <<_ACEOF
9215 cat confdefs.h
>>conftest.
$ac_ext
9216 cat >>conftest.
$ac_ext <<_ACEOF
9217 /* end confdefs.h. */
9219 /* Override any gcc2 internal prototype to avoid an error. */
9223 /* We use char because int might match the return type of a gcc2
9224 builtin and then its argument prototype would still apply. */
9234 rm -f conftest.
$ac_objext conftest
$ac_exeext
9235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9236 (eval $ac_link) 2>conftest.er1
9238 grep -v '^ *+' conftest.er1
>conftest.err
9240 cat conftest.err
>&5
9241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9242 (exit $ac_status); } &&
9243 { ac_try
='test -z "$ac_c_werror_flag"
9244 || test ! -s conftest.err'
9245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9249 (exit $ac_status); }; } &&
9250 { ac_try
='test -s conftest$ac_exeext'
9251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9255 (exit $ac_status); }; }; then
9256 ac_cv_lib_m_sinhf
=yes
9258 echo "$as_me: failed program was:" >&5
9259 sed 's/^/| /' conftest.
$ac_ext >&5
9261 ac_cv_lib_m_sinhf
=no
9263 rm -f conftest.err conftest.
$ac_objext \
9264 conftest
$ac_exeext conftest.
$ac_ext
9265 LIBS
=$ac_check_lib_save_LIBS
9267 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
9268 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
9269 if test $ac_cv_lib_m_sinhf = yes; then
9271 cat >>confdefs.h
<<\_ACEOF
9272 #define HAVE_SINHF 1
9277 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
9278 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
9279 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
9280 echo $ECHO_N "(cached) $ECHO_C" >&6
9282 ac_check_lib_save_LIBS
=$LIBS
9284 if test x
$gcc_no_link = xyes
; then
9285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9287 { (exit 1); exit 1; }; }
9289 cat >conftest.
$ac_ext <<_ACEOF
9292 cat confdefs.h
>>conftest.
$ac_ext
9293 cat >>conftest.
$ac_ext <<_ACEOF
9294 /* end confdefs.h. */
9296 /* Override any gcc2 internal prototype to avoid an error. */
9300 /* We use char because int might match the return type of a gcc2
9301 builtin and then its argument prototype would still apply. */
9311 rm -f conftest.
$ac_objext conftest
$ac_exeext
9312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9313 (eval $ac_link) 2>conftest.er1
9315 grep -v '^ *+' conftest.er1
>conftest.err
9317 cat conftest.err
>&5
9318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9319 (exit $ac_status); } &&
9320 { ac_try
='test -z "$ac_c_werror_flag"
9321 || test ! -s conftest.err'
9322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9326 (exit $ac_status); }; } &&
9327 { ac_try
='test -s conftest$ac_exeext'
9328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 (exit $ac_status); }; }; then
9333 ac_cv_lib_m_sqrtf
=yes
9335 echo "$as_me: failed program was:" >&5
9336 sed 's/^/| /' conftest.
$ac_ext >&5
9338 ac_cv_lib_m_sqrtf
=no
9340 rm -f conftest.err conftest.
$ac_objext \
9341 conftest
$ac_exeext conftest.
$ac_ext
9342 LIBS
=$ac_check_lib_save_LIBS
9344 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
9345 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
9346 if test $ac_cv_lib_m_sqrtf = yes; then
9348 cat >>confdefs.h
<<\_ACEOF
9349 #define HAVE_SQRTF 1
9354 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
9355 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
9356 if test "${ac_cv_lib_m_tanf+set}" = set; then
9357 echo $ECHO_N "(cached) $ECHO_C" >&6
9359 ac_check_lib_save_LIBS
=$LIBS
9361 if test x
$gcc_no_link = xyes
; then
9362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9364 { (exit 1); exit 1; }; }
9366 cat >conftest.
$ac_ext <<_ACEOF
9369 cat confdefs.h
>>conftest.
$ac_ext
9370 cat >>conftest.
$ac_ext <<_ACEOF
9371 /* end confdefs.h. */
9373 /* Override any gcc2 internal prototype to avoid an error. */
9377 /* We use char because int might match the return type of a gcc2
9378 builtin and then its argument prototype would still apply. */
9388 rm -f conftest.
$ac_objext conftest
$ac_exeext
9389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9390 (eval $ac_link) 2>conftest.er1
9392 grep -v '^ *+' conftest.er1
>conftest.err
9394 cat conftest.err
>&5
9395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9396 (exit $ac_status); } &&
9397 { ac_try
='test -z "$ac_c_werror_flag"
9398 || test ! -s conftest.err'
9399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9403 (exit $ac_status); }; } &&
9404 { ac_try
='test -s conftest$ac_exeext'
9405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9409 (exit $ac_status); }; }; then
9410 ac_cv_lib_m_tanf
=yes
9412 echo "$as_me: failed program was:" >&5
9413 sed 's/^/| /' conftest.
$ac_ext >&5
9417 rm -f conftest.err conftest.
$ac_objext \
9418 conftest
$ac_exeext conftest.
$ac_ext
9419 LIBS
=$ac_check_lib_save_LIBS
9421 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
9422 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
9423 if test $ac_cv_lib_m_tanf = yes; then
9425 cat >>confdefs.h
<<\_ACEOF
9431 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
9432 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
9433 if test "${ac_cv_lib_m_tanhf+set}" = set; then
9434 echo $ECHO_N "(cached) $ECHO_C" >&6
9436 ac_check_lib_save_LIBS
=$LIBS
9438 if test x
$gcc_no_link = xyes
; then
9439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9441 { (exit 1); exit 1; }; }
9443 cat >conftest.
$ac_ext <<_ACEOF
9446 cat confdefs.h
>>conftest.
$ac_ext
9447 cat >>conftest.
$ac_ext <<_ACEOF
9448 /* end confdefs.h. */
9450 /* Override any gcc2 internal prototype to avoid an error. */
9454 /* We use char because int might match the return type of a gcc2
9455 builtin and then its argument prototype would still apply. */
9465 rm -f conftest.
$ac_objext conftest
$ac_exeext
9466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9467 (eval $ac_link) 2>conftest.er1
9469 grep -v '^ *+' conftest.er1
>conftest.err
9471 cat conftest.err
>&5
9472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9473 (exit $ac_status); } &&
9474 { ac_try
='test -z "$ac_c_werror_flag"
9475 || test ! -s conftest.err'
9476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9480 (exit $ac_status); }; } &&
9481 { ac_try
='test -s conftest$ac_exeext'
9482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9486 (exit $ac_status); }; }; then
9487 ac_cv_lib_m_tanhf
=yes
9489 echo "$as_me: failed program was:" >&5
9490 sed 's/^/| /' conftest.
$ac_ext >&5
9492 ac_cv_lib_m_tanhf
=no
9494 rm -f conftest.err conftest.
$ac_objext \
9495 conftest
$ac_exeext conftest.
$ac_ext
9496 LIBS
=$ac_check_lib_save_LIBS
9498 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
9499 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
9500 if test $ac_cv_lib_m_tanhf = yes; then
9502 cat >>confdefs.h
<<\_ACEOF
9503 #define HAVE_TANHF 1
9508 echo "$as_me:$LINENO: checking for erf in -lm" >&5
9509 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
9510 if test "${ac_cv_lib_m_erf+set}" = set; then
9511 echo $ECHO_N "(cached) $ECHO_C" >&6
9513 ac_check_lib_save_LIBS
=$LIBS
9515 if test x
$gcc_no_link = xyes
; then
9516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9518 { (exit 1); exit 1; }; }
9520 cat >conftest.
$ac_ext <<_ACEOF
9523 cat confdefs.h
>>conftest.
$ac_ext
9524 cat >>conftest.
$ac_ext <<_ACEOF
9525 /* end confdefs.h. */
9527 /* Override any gcc2 internal prototype to avoid an error. */
9531 /* We use char because int might match the return type of a gcc2
9532 builtin and then its argument prototype would still apply. */
9542 rm -f conftest.
$ac_objext conftest
$ac_exeext
9543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9544 (eval $ac_link) 2>conftest.er1
9546 grep -v '^ *+' conftest.er1
>conftest.err
9548 cat conftest.err
>&5
9549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9550 (exit $ac_status); } &&
9551 { ac_try
='test -z "$ac_c_werror_flag"
9552 || test ! -s conftest.err'
9553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9557 (exit $ac_status); }; } &&
9558 { ac_try
='test -s conftest$ac_exeext'
9559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9563 (exit $ac_status); }; }; then
9566 echo "$as_me: failed program was:" >&5
9567 sed 's/^/| /' conftest.
$ac_ext >&5
9571 rm -f conftest.err conftest.
$ac_objext \
9572 conftest
$ac_exeext conftest.
$ac_ext
9573 LIBS
=$ac_check_lib_save_LIBS
9575 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
9576 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
9577 if test $ac_cv_lib_m_erf = yes; then
9579 cat >>confdefs.h
<<\_ACEOF
9585 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
9586 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
9587 if test "${ac_cv_lib_m_erfc+set}" = set; then
9588 echo $ECHO_N "(cached) $ECHO_C" >&6
9590 ac_check_lib_save_LIBS
=$LIBS
9592 if test x
$gcc_no_link = xyes
; then
9593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9595 { (exit 1); exit 1; }; }
9597 cat >conftest.
$ac_ext <<_ACEOF
9600 cat confdefs.h
>>conftest.
$ac_ext
9601 cat >>conftest.
$ac_ext <<_ACEOF
9602 /* end confdefs.h. */
9604 /* Override any gcc2 internal prototype to avoid an error. */
9608 /* We use char because int might match the return type of a gcc2
9609 builtin and then its argument prototype would still apply. */
9619 rm -f conftest.
$ac_objext conftest
$ac_exeext
9620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9621 (eval $ac_link) 2>conftest.er1
9623 grep -v '^ *+' conftest.er1
>conftest.err
9625 cat conftest.err
>&5
9626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9627 (exit $ac_status); } &&
9628 { ac_try
='test -z "$ac_c_werror_flag"
9629 || test ! -s conftest.err'
9630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9634 (exit $ac_status); }; } &&
9635 { ac_try
='test -s conftest$ac_exeext'
9636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9640 (exit $ac_status); }; }; then
9641 ac_cv_lib_m_erfc
=yes
9643 echo "$as_me: failed program was:" >&5
9644 sed 's/^/| /' conftest.
$ac_ext >&5
9648 rm -f conftest.err conftest.
$ac_objext \
9649 conftest
$ac_exeext conftest.
$ac_ext
9650 LIBS
=$ac_check_lib_save_LIBS
9652 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
9653 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
9654 if test $ac_cv_lib_m_erfc = yes; then
9656 cat >>confdefs.h
<<\_ACEOF
9662 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
9663 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
9664 if test "${ac_cv_lib_m_erfcf+set}" = set; then
9665 echo $ECHO_N "(cached) $ECHO_C" >&6
9667 ac_check_lib_save_LIBS
=$LIBS
9669 if test x
$gcc_no_link = xyes
; then
9670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9672 { (exit 1); exit 1; }; }
9674 cat >conftest.
$ac_ext <<_ACEOF
9677 cat confdefs.h
>>conftest.
$ac_ext
9678 cat >>conftest.
$ac_ext <<_ACEOF
9679 /* end confdefs.h. */
9681 /* Override any gcc2 internal prototype to avoid an error. */
9685 /* We use char because int might match the return type of a gcc2
9686 builtin and then its argument prototype would still apply. */
9696 rm -f conftest.
$ac_objext conftest
$ac_exeext
9697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9698 (eval $ac_link) 2>conftest.er1
9700 grep -v '^ *+' conftest.er1
>conftest.err
9702 cat conftest.err
>&5
9703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9704 (exit $ac_status); } &&
9705 { ac_try
='test -z "$ac_c_werror_flag"
9706 || test ! -s conftest.err'
9707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9711 (exit $ac_status); }; } &&
9712 { ac_try
='test -s conftest$ac_exeext'
9713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9717 (exit $ac_status); }; }; then
9718 ac_cv_lib_m_erfcf
=yes
9720 echo "$as_me: failed program was:" >&5
9721 sed 's/^/| /' conftest.
$ac_ext >&5
9723 ac_cv_lib_m_erfcf
=no
9725 rm -f conftest.err conftest.
$ac_objext \
9726 conftest
$ac_exeext conftest.
$ac_ext
9727 LIBS
=$ac_check_lib_save_LIBS
9729 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
9730 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
9731 if test $ac_cv_lib_m_erfcf = yes; then
9733 cat >>confdefs.h
<<\_ACEOF
9734 #define HAVE_ERFCF 1
9739 echo "$as_me:$LINENO: checking for erff in -lm" >&5
9740 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
9741 if test "${ac_cv_lib_m_erff+set}" = set; then
9742 echo $ECHO_N "(cached) $ECHO_C" >&6
9744 ac_check_lib_save_LIBS
=$LIBS
9746 if test x
$gcc_no_link = xyes
; then
9747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9749 { (exit 1); exit 1; }; }
9751 cat >conftest.
$ac_ext <<_ACEOF
9754 cat confdefs.h
>>conftest.
$ac_ext
9755 cat >>conftest.
$ac_ext <<_ACEOF
9756 /* end confdefs.h. */
9758 /* Override any gcc2 internal prototype to avoid an error. */
9762 /* We use char because int might match the return type of a gcc2
9763 builtin and then its argument prototype would still apply. */
9773 rm -f conftest.
$ac_objext conftest
$ac_exeext
9774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9775 (eval $ac_link) 2>conftest.er1
9777 grep -v '^ *+' conftest.er1
>conftest.err
9779 cat conftest.err
>&5
9780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 (exit $ac_status); } &&
9782 { ac_try
='test -z "$ac_c_werror_flag"
9783 || test ! -s conftest.err'
9784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9788 (exit $ac_status); }; } &&
9789 { ac_try
='test -s conftest$ac_exeext'
9790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9794 (exit $ac_status); }; }; then
9795 ac_cv_lib_m_erff
=yes
9797 echo "$as_me: failed program was:" >&5
9798 sed 's/^/| /' conftest.
$ac_ext >&5
9802 rm -f conftest.err conftest.
$ac_objext \
9803 conftest
$ac_exeext conftest.
$ac_ext
9804 LIBS
=$ac_check_lib_save_LIBS
9806 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
9807 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
9808 if test $ac_cv_lib_m_erff = yes; then
9810 cat >>confdefs.h
<<\_ACEOF
9816 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
9817 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
9818 if test "${ac_cv_lib_m_j0+set}" = set; then
9819 echo $ECHO_N "(cached) $ECHO_C" >&6
9821 ac_check_lib_save_LIBS
=$LIBS
9823 if test x
$gcc_no_link = xyes
; then
9824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9826 { (exit 1); exit 1; }; }
9828 cat >conftest.
$ac_ext <<_ACEOF
9831 cat confdefs.h
>>conftest.
$ac_ext
9832 cat >>conftest.
$ac_ext <<_ACEOF
9833 /* end confdefs.h. */
9835 /* Override any gcc2 internal prototype to avoid an error. */
9839 /* We use char because int might match the return type of a gcc2
9840 builtin and then its argument prototype would still apply. */
9850 rm -f conftest.
$ac_objext conftest
$ac_exeext
9851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9852 (eval $ac_link) 2>conftest.er1
9854 grep -v '^ *+' conftest.er1
>conftest.err
9856 cat conftest.err
>&5
9857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9858 (exit $ac_status); } &&
9859 { ac_try
='test -z "$ac_c_werror_flag"
9860 || test ! -s conftest.err'
9861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9865 (exit $ac_status); }; } &&
9866 { ac_try
='test -s conftest$ac_exeext'
9867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9871 (exit $ac_status); }; }; then
9874 echo "$as_me: failed program was:" >&5
9875 sed 's/^/| /' conftest.
$ac_ext >&5
9879 rm -f conftest.err conftest.
$ac_objext \
9880 conftest
$ac_exeext conftest.
$ac_ext
9881 LIBS
=$ac_check_lib_save_LIBS
9883 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
9884 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
9885 if test $ac_cv_lib_m_j0 = yes; then
9887 cat >>confdefs.h
<<\_ACEOF
9893 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
9894 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
9895 if test "${ac_cv_lib_m_j0f+set}" = set; then
9896 echo $ECHO_N "(cached) $ECHO_C" >&6
9898 ac_check_lib_save_LIBS
=$LIBS
9900 if test x
$gcc_no_link = xyes
; then
9901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9903 { (exit 1); exit 1; }; }
9905 cat >conftest.
$ac_ext <<_ACEOF
9908 cat confdefs.h
>>conftest.
$ac_ext
9909 cat >>conftest.
$ac_ext <<_ACEOF
9910 /* end confdefs.h. */
9912 /* Override any gcc2 internal prototype to avoid an error. */
9916 /* We use char because int might match the return type of a gcc2
9917 builtin and then its argument prototype would still apply. */
9927 rm -f conftest.
$ac_objext conftest
$ac_exeext
9928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9929 (eval $ac_link) 2>conftest.er1
9931 grep -v '^ *+' conftest.er1
>conftest.err
9933 cat conftest.err
>&5
9934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9935 (exit $ac_status); } &&
9936 { ac_try
='test -z "$ac_c_werror_flag"
9937 || test ! -s conftest.err'
9938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9942 (exit $ac_status); }; } &&
9943 { ac_try
='test -s conftest$ac_exeext'
9944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9948 (exit $ac_status); }; }; then
9951 echo "$as_me: failed program was:" >&5
9952 sed 's/^/| /' conftest.
$ac_ext >&5
9956 rm -f conftest.err conftest.
$ac_objext \
9957 conftest
$ac_exeext conftest.
$ac_ext
9958 LIBS
=$ac_check_lib_save_LIBS
9960 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
9961 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
9962 if test $ac_cv_lib_m_j0f = yes; then
9964 cat >>confdefs.h
<<\_ACEOF
9970 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
9971 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
9972 if test "${ac_cv_lib_m_j1+set}" = set; then
9973 echo $ECHO_N "(cached) $ECHO_C" >&6
9975 ac_check_lib_save_LIBS
=$LIBS
9977 if test x
$gcc_no_link = xyes
; then
9978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9980 { (exit 1); exit 1; }; }
9982 cat >conftest.
$ac_ext <<_ACEOF
9985 cat confdefs.h
>>conftest.
$ac_ext
9986 cat >>conftest.
$ac_ext <<_ACEOF
9987 /* end confdefs.h. */
9989 /* Override any gcc2 internal prototype to avoid an error. */
9993 /* We use char because int might match the return type of a gcc2
9994 builtin and then its argument prototype would still apply. */
10004 rm -f conftest.
$ac_objext conftest
$ac_exeext
10005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10006 (eval $ac_link) 2>conftest.er1
10008 grep -v '^ *+' conftest.er1
>conftest.err
10010 cat conftest.err
>&5
10011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10012 (exit $ac_status); } &&
10013 { ac_try
='test -z "$ac_c_werror_flag"
10014 || test ! -s conftest.err'
10015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10016 (eval $ac_try) 2>&5
10018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10019 (exit $ac_status); }; } &&
10020 { ac_try
='test -s conftest$ac_exeext'
10021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10022 (eval $ac_try) 2>&5
10024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10025 (exit $ac_status); }; }; then
10028 echo "$as_me: failed program was:" >&5
10029 sed 's/^/| /' conftest.
$ac_ext >&5
10033 rm -f conftest.err conftest.
$ac_objext \
10034 conftest
$ac_exeext conftest.
$ac_ext
10035 LIBS
=$ac_check_lib_save_LIBS
10037 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
10038 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
10039 if test $ac_cv_lib_m_j1 = yes; then
10041 cat >>confdefs.h
<<\_ACEOF
10047 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
10048 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
10049 if test "${ac_cv_lib_m_j1f+set}" = set; then
10050 echo $ECHO_N "(cached) $ECHO_C" >&6
10052 ac_check_lib_save_LIBS
=$LIBS
10054 if test x
$gcc_no_link = xyes
; then
10055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10057 { (exit 1); exit 1; }; }
10059 cat >conftest.
$ac_ext <<_ACEOF
10062 cat confdefs.h
>>conftest.
$ac_ext
10063 cat >>conftest.
$ac_ext <<_ACEOF
10064 /* end confdefs.h. */
10066 /* Override any gcc2 internal prototype to avoid an error. */
10070 /* We use char because int might match the return type of a gcc2
10071 builtin and then its argument prototype would still apply. */
10081 rm -f conftest.
$ac_objext conftest
$ac_exeext
10082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10083 (eval $ac_link) 2>conftest.er1
10085 grep -v '^ *+' conftest.er1
>conftest.err
10087 cat conftest.err
>&5
10088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10089 (exit $ac_status); } &&
10090 { ac_try
='test -z "$ac_c_werror_flag"
10091 || test ! -s conftest.err'
10092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10093 (eval $ac_try) 2>&5
10095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10096 (exit $ac_status); }; } &&
10097 { ac_try
='test -s conftest$ac_exeext'
10098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10099 (eval $ac_try) 2>&5
10101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10102 (exit $ac_status); }; }; then
10103 ac_cv_lib_m_j1f
=yes
10105 echo "$as_me: failed program was:" >&5
10106 sed 's/^/| /' conftest.
$ac_ext >&5
10110 rm -f conftest.err conftest.
$ac_objext \
10111 conftest
$ac_exeext conftest.
$ac_ext
10112 LIBS
=$ac_check_lib_save_LIBS
10114 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
10115 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
10116 if test $ac_cv_lib_m_j1f = yes; then
10118 cat >>confdefs.h
<<\_ACEOF
10124 echo "$as_me:$LINENO: checking for jn in -lm" >&5
10125 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
10126 if test "${ac_cv_lib_m_jn+set}" = set; then
10127 echo $ECHO_N "(cached) $ECHO_C" >&6
10129 ac_check_lib_save_LIBS
=$LIBS
10131 if test x
$gcc_no_link = xyes
; then
10132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10134 { (exit 1); exit 1; }; }
10136 cat >conftest.
$ac_ext <<_ACEOF
10139 cat confdefs.h
>>conftest.
$ac_ext
10140 cat >>conftest.
$ac_ext <<_ACEOF
10141 /* end confdefs.h. */
10143 /* Override any gcc2 internal prototype to avoid an error. */
10147 /* We use char because int might match the return type of a gcc2
10148 builtin and then its argument prototype would still apply. */
10158 rm -f conftest.
$ac_objext conftest
$ac_exeext
10159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10160 (eval $ac_link) 2>conftest.er1
10162 grep -v '^ *+' conftest.er1
>conftest.err
10164 cat conftest.err
>&5
10165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10166 (exit $ac_status); } &&
10167 { ac_try
='test -z "$ac_c_werror_flag"
10168 || test ! -s conftest.err'
10169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10170 (eval $ac_try) 2>&5
10172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10173 (exit $ac_status); }; } &&
10174 { ac_try
='test -s conftest$ac_exeext'
10175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10176 (eval $ac_try) 2>&5
10178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10179 (exit $ac_status); }; }; then
10182 echo "$as_me: failed program was:" >&5
10183 sed 's/^/| /' conftest.
$ac_ext >&5
10187 rm -f conftest.err conftest.
$ac_objext \
10188 conftest
$ac_exeext conftest.
$ac_ext
10189 LIBS
=$ac_check_lib_save_LIBS
10191 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
10192 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
10193 if test $ac_cv_lib_m_jn = yes; then
10195 cat >>confdefs.h
<<\_ACEOF
10201 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
10202 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
10203 if test "${ac_cv_lib_m_jnf+set}" = set; then
10204 echo $ECHO_N "(cached) $ECHO_C" >&6
10206 ac_check_lib_save_LIBS
=$LIBS
10208 if test x
$gcc_no_link = xyes
; then
10209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10211 { (exit 1); exit 1; }; }
10213 cat >conftest.
$ac_ext <<_ACEOF
10216 cat confdefs.h
>>conftest.
$ac_ext
10217 cat >>conftest.
$ac_ext <<_ACEOF
10218 /* end confdefs.h. */
10220 /* Override any gcc2 internal prototype to avoid an error. */
10224 /* We use char because int might match the return type of a gcc2
10225 builtin and then its argument prototype would still apply. */
10235 rm -f conftest.
$ac_objext conftest
$ac_exeext
10236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10237 (eval $ac_link) 2>conftest.er1
10239 grep -v '^ *+' conftest.er1
>conftest.err
10241 cat conftest.err
>&5
10242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10243 (exit $ac_status); } &&
10244 { ac_try
='test -z "$ac_c_werror_flag"
10245 || test ! -s conftest.err'
10246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10247 (eval $ac_try) 2>&5
10249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10250 (exit $ac_status); }; } &&
10251 { ac_try
='test -s conftest$ac_exeext'
10252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10253 (eval $ac_try) 2>&5
10255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10256 (exit $ac_status); }; }; then
10257 ac_cv_lib_m_jnf
=yes
10259 echo "$as_me: failed program was:" >&5
10260 sed 's/^/| /' conftest.
$ac_ext >&5
10264 rm -f conftest.err conftest.
$ac_objext \
10265 conftest
$ac_exeext conftest.
$ac_ext
10266 LIBS
=$ac_check_lib_save_LIBS
10268 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
10269 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
10270 if test $ac_cv_lib_m_jnf = yes; then
10272 cat >>confdefs.h
<<\_ACEOF
10278 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
10279 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
10280 if test "${ac_cv_lib_m_y0+set}" = set; then
10281 echo $ECHO_N "(cached) $ECHO_C" >&6
10283 ac_check_lib_save_LIBS
=$LIBS
10285 if test x
$gcc_no_link = xyes
; then
10286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10288 { (exit 1); exit 1; }; }
10290 cat >conftest.
$ac_ext <<_ACEOF
10293 cat confdefs.h
>>conftest.
$ac_ext
10294 cat >>conftest.
$ac_ext <<_ACEOF
10295 /* end confdefs.h. */
10297 /* Override any gcc2 internal prototype to avoid an error. */
10301 /* We use char because int might match the return type of a gcc2
10302 builtin and then its argument prototype would still apply. */
10312 rm -f conftest.
$ac_objext conftest
$ac_exeext
10313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10314 (eval $ac_link) 2>conftest.er1
10316 grep -v '^ *+' conftest.er1
>conftest.err
10318 cat conftest.err
>&5
10319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10320 (exit $ac_status); } &&
10321 { ac_try
='test -z "$ac_c_werror_flag"
10322 || test ! -s conftest.err'
10323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10324 (eval $ac_try) 2>&5
10326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10327 (exit $ac_status); }; } &&
10328 { ac_try
='test -s conftest$ac_exeext'
10329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10330 (eval $ac_try) 2>&5
10332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333 (exit $ac_status); }; }; then
10336 echo "$as_me: failed program was:" >&5
10337 sed 's/^/| /' conftest.
$ac_ext >&5
10341 rm -f conftest.err conftest.
$ac_objext \
10342 conftest
$ac_exeext conftest.
$ac_ext
10343 LIBS
=$ac_check_lib_save_LIBS
10345 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
10346 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
10347 if test $ac_cv_lib_m_y0 = yes; then
10349 cat >>confdefs.h
<<\_ACEOF
10355 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
10356 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
10357 if test "${ac_cv_lib_m_y0f+set}" = set; then
10358 echo $ECHO_N "(cached) $ECHO_C" >&6
10360 ac_check_lib_save_LIBS
=$LIBS
10362 if test x
$gcc_no_link = xyes
; then
10363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10365 { (exit 1); exit 1; }; }
10367 cat >conftest.
$ac_ext <<_ACEOF
10370 cat confdefs.h
>>conftest.
$ac_ext
10371 cat >>conftest.
$ac_ext <<_ACEOF
10372 /* end confdefs.h. */
10374 /* Override any gcc2 internal prototype to avoid an error. */
10378 /* We use char because int might match the return type of a gcc2
10379 builtin and then its argument prototype would still apply. */
10389 rm -f conftest.
$ac_objext conftest
$ac_exeext
10390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10391 (eval $ac_link) 2>conftest.er1
10393 grep -v '^ *+' conftest.er1
>conftest.err
10395 cat conftest.err
>&5
10396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10397 (exit $ac_status); } &&
10398 { ac_try
='test -z "$ac_c_werror_flag"
10399 || test ! -s conftest.err'
10400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10401 (eval $ac_try) 2>&5
10403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10404 (exit $ac_status); }; } &&
10405 { ac_try
='test -s conftest$ac_exeext'
10406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10407 (eval $ac_try) 2>&5
10409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410 (exit $ac_status); }; }; then
10411 ac_cv_lib_m_y0f
=yes
10413 echo "$as_me: failed program was:" >&5
10414 sed 's/^/| /' conftest.
$ac_ext >&5
10418 rm -f conftest.err conftest.
$ac_objext \
10419 conftest
$ac_exeext conftest.
$ac_ext
10420 LIBS
=$ac_check_lib_save_LIBS
10422 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
10423 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
10424 if test $ac_cv_lib_m_y0f = yes; then
10426 cat >>confdefs.h
<<\_ACEOF
10432 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
10433 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
10434 if test "${ac_cv_lib_m_y1+set}" = set; then
10435 echo $ECHO_N "(cached) $ECHO_C" >&6
10437 ac_check_lib_save_LIBS
=$LIBS
10439 if test x
$gcc_no_link = xyes
; then
10440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10442 { (exit 1); exit 1; }; }
10444 cat >conftest.
$ac_ext <<_ACEOF
10447 cat confdefs.h
>>conftest.
$ac_ext
10448 cat >>conftest.
$ac_ext <<_ACEOF
10449 /* end confdefs.h. */
10451 /* Override any gcc2 internal prototype to avoid an error. */
10455 /* We use char because int might match the return type of a gcc2
10456 builtin and then its argument prototype would still apply. */
10466 rm -f conftest.
$ac_objext conftest
$ac_exeext
10467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10468 (eval $ac_link) 2>conftest.er1
10470 grep -v '^ *+' conftest.er1
>conftest.err
10472 cat conftest.err
>&5
10473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10474 (exit $ac_status); } &&
10475 { ac_try
='test -z "$ac_c_werror_flag"
10476 || test ! -s conftest.err'
10477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10478 (eval $ac_try) 2>&5
10480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10481 (exit $ac_status); }; } &&
10482 { ac_try
='test -s conftest$ac_exeext'
10483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10484 (eval $ac_try) 2>&5
10486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10487 (exit $ac_status); }; }; then
10490 echo "$as_me: failed program was:" >&5
10491 sed 's/^/| /' conftest.
$ac_ext >&5
10495 rm -f conftest.err conftest.
$ac_objext \
10496 conftest
$ac_exeext conftest.
$ac_ext
10497 LIBS
=$ac_check_lib_save_LIBS
10499 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
10500 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
10501 if test $ac_cv_lib_m_y1 = yes; then
10503 cat >>confdefs.h
<<\_ACEOF
10509 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
10510 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
10511 if test "${ac_cv_lib_m_y1f+set}" = set; then
10512 echo $ECHO_N "(cached) $ECHO_C" >&6
10514 ac_check_lib_save_LIBS
=$LIBS
10516 if test x
$gcc_no_link = xyes
; then
10517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10519 { (exit 1); exit 1; }; }
10521 cat >conftest.
$ac_ext <<_ACEOF
10524 cat confdefs.h
>>conftest.
$ac_ext
10525 cat >>conftest.
$ac_ext <<_ACEOF
10526 /* end confdefs.h. */
10528 /* Override any gcc2 internal prototype to avoid an error. */
10532 /* We use char because int might match the return type of a gcc2
10533 builtin and then its argument prototype would still apply. */
10543 rm -f conftest.
$ac_objext conftest
$ac_exeext
10544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10545 (eval $ac_link) 2>conftest.er1
10547 grep -v '^ *+' conftest.er1
>conftest.err
10549 cat conftest.err
>&5
10550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10551 (exit $ac_status); } &&
10552 { ac_try
='test -z "$ac_c_werror_flag"
10553 || test ! -s conftest.err'
10554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10555 (eval $ac_try) 2>&5
10557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558 (exit $ac_status); }; } &&
10559 { ac_try
='test -s conftest$ac_exeext'
10560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10561 (eval $ac_try) 2>&5
10563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10564 (exit $ac_status); }; }; then
10565 ac_cv_lib_m_y1f
=yes
10567 echo "$as_me: failed program was:" >&5
10568 sed 's/^/| /' conftest.
$ac_ext >&5
10572 rm -f conftest.err conftest.
$ac_objext \
10573 conftest
$ac_exeext conftest.
$ac_ext
10574 LIBS
=$ac_check_lib_save_LIBS
10576 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
10577 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
10578 if test $ac_cv_lib_m_y1f = yes; then
10580 cat >>confdefs.h
<<\_ACEOF
10586 echo "$as_me:$LINENO: checking for yn in -lm" >&5
10587 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
10588 if test "${ac_cv_lib_m_yn+set}" = set; then
10589 echo $ECHO_N "(cached) $ECHO_C" >&6
10591 ac_check_lib_save_LIBS
=$LIBS
10593 if test x
$gcc_no_link = xyes
; then
10594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10596 { (exit 1); exit 1; }; }
10598 cat >conftest.
$ac_ext <<_ACEOF
10601 cat confdefs.h
>>conftest.
$ac_ext
10602 cat >>conftest.
$ac_ext <<_ACEOF
10603 /* end confdefs.h. */
10605 /* Override any gcc2 internal prototype to avoid an error. */
10609 /* We use char because int might match the return type of a gcc2
10610 builtin and then its argument prototype would still apply. */
10620 rm -f conftest.
$ac_objext conftest
$ac_exeext
10621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10622 (eval $ac_link) 2>conftest.er1
10624 grep -v '^ *+' conftest.er1
>conftest.err
10626 cat conftest.err
>&5
10627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10628 (exit $ac_status); } &&
10629 { ac_try
='test -z "$ac_c_werror_flag"
10630 || test ! -s conftest.err'
10631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10632 (eval $ac_try) 2>&5
10634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10635 (exit $ac_status); }; } &&
10636 { ac_try
='test -s conftest$ac_exeext'
10637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10638 (eval $ac_try) 2>&5
10640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10641 (exit $ac_status); }; }; then
10644 echo "$as_me: failed program was:" >&5
10645 sed 's/^/| /' conftest.
$ac_ext >&5
10649 rm -f conftest.err conftest.
$ac_objext \
10650 conftest
$ac_exeext conftest.
$ac_ext
10651 LIBS
=$ac_check_lib_save_LIBS
10653 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
10654 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
10655 if test $ac_cv_lib_m_yn = yes; then
10657 cat >>confdefs.h
<<\_ACEOF
10663 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
10664 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
10665 if test "${ac_cv_lib_m_ynf+set}" = set; then
10666 echo $ECHO_N "(cached) $ECHO_C" >&6
10668 ac_check_lib_save_LIBS
=$LIBS
10670 if test x
$gcc_no_link = xyes
; then
10671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10673 { (exit 1); exit 1; }; }
10675 cat >conftest.
$ac_ext <<_ACEOF
10678 cat confdefs.h
>>conftest.
$ac_ext
10679 cat >>conftest.
$ac_ext <<_ACEOF
10680 /* end confdefs.h. */
10682 /* Override any gcc2 internal prototype to avoid an error. */
10686 /* We use char because int might match the return type of a gcc2
10687 builtin and then its argument prototype would still apply. */
10697 rm -f conftest.
$ac_objext conftest
$ac_exeext
10698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10699 (eval $ac_link) 2>conftest.er1
10701 grep -v '^ *+' conftest.er1
>conftest.err
10703 cat conftest.err
>&5
10704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10705 (exit $ac_status); } &&
10706 { ac_try
='test -z "$ac_c_werror_flag"
10707 || test ! -s conftest.err'
10708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10709 (eval $ac_try) 2>&5
10711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10712 (exit $ac_status); }; } &&
10713 { ac_try
='test -s conftest$ac_exeext'
10714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10715 (eval $ac_try) 2>&5
10717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10718 (exit $ac_status); }; }; then
10719 ac_cv_lib_m_ynf
=yes
10721 echo "$as_me: failed program was:" >&5
10722 sed 's/^/| /' conftest.
$ac_ext >&5
10726 rm -f conftest.err conftest.
$ac_objext \
10727 conftest
$ac_exeext conftest.
$ac_ext
10728 LIBS
=$ac_check_lib_save_LIBS
10730 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
10731 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
10732 if test $ac_cv_lib_m_ynf = yes; then
10734 cat >>confdefs.h
<<\_ACEOF
10741 # Fallback in case isfinite is not available.
10742 echo "$as_me:$LINENO: checking for finite in -lm" >&5
10743 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
10744 if test "${ac_cv_lib_m_finite+set}" = set; then
10745 echo $ECHO_N "(cached) $ECHO_C" >&6
10747 ac_check_lib_save_LIBS
=$LIBS
10749 if test x
$gcc_no_link = xyes
; then
10750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10752 { (exit 1); exit 1; }; }
10754 cat >conftest.
$ac_ext <<_ACEOF
10757 cat confdefs.h
>>conftest.
$ac_ext
10758 cat >>conftest.
$ac_ext <<_ACEOF
10759 /* end confdefs.h. */
10761 /* Override any gcc2 internal prototype to avoid an error. */
10765 /* We use char because int might match the return type of a gcc2
10766 builtin and then its argument prototype would still apply. */
10776 rm -f conftest.
$ac_objext conftest
$ac_exeext
10777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10778 (eval $ac_link) 2>conftest.er1
10780 grep -v '^ *+' conftest.er1
>conftest.err
10782 cat conftest.err
>&5
10783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784 (exit $ac_status); } &&
10785 { ac_try
='test -z "$ac_c_werror_flag"
10786 || test ! -s conftest.err'
10787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10788 (eval $ac_try) 2>&5
10790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10791 (exit $ac_status); }; } &&
10792 { ac_try
='test -s conftest$ac_exeext'
10793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10794 (eval $ac_try) 2>&5
10796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10797 (exit $ac_status); }; }; then
10798 ac_cv_lib_m_finite
=yes
10800 echo "$as_me: failed program was:" >&5
10801 sed 's/^/| /' conftest.
$ac_ext >&5
10803 ac_cv_lib_m_finite
=no
10805 rm -f conftest.err conftest.
$ac_objext \
10806 conftest
$ac_exeext conftest.
$ac_ext
10807 LIBS
=$ac_check_lib_save_LIBS
10809 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
10810 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
10811 if test $ac_cv_lib_m_finite = yes; then
10813 cat >>confdefs.h
<<\_ACEOF
10814 #define HAVE_FINITE 1
10820 # Let the user override this
10821 # Check whether --enable-cmath or --disable-cmath was given.
10822 if test "${enable_cmath+set}" = set; then
10823 enableval
="$enable_cmath"
10824 need_math
=$enableval
10826 if test "$need_math" = "yes"; then
10827 { echo "$as_me:$LINENO: Including complex math functions in libgfor" >&5
10828 echo "$as_me: Including complex math functions in libgfor" >&6;};
10829 extra_math_obj
='$(gfor_cmath_obj)'
10832 MATH_OBJ
="$extra_math_obj"
10835 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
10836 # for struct timezone, as you might think. We also need to check how
10837 # to call gettimeofday if we have it.
10838 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10839 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
10840 if test "${ac_cv_header_time+set}" = set; then
10841 echo $ECHO_N "(cached) $ECHO_C" >&6
10843 cat >conftest.
$ac_ext <<_ACEOF
10846 cat confdefs.h
>>conftest.
$ac_ext
10847 cat >>conftest.
$ac_ext <<_ACEOF
10848 /* end confdefs.h. */
10849 #include <sys/types.h>
10850 #include <sys/time.h>
10856 if ((struct tm *) 0)
10862 rm -f conftest.
$ac_objext
10863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10864 (eval $ac_compile) 2>conftest.er1
10866 grep -v '^ *+' conftest.er1
>conftest.err
10868 cat conftest.err
>&5
10869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10870 (exit $ac_status); } &&
10871 { ac_try
='test -z "$ac_c_werror_flag"
10872 || test ! -s conftest.err'
10873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10874 (eval $ac_try) 2>&5
10876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10877 (exit $ac_status); }; } &&
10878 { ac_try
='test -s conftest.$ac_objext'
10879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10880 (eval $ac_try) 2>&5
10882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10883 (exit $ac_status); }; }; then
10884 ac_cv_header_time
=yes
10886 echo "$as_me: failed program was:" >&5
10887 sed 's/^/| /' conftest.
$ac_ext >&5
10889 ac_cv_header_time
=no
10891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10893 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10894 echo "${ECHO_T}$ac_cv_header_time" >&6
10895 if test $ac_cv_header_time = yes; then
10897 cat >>confdefs.h
<<\_ACEOF
10898 #define TIME_WITH_SYS_TIME 1
10905 for ac_func
in gettimeofday
10907 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10908 echo "$as_me:$LINENO: checking for $ac_func" >&5
10909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10910 if eval "test \"\${$as_ac_var+set}\" = set"; then
10911 echo $ECHO_N "(cached) $ECHO_C" >&6
10913 if test x
$gcc_no_link = xyes
; then
10914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10916 { (exit 1); exit 1; }; }
10918 cat >conftest.
$ac_ext <<_ACEOF
10921 cat confdefs.h
>>conftest.
$ac_ext
10922 cat >>conftest.
$ac_ext <<_ACEOF
10923 /* end confdefs.h. */
10924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10926 #define $ac_func innocuous_$ac_func
10928 /* System header to define __stub macros and hopefully few prototypes,
10929 which can conflict with char $ac_func (); below.
10930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10931 <limits.h> exists even on freestanding compilers. */
10934 # include <limits.h>
10936 # include <assert.h>
10941 /* Override any gcc2 internal prototype to avoid an error. */
10946 /* We use char because int might match the return type of a gcc2
10947 builtin and then its argument prototype would still apply. */
10949 /* The GNU C library defines this for functions which it implements
10950 to always fail with ENOSYS. Some functions are actually named
10951 something starting with __ and the normal name is an alias. */
10952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10955 char (*f) () = $ac_func;
10964 return f != $ac_func;
10969 rm -f conftest.
$ac_objext conftest
$ac_exeext
10970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10971 (eval $ac_link) 2>conftest.er1
10973 grep -v '^ *+' conftest.er1
>conftest.err
10975 cat conftest.err
>&5
10976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10977 (exit $ac_status); } &&
10978 { ac_try
='test -z "$ac_c_werror_flag"
10979 || test ! -s conftest.err'
10980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10981 (eval $ac_try) 2>&5
10983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10984 (exit $ac_status); }; } &&
10985 { ac_try
='test -s conftest$ac_exeext'
10986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10987 (eval $ac_try) 2>&5
10989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10990 (exit $ac_status); }; }; then
10991 eval "$as_ac_var=yes"
10993 echo "$as_me: failed program was:" >&5
10994 sed 's/^/| /' conftest.
$ac_ext >&5
10996 eval "$as_ac_var=no"
10998 rm -f conftest.err conftest.
$ac_objext \
10999 conftest
$ac_exeext conftest.
$ac_ext
11001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11003 if test `eval echo '${'$as_ac_var'}'` = yes; then
11004 cat >>confdefs.h
<<_ACEOF
11005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11011 if test "$ac_cv_func_gettimeofday" = yes; then
11012 echo "$as_me:$LINENO: checking for struct timezone" >&5
11013 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
11014 if test "${gfor_cv_struct_timezone+set}" = set; then
11015 echo $ECHO_N "(cached) $ECHO_C" >&6
11017 cat >conftest.
$ac_ext <<_ACEOF
11020 cat confdefs.h
>>conftest.
$ac_ext
11021 cat >>conftest.
$ac_ext <<_ACEOF
11022 /* end confdefs.h. */
11023 #include <sys/time.h>
11027 struct timezone tz;
11032 rm -f conftest.
$ac_objext
11033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11034 (eval $ac_compile) 2>conftest.er1
11036 grep -v '^ *+' conftest.er1
>conftest.err
11038 cat conftest.err
>&5
11039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11040 (exit $ac_status); } &&
11041 { ac_try
='test -z "$ac_c_werror_flag"
11042 || test ! -s conftest.err'
11043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11044 (eval $ac_try) 2>&5
11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); }; } &&
11048 { ac_try
='test -s conftest.$ac_objext'
11049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11050 (eval $ac_try) 2>&5
11052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11053 (exit $ac_status); }; }; then
11054 gfor_cv_struct_timezone
=yes
11056 echo "$as_me: failed program was:" >&5
11057 sed 's/^/| /' conftest.
$ac_ext >&5
11059 gfor_cv_struct_timezone
=no
11061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11063 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
11064 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
11065 if test $gfor_cv_struct_timezone = yes; then
11066 if test "$cross_compiling" = yes; then
11067 gfor_have_struct_timezone
=yes
11069 cat >conftest.
$ac_ext <<_ACEOF
11072 cat confdefs.h
>>conftest.
$ac_ext
11073 cat >>conftest.
$ac_ext <<_ACEOF
11074 /* end confdefs.h. */
11076 #ifdef TIME_WITH_SYS_TIME
11077 #include <sys/time.h>
11080 #ifdef HAVE_SYS_TIME_H
11081 #include <sys/time.h>
11088 struct timeval time;
11089 struct timezone dummy;
11090 if (gettimeofday (&time, &dummy))
11096 rm -f conftest
$ac_exeext
11097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11098 (eval $ac_link) 2>&5
11100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11101 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11103 (eval $ac_try) 2>&5
11105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11106 (exit $ac_status); }; }; then
11107 gfor_have_struct_timezone
=yes
11109 echo "$as_me: program exited with status $ac_status" >&5
11110 echo "$as_me: failed program was:" >&5
11111 sed 's/^/| /' conftest.
$ac_ext >&5
11113 ( exit $ac_status )
11114 gfor_have_struct_timezone
=no
11116 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11118 if test $gfor_have_struct_timezone = yes; then
11120 cat >>confdefs.h
<<\_ACEOF
11121 #define HAVE_TIMEZONE 1
11127 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
11128 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
11129 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11130 echo $ECHO_N "(cached) $ECHO_C" >&6
11132 if test x
$gcc_no_link = xyes
; then
11133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11135 { (exit 1); exit 1; }; }
11137 cat >conftest.
$ac_ext <<_ACEOF
11140 cat confdefs.h
>>conftest.
$ac_ext
11141 cat >>conftest.
$ac_ext <<_ACEOF
11142 /* end confdefs.h. */
11144 #ifdef TIME_WITH_SYS_TIME
11145 #include <sys/time.h>
11148 #ifdef HAVE_SYS_TIME_H
11149 #include <sys/time.h>
11159 struct timeval time;
11160 #ifdef HAVE_TIMEZONE
11161 struct timezone dummy;
11162 #define DUMMY &dummy
11166 gettimeofday (&time, DUMMY);
11171 rm -f conftest.
$ac_objext conftest
$ac_exeext
11172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11173 (eval $ac_link) 2>conftest.er1
11175 grep -v '^ *+' conftest.er1
>conftest.err
11177 cat conftest.err
>&5
11178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11179 (exit $ac_status); } &&
11180 { ac_try
='test -z "$ac_c_werror_flag"
11181 || test ! -s conftest.err'
11182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11183 (eval $ac_try) 2>&5
11185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11186 (exit $ac_status); }; } &&
11187 { ac_try
='test -s conftest$ac_exeext'
11188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11189 (eval $ac_try) 2>&5
11191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 (exit $ac_status); }; }; then
11193 emacs_cv_gettimeofday_two_arguments
=yes
11195 echo "$as_me: failed program was:" >&5
11196 sed 's/^/| /' conftest.
$ac_ext >&5
11198 emacs_cv_gettimeofday_two_arguments
=no
11200 rm -f conftest.err conftest.
$ac_objext \
11201 conftest
$ac_exeext conftest.
$ac_ext
11203 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
11204 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11205 if test $emacs_cv_gettimeofday_two_arguments = no
; then
11207 cat >>confdefs.h
<<\_ACEOF
11208 #define GETTIMEOFDAY_ONE_ARGUMENT 1
11214 # Attempt to assert that the target is of common type in case we don't
11215 # have C99 integer types at all.
11217 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
11218 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
11219 if test "${target_ilp32+set}" = set; then
11220 echo $ECHO_N "(cached) $ECHO_C" >&6
11223 save_CFLAGS
="$CFLAGS"
11225 if test x
$gcc_no_link = xyes
; then
11226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11228 { (exit 1); exit 1; }; }
11230 cat >conftest.
$ac_ext <<_ACEOF
11233 cat confdefs.h
>>conftest.
$ac_ext
11234 cat >>conftest.
$ac_ext <<_ACEOF
11235 /* end confdefs.h. */
11241 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
11244 undefined_function ();
11250 rm -f conftest.
$ac_objext conftest
$ac_exeext
11251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11252 (eval $ac_link) 2>conftest.er1
11254 grep -v '^ *+' conftest.er1
>conftest.err
11256 cat conftest.err
>&5
11257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11258 (exit $ac_status); } &&
11259 { ac_try
='test -z "$ac_c_werror_flag"
11260 || test ! -s conftest.err'
11261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11262 (eval $ac_try) 2>&5
11264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11265 (exit $ac_status); }; } &&
11266 { ac_try
='test -s conftest$ac_exeext'
11267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11268 (eval $ac_try) 2>&5
11270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11271 (exit $ac_status); }; }; then
11274 echo "$as_me: failed program was:" >&5
11275 sed 's/^/| /' conftest.
$ac_ext >&5
11279 rm -f conftest.err conftest.
$ac_objext \
11280 conftest
$ac_exeext conftest.
$ac_ext
11281 CFLAGS
="$save_CFLAGS"
11283 echo "$as_me:$LINENO: result: $target_ilp32" >&5
11284 echo "${ECHO_T}$target_ilp32" >&6
11285 if test $target_ilp32 = yes; then
11287 cat >>confdefs.h
<<\_ACEOF
11288 #define TARGET_ILP32 1
11294 # Check out attribute support.
11296 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
11297 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
11298 if test "${have_attribute_visibility+set}" = set; then
11299 echo $ECHO_N "(cached) $ECHO_C" >&6
11302 save_CFLAGS
="$CFLAGS"
11303 CFLAGS
="$CFLAGS -Werror"
11304 cat >conftest.
$ac_ext <<_ACEOF
11307 cat confdefs.h
>>conftest.
$ac_ext
11308 cat >>conftest.
$ac_ext <<_ACEOF
11309 /* end confdefs.h. */
11310 void __attribute__((visibility("hidden"))) foo(void) { }
11319 rm -f conftest.
$ac_objext
11320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11321 (eval $ac_compile) 2>conftest.er1
11323 grep -v '^ *+' conftest.er1
>conftest.err
11325 cat conftest.err
>&5
11326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11327 (exit $ac_status); } &&
11328 { ac_try
='test -z "$ac_c_werror_flag"
11329 || test ! -s conftest.err'
11330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11331 (eval $ac_try) 2>&5
11333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11334 (exit $ac_status); }; } &&
11335 { ac_try
='test -s conftest.$ac_objext'
11336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11337 (eval $ac_try) 2>&5
11339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11340 (exit $ac_status); }; }; then
11341 have_attribute_visibility
=yes
11343 echo "$as_me: failed program was:" >&5
11344 sed 's/^/| /' conftest.
$ac_ext >&5
11346 have_attribute_visibility
=no
11348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11349 CFLAGS
="$save_CFLAGS"
11351 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
11352 echo "${ECHO_T}$have_attribute_visibility" >&6
11353 if test $have_attribute_visibility = yes; then
11355 cat >>confdefs.h
<<\_ACEOF
11356 #define HAVE_ATTRIBUTE_VISIBILITY 1
11361 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
11362 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
11363 if test "${have_attribute_dllexport+set}" = set; then
11364 echo $ECHO_N "(cached) $ECHO_C" >&6
11367 save_CFLAGS
="$CFLAGS"
11368 CFLAGS
="$CFLAGS -Werror"
11369 cat >conftest.
$ac_ext <<_ACEOF
11372 cat confdefs.h
>>conftest.
$ac_ext
11373 cat >>conftest.
$ac_ext <<_ACEOF
11374 /* end confdefs.h. */
11375 void __attribute__((dllexport)) foo(void) { }
11384 rm -f conftest.
$ac_objext
11385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11386 (eval $ac_compile) 2>conftest.er1
11388 grep -v '^ *+' conftest.er1
>conftest.err
11390 cat conftest.err
>&5
11391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11392 (exit $ac_status); } &&
11393 { ac_try
='test -z "$ac_c_werror_flag"
11394 || test ! -s conftest.err'
11395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11396 (eval $ac_try) 2>&5
11398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399 (exit $ac_status); }; } &&
11400 { ac_try
='test -s conftest.$ac_objext'
11401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11402 (eval $ac_try) 2>&5
11404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11405 (exit $ac_status); }; }; then
11406 have_attribute_dllexport
=yes
11408 echo "$as_me: failed program was:" >&5
11409 sed 's/^/| /' conftest.
$ac_ext >&5
11411 have_attribute_dllexport
=no
11413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11414 CFLAGS
="$save_CFLAGS"
11416 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
11417 echo "${ECHO_T}$have_attribute_dllexport" >&6
11418 if test $have_attribute_dllexport = yes; then
11420 cat >>confdefs.h
<<\_ACEOF
11421 #define HAVE_ATTRIBUTE_DLLEXPORT 1
11426 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
11427 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
11428 if test "${have_attribute_alias+set}" = set; then
11429 echo $ECHO_N "(cached) $ECHO_C" >&6
11432 if test x
$gcc_no_link = xyes
; then
11433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11435 { (exit 1); exit 1; }; }
11437 cat >conftest.
$ac_ext <<_ACEOF
11440 cat confdefs.h
>>conftest.
$ac_ext
11441 cat >>conftest.
$ac_ext <<_ACEOF
11442 /* end confdefs.h. */
11444 #define ULP STR1(__USER_LABEL_PREFIX__)
11445 #define STR1(x) STR2(x)
11448 extern void bar(void) __attribute__((alias(ULP "foo")));
11457 rm -f conftest.
$ac_objext conftest
$ac_exeext
11458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11459 (eval $ac_link) 2>conftest.er1
11461 grep -v '^ *+' conftest.er1
>conftest.err
11463 cat conftest.err
>&5
11464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11465 (exit $ac_status); } &&
11466 { ac_try
='test -z "$ac_c_werror_flag"
11467 || test ! -s conftest.err'
11468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11469 (eval $ac_try) 2>&5
11471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11472 (exit $ac_status); }; } &&
11473 { ac_try
='test -s conftest$ac_exeext'
11474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11475 (eval $ac_try) 2>&5
11477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11478 (exit $ac_status); }; }; then
11479 have_attribute_alias
=yes
11481 echo "$as_me: failed program was:" >&5
11482 sed 's/^/| /' conftest.
$ac_ext >&5
11484 have_attribute_alias
=no
11486 rm -f conftest.err conftest.
$ac_objext \
11487 conftest
$ac_exeext conftest.
$ac_ext
11489 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
11490 echo "${ECHO_T}$have_attribute_alias" >&6
11491 if test $have_attribute_alias = yes; then
11493 cat >>confdefs.h
<<\_ACEOF
11494 #define HAVE_ATTRIBUTE_ALIAS 1
11499 cat >confcache
<<\_ACEOF
11500 # This file is a shell script that caches the results of configure
11501 # tests run on this system so they can be shared between configure
11502 # scripts and configure runs, see configure's option --config-cache.
11503 # It is not useful on other systems. If it contains results you don't
11504 # want to keep, you may remove or edit it.
11506 # config.status only pays attention to the cache file if you give it
11507 # the --recheck option to rerun configure.
11509 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11510 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11511 # following values.
11515 # The following way of writing the cache mishandles newlines in values,
11516 # but we know of no workaround that is simple, portable, and efficient.
11517 # So, don't put newlines in cache variables' values.
11518 # Ultrix sh set writes to stderr and can't be redirected directly,
11519 # and sets the high bit in the cache file unless we assign to the vars.
11522 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11524 # `set' does not quote correctly, so add quotes (double-quote
11525 # substitution turns \\\\ into \\, and sed turns \\ into \).
11528 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11531 # `set' quotes correctly as required by POSIX, so do not add quotes.
11533 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11540 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11542 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11544 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11545 if test -w $cache_file; then
11546 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11547 cat confcache
>$cache_file
11549 echo "not updating unwritable cache $cache_file"
11554 if test ${multilib} = yes; then
11555 multilib_arg
="--enable-multilib"
11560 # Write our Makefile.
11561 ac_config_files
="$ac_config_files Makefile"
11563 cat >confcache
<<\_ACEOF
11564 # This file is a shell script that caches the results of configure
11565 # tests run on this system so they can be shared between configure
11566 # scripts and configure runs, see configure's option --config-cache.
11567 # It is not useful on other systems. If it contains results you don't
11568 # want to keep, you may remove or edit it.
11570 # config.status only pays attention to the cache file if you give it
11571 # the --recheck option to rerun configure.
11573 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11574 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11575 # following values.
11579 # The following way of writing the cache mishandles newlines in values,
11580 # but we know of no workaround that is simple, portable, and efficient.
11581 # So, don't put newlines in cache variables' values.
11582 # Ultrix sh set writes to stderr and can't be redirected directly,
11583 # and sets the high bit in the cache file unless we assign to the vars.
11586 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11588 # `set' does not quote correctly, so add quotes (double-quote
11589 # substitution turns \\\\ into \\, and sed turns \\ into \).
11592 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11595 # `set' quotes correctly as required by POSIX, so do not add quotes.
11597 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11604 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11606 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11608 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11609 if test -w $cache_file; then
11610 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11611 cat confcache
>$cache_file
11613 echo "not updating unwritable cache $cache_file"
11618 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11619 # Let make expand exec_prefix.
11620 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11622 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11623 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11624 # trailing colons and then remove the whole line if VPATH becomes empty
11625 # (actually we leave an empty line to preserve line numbers).
11626 if test "x$srcdir" = x.
; then
11627 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
11628 s/:*\$(srcdir):*/:/;
11629 s/:*\${srcdir}:*/:/;
11631 s/^\([^=]*=[ ]*\):*/\1/;
11637 DEFS
=-DHAVE_CONFIG_H
11641 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11642 # 1. Remove the extension, and $U if already installed.
11643 ac_i
=`echo "$ac_i" |
11644 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11646 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
11647 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
11649 LIBOBJS
=$ac_libobjs
11651 LTLIBOBJS
=$ac_ltlibobjs
11654 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11655 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11656 Usually this means the macro was only invoked conditionally." >&5
11657 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11658 Usually this means the macro was only invoked conditionally." >&2;}
11659 { (exit 1); exit 1; }; }
11662 : ${CONFIG_STATUS=./config.status}
11663 ac_clean_files_save
=$ac_clean_files
11664 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11665 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11666 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11667 cat >$CONFIG_STATUS <<_ACEOF
11669 # Generated by $as_me.
11670 # Run this file to recreate the current configuration.
11671 # Compiler output produced by configure, useful for debugging
11672 # configure, is in config.log if it exists.
11675 ac_cs_recheck=false
11677 SHELL=\${CONFIG_SHELL-$SHELL}
11680 cat >>$CONFIG_STATUS <<\_ACEOF
11681 ## --------------------- ##
11682 ## M4sh Initialization. ##
11683 ## --------------------- ##
11685 # Be Bourne compatible
11686 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
11689 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11690 # is contrary to our usage. Disable this feature.
11691 alias -g '${1+"$@"}'='"$@"'
11692 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
11695 DUALCASE
=1; export DUALCASE
# for MKS sh
11697 # Support unset when possible.
11698 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
11705 # Work around bugs in pre-3.0 UWIN ksh.
11706 $as_unset ENV MAIL MAILPATH
11713 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11714 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11715 LC_TELEPHONE LC_TIME
11717 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11718 eval $as_var=C
; export $as_var
11724 # Required to use basename.
11725 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11731 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
11732 as_basename
=basename
11738 # Name of the executable.
11739 as_me
=`$as_basename "$0" ||
11740 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11741 X"$0" : 'X\(//\)$' \| \
11742 X"$0" : 'X\(/\)$' \| \
11743 . : '\(.\)' 2>/dev/null ||
11745 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11746 /^X\/\(\/\/\)$/{ s//\1/; q; }
11747 /^X\/\(\/\).*/{ s//\1/; q; }
11751 # PATH needs CR, and LINENO needs CR and PATH.
11752 # Avoid depending upon Character Ranges.
11753 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11754 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11755 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11756 as_cr_digits
='0123456789'
11757 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11759 # The user is always right.
11760 if test "${PATH_SEPARATOR+set}" != set; then
11761 echo "#! /bin/sh" >conf$$.sh
11762 echo "exit 0" >>conf$$.sh
11764 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11773 as_lineno_1
=$LINENO
11774 as_lineno_2
=$LINENO
11775 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
11776 test "x$as_lineno_1" != "x$as_lineno_2" &&
11777 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
11778 # Find who we are. Look in the path if we contain no path at all
11781 *[\\/]* ) as_myself
=$0 ;;
11782 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11783 for as_dir
in $PATH
11786 test -z "$as_dir" && as_dir
=.
11787 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
11792 # We did not find ourselves, most probably we were run as `sh COMMAND'
11793 # in which case we are not to be found in the path.
11794 if test "x$as_myself" = x
; then
11797 if test ! -f "$as_myself"; then
11798 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11799 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11800 { (exit 1); exit 1; }; }
11802 case $CONFIG_SHELL in
11804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11805 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
11808 test -z "$as_dir" && as_dir
=.
11809 for as_base
in sh bash ksh sh5
; do
11812 if ("$as_dir/$as_base" -c '
11813 as_lineno_1=$LINENO
11814 as_lineno_2=$LINENO
11815 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11816 test "x$as_lineno_1" != "x$as_lineno_2" &&
11817 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
11818 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
11819 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
11820 CONFIG_SHELL
=$as_dir/$as_base
11821 export CONFIG_SHELL
11822 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11830 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11831 # uniformly replaced by the line number. The first 'sed' inserts a
11832 # line-number line before each line; the second 'sed' does the real
11833 # work. The second script uses 'N' to pair each line-number line
11834 # with the numbered line, and appends trailing '-' during
11835 # substitution so that $LINENO is not a special case at line end.
11836 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11837 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11838 sed '=' <$as_myself |
11843 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11846 s,^['$as_cr_digits']*\n,,
11847 ' >$as_me.lineno
&&
11848 chmod +x
$as_me.lineno ||
11849 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11850 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11851 { (exit 1); exit 1; }; }
11853 # Don't try to exec as it changes $[0], causing all sort of problems
11854 # (the dirname of $[0] is not the place where we might find the
11855 # original and so on. Autoconf is especially sensible to this).
11857 # Exit status is that of the last command.
11862 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11863 *c
*,-n*) ECHO_N
= ECHO_C
='
11865 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
11866 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
11869 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11875 rm -f conf$$ conf$$.exe conf$$.
file
11877 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11878 # We could just check for DJGPP; but this test a) works b) is more generic
11879 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11880 if test -f conf$$.exe
; then
11881 # Don't use ln at all; we don't have any links
11886 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11891 rm -f conf$$ conf$$.exe conf$$.
file
11893 if mkdir
-p .
2>/dev
/null
; then
11896 test -d .
/-p && rmdir .
/-p
11900 as_executable_p
="test -f"
11902 # Sed expression to map a string onto a valid CPP name.
11903 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11905 # Sed expression to map a string onto a valid variable name.
11906 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11910 # We need space, tab and new line, in precisely that order.
11920 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11921 # report actual input values of CONFIG_FILES etc. instead of their
11922 # values after options handling. Logging --version etc. is OK.
11926 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11927 ## Running $as_me. ##
11932 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
11933 generated by GNU Autoconf 2.59. Invocation command line was
11935 CONFIG_FILES = $CONFIG_FILES
11936 CONFIG_HEADERS = $CONFIG_HEADERS
11937 CONFIG_LINKS = $CONFIG_LINKS
11938 CONFIG_COMMANDS = $CONFIG_COMMANDS
11942 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11946 # Files that config.status was made for.
11947 if test -n "$ac_config_files"; then
11948 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11951 if test -n "$ac_config_headers"; then
11952 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11955 if test -n "$ac_config_links"; then
11956 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11959 if test -n "$ac_config_commands"; then
11960 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11963 cat >>$CONFIG_STATUS <<\_ACEOF
11966 \`$as_me' instantiates files from templates according to the
11967 current configuration.
11969 Usage: $0 [OPTIONS] [FILE]...
11971 -h, --help print this help, then exit
11972 -V, --version print version number, then exit
11973 -q, --quiet do not print progress messages
11974 -d, --debug don't remove temporary files
11975 --recheck update $as_me by reconfiguring in the same conditions
11976 --file=FILE[:TEMPLATE]
11977 instantiate the configuration file FILE
11978 --header=FILE[:TEMPLATE]
11979 instantiate the configuration header FILE
11981 Configuration files:
11984 Configuration headers:
11987 Configuration commands:
11990 Report bugs to <bug-autoconf@gnu.org>."
11993 cat >>$CONFIG_STATUS <<_ACEOF
11995 GNU Fortran Runtime Library config.status 0.2
11996 configured by $0, generated by GNU Autoconf 2.59,
11997 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11999 Copyright (C) 2003 Free Software Foundation, Inc.
12000 This config.status script is free software; the Free Software Foundation
12001 gives unlimited permission to copy, distribute and modify it."
12006 cat >>$CONFIG_STATUS <<\_ACEOF
12007 # If no file are specified by the user, then we need to provide default
12008 # value. By we need to know if files were specified by the user.
12014 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
12015 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
12023 *) # This is not an option, so the user has probably given explicit
12026 ac_need_defaults
=false
;;
12030 # Handling of the options.
12032 cat >>$CONFIG_STATUS <<\_ACEOF
12033 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12035 --version |
--vers* |
-V )
12036 echo "$ac_cs_version"; exit 0 ;;
12038 # Conflict between --help and --header
12039 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12040 Try \`$0 --help' for more information." >&5
12041 echo "$as_me: error: ambiguous option: $1
12042 Try \`$0 --help' for more information." >&2;}
12043 { (exit 1); exit 1; }; };;
12044 --help |
--hel |
-h )
12045 echo "$ac_cs_usage"; exit 0 ;;
12046 --debug |
--d* |
-d )
12048 --file |
--fil |
--fi |
--f )
12050 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12051 ac_need_defaults
=false
;;
12052 --header |
--heade |
--head |
--hea )
12054 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12055 ac_need_defaults
=false
;;
12056 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12057 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12060 # This is an error.
12061 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12062 Try \`$0 --help' for more information." >&5
12063 echo "$as_me: error: unrecognized option: $1
12064 Try \`$0 --help' for more information." >&2;}
12065 { (exit 1); exit 1; }; } ;;
12067 *) ac_config_targets
="$ac_config_targets $1" ;;
12073 ac_configure_extra_args
=
12075 if $ac_cs_silent; then
12077 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12081 cat >>$CONFIG_STATUS <<_ACEOF
12082 if \$ac_cs_recheck; then
12083 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12084 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12089 cat >>$CONFIG_STATUS <<_ACEOF
12091 # INIT-COMMANDS section.
12098 with_multisubdir="$with_multisubdir"
12099 with_multisrctop="$with_multisrctop"
12100 with_target_subdir="$with_target_subdir"
12101 ac_configure_args="${multilib_arg} ${ac_configure_args}"
12102 multi_basedir="$multi_basedir"
12103 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
12110 cat >>$CONFIG_STATUS <<\_ACEOF
12111 for ac_config_target
in $ac_config_targets
12113 case "$ac_config_target" in
12114 # Handling of arguments.
12115 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12116 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
12117 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12118 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12119 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12120 { (exit 1); exit 1; }; };;
12124 # If the user did not use the arguments to specify the items to instantiate,
12125 # then the envvar interface is used. Set only those that are not.
12126 # We use the long form for the default assignment because of an extremely
12127 # bizarre bug on SunOS 4.1.3.
12128 if $ac_need_defaults; then
12129 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12130 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12131 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12134 # Have a temporary directory for convenience. Make it in the build tree
12135 # simply because there is no reason to put it here, and in addition,
12136 # creating and moving files from /tmp can sometimes cause problems.
12137 # Create a temporary directory, and hook for its removal unless debugging.
12140 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12141 trap '{ (exit 1); exit 1; }' 1 2 13 15
12144 # Create a (secure) tmp directory for tmp files.
12147 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12148 test -n "$tmp" && test -d "$tmp"
12151 tmp
=.
/confstat$$
-$RANDOM
12152 (umask 077 && mkdir
$tmp)
12155 echo "$me: cannot create a temporary directory in ." >&2
12156 { (exit 1); exit 1; }
12161 cat >>$CONFIG_STATUS <<_ACEOF
12164 # CONFIG_FILES section.
12167 # No need to generate the scripts if there are no CONFIG_FILES.
12168 # This happens for instance when ./config.status config.h
12169 if test -n "\$CONFIG_FILES"; then
12170 # Protect against being on the right side of a sed subst in config.status.
12171 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12172 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12173 s,@SHELL@,$SHELL,;t t
12174 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12175 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12176 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12177 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12178 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12179 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12180 s,@exec_prefix@,$exec_prefix,;t t
12181 s,@prefix@,$prefix,;t t
12182 s,@program_transform_name@,$program_transform_name,;t t
12183 s,@bindir@,$bindir,;t t
12184 s,@sbindir@,$sbindir,;t t
12185 s,@libexecdir@,$libexecdir,;t t
12186 s,@datadir@,$datadir,;t t
12187 s,@sysconfdir@,$sysconfdir,;t t
12188 s,@sharedstatedir@,$sharedstatedir,;t t
12189 s,@localstatedir@,$localstatedir,;t t
12190 s,@libdir@,$libdir,;t t
12191 s,@includedir@,$includedir,;t t
12192 s,@oldincludedir@,$oldincludedir,;t t
12193 s,@infodir@,$infodir,;t t
12194 s,@mandir@,$mandir,;t t
12195 s,@build_alias@,$build_alias,;t t
12196 s,@host_alias@,$host_alias,;t t
12197 s,@target_alias@,$target_alias,;t t
12198 s,@DEFS@,$DEFS,;t t
12199 s,@ECHO_C@,$ECHO_C,;t t
12200 s,@ECHO_N@,$ECHO_N,;t t
12201 s,@ECHO_T@,$ECHO_T,;t t
12202 s,@LIBS@,$LIBS,;t t
12203 s,@build@,$build,;t t
12204 s,@build_cpu@,$build_cpu,;t t
12205 s,@build_vendor@,$build_vendor,;t t
12206 s,@build_os@,$build_os,;t t
12207 s,@host@,$host,;t t
12208 s,@host_cpu@,$host_cpu,;t t
12209 s,@host_vendor@,$host_vendor,;t t
12210 s,@host_os@,$host_os,;t t
12211 s,@target@,$target,;t t
12212 s,@target_cpu@,$target_cpu,;t t
12213 s,@target_vendor@,$target_vendor,;t t
12214 s,@target_os@,$target_os,;t t
12215 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12216 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12217 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12218 s,@CYGPATH_W@,$CYGPATH_W,;t t
12219 s,@PACKAGE@,$PACKAGE,;t t
12220 s,@VERSION@,$VERSION,;t t
12221 s,@ACLOCAL@,$ACLOCAL,;t t
12222 s,@AUTOCONF@,$AUTOCONF,;t t
12223 s,@AUTOMAKE@,$AUTOMAKE,;t t
12224 s,@AUTOHEADER@,$AUTOHEADER,;t t
12225 s,@MAKEINFO@,$MAKEINFO,;t t
12226 s,@install_sh@,$install_sh,;t t
12227 s,@STRIP@,$STRIP,;t t
12228 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12229 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
12230 s,@mkdir_p@,$mkdir_p,;t t
12232 s,@SET_MAKE@,$SET_MAKE,;t t
12233 s,@am__leading_dot@,$am__leading_dot,;t t
12234 s,@AMTAR@,$AMTAR,;t t
12235 s,@am__tar@,$am__tar,;t t
12236 s,@am__untar@,$am__untar,;t t
12237 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12238 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12239 s,@MAINT@,$MAINT,;t t
12240 s,@multi_basedir@,$multi_basedir,;t t
12241 s,@gcc_version_trigger@,$gcc_version_trigger,;t t
12242 s,@gcc_version_full@,$gcc_version_full,;t t
12243 s,@gcc_version@,$gcc_version,;t t
12244 s,@toolexecdir@,$toolexecdir,;t t
12245 s,@toolexeclibdir@,$toolexeclibdir,;t t
12247 s,@ac_ct_CC@,$ac_ct_CC,;t t
12248 s,@EXEEXT@,$EXEEXT,;t t
12249 s,@OBJEXT@,$OBJEXT,;t t
12250 s,@CFLAGS@,$CFLAGS,;t t
12252 s,@ac_ct_AS@,$ac_ct_AS,;t t
12254 s,@ac_ct_AR@,$ac_ct_AR,;t t
12255 s,@RANLIB@,$RANLIB,;t t
12256 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12257 s,@LN_S@,$LN_S,;t t
12258 s,@LIBTOOL@,$LIBTOOL,;t t
12259 s,@enable_shared@,$enable_shared,;t t
12260 s,@enable_static@,$enable_static,;t t
12262 s,@FCFLAGS@,$FCFLAGS,;t t
12263 s,@LDFLAGS@,$LDFLAGS,;t t
12264 s,@ac_ct_FC@,$ac_ct_FC,;t t
12266 s,@CPPFLAGS@,$CPPFLAGS,;t t
12267 s,@EGREP@,$EGREP,;t t
12268 s,@MATH_OBJ@,$MATH_OBJ,;t t
12269 s,@LIBOBJS@,$LIBOBJS,;t t
12270 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12275 cat >>$CONFIG_STATUS <<\_ACEOF
12276 # Split the substitutions into bite-sized pieces for seds with
12277 # small command number limits, like on Digital OSF/1 and HP-UX.
12278 ac_max_sed_lines
=48
12279 ac_sed_frag
=1 # Number of current file.
12280 ac_beg
=1 # First line for current file.
12281 ac_end
=$ac_max_sed_lines # Line after last line for current file.
12284 while $ac_more_lines; do
12285 if test $ac_beg -gt 1; then
12286 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12288 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12290 if test ! -s $tmp/subs.frag
; then
12291 ac_more_lines
=false
12293 # The purpose of the label and of the branching condition is to
12294 # speed up the sed processing (if there are no `@' at all, there
12295 # is no need to browse any of the substitutions).
12296 # These are the two extra sed commands mentioned above.
12298 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
12299 if test -z "$ac_sed_cmds"; then
12300 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
12302 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12304 ac_sed_frag
=`expr $ac_sed_frag + 1`
12306 ac_end
=`expr $ac_end + $ac_max_sed_lines`
12309 if test -z "$ac_sed_cmds"; then
12312 fi # test -n "$CONFIG_FILES"
12315 cat >>$CONFIG_STATUS <<\_ACEOF
12316 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
12317 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12319 - |
*:- |
*:-:* ) # input from stdin
12321 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12322 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12323 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12324 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12325 * ) ac_file_in
=$ac_file.
in ;;
12328 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12329 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12330 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12331 X"$ac_file" : 'X\(//\)[^/]' \| \
12332 X"$ac_file" : 'X\(//\)$' \| \
12333 X"$ac_file" : 'X\(/\)' \| \
12334 . : '\(.\)' 2>/dev/null ||
12336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12337 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12338 /^X\(\/\/\)$/{ s//\1/; q; }
12339 /^X\(\/\).*/{ s//\1/; q; }
12341 { if $as_mkdir_p; then
12346 while test ! -d "$as_dir"; do
12347 as_dirs
="$as_dir $as_dirs"
12348 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12349 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12350 X"$as_dir" : 'X\(//\)[^/]' \| \
12351 X"$as_dir" : 'X\(//\)$' \| \
12352 X"$as_dir" : 'X\(/\)' \| \
12353 . : '\(.\)' 2>/dev/null ||
12355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12356 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12357 /^X\(\/\/\)$/{ s//\1/; q; }
12358 /^X\(\/\).*/{ s//\1/; q; }
12361 test ! -n "$as_dirs" || mkdir
$as_dirs
12362 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12363 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12364 { (exit 1); exit 1; }; }; }
12368 if test "$ac_dir" != .
; then
12369 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12370 # A "../" for each directory in $ac_dir_suffix.
12371 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12373 ac_dir_suffix
= ac_top_builddir
=
12377 .
) # No --srcdir option. We are building in place.
12379 if test -z "$ac_top_builddir"; then
12382 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12384 [\\/]* | ?
:[\\/]* ) # Absolute path.
12385 ac_srcdir
=$srcdir$ac_dir_suffix;
12386 ac_top_srcdir
=$srcdir ;;
12387 *) # Relative path.
12388 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12389 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12392 # Do not use `cd foo && pwd` to compute absolute paths, because
12393 # the directories may not exist.
12395 .
) ac_abs_builddir
="$ac_dir";;
12398 .
) ac_abs_builddir
=`pwd`;;
12399 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12400 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12403 case $ac_abs_builddir in
12404 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12406 case ${ac_top_builddir}.
in
12407 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12408 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12409 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12412 case $ac_abs_builddir in
12413 .
) ac_abs_srcdir
=$ac_srcdir;;
12416 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12417 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12418 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12421 case $ac_abs_builddir in
12422 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12424 case $ac_top_srcdir in
12425 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12426 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12427 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12433 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12434 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
12437 if test x
"$ac_file" != x-
; then
12438 { echo "$as_me:$LINENO: creating $ac_file" >&5
12439 echo "$as_me: creating $ac_file" >&6;}
12442 # Let's still pretend it is `configure' which instantiates (i.e., don't
12443 # use $as_me), people would be surprised to read:
12444 # /* config.h. Generated by config.status. */
12445 if test x
"$ac_file" = x-
; then
12448 configure_input
="$ac_file. "
12450 configure_input
=$configure_input"Generated from `echo $ac_file_in |
12451 sed 's,.*/,,'` by configure."
12453 # First look for the input files in the build tree, otherwise in the
12455 ac_file_inputs
=`IFS=:
12456 for f in $ac_file_in; do
12458 -) echo $tmp/stdin ;;
12460 # Absolute (can't be DOS-style, as IFS=:)
12461 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12462 echo "$as_me: error: cannot find input file: $f" >&2;}
12463 { (exit 1); exit 1; }; }
12466 if test -f "$f"; then
12469 elif test -f "$srcdir/$f"; then
12474 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12475 echo "$as_me: error: cannot find input file: $f" >&2;}
12476 { (exit 1); exit 1; }; }
12479 done` ||
{ (exit 1); exit 1; }
12481 cat >>$CONFIG_STATUS <<_ACEOF
12485 cat >>$CONFIG_STATUS <<\_ACEOF
12487 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12488 s
,@configure_input@
,$configure_input,;t t
12489 s
,@srcdir@
,$ac_srcdir,;t t
12490 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
12491 s
,@top_srcdir@
,$ac_top_srcdir,;t t
12492 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
12493 s
,@builddir@
,$ac_builddir,;t t
12494 s
,@abs_builddir@
,$ac_abs_builddir,;t t
12495 s
,@top_builddir@
,$ac_top_builddir,;t t
12496 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
12497 s
,@INSTALL@
,$ac_INSTALL,;t t
12498 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12500 if test x"$ac_file" != x-; then
12501 mv $tmp/out $ac_file
12509 cat >>$CONFIG_STATUS <<\_ACEOF
12512 # CONFIG_HEADER section.
12515 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
12516 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12518 # ac_d sets the value in "#define NAME VALUE" lines.
12519 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12520 ac_dB
='[ ].*$,\1#\2'
12523 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12524 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12525 ac_uB
='$,\1#\2define\3'
12529 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
12530 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12532 - |
*:- |
*:-:* ) # input from stdin
12534 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12535 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12536 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12537 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12538 * ) ac_file_in
=$ac_file.
in ;;
12541 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
12542 echo "$as_me: creating $ac_file" >&6;}
12544 # First look for the input files in the build tree, otherwise in the
12546 ac_file_inputs
=`IFS=:
12547 for f in $ac_file_in; do
12549 -) echo $tmp/stdin ;;
12551 # Absolute (can't be DOS-style, as IFS=:)
12552 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12553 echo "$as_me: error: cannot find input file: $f" >&2;}
12554 { (exit 1); exit 1; }; }
12555 # Do quote $f, to prevent DOS paths from being IFS'd.
12558 if test -f "$f"; then
12561 elif test -f "$srcdir/$f"; then
12566 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12567 echo "$as_me: error: cannot find input file: $f" >&2;}
12568 { (exit 1); exit 1; }; }
12571 done` ||
{ (exit 1); exit 1; }
12572 # Remove the trailing spaces.
12573 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12577 # Transform confdefs.h into two sed scripts, `conftest.defines' and
12578 # `conftest.undefs', that substitutes the proper values into
12579 # config.h.in to produce config.h. The first handles `#define'
12580 # templates, and the second `#undef' templates.
12581 # And first: Protect against being on the right side of a sed subst in
12582 # config.status. Protect against being in an unquoted here document
12583 # in config.status.
12584 rm -f conftest.defines conftest.undefs
12585 # Using a here document instead of a string reduces the quoting nightmare.
12586 # Putting comments in sed scripts is not portable.
12588 # `end' is used to avoid that the second main sed command (meant for
12589 # 0-ary CPP macros) applies to n-ary macro definitions.
12590 # See the Autoconf documentation for `clear'.
12591 cat >confdef2sed.
sed <<\_ACEOF
12596 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12598 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12601 # If some macros were called several times there might be several times
12602 # the same #defines, which is useless. Nevertheless, we may not want to
12603 # sort them, since we want the *last* AC-DEFINE to be honored.
12604 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12605 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12606 rm -f confdef2sed.sed
12608 # This sed command replaces #undef with comments. This is necessary, for
12609 # example, in the case of _POSIX_SOURCE, which is predefined and required
12610 # on some systems where configure will not decide to define it.
12611 cat >>conftest.undefs <<\_ACEOF
12612 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12615 # Break up conftest.defines because some shells have a limit on the size
12616 # of here documents, and old seds have small limits too (100 cmds).
12617 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12618 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12619 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12620 echo ' :' >>$CONFIG_STATUS
12621 rm -f conftest.tail
12622 while grep . conftest.defines >/dev/null
12624 # Write a limited-size here document to $tmp/defines.sed.
12625 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12626 # Speed up: don't consider the non `#define' lines.
12627 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12628 # Work around the forget-to-reset-the-flag bug.
12629 echo 't clr' >>$CONFIG_STATUS
12630 echo ': clr' >>$CONFIG_STATUS
12631 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
12633 sed -f $tmp/defines.sed $tmp/in >$tmp/out
12635 mv $tmp/out $tmp/in
12637 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
12638 rm -f conftest.defines
12639 mv conftest.
tail conftest.defines
12641 rm -f conftest.defines
12642 echo ' fi # grep' >>$CONFIG_STATUS
12643 echo >>$CONFIG_STATUS
12645 # Break up conftest.undefs because some shells have a limit on the size
12646 # of here documents, and old seds have small limits too (100 cmds).
12647 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12648 rm -f conftest.
tail
12649 while grep . conftest.undefs
>/dev
/null
12651 # Write a limited-size here document to $tmp/undefs.sed.
12652 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12653 # Speed up: don't consider the non
`#undef'
12654 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12655 # Work around the forget-to-reset-the-flag bug.
12656 echo 't clr' >>$CONFIG_STATUS
12657 echo ': clr' >>$CONFIG_STATUS
12658 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12660 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12662 mv $tmp/out $tmp/in
12664 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12665 rm -f conftest.undefs
12666 mv conftest.tail conftest.undefs
12668 rm -f conftest.undefs
12670 cat >>$CONFIG_STATUS <<\_ACEOF
12671 # Let's still pretend it is `configure
' which instantiates (i.e., don't
12672 # use $as_me), people would be surprised to read:
12673 # /* config.h. Generated by config.status. */
12674 if test x
"$ac_file" = x-
; then
12675 echo "/* Generated by configure. */" >$tmp/config.h
12677 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12679 cat $tmp/in >>$tmp/config.h
12681 if test x
"$ac_file" != x-
; then
12682 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
12683 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12684 echo "$as_me: $ac_file is unchanged" >&6;}
12686 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12687 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12688 X"$ac_file" : 'X\(//\)[^/]' \| \
12689 X"$ac_file" : 'X\(//\)$' \| \
12690 X"$ac_file" : 'X\(/\)' \| \
12691 . : '\(.\)' 2>/dev/null ||
12693 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12694 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12695 /^X\(\/\/\)$/{ s//\1/; q; }
12696 /^X\(\/\).*/{ s//\1/; q; }
12698 { if $as_mkdir_p; then
12703 while test ! -d "$as_dir"; do
12704 as_dirs
="$as_dir $as_dirs"
12705 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12706 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12707 X"$as_dir" : 'X\(//\)[^/]' \| \
12708 X"$as_dir" : 'X\(//\)$' \| \
12709 X"$as_dir" : 'X\(/\)' \| \
12710 . : '\(.\)' 2>/dev/null ||
12712 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12713 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12714 /^X\(\/\/\)$/{ s//\1/; q; }
12715 /^X\(\/\).*/{ s//\1/; q; }
12718 test ! -n "$as_dirs" || mkdir
$as_dirs
12719 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12720 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12721 { (exit 1); exit 1; }; }; }
12724 mv $tmp/config.h
$ac_file
12728 rm -f $tmp/config.h
12730 # Compute $ac_file's index in $config_headers.
12732 for _am_header
in $config_headers :; do
12733 case $_am_header in
12734 $ac_file |
$ac_file:* )
12737 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
12740 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
12741 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12742 X$ac_file : 'X\(//\)[^/]' \| \
12743 X$ac_file : 'X\(//\)$' \| \
12744 X$ac_file : 'X\(/\)' \| \
12745 . : '\(.\)' 2>/dev/null ||
12747 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12748 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12749 /^X\(\/\/\)$/{ s//\1/; q; }
12750 /^X\(\/\).*/{ s//\1/; q; }
12751 s/.*/./; q'`/stamp-h
$_am_stamp_count
12754 cat >>$CONFIG_STATUS <<\_ACEOF
12757 # CONFIG_COMMANDS section.
12759 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
12760 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
12761 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12762 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
12763 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12764 X"$ac_dest" : 'X\(//\)[^/]' \| \
12765 X"$ac_dest" : 'X\(//\)$' \| \
12766 X"$ac_dest" : 'X\(/\)' \| \
12767 . : '\(.\)' 2>/dev/null ||
12769 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12770 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12771 /^X\(\/\/\)$/{ s//\1/; q; }
12772 /^X\(\/\).*/{ s//\1/; q; }
12774 { if $as_mkdir_p; then
12779 while test ! -d "$as_dir"; do
12780 as_dirs
="$as_dir $as_dirs"
12781 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12782 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12783 X"$as_dir" : 'X\(//\)[^/]' \| \
12784 X"$as_dir" : 'X\(//\)$' \| \
12785 X"$as_dir" : 'X\(/\)' \| \
12786 . : '\(.\)' 2>/dev/null ||
12788 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12789 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12790 /^X\(\/\/\)$/{ s//\1/; q; }
12791 /^X\(\/\).*/{ s//\1/; q; }
12794 test ! -n "$as_dirs" || mkdir
$as_dirs
12795 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12796 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12797 { (exit 1); exit 1; }; }; }
12801 if test "$ac_dir" != .
; then
12802 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12803 # A "../" for each directory in $ac_dir_suffix.
12804 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12806 ac_dir_suffix
= ac_top_builddir
=
12810 .
) # No --srcdir option. We are building in place.
12812 if test -z "$ac_top_builddir"; then
12815 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12817 [\\/]* | ?
:[\\/]* ) # Absolute path.
12818 ac_srcdir
=$srcdir$ac_dir_suffix;
12819 ac_top_srcdir
=$srcdir ;;
12820 *) # Relative path.
12821 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12822 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12825 # Do not use `cd foo && pwd` to compute absolute paths, because
12826 # the directories may not exist.
12828 .
) ac_abs_builddir
="$ac_dir";;
12831 .
) ac_abs_builddir
=`pwd`;;
12832 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12833 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12836 case $ac_abs_builddir in
12837 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12839 case ${ac_top_builddir}.
in
12840 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12841 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12842 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12845 case $ac_abs_builddir in
12846 .
) ac_abs_srcdir
=$ac_srcdir;;
12849 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12850 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12851 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12854 case $ac_abs_builddir in
12855 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12857 case $ac_top_srcdir in
12858 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12859 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12860 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12865 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12866 echo "$as_me: executing $ac_dest commands" >&6;}
12869 # Only add multilib support code if we just rebuilt the top-level
12871 case " $CONFIG_FILES " in
12873 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
12880 cat >>$CONFIG_STATUS <<\_ACEOF
12882 { (exit 0); exit 0; }
12884 chmod +x
$CONFIG_STATUS
12885 ac_clean_files
=$ac_clean_files_save
12888 # configure is writing to config.log, and then calls config.status.
12889 # config.status does its own redirection, appending to config.log.
12890 # Unfortunately, on DOS this fails, as config.log is still kept open
12891 # by configure, so config.status won't be able to write to it; its
12892 # output is simply discarded. So we exec the FD to /dev/null,
12893 # effectively closing config.log, so it can be properly (re)opened and
12894 # appended to by config.status. When coming back to configure, we
12895 # need to make the FD available again.
12896 if test "$no_create" != yes; then
12898 ac_config_status_args
=
12899 test "$silent" = yes &&
12900 ac_config_status_args
="$ac_config_status_args --quiet"
12902 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
12904 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12905 # would make configure fail if this is the last instruction.
12906 $ac_cs_success ||
{ (exit 1); exit 1; }