2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.2.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME
='GNU Fortran Runtime Library'
269 PACKAGE_TARNAME
='libgfortran'
270 PACKAGE_VERSION
='0.2'
271 PACKAGE_STRING
='GNU Fortran Runtime Library 0.2'
274 # Factoring default headers for most tests.
275 ac_includes_default
="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT AM_FCFLAGS AM_CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran CPP CPPFLAGS EGREP MATH_OBJ LIBOBJS LTLIBOBJS'
314 # Initialize some variables set by options.
316 ac_init_version
=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name
=s
,x
,x
,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir
='${exec_prefix}/bin'
340 sbindir
='${exec_prefix}/sbin'
341 libexecdir
='${exec_prefix}/libexec'
342 datadir
='${prefix}/share'
343 sysconfdir
='${prefix}/etc'
344 sharedstatedir
='${prefix}/com'
345 localstatedir
='${prefix}/var'
346 libdir
='${exec_prefix}/lib'
347 includedir
='${prefix}/include'
348 oldincludedir
='/usr/include'
349 infodir
='${prefix}/info'
350 mandir
='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
370 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
373 -build |
--build |
--buil |
--bui |
--bu)
374 ac_prev
=build_alias
;;
375 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
376 build_alias
=$ac_optarg ;;
378 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
379 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
380 ac_prev
=cache_file
;;
381 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
382 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
383 cache_file
=$ac_optarg ;;
386 cache_file
=config.cache
;;
388 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
390 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
392 datadir
=$ac_optarg ;;
394 -disable-* |
--disable-*)
395 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* |
--enable-*)
404 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
417 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
418 |
--exec |
--exe |
--ex)
419 ac_prev
=exec_prefix
;;
420 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
421 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
422 |
--exec=* |
--exe=* |
--ex=*)
423 exec_prefix
=$ac_optarg ;;
425 -gas |
--gas |
--ga |
--g)
426 # Obsolete; use --with-gas.
429 -help |
--help |
--hel |
--he |
-h)
431 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
432 ac_init_help
=recursive
;;
433 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
434 ac_init_help
=short
;;
436 -host |
--host |
--hos |
--ho)
437 ac_prev
=host_alias
;;
438 -host=* |
--host=* |
--hos=* |
--ho=*)
439 host_alias
=$ac_optarg ;;
441 -includedir |
--includedir |
--includedi |
--included |
--include \
442 |
--includ |
--inclu |
--incl |
--inc)
443 ac_prev
=includedir
;;
444 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
445 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
446 includedir
=$ac_optarg ;;
448 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
450 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
451 infodir
=$ac_optarg ;;
453 -libdir |
--libdir |
--libdi |
--libd)
455 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
458 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
459 |
--libexe |
--libex |
--libe)
460 ac_prev
=libexecdir
;;
461 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
462 |
--libexe=* |
--libex=* |
--libe=*)
463 libexecdir
=$ac_optarg ;;
465 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
466 |
--localstate |
--localstat |
--localsta |
--localst \
467 |
--locals |
--local |
--loca |
--loc |
--lo)
468 ac_prev
=localstatedir
;;
469 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
470 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
471 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
472 localstatedir
=$ac_optarg ;;
474 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
476 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
480 # Obsolete; use --without-fp.
483 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
484 |
--no-cr |
--no-c |
-n)
487 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
488 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
491 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
492 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
493 |
--oldin |
--oldi |
--old |
--ol |
--o)
494 ac_prev
=oldincludedir
;;
495 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
496 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
497 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
498 oldincludedir
=$ac_optarg ;;
500 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
502 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
505 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
506 |
--program-pre |
--program-pr |
--program-p)
507 ac_prev
=program_prefix
;;
508 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
509 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
510 program_prefix
=$ac_optarg ;;
512 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
513 |
--program-suf |
--program-su |
--program-s)
514 ac_prev
=program_suffix
;;
515 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
516 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
517 program_suffix
=$ac_optarg ;;
519 -program-transform-name |
--program-transform-name \
520 |
--program-transform-nam |
--program-transform-na \
521 |
--program-transform-n |
--program-transform- \
522 |
--program-transform |
--program-transfor \
523 |
--program-transfo |
--program-transf \
524 |
--program-trans |
--program-tran \
525 |
--progr-tra |
--program-tr |
--program-t)
526 ac_prev
=program_transform_name
;;
527 -program-transform-name=* |
--program-transform-name=* \
528 |
--program-transform-nam=* |
--program-transform-na=* \
529 |
--program-transform-n=* |
--program-transform-=* \
530 |
--program-transform=* |
--program-transfor=* \
531 |
--program-transfo=* |
--program-transf=* \
532 |
--program-trans=* |
--program-tran=* \
533 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
534 program_transform_name
=$ac_optarg ;;
536 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
537 |
-silent |
--silent |
--silen |
--sile |
--sil)
540 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
542 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
544 sbindir
=$ac_optarg ;;
546 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
547 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
548 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
550 ac_prev
=sharedstatedir
;;
551 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
552 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
553 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
555 sharedstatedir
=$ac_optarg ;;
557 -site |
--site |
--sit)
559 -site=* |
--site=* |
--sit=*)
562 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
564 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
567 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
568 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
569 ac_prev
=sysconfdir
;;
570 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
571 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
572 sysconfdir
=$ac_optarg ;;
574 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
575 ac_prev
=target_alias
;;
576 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
577 target_alias
=$ac_optarg ;;
579 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
582 -version |
--version |
--versio |
--versi |
--vers |
-V)
586 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package
=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* |
--without-*)
599 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package
=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
612 |
--x-incl |
--x-inc |
--x-in |
--x-i)
613 ac_prev
=x_includes
;;
614 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
615 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
616 x_includes
=$ac_optarg ;;
618 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
619 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
620 ac_prev
=x_libraries
;;
621 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
622 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
623 x_libraries
=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var
in exec_prefix prefix
660 eval ac_val
=$
`echo $ac_var`
662 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val
=$
`echo $ac_var`
674 [\\/$
]* | ?
:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x
; then
689 if test "x$build_alias" = x
; then
690 cross_compiling
=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
701 test "$silent" = yes && exec 6>/dev
/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted
=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir
=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted
=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set
=${build_alias+set}
741 ac_env_build_alias_value
=$build_alias
742 ac_cv_env_build_alias_set
=${build_alias+set}
743 ac_cv_env_build_alias_value
=$build_alias
744 ac_env_host_alias_set
=${host_alias+set}
745 ac_env_host_alias_value
=$host_alias
746 ac_cv_env_host_alias_set
=${host_alias+set}
747 ac_cv_env_host_alias_value
=$host_alias
748 ac_env_target_alias_set
=${target_alias+set}
749 ac_env_target_alias_value
=$target_alias
750 ac_cv_env_target_alias_set
=${target_alias+set}
751 ac_cv_env_target_alias_value
=$target_alias
752 ac_env_FC_set
=${FC+set}
754 ac_cv_env_FC_set
=${FC+set}
755 ac_cv_env_FC_value
=$FC
756 ac_env_FCFLAGS_set
=${FCFLAGS+set}
757 ac_env_FCFLAGS_value
=$FCFLAGS
758 ac_cv_env_FCFLAGS_set
=${FCFLAGS+set}
759 ac_cv_env_FCFLAGS_value
=$FCFLAGS
760 ac_env_LDFLAGS_set
=${LDFLAGS+set}
761 ac_env_LDFLAGS_value
=$LDFLAGS
762 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value
=$LDFLAGS
764 ac_env_CPP_set
=${CPP+set}
765 ac_env_CPP_value
=$CPP
766 ac_cv_env_CPP_set
=${CPP+set}
767 ac_cv_env_CPP_value
=$CPP
768 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
774 # Report the --help message.
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
780 \`configure' configures GNU Fortran Runtime Library 0.2 to adapt to many kinds of systems.
782 Usage: $0 [OPTION]... [VAR=VALUE]...
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
787 Defaults for the options are specified in brackets.
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
814 For better control, use the options below.
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
834 --program-prefix=PREFIX prepend PREFIX to installed program names
835 --program-suffix=SUFFIX append SUFFIX to installed program names
836 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
839 --build=BUILD configure
for building on BUILD
[guessed
]
840 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
841 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
845 if test -n "$ac_init_help"; then
846 case $ac_init_help in
847 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.2:";;
852 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
853 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
854 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
855 --enable-maintainer-mode enable make rules and dependencies not useful
856 (and sometimes confusing
) to the casual installer
857 --enable-multilib build many library versions
(default
)
858 --enable-shared=PKGS build shared libraries default
=yes
859 --enable-static=PKGS build static libraries default
=yes
860 --enable-fast-install=PKGS optimize
for fast installation default
=yes
861 --disable-libtool-lock avoid locking
(might
break parallel builds
)
862 --disable-largefile omit support
for large files
863 --enable-cmath Include complex math functions
866 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
867 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
868 --with-gnu-ld assume the C compiler uses GNU ld default
=no
869 --with-pic try to use only PIC
/non-PIC objects default
=use both
871 Some influential environment variables
:
872 CC C compiler
command
873 CFLAGS C compiler flags
874 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
875 nonstandard directory
<lib dir
>
876 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
877 headers
in a nonstandard directory
<include dir
>
878 FC Fortran compiler
command
879 FCFLAGS Fortran compiler flags
882 Use these variables to override the choices made by
`configure' or to help
883 it to find libraries and programs with nonstandard names/locations.
888 if test "$ac_init_help" = "recursive"; then
889 # If there are subdirs, report their specific --help.
891 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
892 test -d $ac_dir || continue
895 if test "$ac_dir" != .; then
896 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
897 # A "../" for each directory in $ac_dir_suffix.
898 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
900 ac_dir_suffix= ac_top_builddir=
904 .) # No --srcdir option. We are building in place.
906 if test -z "$ac_top_builddir"; then
909 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
911 [\\/]* | ?:[\\/]* ) # Absolute path.
912 ac_srcdir=$srcdir$ac_dir_suffix;
913 ac_top_srcdir=$srcdir ;;
915 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
916 ac_top_srcdir=$ac_top_builddir$srcdir ;;
919 # Do not use `cd foo
&& pwd` to compute absolute paths, because
920 # the directories may not exist.
922 .) ac_abs_builddir="$ac_dir";;
925 .) ac_abs_builddir=`pwd`;;
926 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
927 *) ac_abs_builddir=`pwd`/"$ac_dir";;
930 case $ac_abs_builddir in
931 .) ac_abs_top_builddir=${ac_top_builddir}.;;
933 case ${ac_top_builddir}. in
934 .) ac_abs_top_builddir=$ac_abs_builddir;;
935 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
936 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
939 case $ac_abs_builddir in
940 .) ac_abs_srcdir=$ac_srcdir;;
943 .) ac_abs_srcdir=$ac_abs_builddir;;
944 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
945 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
948 case $ac_abs_builddir in
949 .) ac_abs_top_srcdir=$ac_top_srcdir;;
951 case $ac_top_srcdir in
952 .) ac_abs_top_srcdir=$ac_abs_builddir;;
953 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
954 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
959 # Check for guested configure; otherwise get Cygnus style configure.
960 if test -f $ac_srcdir/configure.gnu; then
962 $SHELL $ac_srcdir/configure.gnu --help=recursive
963 elif test -f $ac_srcdir/configure; then
965 $SHELL $ac_srcdir/configure --help=recursive
966 elif test -f $ac_srcdir/configure.ac ||
967 test -f $ac_srcdir/configure.in; then
971 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
977 test -n "$ac_init_help" && exit 0
978 if $ac_init_version; then
980 GNU Fortran Runtime Library configure 0.2
981 generated by GNU Autoconf 2.59
983 Copyright (C) 2003 Free Software Foundation, Inc.
984 This configure script is free software; the Free Software Foundation
985 gives unlimited permission to copy, distribute and modify it.
991 This file contains any messages produced by compilers while
992 running configure, to aid debugging if configure makes a mistake.
994 It was created by GNU Fortran Runtime Library $as_me 0.2, which was
995 generated by GNU Autoconf 2.59. Invocation command line was
1006 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1007 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1008 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1009 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1010 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1012 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1013 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1015 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1016 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1017 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1018 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1019 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1020 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1021 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1029 test -z "$as_dir" && as_dir=.
1030 echo "PATH: $as_dir"
1045 # Keep a trace of the command line.
1046 # Strip out --no-create and --no-recursion so they do not pile up.
1047 # Strip out --silent because we don't want to record it for future runs.
1048 # Also quote any args containing shell meta-characters.
1049 # Make two passes to allow for proper duplicate-argument suppression.
1054 ac_must_keep_next=false
1060 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1064 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1065 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1068 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1070 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1071 if test $ac_must_keep_next = true; then
1072 ac_must_keep_next=false # Got value, back to normal.
1075 *=* | --config-cache | -C | -disable-* | --disable-* \
1076 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1077 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1078 | -with-* | --with-* | -without-* | --without-* | --x)
1079 case "$ac_configure_args0 " in
1080 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1083 -* ) ac_must_keep_next=true ;;
1086 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1087 # Get rid of the leading space.
1093 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1094 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1096 # When interrupted or exit'd, cleanup temporary files, and complete
1097 # config.log. We remove comments because anyway the quotes in there
1098 # would cause problems or look ugly.
1099 # WARNING: Be sure not to use single quotes in there, as some shells,
1100 # such as our DU 5.0 friend, will then `close
' the trap.
1101 trap 'exit_status
=$?
1102 # Save into config.log some information that might help in debugging.
1107 ## ---------------- ##
1108 ## Cache variables. ##
1109 ## ---------------- ##
1112 # The following way of writing the cache mishandles newlines in values,
1115 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1118 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1123 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1130 ## ----------------- ##
1131 ## Output variables. ##
1132 ## ----------------- ##
1135 for ac_var
in $ac_subst_vars
1137 eval ac_val
=$
`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1142 if test -n "$ac_subst_files"; then
1149 for ac_var
in $ac_subst_files
1151 eval ac_val
=$
`echo $ac_var`
1152 echo "$ac_var='"'"'$ac_val'"'"'"
1157 if test -s confdefs.h
; then
1164 sed "/^$/d" confdefs.h |
sort
1167 test "$ac_signal" != 0 &&
1168 echo "$as_me: caught signal $ac_signal"
1169 echo "$as_me: exit $exit_status"
1171 rm -f core
*.core
&&
1172 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1175 for ac_signal in 1 2 13 15; do
1176 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1180 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1181 rm -rf conftest* confdefs.h
1182 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1185 # Predefined preprocessor variables.
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_NAME "$PACKAGE_NAME"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_STRING "$PACKAGE_STRING"
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1212 # Let the site file select an alternate cache file if it wants to.
1213 # Prefer explicitly selected file to automatically selected ones.
1214 if test -z "$CONFIG_SITE"; then
1215 if test "x$prefix" != xNONE; then
1216 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1218 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1221 for ac_site_file in $CONFIG_SITE; do
1222 if test -r "$ac_site_file"; then
1223 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1224 echo "$as_me: loading site script $ac_site_file" >&6;}
1225 sed 's
/^
/|
/' "$ac_site_file" >&5
1230 if test -r "$cache_file"; then
1231 # Some versions of bash will fail to source /dev/null (special
1232 # files actually), so we avoid doing that.
1233 if test -f "$cache_file"; then
1234 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1235 echo "$as_me: loading cache $cache_file" >&6;}
1237 [\\/]* | ?:[\\/]* ) . $cache_file;;
1238 *) . ./$cache_file;;
1242 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1243 echo "$as_me: creating cache $cache_file" >&6;}
1247 # Check that the precious variables saved in the cache have kept the same
1249 ac_cache_corrupted=false
1250 for ac_var in `(set) 2>&1 |
1251 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1252 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1253 eval ac_new_set=\$ac_env_${ac_var}_set
1254 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1255 eval ac_new_val="\$ac_env_${ac_var}_value"
1256 case $ac_old_set,$ac_new_set in
1258 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1260 ac_cache_corrupted=: ;;
1262 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1263 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1264 ac_cache_corrupted=: ;;
1267 if test "x$ac_old_val" != "x$ac_new_val"; then
1268 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1269 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1270 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1271 echo "$as_me: former value: $ac_old_val" >&2;}
1272 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1273 echo "$as_me: current value: $ac_new_val" >&2;}
1274 ac_cache_corrupted=:
1277 # Pass precious variables to config.status.
1278 if test "$ac_new_set" = set; then
1280 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1282 *) ac_arg=$ac_var=$ac_new_val ;;
1284 case " $ac_configure_args " in
1285 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1286 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1290 if $ac_cache_corrupted; then
1291 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1292 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1293 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1294 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1295 { (exit 1); exit 1; }; }
1299 ac_cpp='$CPP $CPPFLAGS'
1300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1301 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1330 ac_config_headers="$ac_config_headers config.h"
1337 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1338 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1339 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1340 if test "${enable_version_specific_runtime_libs+set}" = set; then
1341 enableval="$enable_version_specific_runtime_libs"
1342 case "$enableval" in
1343 yes) version_specific_libs=yes ;;
1344 no) version_specific_libs=no ;;
1345 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1346 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1347 { (exit 1); exit 1; }; };;
1350 version_specific_libs=no
1352 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1353 echo "${ECHO_T}$version_specific_libs" >&6
1356 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1358 # You will slowly go insane if you do not grok the following fact: when
1359 # building this library, the top-level /target/ becomes the library's
/host
/.
1361 # configure then causes --target to default to --host, exactly like any
1362 # other package using autoconf. Therefore, 'target' and 'host' will
1363 # always be the same. This makes sense both for native and cross compilers
1364 # just think about it for a little while. :-)
1366 # Also, if this library is being configured as part of a cross compiler, the
1367 # top-level configure script will pass the "real" host as $with_cross_host.
1369 # Do not delete or change the following two lines. For why, see
1370 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1372 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1373 if test -f $ac_dir/install-sh
; then
1375 ac_install_sh
="$ac_aux_dir/install-sh -c"
1377 elif test -f $ac_dir/install.sh
; then
1379 ac_install_sh
="$ac_aux_dir/install.sh -c"
1381 elif test -f $ac_dir/shtool
; then
1383 ac_install_sh
="$ac_aux_dir/shtool install -c"
1387 if test -z "$ac_aux_dir"; then
1388 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1389 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1390 { (exit 1); exit 1; }; }
1392 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1393 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1394 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1396 # Make sure we can run config.sub.
1397 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1398 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1399 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1400 { (exit 1); exit 1; }; }
1402 echo "$as_me:$LINENO: checking build system type" >&5
1403 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1404 if test "${ac_cv_build+set}" = set; then
1405 echo $ECHO_N "(cached) $ECHO_C" >&6
1407 ac_cv_build_alias
=$build_alias
1408 test -z "$ac_cv_build_alias" &&
1409 ac_cv_build_alias
=`$ac_config_guess`
1410 test -z "$ac_cv_build_alias" &&
1411 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1412 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1413 { (exit 1); exit 1; }; }
1414 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1415 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1416 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1417 { (exit 1); exit 1; }; }
1420 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1421 echo "${ECHO_T}$ac_cv_build" >&6
1423 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1424 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1425 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1428 echo "$as_me:$LINENO: checking host system type" >&5
1429 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1430 if test "${ac_cv_host+set}" = set; then
1431 echo $ECHO_N "(cached) $ECHO_C" >&6
1433 ac_cv_host_alias
=$host_alias
1434 test -z "$ac_cv_host_alias" &&
1435 ac_cv_host_alias
=$ac_cv_build_alias
1436 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1437 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1438 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1439 { (exit 1); exit 1; }; }
1442 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1443 echo "${ECHO_T}$ac_cv_host" >&6
1445 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1446 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1447 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1450 echo "$as_me:$LINENO: checking target system type" >&5
1451 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1452 if test "${ac_cv_target+set}" = set; then
1453 echo $ECHO_N "(cached) $ECHO_C" >&6
1455 ac_cv_target_alias
=$target_alias
1456 test "x$ac_cv_target_alias" = "x" &&
1457 ac_cv_target_alias
=$ac_cv_host_alias
1458 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1459 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1460 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1461 { (exit 1); exit 1; }; }
1464 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1465 echo "${ECHO_T}$ac_cv_target" >&6
1466 target
=$ac_cv_target
1467 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1468 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1469 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1472 # The aliases save the names the user supplied, while $host etc.
1473 # will get canonicalized.
1474 test -n "$target_alias" &&
1475 test "$program_prefix$program_suffix$program_transform_name" = \
1477 program_prefix
=${target_alias}-
1478 target_alias
=${target_alias-$host_alias}
1480 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1481 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1482 # 1.8.2: minimum required version
1483 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1484 # of other PACKAGE_* variables will, however, and there's nothing
1485 # we can do about that; they come from AC_INIT).
1486 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1487 # file in the top srcdir, etc, etc), so stop complaining.
1488 # no-dependencies: turns off auto dependency generation (just for now)
1489 # -Wall: turns on all automake warnings...
1490 # -Wno-portability: ...except this one, since GNU make is required.
1491 am__api_version
="1.9"
1492 # Find a good install program. We prefer a C program (faster),
1493 # so one script is as good as another. But avoid the broken or
1494 # incompatible versions:
1495 # SysV /etc/install, /usr/sbin/install
1496 # SunOS /usr/etc/install
1497 # IRIX /sbin/install
1499 # AmigaOS /C/install, which installs bootblocks on floppy discs
1500 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1501 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1502 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1503 # OS/2's system install, which has a completely different semantic
1504 # ./install, which can be erroneously created by make from ./install.sh.
1505 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1506 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1507 if test -z "$INSTALL"; then
1508 if test "${ac_cv_path_install+set}" = set; then
1509 echo $ECHO_N "(cached) $ECHO_C" >&6
1511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1515 test -z "$as_dir" && as_dir
=.
1516 # Account for people who put trailing slashes in PATH elements.
1518 .
/ | .
// |
/cC
/* | \
1519 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1520 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1523 # OSF1 and SCO ODT 3.0 have their own names for install.
1524 # Don't use installbsd from OSF since it installs stuff as root
1526 for ac_prog
in ginstall scoinst
install; do
1527 for ac_exec_ext
in '' $ac_executable_extensions; do
1528 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1529 if test $ac_prog = install &&
1530 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1531 # AIX install. It has an incompatible calling convention.
1533 elif test $ac_prog = install &&
1534 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1535 # program-specific install script used by HP pwplus--don't use.
1538 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1550 if test "${ac_cv_path_install+set}" = set; then
1551 INSTALL
=$ac_cv_path_install
1553 # As a last resort, use the slow shell script. We don't cache a
1554 # path for INSTALL within a source directory, because that will
1555 # break other packages using the cache if that directory is
1556 # removed, or if the path is relative.
1557 INSTALL
=$ac_install_sh
1560 echo "$as_me:$LINENO: result: $INSTALL" >&5
1561 echo "${ECHO_T}$INSTALL" >&6
1563 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1564 # It thinks the first close brace ends the variable substitution.
1565 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1567 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1569 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1571 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1572 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1575 echo timestamp
> conftest.
file
1576 # Do `set' in a subshell so we don't clobber the current shell's
1577 # arguments. Must try -L first in case configure is actually a
1578 # symlink; some systems play weird games with the mod time of symlinks
1579 # (eg FreeBSD returns the mod time of the symlink's containing
1582 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1583 if test "$*" = "X"; then
1585 set X
`ls -t $srcdir/configure conftest.file`
1588 if test "$*" != "X $srcdir/configure conftest.file" \
1589 && test "$*" != "X conftest.file $srcdir/configure"; then
1591 # If neither matched, then we have a broken ls. This can happen
1592 # if, for instance, CONFIG_SHELL is bash and it inherits a
1593 # broken ls alias from the environment. This has actually
1594 # happened. Such a system could not be considered "sane".
1595 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1596 alias in your environment" >&5
1597 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1598 alias in your environment" >&2;}
1599 { (exit 1); exit 1; }; }
1602 test "$2" = conftest.
file
1608 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1609 Check your system clock" >&5
1610 echo "$as_me: error: newly created file is older than distributed files!
1611 Check your system clock" >&2;}
1612 { (exit 1); exit 1; }; }
1614 echo "$as_me:$LINENO: result: yes" >&5
1615 echo "${ECHO_T}yes" >&6
1616 test "$program_prefix" != NONE
&&
1617 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1618 # Use a double $ so make ignores it.
1619 test "$program_suffix" != NONE
&&
1620 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1621 # Double any \ or $. echo might interpret backslashes.
1622 # By default was `s,x,x', remove it if useless.
1623 cat <<\_ACEOF
>conftest.
sed
1624 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1626 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1629 # expand $ac_aux_dir to an absolute path
1630 am_aux_dir
=`cd $ac_aux_dir && pwd`
1632 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1633 # Use eval to expand $SHELL
1634 if eval "$MISSING --run true"; then
1635 am_missing_run
="$MISSING --run "
1638 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1639 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1642 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1643 # We used to keeping the `.' as first argument, in order to
1644 # allow $(mkdir_p) to be used without argument. As in
1645 # $(mkdir_p) $(somedir)
1646 # where $(somedir) is conditionally defined. However this is wrong
1648 # 1. if the package is installed by a user who cannot write `.'
1649 # make install will fail,
1650 # 2. the above comment should most certainly read
1651 # $(mkdir_p) $(DESTDIR)$(somedir)
1652 # so it does not work when $(somedir) is undefined and
1653 # $(DESTDIR) is not.
1654 # To support the latter case, we have to write
1655 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1656 # so the `.' trick is pointless.
1657 mkdir_p
='mkdir -p --'
1659 # On NextStep and OpenStep, the `mkdir' command does not
1660 # recognize any option. It will interpret all options as
1661 # directories to create, and then abort because `.' already
1663 for d
in .
/-p .
/--version;
1665 test -d $d && rmdir $d
1667 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1668 if test -f "$ac_aux_dir/mkinstalldirs"; then
1669 mkdir_p
='$(mkinstalldirs)'
1671 mkdir_p
='$(install_sh) -d'
1675 for ac_prog
in gawk mawk nawk
awk
1677 # Extract the first word of "$ac_prog", so it can be a program name with args.
1678 set dummy
$ac_prog; ac_word
=$2
1679 echo "$as_me:$LINENO: checking for $ac_word" >&5
1680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1681 if test "${ac_cv_prog_AWK+set}" = set; then
1682 echo $ECHO_N "(cached) $ECHO_C" >&6
1684 if test -n "$AWK"; then
1685 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1691 test -z "$as_dir" && as_dir
=.
1692 for ac_exec_ext
in '' $ac_executable_extensions; do
1693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1694 ac_cv_prog_AWK
="$ac_prog"
1695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1704 if test -n "$AWK"; then
1705 echo "$as_me:$LINENO: result: $AWK" >&5
1706 echo "${ECHO_T}$AWK" >&6
1708 echo "$as_me:$LINENO: result: no" >&5
1709 echo "${ECHO_T}no" >&6
1712 test -n "$AWK" && break
1715 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1716 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1717 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1718 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1719 echo $ECHO_N "(cached) $ECHO_C" >&6
1721 cat >conftest.
make <<\_ACEOF
1723 @
echo 'ac_maketemp="$(MAKE)"'
1725 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1726 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1727 if test -n "$ac_maketemp"; then
1728 eval ac_cv_prog_make_
${ac_make}_set
=yes
1730 eval ac_cv_prog_make_
${ac_make}_set
=no
1734 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1735 echo "$as_me:$LINENO: result: yes" >&5
1736 echo "${ECHO_T}yes" >&6
1739 echo "$as_me:$LINENO: result: no" >&5
1740 echo "${ECHO_T}no" >&6
1741 SET_MAKE
="MAKE=${MAKE-make}"
1744 rm -rf .tst
2>/dev
/null
1745 mkdir .tst
2>/dev
/null
1746 if test -d .tst
; then
1751 rmdir .tst
2>/dev
/null
1753 # test to see if srcdir already configured
1754 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1755 test -f $srcdir/config.status
; then
1756 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1757 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1758 { (exit 1); exit 1; }; }
1761 # test whether we have cygpath
1762 if test -z "$CYGPATH_W"; then
1763 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1764 CYGPATH_W
='cygpath -w'
1771 # Define the identity of the package.
1772 PACKAGE
='libgfortran'
1776 # Some tools Automake needs.
1778 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1781 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1784 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1787 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1790 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1792 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1794 # Installed binaries are usually stripped using `strip' when the user
1795 # run `make install-strip'. However `strip' might not be the right
1796 # tool to use in cross-compilation environments, therefore Automake
1797 # will honor the `STRIP' environment variable to overrule this program.
1798 if test "$cross_compiling" != no
; then
1799 if test -n "$ac_tool_prefix"; then
1800 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1801 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1802 echo "$as_me:$LINENO: checking for $ac_word" >&5
1803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1804 if test "${ac_cv_prog_STRIP+set}" = set; then
1805 echo $ECHO_N "(cached) $ECHO_C" >&6
1807 if test -n "$STRIP"; then
1808 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1814 test -z "$as_dir" && as_dir
=.
1815 for ac_exec_ext
in '' $ac_executable_extensions; do
1816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1817 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1826 STRIP
=$ac_cv_prog_STRIP
1827 if test -n "$STRIP"; then
1828 echo "$as_me:$LINENO: result: $STRIP" >&5
1829 echo "${ECHO_T}$STRIP" >&6
1831 echo "$as_me:$LINENO: result: no" >&5
1832 echo "${ECHO_T}no" >&6
1836 if test -z "$ac_cv_prog_STRIP"; then
1838 # Extract the first word of "strip", so it can be a program name with args.
1839 set dummy strip
; ac_word
=$2
1840 echo "$as_me:$LINENO: checking for $ac_word" >&5
1841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1842 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1843 echo $ECHO_N "(cached) $ECHO_C" >&6
1845 if test -n "$ac_ct_STRIP"; then
1846 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1852 test -z "$as_dir" && as_dir
=.
1853 for ac_exec_ext
in '' $ac_executable_extensions; do
1854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1855 ac_cv_prog_ac_ct_STRIP
="strip"
1856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1862 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1865 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1866 if test -n "$ac_ct_STRIP"; then
1867 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1868 echo "${ECHO_T}$ac_ct_STRIP" >&6
1870 echo "$as_me:$LINENO: result: no" >&5
1871 echo "${ECHO_T}no" >&6
1876 STRIP
="$ac_cv_prog_STRIP"
1880 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1882 # We need awk for the "check" target. The system "awk" is bad on
1884 # Always define AMTAR for backward compatibility.
1886 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1888 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1895 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1896 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1897 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1898 if test "${enable_maintainer_mode+set}" = set; then
1899 enableval
="$enable_maintainer_mode"
1900 USE_MAINTAINER_MODE
=$enableval
1902 USE_MAINTAINER_MODE
=no
1904 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1905 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1908 if test $USE_MAINTAINER_MODE = yes; then
1909 MAINTAINER_MODE_TRUE
=
1910 MAINTAINER_MODE_FALSE
='#'
1912 MAINTAINER_MODE_TRUE
='#'
1913 MAINTAINER_MODE_FALSE
=
1916 MAINT
=$MAINTAINER_MODE_TRUE
1919 # Default to --enable-multilib
1920 # Check whether --enable-multilib or --disable-multilib was given.
1921 if test "${enable_multilib+set}" = set; then
1922 enableval
="$enable_multilib"
1923 case "$enableval" in
1924 yes) multilib
=yes ;;
1926 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1927 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1928 { (exit 1); exit 1; }; } ;;
1934 # We may get other options which we leave undocumented:
1935 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1936 # See config-ml.in if you want the gory details.
1938 if test "$srcdir" = "."; then
1939 if test "$with_target_subdir" != "."; then
1940 multi_basedir
="$srcdir/$with_multisrctop../.."
1942 multi_basedir
="$srcdir/$with_multisrctop.."
1945 multi_basedir
="$srcdir/.."
1949 ac_config_commands
="$ac_config_commands default-1"
1952 # Handy for debugging:
1953 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1955 # Are we being configured with some form of cross compiler?
1956 # NB: We don't actually need to know this just now, but when, say, a test
1957 # suite is included, we'll have to know.
1958 if test "$build" != "$host"; then
1959 LIBGFOR_IS_NATIVE
=false
1962 LIBGFOR_IS_NATIVE
=true
1965 # Calculate toolexeclibdir
1966 # Also toolexecdir, though it's only used in toolexeclibdir
1967 case ${version_specific_libs} in
1969 # Need the gcc compiler version to know where to install libraries
1970 # and header files if --enable-version-specific-runtime-libs option
1972 toolexecdir
='$(libdir)/gcc/$(target_alias)'
1973 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
1976 if test -n "$with_cross_host" &&
1977 test x
"$with_cross_host" != x
"no"; then
1978 # Install a library built with a cross compiler in tooldir, not libdir.
1979 toolexecdir
='$(exec_prefix)/$(target_alias)'
1980 toolexeclibdir
='$(toolexecdir)/lib'
1982 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
1983 toolexeclibdir
='$(libdir)'
1985 multi_os_directory
=`$CC -print-multi-os-directory`
1986 case $multi_os_directory in
1987 .
) ;; # Avoid trailing /.
1988 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
1995 # Check the compiler.
1996 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1997 # We must force CC to /not/ be precious variables; otherwise
1998 # the wrong, non-multilib-adjusted value will be used in multilibs.
1999 # As a side effect, we have to subst CFLAGS ourselves.
2004 ac_cpp
='$CPP $CPPFLAGS'
2005 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2006 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2007 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2008 if test -n "$ac_tool_prefix"; then
2009 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2010 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2011 echo "$as_me:$LINENO: checking for $ac_word" >&5
2012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2013 if test "${ac_cv_prog_CC+set}" = set; then
2014 echo $ECHO_N "(cached) $ECHO_C" >&6
2016 if test -n "$CC"; then
2017 ac_cv_prog_CC
="$CC" # Let the user override the test.
2019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2023 test -z "$as_dir" && as_dir
=.
2024 for ac_exec_ext
in '' $ac_executable_extensions; do
2025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2026 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2036 if test -n "$CC"; then
2037 echo "$as_me:$LINENO: result: $CC" >&5
2038 echo "${ECHO_T}$CC" >&6
2040 echo "$as_me:$LINENO: result: no" >&5
2041 echo "${ECHO_T}no" >&6
2045 if test -z "$ac_cv_prog_CC"; then
2047 # Extract the first word of "gcc", so it can be a program name with args.
2048 set dummy gcc
; ac_word
=$2
2049 echo "$as_me:$LINENO: checking for $ac_word" >&5
2050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2051 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2052 echo $ECHO_N "(cached) $ECHO_C" >&6
2054 if test -n "$ac_ct_CC"; then
2055 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2061 test -z "$as_dir" && as_dir
=.
2062 for ac_exec_ext
in '' $ac_executable_extensions; do
2063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2064 ac_cv_prog_ac_ct_CC
="gcc"
2065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2073 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2074 if test -n "$ac_ct_CC"; then
2075 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2076 echo "${ECHO_T}$ac_ct_CC" >&6
2078 echo "$as_me:$LINENO: result: no" >&5
2079 echo "${ECHO_T}no" >&6
2087 if test -z "$CC"; then
2088 if test -n "$ac_tool_prefix"; then
2089 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2090 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2091 echo "$as_me:$LINENO: checking for $ac_word" >&5
2092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2093 if test "${ac_cv_prog_CC+set}" = set; then
2094 echo $ECHO_N "(cached) $ECHO_C" >&6
2096 if test -n "$CC"; then
2097 ac_cv_prog_CC
="$CC" # Let the user override the test.
2099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2103 test -z "$as_dir" && as_dir
=.
2104 for ac_exec_ext
in '' $ac_executable_extensions; do
2105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2106 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2116 if test -n "$CC"; then
2117 echo "$as_me:$LINENO: result: $CC" >&5
2118 echo "${ECHO_T}$CC" >&6
2120 echo "$as_me:$LINENO: result: no" >&5
2121 echo "${ECHO_T}no" >&6
2125 if test -z "$ac_cv_prog_CC"; then
2127 # Extract the first word of "cc", so it can be a program name with args.
2128 set dummy cc
; ac_word
=$2
2129 echo "$as_me:$LINENO: checking for $ac_word" >&5
2130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2131 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2132 echo $ECHO_N "(cached) $ECHO_C" >&6
2134 if test -n "$ac_ct_CC"; then
2135 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2141 test -z "$as_dir" && as_dir
=.
2142 for ac_exec_ext
in '' $ac_executable_extensions; do
2143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2144 ac_cv_prog_ac_ct_CC
="cc"
2145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2153 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2154 if test -n "$ac_ct_CC"; then
2155 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2156 echo "${ECHO_T}$ac_ct_CC" >&6
2158 echo "$as_me:$LINENO: result: no" >&5
2159 echo "${ECHO_T}no" >&6
2168 if test -z "$CC"; then
2169 # Extract the first word of "cc", so it can be a program name with args.
2170 set dummy cc
; ac_word
=$2
2171 echo "$as_me:$LINENO: checking for $ac_word" >&5
2172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2173 if test "${ac_cv_prog_CC+set}" = set; then
2174 echo $ECHO_N "(cached) $ECHO_C" >&6
2176 if test -n "$CC"; then
2177 ac_cv_prog_CC
="$CC" # Let the user override the test.
2180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2184 test -z "$as_dir" && as_dir
=.
2185 for ac_exec_ext
in '' $ac_executable_extensions; do
2186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2187 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2188 ac_prog_rejected
=yes
2192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2198 if test $ac_prog_rejected = yes; then
2199 # We found a bogon in the path, so make sure we never use it.
2200 set dummy
$ac_cv_prog_CC
2202 if test $# != 0; then
2203 # We chose a different compiler from the bogus one.
2204 # However, it has the same basename, so the bogon will be chosen
2205 # first if we set CC to just the basename; use the full file name.
2207 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2213 if test -n "$CC"; then
2214 echo "$as_me:$LINENO: result: $CC" >&5
2215 echo "${ECHO_T}$CC" >&6
2217 echo "$as_me:$LINENO: result: no" >&5
2218 echo "${ECHO_T}no" >&6
2222 if test -z "$CC"; then
2223 if test -n "$ac_tool_prefix"; then
2226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2227 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2228 echo "$as_me:$LINENO: checking for $ac_word" >&5
2229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2230 if test "${ac_cv_prog_CC+set}" = set; then
2231 echo $ECHO_N "(cached) $ECHO_C" >&6
2233 if test -n "$CC"; then
2234 ac_cv_prog_CC
="$CC" # Let the user override the test.
2236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2240 test -z "$as_dir" && as_dir
=.
2241 for ac_exec_ext
in '' $ac_executable_extensions; do
2242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2243 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2253 if test -n "$CC"; then
2254 echo "$as_me:$LINENO: result: $CC" >&5
2255 echo "${ECHO_T}$CC" >&6
2257 echo "$as_me:$LINENO: result: no" >&5
2258 echo "${ECHO_T}no" >&6
2261 test -n "$CC" && break
2264 if test -z "$CC"; then
2268 # Extract the first word of "$ac_prog", so it can be a program name with args.
2269 set dummy
$ac_prog; ac_word
=$2
2270 echo "$as_me:$LINENO: checking for $ac_word" >&5
2271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2272 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2273 echo $ECHO_N "(cached) $ECHO_C" >&6
2275 if test -n "$ac_ct_CC"; then
2276 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2282 test -z "$as_dir" && as_dir
=.
2283 for ac_exec_ext
in '' $ac_executable_extensions; do
2284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2285 ac_cv_prog_ac_ct_CC
="$ac_prog"
2286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2294 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2295 if test -n "$ac_ct_CC"; then
2296 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2297 echo "${ECHO_T}$ac_ct_CC" >&6
2299 echo "$as_me:$LINENO: result: no" >&5
2300 echo "${ECHO_T}no" >&6
2303 test -n "$ac_ct_CC" && break
2312 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2313 See \`config.log' for more details." >&5
2314 echo "$as_me: error: no acceptable C compiler found in \$PATH
2315 See \`config.log' for more details." >&2;}
2316 { (exit 1); exit 1; }; }
2318 # Provide some information about the compiler.
2319 echo "$as_me:$LINENO:" \
2320 "checking for C compiler version" >&5
2321 ac_compiler
=`set X $ac_compile; echo $2`
2322 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2323 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2326 (exit $ac_status); }
2327 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2328 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); }
2332 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2333 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336 (exit $ac_status); }
2338 cat >conftest.
$ac_ext <<_ACEOF
2341 cat confdefs.h
>>conftest.
$ac_ext
2342 cat >>conftest.
$ac_ext <<_ACEOF
2343 /* end confdefs.h. */
2354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2355 (eval $ac_link) 2>&5
2357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2358 (exit $ac_status); }; then
2364 if test x
$gcc_no_link = xyes
; then
2365 # Setting cross_compile will disable run tests; it will
2366 # also disable AC_CHECK_FILE but that's generally
2367 # correct if we can't link.
2371 cat >conftest.
$ac_ext <<_ACEOF
2374 cat confdefs.h
>>conftest.
$ac_ext
2375 cat >>conftest.
$ac_ext <<_ACEOF
2376 /* end confdefs.h. */
2386 ac_clean_files_save
=$ac_clean_files
2387 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2388 # Try to create an executable without -o first, disregard a.out.
2389 # It will help us diagnose broken compilers, and finding out an intuition
2391 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2392 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2393 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2394 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2395 (eval $ac_link_default) 2>&5
2397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398 (exit $ac_status); }; then
2399 # Find the output, starting from the most likely. This scheme is
2400 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2403 # Be careful to initialize this variable, since it used to be cached.
2404 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2406 # b.out is created by i960 compilers.
2407 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2409 test -f "$ac_file" ||
continue
2411 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2414 # This is the source file.
2417 # We found the default executable, but exeext='' is most
2421 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2422 # FIXME: I believe we export ac_cv_exeext for Libtool,
2423 # but it would be cool to find out if it's true. Does anybody
2424 # maintain Libtool? --akim.
2432 echo "$as_me: failed program was:" >&5
2433 sed 's/^/| /' conftest.
$ac_ext >&5
2435 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2436 See \`config.log' for more details." >&5
2437 echo "$as_me: error: C compiler cannot create executables
2438 See \`config.log' for more details." >&2;}
2439 { (exit 77); exit 77; }; }
2442 ac_exeext
=$ac_cv_exeext
2443 echo "$as_me:$LINENO: result: $ac_file" >&5
2444 echo "${ECHO_T}$ac_file" >&6
2446 # Check the compiler produces executables we can run. If not, either
2447 # the compiler is broken, or we cross compile.
2448 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2449 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2450 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2451 # If not cross compiling, check that we can run a simple program.
2452 if test "$cross_compiling" != yes; then
2453 if { ac_try
='./$ac_file'
2454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458 (exit $ac_status); }; }; then
2461 if test "$cross_compiling" = maybe
; then
2464 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2465 If you meant to cross compile, use \`--host'.
2466 See \`config.log' for more details." >&5
2467 echo "$as_me: error: cannot run C compiled programs.
2468 If you meant to cross compile, use \`--host'.
2469 See \`config.log' for more details." >&2;}
2470 { (exit 1); exit 1; }; }
2474 echo "$as_me:$LINENO: result: yes" >&5
2475 echo "${ECHO_T}yes" >&6
2477 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2478 ac_clean_files
=$ac_clean_files_save
2479 # Check the compiler produces executables we can run. If not, either
2480 # the compiler is broken, or we cross compile.
2481 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2482 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2483 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2484 echo "${ECHO_T}$cross_compiling" >&6
2486 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2487 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2489 (eval $ac_link) 2>&5
2491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492 (exit $ac_status); }; then
2493 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2494 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2495 # work properly (i.e., refer to `conftest.exe'), while it won't with
2497 for ac_file
in conftest.exe conftest conftest.
*; do
2498 test -f "$ac_file" ||
continue
2500 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2501 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2508 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2509 See \`config.log' for more details." >&5
2510 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2511 See \`config.log' for more details." >&2;}
2512 { (exit 1); exit 1; }; }
2515 rm -f conftest
$ac_cv_exeext
2516 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2517 echo "${ECHO_T}$ac_cv_exeext" >&6
2519 rm -f conftest.
$ac_ext
2520 EXEEXT
=$ac_cv_exeext
2523 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2524 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2525 if test "${ac_cv_objext+set}" = set; then
2526 echo $ECHO_N "(cached) $ECHO_C" >&6
2528 cat >conftest.
$ac_ext <<_ACEOF
2531 cat confdefs.h
>>conftest.
$ac_ext
2532 cat >>conftest.
$ac_ext <<_ACEOF
2533 /* end confdefs.h. */
2543 rm -f conftest.o conftest.obj
2544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2545 (eval $ac_compile) 2>&5
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); }; then
2549 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2551 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2552 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2557 echo "$as_me: failed program was:" >&5
2558 sed 's/^/| /' conftest.
$ac_ext >&5
2560 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2561 See \`config.log' for more details." >&5
2562 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2563 See \`config.log' for more details." >&2;}
2564 { (exit 1); exit 1; }; }
2567 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2569 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2570 echo "${ECHO_T}$ac_cv_objext" >&6
2571 OBJEXT
=$ac_cv_objext
2573 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2574 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2575 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2576 echo $ECHO_N "(cached) $ECHO_C" >&6
2578 cat >conftest.
$ac_ext <<_ACEOF
2581 cat confdefs.h
>>conftest.
$ac_ext
2582 cat >>conftest.
$ac_ext <<_ACEOF
2583 /* end confdefs.h. */
2596 rm -f conftest.
$ac_objext
2597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2598 (eval $ac_compile) 2>conftest.er1
2600 grep -v '^ *+' conftest.er1
>conftest.err
2602 cat conftest.err
>&5
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); } &&
2605 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); }; } &&
2611 { ac_try
='test -s conftest.$ac_objext'
2612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616 (exit $ac_status); }; }; then
2619 echo "$as_me: failed program was:" >&5
2620 sed 's/^/| /' conftest.
$ac_ext >&5
2624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2625 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2628 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2629 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2630 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2631 ac_test_CFLAGS
=${CFLAGS+set}
2632 ac_save_CFLAGS
=$CFLAGS
2634 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2635 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2636 if test "${ac_cv_prog_cc_g+set}" = set; then
2637 echo $ECHO_N "(cached) $ECHO_C" >&6
2639 cat >conftest.
$ac_ext <<_ACEOF
2642 cat confdefs.h
>>conftest.
$ac_ext
2643 cat >>conftest.
$ac_ext <<_ACEOF
2644 /* end confdefs.h. */
2654 rm -f conftest.
$ac_objext
2655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2656 (eval $ac_compile) 2>conftest.er1
2658 grep -v '^ *+' conftest.er1
>conftest.err
2660 cat conftest.err
>&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); } &&
2663 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668 (exit $ac_status); }; } &&
2669 { ac_try
='test -s conftest.$ac_objext'
2670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2674 (exit $ac_status); }; }; then
2677 echo "$as_me: failed program was:" >&5
2678 sed 's/^/| /' conftest.
$ac_ext >&5
2682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2684 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2685 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2686 if test "$ac_test_CFLAGS" = set; then
2687 CFLAGS
=$ac_save_CFLAGS
2688 elif test $ac_cv_prog_cc_g = yes; then
2689 if test "$GCC" = yes; then
2695 if test "$GCC" = yes; then
2701 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2702 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2703 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2704 echo $ECHO_N "(cached) $ECHO_C" >&6
2706 ac_cv_prog_cc_stdc
=no
2708 cat >conftest.
$ac_ext <<_ACEOF
2711 cat confdefs.h
>>conftest.
$ac_ext
2712 cat >>conftest.
$ac_ext <<_ACEOF
2713 /* end confdefs.h. */
2716 #include <sys/types.h>
2717 #include <sys/stat.h>
2718 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2719 struct buf { int x; };
2720 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2721 static char *e (p, i)
2727 static char *f (char * (*g) (char **, int), char **p, ...)
2732 s = g (p, va_arg (v,int));
2737 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2738 function prototypes and stuff, but not '\xHH' hex character constants.
2739 These don't provoke an error unfortunately, instead are silently treated
2740 as 'x'. The following induces an error, until -std1 is added to get
2741 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2742 array size at least. It's necessary to write '\x00'==0 to get something
2743 that's true only with -std1. */
2744 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2746 int test (int i, double x);
2747 struct s1 {int (*f) (int a);};
2748 struct s2 {int (*f) (double a);};
2749 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2755 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2760 # Don't try gcc -ansi; that turns off useful extensions and
2761 # breaks some systems' header files.
2762 # AIX -qlanglvl=ansi
2763 # Ultrix and OSF/1 -std1
2764 # HP-UX 10.20 and later -Ae
2765 # HP-UX older versions -Aa -D_HPUX_SOURCE
2766 # SVR4 -Xc -D__EXTENSIONS__
2767 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2769 CC
="$ac_save_CC $ac_arg"
2770 rm -f conftest.
$ac_objext
2771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2772 (eval $ac_compile) 2>conftest.er1
2774 grep -v '^ *+' conftest.er1
>conftest.err
2776 cat conftest.err
>&5
2777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778 (exit $ac_status); } &&
2779 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784 (exit $ac_status); }; } &&
2785 { ac_try
='test -s conftest.$ac_objext'
2786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); }; }; then
2791 ac_cv_prog_cc_stdc
=$ac_arg
2794 echo "$as_me: failed program was:" >&5
2795 sed 's/^/| /' conftest.
$ac_ext >&5
2798 rm -f conftest.err conftest.
$ac_objext
2800 rm -f conftest.
$ac_ext conftest.
$ac_objext
2805 case "x$ac_cv_prog_cc_stdc" in
2807 echo "$as_me:$LINENO: result: none needed" >&5
2808 echo "${ECHO_T}none needed" >&6 ;;
2810 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2811 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2812 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2815 # Some people use a C++ compiler to compile C. Since we use `exit',
2816 # in C++ we need to declare it. In case someone uses the same compiler
2817 # for both compiling C and C++ we need to have the C++ compiler decide
2818 # the declaration of exit, since it's the most demanding environment.
2819 cat >conftest.
$ac_ext <<_ACEOF
2824 rm -f conftest.
$ac_objext
2825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2826 (eval $ac_compile) 2>conftest.er1
2828 grep -v '^ *+' conftest.er1
>conftest.err
2830 cat conftest.err
>&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); } &&
2833 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); }; } &&
2839 { ac_try
='test -s conftest.$ac_objext'
2840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); }; }; then
2845 for ac_declaration
in \
2847 'extern "C" void std::exit (int) throw (); using std::exit;' \
2848 'extern "C" void std::exit (int); using std::exit;' \
2849 'extern "C" void exit (int) throw ();' \
2850 'extern "C" void exit (int);' \
2853 cat >conftest.
$ac_ext <<_ACEOF
2856 cat confdefs.h
>>conftest.
$ac_ext
2857 cat >>conftest.
$ac_ext <<_ACEOF
2858 /* end confdefs.h. */
2869 rm -f conftest.
$ac_objext
2870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2871 (eval $ac_compile) 2>conftest.er1
2873 grep -v '^ *+' conftest.er1
>conftest.err
2875 cat conftest.err
>&5
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); } &&
2878 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883 (exit $ac_status); }; } &&
2884 { ac_try
='test -s conftest.$ac_objext'
2885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2889 (exit $ac_status); }; }; then
2892 echo "$as_me: failed program was:" >&5
2893 sed 's/^/| /' conftest.
$ac_ext >&5
2897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2898 cat >conftest.
$ac_ext <<_ACEOF
2901 cat confdefs.h
>>conftest.
$ac_ext
2902 cat >>conftest.
$ac_ext <<_ACEOF
2903 /* end confdefs.h. */
2913 rm -f conftest.
$ac_objext
2914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2915 (eval $ac_compile) 2>conftest.er1
2917 grep -v '^ *+' conftest.er1
>conftest.err
2919 cat conftest.err
>&5
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); } &&
2922 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); }; } &&
2928 { ac_try
='test -s conftest.$ac_objext'
2929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); }; }; then
2936 echo "$as_me: failed program was:" >&5
2937 sed 's/^/| /' conftest.
$ac_ext >&5
2940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2943 if test -n "$ac_declaration"; then
2944 echo '#ifdef __cplusplus' >>confdefs.h
2945 echo $ac_declaration >>confdefs.h
2946 echo '#endif' >>confdefs.h
2950 echo "$as_me: failed program was:" >&5
2951 sed 's/^/| /' conftest.
$ac_ext >&5
2954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2956 ac_cpp
='$CPP $CPPFLAGS'
2957 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2958 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2959 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2963 # Add -Wall if we are using GCC.
2964 if test "x$GCC" = "xyes"; then
2966 ## We like to use C99 routines when available. This makes sure that
2967 ## __STDC_VERSION__ is set such that libc includes make them available.
2968 AM_CFLAGS
="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
2973 # Find other programs we need.
2974 if test -n "$ac_tool_prefix"; then
2975 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2976 set dummy
${ac_tool_prefix}as
; ac_word
=$2
2977 echo "$as_me:$LINENO: checking for $ac_word" >&5
2978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2979 if test "${ac_cv_prog_AS+set}" = set; then
2980 echo $ECHO_N "(cached) $ECHO_C" >&6
2982 if test -n "$AS"; then
2983 ac_cv_prog_AS
="$AS" # Let the user override the test.
2985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2989 test -z "$as_dir" && as_dir
=.
2990 for ac_exec_ext
in '' $ac_executable_extensions; do
2991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2992 ac_cv_prog_AS
="${ac_tool_prefix}as"
2993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3002 if test -n "$AS"; then
3003 echo "$as_me:$LINENO: result: $AS" >&5
3004 echo "${ECHO_T}$AS" >&6
3006 echo "$as_me:$LINENO: result: no" >&5
3007 echo "${ECHO_T}no" >&6
3011 if test -z "$ac_cv_prog_AS"; then
3013 # Extract the first word of "as", so it can be a program name with args.
3014 set dummy as
; ac_word
=$2
3015 echo "$as_me:$LINENO: checking for $ac_word" >&5
3016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3017 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3018 echo $ECHO_N "(cached) $ECHO_C" >&6
3020 if test -n "$ac_ct_AS"; then
3021 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3027 test -z "$as_dir" && as_dir
=.
3028 for ac_exec_ext
in '' $ac_executable_extensions; do
3029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3030 ac_cv_prog_ac_ct_AS
="as"
3031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3039 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3040 if test -n "$ac_ct_AS"; then
3041 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3042 echo "${ECHO_T}$ac_ct_AS" >&6
3044 echo "$as_me:$LINENO: result: no" >&5
3045 echo "${ECHO_T}no" >&6
3053 if test -n "$ac_tool_prefix"; then
3054 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3055 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3056 echo "$as_me:$LINENO: checking for $ac_word" >&5
3057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3058 if test "${ac_cv_prog_AR+set}" = set; then
3059 echo $ECHO_N "(cached) $ECHO_C" >&6
3061 if test -n "$AR"; then
3062 ac_cv_prog_AR
="$AR" # Let the user override the test.
3064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3068 test -z "$as_dir" && as_dir
=.
3069 for ac_exec_ext
in '' $ac_executable_extensions; do
3070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3071 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3081 if test -n "$AR"; then
3082 echo "$as_me:$LINENO: result: $AR" >&5
3083 echo "${ECHO_T}$AR" >&6
3085 echo "$as_me:$LINENO: result: no" >&5
3086 echo "${ECHO_T}no" >&6
3090 if test -z "$ac_cv_prog_AR"; then
3092 # Extract the first word of "ar", so it can be a program name with args.
3093 set dummy
ar; ac_word
=$2
3094 echo "$as_me:$LINENO: checking for $ac_word" >&5
3095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3096 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3097 echo $ECHO_N "(cached) $ECHO_C" >&6
3099 if test -n "$ac_ct_AR"; then
3100 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3106 test -z "$as_dir" && as_dir
=.
3107 for ac_exec_ext
in '' $ac_executable_extensions; do
3108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3109 ac_cv_prog_ac_ct_AR
="ar"
3110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3118 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3119 if test -n "$ac_ct_AR"; then
3120 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3121 echo "${ECHO_T}$ac_ct_AR" >&6
3123 echo "$as_me:$LINENO: result: no" >&5
3124 echo "${ECHO_T}no" >&6
3132 if test -n "$ac_tool_prefix"; then
3133 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3134 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3135 echo "$as_me:$LINENO: checking for $ac_word" >&5
3136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3137 if test "${ac_cv_prog_RANLIB+set}" = set; then
3138 echo $ECHO_N "(cached) $ECHO_C" >&6
3140 if test -n "$RANLIB"; then
3141 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3147 test -z "$as_dir" && as_dir
=.
3148 for ac_exec_ext
in '' $ac_executable_extensions; do
3149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3150 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3159 RANLIB
=$ac_cv_prog_RANLIB
3160 if test -n "$RANLIB"; then
3161 echo "$as_me:$LINENO: result: $RANLIB" >&5
3162 echo "${ECHO_T}$RANLIB" >&6
3164 echo "$as_me:$LINENO: result: no" >&5
3165 echo "${ECHO_T}no" >&6
3169 if test -z "$ac_cv_prog_RANLIB"; then
3170 ac_ct_RANLIB
=$RANLIB
3171 # Extract the first word of "ranlib", so it can be a program name with args.
3172 set dummy ranlib
; ac_word
=$2
3173 echo "$as_me:$LINENO: checking for $ac_word" >&5
3174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3175 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3176 echo $ECHO_N "(cached) $ECHO_C" >&6
3178 if test -n "$ac_ct_RANLIB"; then
3179 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3185 test -z "$as_dir" && as_dir
=.
3186 for ac_exec_ext
in '' $ac_executable_extensions; do
3187 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3188 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3195 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
="ranlib-not-found-in-path-error"
3198 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3199 if test -n "$ac_ct_RANLIB"; then
3200 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3201 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3203 echo "$as_me:$LINENO: result: no" >&5
3204 echo "${ECHO_T}no" >&6
3207 RANLIB
=$ac_ct_RANLIB
3209 RANLIB
="$ac_cv_prog_RANLIB"
3212 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3213 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3214 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3215 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3216 echo $ECHO_N "(cached) $ECHO_C" >&6
3218 cat >conftest.
make <<\_ACEOF
3220 @
echo 'ac_maketemp="$(MAKE)"'
3222 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3223 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3224 if test -n "$ac_maketemp"; then
3225 eval ac_cv_prog_make_
${ac_make}_set
=yes
3227 eval ac_cv_prog_make_
${ac_make}_set
=no
3231 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3232 echo "$as_me:$LINENO: result: yes" >&5
3233 echo "${ECHO_T}yes" >&6
3236 echo "$as_me:$LINENO: result: no" >&5
3237 echo "${ECHO_T}no" >&6
3238 SET_MAKE
="MAKE=${MAKE-make}"
3241 # Find a good install program. We prefer a C program (faster),
3242 # so one script is as good as another. But avoid the broken or
3243 # incompatible versions:
3244 # SysV /etc/install, /usr/sbin/install
3245 # SunOS /usr/etc/install
3246 # IRIX /sbin/install
3248 # AmigaOS /C/install, which installs bootblocks on floppy discs
3249 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3250 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3251 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3252 # OS/2's system install, which has a completely different semantic
3253 # ./install, which can be erroneously created by make from ./install.sh.
3254 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3255 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3256 if test -z "$INSTALL"; then
3257 if test "${ac_cv_path_install+set}" = set; then
3258 echo $ECHO_N "(cached) $ECHO_C" >&6
3260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3264 test -z "$as_dir" && as_dir
=.
3265 # Account for people who put trailing slashes in PATH elements.
3267 .
/ | .
// |
/cC
/* | \
3268 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3269 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3272 # OSF1 and SCO ODT 3.0 have their own names for install.
3273 # Don't use installbsd from OSF since it installs stuff as root
3275 for ac_prog
in ginstall scoinst
install; do
3276 for ac_exec_ext
in '' $ac_executable_extensions; do
3277 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3278 if test $ac_prog = install &&
3279 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3280 # AIX install. It has an incompatible calling convention.
3282 elif test $ac_prog = install &&
3283 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3284 # program-specific install script used by HP pwplus--don't use.
3287 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3299 if test "${ac_cv_path_install+set}" = set; then
3300 INSTALL
=$ac_cv_path_install
3302 # As a last resort, use the slow shell script. We don't cache a
3303 # path for INSTALL within a source directory, because that will
3304 # break other packages using the cache if that directory is
3305 # removed, or if the path is relative.
3306 INSTALL
=$ac_install_sh
3309 echo "$as_me:$LINENO: result: $INSTALL" >&5
3310 echo "${ECHO_T}$INSTALL" >&6
3312 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3313 # It thinks the first close brace ends the variable substitution.
3314 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3316 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3318 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3322 #AC_MSG_NOTICE([====== Starting libtool configuration])
3324 # Check whether --enable-shared or --disable-shared was given.
3325 if test "${enable_shared+set}" = set; then
3326 enableval
="$enable_shared"
3327 p
=${PACKAGE-default}
3329 yes) enable_shared
=yes ;;
3330 no
) enable_shared
=no
;;
3333 # Look at the argument we got. We use all the common list separators.
3334 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3335 for pkg
in $enableval; do
3336 if test "X$pkg" = "X$p"; then
3346 # Check whether --enable-static or --disable-static was given.
3347 if test "${enable_static+set}" = set; then
3348 enableval
="$enable_static"
3349 p
=${PACKAGE-default}
3351 yes) enable_static
=yes ;;
3352 no
) enable_static
=no
;;
3355 # Look at the argument we got. We use all the common list separators.
3356 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3357 for pkg
in $enableval; do
3358 if test "X$pkg" = "X$p"; then
3368 # Check whether --enable-fast-install or --disable-fast-install was given.
3369 if test "${enable_fast_install+set}" = set; then
3370 enableval
="$enable_fast_install"
3371 p
=${PACKAGE-default}
3373 yes) enable_fast_install
=yes ;;
3374 no
) enable_fast_install
=no
;;
3376 enable_fast_install
=no
3377 # Look at the argument we got. We use all the common list separators.
3378 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3379 for pkg
in $enableval; do
3380 if test "X$pkg" = "X$p"; then
3381 enable_fast_install
=yes
3388 enable_fast_install
=yes
3391 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3392 if test "${with_gnu_ld+set}" = set; then
3393 withval
="$with_gnu_ld"
3394 test "$withval" = no || with_gnu_ld
=yes
3399 if test "$GCC" = yes; then
3400 # Check if gcc -print-prog-name=ld gives a path.
3401 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3402 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3405 # gcc leaves a trailing carriage return which upsets mingw
3406 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3408 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3411 # Accept absolute paths.
3412 [\\/]* |
[A-Za-z
]:[\\/]*)
3413 re_direlt
='/[^/][^/]*/\.\./'
3414 # Canonicalize the path of ld
3415 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3416 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3417 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3419 test -z "$LD" && LD
="$ac_prog"
3422 # If it fails, then pretend we aren't using GCC.
3426 # If it is relative, then search for the first ld in PATH.
3430 elif test "$with_gnu_ld" = yes; then
3431 echo "$as_me:$LINENO: checking for GNU ld" >&5
3432 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3434 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3435 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3437 if test "${lt_cv_path_LD+set}" = set; then
3438 echo $ECHO_N "(cached) $ECHO_C" >&6
3440 if test -z "$LD"; then
3441 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3442 for ac_dir
in $PATH; do
3443 test -z "$ac_dir" && ac_dir
=.
3444 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3445 lt_cv_path_LD
="$ac_dir/$ac_prog"
3446 # Check to see if the program is GNU ld. I'd rather use --version,
3447 # but apparently some GNU ld's only accept -v.
3448 # Break only if it was the GNU/non-GNU ld that we prefer.
3449 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3450 test "$with_gnu_ld" != no
&& break
3452 test "$with_gnu_ld" != yes && break
3458 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3463 if test -n "$LD"; then
3464 echo "$as_me:$LINENO: result: $LD" >&5
3465 echo "${ECHO_T}$LD" >&6
3467 echo "$as_me:$LINENO: result: no" >&5
3468 echo "${ECHO_T}no" >&6
3470 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3471 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3472 { (exit 1); exit 1; }; }
3473 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3474 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3475 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3476 echo $ECHO_N "(cached) $ECHO_C" >&6
3478 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3479 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3480 lt_cv_prog_gnu_ld
=yes
3482 lt_cv_prog_gnu_ld
=no
3485 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3486 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3487 with_gnu_ld
=$lt_cv_prog_gnu_ld
3490 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3491 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3492 if test "${lt_cv_ld_reload_flag+set}" = set; then
3493 echo $ECHO_N "(cached) $ECHO_C" >&6
3495 lt_cv_ld_reload_flag
='-r'
3497 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3498 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3499 reload_flag
=$lt_cv_ld_reload_flag
3500 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3502 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3503 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3504 if test "${lt_cv_path_NM+set}" = set; then
3505 echo $ECHO_N "(cached) $ECHO_C" >&6
3507 if test -n "$NM"; then
3508 # Let the user override the test.
3511 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3512 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3513 test -z "$ac_dir" && ac_dir
=.
3514 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3515 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3516 # Check to see if the nm accepts a BSD-compat flag.
3517 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3518 # nm: unknown option "B" ignored
3519 # Tru64's nm complains that /dev/null is an invalid object file
3520 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3521 lt_cv_path_NM
="$tmp_nm -B"
3523 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3524 lt_cv_path_NM
="$tmp_nm -p"
3527 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3528 continue # so that we can try to find one that supports BSD flags
3533 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3538 echo "$as_me:$LINENO: result: $NM" >&5
3539 echo "${ECHO_T}$NM" >&6
3541 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3542 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3544 if test "$LN_S" = "ln -s"; then
3545 echo "$as_me:$LINENO: result: yes" >&5
3546 echo "${ECHO_T}yes" >&6
3548 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3549 echo "${ECHO_T}no, using $LN_S" >&6
3552 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3553 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3554 if test "${lt_cv_deplibs_check_method+set}" = set; then
3555 echo $ECHO_N "(cached) $ECHO_C" >&6
3557 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3558 lt_cv_file_magic_test_file
=
3559 lt_cv_deplibs_check_method
='unknown'
3560 # Need to set the preceding variable on all platforms that support
3561 # interlibrary dependencies.
3562 # 'none' -- dependencies not supported.
3563 # `unknown' -- same as none, but documents that we really don't know.
3564 # 'pass_all' -- all dependencies passed with no checks.
3565 # 'test_compile' -- check by making test program.
3566 # 'file_magic [regex]' -- check by looking for files in library path
3567 # which responds to the $file_magic_cmd with a given egrep regex.
3568 # If you have `file' or equivalent on your system and you're not sure
3569 # whether `pass_all' will *always* work, you probably want this one.
3573 lt_cv_deplibs_check_method
=pass_all
3577 lt_cv_deplibs_check_method
=pass_all
3581 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3582 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3583 lt_cv_file_magic_test_file
=/shlib
/libc.so
3586 cygwin
* | mingw
* |pw32
*)
3587 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3588 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3591 darwin
* | rhapsody
*)
3592 # this will be overwritten by pass_all, but leave it in just in case
3593 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3594 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3596 rhapsody
* | darwin1.012
)
3597 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3600 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3603 lt_cv_deplibs_check_method
=pass_all
3606 freebsd
* | kfreebsd
*-gnu)
3607 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3610 # Not sure whether the presence of OpenBSD here was a mistake.
3611 # Let's accept both of them until this is cleared up.
3612 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3613 lt_cv_file_magic_cmd
=/usr
/bin
/file
3614 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3618 lt_cv_deplibs_check_method
=pass_all
3623 lt_cv_deplibs_check_method
=pass_all
3629 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3630 lt_cv_file_magic_cmd
=/usr
/bin
/file
3631 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3634 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3635 lt_cv_file_magic_cmd
=/usr
/bin
/file
3636 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3644 # this will be overridden with pass_all, but let us keep it just in case
3645 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3649 *-32|
*"-32 ") libmagic
=32-bit;;
3650 *-n32|
*"-n32 ") libmagic
=N32
;;
3651 *-64|
*"-64 ") libmagic
=64-bit;;
3652 *) libmagic
=never-match
;;
3654 # this will be overridden with pass_all, but let us keep it just in case
3655 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3658 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3659 lt_cv_deplibs_check_method
=pass_all
3662 # This must be Linux ELF.
3664 lt_cv_deplibs_check_method
=pass_all
3667 netbsd
* | knetbsd
*-gnu)
3668 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3669 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3671 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3676 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3677 lt_cv_file_magic_cmd
=/usr
/bin
/file
3678 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3681 osf3
* | osf4
* | osf5
*)
3682 # this will be overridden with pass_all, but let us keep it just in case
3683 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3684 lt_cv_file_magic_test_file
=/shlib
/libc.so
3685 lt_cv_deplibs_check_method
=pass_all
3689 lt_cv_deplibs_check_method
=pass_all
3693 lt_cv_deplibs_check_method
=pass_all
3694 lt_cv_file_magic_test_file
=/lib
/libc.so
3697 sysv5uw
[78]* | sysv4
*uw2
*)
3698 lt_cv_deplibs_check_method
=pass_all
3701 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3702 case $host_vendor in
3704 lt_cv_deplibs_check_method
=pass_all
3707 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3708 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3715 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3716 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3717 file_magic_cmd
=$lt_cv_file_magic_cmd
3718 deplibs_check_method
=$lt_cv_deplibs_check_method
3724 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3726 # find the maximum length of command line arguments
3727 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3728 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3729 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3730 echo $ECHO_N "(cached) $ECHO_C" >&6
3737 # On DJGPP, this test can blow up pretty badly due to problems in libc
3738 # (any single argument exceeding 2000 bytes causes a buffer overrun
3739 # during glob expansion). Even if it were fixed, the result of this
3740 # check would be larger than it should be.
3741 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3745 # On Win9x/ME, this test blows up -- it succeeds, but takes
3746 # about 5 minutes as the teststring grows exponentially.
3747 # Worse, since 9x/ME are not pre-emptively multitasking,
3748 # you end up with a "frozen" computer, even though with patience
3749 # the test eventually succeeds (with a max line length of 256k).
3750 # Instead, let's just punt: use the minimum linelength reported by
3751 # all of the supported platforms: 8192 (on NT/2K/XP).
3752 lt_cv_sys_max_cmd_len
=8192;
3756 # On AmigaOS with pdksh, this test takes hours, literally.
3757 # So we just punt and use a minimum line length of 8192.
3758 lt_cv_sys_max_cmd_len
=8192;
3761 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3762 # This has been around since 386BSD, at least. Likely further.
3763 if test -x /sbin
/sysctl
; then
3764 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3765 elif test -x /usr
/sbin
/sysctl
; then
3766 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3768 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
3770 # And add a safety zone
3771 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3772 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3778 if test -n "$lt_cv_sys_max_cmd_len" ; then
3779 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3780 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3782 echo "$as_me:$LINENO: result: none" >&5
3783 echo "${ECHO_T}none" >&6
3787 # Only perform the check for file, if the check method requires it
3788 case $deplibs_check_method in
3790 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3791 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3792 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3793 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3794 echo $ECHO_N "(cached) $ECHO_C" >&6
3798 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3801 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3804 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3805 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3806 ac_dummy
="/usr/bin:$PATH"
3807 for ac_dir
in $ac_dummy; do
3808 test -z "$ac_dir" && ac_dir
=.
3809 if test -f $ac_dir/${ac_tool_prefix}file; then
3810 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3811 if test -n "$file_magic_test_file"; then
3812 case $deplibs_check_method in
3814 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3815 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3816 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3817 egrep "$file_magic_regex" > /dev
/null
; then
3822 *** Warning: the command libtool uses to detect shared libraries,
3823 *** $file_magic_cmd, produces output that libtool cannot recognize.
3824 *** The result is that libtool may fail to recognize shared libraries
3825 *** as such. This will affect the creation of libtool libraries that
3826 *** depend on shared libraries, but programs linked with such libtool
3827 *** libraries will work regardless of this problem. Nevertheless, you
3828 *** may want to report the problem to your system manager and/or to
3829 *** bug-libtool@gnu.org
3839 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3844 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3845 if test -n "$MAGIC_CMD"; then
3846 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3847 echo "${ECHO_T}$MAGIC_CMD" >&6
3849 echo "$as_me:$LINENO: result: no" >&5
3850 echo "${ECHO_T}no" >&6
3853 if test -z "$lt_cv_path_MAGIC_CMD"; then
3854 if test -n "$ac_tool_prefix"; then
3855 echo "$as_me:$LINENO: checking for file" >&5
3856 echo $ECHO_N "checking for file... $ECHO_C" >&6
3857 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3858 echo $ECHO_N "(cached) $ECHO_C" >&6
3862 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3865 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3868 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3869 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3870 ac_dummy
="/usr/bin:$PATH"
3871 for ac_dir
in $ac_dummy; do
3872 test -z "$ac_dir" && ac_dir
=.
3873 if test -f $ac_dir/file; then
3874 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3875 if test -n "$file_magic_test_file"; then
3876 case $deplibs_check_method in
3878 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3879 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3880 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3881 egrep "$file_magic_regex" > /dev
/null
; then
3886 *** Warning: the command libtool uses to detect shared libraries,
3887 *** $file_magic_cmd, produces output that libtool cannot recognize.
3888 *** The result is that libtool may fail to recognize shared libraries
3889 *** as such. This will affect the creation of libtool libraries that
3890 *** depend on shared libraries, but programs linked with such libtool
3891 *** libraries will work regardless of this problem. Nevertheless, you
3892 *** may want to report the problem to your system manager and/or to
3893 *** bug-libtool@gnu.org
3903 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3908 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3909 if test -n "$MAGIC_CMD"; then
3910 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3911 echo "${ECHO_T}$MAGIC_CMD" >&6
3913 echo "$as_me:$LINENO: result: no" >&5
3914 echo "${ECHO_T}no" >&6
3926 if test -n "$ac_tool_prefix"; then
3927 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3928 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3929 echo "$as_me:$LINENO: checking for $ac_word" >&5
3930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3931 if test "${ac_cv_prog_RANLIB+set}" = set; then
3932 echo $ECHO_N "(cached) $ECHO_C" >&6
3934 if test -n "$RANLIB"; then
3935 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3941 test -z "$as_dir" && as_dir
=.
3942 for ac_exec_ext
in '' $ac_executable_extensions; do
3943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3944 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3953 RANLIB
=$ac_cv_prog_RANLIB
3954 if test -n "$RANLIB"; then
3955 echo "$as_me:$LINENO: result: $RANLIB" >&5
3956 echo "${ECHO_T}$RANLIB" >&6
3958 echo "$as_me:$LINENO: result: no" >&5
3959 echo "${ECHO_T}no" >&6
3963 if test -z "$ac_cv_prog_RANLIB"; then
3964 ac_ct_RANLIB
=$RANLIB
3965 # Extract the first word of "ranlib", so it can be a program name with args.
3966 set dummy ranlib
; ac_word
=$2
3967 echo "$as_me:$LINENO: checking for $ac_word" >&5
3968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3969 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3970 echo $ECHO_N "(cached) $ECHO_C" >&6
3972 if test -n "$ac_ct_RANLIB"; then
3973 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3979 test -z "$as_dir" && as_dir
=.
3980 for ac_exec_ext
in '' $ac_executable_extensions; do
3981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3982 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3989 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3992 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3993 if test -n "$ac_ct_RANLIB"; then
3994 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3995 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3997 echo "$as_me:$LINENO: result: no" >&5
3998 echo "${ECHO_T}no" >&6
4001 RANLIB
=$ac_ct_RANLIB
4003 RANLIB
="$ac_cv_prog_RANLIB"
4006 if test -n "$ac_tool_prefix"; then
4007 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4008 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4009 echo "$as_me:$LINENO: checking for $ac_word" >&5
4010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4011 if test "${ac_cv_prog_STRIP+set}" = set; then
4012 echo $ECHO_N "(cached) $ECHO_C" >&6
4014 if test -n "$STRIP"; then
4015 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4021 test -z "$as_dir" && as_dir
=.
4022 for ac_exec_ext
in '' $ac_executable_extensions; do
4023 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4024 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4033 STRIP
=$ac_cv_prog_STRIP
4034 if test -n "$STRIP"; then
4035 echo "$as_me:$LINENO: result: $STRIP" >&5
4036 echo "${ECHO_T}$STRIP" >&6
4038 echo "$as_me:$LINENO: result: no" >&5
4039 echo "${ECHO_T}no" >&6
4043 if test -z "$ac_cv_prog_STRIP"; then
4045 # Extract the first word of "strip", so it can be a program name with args.
4046 set dummy strip
; ac_word
=$2
4047 echo "$as_me:$LINENO: checking for $ac_word" >&5
4048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4049 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4050 echo $ECHO_N "(cached) $ECHO_C" >&6
4052 if test -n "$ac_ct_STRIP"; then
4053 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4059 test -z "$as_dir" && as_dir
=.
4060 for ac_exec_ext
in '' $ac_executable_extensions; do
4061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4062 ac_cv_prog_ac_ct_STRIP
="strip"
4063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4069 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
4072 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4073 if test -n "$ac_ct_STRIP"; then
4074 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4075 echo "${ECHO_T}$ac_ct_STRIP" >&6
4077 echo "$as_me:$LINENO: result: no" >&5
4078 echo "${ECHO_T}no" >&6
4083 STRIP
="$ac_cv_prog_STRIP"
4087 # Check for any special flags to pass to ltconfig.
4088 libtool_flags
="--cache-file=$cache_file"
4089 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4090 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4091 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4092 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4093 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4096 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4097 if test "${enable_libtool_lock+set}" = set; then
4098 enableval
="$enable_libtool_lock"
4101 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4102 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4105 # Check whether --with-pic or --without-pic was given.
4106 if test "${with_pic+set}" = set; then
4112 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4113 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4115 # Some flags need to be propagated to the compiler or linker for good
4119 # Find out which ABI we are using.
4120 echo '#line 4120 "configure"' > conftest.
$ac_ext
4121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4122 (eval $ac_compile) 2>&5
4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4125 (exit $ac_status); }; then
4126 if test "$lt_cv_prog_gnu_ld" = yes; then
4127 case `/usr/bin/file conftest.$ac_objext` in
4129 LD
="${LD-ld} -melf32bsmip"
4132 LD
="${LD-ld} -melf32bmipn32"
4135 LD
="${LD-ld} -melf64bmip"
4139 case `/usr/bin/file conftest.$ac_objext` in
4156 # Find out which ABI we are using.
4157 echo 'int i;' > conftest.
$ac_ext
4158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4159 (eval $ac_compile) 2>&5
4161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4162 (exit $ac_status); }; then
4163 case "`/usr/bin/file conftest.o`" in
4175 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4176 # Find out which ABI we are using.
4177 echo 'int i;' > conftest.
$ac_ext
4178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4179 (eval $ac_compile) 2>&5
4181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182 (exit $ac_status); }; then
4183 case "`/usr/bin/file conftest.o`" in
4187 LD
="${LD-ld} -m elf_i386"
4189 ppc64-
*linux
*|powerpc64-
*linux
*)
4190 LD
="${LD-ld} -m elf32ppclinux"
4193 LD
="${LD-ld} -m elf_s390"
4196 LD
="${LD-ld} -m elf32_sparc"
4203 LD
="${LD-ld} -m elf_x86_64"
4205 ppc
*-*linux
*|powerpc
*-*linux
*)
4206 LD
="${LD-ld} -m elf64ppc"
4209 LD
="${LD-ld} -m elf64_s390"
4212 LD
="${LD-ld} -m elf64_sparc"
4222 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4223 SAVE_CFLAGS
="$CFLAGS"
4224 CFLAGS
="$CFLAGS -belf"
4225 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4226 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4227 if test "${lt_cv_cc_needs_belf+set}" = set; then
4228 echo $ECHO_N "(cached) $ECHO_C" >&6
4233 ac_cpp
='$CPP $CPPFLAGS'
4234 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4235 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4236 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4238 if test x
$gcc_no_link = xyes
; then
4239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4241 { (exit 1); exit 1; }; }
4243 cat >conftest.
$ac_ext <<_ACEOF
4246 cat confdefs.h
>>conftest.
$ac_ext
4247 cat >>conftest.
$ac_ext <<_ACEOF
4248 /* end confdefs.h. */
4258 rm -f conftest.
$ac_objext conftest
$ac_exeext
4259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4260 (eval $ac_link) 2>conftest.er1
4262 grep -v '^ *+' conftest.er1
>conftest.err
4264 cat conftest.err
>&5
4265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266 (exit $ac_status); } &&
4267 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272 (exit $ac_status); }; } &&
4273 { ac_try
='test -s conftest$ac_exeext'
4274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278 (exit $ac_status); }; }; then
4279 lt_cv_cc_needs_belf
=yes
4281 echo "$as_me: failed program was:" >&5
4282 sed 's/^/| /' conftest.
$ac_ext >&5
4284 lt_cv_cc_needs_belf
=no
4286 rm -f conftest.err conftest.
$ac_objext \
4287 conftest
$ac_exeext conftest.
$ac_ext
4289 ac_cpp
='$CPP $CPPFLAGS'
4290 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4291 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4292 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4295 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4296 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4297 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4298 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4299 CFLAGS
="$SAVE_CFLAGS"
4307 # Save cache, so that ltconfig can load it
4308 cat >confcache
<<\_ACEOF
4309 # This file is a shell script that caches the results of configure
4310 # tests run on this system so they can be shared between configure
4311 # scripts and configure runs, see configure's option --config-cache.
4312 # It is not useful on other systems. If it contains results you don't
4313 # want to keep, you may remove or edit it.
4315 # config.status only pays attention to the cache file if you give it
4316 # the --recheck option to rerun configure.
4318 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4319 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4324 # The following way of writing the cache mishandles newlines in values,
4325 # but we know of no workaround that is simple, portable, and efficient.
4326 # So, don't put newlines in cache variables' values.
4327 # Ultrix sh set writes to stderr and can't be redirected directly,
4328 # and sets the high bit in the cache file unless we assign to the vars.
4331 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4333 # `set' does not quote correctly, so add quotes (double-quote
4334 # substitution turns \\\\ into \\, and sed turns \\ into \).
4337 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4340 # `set' quotes correctly as required by POSIX, so do not add quotes.
4342 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4349 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4351 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4353 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4354 if test -w $cache_file; then
4355 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4356 cat confcache
>$cache_file
4358 echo "not updating unwritable cache $cache_file"
4363 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4364 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4365 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4366 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4367 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4368 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4369 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4370 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4371 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4372 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4373 echo "$as_me: error: libtool configure failed" >&2;}
4374 { (exit 1); exit 1; }; }
4376 # Reload cache, that may have been modified by ltconfig
4377 if test -r "$cache_file"; then
4378 # Some versions of bash will fail to source /dev/null (special
4379 # files actually), so we avoid doing that.
4380 if test -f "$cache_file"; then
4381 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4382 echo "$as_me: loading cache $cache_file" >&6;}
4384 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4385 *) . .
/$cache_file;;
4389 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4390 echo "$as_me: creating cache $cache_file" >&6;}
4395 # This can be used to rebuild libtool when needed
4396 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4398 # Always use our own libtool.
4399 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4401 # Redirect the config.log output again, so that the ltconfig log is not
4402 # clobbered by the next message.
4403 exec 5>>.
/config.log
4412 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4414 # We need gfortran to compile parts of the library
4415 # We can't use AC_PROG_FC because it expects a fully working gfortran.
4416 #AC_PROG_FC(gfortran)
4418 ac_ext
=${FC_SRCEXT-f}
4419 ac_compile
='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4420 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4421 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
4422 if test -n "$ac_tool_prefix"; then
4423 for ac_prog
in gfortran
4425 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4426 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4427 echo "$as_me:$LINENO: checking for $ac_word" >&5
4428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4429 if test "${ac_cv_prog_FC+set}" = set; then
4430 echo $ECHO_N "(cached) $ECHO_C" >&6
4432 if test -n "$FC"; then
4433 ac_cv_prog_FC
="$FC" # Let the user override the test.
4435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4439 test -z "$as_dir" && as_dir
=.
4440 for ac_exec_ext
in '' $ac_executable_extensions; do
4441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4442 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
4443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4452 if test -n "$FC"; then
4453 echo "$as_me:$LINENO: result: $FC" >&5
4454 echo "${ECHO_T}$FC" >&6
4456 echo "$as_me:$LINENO: result: no" >&5
4457 echo "${ECHO_T}no" >&6
4460 test -n "$FC" && break
4463 if test -z "$FC"; then
4465 for ac_prog
in gfortran
4467 # Extract the first word of "$ac_prog", so it can be a program name with args.
4468 set dummy
$ac_prog; ac_word
=$2
4469 echo "$as_me:$LINENO: checking for $ac_word" >&5
4470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4471 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4472 echo $ECHO_N "(cached) $ECHO_C" >&6
4474 if test -n "$ac_ct_FC"; then
4475 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
4477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4481 test -z "$as_dir" && as_dir
=.
4482 for ac_exec_ext
in '' $ac_executable_extensions; do
4483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4484 ac_cv_prog_ac_ct_FC
="$ac_prog"
4485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4493 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
4494 if test -n "$ac_ct_FC"; then
4495 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4496 echo "${ECHO_T}$ac_ct_FC" >&6
4498 echo "$as_me:$LINENO: result: no" >&5
4499 echo "${ECHO_T}no" >&6
4502 test -n "$ac_ct_FC" && break
4509 # Provide some information about the compiler.
4510 echo "$as_me:4510:" \
4511 "checking for Fortran compiler version" >&5
4512 ac_compiler
=`set X $ac_compile; echo $2`
4513 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4514 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4517 (exit $ac_status); }
4518 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4519 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4522 (exit $ac_status); }
4523 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4524 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); }
4530 # If we don't use `.F' as extension, the preprocessor is not run on the
4531 # input file. (Note that this only needs to work for GNU compilers.)
4534 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4535 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4536 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4537 echo $ECHO_N "(cached) $ECHO_C" >&6
4539 cat >conftest.
$ac_ext <<_ACEOF
4547 rm -f conftest.
$ac_objext
4548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4549 (eval $ac_compile) 2>conftest.er1
4551 grep -v '^ *+' conftest.er1
>conftest.err
4553 cat conftest.err
>&5
4554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4555 (exit $ac_status); } &&
4556 { ac_try
='test -z "$ac_fc_werror_flag" || test ! -s conftest.err'
4557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4561 (exit $ac_status); }; } &&
4562 { ac_try
='test -s conftest.$ac_objext'
4563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4567 (exit $ac_status); }; }; then
4570 echo "$as_me: failed program was:" >&5
4571 sed 's/^/| /' conftest.
$ac_ext >&5
4575 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4576 ac_cv_fc_compiler_gnu
=$ac_compiler_gnu
4579 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4580 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4582 ac_test_FFLAGS
=${FCFLAGS+set}
4583 ac_save_FFLAGS
=$FCFLAGS
4585 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4586 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4587 if test "${ac_cv_prog_fc_g+set}" = set; then
4588 echo $ECHO_N "(cached) $ECHO_C" >&6
4591 cat >conftest.
$ac_ext <<_ACEOF
4596 rm -f conftest.
$ac_objext
4597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4598 (eval $ac_compile) 2>conftest.er1
4600 grep -v '^ *+' conftest.er1
>conftest.err
4602 cat conftest.err
>&5
4603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604 (exit $ac_status); } &&
4605 { ac_try
='test -z "$ac_fc_werror_flag" || test ! -s conftest.err'
4606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610 (exit $ac_status); }; } &&
4611 { ac_try
='test -s conftest.$ac_objext'
4612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616 (exit $ac_status); }; }; then
4619 echo "$as_me: failed program was:" >&5
4620 sed 's/^/| /' conftest.
$ac_ext >&5
4624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4627 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4628 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4629 if test "$ac_test_FFLAGS" = set; then
4630 FCFLAGS
=$ac_save_FFLAGS
4631 elif test $ac_cv_prog_fc_g = yes; then
4632 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
4638 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
4646 ac_cpp
='$CPP $CPPFLAGS'
4647 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4648 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4649 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4651 FCFLAGS
="$FCFLAGS -Wall -fno-repack-arrays -fno-underscoring"
4653 # extra LD Flags which are required for targets
4656 # Darwin needs -single_module when linking libgfortran
4657 extra_ldflags_libgfortran
=-Wl,-single_module
4662 # Check whether --enable-largefile or --disable-largefile was given.
4663 if test "${enable_largefile+set}" = set; then
4664 enableval
="$enable_largefile"
4667 if test "$enable_largefile" != no
; then
4669 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4670 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4671 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4672 echo $ECHO_N "(cached) $ECHO_C" >&6
4674 ac_cv_sys_largefile_CC
=no
4675 if test "$GCC" != yes; then
4678 # IRIX 6.2 and later do not support large files by default,
4679 # so use the C compiler's -n32 option if that helps.
4680 cat >conftest.
$ac_ext <<_ACEOF
4683 cat confdefs.h
>>conftest.
$ac_ext
4684 cat >>conftest.
$ac_ext <<_ACEOF
4685 /* end confdefs.h. */
4686 #include <sys/types.h>
4687 /* Check that off_t can represent 2**63 - 1 correctly.
4688 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4689 since some C++ compilers masquerading as C compilers
4690 incorrectly reject 9223372036854775807. */
4691 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4692 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4693 && LARGE_OFF_T % 2147483647 == 1)
4703 rm -f conftest.
$ac_objext
4704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4705 (eval $ac_compile) 2>conftest.er1
4707 grep -v '^ *+' conftest.er1
>conftest.err
4709 cat conftest.err
>&5
4710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711 (exit $ac_status); } &&
4712 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4717 (exit $ac_status); }; } &&
4718 { ac_try
='test -s conftest.$ac_objext'
4719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4723 (exit $ac_status); }; }; then
4726 echo "$as_me: failed program was:" >&5
4727 sed 's/^/| /' conftest.
$ac_ext >&5
4730 rm -f conftest.err conftest.
$ac_objext
4732 rm -f conftest.
$ac_objext
4733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4734 (eval $ac_compile) 2>conftest.er1
4736 grep -v '^ *+' conftest.er1
>conftest.err
4738 cat conftest.err
>&5
4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 (exit $ac_status); } &&
4741 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); }; } &&
4747 { ac_try
='test -s conftest.$ac_objext'
4748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); }; }; then
4753 ac_cv_sys_largefile_CC
=' -n32'; break
4755 echo "$as_me: failed program was:" >&5
4756 sed 's/^/| /' conftest.
$ac_ext >&5
4759 rm -f conftest.err conftest.
$ac_objext
4763 rm -f conftest.
$ac_ext
4766 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4767 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4768 if test "$ac_cv_sys_largefile_CC" != no
; then
4769 CC
=$CC$ac_cv_sys_largefile_CC
4772 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4773 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4774 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4775 echo $ECHO_N "(cached) $ECHO_C" >&6
4778 ac_cv_sys_file_offset_bits
=no
4779 cat >conftest.
$ac_ext <<_ACEOF
4782 cat confdefs.h
>>conftest.
$ac_ext
4783 cat >>conftest.
$ac_ext <<_ACEOF
4784 /* end confdefs.h. */
4785 #include <sys/types.h>
4786 /* Check that off_t can represent 2**63 - 1 correctly.
4787 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4788 since some C++ compilers masquerading as C compilers
4789 incorrectly reject 9223372036854775807. */
4790 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4791 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4792 && LARGE_OFF_T % 2147483647 == 1)
4802 rm -f conftest.
$ac_objext
4803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4804 (eval $ac_compile) 2>conftest.er1
4806 grep -v '^ *+' conftest.er1
>conftest.err
4808 cat conftest.err
>&5
4809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4810 (exit $ac_status); } &&
4811 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816 (exit $ac_status); }; } &&
4817 { ac_try
='test -s conftest.$ac_objext'
4818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822 (exit $ac_status); }; }; then
4825 echo "$as_me: failed program was:" >&5
4826 sed 's/^/| /' conftest.
$ac_ext >&5
4829 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4830 cat >conftest.
$ac_ext <<_ACEOF
4833 cat confdefs.h
>>conftest.
$ac_ext
4834 cat >>conftest.
$ac_ext <<_ACEOF
4835 /* end confdefs.h. */
4836 #define _FILE_OFFSET_BITS 64
4837 #include <sys/types.h>
4838 /* Check that off_t can represent 2**63 - 1 correctly.
4839 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4840 since some C++ compilers masquerading as C compilers
4841 incorrectly reject 9223372036854775807. */
4842 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4843 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4844 && LARGE_OFF_T % 2147483647 == 1)
4854 rm -f conftest.
$ac_objext
4855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4856 (eval $ac_compile) 2>conftest.er1
4858 grep -v '^ *+' conftest.er1
>conftest.err
4860 cat conftest.err
>&5
4861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4862 (exit $ac_status); } &&
4863 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4868 (exit $ac_status); }; } &&
4869 { ac_try
='test -s conftest.$ac_objext'
4870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); }; }; then
4875 ac_cv_sys_file_offset_bits
=64; break
4877 echo "$as_me: failed program was:" >&5
4878 sed 's/^/| /' conftest.
$ac_ext >&5
4881 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4885 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4886 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4887 if test "$ac_cv_sys_file_offset_bits" != no
; then
4889 cat >>confdefs.h
<<_ACEOF
4890 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4895 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4896 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4897 if test "${ac_cv_sys_large_files+set}" = set; then
4898 echo $ECHO_N "(cached) $ECHO_C" >&6
4901 ac_cv_sys_large_files
=no
4902 cat >conftest.
$ac_ext <<_ACEOF
4905 cat confdefs.h
>>conftest.
$ac_ext
4906 cat >>conftest.
$ac_ext <<_ACEOF
4907 /* end confdefs.h. */
4908 #include <sys/types.h>
4909 /* Check that off_t can represent 2**63 - 1 correctly.
4910 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4911 since some C++ compilers masquerading as C compilers
4912 incorrectly reject 9223372036854775807. */
4913 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4914 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4915 && LARGE_OFF_T % 2147483647 == 1)
4925 rm -f conftest.
$ac_objext
4926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4927 (eval $ac_compile) 2>conftest.er1
4929 grep -v '^ *+' conftest.er1
>conftest.err
4931 cat conftest.err
>&5
4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 (exit $ac_status); } &&
4934 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); }; } &&
4940 { ac_try
='test -s conftest.$ac_objext'
4941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4945 (exit $ac_status); }; }; then
4948 echo "$as_me: failed program was:" >&5
4949 sed 's/^/| /' conftest.
$ac_ext >&5
4952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4953 cat >conftest.
$ac_ext <<_ACEOF
4956 cat confdefs.h
>>conftest.
$ac_ext
4957 cat >>conftest.
$ac_ext <<_ACEOF
4958 /* end confdefs.h. */
4959 #define _LARGE_FILES 1
4960 #include <sys/types.h>
4961 /* Check that off_t can represent 2**63 - 1 correctly.
4962 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4963 since some C++ compilers masquerading as C compilers
4964 incorrectly reject 9223372036854775807. */
4965 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4966 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4967 && LARGE_OFF_T % 2147483647 == 1)
4977 rm -f conftest.
$ac_objext
4978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4979 (eval $ac_compile) 2>conftest.er1
4981 grep -v '^ *+' conftest.er1
>conftest.err
4983 cat conftest.err
>&5
4984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4985 (exit $ac_status); } &&
4986 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4991 (exit $ac_status); }; } &&
4992 { ac_try
='test -s conftest.$ac_objext'
4993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4997 (exit $ac_status); }; }; then
4998 ac_cv_sys_large_files
=1; break
5000 echo "$as_me: failed program was:" >&5
5001 sed 's/^/| /' conftest.
$ac_ext >&5
5004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5008 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5009 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5010 if test "$ac_cv_sys_large_files" != no
; then
5012 cat >>confdefs.h
<<_ACEOF
5013 #define _LARGE_FILES $ac_cv_sys_large_files
5020 if test x
$gcc_no_link = xyes
; then
5021 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset
; then
5022 ac_cv_func_mmap_fixed_mapped
=no
5025 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno
; then
5027 ac_cpp
='$CPP $CPPFLAGS'
5028 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5029 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5030 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5031 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5032 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5033 # On Suns, sometimes $CPP names a directory.
5034 if test -n "$CPP" && test -d "$CPP"; then
5037 if test -z "$CPP"; then
5038 if test "${ac_cv_prog_CPP+set}" = set; then
5039 echo $ECHO_N "(cached) $ECHO_C" >&6
5041 # Double quotes because CPP needs to be expanded
5042 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5045 for ac_c_preproc_warn_flag
in '' yes
5047 # Use a header file that comes with gcc, so configuring glibc
5048 # with a fresh cross-compiler works.
5049 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5050 # <limits.h> exists even on freestanding compilers.
5051 # On the NeXT, cc -E runs the code through the compiler's parser,
5052 # not just through cpp. "Syntax error" is here to catch this case.
5053 cat >conftest.
$ac_ext <<_ACEOF
5056 cat confdefs.h
>>conftest.
$ac_ext
5057 cat >>conftest.
$ac_ext <<_ACEOF
5058 /* end confdefs.h. */
5060 # include <limits.h>
5062 # include <assert.h>
5066 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5067 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5069 grep -v '^ *+' conftest.er1
>conftest.err
5071 cat conftest.err
>&5
5072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073 (exit $ac_status); } >/dev
/null
; then
5074 if test -s conftest.err
; then
5075 ac_cpp_err
=$ac_c_preproc_warn_flag
5076 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5083 if test -z "$ac_cpp_err"; then
5086 echo "$as_me: failed program was:" >&5
5087 sed 's/^/| /' conftest.
$ac_ext >&5
5089 # Broken: fails on valid input.
5092 rm -f conftest.err conftest.
$ac_ext
5094 # OK, works on sane cases. Now check whether non-existent headers
5095 # can be detected and how.
5096 cat >conftest.
$ac_ext <<_ACEOF
5099 cat confdefs.h
>>conftest.
$ac_ext
5100 cat >>conftest.
$ac_ext <<_ACEOF
5101 /* end confdefs.h. */
5102 #include <ac_nonexistent.h>
5104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5105 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5107 grep -v '^ *+' conftest.er1
>conftest.err
5109 cat conftest.err
>&5
5110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5111 (exit $ac_status); } >/dev
/null
; then
5112 if test -s conftest.err
; then
5113 ac_cpp_err
=$ac_c_preproc_warn_flag
5114 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5121 if test -z "$ac_cpp_err"; then
5122 # Broken: success on invalid input.
5125 echo "$as_me: failed program was:" >&5
5126 sed 's/^/| /' conftest.
$ac_ext >&5
5128 # Passes both tests.
5132 rm -f conftest.err conftest.
$ac_ext
5135 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5136 rm -f conftest.err conftest.
$ac_ext
5137 if $ac_preproc_ok; then
5149 echo "$as_me:$LINENO: result: $CPP" >&5
5150 echo "${ECHO_T}$CPP" >&6
5152 for ac_c_preproc_warn_flag
in '' yes
5154 # Use a header file that comes with gcc, so configuring glibc
5155 # with a fresh cross-compiler works.
5156 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5157 # <limits.h> exists even on freestanding compilers.
5158 # On the NeXT, cc -E runs the code through the compiler's parser,
5159 # not just through cpp. "Syntax error" is here to catch this case.
5160 cat >conftest.
$ac_ext <<_ACEOF
5163 cat confdefs.h
>>conftest.
$ac_ext
5164 cat >>conftest.
$ac_ext <<_ACEOF
5165 /* end confdefs.h. */
5167 # include <limits.h>
5169 # include <assert.h>
5173 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5174 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5176 grep -v '^ *+' conftest.er1
>conftest.err
5178 cat conftest.err
>&5
5179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5180 (exit $ac_status); } >/dev
/null
; then
5181 if test -s conftest.err
; then
5182 ac_cpp_err
=$ac_c_preproc_warn_flag
5183 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5190 if test -z "$ac_cpp_err"; then
5193 echo "$as_me: failed program was:" >&5
5194 sed 's/^/| /' conftest.
$ac_ext >&5
5196 # Broken: fails on valid input.
5199 rm -f conftest.err conftest.
$ac_ext
5201 # OK, works on sane cases. Now check whether non-existent headers
5202 # can be detected and how.
5203 cat >conftest.
$ac_ext <<_ACEOF
5206 cat confdefs.h
>>conftest.
$ac_ext
5207 cat >>conftest.
$ac_ext <<_ACEOF
5208 /* end confdefs.h. */
5209 #include <ac_nonexistent.h>
5211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5212 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5214 grep -v '^ *+' conftest.er1
>conftest.err
5216 cat conftest.err
>&5
5217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5218 (exit $ac_status); } >/dev
/null
; then
5219 if test -s conftest.err
; then
5220 ac_cpp_err
=$ac_c_preproc_warn_flag
5221 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5228 if test -z "$ac_cpp_err"; then
5229 # Broken: success on invalid input.
5232 echo "$as_me: failed program was:" >&5
5233 sed 's/^/| /' conftest.
$ac_ext >&5
5235 # Passes both tests.
5239 rm -f conftest.err conftest.
$ac_ext
5242 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5243 rm -f conftest.err conftest.
$ac_ext
5244 if $ac_preproc_ok; then
5247 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5248 See \`config.log' for more details." >&5
5249 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5250 See \`config.log' for more details." >&2;}
5251 { (exit 1); exit 1; }; }
5255 ac_cpp
='$CPP $CPPFLAGS'
5256 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5257 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5258 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5261 echo "$as_me:$LINENO: checking for egrep" >&5
5262 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5263 if test "${ac_cv_prog_egrep+set}" = set; then
5264 echo $ECHO_N "(cached) $ECHO_C" >&6
5266 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5267 then ac_cv_prog_egrep
='grep -E'
5268 else ac_cv_prog_egrep
='egrep'
5271 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5272 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5273 EGREP
=$ac_cv_prog_egrep
5276 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5277 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5278 if test "${ac_cv_header_stdc+set}" = set; then
5279 echo $ECHO_N "(cached) $ECHO_C" >&6
5281 cat >conftest.
$ac_ext <<_ACEOF
5284 cat confdefs.h
>>conftest.
$ac_ext
5285 cat >>conftest.
$ac_ext <<_ACEOF
5286 /* end confdefs.h. */
5300 rm -f conftest.
$ac_objext
5301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5302 (eval $ac_compile) 2>conftest.er1
5304 grep -v '^ *+' conftest.er1
>conftest.err
5306 cat conftest.err
>&5
5307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5308 (exit $ac_status); } &&
5309 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5314 (exit $ac_status); }; } &&
5315 { ac_try
='test -s conftest.$ac_objext'
5316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5320 (exit $ac_status); }; }; then
5321 ac_cv_header_stdc
=yes
5323 echo "$as_me: failed program was:" >&5
5324 sed 's/^/| /' conftest.
$ac_ext >&5
5326 ac_cv_header_stdc
=no
5328 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5330 if test $ac_cv_header_stdc = yes; then
5331 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5332 cat >conftest.
$ac_ext <<_ACEOF
5335 cat confdefs.h
>>conftest.
$ac_ext
5336 cat >>conftest.
$ac_ext <<_ACEOF
5337 /* end confdefs.h. */
5341 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5342 $EGREP "memchr" >/dev
/null
2>&1; then
5345 ac_cv_header_stdc
=no
5351 if test $ac_cv_header_stdc = yes; then
5352 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5353 cat >conftest.
$ac_ext <<_ACEOF
5356 cat confdefs.h
>>conftest.
$ac_ext
5357 cat >>conftest.
$ac_ext <<_ACEOF
5358 /* end confdefs.h. */
5362 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5363 $EGREP "free" >/dev
/null
2>&1; then
5366 ac_cv_header_stdc
=no
5372 if test $ac_cv_header_stdc = yes; then
5373 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5374 if test "$cross_compiling" = yes; then
5377 cat >conftest.
$ac_ext <<_ACEOF
5380 cat confdefs.h
>>conftest.
$ac_ext
5381 cat >>conftest.
$ac_ext <<_ACEOF
5382 /* end confdefs.h. */
5384 #if ((' ' & 0x0FF) == 0x020)
5385 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5386 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5388 # define ISLOWER(c) \
5389 (('a' <= (c) && (c) <= 'i') \
5390 || ('j' <= (c) && (c) <= 'r') \
5391 || ('s' <= (c) && (c) <= 'z'))
5392 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5395 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5400 for (i = 0; i < 256; i++)
5401 if (XOR (islower (i), ISLOWER (i))
5402 || toupper (i) != TOUPPER (i))
5407 rm -f conftest
$ac_exeext
5408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5409 (eval $ac_link) 2>&5
5411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5412 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417 (exit $ac_status); }; }; then
5420 echo "$as_me: program exited with status $ac_status" >&5
5421 echo "$as_me: failed program was:" >&5
5422 sed 's/^/| /' conftest.
$ac_ext >&5
5425 ac_cv_header_stdc
=no
5427 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5431 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5432 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5433 if test $ac_cv_header_stdc = yes; then
5435 cat >>confdefs.h
<<\_ACEOF
5436 #define STDC_HEADERS 1
5441 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5451 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5452 inttypes.h stdint.h unistd.h
5454 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5455 echo "$as_me:$LINENO: checking for $ac_header" >&5
5456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5458 echo $ECHO_N "(cached) $ECHO_C" >&6
5460 cat >conftest.
$ac_ext <<_ACEOF
5463 cat confdefs.h
>>conftest.
$ac_ext
5464 cat >>conftest.
$ac_ext <<_ACEOF
5465 /* end confdefs.h. */
5466 $ac_includes_default
5468 #include <$ac_header>
5470 rm -f conftest.
$ac_objext
5471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5472 (eval $ac_compile) 2>conftest.er1
5474 grep -v '^ *+' conftest.er1
>conftest.err
5476 cat conftest.err
>&5
5477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5478 (exit $ac_status); } &&
5479 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5484 (exit $ac_status); }; } &&
5485 { ac_try
='test -s conftest.$ac_objext'
5486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490 (exit $ac_status); }; }; then
5491 eval "$as_ac_Header=yes"
5493 echo "$as_me: failed program was:" >&5
5494 sed 's/^/| /' conftest.
$ac_ext >&5
5496 eval "$as_ac_Header=no"
5498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5502 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5503 cat >>confdefs.h
<<_ACEOF
5504 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5514 for ac_header
in stdlib.h unistd.h
5516 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5518 echo "$as_me:$LINENO: checking for $ac_header" >&5
5519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5521 echo $ECHO_N "(cached) $ECHO_C" >&6
5523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5524 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5526 # Is the header compilable?
5527 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5528 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5529 cat >conftest.
$ac_ext <<_ACEOF
5532 cat confdefs.h
>>conftest.
$ac_ext
5533 cat >>conftest.
$ac_ext <<_ACEOF
5534 /* end confdefs.h. */
5535 $ac_includes_default
5536 #include <$ac_header>
5538 rm -f conftest.
$ac_objext
5539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5540 (eval $ac_compile) 2>conftest.er1
5542 grep -v '^ *+' conftest.er1
>conftest.err
5544 cat conftest.err
>&5
5545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5546 (exit $ac_status); } &&
5547 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5552 (exit $ac_status); }; } &&
5553 { ac_try
='test -s conftest.$ac_objext'
5554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5558 (exit $ac_status); }; }; then
5559 ac_header_compiler
=yes
5561 echo "$as_me: failed program was:" >&5
5562 sed 's/^/| /' conftest.
$ac_ext >&5
5564 ac_header_compiler
=no
5566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5567 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5568 echo "${ECHO_T}$ac_header_compiler" >&6
5570 # Is the header present?
5571 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5572 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5573 cat >conftest.
$ac_ext <<_ACEOF
5576 cat confdefs.h
>>conftest.
$ac_ext
5577 cat >>conftest.
$ac_ext <<_ACEOF
5578 /* end confdefs.h. */
5579 #include <$ac_header>
5581 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5582 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5584 grep -v '^ *+' conftest.er1
>conftest.err
5586 cat conftest.err
>&5
5587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5588 (exit $ac_status); } >/dev
/null
; then
5589 if test -s conftest.err
; then
5590 ac_cpp_err
=$ac_c_preproc_warn_flag
5591 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5598 if test -z "$ac_cpp_err"; then
5599 ac_header_preproc
=yes
5601 echo "$as_me: failed program was:" >&5
5602 sed 's/^/| /' conftest.
$ac_ext >&5
5604 ac_header_preproc
=no
5606 rm -f conftest.err conftest.
$ac_ext
5607 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5608 echo "${ECHO_T}$ac_header_preproc" >&6
5610 # So? What about this header?
5611 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5613 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5614 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5616 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5617 ac_header_preproc
=yes
5620 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5621 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5622 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5623 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5624 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5625 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5626 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5627 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5628 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5629 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5630 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5631 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5634 ## ------------------------------------------------------ ##
5635 ## Report this to the GNU Fortran Runtime Library lists. ##
5636 ## ------------------------------------------------------ ##
5639 sed "s/^/$as_me: WARNING: /" >&2
5642 echo "$as_me:$LINENO: checking for $ac_header" >&5
5643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5645 echo $ECHO_N "(cached) $ECHO_C" >&6
5647 eval "$as_ac_Header=\$ac_header_preproc"
5649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5650 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5653 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5654 cat >>confdefs.h
<<_ACEOF
5655 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5663 for ac_func
in getpagesize
5665 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5666 echo "$as_me:$LINENO: checking for $ac_func" >&5
5667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5668 if eval "test \"\${$as_ac_var+set}\" = set"; then
5669 echo $ECHO_N "(cached) $ECHO_C" >&6
5671 if test x
$gcc_no_link = xyes
; then
5672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5674 { (exit 1); exit 1; }; }
5676 cat >conftest.
$ac_ext <<_ACEOF
5679 cat confdefs.h
>>conftest.
$ac_ext
5680 cat >>conftest.
$ac_ext <<_ACEOF
5681 /* end confdefs.h. */
5682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5684 #define $ac_func innocuous_$ac_func
5686 /* System header to define __stub macros and hopefully few prototypes,
5687 which can conflict with char $ac_func (); below.
5688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5689 <limits.h> exists even on freestanding compilers. */
5692 # include <limits.h>
5694 # include <assert.h>
5699 /* Override any gcc2 internal prototype to avoid an error. */
5704 /* We use char because int might match the return type of a gcc2
5705 builtin and then its argument prototype would still apply. */
5707 /* The GNU C library defines this for functions which it implements
5708 to always fail with ENOSYS. Some functions are actually named
5709 something starting with __ and the normal name is an alias. */
5710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5713 char (*f) () = $ac_func;
5722 return f != $ac_func;
5727 rm -f conftest.
$ac_objext conftest
$ac_exeext
5728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5729 (eval $ac_link) 2>conftest.er1
5731 grep -v '^ *+' conftest.er1
>conftest.err
5733 cat conftest.err
>&5
5734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5735 (exit $ac_status); } &&
5736 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5741 (exit $ac_status); }; } &&
5742 { ac_try
='test -s conftest$ac_exeext'
5743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747 (exit $ac_status); }; }; then
5748 eval "$as_ac_var=yes"
5750 echo "$as_me: failed program was:" >&5
5751 sed 's/^/| /' conftest.
$ac_ext >&5
5753 eval "$as_ac_var=no"
5755 rm -f conftest.err conftest.
$ac_objext \
5756 conftest
$ac_exeext conftest.
$ac_ext
5758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5760 if test `eval echo '${'$as_ac_var'}'` = yes; then
5761 cat >>confdefs.h
<<_ACEOF
5762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5768 echo "$as_me:$LINENO: checking for working mmap" >&5
5769 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5770 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5771 echo $ECHO_N "(cached) $ECHO_C" >&6
5773 if test "$cross_compiling" = yes; then
5774 ac_cv_func_mmap_fixed_mapped
=no
5776 cat >conftest.
$ac_ext <<_ACEOF
5779 cat confdefs.h
>>conftest.
$ac_ext
5780 cat >>conftest.
$ac_ext <<_ACEOF
5781 /* end confdefs.h. */
5782 $ac_includes_default
5783 /* malloc might have been renamed as rpl_malloc. */
5786 /* Thanks to Mike Haertel and Jim Avera for this test.
5787 Here is a matrix of mmap possibilities:
5788 mmap private not fixed
5789 mmap private fixed at somewhere currently unmapped
5790 mmap private fixed at somewhere already mapped
5791 mmap shared not fixed
5792 mmap shared fixed at somewhere currently unmapped
5793 mmap shared fixed at somewhere already mapped
5794 For private mappings, we should verify that changes cannot be read()
5795 back from the file, nor mmap's back from the file at a different
5796 address. (There have been systems where private was not correctly
5797 implemented like the infamous i386 svr4.0, and systems where the
5798 VM page cache was not coherent with the file system buffer cache
5799 like early versions of FreeBSD and possibly contemporary NetBSD.)
5800 For shared mappings, we should conversely verify that changes get
5801 propagated back to all the places they're supposed to be.
5803 Grep wants private fixed already mapped.
5804 The main things grep needs to know about mmap are:
5805 * does it exist and is it safe to write into the mmap'd area
5806 * how to use it (BSD variants) */
5809 #include <sys/mman.h>
5811 #if !STDC_HEADERS && !HAVE_STDLIB_H
5815 /* This mess was copied from the GNU getpagesize.h. */
5816 #if !HAVE_GETPAGESIZE
5817 /* Assume that all systems that can run configure have sys/param.h. */
5818 # if !HAVE_SYS_PARAM_H
5819 # define HAVE_SYS_PARAM_H 1
5822 # ifdef _SC_PAGESIZE
5823 # define getpagesize() sysconf(_SC_PAGESIZE)
5824 # else /* no _SC_PAGESIZE */
5825 # if HAVE_SYS_PARAM_H
5826 # include <sys/param.h>
5827 # ifdef EXEC_PAGESIZE
5828 # define getpagesize() EXEC_PAGESIZE
5829 # else /* no EXEC_PAGESIZE */
5831 # define getpagesize() NBPG * CLSIZE
5834 # endif /* no CLSIZE */
5835 # else /* no NBPG */
5837 # define getpagesize() NBPC
5838 # else /* no NBPC */
5840 # define getpagesize() PAGESIZE
5841 # endif /* PAGESIZE */
5842 # endif /* no NBPC */
5843 # endif /* no NBPG */
5844 # endif /* no EXEC_PAGESIZE */
5845 # else /* no HAVE_SYS_PARAM_H */
5846 # define getpagesize() 8192 /* punt totally */
5847 # endif /* no HAVE_SYS_PARAM_H */
5848 # endif /* no _SC_PAGESIZE */
5850 #endif /* no HAVE_GETPAGESIZE */
5855 char *data, *data2, *data3;
5859 pagesize = getpagesize ();
5861 /* First, make a file with some known garbage in it. */
5862 data = (char *) malloc (pagesize);
5865 for (i = 0; i < pagesize; ++i)
5866 *(data + i) = rand ();
5868 fd = creat ("conftest.mmap", 0600);
5871 if (write (fd, data, pagesize) != pagesize)
5875 /* Next, try to mmap the file at a fixed address which already has
5876 something else allocated at it. If we can, also make sure that
5877 we see the same garbage. */
5878 fd = open ("conftest.mmap", O_RDWR);
5881 data2 = (char *) malloc (2 * pagesize);
5884 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5885 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5886 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5888 for (i = 0; i < pagesize; ++i)
5889 if (*(data + i) != *(data2 + i))
5892 /* Finally, make sure that changes to the mapped area do not
5893 percolate back to the file as seen by read(). (This is a bug on
5894 some variants of i386 svr4.0.) */
5895 for (i = 0; i < pagesize; ++i)
5896 *(data2 + i) = *(data2 + i) + 1;
5897 data3 = (char *) malloc (pagesize);
5900 if (read (fd, data3, pagesize) != pagesize)
5902 for (i = 0; i < pagesize; ++i)
5903 if (*(data + i) != *(data3 + i))
5909 rm -f conftest
$ac_exeext
5910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5911 (eval $ac_link) 2>&5
5913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5914 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); }; }; then
5920 ac_cv_func_mmap_fixed_mapped
=yes
5922 echo "$as_me: program exited with status $ac_status" >&5
5923 echo "$as_me: failed program was:" >&5
5924 sed 's/^/| /' conftest.
$ac_ext >&5
5927 ac_cv_func_mmap_fixed_mapped
=no
5929 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5932 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5933 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5934 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5936 cat >>confdefs.h
<<\_ACEOF
5944 echo "$as_me:$LINENO: checking for off_t" >&5
5945 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5946 if test "${ac_cv_type_off_t+set}" = set; then
5947 echo $ECHO_N "(cached) $ECHO_C" >&6
5949 cat >conftest.
$ac_ext <<_ACEOF
5952 cat confdefs.h
>>conftest.
$ac_ext
5953 cat >>conftest.
$ac_ext <<_ACEOF
5954 /* end confdefs.h. */
5955 $ac_includes_default
5967 rm -f conftest.
$ac_objext
5968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5969 (eval $ac_compile) 2>conftest.er1
5971 grep -v '^ *+' conftest.er1
>conftest.err
5973 cat conftest.err
>&5
5974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5975 (exit $ac_status); } &&
5976 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5981 (exit $ac_status); }; } &&
5982 { ac_try
='test -s conftest.$ac_objext'
5983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5987 (exit $ac_status); }; }; then
5988 ac_cv_type_off_t
=yes
5990 echo "$as_me: failed program was:" >&5
5991 sed 's/^/| /' conftest.
$ac_ext >&5
5995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5997 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5998 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5999 if test $ac_cv_type_off_t = yes; then
6003 cat >>confdefs.h
<<_ACEOF
6010 # check header files
6011 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6012 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6013 if test "${ac_cv_header_stdc+set}" = set; then
6014 echo $ECHO_N "(cached) $ECHO_C" >&6
6016 cat >conftest.
$ac_ext <<_ACEOF
6019 cat confdefs.h
>>conftest.
$ac_ext
6020 cat >>conftest.
$ac_ext <<_ACEOF
6021 /* end confdefs.h. */
6035 rm -f conftest.
$ac_objext
6036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6037 (eval $ac_compile) 2>conftest.er1
6039 grep -v '^ *+' conftest.er1
>conftest.err
6041 cat conftest.err
>&5
6042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6043 (exit $ac_status); } &&
6044 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6049 (exit $ac_status); }; } &&
6050 { ac_try
='test -s conftest.$ac_objext'
6051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6055 (exit $ac_status); }; }; then
6056 ac_cv_header_stdc
=yes
6058 echo "$as_me: failed program was:" >&5
6059 sed 's/^/| /' conftest.
$ac_ext >&5
6061 ac_cv_header_stdc
=no
6063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6065 if test $ac_cv_header_stdc = yes; then
6066 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6067 cat >conftest.
$ac_ext <<_ACEOF
6070 cat confdefs.h
>>conftest.
$ac_ext
6071 cat >>conftest.
$ac_ext <<_ACEOF
6072 /* end confdefs.h. */
6076 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6077 $EGREP "memchr" >/dev
/null
2>&1; then
6080 ac_cv_header_stdc
=no
6086 if test $ac_cv_header_stdc = yes; then
6087 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6088 cat >conftest.
$ac_ext <<_ACEOF
6091 cat confdefs.h
>>conftest.
$ac_ext
6092 cat >>conftest.
$ac_ext <<_ACEOF
6093 /* end confdefs.h. */
6097 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6098 $EGREP "free" >/dev
/null
2>&1; then
6101 ac_cv_header_stdc
=no
6107 if test $ac_cv_header_stdc = yes; then
6108 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6109 if test "$cross_compiling" = yes; then
6112 cat >conftest.
$ac_ext <<_ACEOF
6115 cat confdefs.h
>>conftest.
$ac_ext
6116 cat >>conftest.
$ac_ext <<_ACEOF
6117 /* end confdefs.h. */
6119 #if ((' ' & 0x0FF) == 0x020)
6120 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6121 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6123 # define ISLOWER(c) \
6124 (('a' <= (c) && (c) <= 'i') \
6125 || ('j' <= (c) && (c) <= 'r') \
6126 || ('s' <= (c) && (c) <= 'z'))
6127 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6130 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6135 for (i = 0; i < 256; i++)
6136 if (XOR (islower (i), ISLOWER (i))
6137 || toupper (i) != TOUPPER (i))
6142 rm -f conftest
$ac_exeext
6143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6144 (eval $ac_link) 2>&5
6146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6147 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152 (exit $ac_status); }; }; then
6155 echo "$as_me: program exited with status $ac_status" >&5
6156 echo "$as_me: failed program was:" >&5
6157 sed 's/^/| /' conftest.
$ac_ext >&5
6160 ac_cv_header_stdc
=no
6162 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6166 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6167 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6168 if test $ac_cv_header_stdc = yes; then
6170 cat >>confdefs.h
<<\_ACEOF
6171 #define STDC_HEADERS 1
6183 for ac_header
in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
6185 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6186 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6187 echo "$as_me:$LINENO: checking for $ac_header" >&5
6188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6189 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6190 echo $ECHO_N "(cached) $ECHO_C" >&6
6192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6193 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6195 # Is the header compilable?
6196 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6197 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6198 cat >conftest.
$ac_ext <<_ACEOF
6201 cat confdefs.h
>>conftest.
$ac_ext
6202 cat >>conftest.
$ac_ext <<_ACEOF
6203 /* end confdefs.h. */
6204 $ac_includes_default
6205 #include <$ac_header>
6207 rm -f conftest.
$ac_objext
6208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6209 (eval $ac_compile) 2>conftest.er1
6211 grep -v '^ *+' conftest.er1
>conftest.err
6213 cat conftest.err
>&5
6214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6215 (exit $ac_status); } &&
6216 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); }; } &&
6222 { ac_try
='test -s conftest.$ac_objext'
6223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6227 (exit $ac_status); }; }; then
6228 ac_header_compiler
=yes
6230 echo "$as_me: failed program was:" >&5
6231 sed 's/^/| /' conftest.
$ac_ext >&5
6233 ac_header_compiler
=no
6235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6236 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6237 echo "${ECHO_T}$ac_header_compiler" >&6
6239 # Is the header present?
6240 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6241 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6242 cat >conftest.
$ac_ext <<_ACEOF
6245 cat confdefs.h
>>conftest.
$ac_ext
6246 cat >>conftest.
$ac_ext <<_ACEOF
6247 /* end confdefs.h. */
6248 #include <$ac_header>
6250 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6251 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6253 grep -v '^ *+' conftest.er1
>conftest.err
6255 cat conftest.err
>&5
6256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6257 (exit $ac_status); } >/dev
/null
; then
6258 if test -s conftest.err
; then
6259 ac_cpp_err
=$ac_c_preproc_warn_flag
6260 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6267 if test -z "$ac_cpp_err"; then
6268 ac_header_preproc
=yes
6270 echo "$as_me: failed program was:" >&5
6271 sed 's/^/| /' conftest.
$ac_ext >&5
6273 ac_header_preproc
=no
6275 rm -f conftest.err conftest.
$ac_ext
6276 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6277 echo "${ECHO_T}$ac_header_preproc" >&6
6279 # So? What about this header?
6280 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6282 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6283 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6284 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6285 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6286 ac_header_preproc
=yes
6289 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6290 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6291 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6292 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6293 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6294 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6295 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6296 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6298 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6299 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6300 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6303 ## ------------------------------------------------------ ##
6304 ## Report this to the GNU Fortran Runtime Library lists. ##
6305 ## ------------------------------------------------------ ##
6308 sed "s/^/$as_me: WARNING: /" >&2
6311 echo "$as_me:$LINENO: checking for $ac_header" >&5
6312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6314 echo $ECHO_N "(cached) $ECHO_C" >&6
6316 eval "$as_ac_Header=\$ac_header_preproc"
6318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6322 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6323 cat >>confdefs.h
<<_ACEOF
6324 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6336 for ac_header
in time.h sys
/params.h sys
/time.h sys
/times.h sys
/resource.h
6338 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6340 echo "$as_me:$LINENO: checking for $ac_header" >&5
6341 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6343 echo $ECHO_N "(cached) $ECHO_C" >&6
6345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6346 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6348 # Is the header compilable?
6349 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6350 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6351 cat >conftest.
$ac_ext <<_ACEOF
6354 cat confdefs.h
>>conftest.
$ac_ext
6355 cat >>conftest.
$ac_ext <<_ACEOF
6356 /* end confdefs.h. */
6357 $ac_includes_default
6358 #include <$ac_header>
6360 rm -f conftest.
$ac_objext
6361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6362 (eval $ac_compile) 2>conftest.er1
6364 grep -v '^ *+' conftest.er1
>conftest.err
6366 cat conftest.err
>&5
6367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6368 (exit $ac_status); } &&
6369 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6374 (exit $ac_status); }; } &&
6375 { ac_try
='test -s conftest.$ac_objext'
6376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6380 (exit $ac_status); }; }; then
6381 ac_header_compiler
=yes
6383 echo "$as_me: failed program was:" >&5
6384 sed 's/^/| /' conftest.
$ac_ext >&5
6386 ac_header_compiler
=no
6388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6389 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6390 echo "${ECHO_T}$ac_header_compiler" >&6
6392 # Is the header present?
6393 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6394 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6395 cat >conftest.
$ac_ext <<_ACEOF
6398 cat confdefs.h
>>conftest.
$ac_ext
6399 cat >>conftest.
$ac_ext <<_ACEOF
6400 /* end confdefs.h. */
6401 #include <$ac_header>
6403 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6404 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6406 grep -v '^ *+' conftest.er1
>conftest.err
6408 cat conftest.err
>&5
6409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6410 (exit $ac_status); } >/dev
/null
; then
6411 if test -s conftest.err
; then
6412 ac_cpp_err
=$ac_c_preproc_warn_flag
6413 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6420 if test -z "$ac_cpp_err"; then
6421 ac_header_preproc
=yes
6423 echo "$as_me: failed program was:" >&5
6424 sed 's/^/| /' conftest.
$ac_ext >&5
6426 ac_header_preproc
=no
6428 rm -f conftest.err conftest.
$ac_ext
6429 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6430 echo "${ECHO_T}$ac_header_preproc" >&6
6432 # So? What about this header?
6433 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6435 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6436 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6437 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6438 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6439 ac_header_preproc
=yes
6442 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6443 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6444 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6445 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6446 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6447 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6448 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6449 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6451 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6452 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6453 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6456 ## ------------------------------------------------------ ##
6457 ## Report this to the GNU Fortran Runtime Library lists. ##
6458 ## ------------------------------------------------------ ##
6461 sed "s/^/$as_me: WARNING: /" >&2
6464 echo "$as_me:$LINENO: checking for $ac_header" >&5
6465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6467 echo $ECHO_N "(cached) $ECHO_C" >&6
6469 eval "$as_ac_Header=\$ac_header_preproc"
6471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6475 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6476 cat >>confdefs.h
<<_ACEOF
6477 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6488 for ac_header
in sys
/mman.h sys
/types.h sys
/stat.h ieeefp.h
6490 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6492 echo "$as_me:$LINENO: checking for $ac_header" >&5
6493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6495 echo $ECHO_N "(cached) $ECHO_C" >&6
6497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6500 # Is the header compilable?
6501 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6502 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6503 cat >conftest.
$ac_ext <<_ACEOF
6506 cat confdefs.h
>>conftest.
$ac_ext
6507 cat >>conftest.
$ac_ext <<_ACEOF
6508 /* end confdefs.h. */
6509 $ac_includes_default
6510 #include <$ac_header>
6512 rm -f conftest.
$ac_objext
6513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6514 (eval $ac_compile) 2>conftest.er1
6516 grep -v '^ *+' conftest.er1
>conftest.err
6518 cat conftest.err
>&5
6519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6520 (exit $ac_status); } &&
6521 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6526 (exit $ac_status); }; } &&
6527 { ac_try
='test -s conftest.$ac_objext'
6528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532 (exit $ac_status); }; }; then
6533 ac_header_compiler
=yes
6535 echo "$as_me: failed program was:" >&5
6536 sed 's/^/| /' conftest.
$ac_ext >&5
6538 ac_header_compiler
=no
6540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6541 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6542 echo "${ECHO_T}$ac_header_compiler" >&6
6544 # Is the header present?
6545 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6546 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6547 cat >conftest.
$ac_ext <<_ACEOF
6550 cat confdefs.h
>>conftest.
$ac_ext
6551 cat >>conftest.
$ac_ext <<_ACEOF
6552 /* end confdefs.h. */
6553 #include <$ac_header>
6555 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6556 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6558 grep -v '^ *+' conftest.er1
>conftest.err
6560 cat conftest.err
>&5
6561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6562 (exit $ac_status); } >/dev
/null
; then
6563 if test -s conftest.err
; then
6564 ac_cpp_err
=$ac_c_preproc_warn_flag
6565 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6572 if test -z "$ac_cpp_err"; then
6573 ac_header_preproc
=yes
6575 echo "$as_me: failed program was:" >&5
6576 sed 's/^/| /' conftest.
$ac_ext >&5
6578 ac_header_preproc
=no
6580 rm -f conftest.err conftest.
$ac_ext
6581 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6582 echo "${ECHO_T}$ac_header_preproc" >&6
6584 # So? What about this header?
6585 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6587 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6588 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6590 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6591 ac_header_preproc
=yes
6594 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6595 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6596 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6597 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6598 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6599 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6600 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6601 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6603 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6604 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6605 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6608 ## ------------------------------------------------------ ##
6609 ## Report this to the GNU Fortran Runtime Library lists. ##
6610 ## ------------------------------------------------------ ##
6613 sed "s/^/$as_me: WARNING: /" >&2
6616 echo "$as_me:$LINENO: checking for $ac_header" >&5
6617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6619 echo $ECHO_N "(cached) $ECHO_C" >&6
6621 eval "$as_ac_Header=\$ac_header_preproc"
6623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6624 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6628 cat >>confdefs.h
<<_ACEOF
6629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6636 if test "${ac_cv_header_complex_h+set}" = set; then
6637 echo "$as_me:$LINENO: checking for complex.h" >&5
6638 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6639 if test "${ac_cv_header_complex_h+set}" = set; then
6640 echo $ECHO_N "(cached) $ECHO_C" >&6
6642 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6643 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6645 # Is the header compilable?
6646 echo "$as_me:$LINENO: checking complex.h usability" >&5
6647 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6648 cat >conftest.
$ac_ext <<_ACEOF
6651 cat confdefs.h
>>conftest.
$ac_ext
6652 cat >>conftest.
$ac_ext <<_ACEOF
6653 /* end confdefs.h. */
6654 $ac_includes_default
6655 #include <complex.h>
6657 rm -f conftest.
$ac_objext
6658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6659 (eval $ac_compile) 2>conftest.er1
6661 grep -v '^ *+' conftest.er1
>conftest.err
6663 cat conftest.err
>&5
6664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6665 (exit $ac_status); } &&
6666 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6671 (exit $ac_status); }; } &&
6672 { ac_try
='test -s conftest.$ac_objext'
6673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6677 (exit $ac_status); }; }; then
6678 ac_header_compiler
=yes
6680 echo "$as_me: failed program was:" >&5
6681 sed 's/^/| /' conftest.
$ac_ext >&5
6683 ac_header_compiler
=no
6685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6686 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6687 echo "${ECHO_T}$ac_header_compiler" >&6
6689 # Is the header present?
6690 echo "$as_me:$LINENO: checking complex.h presence" >&5
6691 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6692 cat >conftest.
$ac_ext <<_ACEOF
6695 cat confdefs.h
>>conftest.
$ac_ext
6696 cat >>conftest.
$ac_ext <<_ACEOF
6697 /* end confdefs.h. */
6698 #include <complex.h>
6700 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6701 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6703 grep -v '^ *+' conftest.er1
>conftest.err
6705 cat conftest.err
>&5
6706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707 (exit $ac_status); } >/dev
/null
; then
6708 if test -s conftest.err
; then
6709 ac_cpp_err
=$ac_c_preproc_warn_flag
6710 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6717 if test -z "$ac_cpp_err"; then
6718 ac_header_preproc
=yes
6720 echo "$as_me: failed program was:" >&5
6721 sed 's/^/| /' conftest.
$ac_ext >&5
6723 ac_header_preproc
=no
6725 rm -f conftest.err conftest.
$ac_ext
6726 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6727 echo "${ECHO_T}$ac_header_preproc" >&6
6729 # So? What about this header?
6730 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6732 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6733 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6734 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6735 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6736 ac_header_preproc
=yes
6739 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6740 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6741 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6742 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6743 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6744 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6745 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6746 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6747 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6748 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6749 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6750 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6753 ## ------------------------------------------------------ ##
6754 ## Report this to the GNU Fortran Runtime Library lists. ##
6755 ## ------------------------------------------------------ ##
6758 sed "s/^/$as_me: WARNING: /" >&2
6761 echo "$as_me:$LINENO: checking for complex.h" >&5
6762 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6763 if test "${ac_cv_header_complex_h+set}" = set; then
6764 echo $ECHO_N "(cached) $ECHO_C" >&6
6766 ac_cv_header_complex_h
=$ac_header_preproc
6768 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6769 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6772 if test $ac_cv_header_complex_h = yes; then
6774 cat >>confdefs.h
<<\_ACEOF
6775 #define HAVE_COMPLEX_H 1
6782 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6783 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
6784 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6785 echo $ECHO_N "(cached) $ECHO_C" >&6
6787 cat >conftest.
$ac_ext <<_ACEOF
6790 cat confdefs.h
>>conftest.
$ac_ext
6791 cat >>conftest.
$ac_ext <<_ACEOF
6792 /* end confdefs.h. */
6793 $ac_includes_default
6797 static struct stat ac_aggr;
6798 if (ac_aggr.st_blksize)
6804 rm -f conftest.
$ac_objext
6805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6806 (eval $ac_compile) 2>conftest.er1
6808 grep -v '^ *+' conftest.er1
>conftest.err
6810 cat conftest.err
>&5
6811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6812 (exit $ac_status); } &&
6813 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6818 (exit $ac_status); }; } &&
6819 { ac_try
='test -s conftest.$ac_objext'
6820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6824 (exit $ac_status); }; }; then
6825 ac_cv_member_struct_stat_st_blksize
=yes
6827 echo "$as_me: failed program was:" >&5
6828 sed 's/^/| /' conftest.
$ac_ext >&5
6830 cat >conftest.
$ac_ext <<_ACEOF
6833 cat confdefs.h
>>conftest.
$ac_ext
6834 cat >>conftest.
$ac_ext <<_ACEOF
6835 /* end confdefs.h. */
6836 $ac_includes_default
6840 static struct stat ac_aggr;
6841 if (sizeof ac_aggr.st_blksize)
6847 rm -f conftest.
$ac_objext
6848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6849 (eval $ac_compile) 2>conftest.er1
6851 grep -v '^ *+' conftest.er1
>conftest.err
6853 cat conftest.err
>&5
6854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6855 (exit $ac_status); } &&
6856 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6861 (exit $ac_status); }; } &&
6862 { ac_try
='test -s conftest.$ac_objext'
6863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6867 (exit $ac_status); }; }; then
6868 ac_cv_member_struct_stat_st_blksize
=yes
6870 echo "$as_me: failed program was:" >&5
6871 sed 's/^/| /' conftest.
$ac_ext >&5
6873 ac_cv_member_struct_stat_st_blksize
=no
6875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6879 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6880 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
6881 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6883 cat >>confdefs.h
<<_ACEOF
6884 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6890 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6891 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
6892 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6893 echo $ECHO_N "(cached) $ECHO_C" >&6
6895 cat >conftest.
$ac_ext <<_ACEOF
6898 cat confdefs.h
>>conftest.
$ac_ext
6899 cat >>conftest.
$ac_ext <<_ACEOF
6900 /* end confdefs.h. */
6901 $ac_includes_default
6905 static struct stat ac_aggr;
6906 if (ac_aggr.st_blocks)
6912 rm -f conftest.
$ac_objext
6913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6914 (eval $ac_compile) 2>conftest.er1
6916 grep -v '^ *+' conftest.er1
>conftest.err
6918 cat conftest.err
>&5
6919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6920 (exit $ac_status); } &&
6921 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6926 (exit $ac_status); }; } &&
6927 { ac_try
='test -s conftest.$ac_objext'
6928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6932 (exit $ac_status); }; }; then
6933 ac_cv_member_struct_stat_st_blocks
=yes
6935 echo "$as_me: failed program was:" >&5
6936 sed 's/^/| /' conftest.
$ac_ext >&5
6938 cat >conftest.
$ac_ext <<_ACEOF
6941 cat confdefs.h
>>conftest.
$ac_ext
6942 cat >>conftest.
$ac_ext <<_ACEOF
6943 /* end confdefs.h. */
6944 $ac_includes_default
6948 static struct stat ac_aggr;
6949 if (sizeof ac_aggr.st_blocks)
6955 rm -f conftest.
$ac_objext
6956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6957 (eval $ac_compile) 2>conftest.er1
6959 grep -v '^ *+' conftest.er1
>conftest.err
6961 cat conftest.err
>&5
6962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6963 (exit $ac_status); } &&
6964 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6969 (exit $ac_status); }; } &&
6970 { ac_try
='test -s conftest.$ac_objext'
6971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6975 (exit $ac_status); }; }; then
6976 ac_cv_member_struct_stat_st_blocks
=yes
6978 echo "$as_me: failed program was:" >&5
6979 sed 's/^/| /' conftest.
$ac_ext >&5
6981 ac_cv_member_struct_stat_st_blocks
=no
6983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6987 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6988 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
6989 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6991 cat >>confdefs.h
<<_ACEOF
6992 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6998 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6999 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
7000 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
7001 echo $ECHO_N "(cached) $ECHO_C" >&6
7003 cat >conftest.
$ac_ext <<_ACEOF
7006 cat confdefs.h
>>conftest.
$ac_ext
7007 cat >>conftest.
$ac_ext <<_ACEOF
7008 /* end confdefs.h. */
7009 $ac_includes_default
7013 static struct stat ac_aggr;
7014 if (ac_aggr.st_rdev)
7020 rm -f conftest.
$ac_objext
7021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7022 (eval $ac_compile) 2>conftest.er1
7024 grep -v '^ *+' conftest.er1
>conftest.err
7026 cat conftest.err
>&5
7027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7028 (exit $ac_status); } &&
7029 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7034 (exit $ac_status); }; } &&
7035 { ac_try
='test -s conftest.$ac_objext'
7036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7040 (exit $ac_status); }; }; then
7041 ac_cv_member_struct_stat_st_rdev
=yes
7043 echo "$as_me: failed program was:" >&5
7044 sed 's/^/| /' conftest.
$ac_ext >&5
7046 cat >conftest.
$ac_ext <<_ACEOF
7049 cat confdefs.h
>>conftest.
$ac_ext
7050 cat >>conftest.
$ac_ext <<_ACEOF
7051 /* end confdefs.h. */
7052 $ac_includes_default
7056 static struct stat ac_aggr;
7057 if (sizeof ac_aggr.st_rdev)
7063 rm -f conftest.
$ac_objext
7064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7065 (eval $ac_compile) 2>conftest.er1
7067 grep -v '^ *+' conftest.er1
>conftest.err
7069 cat conftest.err
>&5
7070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7071 (exit $ac_status); } &&
7072 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7077 (exit $ac_status); }; } &&
7078 { ac_try
='test -s conftest.$ac_objext'
7079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7083 (exit $ac_status); }; }; then
7084 ac_cv_member_struct_stat_st_rdev
=yes
7086 echo "$as_me: failed program was:" >&5
7087 sed 's/^/| /' conftest.
$ac_ext >&5
7089 ac_cv_member_struct_stat_st_rdev
=no
7091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7095 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
7096 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
7097 if test $ac_cv_member_struct_stat_st_rdev = yes; then
7099 cat >>confdefs.h
<<_ACEOF
7100 #define HAVE_STRUCT_STAT_ST_RDEV 1
7107 # Check for complex math functions
7108 echo "$as_me:$LINENO: checking for csin in -lm" >&5
7109 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
7110 if test "${ac_cv_lib_m_csin+set}" = set; then
7111 echo $ECHO_N "(cached) $ECHO_C" >&6
7113 ac_check_lib_save_LIBS
=$LIBS
7115 if test x
$gcc_no_link = xyes
; then
7116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7118 { (exit 1); exit 1; }; }
7120 cat >conftest.
$ac_ext <<_ACEOF
7123 cat confdefs.h
>>conftest.
$ac_ext
7124 cat >>conftest.
$ac_ext <<_ACEOF
7125 /* end confdefs.h. */
7127 /* Override any gcc2 internal prototype to avoid an error. */
7131 /* We use char because int might match the return type of a gcc2
7132 builtin and then its argument prototype would still apply. */
7142 rm -f conftest.
$ac_objext conftest
$ac_exeext
7143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7144 (eval $ac_link) 2>conftest.er1
7146 grep -v '^ *+' conftest.er1
>conftest.err
7148 cat conftest.err
>&5
7149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150 (exit $ac_status); } &&
7151 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7156 (exit $ac_status); }; } &&
7157 { ac_try
='test -s conftest$ac_exeext'
7158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7162 (exit $ac_status); }; }; then
7163 ac_cv_lib_m_csin
=yes
7165 echo "$as_me: failed program was:" >&5
7166 sed 's/^/| /' conftest.
$ac_ext >&5
7170 rm -f conftest.err conftest.
$ac_objext \
7171 conftest
$ac_exeext conftest.
$ac_ext
7172 LIBS
=$ac_check_lib_save_LIBS
7174 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
7175 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
7176 if test $ac_cv_lib_m_csin = yes; then
7183 # Check for library functions.
7192 for ac_func
in getrusage
times mkstemp strtof strtold snprintf ftruncate chsize
7194 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7195 echo "$as_me:$LINENO: checking for $ac_func" >&5
7196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7197 if eval "test \"\${$as_ac_var+set}\" = set"; then
7198 echo $ECHO_N "(cached) $ECHO_C" >&6
7200 if test x
$gcc_no_link = xyes
; then
7201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7203 { (exit 1); exit 1; }; }
7205 cat >conftest.
$ac_ext <<_ACEOF
7208 cat confdefs.h
>>conftest.
$ac_ext
7209 cat >>conftest.
$ac_ext <<_ACEOF
7210 /* end confdefs.h. */
7211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7213 #define $ac_func innocuous_$ac_func
7215 /* System header to define __stub macros and hopefully few prototypes,
7216 which can conflict with char $ac_func (); below.
7217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7218 <limits.h> exists even on freestanding compilers. */
7221 # include <limits.h>
7223 # include <assert.h>
7228 /* Override any gcc2 internal prototype to avoid an error. */
7233 /* We use char because int might match the return type of a gcc2
7234 builtin and then its argument prototype would still apply. */
7236 /* The GNU C library defines this for functions which it implements
7237 to always fail with ENOSYS. Some functions are actually named
7238 something starting with __ and the normal name is an alias. */
7239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7242 char (*f) () = $ac_func;
7251 return f != $ac_func;
7256 rm -f conftest.
$ac_objext conftest
$ac_exeext
7257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7258 (eval $ac_link) 2>conftest.er1
7260 grep -v '^ *+' conftest.er1
>conftest.err
7262 cat conftest.err
>&5
7263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7264 (exit $ac_status); } &&
7265 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7270 (exit $ac_status); }; } &&
7271 { ac_try
='test -s conftest$ac_exeext'
7272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7276 (exit $ac_status); }; }; then
7277 eval "$as_ac_var=yes"
7279 echo "$as_me: failed program was:" >&5
7280 sed 's/^/| /' conftest.
$ac_ext >&5
7282 eval "$as_ac_var=no"
7284 rm -f conftest.err conftest.
$ac_objext \
7285 conftest
$ac_exeext conftest.
$ac_ext
7287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7289 if test `eval echo '${'$as_ac_var'}'` = yes; then
7290 cat >>confdefs.h
<<_ACEOF
7291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7305 for ac_func
in chdir strerror getlogin gethostname
kill link symlink perror
7307 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7308 echo "$as_me:$LINENO: checking for $ac_func" >&5
7309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7310 if eval "test \"\${$as_ac_var+set}\" = set"; then
7311 echo $ECHO_N "(cached) $ECHO_C" >&6
7313 if test x
$gcc_no_link = xyes
; then
7314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7316 { (exit 1); exit 1; }; }
7318 cat >conftest.
$ac_ext <<_ACEOF
7321 cat confdefs.h
>>conftest.
$ac_ext
7322 cat >>conftest.
$ac_ext <<_ACEOF
7323 /* end confdefs.h. */
7324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7326 #define $ac_func innocuous_$ac_func
7328 /* System header to define __stub macros and hopefully few prototypes,
7329 which can conflict with char $ac_func (); below.
7330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7331 <limits.h> exists even on freestanding compilers. */
7334 # include <limits.h>
7336 # include <assert.h>
7341 /* Override any gcc2 internal prototype to avoid an error. */
7346 /* We use char because int might match the return type of a gcc2
7347 builtin and then its argument prototype would still apply. */
7349 /* The GNU C library defines this for functions which it implements
7350 to always fail with ENOSYS. Some functions are actually named
7351 something starting with __ and the normal name is an alias. */
7352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7355 char (*f) () = $ac_func;
7364 return f != $ac_func;
7369 rm -f conftest.
$ac_objext conftest
$ac_exeext
7370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7371 (eval $ac_link) 2>conftest.er1
7373 grep -v '^ *+' conftest.er1
>conftest.err
7375 cat conftest.err
>&5
7376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7377 (exit $ac_status); } &&
7378 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7383 (exit $ac_status); }; } &&
7384 { ac_try
='test -s conftest$ac_exeext'
7385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7389 (exit $ac_status); }; }; then
7390 eval "$as_ac_var=yes"
7392 echo "$as_me: failed program was:" >&5
7393 sed 's/^/| /' conftest.
$ac_ext >&5
7395 eval "$as_ac_var=no"
7397 rm -f conftest.err conftest.
$ac_objext \
7398 conftest
$ac_exeext conftest.
$ac_ext
7400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7402 if test `eval echo '${'$as_ac_var'}'` = yes; then
7403 cat >>confdefs.h
<<_ACEOF
7404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7412 for ac_func
in sleep time
7414 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7415 echo "$as_me:$LINENO: checking for $ac_func" >&5
7416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7417 if eval "test \"\${$as_ac_var+set}\" = set"; then
7418 echo $ECHO_N "(cached) $ECHO_C" >&6
7420 if test x
$gcc_no_link = xyes
; then
7421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7423 { (exit 1); exit 1; }; }
7425 cat >conftest.
$ac_ext <<_ACEOF
7428 cat confdefs.h
>>conftest.
$ac_ext
7429 cat >>conftest.
$ac_ext <<_ACEOF
7430 /* end confdefs.h. */
7431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7433 #define $ac_func innocuous_$ac_func
7435 /* System header to define __stub macros and hopefully few prototypes,
7436 which can conflict with char $ac_func (); below.
7437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7438 <limits.h> exists even on freestanding compilers. */
7441 # include <limits.h>
7443 # include <assert.h>
7448 /* Override any gcc2 internal prototype to avoid an error. */
7453 /* We use char because int might match the return type of a gcc2
7454 builtin and then its argument prototype would still apply. */
7456 /* The GNU C library defines this for functions which it implements
7457 to always fail with ENOSYS. Some functions are actually named
7458 something starting with __ and the normal name is an alias. */
7459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7462 char (*f) () = $ac_func;
7471 return f != $ac_func;
7476 rm -f conftest.
$ac_objext conftest
$ac_exeext
7477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7478 (eval $ac_link) 2>conftest.er1
7480 grep -v '^ *+' conftest.er1
>conftest.err
7482 cat conftest.err
>&5
7483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7484 (exit $ac_status); } &&
7485 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7490 (exit $ac_status); }; } &&
7491 { ac_try
='test -s conftest$ac_exeext'
7492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7496 (exit $ac_status); }; }; then
7497 eval "$as_ac_var=yes"
7499 echo "$as_me: failed program was:" >&5
7500 sed 's/^/| /' conftest.
$ac_ext >&5
7502 eval "$as_ac_var=no"
7504 rm -f conftest.err conftest.
$ac_objext \
7505 conftest
$ac_exeext conftest.
$ac_ext
7507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7509 if test `eval echo '${'$as_ac_var'}'` = yes; then
7510 cat >>confdefs.h
<<_ACEOF
7511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7518 # Check libc for getgid, getpid, getuid
7519 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
7520 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
7521 if test "${ac_cv_lib_c_getgid+set}" = set; then
7522 echo $ECHO_N "(cached) $ECHO_C" >&6
7524 ac_check_lib_save_LIBS
=$LIBS
7526 if test x
$gcc_no_link = xyes
; then
7527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7529 { (exit 1); exit 1; }; }
7531 cat >conftest.
$ac_ext <<_ACEOF
7534 cat confdefs.h
>>conftest.
$ac_ext
7535 cat >>conftest.
$ac_ext <<_ACEOF
7536 /* end confdefs.h. */
7538 /* Override any gcc2 internal prototype to avoid an error. */
7542 /* We use char because int might match the return type of a gcc2
7543 builtin and then its argument prototype would still apply. */
7553 rm -f conftest.
$ac_objext conftest
$ac_exeext
7554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7555 (eval $ac_link) 2>conftest.er1
7557 grep -v '^ *+' conftest.er1
>conftest.err
7559 cat conftest.err
>&5
7560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7561 (exit $ac_status); } &&
7562 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7567 (exit $ac_status); }; } &&
7568 { ac_try
='test -s conftest$ac_exeext'
7569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7573 (exit $ac_status); }; }; then
7574 ac_cv_lib_c_getgid
=yes
7576 echo "$as_me: failed program was:" >&5
7577 sed 's/^/| /' conftest.
$ac_ext >&5
7579 ac_cv_lib_c_getgid
=no
7581 rm -f conftest.err conftest.
$ac_objext \
7582 conftest
$ac_exeext conftest.
$ac_ext
7583 LIBS
=$ac_check_lib_save_LIBS
7585 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
7586 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
7587 if test $ac_cv_lib_c_getgid = yes; then
7589 cat >>confdefs.h
<<\_ACEOF
7590 #define HAVE_GETGID 1
7595 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
7596 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
7597 if test "${ac_cv_lib_c_getpid+set}" = set; then
7598 echo $ECHO_N "(cached) $ECHO_C" >&6
7600 ac_check_lib_save_LIBS
=$LIBS
7602 if test x
$gcc_no_link = xyes
; then
7603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7605 { (exit 1); exit 1; }; }
7607 cat >conftest.
$ac_ext <<_ACEOF
7610 cat confdefs.h
>>conftest.
$ac_ext
7611 cat >>conftest.
$ac_ext <<_ACEOF
7612 /* end confdefs.h. */
7614 /* Override any gcc2 internal prototype to avoid an error. */
7618 /* We use char because int might match the return type of a gcc2
7619 builtin and then its argument prototype would still apply. */
7629 rm -f conftest.
$ac_objext conftest
$ac_exeext
7630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7631 (eval $ac_link) 2>conftest.er1
7633 grep -v '^ *+' conftest.er1
>conftest.err
7635 cat conftest.err
>&5
7636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7637 (exit $ac_status); } &&
7638 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7643 (exit $ac_status); }; } &&
7644 { ac_try
='test -s conftest$ac_exeext'
7645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7649 (exit $ac_status); }; }; then
7650 ac_cv_lib_c_getpid
=yes
7652 echo "$as_me: failed program was:" >&5
7653 sed 's/^/| /' conftest.
$ac_ext >&5
7655 ac_cv_lib_c_getpid
=no
7657 rm -f conftest.err conftest.
$ac_objext \
7658 conftest
$ac_exeext conftest.
$ac_ext
7659 LIBS
=$ac_check_lib_save_LIBS
7661 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
7662 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
7663 if test $ac_cv_lib_c_getpid = yes; then
7665 cat >>confdefs.h
<<\_ACEOF
7666 #define HAVE_GETPID 1
7671 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
7672 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
7673 if test "${ac_cv_lib_c_getuid+set}" = set; then
7674 echo $ECHO_N "(cached) $ECHO_C" >&6
7676 ac_check_lib_save_LIBS
=$LIBS
7678 if test x
$gcc_no_link = xyes
; then
7679 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7681 { (exit 1); exit 1; }; }
7683 cat >conftest.
$ac_ext <<_ACEOF
7686 cat confdefs.h
>>conftest.
$ac_ext
7687 cat >>conftest.
$ac_ext <<_ACEOF
7688 /* end confdefs.h. */
7690 /* Override any gcc2 internal prototype to avoid an error. */
7694 /* We use char because int might match the return type of a gcc2
7695 builtin and then its argument prototype would still apply. */
7705 rm -f conftest.
$ac_objext conftest
$ac_exeext
7706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7707 (eval $ac_link) 2>conftest.er1
7709 grep -v '^ *+' conftest.er1
>conftest.err
7711 cat conftest.err
>&5
7712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7713 (exit $ac_status); } &&
7714 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7719 (exit $ac_status); }; } &&
7720 { ac_try
='test -s conftest$ac_exeext'
7721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725 (exit $ac_status); }; }; then
7726 ac_cv_lib_c_getuid
=yes
7728 echo "$as_me: failed program was:" >&5
7729 sed 's/^/| /' conftest.
$ac_ext >&5
7731 ac_cv_lib_c_getuid
=no
7733 rm -f conftest.err conftest.
$ac_objext \
7734 conftest
$ac_exeext conftest.
$ac_ext
7735 LIBS
=$ac_check_lib_save_LIBS
7737 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
7738 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
7739 if test $ac_cv_lib_c_getuid = yes; then
7741 cat >>confdefs.h
<<\_ACEOF
7742 #define HAVE_GETUID 1
7748 # Check for C99 (and other IEEE) math functions
7749 # ??? This list seems awful long. Is there a better way to test for these?
7750 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
7751 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
7752 if test "${ac_cv_lib_m_acosf+set}" = set; then
7753 echo $ECHO_N "(cached) $ECHO_C" >&6
7755 ac_check_lib_save_LIBS
=$LIBS
7757 if test x
$gcc_no_link = xyes
; then
7758 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7760 { (exit 1); exit 1; }; }
7762 cat >conftest.
$ac_ext <<_ACEOF
7765 cat confdefs.h
>>conftest.
$ac_ext
7766 cat >>conftest.
$ac_ext <<_ACEOF
7767 /* end confdefs.h. */
7769 /* Override any gcc2 internal prototype to avoid an error. */
7773 /* We use char because int might match the return type of a gcc2
7774 builtin and then its argument prototype would still apply. */
7784 rm -f conftest.
$ac_objext conftest
$ac_exeext
7785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7786 (eval $ac_link) 2>conftest.er1
7788 grep -v '^ *+' conftest.er1
>conftest.err
7790 cat conftest.err
>&5
7791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7792 (exit $ac_status); } &&
7793 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7798 (exit $ac_status); }; } &&
7799 { ac_try
='test -s conftest$ac_exeext'
7800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7804 (exit $ac_status); }; }; then
7805 ac_cv_lib_m_acosf
=yes
7807 echo "$as_me: failed program was:" >&5
7808 sed 's/^/| /' conftest.
$ac_ext >&5
7810 ac_cv_lib_m_acosf
=no
7812 rm -f conftest.err conftest.
$ac_objext \
7813 conftest
$ac_exeext conftest.
$ac_ext
7814 LIBS
=$ac_check_lib_save_LIBS
7816 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
7817 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
7818 if test $ac_cv_lib_m_acosf = yes; then
7820 cat >>confdefs.h
<<\_ACEOF
7821 #define HAVE_ACOSF 1
7826 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
7827 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
7828 if test "${ac_cv_lib_m_acoshf+set}" = set; then
7829 echo $ECHO_N "(cached) $ECHO_C" >&6
7831 ac_check_lib_save_LIBS
=$LIBS
7833 if test x
$gcc_no_link = xyes
; then
7834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7836 { (exit 1); exit 1; }; }
7838 cat >conftest.
$ac_ext <<_ACEOF
7841 cat confdefs.h
>>conftest.
$ac_ext
7842 cat >>conftest.
$ac_ext <<_ACEOF
7843 /* end confdefs.h. */
7845 /* Override any gcc2 internal prototype to avoid an error. */
7849 /* We use char because int might match the return type of a gcc2
7850 builtin and then its argument prototype would still apply. */
7860 rm -f conftest.
$ac_objext conftest
$ac_exeext
7861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7862 (eval $ac_link) 2>conftest.er1
7864 grep -v '^ *+' conftest.er1
>conftest.err
7866 cat conftest.err
>&5
7867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7868 (exit $ac_status); } &&
7869 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7874 (exit $ac_status); }; } &&
7875 { ac_try
='test -s conftest$ac_exeext'
7876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7880 (exit $ac_status); }; }; then
7881 ac_cv_lib_m_acoshf
=yes
7883 echo "$as_me: failed program was:" >&5
7884 sed 's/^/| /' conftest.
$ac_ext >&5
7886 ac_cv_lib_m_acoshf
=no
7888 rm -f conftest.err conftest.
$ac_objext \
7889 conftest
$ac_exeext conftest.
$ac_ext
7890 LIBS
=$ac_check_lib_save_LIBS
7892 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
7893 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
7894 if test $ac_cv_lib_m_acoshf = yes; then
7896 cat >>confdefs.h
<<\_ACEOF
7897 #define HAVE_ACOSHF 1
7902 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
7903 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
7904 if test "${ac_cv_lib_m_asinf+set}" = set; then
7905 echo $ECHO_N "(cached) $ECHO_C" >&6
7907 ac_check_lib_save_LIBS
=$LIBS
7909 if test x
$gcc_no_link = xyes
; then
7910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7912 { (exit 1); exit 1; }; }
7914 cat >conftest.
$ac_ext <<_ACEOF
7917 cat confdefs.h
>>conftest.
$ac_ext
7918 cat >>conftest.
$ac_ext <<_ACEOF
7919 /* end confdefs.h. */
7921 /* Override any gcc2 internal prototype to avoid an error. */
7925 /* We use char because int might match the return type of a gcc2
7926 builtin and then its argument prototype would still apply. */
7936 rm -f conftest.
$ac_objext conftest
$ac_exeext
7937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7938 (eval $ac_link) 2>conftest.er1
7940 grep -v '^ *+' conftest.er1
>conftest.err
7942 cat conftest.err
>&5
7943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7944 (exit $ac_status); } &&
7945 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7950 (exit $ac_status); }; } &&
7951 { ac_try
='test -s conftest$ac_exeext'
7952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7956 (exit $ac_status); }; }; then
7957 ac_cv_lib_m_asinf
=yes
7959 echo "$as_me: failed program was:" >&5
7960 sed 's/^/| /' conftest.
$ac_ext >&5
7962 ac_cv_lib_m_asinf
=no
7964 rm -f conftest.err conftest.
$ac_objext \
7965 conftest
$ac_exeext conftest.
$ac_ext
7966 LIBS
=$ac_check_lib_save_LIBS
7968 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
7969 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
7970 if test $ac_cv_lib_m_asinf = yes; then
7972 cat >>confdefs.h
<<\_ACEOF
7973 #define HAVE_ASINF 1
7978 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
7979 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
7980 if test "${ac_cv_lib_m_asinhf+set}" = set; then
7981 echo $ECHO_N "(cached) $ECHO_C" >&6
7983 ac_check_lib_save_LIBS
=$LIBS
7985 if test x
$gcc_no_link = xyes
; then
7986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7988 { (exit 1); exit 1; }; }
7990 cat >conftest.
$ac_ext <<_ACEOF
7993 cat confdefs.h
>>conftest.
$ac_ext
7994 cat >>conftest.
$ac_ext <<_ACEOF
7995 /* end confdefs.h. */
7997 /* Override any gcc2 internal prototype to avoid an error. */
8001 /* We use char because int might match the return type of a gcc2
8002 builtin and then its argument prototype would still apply. */
8012 rm -f conftest.
$ac_objext conftest
$ac_exeext
8013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8014 (eval $ac_link) 2>conftest.er1
8016 grep -v '^ *+' conftest.er1
>conftest.err
8018 cat conftest.err
>&5
8019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8020 (exit $ac_status); } &&
8021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8026 (exit $ac_status); }; } &&
8027 { ac_try
='test -s conftest$ac_exeext'
8028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8032 (exit $ac_status); }; }; then
8033 ac_cv_lib_m_asinhf
=yes
8035 echo "$as_me: failed program was:" >&5
8036 sed 's/^/| /' conftest.
$ac_ext >&5
8038 ac_cv_lib_m_asinhf
=no
8040 rm -f conftest.err conftest.
$ac_objext \
8041 conftest
$ac_exeext conftest.
$ac_ext
8042 LIBS
=$ac_check_lib_save_LIBS
8044 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
8045 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
8046 if test $ac_cv_lib_m_asinhf = yes; then
8048 cat >>confdefs.h
<<\_ACEOF
8049 #define HAVE_ASINHF 1
8054 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
8055 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
8056 if test "${ac_cv_lib_m_atan2f+set}" = set; then
8057 echo $ECHO_N "(cached) $ECHO_C" >&6
8059 ac_check_lib_save_LIBS
=$LIBS
8061 if test x
$gcc_no_link = xyes
; then
8062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8064 { (exit 1); exit 1; }; }
8066 cat >conftest.
$ac_ext <<_ACEOF
8069 cat confdefs.h
>>conftest.
$ac_ext
8070 cat >>conftest.
$ac_ext <<_ACEOF
8071 /* end confdefs.h. */
8073 /* Override any gcc2 internal prototype to avoid an error. */
8077 /* We use char because int might match the return type of a gcc2
8078 builtin and then its argument prototype would still apply. */
8088 rm -f conftest.
$ac_objext conftest
$ac_exeext
8089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8090 (eval $ac_link) 2>conftest.er1
8092 grep -v '^ *+' conftest.er1
>conftest.err
8094 cat conftest.err
>&5
8095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8096 (exit $ac_status); } &&
8097 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8102 (exit $ac_status); }; } &&
8103 { ac_try
='test -s conftest$ac_exeext'
8104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8108 (exit $ac_status); }; }; then
8109 ac_cv_lib_m_atan2f
=yes
8111 echo "$as_me: failed program was:" >&5
8112 sed 's/^/| /' conftest.
$ac_ext >&5
8114 ac_cv_lib_m_atan2f
=no
8116 rm -f conftest.err conftest.
$ac_objext \
8117 conftest
$ac_exeext conftest.
$ac_ext
8118 LIBS
=$ac_check_lib_save_LIBS
8120 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
8121 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
8122 if test $ac_cv_lib_m_atan2f = yes; then
8124 cat >>confdefs.h
<<\_ACEOF
8125 #define HAVE_ATAN2F 1
8130 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
8131 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
8132 if test "${ac_cv_lib_m_atanf+set}" = set; then
8133 echo $ECHO_N "(cached) $ECHO_C" >&6
8135 ac_check_lib_save_LIBS
=$LIBS
8137 if test x
$gcc_no_link = xyes
; then
8138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8140 { (exit 1); exit 1; }; }
8142 cat >conftest.
$ac_ext <<_ACEOF
8145 cat confdefs.h
>>conftest.
$ac_ext
8146 cat >>conftest.
$ac_ext <<_ACEOF
8147 /* end confdefs.h. */
8149 /* Override any gcc2 internal prototype to avoid an error. */
8153 /* We use char because int might match the return type of a gcc2
8154 builtin and then its argument prototype would still apply. */
8164 rm -f conftest.
$ac_objext conftest
$ac_exeext
8165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8166 (eval $ac_link) 2>conftest.er1
8168 grep -v '^ *+' conftest.er1
>conftest.err
8170 cat conftest.err
>&5
8171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8172 (exit $ac_status); } &&
8173 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 (exit $ac_status); }; } &&
8179 { ac_try
='test -s conftest$ac_exeext'
8180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184 (exit $ac_status); }; }; then
8185 ac_cv_lib_m_atanf
=yes
8187 echo "$as_me: failed program was:" >&5
8188 sed 's/^/| /' conftest.
$ac_ext >&5
8190 ac_cv_lib_m_atanf
=no
8192 rm -f conftest.err conftest.
$ac_objext \
8193 conftest
$ac_exeext conftest.
$ac_ext
8194 LIBS
=$ac_check_lib_save_LIBS
8196 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
8197 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
8198 if test $ac_cv_lib_m_atanf = yes; then
8200 cat >>confdefs.h
<<\_ACEOF
8201 #define HAVE_ATANF 1
8206 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
8207 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
8208 if test "${ac_cv_lib_m_atanhf+set}" = set; then
8209 echo $ECHO_N "(cached) $ECHO_C" >&6
8211 ac_check_lib_save_LIBS
=$LIBS
8213 if test x
$gcc_no_link = xyes
; then
8214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8216 { (exit 1); exit 1; }; }
8218 cat >conftest.
$ac_ext <<_ACEOF
8221 cat confdefs.h
>>conftest.
$ac_ext
8222 cat >>conftest.
$ac_ext <<_ACEOF
8223 /* end confdefs.h. */
8225 /* Override any gcc2 internal prototype to avoid an error. */
8229 /* We use char because int might match the return type of a gcc2
8230 builtin and then its argument prototype would still apply. */
8240 rm -f conftest.
$ac_objext conftest
$ac_exeext
8241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8242 (eval $ac_link) 2>conftest.er1
8244 grep -v '^ *+' conftest.er1
>conftest.err
8246 cat conftest.err
>&5
8247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248 (exit $ac_status); } &&
8249 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254 (exit $ac_status); }; } &&
8255 { ac_try
='test -s conftest$ac_exeext'
8256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8260 (exit $ac_status); }; }; then
8261 ac_cv_lib_m_atanhf
=yes
8263 echo "$as_me: failed program was:" >&5
8264 sed 's/^/| /' conftest.
$ac_ext >&5
8266 ac_cv_lib_m_atanhf
=no
8268 rm -f conftest.err conftest.
$ac_objext \
8269 conftest
$ac_exeext conftest.
$ac_ext
8270 LIBS
=$ac_check_lib_save_LIBS
8272 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
8273 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
8274 if test $ac_cv_lib_m_atanhf = yes; then
8276 cat >>confdefs.h
<<\_ACEOF
8277 #define HAVE_ATANHF 1
8282 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
8283 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
8284 if test "${ac_cv_lib_m_ceilf+set}" = set; then
8285 echo $ECHO_N "(cached) $ECHO_C" >&6
8287 ac_check_lib_save_LIBS
=$LIBS
8289 if test x
$gcc_no_link = xyes
; then
8290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8292 { (exit 1); exit 1; }; }
8294 cat >conftest.
$ac_ext <<_ACEOF
8297 cat confdefs.h
>>conftest.
$ac_ext
8298 cat >>conftest.
$ac_ext <<_ACEOF
8299 /* end confdefs.h. */
8301 /* Override any gcc2 internal prototype to avoid an error. */
8305 /* We use char because int might match the return type of a gcc2
8306 builtin and then its argument prototype would still apply. */
8316 rm -f conftest.
$ac_objext conftest
$ac_exeext
8317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8318 (eval $ac_link) 2>conftest.er1
8320 grep -v '^ *+' conftest.er1
>conftest.err
8322 cat conftest.err
>&5
8323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8324 (exit $ac_status); } &&
8325 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8330 (exit $ac_status); }; } &&
8331 { ac_try
='test -s conftest$ac_exeext'
8332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8336 (exit $ac_status); }; }; then
8337 ac_cv_lib_m_ceilf
=yes
8339 echo "$as_me: failed program was:" >&5
8340 sed 's/^/| /' conftest.
$ac_ext >&5
8342 ac_cv_lib_m_ceilf
=no
8344 rm -f conftest.err conftest.
$ac_objext \
8345 conftest
$ac_exeext conftest.
$ac_ext
8346 LIBS
=$ac_check_lib_save_LIBS
8348 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
8349 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
8350 if test $ac_cv_lib_m_ceilf = yes; then
8352 cat >>confdefs.h
<<\_ACEOF
8353 #define HAVE_CEILF 1
8358 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
8359 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
8360 if test "${ac_cv_lib_m_copysignf+set}" = set; then
8361 echo $ECHO_N "(cached) $ECHO_C" >&6
8363 ac_check_lib_save_LIBS
=$LIBS
8365 if test x
$gcc_no_link = xyes
; then
8366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8368 { (exit 1); exit 1; }; }
8370 cat >conftest.
$ac_ext <<_ACEOF
8373 cat confdefs.h
>>conftest.
$ac_ext
8374 cat >>conftest.
$ac_ext <<_ACEOF
8375 /* end confdefs.h. */
8377 /* Override any gcc2 internal prototype to avoid an error. */
8381 /* We use char because int might match the return type of a gcc2
8382 builtin and then its argument prototype would still apply. */
8392 rm -f conftest.
$ac_objext conftest
$ac_exeext
8393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8394 (eval $ac_link) 2>conftest.er1
8396 grep -v '^ *+' conftest.er1
>conftest.err
8398 cat conftest.err
>&5
8399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8400 (exit $ac_status); } &&
8401 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406 (exit $ac_status); }; } &&
8407 { ac_try
='test -s conftest$ac_exeext'
8408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8412 (exit $ac_status); }; }; then
8413 ac_cv_lib_m_copysignf
=yes
8415 echo "$as_me: failed program was:" >&5
8416 sed 's/^/| /' conftest.
$ac_ext >&5
8418 ac_cv_lib_m_copysignf
=no
8420 rm -f conftest.err conftest.
$ac_objext \
8421 conftest
$ac_exeext conftest.
$ac_ext
8422 LIBS
=$ac_check_lib_save_LIBS
8424 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
8425 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
8426 if test $ac_cv_lib_m_copysignf = yes; then
8428 cat >>confdefs.h
<<\_ACEOF
8429 #define HAVE_COPYSIGNF 1
8434 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
8435 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
8436 if test "${ac_cv_lib_m_cosf+set}" = set; then
8437 echo $ECHO_N "(cached) $ECHO_C" >&6
8439 ac_check_lib_save_LIBS
=$LIBS
8441 if test x
$gcc_no_link = xyes
; then
8442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8444 { (exit 1); exit 1; }; }
8446 cat >conftest.
$ac_ext <<_ACEOF
8449 cat confdefs.h
>>conftest.
$ac_ext
8450 cat >>conftest.
$ac_ext <<_ACEOF
8451 /* end confdefs.h. */
8453 /* Override any gcc2 internal prototype to avoid an error. */
8457 /* We use char because int might match the return type of a gcc2
8458 builtin and then its argument prototype would still apply. */
8468 rm -f conftest.
$ac_objext conftest
$ac_exeext
8469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8470 (eval $ac_link) 2>conftest.er1
8472 grep -v '^ *+' conftest.er1
>conftest.err
8474 cat conftest.err
>&5
8475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8476 (exit $ac_status); } &&
8477 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8482 (exit $ac_status); }; } &&
8483 { ac_try
='test -s conftest$ac_exeext'
8484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8488 (exit $ac_status); }; }; then
8489 ac_cv_lib_m_cosf
=yes
8491 echo "$as_me: failed program was:" >&5
8492 sed 's/^/| /' conftest.
$ac_ext >&5
8496 rm -f conftest.err conftest.
$ac_objext \
8497 conftest
$ac_exeext conftest.
$ac_ext
8498 LIBS
=$ac_check_lib_save_LIBS
8500 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
8501 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
8502 if test $ac_cv_lib_m_cosf = yes; then
8504 cat >>confdefs.h
<<\_ACEOF
8510 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
8511 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
8512 if test "${ac_cv_lib_m_coshf+set}" = set; then
8513 echo $ECHO_N "(cached) $ECHO_C" >&6
8515 ac_check_lib_save_LIBS
=$LIBS
8517 if test x
$gcc_no_link = xyes
; then
8518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8520 { (exit 1); exit 1; }; }
8522 cat >conftest.
$ac_ext <<_ACEOF
8525 cat confdefs.h
>>conftest.
$ac_ext
8526 cat >>conftest.
$ac_ext <<_ACEOF
8527 /* end confdefs.h. */
8529 /* Override any gcc2 internal prototype to avoid an error. */
8533 /* We use char because int might match the return type of a gcc2
8534 builtin and then its argument prototype would still apply. */
8544 rm -f conftest.
$ac_objext conftest
$ac_exeext
8545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8546 (eval $ac_link) 2>conftest.er1
8548 grep -v '^ *+' conftest.er1
>conftest.err
8550 cat conftest.err
>&5
8551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8552 (exit $ac_status); } &&
8553 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558 (exit $ac_status); }; } &&
8559 { ac_try
='test -s conftest$ac_exeext'
8560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8564 (exit $ac_status); }; }; then
8565 ac_cv_lib_m_coshf
=yes
8567 echo "$as_me: failed program was:" >&5
8568 sed 's/^/| /' conftest.
$ac_ext >&5
8570 ac_cv_lib_m_coshf
=no
8572 rm -f conftest.err conftest.
$ac_objext \
8573 conftest
$ac_exeext conftest.
$ac_ext
8574 LIBS
=$ac_check_lib_save_LIBS
8576 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
8577 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
8578 if test $ac_cv_lib_m_coshf = yes; then
8580 cat >>confdefs.h
<<\_ACEOF
8581 #define HAVE_COSHF 1
8586 echo "$as_me:$LINENO: checking for expf in -lm" >&5
8587 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
8588 if test "${ac_cv_lib_m_expf+set}" = set; then
8589 echo $ECHO_N "(cached) $ECHO_C" >&6
8591 ac_check_lib_save_LIBS
=$LIBS
8593 if test x
$gcc_no_link = xyes
; then
8594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8596 { (exit 1); exit 1; }; }
8598 cat >conftest.
$ac_ext <<_ACEOF
8601 cat confdefs.h
>>conftest.
$ac_ext
8602 cat >>conftest.
$ac_ext <<_ACEOF
8603 /* end confdefs.h. */
8605 /* Override any gcc2 internal prototype to avoid an error. */
8609 /* We use char because int might match the return type of a gcc2
8610 builtin and then its argument prototype would still apply. */
8620 rm -f conftest.
$ac_objext conftest
$ac_exeext
8621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8622 (eval $ac_link) 2>conftest.er1
8624 grep -v '^ *+' conftest.er1
>conftest.err
8626 cat conftest.err
>&5
8627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628 (exit $ac_status); } &&
8629 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8634 (exit $ac_status); }; } &&
8635 { ac_try
='test -s conftest$ac_exeext'
8636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8640 (exit $ac_status); }; }; then
8641 ac_cv_lib_m_expf
=yes
8643 echo "$as_me: failed program was:" >&5
8644 sed 's/^/| /' conftest.
$ac_ext >&5
8648 rm -f conftest.err conftest.
$ac_objext \
8649 conftest
$ac_exeext conftest.
$ac_ext
8650 LIBS
=$ac_check_lib_save_LIBS
8652 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
8653 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
8654 if test $ac_cv_lib_m_expf = yes; then
8656 cat >>confdefs.h
<<\_ACEOF
8662 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
8663 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
8664 if test "${ac_cv_lib_m_fabsf+set}" = set; then
8665 echo $ECHO_N "(cached) $ECHO_C" >&6
8667 ac_check_lib_save_LIBS
=$LIBS
8669 if test x
$gcc_no_link = xyes
; then
8670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8672 { (exit 1); exit 1; }; }
8674 cat >conftest.
$ac_ext <<_ACEOF
8677 cat confdefs.h
>>conftest.
$ac_ext
8678 cat >>conftest.
$ac_ext <<_ACEOF
8679 /* end confdefs.h. */
8681 /* Override any gcc2 internal prototype to avoid an error. */
8685 /* We use char because int might match the return type of a gcc2
8686 builtin and then its argument prototype would still apply. */
8696 rm -f conftest.
$ac_objext conftest
$ac_exeext
8697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8698 (eval $ac_link) 2>conftest.er1
8700 grep -v '^ *+' conftest.er1
>conftest.err
8702 cat conftest.err
>&5
8703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8704 (exit $ac_status); } &&
8705 { ac_try
='test -z "$ac_c_werror_flag" || 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_fabsf
=yes
8719 echo "$as_me: failed program was:" >&5
8720 sed 's/^/| /' conftest.
$ac_ext >&5
8722 ac_cv_lib_m_fabsf
=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_fabsf" >&5
8729 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
8730 if test $ac_cv_lib_m_fabsf = yes; then
8732 cat >>confdefs.h
<<\_ACEOF
8733 #define HAVE_FABSF 1
8738 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
8739 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
8740 if test "${ac_cv_lib_m_floorf+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" || test ! -s conftest.err'
8782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8786 (exit $ac_status); }; } &&
8787 { ac_try
='test -s conftest$ac_exeext'
8788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8792 (exit $ac_status); }; }; then
8793 ac_cv_lib_m_floorf
=yes
8795 echo "$as_me: failed program was:" >&5
8796 sed 's/^/| /' conftest.
$ac_ext >&5
8798 ac_cv_lib_m_floorf
=no
8800 rm -f conftest.err conftest.
$ac_objext \
8801 conftest
$ac_exeext conftest.
$ac_ext
8802 LIBS
=$ac_check_lib_save_LIBS
8804 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
8805 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
8806 if test $ac_cv_lib_m_floorf = yes; then
8808 cat >>confdefs.h
<<\_ACEOF
8809 #define HAVE_FLOORF 1
8814 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
8815 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
8816 if test "${ac_cv_lib_m_frexpf+set}" = set; then
8817 echo $ECHO_N "(cached) $ECHO_C" >&6
8819 ac_check_lib_save_LIBS
=$LIBS
8821 if test x
$gcc_no_link = xyes
; then
8822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8824 { (exit 1); exit 1; }; }
8826 cat >conftest.
$ac_ext <<_ACEOF
8829 cat confdefs.h
>>conftest.
$ac_ext
8830 cat >>conftest.
$ac_ext <<_ACEOF
8831 /* end confdefs.h. */
8833 /* Override any gcc2 internal prototype to avoid an error. */
8837 /* We use char because int might match the return type of a gcc2
8838 builtin and then its argument prototype would still apply. */
8848 rm -f conftest.
$ac_objext conftest
$ac_exeext
8849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8850 (eval $ac_link) 2>conftest.er1
8852 grep -v '^ *+' conftest.er1
>conftest.err
8854 cat conftest.err
>&5
8855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8856 (exit $ac_status); } &&
8857 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8862 (exit $ac_status); }; } &&
8863 { ac_try
='test -s conftest$ac_exeext'
8864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8868 (exit $ac_status); }; }; then
8869 ac_cv_lib_m_frexpf
=yes
8871 echo "$as_me: failed program was:" >&5
8872 sed 's/^/| /' conftest.
$ac_ext >&5
8874 ac_cv_lib_m_frexpf
=no
8876 rm -f conftest.err conftest.
$ac_objext \
8877 conftest
$ac_exeext conftest.
$ac_ext
8878 LIBS
=$ac_check_lib_save_LIBS
8880 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
8881 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
8882 if test $ac_cv_lib_m_frexpf = yes; then
8884 cat >>confdefs.h
<<\_ACEOF
8885 #define HAVE_FREXPF 1
8890 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
8891 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
8892 if test "${ac_cv_lib_m_hypotf+set}" = set; then
8893 echo $ECHO_N "(cached) $ECHO_C" >&6
8895 ac_check_lib_save_LIBS
=$LIBS
8897 if test x
$gcc_no_link = xyes
; then
8898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8900 { (exit 1); exit 1; }; }
8902 cat >conftest.
$ac_ext <<_ACEOF
8905 cat confdefs.h
>>conftest.
$ac_ext
8906 cat >>conftest.
$ac_ext <<_ACEOF
8907 /* end confdefs.h. */
8909 /* Override any gcc2 internal prototype to avoid an error. */
8913 /* We use char because int might match the return type of a gcc2
8914 builtin and then its argument prototype would still apply. */
8924 rm -f conftest.
$ac_objext conftest
$ac_exeext
8925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8926 (eval $ac_link) 2>conftest.er1
8928 grep -v '^ *+' conftest.er1
>conftest.err
8930 cat conftest.err
>&5
8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932 (exit $ac_status); } &&
8933 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8938 (exit $ac_status); }; } &&
8939 { ac_try
='test -s conftest$ac_exeext'
8940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8944 (exit $ac_status); }; }; then
8945 ac_cv_lib_m_hypotf
=yes
8947 echo "$as_me: failed program was:" >&5
8948 sed 's/^/| /' conftest.
$ac_ext >&5
8950 ac_cv_lib_m_hypotf
=no
8952 rm -f conftest.err conftest.
$ac_objext \
8953 conftest
$ac_exeext conftest.
$ac_ext
8954 LIBS
=$ac_check_lib_save_LIBS
8956 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
8957 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
8958 if test $ac_cv_lib_m_hypotf = yes; then
8960 cat >>confdefs.h
<<\_ACEOF
8961 #define HAVE_HYPOTF 1
8966 echo "$as_me:$LINENO: checking for logf in -lm" >&5
8967 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
8968 if test "${ac_cv_lib_m_logf+set}" = set; then
8969 echo $ECHO_N "(cached) $ECHO_C" >&6
8971 ac_check_lib_save_LIBS
=$LIBS
8973 if test x
$gcc_no_link = xyes
; then
8974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8976 { (exit 1); exit 1; }; }
8978 cat >conftest.
$ac_ext <<_ACEOF
8981 cat confdefs.h
>>conftest.
$ac_ext
8982 cat >>conftest.
$ac_ext <<_ACEOF
8983 /* end confdefs.h. */
8985 /* Override any gcc2 internal prototype to avoid an error. */
8989 /* We use char because int might match the return type of a gcc2
8990 builtin and then its argument prototype would still apply. */
9000 rm -f conftest.
$ac_objext conftest
$ac_exeext
9001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9002 (eval $ac_link) 2>conftest.er1
9004 grep -v '^ *+' conftest.er1
>conftest.err
9006 cat conftest.err
>&5
9007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9008 (exit $ac_status); } &&
9009 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9014 (exit $ac_status); }; } &&
9015 { ac_try
='test -s conftest$ac_exeext'
9016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9020 (exit $ac_status); }; }; then
9021 ac_cv_lib_m_logf
=yes
9023 echo "$as_me: failed program was:" >&5
9024 sed 's/^/| /' conftest.
$ac_ext >&5
9028 rm -f conftest.err conftest.
$ac_objext \
9029 conftest
$ac_exeext conftest.
$ac_ext
9030 LIBS
=$ac_check_lib_save_LIBS
9032 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
9033 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
9034 if test $ac_cv_lib_m_logf = yes; then
9036 cat >>confdefs.h
<<\_ACEOF
9042 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
9043 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
9044 if test "${ac_cv_lib_m_log10f+set}" = set; then
9045 echo $ECHO_N "(cached) $ECHO_C" >&6
9047 ac_check_lib_save_LIBS
=$LIBS
9049 if test x
$gcc_no_link = xyes
; then
9050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9052 { (exit 1); exit 1; }; }
9054 cat >conftest.
$ac_ext <<_ACEOF
9057 cat confdefs.h
>>conftest.
$ac_ext
9058 cat >>conftest.
$ac_ext <<_ACEOF
9059 /* end confdefs.h. */
9061 /* Override any gcc2 internal prototype to avoid an error. */
9065 /* We use char because int might match the return type of a gcc2
9066 builtin and then its argument prototype would still apply. */
9076 rm -f conftest.
$ac_objext conftest
$ac_exeext
9077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9078 (eval $ac_link) 2>conftest.er1
9080 grep -v '^ *+' conftest.er1
>conftest.err
9082 cat conftest.err
>&5
9083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9084 (exit $ac_status); } &&
9085 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9090 (exit $ac_status); }; } &&
9091 { ac_try
='test -s conftest$ac_exeext'
9092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9096 (exit $ac_status); }; }; then
9097 ac_cv_lib_m_log10f
=yes
9099 echo "$as_me: failed program was:" >&5
9100 sed 's/^/| /' conftest.
$ac_ext >&5
9102 ac_cv_lib_m_log10f
=no
9104 rm -f conftest.err conftest.
$ac_objext \
9105 conftest
$ac_exeext conftest.
$ac_ext
9106 LIBS
=$ac_check_lib_save_LIBS
9108 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
9109 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
9110 if test $ac_cv_lib_m_log10f = yes; then
9112 cat >>confdefs.h
<<\_ACEOF
9113 #define HAVE_LOG10F 1
9118 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
9119 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
9120 if test "${ac_cv_lib_m_log10l+set}" = set; then
9121 echo $ECHO_N "(cached) $ECHO_C" >&6
9123 ac_check_lib_save_LIBS
=$LIBS
9125 if test x
$gcc_no_link = xyes
; then
9126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9128 { (exit 1); exit 1; }; }
9130 cat >conftest.
$ac_ext <<_ACEOF
9133 cat confdefs.h
>>conftest.
$ac_ext
9134 cat >>conftest.
$ac_ext <<_ACEOF
9135 /* end confdefs.h. */
9137 /* Override any gcc2 internal prototype to avoid an error. */
9141 /* We use char because int might match the return type of a gcc2
9142 builtin and then its argument prototype would still apply. */
9152 rm -f conftest.
$ac_objext conftest
$ac_exeext
9153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9154 (eval $ac_link) 2>conftest.er1
9156 grep -v '^ *+' conftest.er1
>conftest.err
9158 cat conftest.err
>&5
9159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9160 (exit $ac_status); } &&
9161 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9166 (exit $ac_status); }; } &&
9167 { ac_try
='test -s conftest$ac_exeext'
9168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9172 (exit $ac_status); }; }; then
9173 ac_cv_lib_m_log10l
=yes
9175 echo "$as_me: failed program was:" >&5
9176 sed 's/^/| /' conftest.
$ac_ext >&5
9178 ac_cv_lib_m_log10l
=no
9180 rm -f conftest.err conftest.
$ac_objext \
9181 conftest
$ac_exeext conftest.
$ac_ext
9182 LIBS
=$ac_check_lib_save_LIBS
9184 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
9185 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
9186 if test $ac_cv_lib_m_log10l = yes; then
9188 cat >>confdefs.h
<<\_ACEOF
9189 #define HAVE_LOG10L 1
9194 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
9195 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
9196 if test "${ac_cv_lib_m_nextafter+set}" = set; then
9197 echo $ECHO_N "(cached) $ECHO_C" >&6
9199 ac_check_lib_save_LIBS
=$LIBS
9201 if test x
$gcc_no_link = xyes
; then
9202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9204 { (exit 1); exit 1; }; }
9206 cat >conftest.
$ac_ext <<_ACEOF
9209 cat confdefs.h
>>conftest.
$ac_ext
9210 cat >>conftest.
$ac_ext <<_ACEOF
9211 /* end confdefs.h. */
9213 /* Override any gcc2 internal prototype to avoid an error. */
9217 /* We use char because int might match the return type of a gcc2
9218 builtin and then its argument prototype would still apply. */
9228 rm -f conftest.
$ac_objext conftest
$ac_exeext
9229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9230 (eval $ac_link) 2>conftest.er1
9232 grep -v '^ *+' conftest.er1
>conftest.err
9234 cat conftest.err
>&5
9235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9236 (exit $ac_status); } &&
9237 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9242 (exit $ac_status); }; } &&
9243 { ac_try
='test -s conftest$ac_exeext'
9244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9248 (exit $ac_status); }; }; then
9249 ac_cv_lib_m_nextafter
=yes
9251 echo "$as_me: failed program was:" >&5
9252 sed 's/^/| /' conftest.
$ac_ext >&5
9254 ac_cv_lib_m_nextafter
=no
9256 rm -f conftest.err conftest.
$ac_objext \
9257 conftest
$ac_exeext conftest.
$ac_ext
9258 LIBS
=$ac_check_lib_save_LIBS
9260 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
9261 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
9262 if test $ac_cv_lib_m_nextafter = yes; then
9264 cat >>confdefs.h
<<\_ACEOF
9265 #define HAVE_NEXTAFTER 1
9270 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
9271 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
9272 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
9273 echo $ECHO_N "(cached) $ECHO_C" >&6
9275 ac_check_lib_save_LIBS
=$LIBS
9277 if test x
$gcc_no_link = xyes
; then
9278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9280 { (exit 1); exit 1; }; }
9282 cat >conftest.
$ac_ext <<_ACEOF
9285 cat confdefs.h
>>conftest.
$ac_ext
9286 cat >>conftest.
$ac_ext <<_ACEOF
9287 /* end confdefs.h. */
9289 /* Override any gcc2 internal prototype to avoid an error. */
9293 /* We use char because int might match the return type of a gcc2
9294 builtin and then its argument prototype would still apply. */
9304 rm -f conftest.
$ac_objext conftest
$ac_exeext
9305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9306 (eval $ac_link) 2>conftest.er1
9308 grep -v '^ *+' conftest.er1
>conftest.err
9310 cat conftest.err
>&5
9311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 (exit $ac_status); } &&
9313 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9318 (exit $ac_status); }; } &&
9319 { ac_try
='test -s conftest$ac_exeext'
9320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9324 (exit $ac_status); }; }; then
9325 ac_cv_lib_m_nextafterf
=yes
9327 echo "$as_me: failed program was:" >&5
9328 sed 's/^/| /' conftest.
$ac_ext >&5
9330 ac_cv_lib_m_nextafterf
=no
9332 rm -f conftest.err conftest.
$ac_objext \
9333 conftest
$ac_exeext conftest.
$ac_ext
9334 LIBS
=$ac_check_lib_save_LIBS
9336 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
9337 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
9338 if test $ac_cv_lib_m_nextafterf = yes; then
9340 cat >>confdefs.h
<<\_ACEOF
9341 #define HAVE_NEXTAFTERF 1
9346 echo "$as_me:$LINENO: checking for powf in -lm" >&5
9347 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
9348 if test "${ac_cv_lib_m_powf+set}" = set; then
9349 echo $ECHO_N "(cached) $ECHO_C" >&6
9351 ac_check_lib_save_LIBS
=$LIBS
9353 if test x
$gcc_no_link = xyes
; then
9354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9356 { (exit 1); exit 1; }; }
9358 cat >conftest.
$ac_ext <<_ACEOF
9361 cat confdefs.h
>>conftest.
$ac_ext
9362 cat >>conftest.
$ac_ext <<_ACEOF
9363 /* end confdefs.h. */
9365 /* Override any gcc2 internal prototype to avoid an error. */
9369 /* We use char because int might match the return type of a gcc2
9370 builtin and then its argument prototype would still apply. */
9380 rm -f conftest.
$ac_objext conftest
$ac_exeext
9381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9382 (eval $ac_link) 2>conftest.er1
9384 grep -v '^ *+' conftest.er1
>conftest.err
9386 cat conftest.err
>&5
9387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9388 (exit $ac_status); } &&
9389 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9394 (exit $ac_status); }; } &&
9395 { ac_try
='test -s conftest$ac_exeext'
9396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9400 (exit $ac_status); }; }; then
9401 ac_cv_lib_m_powf
=yes
9403 echo "$as_me: failed program was:" >&5
9404 sed 's/^/| /' conftest.
$ac_ext >&5
9408 rm -f conftest.err conftest.
$ac_objext \
9409 conftest
$ac_exeext conftest.
$ac_ext
9410 LIBS
=$ac_check_lib_save_LIBS
9412 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
9413 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
9414 if test $ac_cv_lib_m_powf = yes; then
9416 cat >>confdefs.h
<<\_ACEOF
9422 echo "$as_me:$LINENO: checking for round in -lm" >&5
9423 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
9424 if test "${ac_cv_lib_m_round+set}" = set; then
9425 echo $ECHO_N "(cached) $ECHO_C" >&6
9427 ac_check_lib_save_LIBS
=$LIBS
9429 if test x
$gcc_no_link = xyes
; then
9430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9432 { (exit 1); exit 1; }; }
9434 cat >conftest.
$ac_ext <<_ACEOF
9437 cat confdefs.h
>>conftest.
$ac_ext
9438 cat >>conftest.
$ac_ext <<_ACEOF
9439 /* end confdefs.h. */
9441 /* Override any gcc2 internal prototype to avoid an error. */
9445 /* We use char because int might match the return type of a gcc2
9446 builtin and then its argument prototype would still apply. */
9456 rm -f conftest.
$ac_objext conftest
$ac_exeext
9457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9458 (eval $ac_link) 2>conftest.er1
9460 grep -v '^ *+' conftest.er1
>conftest.err
9462 cat conftest.err
>&5
9463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9464 (exit $ac_status); } &&
9465 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9470 (exit $ac_status); }; } &&
9471 { ac_try
='test -s conftest$ac_exeext'
9472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9476 (exit $ac_status); }; }; then
9477 ac_cv_lib_m_round
=yes
9479 echo "$as_me: failed program was:" >&5
9480 sed 's/^/| /' conftest.
$ac_ext >&5
9482 ac_cv_lib_m_round
=no
9484 rm -f conftest.err conftest.
$ac_objext \
9485 conftest
$ac_exeext conftest.
$ac_ext
9486 LIBS
=$ac_check_lib_save_LIBS
9488 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
9489 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
9490 if test $ac_cv_lib_m_round = yes; then
9492 cat >>confdefs.h
<<\_ACEOF
9493 #define HAVE_ROUND 1
9498 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
9499 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
9500 if test "${ac_cv_lib_m_roundf+set}" = set; then
9501 echo $ECHO_N "(cached) $ECHO_C" >&6
9503 ac_check_lib_save_LIBS
=$LIBS
9505 if test x
$gcc_no_link = xyes
; then
9506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9508 { (exit 1); exit 1; }; }
9510 cat >conftest.
$ac_ext <<_ACEOF
9513 cat confdefs.h
>>conftest.
$ac_ext
9514 cat >>conftest.
$ac_ext <<_ACEOF
9515 /* end confdefs.h. */
9517 /* Override any gcc2 internal prototype to avoid an error. */
9521 /* We use char because int might match the return type of a gcc2
9522 builtin and then its argument prototype would still apply. */
9532 rm -f conftest.
$ac_objext conftest
$ac_exeext
9533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9534 (eval $ac_link) 2>conftest.er1
9536 grep -v '^ *+' conftest.er1
>conftest.err
9538 cat conftest.err
>&5
9539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9540 (exit $ac_status); } &&
9541 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9546 (exit $ac_status); }; } &&
9547 { ac_try
='test -s conftest$ac_exeext'
9548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9552 (exit $ac_status); }; }; then
9553 ac_cv_lib_m_roundf
=yes
9555 echo "$as_me: failed program was:" >&5
9556 sed 's/^/| /' conftest.
$ac_ext >&5
9558 ac_cv_lib_m_roundf
=no
9560 rm -f conftest.err conftest.
$ac_objext \
9561 conftest
$ac_exeext conftest.
$ac_ext
9562 LIBS
=$ac_check_lib_save_LIBS
9564 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
9565 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
9566 if test $ac_cv_lib_m_roundf = yes; then
9568 cat >>confdefs.h
<<\_ACEOF
9569 #define HAVE_ROUNDF 1
9574 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
9575 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
9576 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
9577 echo $ECHO_N "(cached) $ECHO_C" >&6
9579 ac_check_lib_save_LIBS
=$LIBS
9581 if test x
$gcc_no_link = xyes
; then
9582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9584 { (exit 1); exit 1; }; }
9586 cat >conftest.
$ac_ext <<_ACEOF
9589 cat confdefs.h
>>conftest.
$ac_ext
9590 cat >>conftest.
$ac_ext <<_ACEOF
9591 /* end confdefs.h. */
9593 /* Override any gcc2 internal prototype to avoid an error. */
9597 /* We use char because int might match the return type of a gcc2
9598 builtin and then its argument prototype would still apply. */
9608 rm -f conftest.
$ac_objext conftest
$ac_exeext
9609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9610 (eval $ac_link) 2>conftest.er1
9612 grep -v '^ *+' conftest.er1
>conftest.err
9614 cat conftest.err
>&5
9615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9616 (exit $ac_status); } &&
9617 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9622 (exit $ac_status); }; } &&
9623 { ac_try
='test -s conftest$ac_exeext'
9624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9628 (exit $ac_status); }; }; then
9629 ac_cv_lib_m_scalbnf
=yes
9631 echo "$as_me: failed program was:" >&5
9632 sed 's/^/| /' conftest.
$ac_ext >&5
9634 ac_cv_lib_m_scalbnf
=no
9636 rm -f conftest.err conftest.
$ac_objext \
9637 conftest
$ac_exeext conftest.
$ac_ext
9638 LIBS
=$ac_check_lib_save_LIBS
9640 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
9641 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
9642 if test $ac_cv_lib_m_scalbnf = yes; then
9644 cat >>confdefs.h
<<\_ACEOF
9645 #define HAVE_SCALBNF 1
9650 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
9651 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
9652 if test "${ac_cv_lib_m_scalbn+set}" = set; then
9653 echo $ECHO_N "(cached) $ECHO_C" >&6
9655 ac_check_lib_save_LIBS
=$LIBS
9657 if test x
$gcc_no_link = xyes
; then
9658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9660 { (exit 1); exit 1; }; }
9662 cat >conftest.
$ac_ext <<_ACEOF
9665 cat confdefs.h
>>conftest.
$ac_ext
9666 cat >>conftest.
$ac_ext <<_ACEOF
9667 /* end confdefs.h. */
9669 /* Override any gcc2 internal prototype to avoid an error. */
9673 /* We use char because int might match the return type of a gcc2
9674 builtin and then its argument prototype would still apply. */
9684 rm -f conftest.
$ac_objext conftest
$ac_exeext
9685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9686 (eval $ac_link) 2>conftest.er1
9688 grep -v '^ *+' conftest.er1
>conftest.err
9690 cat conftest.err
>&5
9691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9692 (exit $ac_status); } &&
9693 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9698 (exit $ac_status); }; } &&
9699 { ac_try
='test -s conftest$ac_exeext'
9700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9704 (exit $ac_status); }; }; then
9705 ac_cv_lib_m_scalbn
=yes
9707 echo "$as_me: failed program was:" >&5
9708 sed 's/^/| /' conftest.
$ac_ext >&5
9710 ac_cv_lib_m_scalbn
=no
9712 rm -f conftest.err conftest.
$ac_objext \
9713 conftest
$ac_exeext conftest.
$ac_ext
9714 LIBS
=$ac_check_lib_save_LIBS
9716 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
9717 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
9718 if test $ac_cv_lib_m_scalbn = yes; then
9720 cat >>confdefs.h
<<\_ACEOF
9721 #define HAVE_SCALBN 1
9726 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
9727 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
9728 if test "${ac_cv_lib_m_sinf+set}" = set; then
9729 echo $ECHO_N "(cached) $ECHO_C" >&6
9731 ac_check_lib_save_LIBS
=$LIBS
9733 if test x
$gcc_no_link = xyes
; then
9734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9736 { (exit 1); exit 1; }; }
9738 cat >conftest.
$ac_ext <<_ACEOF
9741 cat confdefs.h
>>conftest.
$ac_ext
9742 cat >>conftest.
$ac_ext <<_ACEOF
9743 /* end confdefs.h. */
9745 /* Override any gcc2 internal prototype to avoid an error. */
9749 /* We use char because int might match the return type of a gcc2
9750 builtin and then its argument prototype would still apply. */
9760 rm -f conftest.
$ac_objext conftest
$ac_exeext
9761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9762 (eval $ac_link) 2>conftest.er1
9764 grep -v '^ *+' conftest.er1
>conftest.err
9766 cat conftest.err
>&5
9767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9768 (exit $ac_status); } &&
9769 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774 (exit $ac_status); }; } &&
9775 { ac_try
='test -s conftest$ac_exeext'
9776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9780 (exit $ac_status); }; }; then
9781 ac_cv_lib_m_sinf
=yes
9783 echo "$as_me: failed program was:" >&5
9784 sed 's/^/| /' conftest.
$ac_ext >&5
9788 rm -f conftest.err conftest.
$ac_objext \
9789 conftest
$ac_exeext conftest.
$ac_ext
9790 LIBS
=$ac_check_lib_save_LIBS
9792 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
9793 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
9794 if test $ac_cv_lib_m_sinf = yes; then
9796 cat >>confdefs.h
<<\_ACEOF
9802 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
9803 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
9804 if test "${ac_cv_lib_m_sinhf+set}" = set; then
9805 echo $ECHO_N "(cached) $ECHO_C" >&6
9807 ac_check_lib_save_LIBS
=$LIBS
9809 if test x
$gcc_no_link = xyes
; then
9810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9812 { (exit 1); exit 1; }; }
9814 cat >conftest.
$ac_ext <<_ACEOF
9817 cat confdefs.h
>>conftest.
$ac_ext
9818 cat >>conftest.
$ac_ext <<_ACEOF
9819 /* end confdefs.h. */
9821 /* Override any gcc2 internal prototype to avoid an error. */
9825 /* We use char because int might match the return type of a gcc2
9826 builtin and then its argument prototype would still apply. */
9836 rm -f conftest.
$ac_objext conftest
$ac_exeext
9837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9838 (eval $ac_link) 2>conftest.er1
9840 grep -v '^ *+' conftest.er1
>conftest.err
9842 cat conftest.err
>&5
9843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9844 (exit $ac_status); } &&
9845 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9850 (exit $ac_status); }; } &&
9851 { ac_try
='test -s conftest$ac_exeext'
9852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9856 (exit $ac_status); }; }; then
9857 ac_cv_lib_m_sinhf
=yes
9859 echo "$as_me: failed program was:" >&5
9860 sed 's/^/| /' conftest.
$ac_ext >&5
9862 ac_cv_lib_m_sinhf
=no
9864 rm -f conftest.err conftest.
$ac_objext \
9865 conftest
$ac_exeext conftest.
$ac_ext
9866 LIBS
=$ac_check_lib_save_LIBS
9868 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
9869 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
9870 if test $ac_cv_lib_m_sinhf = yes; then
9872 cat >>confdefs.h
<<\_ACEOF
9873 #define HAVE_SINHF 1
9878 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
9879 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
9880 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
9881 echo $ECHO_N "(cached) $ECHO_C" >&6
9883 ac_check_lib_save_LIBS
=$LIBS
9885 if test x
$gcc_no_link = xyes
; then
9886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9888 { (exit 1); exit 1; }; }
9890 cat >conftest.
$ac_ext <<_ACEOF
9893 cat confdefs.h
>>conftest.
$ac_ext
9894 cat >>conftest.
$ac_ext <<_ACEOF
9895 /* end confdefs.h. */
9897 /* Override any gcc2 internal prototype to avoid an error. */
9901 /* We use char because int might match the return type of a gcc2
9902 builtin and then its argument prototype would still apply. */
9912 rm -f conftest.
$ac_objext conftest
$ac_exeext
9913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9914 (eval $ac_link) 2>conftest.er1
9916 grep -v '^ *+' conftest.er1
>conftest.err
9918 cat conftest.err
>&5
9919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9920 (exit $ac_status); } &&
9921 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9926 (exit $ac_status); }; } &&
9927 { ac_try
='test -s conftest$ac_exeext'
9928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9932 (exit $ac_status); }; }; then
9933 ac_cv_lib_m_sqrtf
=yes
9935 echo "$as_me: failed program was:" >&5
9936 sed 's/^/| /' conftest.
$ac_ext >&5
9938 ac_cv_lib_m_sqrtf
=no
9940 rm -f conftest.err conftest.
$ac_objext \
9941 conftest
$ac_exeext conftest.
$ac_ext
9942 LIBS
=$ac_check_lib_save_LIBS
9944 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
9945 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
9946 if test $ac_cv_lib_m_sqrtf = yes; then
9948 cat >>confdefs.h
<<\_ACEOF
9949 #define HAVE_SQRTF 1
9954 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
9955 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
9956 if test "${ac_cv_lib_m_tanf+set}" = set; then
9957 echo $ECHO_N "(cached) $ECHO_C" >&6
9959 ac_check_lib_save_LIBS
=$LIBS
9961 if test x
$gcc_no_link = xyes
; then
9962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9964 { (exit 1); exit 1; }; }
9966 cat >conftest.
$ac_ext <<_ACEOF
9969 cat confdefs.h
>>conftest.
$ac_ext
9970 cat >>conftest.
$ac_ext <<_ACEOF
9971 /* end confdefs.h. */
9973 /* Override any gcc2 internal prototype to avoid an error. */
9977 /* We use char because int might match the return type of a gcc2
9978 builtin and then its argument prototype would still apply. */
9988 rm -f conftest.
$ac_objext conftest
$ac_exeext
9989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9990 (eval $ac_link) 2>conftest.er1
9992 grep -v '^ *+' conftest.er1
>conftest.err
9994 cat conftest.err
>&5
9995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9996 (exit $ac_status); } &&
9997 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10002 (exit $ac_status); }; } &&
10003 { ac_try
='test -s conftest$ac_exeext'
10004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10005 (eval $ac_try) 2>&5
10007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10008 (exit $ac_status); }; }; then
10009 ac_cv_lib_m_tanf
=yes
10011 echo "$as_me: failed program was:" >&5
10012 sed 's/^/| /' conftest.
$ac_ext >&5
10014 ac_cv_lib_m_tanf
=no
10016 rm -f conftest.err conftest.
$ac_objext \
10017 conftest
$ac_exeext conftest.
$ac_ext
10018 LIBS
=$ac_check_lib_save_LIBS
10020 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
10021 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
10022 if test $ac_cv_lib_m_tanf = yes; then
10024 cat >>confdefs.h
<<\_ACEOF
10025 #define HAVE_TANF 1
10030 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
10031 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
10032 if test "${ac_cv_lib_m_tanhf+set}" = set; then
10033 echo $ECHO_N "(cached) $ECHO_C" >&6
10035 ac_check_lib_save_LIBS
=$LIBS
10037 if test x
$gcc_no_link = xyes
; then
10038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10040 { (exit 1); exit 1; }; }
10042 cat >conftest.
$ac_ext <<_ACEOF
10045 cat confdefs.h
>>conftest.
$ac_ext
10046 cat >>conftest.
$ac_ext <<_ACEOF
10047 /* end confdefs.h. */
10049 /* Override any gcc2 internal prototype to avoid an error. */
10053 /* We use char because int might match the return type of a gcc2
10054 builtin and then its argument prototype would still apply. */
10064 rm -f conftest.
$ac_objext conftest
$ac_exeext
10065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10066 (eval $ac_link) 2>conftest.er1
10068 grep -v '^ *+' conftest.er1
>conftest.err
10070 cat conftest.err
>&5
10071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10072 (exit $ac_status); } &&
10073 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10075 (eval $ac_try) 2>&5
10077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10078 (exit $ac_status); }; } &&
10079 { ac_try
='test -s conftest$ac_exeext'
10080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10081 (eval $ac_try) 2>&5
10083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10084 (exit $ac_status); }; }; then
10085 ac_cv_lib_m_tanhf
=yes
10087 echo "$as_me: failed program was:" >&5
10088 sed 's/^/| /' conftest.
$ac_ext >&5
10090 ac_cv_lib_m_tanhf
=no
10092 rm -f conftest.err conftest.
$ac_objext \
10093 conftest
$ac_exeext conftest.
$ac_ext
10094 LIBS
=$ac_check_lib_save_LIBS
10096 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
10097 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
10098 if test $ac_cv_lib_m_tanhf = yes; then
10100 cat >>confdefs.h
<<\_ACEOF
10101 #define HAVE_TANHF 1
10106 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
10107 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
10108 if test "${ac_cv_lib_m_trunc+set}" = set; then
10109 echo $ECHO_N "(cached) $ECHO_C" >&6
10111 ac_check_lib_save_LIBS
=$LIBS
10113 if test x
$gcc_no_link = xyes
; then
10114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10116 { (exit 1); exit 1; }; }
10118 cat >conftest.
$ac_ext <<_ACEOF
10121 cat confdefs.h
>>conftest.
$ac_ext
10122 cat >>conftest.
$ac_ext <<_ACEOF
10123 /* end confdefs.h. */
10125 /* Override any gcc2 internal prototype to avoid an error. */
10129 /* We use char because int might match the return type of a gcc2
10130 builtin and then its argument prototype would still apply. */
10140 rm -f conftest.
$ac_objext conftest
$ac_exeext
10141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10142 (eval $ac_link) 2>conftest.er1
10144 grep -v '^ *+' conftest.er1
>conftest.err
10146 cat conftest.err
>&5
10147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10148 (exit $ac_status); } &&
10149 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10151 (eval $ac_try) 2>&5
10153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10154 (exit $ac_status); }; } &&
10155 { ac_try
='test -s conftest$ac_exeext'
10156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10157 (eval $ac_try) 2>&5
10159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10160 (exit $ac_status); }; }; then
10161 ac_cv_lib_m_trunc
=yes
10163 echo "$as_me: failed program was:" >&5
10164 sed 's/^/| /' conftest.
$ac_ext >&5
10166 ac_cv_lib_m_trunc
=no
10168 rm -f conftest.err conftest.
$ac_objext \
10169 conftest
$ac_exeext conftest.
$ac_ext
10170 LIBS
=$ac_check_lib_save_LIBS
10172 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
10173 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
10174 if test $ac_cv_lib_m_trunc = yes; then
10176 cat >>confdefs.h
<<\_ACEOF
10177 #define HAVE_TRUNC 1
10182 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
10183 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
10184 if test "${ac_cv_lib_m_truncf+set}" = set; then
10185 echo $ECHO_N "(cached) $ECHO_C" >&6
10187 ac_check_lib_save_LIBS
=$LIBS
10189 if test x
$gcc_no_link = xyes
; then
10190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10192 { (exit 1); exit 1; }; }
10194 cat >conftest.
$ac_ext <<_ACEOF
10197 cat confdefs.h
>>conftest.
$ac_ext
10198 cat >>conftest.
$ac_ext <<_ACEOF
10199 /* end confdefs.h. */
10201 /* Override any gcc2 internal prototype to avoid an error. */
10205 /* We use char because int might match the return type of a gcc2
10206 builtin and then its argument prototype would still apply. */
10216 rm -f conftest.
$ac_objext conftest
$ac_exeext
10217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10218 (eval $ac_link) 2>conftest.er1
10220 grep -v '^ *+' conftest.er1
>conftest.err
10222 cat conftest.err
>&5
10223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224 (exit $ac_status); } &&
10225 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10227 (eval $ac_try) 2>&5
10229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10230 (exit $ac_status); }; } &&
10231 { ac_try
='test -s conftest$ac_exeext'
10232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10233 (eval $ac_try) 2>&5
10235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10236 (exit $ac_status); }; }; then
10237 ac_cv_lib_m_truncf
=yes
10239 echo "$as_me: failed program was:" >&5
10240 sed 's/^/| /' conftest.
$ac_ext >&5
10242 ac_cv_lib_m_truncf
=no
10244 rm -f conftest.err conftest.
$ac_objext \
10245 conftest
$ac_exeext conftest.
$ac_ext
10246 LIBS
=$ac_check_lib_save_LIBS
10248 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
10249 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
10250 if test $ac_cv_lib_m_truncf = yes; then
10252 cat >>confdefs.h
<<\_ACEOF
10253 #define HAVE_TRUNCF 1
10258 echo "$as_me:$LINENO: checking for erf in -lm" >&5
10259 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
10260 if test "${ac_cv_lib_m_erf+set}" = set; then
10261 echo $ECHO_N "(cached) $ECHO_C" >&6
10263 ac_check_lib_save_LIBS
=$LIBS
10265 if test x
$gcc_no_link = xyes
; then
10266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10268 { (exit 1); exit 1; }; }
10270 cat >conftest.
$ac_ext <<_ACEOF
10273 cat confdefs.h
>>conftest.
$ac_ext
10274 cat >>conftest.
$ac_ext <<_ACEOF
10275 /* end confdefs.h. */
10277 /* Override any gcc2 internal prototype to avoid an error. */
10281 /* We use char because int might match the return type of a gcc2
10282 builtin and then its argument prototype would still apply. */
10292 rm -f conftest.
$ac_objext conftest
$ac_exeext
10293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10294 (eval $ac_link) 2>conftest.er1
10296 grep -v '^ *+' conftest.er1
>conftest.err
10298 cat conftest.err
>&5
10299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10300 (exit $ac_status); } &&
10301 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10303 (eval $ac_try) 2>&5
10305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10306 (exit $ac_status); }; } &&
10307 { ac_try
='test -s conftest$ac_exeext'
10308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10309 (eval $ac_try) 2>&5
10311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10312 (exit $ac_status); }; }; then
10313 ac_cv_lib_m_erf
=yes
10315 echo "$as_me: failed program was:" >&5
10316 sed 's/^/| /' conftest.
$ac_ext >&5
10320 rm -f conftest.err conftest.
$ac_objext \
10321 conftest
$ac_exeext conftest.
$ac_ext
10322 LIBS
=$ac_check_lib_save_LIBS
10324 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
10325 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
10326 if test $ac_cv_lib_m_erf = yes; then
10328 cat >>confdefs.h
<<\_ACEOF
10334 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
10335 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
10336 if test "${ac_cv_lib_m_erfc+set}" = set; then
10337 echo $ECHO_N "(cached) $ECHO_C" >&6
10339 ac_check_lib_save_LIBS
=$LIBS
10341 if test x
$gcc_no_link = xyes
; then
10342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10344 { (exit 1); exit 1; }; }
10346 cat >conftest.
$ac_ext <<_ACEOF
10349 cat confdefs.h
>>conftest.
$ac_ext
10350 cat >>conftest.
$ac_ext <<_ACEOF
10351 /* end confdefs.h. */
10353 /* Override any gcc2 internal prototype to avoid an error. */
10357 /* We use char because int might match the return type of a gcc2
10358 builtin and then its argument prototype would still apply. */
10368 rm -f conftest.
$ac_objext conftest
$ac_exeext
10369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10370 (eval $ac_link) 2>conftest.er1
10372 grep -v '^ *+' conftest.er1
>conftest.err
10374 cat conftest.err
>&5
10375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10376 (exit $ac_status); } &&
10377 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10379 (eval $ac_try) 2>&5
10381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10382 (exit $ac_status); }; } &&
10383 { ac_try
='test -s conftest$ac_exeext'
10384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10385 (eval $ac_try) 2>&5
10387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10388 (exit $ac_status); }; }; then
10389 ac_cv_lib_m_erfc
=yes
10391 echo "$as_me: failed program was:" >&5
10392 sed 's/^/| /' conftest.
$ac_ext >&5
10394 ac_cv_lib_m_erfc
=no
10396 rm -f conftest.err conftest.
$ac_objext \
10397 conftest
$ac_exeext conftest.
$ac_ext
10398 LIBS
=$ac_check_lib_save_LIBS
10400 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
10401 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
10402 if test $ac_cv_lib_m_erfc = yes; then
10404 cat >>confdefs.h
<<\_ACEOF
10405 #define HAVE_ERFC 1
10410 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
10411 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
10412 if test "${ac_cv_lib_m_erfcf+set}" = set; then
10413 echo $ECHO_N "(cached) $ECHO_C" >&6
10415 ac_check_lib_save_LIBS
=$LIBS
10417 if test x
$gcc_no_link = xyes
; then
10418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10420 { (exit 1); exit 1; }; }
10422 cat >conftest.
$ac_ext <<_ACEOF
10425 cat confdefs.h
>>conftest.
$ac_ext
10426 cat >>conftest.
$ac_ext <<_ACEOF
10427 /* end confdefs.h. */
10429 /* Override any gcc2 internal prototype to avoid an error. */
10433 /* We use char because int might match the return type of a gcc2
10434 builtin and then its argument prototype would still apply. */
10444 rm -f conftest.
$ac_objext conftest
$ac_exeext
10445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10446 (eval $ac_link) 2>conftest.er1
10448 grep -v '^ *+' conftest.er1
>conftest.err
10450 cat conftest.err
>&5
10451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10452 (exit $ac_status); } &&
10453 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10455 (eval $ac_try) 2>&5
10457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10458 (exit $ac_status); }; } &&
10459 { ac_try
='test -s conftest$ac_exeext'
10460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10461 (eval $ac_try) 2>&5
10463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10464 (exit $ac_status); }; }; then
10465 ac_cv_lib_m_erfcf
=yes
10467 echo "$as_me: failed program was:" >&5
10468 sed 's/^/| /' conftest.
$ac_ext >&5
10470 ac_cv_lib_m_erfcf
=no
10472 rm -f conftest.err conftest.
$ac_objext \
10473 conftest
$ac_exeext conftest.
$ac_ext
10474 LIBS
=$ac_check_lib_save_LIBS
10476 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
10477 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
10478 if test $ac_cv_lib_m_erfcf = yes; then
10480 cat >>confdefs.h
<<\_ACEOF
10481 #define HAVE_ERFCF 1
10486 echo "$as_me:$LINENO: checking for erff in -lm" >&5
10487 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
10488 if test "${ac_cv_lib_m_erff+set}" = set; then
10489 echo $ECHO_N "(cached) $ECHO_C" >&6
10491 ac_check_lib_save_LIBS
=$LIBS
10493 if test x
$gcc_no_link = xyes
; then
10494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10496 { (exit 1); exit 1; }; }
10498 cat >conftest.
$ac_ext <<_ACEOF
10501 cat confdefs.h
>>conftest.
$ac_ext
10502 cat >>conftest.
$ac_ext <<_ACEOF
10503 /* end confdefs.h. */
10505 /* Override any gcc2 internal prototype to avoid an error. */
10509 /* We use char because int might match the return type of a gcc2
10510 builtin and then its argument prototype would still apply. */
10520 rm -f conftest.
$ac_objext conftest
$ac_exeext
10521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10522 (eval $ac_link) 2>conftest.er1
10524 grep -v '^ *+' conftest.er1
>conftest.err
10526 cat conftest.err
>&5
10527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10528 (exit $ac_status); } &&
10529 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10531 (eval $ac_try) 2>&5
10533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10534 (exit $ac_status); }; } &&
10535 { ac_try
='test -s conftest$ac_exeext'
10536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10537 (eval $ac_try) 2>&5
10539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10540 (exit $ac_status); }; }; then
10541 ac_cv_lib_m_erff
=yes
10543 echo "$as_me: failed program was:" >&5
10544 sed 's/^/| /' conftest.
$ac_ext >&5
10546 ac_cv_lib_m_erff
=no
10548 rm -f conftest.err conftest.
$ac_objext \
10549 conftest
$ac_exeext conftest.
$ac_ext
10550 LIBS
=$ac_check_lib_save_LIBS
10552 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
10553 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
10554 if test $ac_cv_lib_m_erff = yes; then
10556 cat >>confdefs.h
<<\_ACEOF
10557 #define HAVE_ERFF 1
10562 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
10563 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
10564 if test "${ac_cv_lib_m_j0+set}" = set; then
10565 echo $ECHO_N "(cached) $ECHO_C" >&6
10567 ac_check_lib_save_LIBS
=$LIBS
10569 if test x
$gcc_no_link = xyes
; then
10570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10572 { (exit 1); exit 1; }; }
10574 cat >conftest.
$ac_ext <<_ACEOF
10577 cat confdefs.h
>>conftest.
$ac_ext
10578 cat >>conftest.
$ac_ext <<_ACEOF
10579 /* end confdefs.h. */
10581 /* Override any gcc2 internal prototype to avoid an error. */
10585 /* We use char because int might match the return type of a gcc2
10586 builtin and then its argument prototype would still apply. */
10596 rm -f conftest.
$ac_objext conftest
$ac_exeext
10597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10598 (eval $ac_link) 2>conftest.er1
10600 grep -v '^ *+' conftest.er1
>conftest.err
10602 cat conftest.err
>&5
10603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10604 (exit $ac_status); } &&
10605 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10607 (eval $ac_try) 2>&5
10609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10610 (exit $ac_status); }; } &&
10611 { ac_try
='test -s conftest$ac_exeext'
10612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10613 (eval $ac_try) 2>&5
10615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616 (exit $ac_status); }; }; then
10619 echo "$as_me: failed program was:" >&5
10620 sed 's/^/| /' conftest.
$ac_ext >&5
10624 rm -f conftest.err conftest.
$ac_objext \
10625 conftest
$ac_exeext conftest.
$ac_ext
10626 LIBS
=$ac_check_lib_save_LIBS
10628 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
10629 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
10630 if test $ac_cv_lib_m_j0 = yes; then
10632 cat >>confdefs.h
<<\_ACEOF
10638 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
10639 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
10640 if test "${ac_cv_lib_m_j0f+set}" = set; then
10641 echo $ECHO_N "(cached) $ECHO_C" >&6
10643 ac_check_lib_save_LIBS
=$LIBS
10645 if test x
$gcc_no_link = xyes
; then
10646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10648 { (exit 1); exit 1; }; }
10650 cat >conftest.
$ac_ext <<_ACEOF
10653 cat confdefs.h
>>conftest.
$ac_ext
10654 cat >>conftest.
$ac_ext <<_ACEOF
10655 /* end confdefs.h. */
10657 /* Override any gcc2 internal prototype to avoid an error. */
10661 /* We use char because int might match the return type of a gcc2
10662 builtin and then its argument prototype would still apply. */
10672 rm -f conftest.
$ac_objext conftest
$ac_exeext
10673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10674 (eval $ac_link) 2>conftest.er1
10676 grep -v '^ *+' conftest.er1
>conftest.err
10678 cat conftest.err
>&5
10679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10680 (exit $ac_status); } &&
10681 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10683 (eval $ac_try) 2>&5
10685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10686 (exit $ac_status); }; } &&
10687 { ac_try
='test -s conftest$ac_exeext'
10688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10689 (eval $ac_try) 2>&5
10691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10692 (exit $ac_status); }; }; then
10693 ac_cv_lib_m_j0f
=yes
10695 echo "$as_me: failed program was:" >&5
10696 sed 's/^/| /' conftest.
$ac_ext >&5
10700 rm -f conftest.err conftest.
$ac_objext \
10701 conftest
$ac_exeext conftest.
$ac_ext
10702 LIBS
=$ac_check_lib_save_LIBS
10704 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
10705 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
10706 if test $ac_cv_lib_m_j0f = yes; then
10708 cat >>confdefs.h
<<\_ACEOF
10714 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
10715 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
10716 if test "${ac_cv_lib_m_j1+set}" = set; then
10717 echo $ECHO_N "(cached) $ECHO_C" >&6
10719 ac_check_lib_save_LIBS
=$LIBS
10721 if test x
$gcc_no_link = xyes
; then
10722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10724 { (exit 1); exit 1; }; }
10726 cat >conftest.
$ac_ext <<_ACEOF
10729 cat confdefs.h
>>conftest.
$ac_ext
10730 cat >>conftest.
$ac_ext <<_ACEOF
10731 /* end confdefs.h. */
10733 /* Override any gcc2 internal prototype to avoid an error. */
10737 /* We use char because int might match the return type of a gcc2
10738 builtin and then its argument prototype would still apply. */
10748 rm -f conftest.
$ac_objext conftest
$ac_exeext
10749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10750 (eval $ac_link) 2>conftest.er1
10752 grep -v '^ *+' conftest.er1
>conftest.err
10754 cat conftest.err
>&5
10755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10756 (exit $ac_status); } &&
10757 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10759 (eval $ac_try) 2>&5
10761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10762 (exit $ac_status); }; } &&
10763 { ac_try
='test -s conftest$ac_exeext'
10764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10765 (eval $ac_try) 2>&5
10767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10768 (exit $ac_status); }; }; then
10771 echo "$as_me: failed program was:" >&5
10772 sed 's/^/| /' conftest.
$ac_ext >&5
10776 rm -f conftest.err conftest.
$ac_objext \
10777 conftest
$ac_exeext conftest.
$ac_ext
10778 LIBS
=$ac_check_lib_save_LIBS
10780 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
10781 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
10782 if test $ac_cv_lib_m_j1 = yes; then
10784 cat >>confdefs.h
<<\_ACEOF
10790 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
10791 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
10792 if test "${ac_cv_lib_m_j1f+set}" = set; then
10793 echo $ECHO_N "(cached) $ECHO_C" >&6
10795 ac_check_lib_save_LIBS
=$LIBS
10797 if test x
$gcc_no_link = xyes
; then
10798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10800 { (exit 1); exit 1; }; }
10802 cat >conftest.
$ac_ext <<_ACEOF
10805 cat confdefs.h
>>conftest.
$ac_ext
10806 cat >>conftest.
$ac_ext <<_ACEOF
10807 /* end confdefs.h. */
10809 /* Override any gcc2 internal prototype to avoid an error. */
10813 /* We use char because int might match the return type of a gcc2
10814 builtin and then its argument prototype would still apply. */
10824 rm -f conftest.
$ac_objext conftest
$ac_exeext
10825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10826 (eval $ac_link) 2>conftest.er1
10828 grep -v '^ *+' conftest.er1
>conftest.err
10830 cat conftest.err
>&5
10831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10832 (exit $ac_status); } &&
10833 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10835 (eval $ac_try) 2>&5
10837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10838 (exit $ac_status); }; } &&
10839 { ac_try
='test -s conftest$ac_exeext'
10840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10841 (eval $ac_try) 2>&5
10843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10844 (exit $ac_status); }; }; then
10845 ac_cv_lib_m_j1f
=yes
10847 echo "$as_me: failed program was:" >&5
10848 sed 's/^/| /' conftest.
$ac_ext >&5
10852 rm -f conftest.err conftest.
$ac_objext \
10853 conftest
$ac_exeext conftest.
$ac_ext
10854 LIBS
=$ac_check_lib_save_LIBS
10856 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
10857 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
10858 if test $ac_cv_lib_m_j1f = yes; then
10860 cat >>confdefs.h
<<\_ACEOF
10866 echo "$as_me:$LINENO: checking for jn in -lm" >&5
10867 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
10868 if test "${ac_cv_lib_m_jn+set}" = set; then
10869 echo $ECHO_N "(cached) $ECHO_C" >&6
10871 ac_check_lib_save_LIBS
=$LIBS
10873 if test x
$gcc_no_link = xyes
; then
10874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10876 { (exit 1); exit 1; }; }
10878 cat >conftest.
$ac_ext <<_ACEOF
10881 cat confdefs.h
>>conftest.
$ac_ext
10882 cat >>conftest.
$ac_ext <<_ACEOF
10883 /* end confdefs.h. */
10885 /* Override any gcc2 internal prototype to avoid an error. */
10889 /* We use char because int might match the return type of a gcc2
10890 builtin and then its argument prototype would still apply. */
10900 rm -f conftest.
$ac_objext conftest
$ac_exeext
10901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10902 (eval $ac_link) 2>conftest.er1
10904 grep -v '^ *+' conftest.er1
>conftest.err
10906 cat conftest.err
>&5
10907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10908 (exit $ac_status); } &&
10909 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10911 (eval $ac_try) 2>&5
10913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10914 (exit $ac_status); }; } &&
10915 { ac_try
='test -s conftest$ac_exeext'
10916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10917 (eval $ac_try) 2>&5
10919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10920 (exit $ac_status); }; }; then
10923 echo "$as_me: failed program was:" >&5
10924 sed 's/^/| /' conftest.
$ac_ext >&5
10928 rm -f conftest.err conftest.
$ac_objext \
10929 conftest
$ac_exeext conftest.
$ac_ext
10930 LIBS
=$ac_check_lib_save_LIBS
10932 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
10933 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
10934 if test $ac_cv_lib_m_jn = yes; then
10936 cat >>confdefs.h
<<\_ACEOF
10942 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
10943 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
10944 if test "${ac_cv_lib_m_jnf+set}" = set; then
10945 echo $ECHO_N "(cached) $ECHO_C" >&6
10947 ac_check_lib_save_LIBS
=$LIBS
10949 if test x
$gcc_no_link = xyes
; then
10950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10952 { (exit 1); exit 1; }; }
10954 cat >conftest.
$ac_ext <<_ACEOF
10957 cat confdefs.h
>>conftest.
$ac_ext
10958 cat >>conftest.
$ac_ext <<_ACEOF
10959 /* end confdefs.h. */
10961 /* Override any gcc2 internal prototype to avoid an error. */
10965 /* We use char because int might match the return type of a gcc2
10966 builtin and then its argument prototype would still apply. */
10976 rm -f conftest.
$ac_objext conftest
$ac_exeext
10977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10978 (eval $ac_link) 2>conftest.er1
10980 grep -v '^ *+' conftest.er1
>conftest.err
10982 cat conftest.err
>&5
10983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10984 (exit $ac_status); } &&
10985 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
10991 { ac_try
='test -s conftest$ac_exeext'
10992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10993 (eval $ac_try) 2>&5
10995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10996 (exit $ac_status); }; }; then
10997 ac_cv_lib_m_jnf
=yes
10999 echo "$as_me: failed program was:" >&5
11000 sed 's/^/| /' conftest.
$ac_ext >&5
11004 rm -f conftest.err conftest.
$ac_objext \
11005 conftest
$ac_exeext conftest.
$ac_ext
11006 LIBS
=$ac_check_lib_save_LIBS
11008 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
11009 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
11010 if test $ac_cv_lib_m_jnf = yes; then
11012 cat >>confdefs.h
<<\_ACEOF
11018 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
11019 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
11020 if test "${ac_cv_lib_m_y0+set}" = set; then
11021 echo $ECHO_N "(cached) $ECHO_C" >&6
11023 ac_check_lib_save_LIBS
=$LIBS
11025 if test x
$gcc_no_link = xyes
; then
11026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11028 { (exit 1); exit 1; }; }
11030 cat >conftest.
$ac_ext <<_ACEOF
11033 cat confdefs.h
>>conftest.
$ac_ext
11034 cat >>conftest.
$ac_ext <<_ACEOF
11035 /* end confdefs.h. */
11037 /* Override any gcc2 internal prototype to avoid an error. */
11041 /* We use char because int might match the return type of a gcc2
11042 builtin and then its argument prototype would still apply. */
11052 rm -f conftest.
$ac_objext conftest
$ac_exeext
11053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11054 (eval $ac_link) 2>conftest.er1
11056 grep -v '^ *+' conftest.er1
>conftest.err
11058 cat conftest.err
>&5
11059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11060 (exit $ac_status); } &&
11061 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11063 (eval $ac_try) 2>&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); }; } &&
11067 { ac_try
='test -s conftest$ac_exeext'
11068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11069 (eval $ac_try) 2>&5
11071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11072 (exit $ac_status); }; }; then
11075 echo "$as_me: failed program was:" >&5
11076 sed 's/^/| /' conftest.
$ac_ext >&5
11080 rm -f conftest.err conftest.
$ac_objext \
11081 conftest
$ac_exeext conftest.
$ac_ext
11082 LIBS
=$ac_check_lib_save_LIBS
11084 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
11085 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
11086 if test $ac_cv_lib_m_y0 = yes; then
11088 cat >>confdefs.h
<<\_ACEOF
11094 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
11095 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
11096 if test "${ac_cv_lib_m_y0f+set}" = set; then
11097 echo $ECHO_N "(cached) $ECHO_C" >&6
11099 ac_check_lib_save_LIBS
=$LIBS
11101 if test x
$gcc_no_link = xyes
; then
11102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11104 { (exit 1); exit 1; }; }
11106 cat >conftest.
$ac_ext <<_ACEOF
11109 cat confdefs.h
>>conftest.
$ac_ext
11110 cat >>conftest.
$ac_ext <<_ACEOF
11111 /* end confdefs.h. */
11113 /* Override any gcc2 internal prototype to avoid an error. */
11117 /* We use char because int might match the return type of a gcc2
11118 builtin and then its argument prototype would still apply. */
11128 rm -f conftest.
$ac_objext conftest
$ac_exeext
11129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11130 (eval $ac_link) 2>conftest.er1
11132 grep -v '^ *+' conftest.er1
>conftest.err
11134 cat conftest.err
>&5
11135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11136 (exit $ac_status); } &&
11137 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11139 (eval $ac_try) 2>&5
11141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11142 (exit $ac_status); }; } &&
11143 { ac_try
='test -s conftest$ac_exeext'
11144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11145 (eval $ac_try) 2>&5
11147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11148 (exit $ac_status); }; }; then
11149 ac_cv_lib_m_y0f
=yes
11151 echo "$as_me: failed program was:" >&5
11152 sed 's/^/| /' conftest.
$ac_ext >&5
11156 rm -f conftest.err conftest.
$ac_objext \
11157 conftest
$ac_exeext conftest.
$ac_ext
11158 LIBS
=$ac_check_lib_save_LIBS
11160 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
11161 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
11162 if test $ac_cv_lib_m_y0f = yes; then
11164 cat >>confdefs.h
<<\_ACEOF
11170 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
11171 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
11172 if test "${ac_cv_lib_m_y1+set}" = set; then
11173 echo $ECHO_N "(cached) $ECHO_C" >&6
11175 ac_check_lib_save_LIBS
=$LIBS
11177 if test x
$gcc_no_link = xyes
; then
11178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11180 { (exit 1); exit 1; }; }
11182 cat >conftest.
$ac_ext <<_ACEOF
11185 cat confdefs.h
>>conftest.
$ac_ext
11186 cat >>conftest.
$ac_ext <<_ACEOF
11187 /* end confdefs.h. */
11189 /* Override any gcc2 internal prototype to avoid an error. */
11193 /* We use char because int might match the return type of a gcc2
11194 builtin and then its argument prototype would still apply. */
11204 rm -f conftest.
$ac_objext conftest
$ac_exeext
11205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11206 (eval $ac_link) 2>conftest.er1
11208 grep -v '^ *+' conftest.er1
>conftest.err
11210 cat conftest.err
>&5
11211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11212 (exit $ac_status); } &&
11213 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11215 (eval $ac_try) 2>&5
11217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11218 (exit $ac_status); }; } &&
11219 { ac_try
='test -s conftest$ac_exeext'
11220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11221 (eval $ac_try) 2>&5
11223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11224 (exit $ac_status); }; }; then
11227 echo "$as_me: failed program was:" >&5
11228 sed 's/^/| /' conftest.
$ac_ext >&5
11232 rm -f conftest.err conftest.
$ac_objext \
11233 conftest
$ac_exeext conftest.
$ac_ext
11234 LIBS
=$ac_check_lib_save_LIBS
11236 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
11237 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
11238 if test $ac_cv_lib_m_y1 = yes; then
11240 cat >>confdefs.h
<<\_ACEOF
11246 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
11247 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
11248 if test "${ac_cv_lib_m_y1f+set}" = set; then
11249 echo $ECHO_N "(cached) $ECHO_C" >&6
11251 ac_check_lib_save_LIBS
=$LIBS
11253 if test x
$gcc_no_link = xyes
; then
11254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11256 { (exit 1); exit 1; }; }
11258 cat >conftest.
$ac_ext <<_ACEOF
11261 cat confdefs.h
>>conftest.
$ac_ext
11262 cat >>conftest.
$ac_ext <<_ACEOF
11263 /* end confdefs.h. */
11265 /* Override any gcc2 internal prototype to avoid an error. */
11269 /* We use char because int might match the return type of a gcc2
11270 builtin and then its argument prototype would still apply. */
11280 rm -f conftest.
$ac_objext conftest
$ac_exeext
11281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11282 (eval $ac_link) 2>conftest.er1
11284 grep -v '^ *+' conftest.er1
>conftest.err
11286 cat conftest.err
>&5
11287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11288 (exit $ac_status); } &&
11289 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11291 (eval $ac_try) 2>&5
11293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11294 (exit $ac_status); }; } &&
11295 { ac_try
='test -s conftest$ac_exeext'
11296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11297 (eval $ac_try) 2>&5
11299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11300 (exit $ac_status); }; }; then
11301 ac_cv_lib_m_y1f
=yes
11303 echo "$as_me: failed program was:" >&5
11304 sed 's/^/| /' conftest.
$ac_ext >&5
11308 rm -f conftest.err conftest.
$ac_objext \
11309 conftest
$ac_exeext conftest.
$ac_ext
11310 LIBS
=$ac_check_lib_save_LIBS
11312 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
11313 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
11314 if test $ac_cv_lib_m_y1f = yes; then
11316 cat >>confdefs.h
<<\_ACEOF
11322 echo "$as_me:$LINENO: checking for yn in -lm" >&5
11323 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
11324 if test "${ac_cv_lib_m_yn+set}" = set; then
11325 echo $ECHO_N "(cached) $ECHO_C" >&6
11327 ac_check_lib_save_LIBS
=$LIBS
11329 if test x
$gcc_no_link = xyes
; then
11330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11332 { (exit 1); exit 1; }; }
11334 cat >conftest.
$ac_ext <<_ACEOF
11337 cat confdefs.h
>>conftest.
$ac_ext
11338 cat >>conftest.
$ac_ext <<_ACEOF
11339 /* end confdefs.h. */
11341 /* Override any gcc2 internal prototype to avoid an error. */
11345 /* We use char because int might match the return type of a gcc2
11346 builtin and then its argument prototype would still apply. */
11356 rm -f conftest.
$ac_objext conftest
$ac_exeext
11357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11358 (eval $ac_link) 2>conftest.er1
11360 grep -v '^ *+' conftest.er1
>conftest.err
11362 cat conftest.err
>&5
11363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11364 (exit $ac_status); } &&
11365 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11367 (eval $ac_try) 2>&5
11369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11370 (exit $ac_status); }; } &&
11371 { ac_try
='test -s conftest$ac_exeext'
11372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11373 (eval $ac_try) 2>&5
11375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11376 (exit $ac_status); }; }; then
11379 echo "$as_me: failed program was:" >&5
11380 sed 's/^/| /' conftest.
$ac_ext >&5
11384 rm -f conftest.err conftest.
$ac_objext \
11385 conftest
$ac_exeext conftest.
$ac_ext
11386 LIBS
=$ac_check_lib_save_LIBS
11388 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
11389 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
11390 if test $ac_cv_lib_m_yn = yes; then
11392 cat >>confdefs.h
<<\_ACEOF
11398 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
11399 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
11400 if test "${ac_cv_lib_m_ynf+set}" = set; then
11401 echo $ECHO_N "(cached) $ECHO_C" >&6
11403 ac_check_lib_save_LIBS
=$LIBS
11405 if test x
$gcc_no_link = xyes
; then
11406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11408 { (exit 1); exit 1; }; }
11410 cat >conftest.
$ac_ext <<_ACEOF
11413 cat confdefs.h
>>conftest.
$ac_ext
11414 cat >>conftest.
$ac_ext <<_ACEOF
11415 /* end confdefs.h. */
11417 /* Override any gcc2 internal prototype to avoid an error. */
11421 /* We use char because int might match the return type of a gcc2
11422 builtin and then its argument prototype would still apply. */
11432 rm -f conftest.
$ac_objext conftest
$ac_exeext
11433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11434 (eval $ac_link) 2>conftest.er1
11436 grep -v '^ *+' conftest.er1
>conftest.err
11438 cat conftest.err
>&5
11439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11440 (exit $ac_status); } &&
11441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11443 (eval $ac_try) 2>&5
11445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11446 (exit $ac_status); }; } &&
11447 { ac_try
='test -s conftest$ac_exeext'
11448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11449 (eval $ac_try) 2>&5
11451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11452 (exit $ac_status); }; }; then
11453 ac_cv_lib_m_ynf
=yes
11455 echo "$as_me: failed program was:" >&5
11456 sed 's/^/| /' conftest.
$ac_ext >&5
11460 rm -f conftest.err conftest.
$ac_objext \
11461 conftest
$ac_exeext conftest.
$ac_ext
11462 LIBS
=$ac_check_lib_save_LIBS
11464 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
11465 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
11466 if test $ac_cv_lib_m_ynf = yes; then
11468 cat >>confdefs.h
<<\_ACEOF
11475 # Fallback in case isfinite is not available.
11476 echo "$as_me:$LINENO: checking for finite in -lm" >&5
11477 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
11478 if test "${ac_cv_lib_m_finite+set}" = set; then
11479 echo $ECHO_N "(cached) $ECHO_C" >&6
11481 ac_check_lib_save_LIBS
=$LIBS
11483 if test x
$gcc_no_link = xyes
; then
11484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11486 { (exit 1); exit 1; }; }
11488 cat >conftest.
$ac_ext <<_ACEOF
11491 cat confdefs.h
>>conftest.
$ac_ext
11492 cat >>conftest.
$ac_ext <<_ACEOF
11493 /* end confdefs.h. */
11495 /* Override any gcc2 internal prototype to avoid an error. */
11499 /* We use char because int might match the return type of a gcc2
11500 builtin and then its argument prototype would still apply. */
11510 rm -f conftest.
$ac_objext conftest
$ac_exeext
11511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11512 (eval $ac_link) 2>conftest.er1
11514 grep -v '^ *+' conftest.er1
>conftest.err
11516 cat conftest.err
>&5
11517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11518 (exit $ac_status); } &&
11519 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11521 (eval $ac_try) 2>&5
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); }; } &&
11525 { ac_try
='test -s conftest$ac_exeext'
11526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11527 (eval $ac_try) 2>&5
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); }; }; then
11531 ac_cv_lib_m_finite
=yes
11533 echo "$as_me: failed program was:" >&5
11534 sed 's/^/| /' conftest.
$ac_ext >&5
11536 ac_cv_lib_m_finite
=no
11538 rm -f conftest.err conftest.
$ac_objext \
11539 conftest
$ac_exeext conftest.
$ac_ext
11540 LIBS
=$ac_check_lib_save_LIBS
11542 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
11543 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
11544 if test $ac_cv_lib_m_finite = yes; then
11546 cat >>confdefs.h
<<\_ACEOF
11547 #define HAVE_FINITE 1
11553 # Let the user override this
11554 # Check whether --enable-cmath or --disable-cmath was given.
11555 if test "${enable_cmath+set}" = set; then
11556 enableval
="$enable_cmath"
11557 need_math
=$enableval
11559 if test "$need_math" = "yes"; then
11560 { echo "$as_me:$LINENO: Including complex math functions in libgfor" >&5
11561 echo "$as_me: Including complex math functions in libgfor" >&6;};
11562 extra_math_obj
='$(gfor_cmath_obj)'
11565 MATH_OBJ
="$extra_math_obj"
11568 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
11569 # for struct timezone, as you might think. We also need to check how
11570 # to call gettimeofday if we have it.
11571 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
11572 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
11573 if test "${ac_cv_header_time+set}" = set; then
11574 echo $ECHO_N "(cached) $ECHO_C" >&6
11576 cat >conftest.
$ac_ext <<_ACEOF
11579 cat confdefs.h
>>conftest.
$ac_ext
11580 cat >>conftest.
$ac_ext <<_ACEOF
11581 /* end confdefs.h. */
11582 #include <sys/types.h>
11583 #include <sys/time.h>
11589 if ((struct tm *) 0)
11595 rm -f conftest.
$ac_objext
11596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11597 (eval $ac_compile) 2>conftest.er1
11599 grep -v '^ *+' conftest.er1
>conftest.err
11601 cat conftest.err
>&5
11602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11603 (exit $ac_status); } &&
11604 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11606 (eval $ac_try) 2>&5
11608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11609 (exit $ac_status); }; } &&
11610 { ac_try
='test -s conftest.$ac_objext'
11611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11612 (eval $ac_try) 2>&5
11614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11615 (exit $ac_status); }; }; then
11616 ac_cv_header_time
=yes
11618 echo "$as_me: failed program was:" >&5
11619 sed 's/^/| /' conftest.
$ac_ext >&5
11621 ac_cv_header_time
=no
11623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11625 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
11626 echo "${ECHO_T}$ac_cv_header_time" >&6
11627 if test $ac_cv_header_time = yes; then
11629 cat >>confdefs.h
<<\_ACEOF
11630 #define TIME_WITH_SYS_TIME 1
11637 for ac_func
in gettimeofday
11639 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11640 echo "$as_me:$LINENO: checking for $ac_func" >&5
11641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11642 if eval "test \"\${$as_ac_var+set}\" = set"; then
11643 echo $ECHO_N "(cached) $ECHO_C" >&6
11645 if test x
$gcc_no_link = xyes
; then
11646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11648 { (exit 1); exit 1; }; }
11650 cat >conftest.
$ac_ext <<_ACEOF
11653 cat confdefs.h
>>conftest.
$ac_ext
11654 cat >>conftest.
$ac_ext <<_ACEOF
11655 /* end confdefs.h. */
11656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11658 #define $ac_func innocuous_$ac_func
11660 /* System header to define __stub macros and hopefully few prototypes,
11661 which can conflict with char $ac_func (); below.
11662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11663 <limits.h> exists even on freestanding compilers. */
11666 # include <limits.h>
11668 # include <assert.h>
11673 /* Override any gcc2 internal prototype to avoid an error. */
11678 /* We use char because int might match the return type of a gcc2
11679 builtin and then its argument prototype would still apply. */
11681 /* The GNU C library defines this for functions which it implements
11682 to always fail with ENOSYS. Some functions are actually named
11683 something starting with __ and the normal name is an alias. */
11684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11687 char (*f) () = $ac_func;
11696 return f != $ac_func;
11701 rm -f conftest.
$ac_objext conftest
$ac_exeext
11702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11703 (eval $ac_link) 2>conftest.er1
11705 grep -v '^ *+' conftest.er1
>conftest.err
11707 cat conftest.err
>&5
11708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11709 (exit $ac_status); } &&
11710 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11712 (eval $ac_try) 2>&5
11714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11715 (exit $ac_status); }; } &&
11716 { ac_try
='test -s conftest$ac_exeext'
11717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11718 (eval $ac_try) 2>&5
11720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11721 (exit $ac_status); }; }; then
11722 eval "$as_ac_var=yes"
11724 echo "$as_me: failed program was:" >&5
11725 sed 's/^/| /' conftest.
$ac_ext >&5
11727 eval "$as_ac_var=no"
11729 rm -f conftest.err conftest.
$ac_objext \
11730 conftest
$ac_exeext conftest.
$ac_ext
11732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11734 if test `eval echo '${'$as_ac_var'}'` = yes; then
11735 cat >>confdefs.h
<<_ACEOF
11736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11742 if test "$ac_cv_func_gettimeofday" = yes; then
11743 echo "$as_me:$LINENO: checking for struct timezone" >&5
11744 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
11745 if test "${gfor_cv_struct_timezone+set}" = set; then
11746 echo $ECHO_N "(cached) $ECHO_C" >&6
11748 cat >conftest.
$ac_ext <<_ACEOF
11751 cat confdefs.h
>>conftest.
$ac_ext
11752 cat >>conftest.
$ac_ext <<_ACEOF
11753 /* end confdefs.h. */
11754 #include <sys/time.h>
11758 struct timezone tz;
11763 rm -f conftest.
$ac_objext
11764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11765 (eval $ac_compile) 2>conftest.er1
11767 grep -v '^ *+' conftest.er1
>conftest.err
11769 cat conftest.err
>&5
11770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11771 (exit $ac_status); } &&
11772 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11774 (eval $ac_try) 2>&5
11776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11777 (exit $ac_status); }; } &&
11778 { ac_try
='test -s conftest.$ac_objext'
11779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11780 (eval $ac_try) 2>&5
11782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11783 (exit $ac_status); }; }; then
11784 gfor_cv_struct_timezone
=yes
11786 echo "$as_me: failed program was:" >&5
11787 sed 's/^/| /' conftest.
$ac_ext >&5
11789 gfor_cv_struct_timezone
=no
11791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11793 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
11794 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
11795 if test $gfor_cv_struct_timezone = yes; then
11796 if test "$cross_compiling" = yes; then
11797 gfor_have_struct_timezone
=yes
11799 cat >conftest.
$ac_ext <<_ACEOF
11802 cat confdefs.h
>>conftest.
$ac_ext
11803 cat >>conftest.
$ac_ext <<_ACEOF
11804 /* end confdefs.h. */
11806 #ifdef TIME_WITH_SYS_TIME
11807 #include <sys/time.h>
11810 #ifdef HAVE_SYS_TIME_H
11811 #include <sys/time.h>
11818 struct timeval time;
11819 struct timezone dummy;
11820 if (gettimeofday (&time, &dummy))
11826 rm -f conftest
$ac_exeext
11827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11828 (eval $ac_link) 2>&5
11830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11831 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11833 (eval $ac_try) 2>&5
11835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11836 (exit $ac_status); }; }; then
11837 gfor_have_struct_timezone
=yes
11839 echo "$as_me: program exited with status $ac_status" >&5
11840 echo "$as_me: failed program was:" >&5
11841 sed 's/^/| /' conftest.
$ac_ext >&5
11843 ( exit $ac_status )
11844 gfor_have_struct_timezone
=no
11846 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11848 if test $gfor_have_struct_timezone = yes; then
11850 cat >>confdefs.h
<<\_ACEOF
11851 #define HAVE_TIMEZONE 1
11857 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
11858 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
11859 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11860 echo $ECHO_N "(cached) $ECHO_C" >&6
11862 if test x
$gcc_no_link = xyes
; then
11863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11865 { (exit 1); exit 1; }; }
11867 cat >conftest.
$ac_ext <<_ACEOF
11870 cat confdefs.h
>>conftest.
$ac_ext
11871 cat >>conftest.
$ac_ext <<_ACEOF
11872 /* end confdefs.h. */
11874 #ifdef TIME_WITH_SYS_TIME
11875 #include <sys/time.h>
11878 #ifdef HAVE_SYS_TIME_H
11879 #include <sys/time.h>
11889 struct timeval time;
11890 #ifdef HAVE_TIMEZONE
11891 struct timezone dummy;
11892 #define DUMMY &dummy
11896 gettimeofday (&time, DUMMY);
11901 rm -f conftest.
$ac_objext conftest
$ac_exeext
11902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11903 (eval $ac_link) 2>conftest.er1
11905 grep -v '^ *+' conftest.er1
>conftest.err
11907 cat conftest.err
>&5
11908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11909 (exit $ac_status); } &&
11910 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11912 (eval $ac_try) 2>&5
11914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11915 (exit $ac_status); }; } &&
11916 { ac_try
='test -s conftest$ac_exeext'
11917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11918 (eval $ac_try) 2>&5
11920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11921 (exit $ac_status); }; }; then
11922 emacs_cv_gettimeofday_two_arguments
=yes
11924 echo "$as_me: failed program was:" >&5
11925 sed 's/^/| /' conftest.
$ac_ext >&5
11927 emacs_cv_gettimeofday_two_arguments
=no
11929 rm -f conftest.err conftest.
$ac_objext \
11930 conftest
$ac_exeext conftest.
$ac_ext
11932 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
11933 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11934 if test $emacs_cv_gettimeofday_two_arguments = no
; then
11936 cat >>confdefs.h
<<\_ACEOF
11937 #define GETTIMEOFDAY_ONE_ARGUMENT 1
11943 # Attempt to assert that the target is of common type in case we don't
11944 # have C99 integer types at all.
11946 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
11947 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
11948 if test "${target_ilp32+set}" = set; then
11949 echo $ECHO_N "(cached) $ECHO_C" >&6
11952 save_CFLAGS
="$CFLAGS"
11954 if test x
$gcc_no_link = xyes
; then
11955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11957 { (exit 1); exit 1; }; }
11959 cat >conftest.
$ac_ext <<_ACEOF
11962 cat confdefs.h
>>conftest.
$ac_ext
11963 cat >>conftest.
$ac_ext <<_ACEOF
11964 /* end confdefs.h. */
11970 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
11973 undefined_function ();
11979 rm -f conftest.
$ac_objext conftest
$ac_exeext
11980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11981 (eval $ac_link) 2>conftest.er1
11983 grep -v '^ *+' conftest.er1
>conftest.err
11985 cat conftest.err
>&5
11986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11987 (exit $ac_status); } &&
11988 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11990 (eval $ac_try) 2>&5
11992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11993 (exit $ac_status); }; } &&
11994 { ac_try
='test -s conftest$ac_exeext'
11995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11996 (eval $ac_try) 2>&5
11998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11999 (exit $ac_status); }; }; then
12002 echo "$as_me: failed program was:" >&5
12003 sed 's/^/| /' conftest.
$ac_ext >&5
12007 rm -f conftest.err conftest.
$ac_objext \
12008 conftest
$ac_exeext conftest.
$ac_ext
12009 CFLAGS
="$save_CFLAGS"
12011 echo "$as_me:$LINENO: result: $target_ilp32" >&5
12012 echo "${ECHO_T}$target_ilp32" >&6
12013 if test $target_ilp32 = yes; then
12015 cat >>confdefs.h
<<\_ACEOF
12016 #define TARGET_ILP32 1
12022 # Check out attribute support.
12024 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
12025 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
12026 if test "${have_attribute_visibility+set}" = set; then
12027 echo $ECHO_N "(cached) $ECHO_C" >&6
12030 save_CFLAGS
="$CFLAGS"
12031 CFLAGS
="$CFLAGS -Werror"
12032 cat >conftest.
$ac_ext <<_ACEOF
12035 cat confdefs.h
>>conftest.
$ac_ext
12036 cat >>conftest.
$ac_ext <<_ACEOF
12037 /* end confdefs.h. */
12038 void __attribute__((visibility("hidden"))) foo(void) { }
12047 rm -f conftest.
$ac_objext
12048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12049 (eval $ac_compile) 2>conftest.er1
12051 grep -v '^ *+' conftest.er1
>conftest.err
12053 cat conftest.err
>&5
12054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12055 (exit $ac_status); } &&
12056 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12058 (eval $ac_try) 2>&5
12060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12061 (exit $ac_status); }; } &&
12062 { ac_try
='test -s conftest.$ac_objext'
12063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12064 (eval $ac_try) 2>&5
12066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12067 (exit $ac_status); }; }; then
12068 have_attribute_visibility
=yes
12070 echo "$as_me: failed program was:" >&5
12071 sed 's/^/| /' conftest.
$ac_ext >&5
12073 have_attribute_visibility
=no
12075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12076 CFLAGS
="$save_CFLAGS"
12078 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
12079 echo "${ECHO_T}$have_attribute_visibility" >&6
12080 if test $have_attribute_visibility = yes; then
12082 cat >>confdefs.h
<<\_ACEOF
12083 #define HAVE_ATTRIBUTE_VISIBILITY 1
12088 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
12089 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
12090 if test "${have_attribute_dllexport+set}" = set; then
12091 echo $ECHO_N "(cached) $ECHO_C" >&6
12094 save_CFLAGS
="$CFLAGS"
12095 CFLAGS
="$CFLAGS -Werror"
12096 cat >conftest.
$ac_ext <<_ACEOF
12099 cat confdefs.h
>>conftest.
$ac_ext
12100 cat >>conftest.
$ac_ext <<_ACEOF
12101 /* end confdefs.h. */
12102 void __attribute__((dllexport)) foo(void) { }
12111 rm -f conftest.
$ac_objext
12112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12113 (eval $ac_compile) 2>conftest.er1
12115 grep -v '^ *+' conftest.er1
>conftest.err
12117 cat conftest.err
>&5
12118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12119 (exit $ac_status); } &&
12120 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12122 (eval $ac_try) 2>&5
12124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12125 (exit $ac_status); }; } &&
12126 { ac_try
='test -s conftest.$ac_objext'
12127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12128 (eval $ac_try) 2>&5
12130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12131 (exit $ac_status); }; }; then
12132 have_attribute_dllexport
=yes
12134 echo "$as_me: failed program was:" >&5
12135 sed 's/^/| /' conftest.
$ac_ext >&5
12137 have_attribute_dllexport
=no
12139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12140 CFLAGS
="$save_CFLAGS"
12142 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
12143 echo "${ECHO_T}$have_attribute_dllexport" >&6
12144 if test $have_attribute_dllexport = yes; then
12146 cat >>confdefs.h
<<\_ACEOF
12147 #define HAVE_ATTRIBUTE_DLLEXPORT 1
12152 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
12153 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
12154 if test "${have_attribute_alias+set}" = set; then
12155 echo $ECHO_N "(cached) $ECHO_C" >&6
12158 if test x
$gcc_no_link = xyes
; then
12159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12161 { (exit 1); exit 1; }; }
12163 cat >conftest.
$ac_ext <<_ACEOF
12166 cat confdefs.h
>>conftest.
$ac_ext
12167 cat >>conftest.
$ac_ext <<_ACEOF
12168 /* end confdefs.h. */
12170 #define ULP STR1(__USER_LABEL_PREFIX__)
12171 #define STR1(x) STR2(x)
12174 extern void bar(void) __attribute__((alias(ULP "foo")));
12183 rm -f conftest.
$ac_objext conftest
$ac_exeext
12184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12185 (eval $ac_link) 2>conftest.er1
12187 grep -v '^ *+' conftest.er1
>conftest.err
12189 cat conftest.err
>&5
12190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12191 (exit $ac_status); } &&
12192 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12194 (eval $ac_try) 2>&5
12196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12197 (exit $ac_status); }; } &&
12198 { ac_try
='test -s conftest$ac_exeext'
12199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12200 (eval $ac_try) 2>&5
12202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12203 (exit $ac_status); }; }; then
12204 have_attribute_alias
=yes
12206 echo "$as_me: failed program was:" >&5
12207 sed 's/^/| /' conftest.
$ac_ext >&5
12209 have_attribute_alias
=no
12211 rm -f conftest.err conftest.
$ac_objext \
12212 conftest
$ac_exeext conftest.
$ac_ext
12214 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
12215 echo "${ECHO_T}$have_attribute_alias" >&6
12216 if test $have_attribute_alias = yes; then
12218 cat >>confdefs.h
<<\_ACEOF
12219 #define HAVE_ATTRIBUTE_ALIAS 1
12224 # Various other checks on target
12226 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
12227 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
12228 if test "${have_unlink_open_file+set}" = set; then
12229 echo $ECHO_N "(cached) $ECHO_C" >&6
12232 if test "$cross_compiling" = yes; then
12234 case "${target}" in
12235 *mingw
*) have_unlink_open_file
=no
;;
12236 *) have_unlink_open_file
=yes;;
12239 cat >conftest.
$ac_ext <<_ACEOF
12242 cat confdefs.h
>>conftest.
$ac_ext
12243 cat >>conftest.
$ac_ext <<_ACEOF
12244 /* end confdefs.h. */
12248 #include <unistd.h>
12249 #include <sys/stat.h>
12255 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
12258 if (unlink ("testfile") == -1)
12260 write (fd, "This is a test\n", 15);
12263 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
12269 rm -f conftest
$ac_exeext
12270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12271 (eval $ac_link) 2>&5
12273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12274 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12276 (eval $ac_try) 2>&5
12278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12279 (exit $ac_status); }; }; then
12280 have_unlink_open_file
=yes
12282 echo "$as_me: program exited with status $ac_status" >&5
12283 echo "$as_me: failed program was:" >&5
12284 sed 's/^/| /' conftest.
$ac_ext >&5
12286 ( exit $ac_status )
12287 have_unlink_open_file
=no
12289 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12292 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
12293 echo "${ECHO_T}$have_unlink_open_file" >&6
12294 if test x
"$have_unlink_open_file" = xyes
; then
12296 cat >>confdefs.h
<<\_ACEOF
12297 #define HAVE_UNLINK_OPEN_FILE 1
12302 cat >confcache
<<\_ACEOF
12303 # This file is a shell script that caches the results of configure
12304 # tests run on this system so they can be shared between configure
12305 # scripts and configure runs, see configure's option --config-cache.
12306 # It is not useful on other systems. If it contains results you don't
12307 # want to keep, you may remove or edit it.
12309 # config.status only pays attention to the cache file if you give it
12310 # the --recheck option to rerun configure.
12312 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12313 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12314 # following values.
12318 # The following way of writing the cache mishandles newlines in values,
12319 # but we know of no workaround that is simple, portable, and efficient.
12320 # So, don't put newlines in cache variables' values.
12321 # Ultrix sh set writes to stderr and can't be redirected directly,
12322 # and sets the high bit in the cache file unless we assign to the vars.
12325 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12327 # `set' does not quote correctly, so add quotes (double-quote
12328 # substitution turns \\\\ into \\, and sed turns \\ into \).
12331 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12334 # `set' quotes correctly as required by POSIX, so do not add quotes.
12336 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12343 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12345 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12347 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
12348 if test -w $cache_file; then
12349 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12350 cat confcache
>$cache_file
12352 echo "not updating unwritable cache $cache_file"
12357 if test ${multilib} = yes; then
12358 multilib_arg
="--enable-multilib"
12363 # Write our Makefile.
12364 ac_config_files
="$ac_config_files Makefile"
12366 cat >confcache
<<\_ACEOF
12367 # This file is a shell script that caches the results of configure
12368 # tests run on this system so they can be shared between configure
12369 # scripts and configure runs, see configure's option --config-cache.
12370 # It is not useful on other systems. If it contains results you don't
12371 # want to keep, you may remove or edit it.
12373 # config.status only pays attention to the cache file if you give it
12374 # the --recheck option to rerun configure.
12376 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12377 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12378 # following values.
12382 # The following way of writing the cache mishandles newlines in values,
12383 # but we know of no workaround that is simple, portable, and efficient.
12384 # So, don't put newlines in cache variables' values.
12385 # Ultrix sh set writes to stderr and can't be redirected directly,
12386 # and sets the high bit in the cache file unless we assign to the vars.
12389 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12391 # `set' does not quote correctly, so add quotes (double-quote
12392 # substitution turns \\\\ into \\, and sed turns \\ into \).
12395 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12398 # `set' quotes correctly as required by POSIX, so do not add quotes.
12400 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12407 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12409 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12411 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
12412 if test -w $cache_file; then
12413 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12414 cat confcache
>$cache_file
12416 echo "not updating unwritable cache $cache_file"
12421 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12422 # Let make expand exec_prefix.
12423 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12425 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12426 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12427 # trailing colons and then remove the whole line if VPATH becomes empty
12428 # (actually we leave an empty line to preserve line numbers).
12429 if test "x$srcdir" = x.
; then
12430 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
12431 s/:*\$(srcdir):*/:/;
12432 s/:*\${srcdir}:*/:/;
12434 s/^\([^=]*=[ ]*\):*/\1/;
12440 DEFS
=-DHAVE_CONFIG_H
12444 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12445 # 1. Remove the extension, and $U if already installed.
12446 ac_i
=`echo "$ac_i" |
12447 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12449 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
12450 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
12452 LIBOBJS
=$ac_libobjs
12454 LTLIBOBJS
=$ac_ltlibobjs
12457 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12458 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12459 Usually this means the macro was only invoked conditionally." >&5
12460 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12461 Usually this means the macro was only invoked conditionally." >&2;}
12462 { (exit 1); exit 1; }; }
12465 : ${CONFIG_STATUS=./config.status}
12466 ac_clean_files_save
=$ac_clean_files
12467 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12468 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12469 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12470 cat >$CONFIG_STATUS <<_ACEOF
12472 # Generated by $as_me.
12473 # Run this file to recreate the current configuration.
12474 # Compiler output produced by configure, useful for debugging
12475 # configure, is in config.log if it exists.
12478 ac_cs_recheck=false
12480 SHELL=\${CONFIG_SHELL-$SHELL}
12483 cat >>$CONFIG_STATUS <<\_ACEOF
12484 ## --------------------- ##
12485 ## M4sh Initialization. ##
12486 ## --------------------- ##
12488 # Be Bourne compatible
12489 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12492 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12493 # is contrary to our usage. Disable this feature.
12494 alias -g '${1+"$@"}'='"$@"'
12495 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
12498 DUALCASE
=1; export DUALCASE
# for MKS sh
12500 # Support unset when possible.
12501 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12508 # Work around bugs in pre-3.0 UWIN ksh.
12509 $as_unset ENV MAIL MAILPATH
12516 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12517 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12518 LC_TELEPHONE LC_TIME
12520 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12521 eval $as_var=C
; export $as_var
12527 # Required to use basename.
12528 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12534 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
12535 as_basename
=basename
12541 # Name of the executable.
12542 as_me
=`$as_basename "$0" ||
12543 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12544 X"$0" : 'X\(//\)$' \| \
12545 X"$0" : 'X\(/\)$' \| \
12546 . : '\(.\)' 2>/dev/null ||
12548 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12549 /^X\/\(\/\/\)$/{ s//\1/; q; }
12550 /^X\/\(\/\).*/{ s//\1/; q; }
12554 # PATH needs CR, and LINENO needs CR and PATH.
12555 # Avoid depending upon Character Ranges.
12556 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12557 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12558 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12559 as_cr_digits
='0123456789'
12560 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12562 # The user is always right.
12563 if test "${PATH_SEPARATOR+set}" != set; then
12564 echo "#! /bin/sh" >conf$$.sh
12565 echo "exit 0" >>conf$$.sh
12567 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12576 as_lineno_1
=$LINENO
12577 as_lineno_2
=$LINENO
12578 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
12579 test "x$as_lineno_1" != "x$as_lineno_2" &&
12580 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
12581 # Find who we are. Look in the path if we contain no path at all
12584 *[\\/]* ) as_myself
=$0 ;;
12585 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12586 for as_dir
in $PATH
12589 test -z "$as_dir" && as_dir
=.
12590 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12595 # We did not find ourselves, most probably we were run as `sh COMMAND'
12596 # in which case we are not to be found in the path.
12597 if test "x$as_myself" = x
; then
12600 if test ! -f "$as_myself"; then
12601 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12602 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12603 { (exit 1); exit 1; }; }
12605 case $CONFIG_SHELL in
12607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12608 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
12611 test -z "$as_dir" && as_dir
=.
12612 for as_base
in sh bash ksh sh5
; do
12615 if ("$as_dir/$as_base" -c '
12616 as_lineno_1=$LINENO
12617 as_lineno_2=$LINENO
12618 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12619 test "x$as_lineno_1" != "x$as_lineno_2" &&
12620 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
12621 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
12622 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
12623 CONFIG_SHELL
=$as_dir/$as_base
12624 export CONFIG_SHELL
12625 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12633 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12634 # uniformly replaced by the line number. The first 'sed' inserts a
12635 # line-number line before each line; the second 'sed' does the real
12636 # work. The second script uses 'N' to pair each line-number line
12637 # with the numbered line, and appends trailing '-' during
12638 # substitution so that $LINENO is not a special case at line end.
12639 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12640 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12641 sed '=' <$as_myself |
12646 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12649 s,^['$as_cr_digits']*\n,,
12650 ' >$as_me.lineno
&&
12651 chmod +x
$as_me.lineno ||
12652 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12653 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12654 { (exit 1); exit 1; }; }
12656 # Don't try to exec as it changes $[0], causing all sort of problems
12657 # (the dirname of $[0] is not the place where we might find the
12658 # original and so on. Autoconf is especially sensible to this).
12660 # Exit status is that of the last command.
12665 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12666 *c
*,-n*) ECHO_N
= ECHO_C
='
12668 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
12669 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
12672 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12678 rm -f conf$$ conf$$.exe conf$$.
file
12680 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12681 # We could just check for DJGPP; but this test a) works b) is more generic
12682 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12683 if test -f conf$$.exe
; then
12684 # Don't use ln at all; we don't have any links
12689 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12694 rm -f conf$$ conf$$.exe conf$$.
file
12696 if mkdir
-p .
2>/dev
/null
; then
12699 test -d .
/-p && rmdir .
/-p
12703 as_executable_p
="test -f"
12705 # Sed expression to map a string onto a valid CPP name.
12706 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12708 # Sed expression to map a string onto a valid variable name.
12709 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12713 # We need space, tab and new line, in precisely that order.
12723 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12724 # report actual input values of CONFIG_FILES etc. instead of their
12725 # values after options handling. Logging --version etc. is OK.
12729 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12730 ## Running $as_me. ##
12735 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
12736 generated by GNU Autoconf 2.59. Invocation command line was
12738 CONFIG_FILES = $CONFIG_FILES
12739 CONFIG_HEADERS = $CONFIG_HEADERS
12740 CONFIG_LINKS = $CONFIG_LINKS
12741 CONFIG_COMMANDS = $CONFIG_COMMANDS
12745 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12749 # Files that config.status was made for.
12750 if test -n "$ac_config_files"; then
12751 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12754 if test -n "$ac_config_headers"; then
12755 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12758 if test -n "$ac_config_links"; then
12759 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12762 if test -n "$ac_config_commands"; then
12763 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12766 cat >>$CONFIG_STATUS <<\_ACEOF
12769 \`$as_me' instantiates files from templates according to the
12770 current configuration.
12772 Usage: $0 [OPTIONS] [FILE]...
12774 -h, --help print this help, then exit
12775 -V, --version print version number, then exit
12776 -q, --quiet do not print progress messages
12777 -d, --debug don't remove temporary files
12778 --recheck update $as_me by reconfiguring in the same conditions
12779 --file=FILE[:TEMPLATE]
12780 instantiate the configuration file FILE
12781 --header=FILE[:TEMPLATE]
12782 instantiate the configuration header FILE
12784 Configuration files:
12787 Configuration headers:
12790 Configuration commands:
12793 Report bugs to <bug-autoconf@gnu.org>."
12796 cat >>$CONFIG_STATUS <<_ACEOF
12798 GNU Fortran Runtime Library config.status 0.2
12799 configured by $0, generated by GNU Autoconf 2.59,
12800 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12802 Copyright (C) 2003 Free Software Foundation, Inc.
12803 This config.status script is free software; the Free Software Foundation
12804 gives unlimited permission to copy, distribute and modify it."
12809 cat >>$CONFIG_STATUS <<\_ACEOF
12810 # If no file are specified by the user, then we need to provide default
12811 # value. By we need to know if files were specified by the user.
12817 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
12818 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
12826 *) # This is not an option, so the user has probably given explicit
12829 ac_need_defaults
=false
;;
12833 # Handling of the options.
12835 cat >>$CONFIG_STATUS <<\_ACEOF
12836 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12838 --version |
--vers* |
-V )
12839 echo "$ac_cs_version"; exit 0 ;;
12841 # Conflict between --help and --header
12842 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12843 Try \`$0 --help' for more information." >&5
12844 echo "$as_me: error: ambiguous option: $1
12845 Try \`$0 --help' for more information." >&2;}
12846 { (exit 1); exit 1; }; };;
12847 --help |
--hel |
-h )
12848 echo "$ac_cs_usage"; exit 0 ;;
12849 --debug |
--d* |
-d )
12851 --file |
--fil |
--fi |
--f )
12853 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12854 ac_need_defaults
=false
;;
12855 --header |
--heade |
--head |
--hea )
12857 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12858 ac_need_defaults
=false
;;
12859 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12860 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12863 # This is an error.
12864 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12865 Try \`$0 --help' for more information." >&5
12866 echo "$as_me: error: unrecognized option: $1
12867 Try \`$0 --help' for more information." >&2;}
12868 { (exit 1); exit 1; }; } ;;
12870 *) ac_config_targets
="$ac_config_targets $1" ;;
12876 ac_configure_extra_args
=
12878 if $ac_cs_silent; then
12880 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12884 cat >>$CONFIG_STATUS <<_ACEOF
12885 if \$ac_cs_recheck; then
12886 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12887 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12892 cat >>$CONFIG_STATUS <<_ACEOF
12894 # INIT-COMMANDS section.
12901 with_multisubdir="$with_multisubdir"
12902 with_multisrctop="$with_multisrctop"
12903 with_target_subdir="$with_target_subdir"
12904 ac_configure_args="${multilib_arg} ${ac_configure_args}"
12905 multi_basedir="$multi_basedir"
12906 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
12913 cat >>$CONFIG_STATUS <<\_ACEOF
12914 for ac_config_target
in $ac_config_targets
12916 case "$ac_config_target" in
12917 # Handling of arguments.
12918 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12919 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
12920 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12921 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12922 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12923 { (exit 1); exit 1; }; };;
12927 # If the user did not use the arguments to specify the items to instantiate,
12928 # then the envvar interface is used. Set only those that are not.
12929 # We use the long form for the default assignment because of an extremely
12930 # bizarre bug on SunOS 4.1.3.
12931 if $ac_need_defaults; then
12932 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12933 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12934 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12937 # Have a temporary directory for convenience. Make it in the build tree
12938 # simply because there is no reason to put it here, and in addition,
12939 # creating and moving files from /tmp can sometimes cause problems.
12940 # Create a temporary directory, and hook for its removal unless debugging.
12943 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12944 trap '{ (exit 1); exit 1; }' 1 2 13 15
12947 # Create a (secure) tmp directory for tmp files.
12950 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12951 test -n "$tmp" && test -d "$tmp"
12954 tmp
=.
/confstat$$
-$RANDOM
12955 (umask 077 && mkdir
$tmp)
12958 echo "$me: cannot create a temporary directory in ." >&2
12959 { (exit 1); exit 1; }
12964 cat >>$CONFIG_STATUS <<_ACEOF
12967 # CONFIG_FILES section.
12970 # No need to generate the scripts if there are no CONFIG_FILES.
12971 # This happens for instance when ./config.status config.h
12972 if test -n "\$CONFIG_FILES"; then
12973 # Protect against being on the right side of a sed subst in config.status.
12974 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12975 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12976 s,@SHELL@,$SHELL,;t t
12977 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12978 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12979 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12980 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12981 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12982 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12983 s,@exec_prefix@,$exec_prefix,;t t
12984 s,@prefix@,$prefix,;t t
12985 s,@program_transform_name@,$program_transform_name,;t t
12986 s,@bindir@,$bindir,;t t
12987 s,@sbindir@,$sbindir,;t t
12988 s,@libexecdir@,$libexecdir,;t t
12989 s,@datadir@,$datadir,;t t
12990 s,@sysconfdir@,$sysconfdir,;t t
12991 s,@sharedstatedir@,$sharedstatedir,;t t
12992 s,@localstatedir@,$localstatedir,;t t
12993 s,@libdir@,$libdir,;t t
12994 s,@includedir@,$includedir,;t t
12995 s,@oldincludedir@,$oldincludedir,;t t
12996 s,@infodir@,$infodir,;t t
12997 s,@mandir@,$mandir,;t t
12998 s,@build_alias@,$build_alias,;t t
12999 s,@host_alias@,$host_alias,;t t
13000 s,@target_alias@,$target_alias,;t t
13001 s,@DEFS@,$DEFS,;t t
13002 s,@ECHO_C@,$ECHO_C,;t t
13003 s,@ECHO_N@,$ECHO_N,;t t
13004 s,@ECHO_T@,$ECHO_T,;t t
13005 s,@LIBS@,$LIBS,;t t
13006 s,@build@,$build,;t t
13007 s,@build_cpu@,$build_cpu,;t t
13008 s,@build_vendor@,$build_vendor,;t t
13009 s,@build_os@,$build_os,;t t
13010 s,@host@,$host,;t t
13011 s,@host_cpu@,$host_cpu,;t t
13012 s,@host_vendor@,$host_vendor,;t t
13013 s,@host_os@,$host_os,;t t
13014 s,@target@,$target,;t t
13015 s,@target_cpu@,$target_cpu,;t t
13016 s,@target_vendor@,$target_vendor,;t t
13017 s,@target_os@,$target_os,;t t
13018 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13019 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13020 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13021 s,@CYGPATH_W@,$CYGPATH_W,;t t
13022 s,@PACKAGE@,$PACKAGE,;t t
13023 s,@VERSION@,$VERSION,;t t
13024 s,@ACLOCAL@,$ACLOCAL,;t t
13025 s,@AUTOCONF@,$AUTOCONF,;t t
13026 s,@AUTOMAKE@,$AUTOMAKE,;t t
13027 s,@AUTOHEADER@,$AUTOHEADER,;t t
13028 s,@MAKEINFO@,$MAKEINFO,;t t
13029 s,@install_sh@,$install_sh,;t t
13030 s,@STRIP@,$STRIP,;t t
13031 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
13032 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
13033 s,@mkdir_p@,$mkdir_p,;t t
13035 s,@SET_MAKE@,$SET_MAKE,;t t
13036 s,@am__leading_dot@,$am__leading_dot,;t t
13037 s,@AMTAR@,$AMTAR,;t t
13038 s,@am__tar@,$am__tar,;t t
13039 s,@am__untar@,$am__untar,;t t
13040 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13041 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13042 s,@MAINT@,$MAINT,;t t
13043 s,@multi_basedir@,$multi_basedir,;t t
13044 s,@toolexecdir@,$toolexecdir,;t t
13045 s,@toolexeclibdir@,$toolexeclibdir,;t t
13047 s,@ac_ct_CC@,$ac_ct_CC,;t t
13048 s,@EXEEXT@,$EXEEXT,;t t
13049 s,@OBJEXT@,$OBJEXT,;t t
13050 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
13051 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
13053 s,@ac_ct_AS@,$ac_ct_AS,;t t
13055 s,@ac_ct_AR@,$ac_ct_AR,;t t
13056 s,@RANLIB@,$RANLIB,;t t
13057 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
13058 s,@LN_S@,$LN_S,;t t
13059 s,@LIBTOOL@,$LIBTOOL,;t t
13060 s,@enable_shared@,$enable_shared,;t t
13061 s,@enable_static@,$enable_static,;t t
13063 s,@FCFLAGS@,$FCFLAGS,;t t
13064 s,@LDFLAGS@,$LDFLAGS,;t t
13065 s,@ac_ct_FC@,$ac_ct_FC,;t t
13066 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
13068 s,@CPPFLAGS@,$CPPFLAGS,;t t
13069 s,@EGREP@,$EGREP,;t t
13070 s,@MATH_OBJ@,$MATH_OBJ,;t t
13071 s,@LIBOBJS@,$LIBOBJS,;t t
13072 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13077 cat >>$CONFIG_STATUS <<\_ACEOF
13078 # Split the substitutions into bite-sized pieces for seds with
13079 # small command number limits, like on Digital OSF/1 and HP-UX.
13080 ac_max_sed_lines
=48
13081 ac_sed_frag
=1 # Number of current file.
13082 ac_beg
=1 # First line for current file.
13083 ac_end
=$ac_max_sed_lines # Line after last line for current file.
13086 while $ac_more_lines; do
13087 if test $ac_beg -gt 1; then
13088 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13090 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13092 if test ! -s $tmp/subs.frag
; then
13093 ac_more_lines
=false
13095 # The purpose of the label and of the branching condition is to
13096 # speed up the sed processing (if there are no `@' at all, there
13097 # is no need to browse any of the substitutions).
13098 # These are the two extra sed commands mentioned above.
13100 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
13101 if test -z "$ac_sed_cmds"; then
13102 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
13104 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13106 ac_sed_frag
=`expr $ac_sed_frag + 1`
13108 ac_end
=`expr $ac_end + $ac_max_sed_lines`
13111 if test -z "$ac_sed_cmds"; then
13114 fi # test -n "$CONFIG_FILES"
13117 cat >>$CONFIG_STATUS <<\_ACEOF
13118 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
13119 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13121 - |
*:- |
*:-:* ) # input from stdin
13123 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13124 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13125 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13126 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13127 * ) ac_file_in
=$ac_file.
in ;;
13130 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13131 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13132 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13133 X"$ac_file" : 'X\(//\)[^/]' \| \
13134 X"$ac_file" : 'X\(//\)$' \| \
13135 X"$ac_file" : 'X\(/\)' \| \
13136 . : '\(.\)' 2>/dev/null ||
13138 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13139 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13140 /^X\(\/\/\)$/{ s//\1/; q; }
13141 /^X\(\/\).*/{ s//\1/; q; }
13143 { if $as_mkdir_p; then
13148 while test ! -d "$as_dir"; do
13149 as_dirs
="$as_dir $as_dirs"
13150 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13151 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13152 X"$as_dir" : 'X\(//\)[^/]' \| \
13153 X"$as_dir" : 'X\(//\)$' \| \
13154 X"$as_dir" : 'X\(/\)' \| \
13155 . : '\(.\)' 2>/dev/null ||
13157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13158 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13159 /^X\(\/\/\)$/{ s//\1/; q; }
13160 /^X\(\/\).*/{ s//\1/; q; }
13163 test ! -n "$as_dirs" || mkdir
$as_dirs
13164 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13165 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13166 { (exit 1); exit 1; }; }; }
13170 if test "$ac_dir" != .
; then
13171 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13172 # A "../" for each directory in $ac_dir_suffix.
13173 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13175 ac_dir_suffix
= ac_top_builddir
=
13179 .
) # No --srcdir option. We are building in place.
13181 if test -z "$ac_top_builddir"; then
13184 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13186 [\\/]* | ?
:[\\/]* ) # Absolute path.
13187 ac_srcdir
=$srcdir$ac_dir_suffix;
13188 ac_top_srcdir
=$srcdir ;;
13189 *) # Relative path.
13190 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13191 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13194 # Do not use `cd foo && pwd` to compute absolute paths, because
13195 # the directories may not exist.
13197 .
) ac_abs_builddir
="$ac_dir";;
13200 .
) ac_abs_builddir
=`pwd`;;
13201 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13202 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13205 case $ac_abs_builddir in
13206 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13208 case ${ac_top_builddir}.
in
13209 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13210 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13211 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13214 case $ac_abs_builddir in
13215 .
) ac_abs_srcdir
=$ac_srcdir;;
13218 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13219 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13220 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13223 case $ac_abs_builddir in
13224 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13226 case $ac_top_srcdir in
13227 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13228 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13229 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13235 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13236 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
13239 # Let's still pretend it is `configure' which instantiates (i.e., don't
13240 # use $as_me), people would be surprised to read:
13241 # /* config.h. Generated by config.status. */
13242 if test x
"$ac_file" = x-
; then
13245 configure_input
="$ac_file. "
13247 configure_input
=$configure_input"Generated from `echo $ac_file_in |
13248 sed 's,.*/,,'` by configure."
13250 # First look for the input files in the build tree, otherwise in the
13252 ac_file_inputs
=`IFS=:
13253 for f in $ac_file_in; do
13255 -) echo $tmp/stdin ;;
13257 # Absolute (can't be DOS-style, as IFS=:)
13258 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13259 echo "$as_me: error: cannot find input file: $f" >&2;}
13260 { (exit 1); exit 1; }; }
13263 if test -f "$f"; then
13266 elif test -f "$srcdir/$f"; then
13271 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13272 echo "$as_me: error: cannot find input file: $f" >&2;}
13273 { (exit 1); exit 1; }; }
13276 done` ||
{ (exit 1); exit 1; }
13278 if test x
"$ac_file" != x-
; then
13279 { echo "$as_me:$LINENO: creating $ac_file" >&5
13280 echo "$as_me: creating $ac_file" >&6;}
13284 cat >>$CONFIG_STATUS <<_ACEOF
13288 cat >>$CONFIG_STATUS <<\_ACEOF
13290 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13291 s
,@configure_input@
,$configure_input,;t t
13292 s
,@srcdir@
,$ac_srcdir,;t t
13293 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
13294 s
,@top_srcdir@
,$ac_top_srcdir,;t t
13295 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
13296 s
,@builddir@
,$ac_builddir,;t t
13297 s
,@abs_builddir@
,$ac_abs_builddir,;t t
13298 s
,@top_builddir@
,$ac_top_builddir,;t t
13299 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
13300 s
,@INSTALL@
,$ac_INSTALL,;t t
13301 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13303 if test x"$ac_file" != x-; then
13304 mv $tmp/out $ac_file
13312 cat >>$CONFIG_STATUS <<\_ACEOF
13315 # CONFIG_HEADER section.
13318 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
13319 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13321 # ac_d sets the value in "#define NAME VALUE" lines.
13322 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13323 ac_dB
='[ ].*$,\1#\2'
13326 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13327 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13328 ac_uB
='$,\1#\2define\3'
13332 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
13333 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13335 - |
*:- |
*:-:* ) # input from stdin
13337 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13338 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13339 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13340 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13341 * ) ac_file_in
=$ac_file.
in ;;
13344 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
13345 echo "$as_me: creating $ac_file" >&6;}
13347 # First look for the input files in the build tree, otherwise in the
13349 ac_file_inputs
=`IFS=:
13350 for f in $ac_file_in; do
13352 -) echo $tmp/stdin ;;
13354 # Absolute (can't be DOS-style, as IFS=:)
13355 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13356 echo "$as_me: error: cannot find input file: $f" >&2;}
13357 { (exit 1); exit 1; }; }
13358 # Do quote $f, to prevent DOS paths from being IFS'd.
13361 if test -f "$f"; then
13364 elif test -f "$srcdir/$f"; then
13369 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13370 echo "$as_me: error: cannot find input file: $f" >&2;}
13371 { (exit 1); exit 1; }; }
13374 done` ||
{ (exit 1); exit 1; }
13375 # Remove the trailing spaces.
13376 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
13380 # Transform confdefs.h into two sed scripts, `conftest.defines' and
13381 # `conftest.undefs', that substitutes the proper values into
13382 # config.h.in to produce config.h. The first handles `#define'
13383 # templates, and the second `#undef' templates.
13384 # And first: Protect against being on the right side of a sed subst in
13385 # config.status. Protect against being in an unquoted here document
13386 # in config.status.
13387 rm -f conftest.defines conftest.undefs
13388 # Using a here document instead of a string reduces the quoting nightmare.
13389 # Putting comments in sed scripts is not portable.
13391 # `end' is used to avoid that the second main sed command (meant for
13392 # 0-ary CPP macros) applies to n-ary macro definitions.
13393 # See the Autoconf documentation for `clear'.
13394 cat >confdef2sed.
sed <<\_ACEOF
13399 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
13401 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
13404 # If some macros were called several times there might be several times
13405 # the same #defines, which is useless. Nevertheless, we may not want to
13406 # sort them, since we want the *last* AC-DEFINE to be honored.
13407 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
13408 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
13409 rm -f confdef2sed.sed
13411 # This sed command replaces #undef with comments. This is necessary, for
13412 # example, in the case of _POSIX_SOURCE, which is predefined and required
13413 # on some systems where configure will not decide to define it.
13414 cat >>conftest.undefs <<\_ACEOF
13415 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
13418 # Break up conftest.defines because some shells have a limit on the size
13419 # of here documents, and old seds have small limits too (100 cmds).
13420 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
13421 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
13422 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
13423 echo ' :' >>$CONFIG_STATUS
13424 rm -f conftest.tail
13425 while grep . conftest.defines >/dev/null
13427 # Write a limited-size here document to $tmp/defines.sed.
13428 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
13429 # Speed up: don't consider the non `#define' lines.
13430 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
13431 # Work around the forget-to-reset-the-flag bug.
13432 echo 't clr' >>$CONFIG_STATUS
13433 echo ': clr' >>$CONFIG_STATUS
13434 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
13436 sed -f $tmp/defines.sed $tmp/in >$tmp/out
13438 mv $tmp/out $tmp/in
13440 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
13441 rm -f conftest.defines
13442 mv conftest.
tail conftest.defines
13444 rm -f conftest.defines
13445 echo ' fi # grep' >>$CONFIG_STATUS
13446 echo >>$CONFIG_STATUS
13448 # Break up conftest.undefs because some shells have a limit on the size
13449 # of here documents, and old seds have small limits too (100 cmds).
13450 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
13451 rm -f conftest.
tail
13452 while grep . conftest.undefs
>/dev
/null
13454 # Write a limited-size here document to $tmp/undefs.sed.
13455 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
13456 # Speed up: don't consider the non
`#undef'
13457 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
13458 # Work around the forget-to-reset-the-flag bug.
13459 echo 't clr' >>$CONFIG_STATUS
13460 echo ': clr' >>$CONFIG_STATUS
13461 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
13463 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
13465 mv $tmp/out $tmp/in
13467 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
13468 rm -f conftest.undefs
13469 mv conftest.tail conftest.undefs
13471 rm -f conftest.undefs
13473 cat >>$CONFIG_STATUS <<\_ACEOF
13474 # Let's still pretend it is `configure
' which instantiates (i.e., don't
13475 # use $as_me), people would be surprised to read:
13476 # /* config.h. Generated by config.status. */
13477 if test x
"$ac_file" = x-
; then
13478 echo "/* Generated by configure. */" >$tmp/config.h
13480 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
13482 cat $tmp/in >>$tmp/config.h
13484 if test x
"$ac_file" != x-
; then
13485 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
13486 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13487 echo "$as_me: $ac_file is unchanged" >&6;}
13489 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13490 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13491 X"$ac_file" : 'X\(//\)[^/]' \| \
13492 X"$ac_file" : 'X\(//\)$' \| \
13493 X"$ac_file" : 'X\(/\)' \| \
13494 . : '\(.\)' 2>/dev/null ||
13496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13497 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13498 /^X\(\/\/\)$/{ s//\1/; q; }
13499 /^X\(\/\).*/{ s//\1/; q; }
13501 { if $as_mkdir_p; then
13506 while test ! -d "$as_dir"; do
13507 as_dirs
="$as_dir $as_dirs"
13508 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13509 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13510 X"$as_dir" : 'X\(//\)[^/]' \| \
13511 X"$as_dir" : 'X\(//\)$' \| \
13512 X"$as_dir" : 'X\(/\)' \| \
13513 . : '\(.\)' 2>/dev/null ||
13515 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13516 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13517 /^X\(\/\/\)$/{ s//\1/; q; }
13518 /^X\(\/\).*/{ s//\1/; q; }
13521 test ! -n "$as_dirs" || mkdir
$as_dirs
13522 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13523 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13524 { (exit 1); exit 1; }; }; }
13527 mv $tmp/config.h
$ac_file
13531 rm -f $tmp/config.h
13533 # Compute $ac_file's index in $config_headers.
13535 for _am_header
in $config_headers :; do
13536 case $_am_header in
13537 $ac_file |
$ac_file:* )
13540 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13543 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
13544 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13545 X$ac_file : 'X\(//\)[^/]' \| \
13546 X$ac_file : 'X\(//\)$' \| \
13547 X$ac_file : 'X\(/\)' \| \
13548 . : '\(.\)' 2>/dev/null ||
13550 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13551 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13552 /^X\(\/\/\)$/{ s//\1/; q; }
13553 /^X\(\/\).*/{ s//\1/; q; }
13554 s/.*/./; q'`/stamp-h
$_am_stamp_count
13557 cat >>$CONFIG_STATUS <<\_ACEOF
13560 # CONFIG_COMMANDS section.
13562 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
13563 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
13564 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13565 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
13566 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13567 X"$ac_dest" : 'X\(//\)[^/]' \| \
13568 X"$ac_dest" : 'X\(//\)$' \| \
13569 X"$ac_dest" : 'X\(/\)' \| \
13570 . : '\(.\)' 2>/dev/null ||
13572 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13573 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13574 /^X\(\/\/\)$/{ s//\1/; q; }
13575 /^X\(\/\).*/{ s//\1/; q; }
13577 { if $as_mkdir_p; then
13582 while test ! -d "$as_dir"; do
13583 as_dirs
="$as_dir $as_dirs"
13584 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13585 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13586 X"$as_dir" : 'X\(//\)[^/]' \| \
13587 X"$as_dir" : 'X\(//\)$' \| \
13588 X"$as_dir" : 'X\(/\)' \| \
13589 . : '\(.\)' 2>/dev/null ||
13591 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13592 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13593 /^X\(\/\/\)$/{ s//\1/; q; }
13594 /^X\(\/\).*/{ s//\1/; q; }
13597 test ! -n "$as_dirs" || mkdir
$as_dirs
13598 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13599 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13600 { (exit 1); exit 1; }; }; }
13604 if test "$ac_dir" != .
; then
13605 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13606 # A "../" for each directory in $ac_dir_suffix.
13607 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13609 ac_dir_suffix
= ac_top_builddir
=
13613 .
) # No --srcdir option. We are building in place.
13615 if test -z "$ac_top_builddir"; then
13618 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13620 [\\/]* | ?
:[\\/]* ) # Absolute path.
13621 ac_srcdir
=$srcdir$ac_dir_suffix;
13622 ac_top_srcdir
=$srcdir ;;
13623 *) # Relative path.
13624 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13625 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13628 # Do not use `cd foo && pwd` to compute absolute paths, because
13629 # the directories may not exist.
13631 .
) ac_abs_builddir
="$ac_dir";;
13634 .
) ac_abs_builddir
=`pwd`;;
13635 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13636 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13639 case $ac_abs_builddir in
13640 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13642 case ${ac_top_builddir}.
in
13643 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13644 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13645 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13648 case $ac_abs_builddir in
13649 .
) ac_abs_srcdir
=$ac_srcdir;;
13652 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13653 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13654 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13657 case $ac_abs_builddir in
13658 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13660 case $ac_top_srcdir in
13661 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13662 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13663 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13668 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
13669 echo "$as_me: executing $ac_dest commands" >&6;}
13672 # Only add multilib support code if we just rebuilt the top-level
13674 case " $CONFIG_FILES " in
13676 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
13683 cat >>$CONFIG_STATUS <<\_ACEOF
13685 { (exit 0); exit 0; }
13687 chmod +x
$CONFIG_STATUS
13688 ac_clean_files
=$ac_clean_files_save
13691 # configure is writing to config.log, and then calls config.status.
13692 # config.status does its own redirection, appending to config.log.
13693 # Unfortunately, on DOS this fails, as config.log is still kept open
13694 # by configure, so config.status won't be able to write to it; its
13695 # output is simply discarded. So we exec the FD to /dev/null,
13696 # effectively closing config.log, so it can be properly (re)opened and
13697 # appended to by config.status. When coming back to configure, we
13698 # need to make the FD available again.
13699 if test "$no_create" != yes; then
13701 ac_config_status_args
=
13702 test "$silent" = yes &&
13703 ac_config_status_args
="$ac_config_status_args --quiet"
13705 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13707 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13708 # would make configure fail if this is the last instruction.
13709 $ac_cs_success ||
{ (exit 1); exit 1; }