2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.2.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME
='GNU Fortran Runtime Library'
269 PACKAGE_TARNAME
='libgfortran'
270 PACKAGE_VERSION
='0.2'
271 PACKAGE_STRING
='GNU Fortran Runtime Library 0.2'
274 # Factoring default headers for most tests.
275 ac_includes_default
="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir gcc_version_trigger gcc_version_full gcc_version toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC CPP CPPFLAGS EGREP MATH_OBJ LIBOBJS LTLIBOBJS'
314 # Initialize some variables set by options.
316 ac_init_version
=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name
=s
,x
,x
,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir
='${exec_prefix}/bin'
340 sbindir
='${exec_prefix}/sbin'
341 libexecdir
='${exec_prefix}/libexec'
342 datadir
='${prefix}/share'
343 sysconfdir
='${prefix}/etc'
344 sharedstatedir
='${prefix}/com'
345 localstatedir
='${prefix}/var'
346 libdir
='${exec_prefix}/lib'
347 includedir
='${prefix}/include'
348 oldincludedir
='/usr/include'
349 infodir
='${prefix}/info'
350 mandir
='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
370 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
373 -build |
--build |
--buil |
--bui |
--bu)
374 ac_prev
=build_alias
;;
375 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
376 build_alias
=$ac_optarg ;;
378 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
379 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
380 ac_prev
=cache_file
;;
381 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
382 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
383 cache_file
=$ac_optarg ;;
386 cache_file
=config.cache
;;
388 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
390 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
392 datadir
=$ac_optarg ;;
394 -disable-* |
--disable-*)
395 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* |
--enable-*)
404 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
417 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
418 |
--exec |
--exe |
--ex)
419 ac_prev
=exec_prefix
;;
420 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
421 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
422 |
--exec=* |
--exe=* |
--ex=*)
423 exec_prefix
=$ac_optarg ;;
425 -gas |
--gas |
--ga |
--g)
426 # Obsolete; use --with-gas.
429 -help |
--help |
--hel |
--he |
-h)
431 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
432 ac_init_help
=recursive
;;
433 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
434 ac_init_help
=short
;;
436 -host |
--host |
--hos |
--ho)
437 ac_prev
=host_alias
;;
438 -host=* |
--host=* |
--hos=* |
--ho=*)
439 host_alias
=$ac_optarg ;;
441 -includedir |
--includedir |
--includedi |
--included |
--include \
442 |
--includ |
--inclu |
--incl |
--inc)
443 ac_prev
=includedir
;;
444 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
445 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
446 includedir
=$ac_optarg ;;
448 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
450 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
451 infodir
=$ac_optarg ;;
453 -libdir |
--libdir |
--libdi |
--libd)
455 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
458 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
459 |
--libexe |
--libex |
--libe)
460 ac_prev
=libexecdir
;;
461 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
462 |
--libexe=* |
--libex=* |
--libe=*)
463 libexecdir
=$ac_optarg ;;
465 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
466 |
--localstate |
--localstat |
--localsta |
--localst \
467 |
--locals |
--local |
--loca |
--loc |
--lo)
468 ac_prev
=localstatedir
;;
469 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
470 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
471 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
472 localstatedir
=$ac_optarg ;;
474 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
476 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
480 # Obsolete; use --without-fp.
483 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
484 |
--no-cr |
--no-c |
-n)
487 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
488 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
491 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
492 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
493 |
--oldin |
--oldi |
--old |
--ol |
--o)
494 ac_prev
=oldincludedir
;;
495 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
496 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
497 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
498 oldincludedir
=$ac_optarg ;;
500 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
502 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
505 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
506 |
--program-pre |
--program-pr |
--program-p)
507 ac_prev
=program_prefix
;;
508 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
509 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
510 program_prefix
=$ac_optarg ;;
512 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
513 |
--program-suf |
--program-su |
--program-s)
514 ac_prev
=program_suffix
;;
515 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
516 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
517 program_suffix
=$ac_optarg ;;
519 -program-transform-name |
--program-transform-name \
520 |
--program-transform-nam |
--program-transform-na \
521 |
--program-transform-n |
--program-transform- \
522 |
--program-transform |
--program-transfor \
523 |
--program-transfo |
--program-transf \
524 |
--program-trans |
--program-tran \
525 |
--progr-tra |
--program-tr |
--program-t)
526 ac_prev
=program_transform_name
;;
527 -program-transform-name=* |
--program-transform-name=* \
528 |
--program-transform-nam=* |
--program-transform-na=* \
529 |
--program-transform-n=* |
--program-transform-=* \
530 |
--program-transform=* |
--program-transfor=* \
531 |
--program-transfo=* |
--program-transf=* \
532 |
--program-trans=* |
--program-tran=* \
533 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
534 program_transform_name
=$ac_optarg ;;
536 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
537 |
-silent |
--silent |
--silen |
--sile |
--sil)
540 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
542 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
544 sbindir
=$ac_optarg ;;
546 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
547 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
548 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
550 ac_prev
=sharedstatedir
;;
551 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
552 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
553 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
555 sharedstatedir
=$ac_optarg ;;
557 -site |
--site |
--sit)
559 -site=* |
--site=* |
--sit=*)
562 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
564 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
567 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
568 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
569 ac_prev
=sysconfdir
;;
570 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
571 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
572 sysconfdir
=$ac_optarg ;;
574 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
575 ac_prev
=target_alias
;;
576 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
577 target_alias
=$ac_optarg ;;
579 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
582 -version |
--version |
--versio |
--versi |
--vers |
-V)
586 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package
=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* |
--without-*)
599 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package
=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
612 |
--x-incl |
--x-inc |
--x-in |
--x-i)
613 ac_prev
=x_includes
;;
614 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
615 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
616 x_includes
=$ac_optarg ;;
618 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
619 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
620 ac_prev
=x_libraries
;;
621 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
622 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
623 x_libraries
=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var
in exec_prefix prefix
660 eval ac_val
=$
`echo $ac_var`
662 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val
=$
`echo $ac_var`
674 [\\/$
]* | ?
:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x
; then
689 if test "x$build_alias" = x
; then
690 cross_compiling
=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
701 test "$silent" = yes && exec 6>/dev
/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted
=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir
=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted
=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set
=${build_alias+set}
741 ac_env_build_alias_value
=$build_alias
742 ac_cv_env_build_alias_set
=${build_alias+set}
743 ac_cv_env_build_alias_value
=$build_alias
744 ac_env_host_alias_set
=${host_alias+set}
745 ac_env_host_alias_value
=$host_alias
746 ac_cv_env_host_alias_set
=${host_alias+set}
747 ac_cv_env_host_alias_value
=$host_alias
748 ac_env_target_alias_set
=${target_alias+set}
749 ac_env_target_alias_value
=$target_alias
750 ac_cv_env_target_alias_set
=${target_alias+set}
751 ac_cv_env_target_alias_value
=$target_alias
752 ac_env_FC_set
=${FC+set}
754 ac_cv_env_FC_set
=${FC+set}
755 ac_cv_env_FC_value
=$FC
756 ac_env_FCFLAGS_set
=${FCFLAGS+set}
757 ac_env_FCFLAGS_value
=$FCFLAGS
758 ac_cv_env_FCFLAGS_set
=${FCFLAGS+set}
759 ac_cv_env_FCFLAGS_value
=$FCFLAGS
760 ac_env_LDFLAGS_set
=${LDFLAGS+set}
761 ac_env_LDFLAGS_value
=$LDFLAGS
762 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value
=$LDFLAGS
764 ac_env_CPP_set
=${CPP+set}
765 ac_env_CPP_value
=$CPP
766 ac_cv_env_CPP_set
=${CPP+set}
767 ac_cv_env_CPP_value
=$CPP
768 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
774 # Report the --help message.
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
780 \`configure' configures GNU Fortran Runtime Library 0.2 to adapt to many kinds of systems.
782 Usage: $0 [OPTION]... [VAR=VALUE]...
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
787 Defaults for the options are specified in brackets.
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
814 For better control, use the options below.
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
834 --program-prefix=PREFIX prepend PREFIX to installed program names
835 --program-suffix=SUFFIX append SUFFIX to installed program names
836 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
839 --build=BUILD configure
for building on BUILD
[guessed
]
840 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
841 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
845 if test -n "$ac_init_help"; then
846 case $ac_init_help in
847 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.2:";;
852 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
853 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
854 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
855 --enable-maintainer-mode enable make rules and dependencies not useful
856 (and sometimes confusing
) to the casual installer
857 --enable-multilib build many library versions
(default
)
858 --enable-shared=PKGS build shared libraries default
=yes
859 --enable-static=PKGS build static libraries default
=yes
860 --enable-fast-install=PKGS optimize
for fast installation default
=yes
861 --disable-libtool-lock avoid locking
(might
break parallel builds
)
862 --disable-largefile omit support
for large files
863 --enable-cmath Include complex math functions
866 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
867 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
868 --with-gnu-ld assume the C compiler uses GNU ld default
=no
869 --with-pic try to use only PIC
/non-PIC objects default
=use both
871 Some influential environment variables
:
872 CC C compiler
command
873 CFLAGS C compiler flags
874 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
875 nonstandard directory
<lib dir
>
876 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
877 headers
in a nonstandard directory
<include dir
>
878 FC Fortran compiler
command
879 FCFLAGS Fortran compiler flags
882 Use these variables to override the choices made by
`configure' or to help
883 it to find libraries and programs with nonstandard names/locations.
888 if test "$ac_init_help" = "recursive"; then
889 # If there are subdirs, report their specific --help.
891 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
892 test -d $ac_dir || continue
895 if test "$ac_dir" != .; then
896 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
897 # A "../" for each directory in $ac_dir_suffix.
898 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
900 ac_dir_suffix= ac_top_builddir=
904 .) # No --srcdir option. We are building in place.
906 if test -z "$ac_top_builddir"; then
909 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
911 [\\/]* | ?:[\\/]* ) # Absolute path.
912 ac_srcdir=$srcdir$ac_dir_suffix;
913 ac_top_srcdir=$srcdir ;;
915 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
916 ac_top_srcdir=$ac_top_builddir$srcdir ;;
919 # Do not use `cd foo
&& pwd` to compute absolute paths, because
920 # the directories may not exist.
922 .) ac_abs_builddir="$ac_dir";;
925 .) ac_abs_builddir=`pwd`;;
926 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
927 *) ac_abs_builddir=`pwd`/"$ac_dir";;
930 case $ac_abs_builddir in
931 .) ac_abs_top_builddir=${ac_top_builddir}.;;
933 case ${ac_top_builddir}. in
934 .) ac_abs_top_builddir=$ac_abs_builddir;;
935 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
936 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
939 case $ac_abs_builddir in
940 .) ac_abs_srcdir=$ac_srcdir;;
943 .) ac_abs_srcdir=$ac_abs_builddir;;
944 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
945 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
948 case $ac_abs_builddir in
949 .) ac_abs_top_srcdir=$ac_top_srcdir;;
951 case $ac_top_srcdir in
952 .) ac_abs_top_srcdir=$ac_abs_builddir;;
953 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
954 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
959 # Check for guested configure; otherwise get Cygnus style configure.
960 if test -f $ac_srcdir/configure.gnu; then
962 $SHELL $ac_srcdir/configure.gnu --help=recursive
963 elif test -f $ac_srcdir/configure; then
965 $SHELL $ac_srcdir/configure --help=recursive
966 elif test -f $ac_srcdir/configure.ac ||
967 test -f $ac_srcdir/configure.in; then
971 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
977 test -n "$ac_init_help" && exit 0
978 if $ac_init_version; then
980 GNU Fortran Runtime Library configure 0.2
981 generated by GNU Autoconf 2.59
983 Copyright (C) 2003 Free Software Foundation, Inc.
984 This configure script is free software; the Free Software Foundation
985 gives unlimited permission to copy, distribute and modify it.
991 This file contains any messages produced by compilers while
992 running configure, to aid debugging if configure makes a mistake.
994 It was created by GNU Fortran Runtime Library $as_me 0.2, which was
995 generated by GNU Autoconf 2.59. Invocation command line was
1006 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1007 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1008 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1009 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1010 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1012 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1013 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1015 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1016 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1017 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1018 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1019 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1020 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1021 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1029 test -z "$as_dir" && as_dir=.
1030 echo "PATH: $as_dir"
1045 # Keep a trace of the command line.
1046 # Strip out --no-create and --no-recursion so they do not pile up.
1047 # Strip out --silent because we don't want to record it for future runs.
1048 # Also quote any args containing shell meta-characters.
1049 # Make two passes to allow for proper duplicate-argument suppression.
1054 ac_must_keep_next=false
1060 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1064 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1065 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1068 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1070 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1071 if test $ac_must_keep_next = true; then
1072 ac_must_keep_next=false # Got value, back to normal.
1075 *=* | --config-cache | -C | -disable-* | --disable-* \
1076 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1077 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1078 | -with-* | --with-* | -without-* | --without-* | --x)
1079 case "$ac_configure_args0 " in
1080 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1083 -* ) ac_must_keep_next=true ;;
1086 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1087 # Get rid of the leading space.
1093 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1094 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1096 # When interrupted or exit'd, cleanup temporary files, and complete
1097 # config.log. We remove comments because anyway the quotes in there
1098 # would cause problems or look ugly.
1099 # WARNING: Be sure not to use single quotes in there, as some shells,
1100 # such as our DU 5.0 friend, will then `close
' the trap.
1101 trap 'exit_status
=$?
1102 # Save into config.log some information that might help in debugging.
1107 ## ---------------- ##
1108 ## Cache variables. ##
1109 ## ---------------- ##
1112 # The following way of writing the cache mishandles newlines in values,
1115 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1118 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1123 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1130 ## ----------------- ##
1131 ## Output variables. ##
1132 ## ----------------- ##
1135 for ac_var
in $ac_subst_vars
1137 eval ac_val
=$
`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1142 if test -n "$ac_subst_files"; then
1149 for ac_var
in $ac_subst_files
1151 eval ac_val
=$
`echo $ac_var`
1152 echo "$ac_var='"'"'$ac_val'"'"'"
1157 if test -s confdefs.h
; then
1164 sed "/^$/d" confdefs.h |
sort
1167 test "$ac_signal" != 0 &&
1168 echo "$as_me: caught signal $ac_signal"
1169 echo "$as_me: exit $exit_status"
1171 rm -f core
*.core
&&
1172 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1175 for ac_signal in 1 2 13 15; do
1176 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1180 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1181 rm -rf conftest* confdefs.h
1182 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1185 # Predefined preprocessor variables.
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_NAME "$PACKAGE_NAME"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_STRING "$PACKAGE_STRING"
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1212 # Let the site file select an alternate cache file if it wants to.
1213 # Prefer explicitly selected file to automatically selected ones.
1214 if test -z "$CONFIG_SITE"; then
1215 if test "x$prefix" != xNONE; then
1216 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1218 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1221 for ac_site_file in $CONFIG_SITE; do
1222 if test -r "$ac_site_file"; then
1223 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1224 echo "$as_me: loading site script $ac_site_file" >&6;}
1225 sed 's
/^
/|
/' "$ac_site_file" >&5
1230 if test -r "$cache_file"; then
1231 # Some versions of bash will fail to source /dev/null (special
1232 # files actually), so we avoid doing that.
1233 if test -f "$cache_file"; then
1234 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1235 echo "$as_me: loading cache $cache_file" >&6;}
1237 [\\/]* | ?:[\\/]* ) . $cache_file;;
1238 *) . ./$cache_file;;
1242 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1243 echo "$as_me: creating cache $cache_file" >&6;}
1247 # Check that the precious variables saved in the cache have kept the same
1249 ac_cache_corrupted=false
1250 for ac_var in `(set) 2>&1 |
1251 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1252 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1253 eval ac_new_set=\$ac_env_${ac_var}_set
1254 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1255 eval ac_new_val="\$ac_env_${ac_var}_value"
1256 case $ac_old_set,$ac_new_set in
1258 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1260 ac_cache_corrupted=: ;;
1262 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1263 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1264 ac_cache_corrupted=: ;;
1267 if test "x$ac_old_val" != "x$ac_new_val"; then
1268 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1269 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1270 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1271 echo "$as_me: former value: $ac_old_val" >&2;}
1272 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1273 echo "$as_me: current value: $ac_new_val" >&2;}
1274 ac_cache_corrupted=:
1277 # Pass precious variables to config.status.
1278 if test "$ac_new_set" = set; then
1280 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1282 *) ac_arg=$ac_var=$ac_new_val ;;
1284 case " $ac_configure_args " in
1285 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1286 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1290 if $ac_cache_corrupted; then
1291 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1292 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1293 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1294 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1295 { (exit 1); exit 1; }; }
1299 ac_cpp='$CPP $CPPFLAGS'
1300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1301 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1330 ac_config_headers="$ac_config_headers config.h"
1337 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1338 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1339 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1340 if test "${enable_version_specific_runtime_libs+set}" = set; then
1341 enableval="$enable_version_specific_runtime_libs"
1342 case "$enableval" in
1343 yes) version_specific_libs=yes ;;
1344 no) version_specific_libs=no ;;
1345 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1346 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1347 { (exit 1); exit 1; }; };;
1350 version_specific_libs=no
1352 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1353 echo "${ECHO_T}$version_specific_libs" >&6
1356 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1358 # You will slowly go insane if you do not grok the following fact: when
1359 # building this library, the top-level /target/ becomes the library's
/host
/.
1361 # configure then causes --target to default to --host, exactly like any
1362 # other package using autoconf. Therefore, 'target' and 'host' will
1363 # always be the same. This makes sense both for native and cross compilers
1364 # just think about it for a little while. :-)
1366 # Also, if this library is being configured as part of a cross compiler, the
1367 # top-level configure script will pass the "real" host as $with_cross_host.
1369 # Do not delete or change the following two lines. For why, see
1370 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1372 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1373 if test -f $ac_dir/install-sh
; then
1375 ac_install_sh
="$ac_aux_dir/install-sh -c"
1377 elif test -f $ac_dir/install.sh
; then
1379 ac_install_sh
="$ac_aux_dir/install.sh -c"
1381 elif test -f $ac_dir/shtool
; then
1383 ac_install_sh
="$ac_aux_dir/shtool install -c"
1387 if test -z "$ac_aux_dir"; then
1388 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1389 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1390 { (exit 1); exit 1; }; }
1392 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1393 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1394 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1396 # Make sure we can run config.sub.
1397 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1398 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1399 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1400 { (exit 1); exit 1; }; }
1402 echo "$as_me:$LINENO: checking build system type" >&5
1403 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1404 if test "${ac_cv_build+set}" = set; then
1405 echo $ECHO_N "(cached) $ECHO_C" >&6
1407 ac_cv_build_alias
=$build_alias
1408 test -z "$ac_cv_build_alias" &&
1409 ac_cv_build_alias
=`$ac_config_guess`
1410 test -z "$ac_cv_build_alias" &&
1411 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1412 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1413 { (exit 1); exit 1; }; }
1414 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1415 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1416 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1417 { (exit 1); exit 1; }; }
1420 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1421 echo "${ECHO_T}$ac_cv_build" >&6
1423 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1424 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1425 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1428 echo "$as_me:$LINENO: checking host system type" >&5
1429 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1430 if test "${ac_cv_host+set}" = set; then
1431 echo $ECHO_N "(cached) $ECHO_C" >&6
1433 ac_cv_host_alias
=$host_alias
1434 test -z "$ac_cv_host_alias" &&
1435 ac_cv_host_alias
=$ac_cv_build_alias
1436 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1437 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1438 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1439 { (exit 1); exit 1; }; }
1442 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1443 echo "${ECHO_T}$ac_cv_host" >&6
1445 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1446 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1447 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1450 echo "$as_me:$LINENO: checking target system type" >&5
1451 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1452 if test "${ac_cv_target+set}" = set; then
1453 echo $ECHO_N "(cached) $ECHO_C" >&6
1455 ac_cv_target_alias
=$target_alias
1456 test "x$ac_cv_target_alias" = "x" &&
1457 ac_cv_target_alias
=$ac_cv_host_alias
1458 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1459 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1460 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1461 { (exit 1); exit 1; }; }
1464 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1465 echo "${ECHO_T}$ac_cv_target" >&6
1466 target
=$ac_cv_target
1467 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1468 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1469 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1472 # The aliases save the names the user supplied, while $host etc.
1473 # will get canonicalized.
1474 test -n "$target_alias" &&
1475 test "$program_prefix$program_suffix$program_transform_name" = \
1477 program_prefix
=${target_alias}-
1478 target_alias
=${target_alias-$host_alias}
1480 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1481 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1482 # 1.8.2: minimum required version
1483 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1484 # of other PACKAGE_* variables will, however, and there's nothing
1485 # we can do about that; they come from AC_INIT).
1486 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1487 # file in the top srcdir, etc, etc), so stop complaining.
1488 # no-dependencies: turns off auto dependency generation (just for now)
1489 # -Wall: turns on all automake warnings...
1490 # -Wno-portability: ...except this one, since GNU make is required.
1491 am__api_version
="1.9"
1492 # Find a good install program. We prefer a C program (faster),
1493 # so one script is as good as another. But avoid the broken or
1494 # incompatible versions:
1495 # SysV /etc/install, /usr/sbin/install
1496 # SunOS /usr/etc/install
1497 # IRIX /sbin/install
1499 # AmigaOS /C/install, which installs bootblocks on floppy discs
1500 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1501 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1502 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1503 # OS/2's system install, which has a completely different semantic
1504 # ./install, which can be erroneously created by make from ./install.sh.
1505 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1506 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1507 if test -z "$INSTALL"; then
1508 if test "${ac_cv_path_install+set}" = set; then
1509 echo $ECHO_N "(cached) $ECHO_C" >&6
1511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1515 test -z "$as_dir" && as_dir
=.
1516 # Account for people who put trailing slashes in PATH elements.
1518 .
/ | .
// |
/cC
/* | \
1519 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1520 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1523 # OSF1 and SCO ODT 3.0 have their own names for install.
1524 # Don't use installbsd from OSF since it installs stuff as root
1526 for ac_prog
in ginstall scoinst
install; do
1527 for ac_exec_ext
in '' $ac_executable_extensions; do
1528 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1529 if test $ac_prog = install &&
1530 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1531 # AIX install. It has an incompatible calling convention.
1533 elif test $ac_prog = install &&
1534 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1535 # program-specific install script used by HP pwplus--don't use.
1538 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1550 if test "${ac_cv_path_install+set}" = set; then
1551 INSTALL
=$ac_cv_path_install
1553 # As a last resort, use the slow shell script. We don't cache a
1554 # path for INSTALL within a source directory, because that will
1555 # break other packages using the cache if that directory is
1556 # removed, or if the path is relative.
1557 INSTALL
=$ac_install_sh
1560 echo "$as_me:$LINENO: result: $INSTALL" >&5
1561 echo "${ECHO_T}$INSTALL" >&6
1563 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1564 # It thinks the first close brace ends the variable substitution.
1565 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1567 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1569 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1571 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1572 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1575 echo timestamp
> conftest.
file
1576 # Do `set' in a subshell so we don't clobber the current shell's
1577 # arguments. Must try -L first in case configure is actually a
1578 # symlink; some systems play weird games with the mod time of symlinks
1579 # (eg FreeBSD returns the mod time of the symlink's containing
1582 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1583 if test "$*" = "X"; then
1585 set X
`ls -t $srcdir/configure conftest.file`
1588 if test "$*" != "X $srcdir/configure conftest.file" \
1589 && test "$*" != "X conftest.file $srcdir/configure"; then
1591 # If neither matched, then we have a broken ls. This can happen
1592 # if, for instance, CONFIG_SHELL is bash and it inherits a
1593 # broken ls alias from the environment. This has actually
1594 # happened. Such a system could not be considered "sane".
1595 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1596 alias in your environment" >&5
1597 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1598 alias in your environment" >&2;}
1599 { (exit 1); exit 1; }; }
1602 test "$2" = conftest.
file
1608 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1609 Check your system clock" >&5
1610 echo "$as_me: error: newly created file is older than distributed files!
1611 Check your system clock" >&2;}
1612 { (exit 1); exit 1; }; }
1614 echo "$as_me:$LINENO: result: yes" >&5
1615 echo "${ECHO_T}yes" >&6
1616 test "$program_prefix" != NONE
&&
1617 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1618 # Use a double $ so make ignores it.
1619 test "$program_suffix" != NONE
&&
1620 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1621 # Double any \ or $. echo might interpret backslashes.
1622 # By default was `s,x,x', remove it if useless.
1623 cat <<\_ACEOF
>conftest.
sed
1624 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1626 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1629 # expand $ac_aux_dir to an absolute path
1630 am_aux_dir
=`cd $ac_aux_dir && pwd`
1632 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1633 # Use eval to expand $SHELL
1634 if eval "$MISSING --run true"; then
1635 am_missing_run
="$MISSING --run "
1638 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1639 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1642 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1643 # We used to keeping the `.' as first argument, in order to
1644 # allow $(mkdir_p) to be used without argument. As in
1645 # $(mkdir_p) $(somedir)
1646 # where $(somedir) is conditionally defined. However this is wrong
1648 # 1. if the package is installed by a user who cannot write `.'
1649 # make install will fail,
1650 # 2. the above comment should most certainly read
1651 # $(mkdir_p) $(DESTDIR)$(somedir)
1652 # so it does not work when $(somedir) is undefined and
1653 # $(DESTDIR) is not.
1654 # To support the latter case, we have to write
1655 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1656 # so the `.' trick is pointless.
1657 mkdir_p
='mkdir -p --'
1659 # On NextStep and OpenStep, the `mkdir' command does not
1660 # recognize any option. It will interpret all options as
1661 # directories to create, and then abort because `.' already
1663 for d
in .
/-p .
/--version;
1665 test -d $d && rmdir $d
1667 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1668 if test -f "$ac_aux_dir/mkinstalldirs"; then
1669 mkdir_p
='$(mkinstalldirs)'
1671 mkdir_p
='$(install_sh) -d'
1675 for ac_prog
in gawk mawk nawk
awk
1677 # Extract the first word of "$ac_prog", so it can be a program name with args.
1678 set dummy
$ac_prog; ac_word
=$2
1679 echo "$as_me:$LINENO: checking for $ac_word" >&5
1680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1681 if test "${ac_cv_prog_AWK+set}" = set; then
1682 echo $ECHO_N "(cached) $ECHO_C" >&6
1684 if test -n "$AWK"; then
1685 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1691 test -z "$as_dir" && as_dir
=.
1692 for ac_exec_ext
in '' $ac_executable_extensions; do
1693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1694 ac_cv_prog_AWK
="$ac_prog"
1695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1704 if test -n "$AWK"; then
1705 echo "$as_me:$LINENO: result: $AWK" >&5
1706 echo "${ECHO_T}$AWK" >&6
1708 echo "$as_me:$LINENO: result: no" >&5
1709 echo "${ECHO_T}no" >&6
1712 test -n "$AWK" && break
1715 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1716 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1717 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1718 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1719 echo $ECHO_N "(cached) $ECHO_C" >&6
1721 cat >conftest.
make <<\_ACEOF
1723 @
echo 'ac_maketemp="$(MAKE)"'
1725 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1726 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1727 if test -n "$ac_maketemp"; then
1728 eval ac_cv_prog_make_
${ac_make}_set
=yes
1730 eval ac_cv_prog_make_
${ac_make}_set
=no
1734 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1735 echo "$as_me:$LINENO: result: yes" >&5
1736 echo "${ECHO_T}yes" >&6
1739 echo "$as_me:$LINENO: result: no" >&5
1740 echo "${ECHO_T}no" >&6
1741 SET_MAKE
="MAKE=${MAKE-make}"
1744 rm -rf .tst
2>/dev
/null
1745 mkdir .tst
2>/dev
/null
1746 if test -d .tst
; then
1751 rmdir .tst
2>/dev
/null
1753 # test to see if srcdir already configured
1754 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1755 test -f $srcdir/config.status
; then
1756 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1757 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1758 { (exit 1); exit 1; }; }
1761 # test whether we have cygpath
1762 if test -z "$CYGPATH_W"; then
1763 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1764 CYGPATH_W
='cygpath -w'
1771 # Define the identity of the package.
1772 PACKAGE
='libgfortran'
1776 # Some tools Automake needs.
1778 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1781 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1784 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1787 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1790 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1792 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1794 # Installed binaries are usually stripped using `strip' when the user
1795 # run `make install-strip'. However `strip' might not be the right
1796 # tool to use in cross-compilation environments, therefore Automake
1797 # will honor the `STRIP' environment variable to overrule this program.
1798 if test "$cross_compiling" != no
; then
1799 if test -n "$ac_tool_prefix"; then
1800 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1801 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1802 echo "$as_me:$LINENO: checking for $ac_word" >&5
1803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1804 if test "${ac_cv_prog_STRIP+set}" = set; then
1805 echo $ECHO_N "(cached) $ECHO_C" >&6
1807 if test -n "$STRIP"; then
1808 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1814 test -z "$as_dir" && as_dir
=.
1815 for ac_exec_ext
in '' $ac_executable_extensions; do
1816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1817 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1826 STRIP
=$ac_cv_prog_STRIP
1827 if test -n "$STRIP"; then
1828 echo "$as_me:$LINENO: result: $STRIP" >&5
1829 echo "${ECHO_T}$STRIP" >&6
1831 echo "$as_me:$LINENO: result: no" >&5
1832 echo "${ECHO_T}no" >&6
1836 if test -z "$ac_cv_prog_STRIP"; then
1838 # Extract the first word of "strip", so it can be a program name with args.
1839 set dummy strip
; ac_word
=$2
1840 echo "$as_me:$LINENO: checking for $ac_word" >&5
1841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1842 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1843 echo $ECHO_N "(cached) $ECHO_C" >&6
1845 if test -n "$ac_ct_STRIP"; then
1846 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1852 test -z "$as_dir" && as_dir
=.
1853 for ac_exec_ext
in '' $ac_executable_extensions; do
1854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1855 ac_cv_prog_ac_ct_STRIP
="strip"
1856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1862 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1865 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1866 if test -n "$ac_ct_STRIP"; then
1867 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1868 echo "${ECHO_T}$ac_ct_STRIP" >&6
1870 echo "$as_me:$LINENO: result: no" >&5
1871 echo "${ECHO_T}no" >&6
1876 STRIP
="$ac_cv_prog_STRIP"
1880 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1882 # We need awk for the "check" target. The system "awk" is bad on
1884 # Always define AMTAR for backward compatibility.
1886 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1888 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1895 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1896 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1897 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1898 if test "${enable_maintainer_mode+set}" = set; then
1899 enableval
="$enable_maintainer_mode"
1900 USE_MAINTAINER_MODE
=$enableval
1902 USE_MAINTAINER_MODE
=no
1904 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1905 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1908 if test $USE_MAINTAINER_MODE = yes; then
1909 MAINTAINER_MODE_TRUE
=
1910 MAINTAINER_MODE_FALSE
='#'
1912 MAINTAINER_MODE_TRUE
='#'
1913 MAINTAINER_MODE_FALSE
=
1916 MAINT
=$MAINTAINER_MODE_TRUE
1919 # Default to --enable-multilib
1920 # Check whether --enable-multilib or --disable-multilib was given.
1921 if test "${enable_multilib+set}" = set; then
1922 enableval
="$enable_multilib"
1923 case "$enableval" in
1924 yes) multilib
=yes ;;
1926 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1927 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1928 { (exit 1); exit 1; }; } ;;
1934 # We may get other options which we leave undocumented:
1935 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1936 # See config-ml.in if you want the gory details.
1938 if test "$srcdir" = "."; then
1939 if test "$with_target_subdir" != "."; then
1940 multi_basedir
="$srcdir/$with_multisrctop../.."
1942 multi_basedir
="$srcdir/$with_multisrctop.."
1945 multi_basedir
="$srcdir/.."
1949 ac_config_commands
="$ac_config_commands default-1"
1952 # Handy for debugging:
1953 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1955 # Are we being configured with some form of cross compiler?
1956 # NB: We don't actually need to know this just now, but when, say, a test
1957 # suite is included, we'll have to know.
1958 if test "$build" != "$host"; then
1959 LIBGFOR_IS_NATIVE
=false
1962 LIBGFOR_IS_NATIVE
=true
1966 if test "${with_gcc_version_trigger+set}" = set; then
1967 gcc_version_trigger
=$with_gcc_version_trigger
1969 gcc_version_trigger
=$srcdir/..
/gcc
/version.c
1971 if test -f "${gcc_version_trigger}"; then
1972 gcc_version_full
=`grep version_string "${gcc_version_trigger}" | sed -e 's/.*"\([^"]*\)".*/\1/'`
1974 gcc_version_full
=`$CC -v 2>&1 | sed -n 's/^gcc version //p'`
1976 gcc_version
=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
1982 # Calculate toolexeclibdir
1983 # Also toolexecdir, though it's only used in toolexeclibdir
1984 case ${version_specific_libs} in
1986 # Need the gcc compiler version to know where to install libraries
1987 # and header files if --enable-version-specific-runtime-libs option
1989 toolexecdir
='$(libdir)/gcc/$(target_alias)'
1990 toolexeclibdir
='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
1993 if test -n "$with_cross_host" &&
1994 test x
"$with_cross_host" != x
"no"; then
1995 # Install a library built with a cross compiler in tooldir, not libdir.
1996 toolexecdir
='$(exec_prefix)/$(target_alias)'
1997 toolexeclibdir
='$(toolexecdir)/lib'
1999 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
2000 toolexeclibdir
='$(libdir)'
2002 multi_os_directory
=`$CC -print-multi-os-directory`
2003 case $multi_os_directory in
2004 .
) ;; # Avoid trailing /.
2005 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
2012 # Check the compiler.
2013 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2014 # We must force CC to /not/ be precious variables; otherwise
2015 # the wrong, non-multilib-adjusted value will be used in multilibs.
2016 # As a side effect, we have to subst CFLAGS ourselves.
2021 ac_cpp
='$CPP $CPPFLAGS'
2022 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2023 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2024 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2025 if test -n "$ac_tool_prefix"; then
2026 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2027 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2028 echo "$as_me:$LINENO: checking for $ac_word" >&5
2029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2030 if test "${ac_cv_prog_CC+set}" = set; then
2031 echo $ECHO_N "(cached) $ECHO_C" >&6
2033 if test -n "$CC"; then
2034 ac_cv_prog_CC
="$CC" # Let the user override the test.
2036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2040 test -z "$as_dir" && as_dir
=.
2041 for ac_exec_ext
in '' $ac_executable_extensions; do
2042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2043 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2053 if test -n "$CC"; then
2054 echo "$as_me:$LINENO: result: $CC" >&5
2055 echo "${ECHO_T}$CC" >&6
2057 echo "$as_me:$LINENO: result: no" >&5
2058 echo "${ECHO_T}no" >&6
2062 if test -z "$ac_cv_prog_CC"; then
2064 # Extract the first word of "gcc", so it can be a program name with args.
2065 set dummy gcc
; ac_word
=$2
2066 echo "$as_me:$LINENO: checking for $ac_word" >&5
2067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2068 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2069 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 if test -n "$ac_ct_CC"; then
2072 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2078 test -z "$as_dir" && as_dir
=.
2079 for ac_exec_ext
in '' $ac_executable_extensions; do
2080 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2081 ac_cv_prog_ac_ct_CC
="gcc"
2082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2090 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2091 if test -n "$ac_ct_CC"; then
2092 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2093 echo "${ECHO_T}$ac_ct_CC" >&6
2095 echo "$as_me:$LINENO: result: no" >&5
2096 echo "${ECHO_T}no" >&6
2104 if test -z "$CC"; then
2105 if test -n "$ac_tool_prefix"; then
2106 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2107 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2108 echo "$as_me:$LINENO: checking for $ac_word" >&5
2109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2110 if test "${ac_cv_prog_CC+set}" = set; then
2111 echo $ECHO_N "(cached) $ECHO_C" >&6
2113 if test -n "$CC"; then
2114 ac_cv_prog_CC
="$CC" # Let the user override the test.
2116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2120 test -z "$as_dir" && as_dir
=.
2121 for ac_exec_ext
in '' $ac_executable_extensions; do
2122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2123 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2133 if test -n "$CC"; then
2134 echo "$as_me:$LINENO: result: $CC" >&5
2135 echo "${ECHO_T}$CC" >&6
2137 echo "$as_me:$LINENO: result: no" >&5
2138 echo "${ECHO_T}no" >&6
2142 if test -z "$ac_cv_prog_CC"; then
2144 # Extract the first word of "cc", so it can be a program name with args.
2145 set dummy cc
; ac_word
=$2
2146 echo "$as_me:$LINENO: checking for $ac_word" >&5
2147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2148 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2149 echo $ECHO_N "(cached) $ECHO_C" >&6
2151 if test -n "$ac_ct_CC"; then
2152 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2158 test -z "$as_dir" && as_dir
=.
2159 for ac_exec_ext
in '' $ac_executable_extensions; do
2160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2161 ac_cv_prog_ac_ct_CC
="cc"
2162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2170 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2171 if test -n "$ac_ct_CC"; then
2172 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2173 echo "${ECHO_T}$ac_ct_CC" >&6
2175 echo "$as_me:$LINENO: result: no" >&5
2176 echo "${ECHO_T}no" >&6
2185 if test -z "$CC"; then
2186 # Extract the first word of "cc", so it can be a program name with args.
2187 set dummy cc
; ac_word
=$2
2188 echo "$as_me:$LINENO: checking for $ac_word" >&5
2189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2190 if test "${ac_cv_prog_CC+set}" = set; then
2191 echo $ECHO_N "(cached) $ECHO_C" >&6
2193 if test -n "$CC"; then
2194 ac_cv_prog_CC
="$CC" # Let the user override the test.
2197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2201 test -z "$as_dir" && as_dir
=.
2202 for ac_exec_ext
in '' $ac_executable_extensions; do
2203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2204 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2205 ac_prog_rejected
=yes
2209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2215 if test $ac_prog_rejected = yes; then
2216 # We found a bogon in the path, so make sure we never use it.
2217 set dummy
$ac_cv_prog_CC
2219 if test $# != 0; then
2220 # We chose a different compiler from the bogus one.
2221 # However, it has the same basename, so the bogon will be chosen
2222 # first if we set CC to just the basename; use the full file name.
2224 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2230 if test -n "$CC"; then
2231 echo "$as_me:$LINENO: result: $CC" >&5
2232 echo "${ECHO_T}$CC" >&6
2234 echo "$as_me:$LINENO: result: no" >&5
2235 echo "${ECHO_T}no" >&6
2239 if test -z "$CC"; then
2240 if test -n "$ac_tool_prefix"; then
2243 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2244 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2245 echo "$as_me:$LINENO: checking for $ac_word" >&5
2246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2247 if test "${ac_cv_prog_CC+set}" = set; then
2248 echo $ECHO_N "(cached) $ECHO_C" >&6
2250 if test -n "$CC"; then
2251 ac_cv_prog_CC
="$CC" # Let the user override the test.
2253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2257 test -z "$as_dir" && as_dir
=.
2258 for ac_exec_ext
in '' $ac_executable_extensions; do
2259 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2260 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2270 if test -n "$CC"; then
2271 echo "$as_me:$LINENO: result: $CC" >&5
2272 echo "${ECHO_T}$CC" >&6
2274 echo "$as_me:$LINENO: result: no" >&5
2275 echo "${ECHO_T}no" >&6
2278 test -n "$CC" && break
2281 if test -z "$CC"; then
2285 # Extract the first word of "$ac_prog", so it can be a program name with args.
2286 set dummy
$ac_prog; ac_word
=$2
2287 echo "$as_me:$LINENO: checking for $ac_word" >&5
2288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2289 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2290 echo $ECHO_N "(cached) $ECHO_C" >&6
2292 if test -n "$ac_ct_CC"; then
2293 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2299 test -z "$as_dir" && as_dir
=.
2300 for ac_exec_ext
in '' $ac_executable_extensions; do
2301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2302 ac_cv_prog_ac_ct_CC
="$ac_prog"
2303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2311 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2312 if test -n "$ac_ct_CC"; then
2313 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2314 echo "${ECHO_T}$ac_ct_CC" >&6
2316 echo "$as_me:$LINENO: result: no" >&5
2317 echo "${ECHO_T}no" >&6
2320 test -n "$ac_ct_CC" && break
2329 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2330 See \`config.log' for more details." >&5
2331 echo "$as_me: error: no acceptable C compiler found in \$PATH
2332 See \`config.log' for more details." >&2;}
2333 { (exit 1); exit 1; }; }
2335 # Provide some information about the compiler.
2336 echo "$as_me:$LINENO:" \
2337 "checking for C compiler version" >&5
2338 ac_compiler
=`set X $ac_compile; echo $2`
2339 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2340 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2343 (exit $ac_status); }
2344 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2345 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348 (exit $ac_status); }
2349 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2350 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353 (exit $ac_status); }
2355 cat >conftest.
$ac_ext <<_ACEOF
2358 cat confdefs.h
>>conftest.
$ac_ext
2359 cat >>conftest.
$ac_ext <<_ACEOF
2360 /* end confdefs.h. */
2371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2372 (eval $ac_link) 2>&5
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); }; then
2381 if test x
$gcc_no_link = xyes
; then
2382 # Setting cross_compile will disable run tests; it will
2383 # also disable AC_CHECK_FILE but that's generally
2384 # correct if we can't link.
2388 cat >conftest.
$ac_ext <<_ACEOF
2391 cat confdefs.h
>>conftest.
$ac_ext
2392 cat >>conftest.
$ac_ext <<_ACEOF
2393 /* end confdefs.h. */
2403 ac_clean_files_save
=$ac_clean_files
2404 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2405 # Try to create an executable without -o first, disregard a.out.
2406 # It will help us diagnose broken compilers, and finding out an intuition
2408 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2409 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2410 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2411 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2412 (eval $ac_link_default) 2>&5
2414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2415 (exit $ac_status); }; then
2416 # Find the output, starting from the most likely. This scheme is
2417 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2420 # Be careful to initialize this variable, since it used to be cached.
2421 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2423 # b.out is created by i960 compilers.
2424 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2426 test -f "$ac_file" ||
continue
2428 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2431 # This is the source file.
2434 # We found the default executable, but exeext='' is most
2438 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2439 # FIXME: I believe we export ac_cv_exeext for Libtool,
2440 # but it would be cool to find out if it's true. Does anybody
2441 # maintain Libtool? --akim.
2449 echo "$as_me: failed program was:" >&5
2450 sed 's/^/| /' conftest.
$ac_ext >&5
2452 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2453 See \`config.log' for more details." >&5
2454 echo "$as_me: error: C compiler cannot create executables
2455 See \`config.log' for more details." >&2;}
2456 { (exit 77); exit 77; }; }
2459 ac_exeext
=$ac_cv_exeext
2460 echo "$as_me:$LINENO: result: $ac_file" >&5
2461 echo "${ECHO_T}$ac_file" >&6
2463 # Check the compiler produces executables we can run. If not, either
2464 # the compiler is broken, or we cross compile.
2465 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2466 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2467 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2468 # If not cross compiling, check that we can run a simple program.
2469 if test "$cross_compiling" != yes; then
2470 if { ac_try
='./$ac_file'
2471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); }; }; then
2478 if test "$cross_compiling" = maybe
; then
2481 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2482 If you meant to cross compile, use \`--host'.
2483 See \`config.log' for more details." >&5
2484 echo "$as_me: error: cannot run C compiled programs.
2485 If you meant to cross compile, use \`--host'.
2486 See \`config.log' for more details." >&2;}
2487 { (exit 1); exit 1; }; }
2491 echo "$as_me:$LINENO: result: yes" >&5
2492 echo "${ECHO_T}yes" >&6
2494 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2495 ac_clean_files
=$ac_clean_files_save
2496 # Check the compiler produces executables we can run. If not, either
2497 # the compiler is broken, or we cross compile.
2498 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2499 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2500 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2501 echo "${ECHO_T}$cross_compiling" >&6
2503 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2504 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2506 (eval $ac_link) 2>&5
2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509 (exit $ac_status); }; then
2510 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2511 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2512 # work properly (i.e., refer to `conftest.exe'), while it won't with
2514 for ac_file
in conftest.exe conftest conftest.
*; do
2515 test -f "$ac_file" ||
continue
2517 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2518 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2525 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2526 See \`config.log' for more details." >&5
2527 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2528 See \`config.log' for more details." >&2;}
2529 { (exit 1); exit 1; }; }
2532 rm -f conftest
$ac_cv_exeext
2533 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2534 echo "${ECHO_T}$ac_cv_exeext" >&6
2536 rm -f conftest.
$ac_ext
2537 EXEEXT
=$ac_cv_exeext
2540 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2541 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2542 if test "${ac_cv_objext+set}" = set; then
2543 echo $ECHO_N "(cached) $ECHO_C" >&6
2545 cat >conftest.
$ac_ext <<_ACEOF
2548 cat confdefs.h
>>conftest.
$ac_ext
2549 cat >>conftest.
$ac_ext <<_ACEOF
2550 /* end confdefs.h. */
2560 rm -f conftest.o conftest.obj
2561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2562 (eval $ac_compile) 2>&5
2564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565 (exit $ac_status); }; then
2566 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2568 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2569 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2574 echo "$as_me: failed program was:" >&5
2575 sed 's/^/| /' conftest.
$ac_ext >&5
2577 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2578 See \`config.log' for more details." >&5
2579 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2580 See \`config.log' for more details." >&2;}
2581 { (exit 1); exit 1; }; }
2584 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2586 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2587 echo "${ECHO_T}$ac_cv_objext" >&6
2588 OBJEXT
=$ac_cv_objext
2590 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2591 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2592 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2593 echo $ECHO_N "(cached) $ECHO_C" >&6
2595 cat >conftest.
$ac_ext <<_ACEOF
2598 cat confdefs.h
>>conftest.
$ac_ext
2599 cat >>conftest.
$ac_ext <<_ACEOF
2600 /* end confdefs.h. */
2613 rm -f conftest.
$ac_objext
2614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2615 (eval $ac_compile) 2>conftest.er1
2617 grep -v '^ *+' conftest.er1
>conftest.err
2619 cat conftest.err
>&5
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); } &&
2622 { ac_try
='test -z "$ac_c_werror_flag"
2623 || test ! -s conftest.err'
2624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); }; } &&
2629 { ac_try
='test -s conftest.$ac_objext'
2630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634 (exit $ac_status); }; }; then
2637 echo "$as_me: failed program was:" >&5
2638 sed 's/^/| /' conftest.
$ac_ext >&5
2642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2643 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2646 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2647 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2648 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2649 ac_test_CFLAGS
=${CFLAGS+set}
2650 ac_save_CFLAGS
=$CFLAGS
2652 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2653 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2654 if test "${ac_cv_prog_cc_g+set}" = set; then
2655 echo $ECHO_N "(cached) $ECHO_C" >&6
2657 cat >conftest.
$ac_ext <<_ACEOF
2660 cat confdefs.h
>>conftest.
$ac_ext
2661 cat >>conftest.
$ac_ext <<_ACEOF
2662 /* end confdefs.h. */
2672 rm -f conftest.
$ac_objext
2673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2674 (eval $ac_compile) 2>conftest.er1
2676 grep -v '^ *+' conftest.er1
>conftest.err
2678 cat conftest.err
>&5
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); } &&
2681 { ac_try
='test -z "$ac_c_werror_flag"
2682 || test ! -s conftest.err'
2683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687 (exit $ac_status); }; } &&
2688 { ac_try
='test -s conftest.$ac_objext'
2689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); }; }; then
2696 echo "$as_me: failed program was:" >&5
2697 sed 's/^/| /' conftest.
$ac_ext >&5
2701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2703 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2704 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2705 if test "$ac_test_CFLAGS" = set; then
2706 CFLAGS
=$ac_save_CFLAGS
2707 elif test $ac_cv_prog_cc_g = yes; then
2708 if test "$GCC" = yes; then
2714 if test "$GCC" = yes; then
2720 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2721 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2722 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2723 echo $ECHO_N "(cached) $ECHO_C" >&6
2725 ac_cv_prog_cc_stdc
=no
2727 cat >conftest.
$ac_ext <<_ACEOF
2730 cat confdefs.h
>>conftest.
$ac_ext
2731 cat >>conftest.
$ac_ext <<_ACEOF
2732 /* end confdefs.h. */
2735 #include <sys/types.h>
2736 #include <sys/stat.h>
2737 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2738 struct buf { int x; };
2739 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2740 static char *e (p, i)
2746 static char *f (char * (*g) (char **, int), char **p, ...)
2751 s = g (p, va_arg (v,int));
2756 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2757 function prototypes and stuff, but not '\xHH' hex character constants.
2758 These don't provoke an error unfortunately, instead are silently treated
2759 as 'x'. The following induces an error, until -std1 is added to get
2760 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2761 array size at least. It's necessary to write '\x00'==0 to get something
2762 that's true only with -std1. */
2763 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2765 int test (int i, double x);
2766 struct s1 {int (*f) (int a);};
2767 struct s2 {int (*f) (double a);};
2768 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2774 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2779 # Don't try gcc -ansi; that turns off useful extensions and
2780 # breaks some systems' header files.
2781 # AIX -qlanglvl=ansi
2782 # Ultrix and OSF/1 -std1
2783 # HP-UX 10.20 and later -Ae
2784 # HP-UX older versions -Aa -D_HPUX_SOURCE
2785 # SVR4 -Xc -D__EXTENSIONS__
2786 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2788 CC
="$ac_save_CC $ac_arg"
2789 rm -f conftest.
$ac_objext
2790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2791 (eval $ac_compile) 2>conftest.er1
2793 grep -v '^ *+' conftest.er1
>conftest.err
2795 cat conftest.err
>&5
2796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797 (exit $ac_status); } &&
2798 { ac_try
='test -z "$ac_c_werror_flag"
2799 || test ! -s conftest.err'
2800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); }; } &&
2805 { ac_try
='test -s conftest.$ac_objext'
2806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); }; }; then
2811 ac_cv_prog_cc_stdc
=$ac_arg
2814 echo "$as_me: failed program was:" >&5
2815 sed 's/^/| /' conftest.
$ac_ext >&5
2818 rm -f conftest.err conftest.
$ac_objext
2820 rm -f conftest.
$ac_ext conftest.
$ac_objext
2825 case "x$ac_cv_prog_cc_stdc" in
2827 echo "$as_me:$LINENO: result: none needed" >&5
2828 echo "${ECHO_T}none needed" >&6 ;;
2830 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2831 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2832 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2835 # Some people use a C++ compiler to compile C. Since we use `exit',
2836 # in C++ we need to declare it. In case someone uses the same compiler
2837 # for both compiling C and C++ we need to have the C++ compiler decide
2838 # the declaration of exit, since it's the most demanding environment.
2839 cat >conftest.
$ac_ext <<_ACEOF
2844 rm -f conftest.
$ac_objext
2845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2846 (eval $ac_compile) 2>conftest.er1
2848 grep -v '^ *+' conftest.er1
>conftest.err
2850 cat conftest.err
>&5
2851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2852 (exit $ac_status); } &&
2853 { ac_try
='test -z "$ac_c_werror_flag"
2854 || test ! -s conftest.err'
2855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2859 (exit $ac_status); }; } &&
2860 { ac_try
='test -s conftest.$ac_objext'
2861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865 (exit $ac_status); }; }; then
2866 for ac_declaration
in \
2868 'extern "C" void std::exit (int) throw (); using std::exit;' \
2869 'extern "C" void std::exit (int); using std::exit;' \
2870 'extern "C" void exit (int) throw ();' \
2871 'extern "C" void exit (int);' \
2874 cat >conftest.
$ac_ext <<_ACEOF
2877 cat confdefs.h
>>conftest.
$ac_ext
2878 cat >>conftest.
$ac_ext <<_ACEOF
2879 /* end confdefs.h. */
2890 rm -f conftest.
$ac_objext
2891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2892 (eval $ac_compile) 2>conftest.er1
2894 grep -v '^ *+' conftest.er1
>conftest.err
2896 cat conftest.err
>&5
2897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898 (exit $ac_status); } &&
2899 { ac_try
='test -z "$ac_c_werror_flag"
2900 || test ! -s conftest.err'
2901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905 (exit $ac_status); }; } &&
2906 { ac_try
='test -s conftest.$ac_objext'
2907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); }; }; then
2914 echo "$as_me: failed program was:" >&5
2915 sed 's/^/| /' conftest.
$ac_ext >&5
2919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2920 cat >conftest.
$ac_ext <<_ACEOF
2923 cat confdefs.h
>>conftest.
$ac_ext
2924 cat >>conftest.
$ac_ext <<_ACEOF
2925 /* end confdefs.h. */
2935 rm -f conftest.
$ac_objext
2936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2937 (eval $ac_compile) 2>conftest.er1
2939 grep -v '^ *+' conftest.er1
>conftest.err
2941 cat conftest.err
>&5
2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943 (exit $ac_status); } &&
2944 { ac_try
='test -z "$ac_c_werror_flag"
2945 || test ! -s conftest.err'
2946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2950 (exit $ac_status); }; } &&
2951 { ac_try
='test -s conftest.$ac_objext'
2952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956 (exit $ac_status); }; }; then
2959 echo "$as_me: failed program was:" >&5
2960 sed 's/^/| /' conftest.
$ac_ext >&5
2963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2966 if test -n "$ac_declaration"; then
2967 echo '#ifdef __cplusplus' >>confdefs.h
2968 echo $ac_declaration >>confdefs.h
2969 echo '#endif' >>confdefs.h
2973 echo "$as_me: failed program was:" >&5
2974 sed 's/^/| /' conftest.
$ac_ext >&5
2977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2979 ac_cpp
='$CPP $CPPFLAGS'
2980 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2981 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2982 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2988 # Add -Wall if we are using GCC.
2989 if test "x$GCC" = "xyes"; then
2990 CFLAGS
="$CFLAGS -Wall"
2993 # Find other programs we need.
2994 if test -n "$ac_tool_prefix"; then
2995 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2996 set dummy
${ac_tool_prefix}as
; ac_word
=$2
2997 echo "$as_me:$LINENO: checking for $ac_word" >&5
2998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2999 if test "${ac_cv_prog_AS+set}" = set; then
3000 echo $ECHO_N "(cached) $ECHO_C" >&6
3002 if test -n "$AS"; then
3003 ac_cv_prog_AS
="$AS" # Let the user override the test.
3005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3009 test -z "$as_dir" && as_dir
=.
3010 for ac_exec_ext
in '' $ac_executable_extensions; do
3011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3012 ac_cv_prog_AS
="${ac_tool_prefix}as"
3013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3022 if test -n "$AS"; then
3023 echo "$as_me:$LINENO: result: $AS" >&5
3024 echo "${ECHO_T}$AS" >&6
3026 echo "$as_me:$LINENO: result: no" >&5
3027 echo "${ECHO_T}no" >&6
3031 if test -z "$ac_cv_prog_AS"; then
3033 # Extract the first word of "as", so it can be a program name with args.
3034 set dummy as
; ac_word
=$2
3035 echo "$as_me:$LINENO: checking for $ac_word" >&5
3036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3037 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3038 echo $ECHO_N "(cached) $ECHO_C" >&6
3040 if test -n "$ac_ct_AS"; then
3041 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3047 test -z "$as_dir" && as_dir
=.
3048 for ac_exec_ext
in '' $ac_executable_extensions; do
3049 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3050 ac_cv_prog_ac_ct_AS
="as"
3051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3059 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3060 if test -n "$ac_ct_AS"; then
3061 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3062 echo "${ECHO_T}$ac_ct_AS" >&6
3064 echo "$as_me:$LINENO: result: no" >&5
3065 echo "${ECHO_T}no" >&6
3073 if test -n "$ac_tool_prefix"; then
3074 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3075 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3076 echo "$as_me:$LINENO: checking for $ac_word" >&5
3077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3078 if test "${ac_cv_prog_AR+set}" = set; then
3079 echo $ECHO_N "(cached) $ECHO_C" >&6
3081 if test -n "$AR"; then
3082 ac_cv_prog_AR
="$AR" # Let the user override the test.
3084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3088 test -z "$as_dir" && as_dir
=.
3089 for ac_exec_ext
in '' $ac_executable_extensions; do
3090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3091 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3101 if test -n "$AR"; then
3102 echo "$as_me:$LINENO: result: $AR" >&5
3103 echo "${ECHO_T}$AR" >&6
3105 echo "$as_me:$LINENO: result: no" >&5
3106 echo "${ECHO_T}no" >&6
3110 if test -z "$ac_cv_prog_AR"; then
3112 # Extract the first word of "ar", so it can be a program name with args.
3113 set dummy
ar; ac_word
=$2
3114 echo "$as_me:$LINENO: checking for $ac_word" >&5
3115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3116 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3117 echo $ECHO_N "(cached) $ECHO_C" >&6
3119 if test -n "$ac_ct_AR"; then
3120 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3126 test -z "$as_dir" && as_dir
=.
3127 for ac_exec_ext
in '' $ac_executable_extensions; do
3128 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3129 ac_cv_prog_ac_ct_AR
="ar"
3130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3138 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3139 if test -n "$ac_ct_AR"; then
3140 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3141 echo "${ECHO_T}$ac_ct_AR" >&6
3143 echo "$as_me:$LINENO: result: no" >&5
3144 echo "${ECHO_T}no" >&6
3152 if test -n "$ac_tool_prefix"; then
3153 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3154 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3155 echo "$as_me:$LINENO: checking for $ac_word" >&5
3156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3157 if test "${ac_cv_prog_RANLIB+set}" = set; then
3158 echo $ECHO_N "(cached) $ECHO_C" >&6
3160 if test -n "$RANLIB"; then
3161 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3167 test -z "$as_dir" && as_dir
=.
3168 for ac_exec_ext
in '' $ac_executable_extensions; do
3169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3170 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3179 RANLIB
=$ac_cv_prog_RANLIB
3180 if test -n "$RANLIB"; then
3181 echo "$as_me:$LINENO: result: $RANLIB" >&5
3182 echo "${ECHO_T}$RANLIB" >&6
3184 echo "$as_me:$LINENO: result: no" >&5
3185 echo "${ECHO_T}no" >&6
3189 if test -z "$ac_cv_prog_RANLIB"; then
3190 ac_ct_RANLIB
=$RANLIB
3191 # Extract the first word of "ranlib", so it can be a program name with args.
3192 set dummy ranlib
; ac_word
=$2
3193 echo "$as_me:$LINENO: checking for $ac_word" >&5
3194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3195 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3196 echo $ECHO_N "(cached) $ECHO_C" >&6
3198 if test -n "$ac_ct_RANLIB"; then
3199 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3205 test -z "$as_dir" && as_dir
=.
3206 for ac_exec_ext
in '' $ac_executable_extensions; do
3207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3208 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3215 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
="ranlib-not-found-in-path-error"
3218 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3219 if test -n "$ac_ct_RANLIB"; then
3220 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3221 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3223 echo "$as_me:$LINENO: result: no" >&5
3224 echo "${ECHO_T}no" >&6
3227 RANLIB
=$ac_ct_RANLIB
3229 RANLIB
="$ac_cv_prog_RANLIB"
3232 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3233 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3234 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3235 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3236 echo $ECHO_N "(cached) $ECHO_C" >&6
3238 cat >conftest.
make <<\_ACEOF
3240 @
echo 'ac_maketemp="$(MAKE)"'
3242 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3243 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3244 if test -n "$ac_maketemp"; then
3245 eval ac_cv_prog_make_
${ac_make}_set
=yes
3247 eval ac_cv_prog_make_
${ac_make}_set
=no
3251 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3252 echo "$as_me:$LINENO: result: yes" >&5
3253 echo "${ECHO_T}yes" >&6
3256 echo "$as_me:$LINENO: result: no" >&5
3257 echo "${ECHO_T}no" >&6
3258 SET_MAKE
="MAKE=${MAKE-make}"
3261 # Find a good install program. We prefer a C program (faster),
3262 # so one script is as good as another. But avoid the broken or
3263 # incompatible versions:
3264 # SysV /etc/install, /usr/sbin/install
3265 # SunOS /usr/etc/install
3266 # IRIX /sbin/install
3268 # AmigaOS /C/install, which installs bootblocks on floppy discs
3269 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3270 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3271 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3272 # OS/2's system install, which has a completely different semantic
3273 # ./install, which can be erroneously created by make from ./install.sh.
3274 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3275 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3276 if test -z "$INSTALL"; then
3277 if test "${ac_cv_path_install+set}" = set; then
3278 echo $ECHO_N "(cached) $ECHO_C" >&6
3280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3284 test -z "$as_dir" && as_dir
=.
3285 # Account for people who put trailing slashes in PATH elements.
3287 .
/ | .
// |
/cC
/* | \
3288 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3289 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3292 # OSF1 and SCO ODT 3.0 have their own names for install.
3293 # Don't use installbsd from OSF since it installs stuff as root
3295 for ac_prog
in ginstall scoinst
install; do
3296 for ac_exec_ext
in '' $ac_executable_extensions; do
3297 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3298 if test $ac_prog = install &&
3299 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3300 # AIX install. It has an incompatible calling convention.
3302 elif test $ac_prog = install &&
3303 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3304 # program-specific install script used by HP pwplus--don't use.
3307 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3319 if test "${ac_cv_path_install+set}" = set; then
3320 INSTALL
=$ac_cv_path_install
3322 # As a last resort, use the slow shell script. We don't cache a
3323 # path for INSTALL within a source directory, because that will
3324 # break other packages using the cache if that directory is
3325 # removed, or if the path is relative.
3326 INSTALL
=$ac_install_sh
3329 echo "$as_me:$LINENO: result: $INSTALL" >&5
3330 echo "${ECHO_T}$INSTALL" >&6
3332 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3333 # It thinks the first close brace ends the variable substitution.
3334 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3336 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3338 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3342 #AC_MSG_NOTICE([====== Starting libtool configuration])
3344 # Check whether --enable-shared or --disable-shared was given.
3345 if test "${enable_shared+set}" = set; then
3346 enableval
="$enable_shared"
3347 p
=${PACKAGE-default}
3349 yes) enable_shared
=yes ;;
3350 no
) enable_shared
=no
;;
3353 # Look at the argument we got. We use all the common list separators.
3354 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3355 for pkg
in $enableval; do
3356 if test "X$pkg" = "X$p"; then
3366 # Check whether --enable-static or --disable-static was given.
3367 if test "${enable_static+set}" = set; then
3368 enableval
="$enable_static"
3369 p
=${PACKAGE-default}
3371 yes) enable_static
=yes ;;
3372 no
) enable_static
=no
;;
3375 # Look at the argument we got. We use all the common list separators.
3376 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3377 for pkg
in $enableval; do
3378 if test "X$pkg" = "X$p"; then
3388 # Check whether --enable-fast-install or --disable-fast-install was given.
3389 if test "${enable_fast_install+set}" = set; then
3390 enableval
="$enable_fast_install"
3391 p
=${PACKAGE-default}
3393 yes) enable_fast_install
=yes ;;
3394 no
) enable_fast_install
=no
;;
3396 enable_fast_install
=no
3397 # Look at the argument we got. We use all the common list separators.
3398 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3399 for pkg
in $enableval; do
3400 if test "X$pkg" = "X$p"; then
3401 enable_fast_install
=yes
3408 enable_fast_install
=yes
3411 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3412 if test "${with_gnu_ld+set}" = set; then
3413 withval
="$with_gnu_ld"
3414 test "$withval" = no || with_gnu_ld
=yes
3419 if test "$GCC" = yes; then
3420 # Check if gcc -print-prog-name=ld gives a path.
3421 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3422 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3425 # gcc leaves a trailing carriage return which upsets mingw
3426 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3428 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3431 # Accept absolute paths.
3432 [\\/]* |
[A-Za-z
]:[\\/]*)
3433 re_direlt
='/[^/][^/]*/\.\./'
3434 # Canonicalize the path of ld
3435 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3436 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3437 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3439 test -z "$LD" && LD
="$ac_prog"
3442 # If it fails, then pretend we aren't using GCC.
3446 # If it is relative, then search for the first ld in PATH.
3450 elif test "$with_gnu_ld" = yes; then
3451 echo "$as_me:$LINENO: checking for GNU ld" >&5
3452 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3454 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3455 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3457 if test "${lt_cv_path_LD+set}" = set; then
3458 echo $ECHO_N "(cached) $ECHO_C" >&6
3460 if test -z "$LD"; then
3461 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3462 for ac_dir
in $PATH; do
3463 test -z "$ac_dir" && ac_dir
=.
3464 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3465 lt_cv_path_LD
="$ac_dir/$ac_prog"
3466 # Check to see if the program is GNU ld. I'd rather use --version,
3467 # but apparently some GNU ld's only accept -v.
3468 # Break only if it was the GNU/non-GNU ld that we prefer.
3469 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3470 test "$with_gnu_ld" != no
&& break
3472 test "$with_gnu_ld" != yes && break
3478 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3483 if test -n "$LD"; then
3484 echo "$as_me:$LINENO: result: $LD" >&5
3485 echo "${ECHO_T}$LD" >&6
3487 echo "$as_me:$LINENO: result: no" >&5
3488 echo "${ECHO_T}no" >&6
3490 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3491 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3492 { (exit 1); exit 1; }; }
3493 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3494 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3495 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3496 echo $ECHO_N "(cached) $ECHO_C" >&6
3498 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3499 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3500 lt_cv_prog_gnu_ld
=yes
3502 lt_cv_prog_gnu_ld
=no
3505 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3506 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3507 with_gnu_ld
=$lt_cv_prog_gnu_ld
3510 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3511 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3512 if test "${lt_cv_ld_reload_flag+set}" = set; then
3513 echo $ECHO_N "(cached) $ECHO_C" >&6
3515 lt_cv_ld_reload_flag
='-r'
3517 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3518 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3519 reload_flag
=$lt_cv_ld_reload_flag
3520 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3522 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3523 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3524 if test "${lt_cv_path_NM+set}" = set; then
3525 echo $ECHO_N "(cached) $ECHO_C" >&6
3527 if test -n "$NM"; then
3528 # Let the user override the test.
3531 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3532 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3533 test -z "$ac_dir" && ac_dir
=.
3534 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3535 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3536 # Check to see if the nm accepts a BSD-compat flag.
3537 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3538 # nm: unknown option "B" ignored
3539 # Tru64's nm complains that /dev/null is an invalid object file
3540 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3541 lt_cv_path_NM
="$tmp_nm -B"
3543 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3544 lt_cv_path_NM
="$tmp_nm -p"
3547 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3548 continue # so that we can try to find one that supports BSD flags
3553 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3558 echo "$as_me:$LINENO: result: $NM" >&5
3559 echo "${ECHO_T}$NM" >&6
3561 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3562 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3564 if test "$LN_S" = "ln -s"; then
3565 echo "$as_me:$LINENO: result: yes" >&5
3566 echo "${ECHO_T}yes" >&6
3568 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3569 echo "${ECHO_T}no, using $LN_S" >&6
3572 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3573 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3574 if test "${lt_cv_deplibs_check_method+set}" = set; then
3575 echo $ECHO_N "(cached) $ECHO_C" >&6
3577 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3578 lt_cv_file_magic_test_file
=
3579 lt_cv_deplibs_check_method
='unknown'
3580 # Need to set the preceding variable on all platforms that support
3581 # interlibrary dependencies.
3582 # 'none' -- dependencies not supported.
3583 # `unknown' -- same as none, but documents that we really don't know.
3584 # 'pass_all' -- all dependencies passed with no checks.
3585 # 'test_compile' -- check by making test program.
3586 # 'file_magic [regex]' -- check by looking for files in library path
3587 # which responds to the $file_magic_cmd with a given egrep regex.
3588 # If you have `file' or equivalent on your system and you're not sure
3589 # whether `pass_all' will *always* work, you probably want this one.
3593 lt_cv_deplibs_check_method
=pass_all
3597 lt_cv_deplibs_check_method
=pass_all
3601 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3602 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3603 lt_cv_file_magic_test_file
=/shlib
/libc.so
3606 cygwin
* | mingw
* |pw32
*)
3607 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3608 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3611 darwin
* | rhapsody
*)
3612 # this will be overwritten by pass_all, but leave it in just in case
3613 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3614 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3616 rhapsody
* | darwin1.012
)
3617 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3620 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3623 lt_cv_deplibs_check_method
=pass_all
3626 freebsd
* | kfreebsd
*-gnu)
3627 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3630 # Not sure whether the presence of OpenBSD here was a mistake.
3631 # Let's accept both of them until this is cleared up.
3632 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3633 lt_cv_file_magic_cmd
=/usr
/bin
/file
3634 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3638 lt_cv_deplibs_check_method
=pass_all
3643 lt_cv_deplibs_check_method
=pass_all
3649 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3650 lt_cv_file_magic_cmd
=/usr
/bin
/file
3651 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3654 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3655 lt_cv_file_magic_cmd
=/usr
/bin
/file
3656 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3664 # this will be overridden with pass_all, but let us keep it just in case
3665 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3669 *-32|
*"-32 ") libmagic
=32-bit;;
3670 *-n32|
*"-n32 ") libmagic
=N32
;;
3671 *-64|
*"-64 ") libmagic
=64-bit;;
3672 *) libmagic
=never-match
;;
3674 # this will be overridden with pass_all, but let us keep it just in case
3675 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3678 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3679 lt_cv_deplibs_check_method
=pass_all
3682 # This must be Linux ELF.
3684 lt_cv_deplibs_check_method
=pass_all
3687 netbsd
* | knetbsd
*-gnu)
3688 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3689 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3691 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3696 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3697 lt_cv_file_magic_cmd
=/usr
/bin
/file
3698 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3701 osf3
* | osf4
* | osf5
*)
3702 # this will be overridden with pass_all, but let us keep it just in case
3703 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3704 lt_cv_file_magic_test_file
=/shlib
/libc.so
3705 lt_cv_deplibs_check_method
=pass_all
3709 lt_cv_deplibs_check_method
=pass_all
3713 lt_cv_deplibs_check_method
=pass_all
3714 lt_cv_file_magic_test_file
=/lib
/libc.so
3717 sysv5uw
[78]* | sysv4
*uw2
*)
3718 lt_cv_deplibs_check_method
=pass_all
3721 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3722 case $host_vendor in
3724 lt_cv_deplibs_check_method
=pass_all
3727 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3728 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3735 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3736 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3737 file_magic_cmd
=$lt_cv_file_magic_cmd
3738 deplibs_check_method
=$lt_cv_deplibs_check_method
3744 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3746 # Only perform the check for file, if the check method requires it
3747 case $deplibs_check_method in
3749 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3750 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3751 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3752 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3753 echo $ECHO_N "(cached) $ECHO_C" >&6
3757 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3760 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3763 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3764 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3765 ac_dummy
="/usr/bin:$PATH"
3766 for ac_dir
in $ac_dummy; do
3767 test -z "$ac_dir" && ac_dir
=.
3768 if test -f $ac_dir/${ac_tool_prefix}file; then
3769 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3770 if test -n "$file_magic_test_file"; then
3771 case $deplibs_check_method in
3773 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3774 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3775 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3776 egrep "$file_magic_regex" > /dev
/null
; then
3781 *** Warning: the command libtool uses to detect shared libraries,
3782 *** $file_magic_cmd, produces output that libtool cannot recognize.
3783 *** The result is that libtool may fail to recognize shared libraries
3784 *** as such. This will affect the creation of libtool libraries that
3785 *** depend on shared libraries, but programs linked with such libtool
3786 *** libraries will work regardless of this problem. Nevertheless, you
3787 *** may want to report the problem to your system manager and/or to
3788 *** bug-libtool@gnu.org
3798 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3803 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3804 if test -n "$MAGIC_CMD"; then
3805 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3806 echo "${ECHO_T}$MAGIC_CMD" >&6
3808 echo "$as_me:$LINENO: result: no" >&5
3809 echo "${ECHO_T}no" >&6
3812 if test -z "$lt_cv_path_MAGIC_CMD"; then
3813 if test -n "$ac_tool_prefix"; then
3814 echo "$as_me:$LINENO: checking for file" >&5
3815 echo $ECHO_N "checking for file... $ECHO_C" >&6
3816 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3817 echo $ECHO_N "(cached) $ECHO_C" >&6
3821 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3824 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3827 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3828 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3829 ac_dummy
="/usr/bin:$PATH"
3830 for ac_dir
in $ac_dummy; do
3831 test -z "$ac_dir" && ac_dir
=.
3832 if test -f $ac_dir/file; then
3833 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3834 if test -n "$file_magic_test_file"; then
3835 case $deplibs_check_method in
3837 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3838 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3839 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3840 egrep "$file_magic_regex" > /dev
/null
; then
3845 *** Warning: the command libtool uses to detect shared libraries,
3846 *** $file_magic_cmd, produces output that libtool cannot recognize.
3847 *** The result is that libtool may fail to recognize shared libraries
3848 *** as such. This will affect the creation of libtool libraries that
3849 *** depend on shared libraries, but programs linked with such libtool
3850 *** libraries will work regardless of this problem. Nevertheless, you
3851 *** may want to report the problem to your system manager and/or to
3852 *** bug-libtool@gnu.org
3862 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3867 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3868 if test -n "$MAGIC_CMD"; then
3869 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3870 echo "${ECHO_T}$MAGIC_CMD" >&6
3872 echo "$as_me:$LINENO: result: no" >&5
3873 echo "${ECHO_T}no" >&6
3885 if test -n "$ac_tool_prefix"; then
3886 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3887 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3888 echo "$as_me:$LINENO: checking for $ac_word" >&5
3889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3890 if test "${ac_cv_prog_RANLIB+set}" = set; then
3891 echo $ECHO_N "(cached) $ECHO_C" >&6
3893 if test -n "$RANLIB"; then
3894 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3900 test -z "$as_dir" && as_dir
=.
3901 for ac_exec_ext
in '' $ac_executable_extensions; do
3902 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3903 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3912 RANLIB
=$ac_cv_prog_RANLIB
3913 if test -n "$RANLIB"; then
3914 echo "$as_me:$LINENO: result: $RANLIB" >&5
3915 echo "${ECHO_T}$RANLIB" >&6
3917 echo "$as_me:$LINENO: result: no" >&5
3918 echo "${ECHO_T}no" >&6
3922 if test -z "$ac_cv_prog_RANLIB"; then
3923 ac_ct_RANLIB
=$RANLIB
3924 # Extract the first word of "ranlib", so it can be a program name with args.
3925 set dummy ranlib
; ac_word
=$2
3926 echo "$as_me:$LINENO: checking for $ac_word" >&5
3927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3928 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3929 echo $ECHO_N "(cached) $ECHO_C" >&6
3931 if test -n "$ac_ct_RANLIB"; then
3932 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3938 test -z "$as_dir" && as_dir
=.
3939 for ac_exec_ext
in '' $ac_executable_extensions; do
3940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3941 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3948 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3951 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3952 if test -n "$ac_ct_RANLIB"; then
3953 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3954 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3956 echo "$as_me:$LINENO: result: no" >&5
3957 echo "${ECHO_T}no" >&6
3960 RANLIB
=$ac_ct_RANLIB
3962 RANLIB
="$ac_cv_prog_RANLIB"
3965 if test -n "$ac_tool_prefix"; then
3966 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3967 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3968 echo "$as_me:$LINENO: checking for $ac_word" >&5
3969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3970 if test "${ac_cv_prog_STRIP+set}" = set; then
3971 echo $ECHO_N "(cached) $ECHO_C" >&6
3973 if test -n "$STRIP"; then
3974 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3980 test -z "$as_dir" && as_dir
=.
3981 for ac_exec_ext
in '' $ac_executable_extensions; do
3982 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3983 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3992 STRIP
=$ac_cv_prog_STRIP
3993 if test -n "$STRIP"; then
3994 echo "$as_me:$LINENO: result: $STRIP" >&5
3995 echo "${ECHO_T}$STRIP" >&6
3997 echo "$as_me:$LINENO: result: no" >&5
3998 echo "${ECHO_T}no" >&6
4002 if test -z "$ac_cv_prog_STRIP"; then
4004 # Extract the first word of "strip", so it can be a program name with args.
4005 set dummy strip
; ac_word
=$2
4006 echo "$as_me:$LINENO: checking for $ac_word" >&5
4007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4008 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4009 echo $ECHO_N "(cached) $ECHO_C" >&6
4011 if test -n "$ac_ct_STRIP"; then
4012 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4018 test -z "$as_dir" && as_dir
=.
4019 for ac_exec_ext
in '' $ac_executable_extensions; do
4020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4021 ac_cv_prog_ac_ct_STRIP
="strip"
4022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4028 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
4031 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4032 if test -n "$ac_ct_STRIP"; then
4033 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4034 echo "${ECHO_T}$ac_ct_STRIP" >&6
4036 echo "$as_me:$LINENO: result: no" >&5
4037 echo "${ECHO_T}no" >&6
4042 STRIP
="$ac_cv_prog_STRIP"
4046 # Check for any special flags to pass to ltconfig.
4047 libtool_flags
="--cache-file=$cache_file"
4048 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4049 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4050 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4051 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4052 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4055 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4056 if test "${enable_libtool_lock+set}" = set; then
4057 enableval
="$enable_libtool_lock"
4060 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4061 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4064 # Check whether --with-pic or --without-pic was given.
4065 if test "${with_pic+set}" = set; then
4071 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4072 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4074 # Some flags need to be propagated to the compiler or linker for good
4078 # Find out which ABI we are using.
4079 echo '#line 4079 "configure"' > conftest.
$ac_ext
4080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4081 (eval $ac_compile) 2>&5
4083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4084 (exit $ac_status); }; then
4085 if test "$lt_cv_prog_gnu_ld" = yes; then
4086 case `/usr/bin/file conftest.$ac_objext` in
4088 LD
="${LD-ld} -melf32bsmip"
4091 LD
="${LD-ld} -melf32bmipn32"
4094 LD
="${LD-ld} -melf64bmip"
4098 case `/usr/bin/file conftest.$ac_objext` in
4115 # Find out which ABI we are using.
4116 echo 'int i;' > conftest.
$ac_ext
4117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4118 (eval $ac_compile) 2>&5
4120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4121 (exit $ac_status); }; then
4122 case "`/usr/bin/file conftest.o`" in
4134 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4135 # Find out which ABI we are using.
4136 echo 'int i;' > conftest.
$ac_ext
4137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4138 (eval $ac_compile) 2>&5
4140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4141 (exit $ac_status); }; then
4142 case "`/usr/bin/file conftest.o`" in
4146 LD
="${LD-ld} -m elf_i386"
4148 ppc64-
*linux
*|powerpc64-
*linux
*)
4149 LD
="${LD-ld} -m elf32ppclinux"
4152 LD
="${LD-ld} -m elf_s390"
4155 LD
="${LD-ld} -m elf32_sparc"
4162 LD
="${LD-ld} -m elf_x86_64"
4164 ppc
*-*linux
*|powerpc
*-*linux
*)
4165 LD
="${LD-ld} -m elf64ppc"
4168 LD
="${LD-ld} -m elf64_s390"
4171 LD
="${LD-ld} -m elf64_sparc"
4181 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4182 SAVE_CFLAGS
="$CFLAGS"
4183 CFLAGS
="$CFLAGS -belf"
4184 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4185 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4186 if test "${lt_cv_cc_needs_belf+set}" = set; then
4187 echo $ECHO_N "(cached) $ECHO_C" >&6
4192 ac_cpp
='$CPP $CPPFLAGS'
4193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4197 if test x
$gcc_no_link = xyes
; then
4198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4200 { (exit 1); exit 1; }; }
4202 cat >conftest.
$ac_ext <<_ACEOF
4205 cat confdefs.h
>>conftest.
$ac_ext
4206 cat >>conftest.
$ac_ext <<_ACEOF
4207 /* end confdefs.h. */
4217 rm -f conftest.
$ac_objext conftest
$ac_exeext
4218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4219 (eval $ac_link) 2>conftest.er1
4221 grep -v '^ *+' conftest.er1
>conftest.err
4223 cat conftest.err
>&5
4224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4225 (exit $ac_status); } &&
4226 { ac_try
='test -z "$ac_c_werror_flag"
4227 || test ! -s conftest.err'
4228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4232 (exit $ac_status); }; } &&
4233 { ac_try
='test -s conftest$ac_exeext'
4234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4238 (exit $ac_status); }; }; then
4239 lt_cv_cc_needs_belf
=yes
4241 echo "$as_me: failed program was:" >&5
4242 sed 's/^/| /' conftest.
$ac_ext >&5
4244 lt_cv_cc_needs_belf
=no
4246 rm -f conftest.err conftest.
$ac_objext \
4247 conftest
$ac_exeext conftest.
$ac_ext
4249 ac_cpp
='$CPP $CPPFLAGS'
4250 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4251 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4252 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4255 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4256 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4257 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4258 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4259 CFLAGS
="$SAVE_CFLAGS"
4267 # Save cache, so that ltconfig can load it
4268 cat >confcache
<<\_ACEOF
4269 # This file is a shell script that caches the results of configure
4270 # tests run on this system so they can be shared between configure
4271 # scripts and configure runs, see configure's option --config-cache.
4272 # It is not useful on other systems. If it contains results you don't
4273 # want to keep, you may remove or edit it.
4275 # config.status only pays attention to the cache file if you give it
4276 # the --recheck option to rerun configure.
4278 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4279 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4284 # The following way of writing the cache mishandles newlines in values,
4285 # but we know of no workaround that is simple, portable, and efficient.
4286 # So, don't put newlines in cache variables' values.
4287 # Ultrix sh set writes to stderr and can't be redirected directly,
4288 # and sets the high bit in the cache file unless we assign to the vars.
4291 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4293 # `set' does not quote correctly, so add quotes (double-quote
4294 # substitution turns \\\\ into \\, and sed turns \\ into \).
4297 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4300 # `set' quotes correctly as required by POSIX, so do not add quotes.
4302 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4309 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4311 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4313 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4314 if test -w $cache_file; then
4315 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4316 cat confcache
>$cache_file
4318 echo "not updating unwritable cache $cache_file"
4323 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4324 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4325 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4326 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4327 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4328 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4329 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4330 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4331 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4332 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4333 echo "$as_me: error: libtool configure failed" >&2;}
4334 { (exit 1); exit 1; }; }
4336 # Reload cache, that may have been modified by ltconfig
4337 if test -r "$cache_file"; then
4338 # Some versions of bash will fail to source /dev/null (special
4339 # files actually), so we avoid doing that.
4340 if test -f "$cache_file"; then
4341 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4342 echo "$as_me: loading cache $cache_file" >&6;}
4344 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4345 *) . .
/$cache_file;;
4349 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4350 echo "$as_me: creating cache $cache_file" >&6;}
4355 # This can be used to rebuild libtool when needed
4356 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4358 # Always use our own libtool.
4359 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4361 # Redirect the config.log output again, so that the ltconfig log is not
4362 # clobbered by the next message.
4363 exec 5>>.
/config.log
4372 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4374 # We need gfortran to compile parts of the library
4375 # We can't use AC_PROG_FC because it expects a fully working gfortran.
4376 #AC_PROG_FC(gfortran)
4378 ac_ext
=${FC_SRCEXT-f}
4379 ac_compile
='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4380 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4381 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
4382 if test -n "$ac_tool_prefix"; then
4383 for ac_prog
in gfortran
4385 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4386 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4387 echo "$as_me:$LINENO: checking for $ac_word" >&5
4388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4389 if test "${ac_cv_prog_FC+set}" = set; then
4390 echo $ECHO_N "(cached) $ECHO_C" >&6
4392 if test -n "$FC"; then
4393 ac_cv_prog_FC
="$FC" # Let the user override the test.
4395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4399 test -z "$as_dir" && as_dir
=.
4400 for ac_exec_ext
in '' $ac_executable_extensions; do
4401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4402 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
4403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4412 if test -n "$FC"; then
4413 echo "$as_me:$LINENO: result: $FC" >&5
4414 echo "${ECHO_T}$FC" >&6
4416 echo "$as_me:$LINENO: result: no" >&5
4417 echo "${ECHO_T}no" >&6
4420 test -n "$FC" && break
4423 if test -z "$FC"; then
4425 for ac_prog
in gfortran
4427 # Extract the first word of "$ac_prog", so it can be a program name with args.
4428 set dummy
$ac_prog; ac_word
=$2
4429 echo "$as_me:$LINENO: checking for $ac_word" >&5
4430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4431 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4432 echo $ECHO_N "(cached) $ECHO_C" >&6
4434 if test -n "$ac_ct_FC"; then
4435 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
4437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4441 test -z "$as_dir" && as_dir
=.
4442 for ac_exec_ext
in '' $ac_executable_extensions; do
4443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4444 ac_cv_prog_ac_ct_FC
="$ac_prog"
4445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4453 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
4454 if test -n "$ac_ct_FC"; then
4455 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4456 echo "${ECHO_T}$ac_ct_FC" >&6
4458 echo "$as_me:$LINENO: result: no" >&5
4459 echo "${ECHO_T}no" >&6
4462 test -n "$ac_ct_FC" && break
4469 # Provide some information about the compiler.
4470 echo "$as_me:4470:" \
4471 "checking for Fortran compiler version" >&5
4472 ac_compiler
=`set X $ac_compile; echo $2`
4473 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4474 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4477 (exit $ac_status); }
4478 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4479 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4482 (exit $ac_status); }
4483 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4484 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4487 (exit $ac_status); }
4490 # If we don't use `.F' as extension, the preprocessor is not run on the
4491 # input file. (Note that this only needs to work for GNU compilers.)
4494 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4495 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4496 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4497 echo $ECHO_N "(cached) $ECHO_C" >&6
4499 cat >conftest.
$ac_ext <<_ACEOF
4507 rm -f conftest.
$ac_objext
4508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4509 (eval $ac_compile) 2>conftest.er1
4511 grep -v '^ *+' conftest.er1
>conftest.err
4513 cat conftest.err
>&5
4514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515 (exit $ac_status); } &&
4516 { ac_try
='test -z "$ac_fc_werror_flag"
4517 || test ! -s conftest.err'
4518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4522 (exit $ac_status); }; } &&
4523 { ac_try
='test -s conftest.$ac_objext'
4524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); }; }; then
4531 echo "$as_me: failed program was:" >&5
4532 sed 's/^/| /' conftest.
$ac_ext >&5
4536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4537 ac_cv_fc_compiler_gnu
=$ac_compiler_gnu
4540 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4541 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4543 ac_test_FFLAGS
=${FCFLAGS+set}
4544 ac_save_FFLAGS
=$FCFLAGS
4546 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4547 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4548 if test "${ac_cv_prog_fc_g+set}" = set; then
4549 echo $ECHO_N "(cached) $ECHO_C" >&6
4552 cat >conftest.
$ac_ext <<_ACEOF
4557 rm -f conftest.
$ac_objext
4558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4559 (eval $ac_compile) 2>conftest.er1
4561 grep -v '^ *+' conftest.er1
>conftest.err
4563 cat conftest.err
>&5
4564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4565 (exit $ac_status); } &&
4566 { ac_try
='test -z "$ac_fc_werror_flag"
4567 || test ! -s conftest.err'
4568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); }; } &&
4573 { ac_try
='test -s conftest.$ac_objext'
4574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578 (exit $ac_status); }; }; then
4581 echo "$as_me: failed program was:" >&5
4582 sed 's/^/| /' conftest.
$ac_ext >&5
4586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4589 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4590 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4591 if test "$ac_test_FFLAGS" = set; then
4592 FCFLAGS
=$ac_save_FFLAGS
4593 elif test $ac_cv_prog_fc_g = yes; then
4594 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
4600 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
4608 ac_cpp
='$CPP $CPPFLAGS'
4609 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4610 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4611 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4613 FCFLAGS
="$FCFLAGS -Wall -fno-repack-arrays -fno-underscoring"
4615 # Check whether --enable-largefile or --disable-largefile was given.
4616 if test "${enable_largefile+set}" = set; then
4617 enableval
="$enable_largefile"
4620 if test "$enable_largefile" != no
; then
4622 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4623 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4624 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4625 echo $ECHO_N "(cached) $ECHO_C" >&6
4627 ac_cv_sys_largefile_CC
=no
4628 if test "$GCC" != yes; then
4631 # IRIX 6.2 and later do not support large files by default,
4632 # so use the C compiler's -n32 option if that helps.
4633 cat >conftest.
$ac_ext <<_ACEOF
4636 cat confdefs.h
>>conftest.
$ac_ext
4637 cat >>conftest.
$ac_ext <<_ACEOF
4638 /* end confdefs.h. */
4639 #include <sys/types.h>
4640 /* Check that off_t can represent 2**63 - 1 correctly.
4641 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4642 since some C++ compilers masquerading as C compilers
4643 incorrectly reject 9223372036854775807. */
4644 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4645 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4646 && LARGE_OFF_T % 2147483647 == 1)
4656 rm -f conftest.
$ac_objext
4657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4658 (eval $ac_compile) 2>conftest.er1
4660 grep -v '^ *+' conftest.er1
>conftest.err
4662 cat conftest.err
>&5
4663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4664 (exit $ac_status); } &&
4665 { ac_try
='test -z "$ac_c_werror_flag"
4666 || test ! -s conftest.err'
4667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4671 (exit $ac_status); }; } &&
4672 { ac_try
='test -s conftest.$ac_objext'
4673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); }; }; then
4680 echo "$as_me: failed program was:" >&5
4681 sed 's/^/| /' conftest.
$ac_ext >&5
4684 rm -f conftest.err conftest.
$ac_objext
4686 rm -f conftest.
$ac_objext
4687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4688 (eval $ac_compile) 2>conftest.er1
4690 grep -v '^ *+' conftest.er1
>conftest.err
4692 cat conftest.err
>&5
4693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4694 (exit $ac_status); } &&
4695 { ac_try
='test -z "$ac_c_werror_flag"
4696 || test ! -s conftest.err'
4697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4701 (exit $ac_status); }; } &&
4702 { ac_try
='test -s conftest.$ac_objext'
4703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707 (exit $ac_status); }; }; then
4708 ac_cv_sys_largefile_CC
=' -n32'; break
4710 echo "$as_me: failed program was:" >&5
4711 sed 's/^/| /' conftest.
$ac_ext >&5
4714 rm -f conftest.err conftest.
$ac_objext
4718 rm -f conftest.
$ac_ext
4721 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4722 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4723 if test "$ac_cv_sys_largefile_CC" != no
; then
4724 CC
=$CC$ac_cv_sys_largefile_CC
4727 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4728 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4729 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4730 echo $ECHO_N "(cached) $ECHO_C" >&6
4733 ac_cv_sys_file_offset_bits
=no
4734 cat >conftest.
$ac_ext <<_ACEOF
4737 cat confdefs.h
>>conftest.
$ac_ext
4738 cat >>conftest.
$ac_ext <<_ACEOF
4739 /* end confdefs.h. */
4740 #include <sys/types.h>
4741 /* Check that off_t can represent 2**63 - 1 correctly.
4742 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4743 since some C++ compilers masquerading as C compilers
4744 incorrectly reject 9223372036854775807. */
4745 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4746 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4747 && LARGE_OFF_T % 2147483647 == 1)
4757 rm -f conftest.
$ac_objext
4758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4759 (eval $ac_compile) 2>conftest.er1
4761 grep -v '^ *+' conftest.er1
>conftest.err
4763 cat conftest.err
>&5
4764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765 (exit $ac_status); } &&
4766 { ac_try
='test -z "$ac_c_werror_flag"
4767 || test ! -s conftest.err'
4768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4772 (exit $ac_status); }; } &&
4773 { ac_try
='test -s conftest.$ac_objext'
4774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4778 (exit $ac_status); }; }; then
4781 echo "$as_me: failed program was:" >&5
4782 sed 's/^/| /' conftest.
$ac_ext >&5
4785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4786 cat >conftest.
$ac_ext <<_ACEOF
4789 cat confdefs.h
>>conftest.
$ac_ext
4790 cat >>conftest.
$ac_ext <<_ACEOF
4791 /* end confdefs.h. */
4792 #define _FILE_OFFSET_BITS 64
4793 #include <sys/types.h>
4794 /* Check that off_t can represent 2**63 - 1 correctly.
4795 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4796 since some C++ compilers masquerading as C compilers
4797 incorrectly reject 9223372036854775807. */
4798 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4799 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4800 && LARGE_OFF_T % 2147483647 == 1)
4810 rm -f conftest.
$ac_objext
4811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4812 (eval $ac_compile) 2>conftest.er1
4814 grep -v '^ *+' conftest.er1
>conftest.err
4816 cat conftest.err
>&5
4817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4818 (exit $ac_status); } &&
4819 { ac_try
='test -z "$ac_c_werror_flag"
4820 || test ! -s conftest.err'
4821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4825 (exit $ac_status); }; } &&
4826 { ac_try
='test -s conftest.$ac_objext'
4827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4831 (exit $ac_status); }; }; then
4832 ac_cv_sys_file_offset_bits
=64; break
4834 echo "$as_me: failed program was:" >&5
4835 sed 's/^/| /' conftest.
$ac_ext >&5
4838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4842 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4843 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4844 if test "$ac_cv_sys_file_offset_bits" != no
; then
4846 cat >>confdefs.h
<<_ACEOF
4847 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4852 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4853 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4854 if test "${ac_cv_sys_large_files+set}" = set; then
4855 echo $ECHO_N "(cached) $ECHO_C" >&6
4858 ac_cv_sys_large_files
=no
4859 cat >conftest.
$ac_ext <<_ACEOF
4862 cat confdefs.h
>>conftest.
$ac_ext
4863 cat >>conftest.
$ac_ext <<_ACEOF
4864 /* end confdefs.h. */
4865 #include <sys/types.h>
4866 /* Check that off_t can represent 2**63 - 1 correctly.
4867 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4868 since some C++ compilers masquerading as C compilers
4869 incorrectly reject 9223372036854775807. */
4870 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4871 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4872 && LARGE_OFF_T % 2147483647 == 1)
4882 rm -f conftest.
$ac_objext
4883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4884 (eval $ac_compile) 2>conftest.er1
4886 grep -v '^ *+' conftest.er1
>conftest.err
4888 cat conftest.err
>&5
4889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890 (exit $ac_status); } &&
4891 { ac_try
='test -z "$ac_c_werror_flag"
4892 || test ! -s conftest.err'
4893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897 (exit $ac_status); }; } &&
4898 { ac_try
='test -s conftest.$ac_objext'
4899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); }; }; then
4906 echo "$as_me: failed program was:" >&5
4907 sed 's/^/| /' conftest.
$ac_ext >&5
4910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4911 cat >conftest.
$ac_ext <<_ACEOF
4914 cat confdefs.h
>>conftest.
$ac_ext
4915 cat >>conftest.
$ac_ext <<_ACEOF
4916 /* end confdefs.h. */
4917 #define _LARGE_FILES 1
4918 #include <sys/types.h>
4919 /* Check that off_t can represent 2**63 - 1 correctly.
4920 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4921 since some C++ compilers masquerading as C compilers
4922 incorrectly reject 9223372036854775807. */
4923 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4924 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4925 && LARGE_OFF_T % 2147483647 == 1)
4935 rm -f conftest.
$ac_objext
4936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4937 (eval $ac_compile) 2>conftest.er1
4939 grep -v '^ *+' conftest.er1
>conftest.err
4941 cat conftest.err
>&5
4942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943 (exit $ac_status); } &&
4944 { ac_try
='test -z "$ac_c_werror_flag"
4945 || test ! -s conftest.err'
4946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4950 (exit $ac_status); }; } &&
4951 { ac_try
='test -s conftest.$ac_objext'
4952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956 (exit $ac_status); }; }; then
4957 ac_cv_sys_large_files
=1; break
4959 echo "$as_me: failed program was:" >&5
4960 sed 's/^/| /' conftest.
$ac_ext >&5
4963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4967 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4968 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4969 if test "$ac_cv_sys_large_files" != no
; then
4971 cat >>confdefs.h
<<_ACEOF
4972 #define _LARGE_FILES $ac_cv_sys_large_files
4979 if test x
$gcc_no_link = xyes
; then
4980 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset
; then
4981 ac_cv_func_mmap_fixed_mapped
=no
4984 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset
; then
4986 ac_cpp
='$CPP $CPPFLAGS'
4987 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4988 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4989 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4990 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4991 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4992 # On Suns, sometimes $CPP names a directory.
4993 if test -n "$CPP" && test -d "$CPP"; then
4996 if test -z "$CPP"; then
4997 if test "${ac_cv_prog_CPP+set}" = set; then
4998 echo $ECHO_N "(cached) $ECHO_C" >&6
5000 # Double quotes because CPP needs to be expanded
5001 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5004 for ac_c_preproc_warn_flag
in '' yes
5006 # Use a header file that comes with gcc, so configuring glibc
5007 # with a fresh cross-compiler works.
5008 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5009 # <limits.h> exists even on freestanding compilers.
5010 # On the NeXT, cc -E runs the code through the compiler's parser,
5011 # not just through cpp. "Syntax error" is here to catch this case.
5012 cat >conftest.
$ac_ext <<_ACEOF
5015 cat confdefs.h
>>conftest.
$ac_ext
5016 cat >>conftest.
$ac_ext <<_ACEOF
5017 /* end confdefs.h. */
5019 # include <limits.h>
5021 # include <assert.h>
5025 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5026 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5028 grep -v '^ *+' conftest.er1
>conftest.err
5030 cat conftest.err
>&5
5031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5032 (exit $ac_status); } >/dev
/null
; then
5033 if test -s conftest.err
; then
5034 ac_cpp_err
=$ac_c_preproc_warn_flag
5035 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5042 if test -z "$ac_cpp_err"; then
5045 echo "$as_me: failed program was:" >&5
5046 sed 's/^/| /' conftest.
$ac_ext >&5
5048 # Broken: fails on valid input.
5051 rm -f conftest.err conftest.
$ac_ext
5053 # OK, works on sane cases. Now check whether non-existent headers
5054 # can be detected and how.
5055 cat >conftest.
$ac_ext <<_ACEOF
5058 cat confdefs.h
>>conftest.
$ac_ext
5059 cat >>conftest.
$ac_ext <<_ACEOF
5060 /* end confdefs.h. */
5061 #include <ac_nonexistent.h>
5063 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5064 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5066 grep -v '^ *+' conftest.er1
>conftest.err
5068 cat conftest.err
>&5
5069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070 (exit $ac_status); } >/dev
/null
; then
5071 if test -s conftest.err
; then
5072 ac_cpp_err
=$ac_c_preproc_warn_flag
5073 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5080 if test -z "$ac_cpp_err"; then
5081 # Broken: success on invalid input.
5084 echo "$as_me: failed program was:" >&5
5085 sed 's/^/| /' conftest.
$ac_ext >&5
5087 # Passes both tests.
5091 rm -f conftest.err conftest.
$ac_ext
5094 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5095 rm -f conftest.err conftest.
$ac_ext
5096 if $ac_preproc_ok; then
5108 echo "$as_me:$LINENO: result: $CPP" >&5
5109 echo "${ECHO_T}$CPP" >&6
5111 for ac_c_preproc_warn_flag
in '' yes
5113 # Use a header file that comes with gcc, so configuring glibc
5114 # with a fresh cross-compiler works.
5115 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5116 # <limits.h> exists even on freestanding compilers.
5117 # On the NeXT, cc -E runs the code through the compiler's parser,
5118 # not just through cpp. "Syntax error" is here to catch this case.
5119 cat >conftest.
$ac_ext <<_ACEOF
5122 cat confdefs.h
>>conftest.
$ac_ext
5123 cat >>conftest.
$ac_ext <<_ACEOF
5124 /* end confdefs.h. */
5126 # include <limits.h>
5128 # include <assert.h>
5132 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5133 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5135 grep -v '^ *+' conftest.er1
>conftest.err
5137 cat conftest.err
>&5
5138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5139 (exit $ac_status); } >/dev
/null
; then
5140 if test -s conftest.err
; then
5141 ac_cpp_err
=$ac_c_preproc_warn_flag
5142 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5149 if test -z "$ac_cpp_err"; then
5152 echo "$as_me: failed program was:" >&5
5153 sed 's/^/| /' conftest.
$ac_ext >&5
5155 # Broken: fails on valid input.
5158 rm -f conftest.err conftest.
$ac_ext
5160 # OK, works on sane cases. Now check whether non-existent headers
5161 # can be detected and how.
5162 cat >conftest.
$ac_ext <<_ACEOF
5165 cat confdefs.h
>>conftest.
$ac_ext
5166 cat >>conftest.
$ac_ext <<_ACEOF
5167 /* end confdefs.h. */
5168 #include <ac_nonexistent.h>
5170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5171 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5173 grep -v '^ *+' conftest.er1
>conftest.err
5175 cat conftest.err
>&5
5176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5177 (exit $ac_status); } >/dev
/null
; then
5178 if test -s conftest.err
; then
5179 ac_cpp_err
=$ac_c_preproc_warn_flag
5180 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5187 if test -z "$ac_cpp_err"; then
5188 # Broken: success on invalid input.
5191 echo "$as_me: failed program was:" >&5
5192 sed 's/^/| /' conftest.
$ac_ext >&5
5194 # Passes both tests.
5198 rm -f conftest.err conftest.
$ac_ext
5201 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5202 rm -f conftest.err conftest.
$ac_ext
5203 if $ac_preproc_ok; then
5206 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5207 See \`config.log' for more details." >&5
5208 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5209 See \`config.log' for more details." >&2;}
5210 { (exit 1); exit 1; }; }
5214 ac_cpp
='$CPP $CPPFLAGS'
5215 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5216 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5217 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5220 echo "$as_me:$LINENO: checking for egrep" >&5
5221 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5222 if test "${ac_cv_prog_egrep+set}" = set; then
5223 echo $ECHO_N "(cached) $ECHO_C" >&6
5225 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5226 then ac_cv_prog_egrep
='grep -E'
5227 else ac_cv_prog_egrep
='egrep'
5230 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5231 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5232 EGREP
=$ac_cv_prog_egrep
5235 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5236 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5237 if test "${ac_cv_header_stdc+set}" = set; then
5238 echo $ECHO_N "(cached) $ECHO_C" >&6
5240 cat >conftest.
$ac_ext <<_ACEOF
5243 cat confdefs.h
>>conftest.
$ac_ext
5244 cat >>conftest.
$ac_ext <<_ACEOF
5245 /* end confdefs.h. */
5259 rm -f conftest.
$ac_objext
5260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5261 (eval $ac_compile) 2>conftest.er1
5263 grep -v '^ *+' conftest.er1
>conftest.err
5265 cat conftest.err
>&5
5266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5267 (exit $ac_status); } &&
5268 { ac_try
='test -z "$ac_c_werror_flag"
5269 || test ! -s conftest.err'
5270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5274 (exit $ac_status); }; } &&
5275 { ac_try
='test -s conftest.$ac_objext'
5276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5280 (exit $ac_status); }; }; then
5281 ac_cv_header_stdc
=yes
5283 echo "$as_me: failed program was:" >&5
5284 sed 's/^/| /' conftest.
$ac_ext >&5
5286 ac_cv_header_stdc
=no
5288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5290 if test $ac_cv_header_stdc = yes; then
5291 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5292 cat >conftest.
$ac_ext <<_ACEOF
5295 cat confdefs.h
>>conftest.
$ac_ext
5296 cat >>conftest.
$ac_ext <<_ACEOF
5297 /* end confdefs.h. */
5301 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5302 $EGREP "memchr" >/dev
/null
2>&1; then
5305 ac_cv_header_stdc
=no
5311 if test $ac_cv_header_stdc = yes; then
5312 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5313 cat >conftest.
$ac_ext <<_ACEOF
5316 cat confdefs.h
>>conftest.
$ac_ext
5317 cat >>conftest.
$ac_ext <<_ACEOF
5318 /* end confdefs.h. */
5322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5323 $EGREP "free" >/dev
/null
2>&1; then
5326 ac_cv_header_stdc
=no
5332 if test $ac_cv_header_stdc = yes; then
5333 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5334 if test "$cross_compiling" = yes; then
5337 cat >conftest.
$ac_ext <<_ACEOF
5340 cat confdefs.h
>>conftest.
$ac_ext
5341 cat >>conftest.
$ac_ext <<_ACEOF
5342 /* end confdefs.h. */
5344 #if ((' ' & 0x0FF) == 0x020)
5345 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5346 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5348 # define ISLOWER(c) \
5349 (('a' <= (c) && (c) <= 'i') \
5350 || ('j' <= (c) && (c) <= 'r') \
5351 || ('s' <= (c) && (c) <= 'z'))
5352 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5355 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5360 for (i = 0; i < 256; i++)
5361 if (XOR (islower (i), ISLOWER (i))
5362 || toupper (i) != TOUPPER (i))
5367 rm -f conftest
$ac_exeext
5368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5369 (eval $ac_link) 2>&5
5371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5372 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5377 (exit $ac_status); }; }; then
5380 echo "$as_me: program exited with status $ac_status" >&5
5381 echo "$as_me: failed program was:" >&5
5382 sed 's/^/| /' conftest.
$ac_ext >&5
5385 ac_cv_header_stdc
=no
5387 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5391 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5392 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5393 if test $ac_cv_header_stdc = yes; then
5395 cat >>confdefs.h
<<\_ACEOF
5396 #define STDC_HEADERS 1
5401 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5411 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5412 inttypes.h stdint.h unistd.h
5414 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5415 echo "$as_me:$LINENO: checking for $ac_header" >&5
5416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5418 echo $ECHO_N "(cached) $ECHO_C" >&6
5420 cat >conftest.
$ac_ext <<_ACEOF
5423 cat confdefs.h
>>conftest.
$ac_ext
5424 cat >>conftest.
$ac_ext <<_ACEOF
5425 /* end confdefs.h. */
5426 $ac_includes_default
5428 #include <$ac_header>
5430 rm -f conftest.
$ac_objext
5431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5432 (eval $ac_compile) 2>conftest.er1
5434 grep -v '^ *+' conftest.er1
>conftest.err
5436 cat conftest.err
>&5
5437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438 (exit $ac_status); } &&
5439 { ac_try
='test -z "$ac_c_werror_flag"
5440 || test ! -s conftest.err'
5441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5445 (exit $ac_status); }; } &&
5446 { ac_try
='test -s conftest.$ac_objext'
5447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5451 (exit $ac_status); }; }; then
5452 eval "$as_ac_Header=yes"
5454 echo "$as_me: failed program was:" >&5
5455 sed 's/^/| /' conftest.
$ac_ext >&5
5457 eval "$as_ac_Header=no"
5459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5464 cat >>confdefs.h
<<_ACEOF
5465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5475 for ac_header
in stdlib.h unistd.h
5477 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5479 echo "$as_me:$LINENO: checking for $ac_header" >&5
5480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5482 echo $ECHO_N "(cached) $ECHO_C" >&6
5484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5487 # Is the header compilable?
5488 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5489 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5490 cat >conftest.
$ac_ext <<_ACEOF
5493 cat confdefs.h
>>conftest.
$ac_ext
5494 cat >>conftest.
$ac_ext <<_ACEOF
5495 /* end confdefs.h. */
5496 $ac_includes_default
5497 #include <$ac_header>
5499 rm -f conftest.
$ac_objext
5500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5501 (eval $ac_compile) 2>conftest.er1
5503 grep -v '^ *+' conftest.er1
>conftest.err
5505 cat conftest.err
>&5
5506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5507 (exit $ac_status); } &&
5508 { ac_try
='test -z "$ac_c_werror_flag"
5509 || test ! -s conftest.err'
5510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514 (exit $ac_status); }; } &&
5515 { ac_try
='test -s conftest.$ac_objext'
5516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5520 (exit $ac_status); }; }; then
5521 ac_header_compiler
=yes
5523 echo "$as_me: failed program was:" >&5
5524 sed 's/^/| /' conftest.
$ac_ext >&5
5526 ac_header_compiler
=no
5528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5529 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5530 echo "${ECHO_T}$ac_header_compiler" >&6
5532 # Is the header present?
5533 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5534 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5535 cat >conftest.
$ac_ext <<_ACEOF
5538 cat confdefs.h
>>conftest.
$ac_ext
5539 cat >>conftest.
$ac_ext <<_ACEOF
5540 /* end confdefs.h. */
5541 #include <$ac_header>
5543 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5544 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5546 grep -v '^ *+' conftest.er1
>conftest.err
5548 cat conftest.err
>&5
5549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5550 (exit $ac_status); } >/dev
/null
; then
5551 if test -s conftest.err
; then
5552 ac_cpp_err
=$ac_c_preproc_warn_flag
5553 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5560 if test -z "$ac_cpp_err"; then
5561 ac_header_preproc
=yes
5563 echo "$as_me: failed program was:" >&5
5564 sed 's/^/| /' conftest.
$ac_ext >&5
5566 ac_header_preproc
=no
5568 rm -f conftest.err conftest.
$ac_ext
5569 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5570 echo "${ECHO_T}$ac_header_preproc" >&6
5572 # So? What about this header?
5573 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5575 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5576 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5578 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5579 ac_header_preproc
=yes
5582 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5583 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5584 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5585 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5586 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5587 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5588 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5589 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5590 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5591 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5592 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5593 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5596 ## ------------------------------------------------------ ##
5597 ## Report this to the GNU Fortran Runtime Library lists. ##
5598 ## ------------------------------------------------------ ##
5601 sed "s/^/$as_me: WARNING: /" >&2
5604 echo "$as_me:$LINENO: checking for $ac_header" >&5
5605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5607 echo $ECHO_N "(cached) $ECHO_C" >&6
5609 eval "$as_ac_Header=\$ac_header_preproc"
5611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5616 cat >>confdefs.h
<<_ACEOF
5617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5625 for ac_func
in getpagesize
5627 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5628 echo "$as_me:$LINENO: checking for $ac_func" >&5
5629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5630 if eval "test \"\${$as_ac_var+set}\" = set"; then
5631 echo $ECHO_N "(cached) $ECHO_C" >&6
5633 if test x
$gcc_no_link = xyes
; then
5634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5636 { (exit 1); exit 1; }; }
5638 cat >conftest.
$ac_ext <<_ACEOF
5641 cat confdefs.h
>>conftest.
$ac_ext
5642 cat >>conftest.
$ac_ext <<_ACEOF
5643 /* end confdefs.h. */
5644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5646 #define $ac_func innocuous_$ac_func
5648 /* System header to define __stub macros and hopefully few prototypes,
5649 which can conflict with char $ac_func (); below.
5650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5651 <limits.h> exists even on freestanding compilers. */
5654 # include <limits.h>
5656 # include <assert.h>
5661 /* Override any gcc2 internal prototype to avoid an error. */
5666 /* We use char because int might match the return type of a gcc2
5667 builtin and then its argument prototype would still apply. */
5669 /* The GNU C library defines this for functions which it implements
5670 to always fail with ENOSYS. Some functions are actually named
5671 something starting with __ and the normal name is an alias. */
5672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5675 char (*f) () = $ac_func;
5684 return f != $ac_func;
5689 rm -f conftest.
$ac_objext conftest
$ac_exeext
5690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5691 (eval $ac_link) 2>conftest.er1
5693 grep -v '^ *+' conftest.er1
>conftest.err
5695 cat conftest.err
>&5
5696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5697 (exit $ac_status); } &&
5698 { ac_try
='test -z "$ac_c_werror_flag"
5699 || test ! -s conftest.err'
5700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5704 (exit $ac_status); }; } &&
5705 { ac_try
='test -s conftest$ac_exeext'
5706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5710 (exit $ac_status); }; }; then
5711 eval "$as_ac_var=yes"
5713 echo "$as_me: failed program was:" >&5
5714 sed 's/^/| /' conftest.
$ac_ext >&5
5716 eval "$as_ac_var=no"
5718 rm -f conftest.err conftest.
$ac_objext \
5719 conftest
$ac_exeext conftest.
$ac_ext
5721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5723 if test `eval echo '${'$as_ac_var'}'` = yes; then
5724 cat >>confdefs.h
<<_ACEOF
5725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5731 echo "$as_me:$LINENO: checking for working mmap" >&5
5732 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5733 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5734 echo $ECHO_N "(cached) $ECHO_C" >&6
5736 if test "$cross_compiling" = yes; then
5737 ac_cv_func_mmap_fixed_mapped
=no
5739 cat >conftest.
$ac_ext <<_ACEOF
5742 cat confdefs.h
>>conftest.
$ac_ext
5743 cat >>conftest.
$ac_ext <<_ACEOF
5744 /* end confdefs.h. */
5745 $ac_includes_default
5746 /* malloc might have been renamed as rpl_malloc. */
5749 /* Thanks to Mike Haertel and Jim Avera for this test.
5750 Here is a matrix of mmap possibilities:
5751 mmap private not fixed
5752 mmap private fixed at somewhere currently unmapped
5753 mmap private fixed at somewhere already mapped
5754 mmap shared not fixed
5755 mmap shared fixed at somewhere currently unmapped
5756 mmap shared fixed at somewhere already mapped
5757 For private mappings, we should verify that changes cannot be read()
5758 back from the file, nor mmap's back from the file at a different
5759 address. (There have been systems where private was not correctly
5760 implemented like the infamous i386 svr4.0, and systems where the
5761 VM page cache was not coherent with the file system buffer cache
5762 like early versions of FreeBSD and possibly contemporary NetBSD.)
5763 For shared mappings, we should conversely verify that changes get
5764 propagated back to all the places they're supposed to be.
5766 Grep wants private fixed already mapped.
5767 The main things grep needs to know about mmap are:
5768 * does it exist and is it safe to write into the mmap'd area
5769 * how to use it (BSD variants) */
5772 #include <sys/mman.h>
5774 #if !STDC_HEADERS && !HAVE_STDLIB_H
5778 /* This mess was copied from the GNU getpagesize.h. */
5779 #if !HAVE_GETPAGESIZE
5780 /* Assume that all systems that can run configure have sys/param.h. */
5781 # if !HAVE_SYS_PARAM_H
5782 # define HAVE_SYS_PARAM_H 1
5785 # ifdef _SC_PAGESIZE
5786 # define getpagesize() sysconf(_SC_PAGESIZE)
5787 # else /* no _SC_PAGESIZE */
5788 # if HAVE_SYS_PARAM_H
5789 # include <sys/param.h>
5790 # ifdef EXEC_PAGESIZE
5791 # define getpagesize() EXEC_PAGESIZE
5792 # else /* no EXEC_PAGESIZE */
5794 # define getpagesize() NBPG * CLSIZE
5797 # endif /* no CLSIZE */
5798 # else /* no NBPG */
5800 # define getpagesize() NBPC
5801 # else /* no NBPC */
5803 # define getpagesize() PAGESIZE
5804 # endif /* PAGESIZE */
5805 # endif /* no NBPC */
5806 # endif /* no NBPG */
5807 # endif /* no EXEC_PAGESIZE */
5808 # else /* no HAVE_SYS_PARAM_H */
5809 # define getpagesize() 8192 /* punt totally */
5810 # endif /* no HAVE_SYS_PARAM_H */
5811 # endif /* no _SC_PAGESIZE */
5813 #endif /* no HAVE_GETPAGESIZE */
5818 char *data, *data2, *data3;
5822 pagesize = getpagesize ();
5824 /* First, make a file with some known garbage in it. */
5825 data = (char *) malloc (pagesize);
5828 for (i = 0; i < pagesize; ++i)
5829 *(data + i) = rand ();
5831 fd = creat ("conftest.mmap", 0600);
5834 if (write (fd, data, pagesize) != pagesize)
5838 /* Next, try to mmap the file at a fixed address which already has
5839 something else allocated at it. If we can, also make sure that
5840 we see the same garbage. */
5841 fd = open ("conftest.mmap", O_RDWR);
5844 data2 = (char *) malloc (2 * pagesize);
5847 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5848 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5849 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5851 for (i = 0; i < pagesize; ++i)
5852 if (*(data + i) != *(data2 + i))
5855 /* Finally, make sure that changes to the mapped area do not
5856 percolate back to the file as seen by read(). (This is a bug on
5857 some variants of i386 svr4.0.) */
5858 for (i = 0; i < pagesize; ++i)
5859 *(data2 + i) = *(data2 + i) + 1;
5860 data3 = (char *) malloc (pagesize);
5863 if (read (fd, data3, pagesize) != pagesize)
5865 for (i = 0; i < pagesize; ++i)
5866 if (*(data + i) != *(data3 + i))
5872 rm -f conftest
$ac_exeext
5873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5874 (eval $ac_link) 2>&5
5876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5882 (exit $ac_status); }; }; then
5883 ac_cv_func_mmap_fixed_mapped
=yes
5885 echo "$as_me: program exited with status $ac_status" >&5
5886 echo "$as_me: failed program was:" >&5
5887 sed 's/^/| /' conftest.
$ac_ext >&5
5890 ac_cv_func_mmap_fixed_mapped
=no
5892 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5895 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5896 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5897 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5899 cat >>confdefs.h
<<\_ACEOF
5907 echo "$as_me:$LINENO: checking for off_t" >&5
5908 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5909 if test "${ac_cv_type_off_t+set}" = set; then
5910 echo $ECHO_N "(cached) $ECHO_C" >&6
5912 cat >conftest.
$ac_ext <<_ACEOF
5915 cat confdefs.h
>>conftest.
$ac_ext
5916 cat >>conftest.
$ac_ext <<_ACEOF
5917 /* end confdefs.h. */
5918 $ac_includes_default
5930 rm -f conftest.
$ac_objext
5931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5932 (eval $ac_compile) 2>conftest.er1
5934 grep -v '^ *+' conftest.er1
>conftest.err
5936 cat conftest.err
>&5
5937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5938 (exit $ac_status); } &&
5939 { ac_try
='test -z "$ac_c_werror_flag"
5940 || test ! -s conftest.err'
5941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5945 (exit $ac_status); }; } &&
5946 { ac_try
='test -s conftest.$ac_objext'
5947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5951 (exit $ac_status); }; }; then
5952 ac_cv_type_off_t
=yes
5954 echo "$as_me: failed program was:" >&5
5955 sed 's/^/| /' conftest.
$ac_ext >&5
5959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5961 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5962 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5963 if test $ac_cv_type_off_t = yes; then
5967 cat >>confdefs.h
<<_ACEOF
5974 # check header files
5975 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5976 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5977 if test "${ac_cv_header_stdc+set}" = set; then
5978 echo $ECHO_N "(cached) $ECHO_C" >&6
5980 cat >conftest.
$ac_ext <<_ACEOF
5983 cat confdefs.h
>>conftest.
$ac_ext
5984 cat >>conftest.
$ac_ext <<_ACEOF
5985 /* end confdefs.h. */
5999 rm -f conftest.
$ac_objext
6000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6001 (eval $ac_compile) 2>conftest.er1
6003 grep -v '^ *+' conftest.er1
>conftest.err
6005 cat conftest.err
>&5
6006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6007 (exit $ac_status); } &&
6008 { ac_try
='test -z "$ac_c_werror_flag"
6009 || test ! -s conftest.err'
6010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6014 (exit $ac_status); }; } &&
6015 { ac_try
='test -s conftest.$ac_objext'
6016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6020 (exit $ac_status); }; }; then
6021 ac_cv_header_stdc
=yes
6023 echo "$as_me: failed program was:" >&5
6024 sed 's/^/| /' conftest.
$ac_ext >&5
6026 ac_cv_header_stdc
=no
6028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6030 if test $ac_cv_header_stdc = yes; then
6031 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6032 cat >conftest.
$ac_ext <<_ACEOF
6035 cat confdefs.h
>>conftest.
$ac_ext
6036 cat >>conftest.
$ac_ext <<_ACEOF
6037 /* end confdefs.h. */
6041 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6042 $EGREP "memchr" >/dev
/null
2>&1; then
6045 ac_cv_header_stdc
=no
6051 if test $ac_cv_header_stdc = yes; then
6052 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6053 cat >conftest.
$ac_ext <<_ACEOF
6056 cat confdefs.h
>>conftest.
$ac_ext
6057 cat >>conftest.
$ac_ext <<_ACEOF
6058 /* end confdefs.h. */
6062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6063 $EGREP "free" >/dev
/null
2>&1; then
6066 ac_cv_header_stdc
=no
6072 if test $ac_cv_header_stdc = yes; then
6073 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6074 if test "$cross_compiling" = yes; then
6077 cat >conftest.
$ac_ext <<_ACEOF
6080 cat confdefs.h
>>conftest.
$ac_ext
6081 cat >>conftest.
$ac_ext <<_ACEOF
6082 /* end confdefs.h. */
6084 #if ((' ' & 0x0FF) == 0x020)
6085 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6086 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6088 # define ISLOWER(c) \
6089 (('a' <= (c) && (c) <= 'i') \
6090 || ('j' <= (c) && (c) <= 'r') \
6091 || ('s' <= (c) && (c) <= 'z'))
6092 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6095 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6100 for (i = 0; i < 256; i++)
6101 if (XOR (islower (i), ISLOWER (i))
6102 || toupper (i) != TOUPPER (i))
6107 rm -f conftest
$ac_exeext
6108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6109 (eval $ac_link) 2>&5
6111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6112 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117 (exit $ac_status); }; }; then
6120 echo "$as_me: program exited with status $ac_status" >&5
6121 echo "$as_me: failed program was:" >&5
6122 sed 's/^/| /' conftest.
$ac_ext >&5
6125 ac_cv_header_stdc
=no
6127 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6131 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6132 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6133 if test $ac_cv_header_stdc = yes; then
6135 cat >>confdefs.h
<<\_ACEOF
6136 #define STDC_HEADERS 1
6147 for ac_header
in stdlib.h stdio.h string.h stddef.h math.h unistd.h
6149 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6150 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6151 echo "$as_me:$LINENO: checking for $ac_header" >&5
6152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6153 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6154 echo $ECHO_N "(cached) $ECHO_C" >&6
6156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6157 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6159 # Is the header compilable?
6160 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6161 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6162 cat >conftest.
$ac_ext <<_ACEOF
6165 cat confdefs.h
>>conftest.
$ac_ext
6166 cat >>conftest.
$ac_ext <<_ACEOF
6167 /* end confdefs.h. */
6168 $ac_includes_default
6169 #include <$ac_header>
6171 rm -f conftest.
$ac_objext
6172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6173 (eval $ac_compile) 2>conftest.er1
6175 grep -v '^ *+' conftest.er1
>conftest.err
6177 cat conftest.err
>&5
6178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179 (exit $ac_status); } &&
6180 { ac_try
='test -z "$ac_c_werror_flag"
6181 || test ! -s conftest.err'
6182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6186 (exit $ac_status); }; } &&
6187 { ac_try
='test -s conftest.$ac_objext'
6188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 (exit $ac_status); }; }; then
6193 ac_header_compiler
=yes
6195 echo "$as_me: failed program was:" >&5
6196 sed 's/^/| /' conftest.
$ac_ext >&5
6198 ac_header_compiler
=no
6200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6201 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6202 echo "${ECHO_T}$ac_header_compiler" >&6
6204 # Is the header present?
6205 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6206 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6207 cat >conftest.
$ac_ext <<_ACEOF
6210 cat confdefs.h
>>conftest.
$ac_ext
6211 cat >>conftest.
$ac_ext <<_ACEOF
6212 /* end confdefs.h. */
6213 #include <$ac_header>
6215 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6216 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6218 grep -v '^ *+' conftest.er1
>conftest.err
6220 cat conftest.err
>&5
6221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6222 (exit $ac_status); } >/dev
/null
; then
6223 if test -s conftest.err
; then
6224 ac_cpp_err
=$ac_c_preproc_warn_flag
6225 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6232 if test -z "$ac_cpp_err"; then
6233 ac_header_preproc
=yes
6235 echo "$as_me: failed program was:" >&5
6236 sed 's/^/| /' conftest.
$ac_ext >&5
6238 ac_header_preproc
=no
6240 rm -f conftest.err conftest.
$ac_ext
6241 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6242 echo "${ECHO_T}$ac_header_preproc" >&6
6244 # So? What about this header?
6245 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6247 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6248 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6249 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6250 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6251 ac_header_preproc
=yes
6254 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6255 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6256 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6257 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6258 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6259 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6260 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6261 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6262 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6263 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6264 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6265 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6268 ## ------------------------------------------------------ ##
6269 ## Report this to the GNU Fortran Runtime Library lists. ##
6270 ## ------------------------------------------------------ ##
6273 sed "s/^/$as_me: WARNING: /" >&2
6276 echo "$as_me:$LINENO: checking for $ac_header" >&5
6277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6278 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6279 echo $ECHO_N "(cached) $ECHO_C" >&6
6281 eval "$as_ac_Header=\$ac_header_preproc"
6283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6284 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6287 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6288 cat >>confdefs.h
<<_ACEOF
6289 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6301 for ac_header
in time.h sys
/params.h sys
/time.h sys
/times.h sys
/resource.h
6303 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6305 echo "$as_me:$LINENO: checking for $ac_header" >&5
6306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6308 echo $ECHO_N "(cached) $ECHO_C" >&6
6310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6311 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6313 # Is the header compilable?
6314 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6315 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6316 cat >conftest.
$ac_ext <<_ACEOF
6319 cat confdefs.h
>>conftest.
$ac_ext
6320 cat >>conftest.
$ac_ext <<_ACEOF
6321 /* end confdefs.h. */
6322 $ac_includes_default
6323 #include <$ac_header>
6325 rm -f conftest.
$ac_objext
6326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6327 (eval $ac_compile) 2>conftest.er1
6329 grep -v '^ *+' conftest.er1
>conftest.err
6331 cat conftest.err
>&5
6332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6333 (exit $ac_status); } &&
6334 { ac_try
='test -z "$ac_c_werror_flag"
6335 || test ! -s conftest.err'
6336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6340 (exit $ac_status); }; } &&
6341 { ac_try
='test -s conftest.$ac_objext'
6342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6346 (exit $ac_status); }; }; then
6347 ac_header_compiler
=yes
6349 echo "$as_me: failed program was:" >&5
6350 sed 's/^/| /' conftest.
$ac_ext >&5
6352 ac_header_compiler
=no
6354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6355 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6356 echo "${ECHO_T}$ac_header_compiler" >&6
6358 # Is the header present?
6359 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6360 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6361 cat >conftest.
$ac_ext <<_ACEOF
6364 cat confdefs.h
>>conftest.
$ac_ext
6365 cat >>conftest.
$ac_ext <<_ACEOF
6366 /* end confdefs.h. */
6367 #include <$ac_header>
6369 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6370 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6372 grep -v '^ *+' conftest.er1
>conftest.err
6374 cat conftest.err
>&5
6375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6376 (exit $ac_status); } >/dev
/null
; then
6377 if test -s conftest.err
; then
6378 ac_cpp_err
=$ac_c_preproc_warn_flag
6379 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6386 if test -z "$ac_cpp_err"; then
6387 ac_header_preproc
=yes
6389 echo "$as_me: failed program was:" >&5
6390 sed 's/^/| /' conftest.
$ac_ext >&5
6392 ac_header_preproc
=no
6394 rm -f conftest.err conftest.
$ac_ext
6395 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6396 echo "${ECHO_T}$ac_header_preproc" >&6
6398 # So? What about this header?
6399 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6401 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6402 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6403 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6404 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6405 ac_header_preproc
=yes
6408 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6409 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6410 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6411 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6412 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6413 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6414 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6415 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6417 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6418 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6419 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6422 ## ------------------------------------------------------ ##
6423 ## Report this to the GNU Fortran Runtime Library lists. ##
6424 ## ------------------------------------------------------ ##
6427 sed "s/^/$as_me: WARNING: /" >&2
6430 echo "$as_me:$LINENO: checking for $ac_header" >&5
6431 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6432 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6433 echo $ECHO_N "(cached) $ECHO_C" >&6
6435 eval "$as_ac_Header=\$ac_header_preproc"
6437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6438 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6441 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6442 cat >>confdefs.h
<<_ACEOF
6443 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6453 for ac_header
in sys
/mman.h sys
/types.h sys
/stat.h
6455 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6457 echo "$as_me:$LINENO: checking for $ac_header" >&5
6458 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6460 echo $ECHO_N "(cached) $ECHO_C" >&6
6462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6463 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6465 # Is the header compilable?
6466 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6467 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6468 cat >conftest.
$ac_ext <<_ACEOF
6471 cat confdefs.h
>>conftest.
$ac_ext
6472 cat >>conftest.
$ac_ext <<_ACEOF
6473 /* end confdefs.h. */
6474 $ac_includes_default
6475 #include <$ac_header>
6477 rm -f conftest.
$ac_objext
6478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6479 (eval $ac_compile) 2>conftest.er1
6481 grep -v '^ *+' conftest.er1
>conftest.err
6483 cat conftest.err
>&5
6484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6485 (exit $ac_status); } &&
6486 { ac_try
='test -z "$ac_c_werror_flag"
6487 || test ! -s conftest.err'
6488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6492 (exit $ac_status); }; } &&
6493 { ac_try
='test -s conftest.$ac_objext'
6494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6498 (exit $ac_status); }; }; then
6499 ac_header_compiler
=yes
6501 echo "$as_me: failed program was:" >&5
6502 sed 's/^/| /' conftest.
$ac_ext >&5
6504 ac_header_compiler
=no
6506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6507 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6508 echo "${ECHO_T}$ac_header_compiler" >&6
6510 # Is the header present?
6511 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6512 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6513 cat >conftest.
$ac_ext <<_ACEOF
6516 cat confdefs.h
>>conftest.
$ac_ext
6517 cat >>conftest.
$ac_ext <<_ACEOF
6518 /* end confdefs.h. */
6519 #include <$ac_header>
6521 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6522 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6524 grep -v '^ *+' conftest.er1
>conftest.err
6526 cat conftest.err
>&5
6527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6528 (exit $ac_status); } >/dev
/null
; then
6529 if test -s conftest.err
; then
6530 ac_cpp_err
=$ac_c_preproc_warn_flag
6531 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6538 if test -z "$ac_cpp_err"; then
6539 ac_header_preproc
=yes
6541 echo "$as_me: failed program was:" >&5
6542 sed 's/^/| /' conftest.
$ac_ext >&5
6544 ac_header_preproc
=no
6546 rm -f conftest.err conftest.
$ac_ext
6547 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6548 echo "${ECHO_T}$ac_header_preproc" >&6
6550 # So? What about this header?
6551 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6553 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6554 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6556 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6557 ac_header_preproc
=yes
6560 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6561 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6562 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6563 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6564 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6565 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6566 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6567 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6568 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6569 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6570 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6571 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6574 ## ------------------------------------------------------ ##
6575 ## Report this to the GNU Fortran Runtime Library lists. ##
6576 ## ------------------------------------------------------ ##
6579 sed "s/^/$as_me: WARNING: /" >&2
6582 echo "$as_me:$LINENO: checking for $ac_header" >&5
6583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6585 echo $ECHO_N "(cached) $ECHO_C" >&6
6587 eval "$as_ac_Header=\$ac_header_preproc"
6589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6590 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6593 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6594 cat >>confdefs.h
<<_ACEOF
6595 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6602 if test "${ac_cv_header_complex_h+set}" = set; then
6603 echo "$as_me:$LINENO: checking for complex.h" >&5
6604 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6605 if test "${ac_cv_header_complex_h+set}" = set; then
6606 echo $ECHO_N "(cached) $ECHO_C" >&6
6608 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6609 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6611 # Is the header compilable?
6612 echo "$as_me:$LINENO: checking complex.h usability" >&5
6613 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6614 cat >conftest.
$ac_ext <<_ACEOF
6617 cat confdefs.h
>>conftest.
$ac_ext
6618 cat >>conftest.
$ac_ext <<_ACEOF
6619 /* end confdefs.h. */
6620 $ac_includes_default
6621 #include <complex.h>
6623 rm -f conftest.
$ac_objext
6624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6625 (eval $ac_compile) 2>conftest.er1
6627 grep -v '^ *+' conftest.er1
>conftest.err
6629 cat conftest.err
>&5
6630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631 (exit $ac_status); } &&
6632 { ac_try
='test -z "$ac_c_werror_flag"
6633 || test ! -s conftest.err'
6634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6638 (exit $ac_status); }; } &&
6639 { ac_try
='test -s conftest.$ac_objext'
6640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6644 (exit $ac_status); }; }; then
6645 ac_header_compiler
=yes
6647 echo "$as_me: failed program was:" >&5
6648 sed 's/^/| /' conftest.
$ac_ext >&5
6650 ac_header_compiler
=no
6652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6653 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6654 echo "${ECHO_T}$ac_header_compiler" >&6
6656 # Is the header present?
6657 echo "$as_me:$LINENO: checking complex.h presence" >&5
6658 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6659 cat >conftest.
$ac_ext <<_ACEOF
6662 cat confdefs.h
>>conftest.
$ac_ext
6663 cat >>conftest.
$ac_ext <<_ACEOF
6664 /* end confdefs.h. */
6665 #include <complex.h>
6667 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6668 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6670 grep -v '^ *+' conftest.er1
>conftest.err
6672 cat conftest.err
>&5
6673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6674 (exit $ac_status); } >/dev
/null
; then
6675 if test -s conftest.err
; then
6676 ac_cpp_err
=$ac_c_preproc_warn_flag
6677 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6684 if test -z "$ac_cpp_err"; then
6685 ac_header_preproc
=yes
6687 echo "$as_me: failed program was:" >&5
6688 sed 's/^/| /' conftest.
$ac_ext >&5
6690 ac_header_preproc
=no
6692 rm -f conftest.err conftest.
$ac_ext
6693 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6694 echo "${ECHO_T}$ac_header_preproc" >&6
6696 # So? What about this header?
6697 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6699 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6700 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6701 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6702 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6703 ac_header_preproc
=yes
6706 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6707 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6708 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6709 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6710 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6711 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6712 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6713 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6714 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6715 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6716 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6717 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6720 ## ------------------------------------------------------ ##
6721 ## Report this to the GNU Fortran Runtime Library lists. ##
6722 ## ------------------------------------------------------ ##
6725 sed "s/^/$as_me: WARNING: /" >&2
6728 echo "$as_me:$LINENO: checking for complex.h" >&5
6729 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6730 if test "${ac_cv_header_complex_h+set}" = set; then
6731 echo $ECHO_N "(cached) $ECHO_C" >&6
6733 ac_cv_header_complex_h
=$ac_header_preproc
6735 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6736 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6739 if test $ac_cv_header_complex_h = yes; then
6741 cat >>confdefs.h
<<\_ACEOF
6742 #define HAVE_COMPLEX_H 1
6749 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6750 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
6751 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6752 echo $ECHO_N "(cached) $ECHO_C" >&6
6754 cat >conftest.
$ac_ext <<_ACEOF
6757 cat confdefs.h
>>conftest.
$ac_ext
6758 cat >>conftest.
$ac_ext <<_ACEOF
6759 /* end confdefs.h. */
6760 $ac_includes_default
6764 static struct stat ac_aggr;
6765 if (ac_aggr.st_blksize)
6771 rm -f conftest.
$ac_objext
6772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6773 (eval $ac_compile) 2>conftest.er1
6775 grep -v '^ *+' conftest.er1
>conftest.err
6777 cat conftest.err
>&5
6778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779 (exit $ac_status); } &&
6780 { ac_try
='test -z "$ac_c_werror_flag"
6781 || test ! -s conftest.err'
6782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6786 (exit $ac_status); }; } &&
6787 { ac_try
='test -s conftest.$ac_objext'
6788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6792 (exit $ac_status); }; }; then
6793 ac_cv_member_struct_stat_st_blksize
=yes
6795 echo "$as_me: failed program was:" >&5
6796 sed 's/^/| /' conftest.
$ac_ext >&5
6798 cat >conftest.
$ac_ext <<_ACEOF
6801 cat confdefs.h
>>conftest.
$ac_ext
6802 cat >>conftest.
$ac_ext <<_ACEOF
6803 /* end confdefs.h. */
6804 $ac_includes_default
6808 static struct stat ac_aggr;
6809 if (sizeof ac_aggr.st_blksize)
6815 rm -f conftest.
$ac_objext
6816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6817 (eval $ac_compile) 2>conftest.er1
6819 grep -v '^ *+' conftest.er1
>conftest.err
6821 cat conftest.err
>&5
6822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6823 (exit $ac_status); } &&
6824 { ac_try
='test -z "$ac_c_werror_flag"
6825 || test ! -s conftest.err'
6826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6830 (exit $ac_status); }; } &&
6831 { ac_try
='test -s conftest.$ac_objext'
6832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6836 (exit $ac_status); }; }; then
6837 ac_cv_member_struct_stat_st_blksize
=yes
6839 echo "$as_me: failed program was:" >&5
6840 sed 's/^/| /' conftest.
$ac_ext >&5
6842 ac_cv_member_struct_stat_st_blksize
=no
6844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6848 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6849 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
6850 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6852 cat >>confdefs.h
<<_ACEOF
6853 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6859 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6860 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
6861 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6862 echo $ECHO_N "(cached) $ECHO_C" >&6
6864 cat >conftest.
$ac_ext <<_ACEOF
6867 cat confdefs.h
>>conftest.
$ac_ext
6868 cat >>conftest.
$ac_ext <<_ACEOF
6869 /* end confdefs.h. */
6870 $ac_includes_default
6874 static struct stat ac_aggr;
6875 if (ac_aggr.st_blocks)
6881 rm -f conftest.
$ac_objext
6882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6883 (eval $ac_compile) 2>conftest.er1
6885 grep -v '^ *+' conftest.er1
>conftest.err
6887 cat conftest.err
>&5
6888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6889 (exit $ac_status); } &&
6890 { ac_try
='test -z "$ac_c_werror_flag"
6891 || test ! -s conftest.err'
6892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); }; } &&
6897 { ac_try
='test -s conftest.$ac_objext'
6898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6902 (exit $ac_status); }; }; then
6903 ac_cv_member_struct_stat_st_blocks
=yes
6905 echo "$as_me: failed program was:" >&5
6906 sed 's/^/| /' conftest.
$ac_ext >&5
6908 cat >conftest.
$ac_ext <<_ACEOF
6911 cat confdefs.h
>>conftest.
$ac_ext
6912 cat >>conftest.
$ac_ext <<_ACEOF
6913 /* end confdefs.h. */
6914 $ac_includes_default
6918 static struct stat ac_aggr;
6919 if (sizeof ac_aggr.st_blocks)
6925 rm -f conftest.
$ac_objext
6926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6927 (eval $ac_compile) 2>conftest.er1
6929 grep -v '^ *+' conftest.er1
>conftest.err
6931 cat conftest.err
>&5
6932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6933 (exit $ac_status); } &&
6934 { ac_try
='test -z "$ac_c_werror_flag"
6935 || test ! -s conftest.err'
6936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6940 (exit $ac_status); }; } &&
6941 { ac_try
='test -s conftest.$ac_objext'
6942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6946 (exit $ac_status); }; }; then
6947 ac_cv_member_struct_stat_st_blocks
=yes
6949 echo "$as_me: failed program was:" >&5
6950 sed 's/^/| /' conftest.
$ac_ext >&5
6952 ac_cv_member_struct_stat_st_blocks
=no
6954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6958 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6959 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
6960 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6962 cat >>confdefs.h
<<_ACEOF
6963 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6969 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6970 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
6971 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6972 echo $ECHO_N "(cached) $ECHO_C" >&6
6974 cat >conftest.
$ac_ext <<_ACEOF
6977 cat confdefs.h
>>conftest.
$ac_ext
6978 cat >>conftest.
$ac_ext <<_ACEOF
6979 /* end confdefs.h. */
6980 $ac_includes_default
6984 static struct stat ac_aggr;
6985 if (ac_aggr.st_rdev)
6991 rm -f conftest.
$ac_objext
6992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6993 (eval $ac_compile) 2>conftest.er1
6995 grep -v '^ *+' conftest.er1
>conftest.err
6997 cat conftest.err
>&5
6998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6999 (exit $ac_status); } &&
7000 { ac_try
='test -z "$ac_c_werror_flag"
7001 || test ! -s conftest.err'
7002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7006 (exit $ac_status); }; } &&
7007 { ac_try
='test -s conftest.$ac_objext'
7008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7012 (exit $ac_status); }; }; then
7013 ac_cv_member_struct_stat_st_rdev
=yes
7015 echo "$as_me: failed program was:" >&5
7016 sed 's/^/| /' conftest.
$ac_ext >&5
7018 cat >conftest.
$ac_ext <<_ACEOF
7021 cat confdefs.h
>>conftest.
$ac_ext
7022 cat >>conftest.
$ac_ext <<_ACEOF
7023 /* end confdefs.h. */
7024 $ac_includes_default
7028 static struct stat ac_aggr;
7029 if (sizeof ac_aggr.st_rdev)
7035 rm -f conftest.
$ac_objext
7036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7037 (eval $ac_compile) 2>conftest.er1
7039 grep -v '^ *+' conftest.er1
>conftest.err
7041 cat conftest.err
>&5
7042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7043 (exit $ac_status); } &&
7044 { ac_try
='test -z "$ac_c_werror_flag"
7045 || test ! -s conftest.err'
7046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7050 (exit $ac_status); }; } &&
7051 { ac_try
='test -s conftest.$ac_objext'
7052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7056 (exit $ac_status); }; }; then
7057 ac_cv_member_struct_stat_st_rdev
=yes
7059 echo "$as_me: failed program was:" >&5
7060 sed 's/^/| /' conftest.
$ac_ext >&5
7062 ac_cv_member_struct_stat_st_rdev
=no
7064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7068 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
7069 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
7070 if test $ac_cv_member_struct_stat_st_rdev = yes; then
7072 cat >>confdefs.h
<<_ACEOF
7073 #define HAVE_STRUCT_STAT_ST_RDEV 1
7080 # Check for complex math functions
7081 echo "$as_me:$LINENO: checking for csin in -lm" >&5
7082 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
7083 if test "${ac_cv_lib_m_csin+set}" = set; then
7084 echo $ECHO_N "(cached) $ECHO_C" >&6
7086 ac_check_lib_save_LIBS
=$LIBS
7088 if test x
$gcc_no_link = xyes
; then
7089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7091 { (exit 1); exit 1; }; }
7093 cat >conftest.
$ac_ext <<_ACEOF
7096 cat confdefs.h
>>conftest.
$ac_ext
7097 cat >>conftest.
$ac_ext <<_ACEOF
7098 /* end confdefs.h. */
7100 /* Override any gcc2 internal prototype to avoid an error. */
7104 /* We use char because int might match the return type of a gcc2
7105 builtin and then its argument prototype would still apply. */
7115 rm -f conftest.
$ac_objext conftest
$ac_exeext
7116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7117 (eval $ac_link) 2>conftest.er1
7119 grep -v '^ *+' conftest.er1
>conftest.err
7121 cat conftest.err
>&5
7122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123 (exit $ac_status); } &&
7124 { ac_try
='test -z "$ac_c_werror_flag"
7125 || test ! -s conftest.err'
7126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7130 (exit $ac_status); }; } &&
7131 { ac_try
='test -s conftest$ac_exeext'
7132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136 (exit $ac_status); }; }; then
7137 ac_cv_lib_m_csin
=yes
7139 echo "$as_me: failed program was:" >&5
7140 sed 's/^/| /' conftest.
$ac_ext >&5
7144 rm -f conftest.err conftest.
$ac_objext \
7145 conftest
$ac_exeext conftest.
$ac_ext
7146 LIBS
=$ac_check_lib_save_LIBS
7148 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
7149 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
7150 if test $ac_cv_lib_m_csin = yes; then
7157 # Check for library functions.
7163 for ac_func
in getrusage
times mkstemp strtof snprintf
7165 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7166 echo "$as_me:$LINENO: checking for $ac_func" >&5
7167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7168 if eval "test \"\${$as_ac_var+set}\" = set"; then
7169 echo $ECHO_N "(cached) $ECHO_C" >&6
7171 if test x
$gcc_no_link = xyes
; then
7172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7174 { (exit 1); exit 1; }; }
7176 cat >conftest.
$ac_ext <<_ACEOF
7179 cat confdefs.h
>>conftest.
$ac_ext
7180 cat >>conftest.
$ac_ext <<_ACEOF
7181 /* end confdefs.h. */
7182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7184 #define $ac_func innocuous_$ac_func
7186 /* System header to define __stub macros and hopefully few prototypes,
7187 which can conflict with char $ac_func (); below.
7188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7189 <limits.h> exists even on freestanding compilers. */
7192 # include <limits.h>
7194 # include <assert.h>
7199 /* Override any gcc2 internal prototype to avoid an error. */
7204 /* We use char because int might match the return type of a gcc2
7205 builtin and then its argument prototype would still apply. */
7207 /* The GNU C library defines this for functions which it implements
7208 to always fail with ENOSYS. Some functions are actually named
7209 something starting with __ and the normal name is an alias. */
7210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7213 char (*f) () = $ac_func;
7222 return f != $ac_func;
7227 rm -f conftest.
$ac_objext conftest
$ac_exeext
7228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7229 (eval $ac_link) 2>conftest.er1
7231 grep -v '^ *+' conftest.er1
>conftest.err
7233 cat conftest.err
>&5
7234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7235 (exit $ac_status); } &&
7236 { ac_try
='test -z "$ac_c_werror_flag"
7237 || test ! -s conftest.err'
7238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7242 (exit $ac_status); }; } &&
7243 { ac_try
='test -s conftest$ac_exeext'
7244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7248 (exit $ac_status); }; }; then
7249 eval "$as_ac_var=yes"
7251 echo "$as_me: failed program was:" >&5
7252 sed 's/^/| /' conftest.
$ac_ext >&5
7254 eval "$as_ac_var=no"
7256 rm -f conftest.err conftest.
$ac_objext \
7257 conftest
$ac_exeext conftest.
$ac_ext
7259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7261 if test `eval echo '${'$as_ac_var'}'` = yes; then
7262 cat >>confdefs.h
<<_ACEOF
7263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7270 # Check libc for getgid, getpid, getuid
7271 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
7272 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
7273 if test "${ac_cv_lib_c_getgid+set}" = set; then
7274 echo $ECHO_N "(cached) $ECHO_C" >&6
7276 ac_check_lib_save_LIBS
=$LIBS
7278 if test x
$gcc_no_link = xyes
; then
7279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7281 { (exit 1); exit 1; }; }
7283 cat >conftest.
$ac_ext <<_ACEOF
7286 cat confdefs.h
>>conftest.
$ac_ext
7287 cat >>conftest.
$ac_ext <<_ACEOF
7288 /* end confdefs.h. */
7290 /* Override any gcc2 internal prototype to avoid an error. */
7294 /* We use char because int might match the return type of a gcc2
7295 builtin and then its argument prototype would still apply. */
7305 rm -f conftest.
$ac_objext conftest
$ac_exeext
7306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7307 (eval $ac_link) 2>conftest.er1
7309 grep -v '^ *+' conftest.er1
>conftest.err
7311 cat conftest.err
>&5
7312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7313 (exit $ac_status); } &&
7314 { ac_try
='test -z "$ac_c_werror_flag"
7315 || test ! -s conftest.err'
7316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320 (exit $ac_status); }; } &&
7321 { ac_try
='test -s conftest$ac_exeext'
7322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7326 (exit $ac_status); }; }; then
7327 ac_cv_lib_c_getgid
=yes
7329 echo "$as_me: failed program was:" >&5
7330 sed 's/^/| /' conftest.
$ac_ext >&5
7332 ac_cv_lib_c_getgid
=no
7334 rm -f conftest.err conftest.
$ac_objext \
7335 conftest
$ac_exeext conftest.
$ac_ext
7336 LIBS
=$ac_check_lib_save_LIBS
7338 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
7339 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
7340 if test $ac_cv_lib_c_getgid = yes; then
7342 cat >>confdefs.h
<<\_ACEOF
7343 #define HAVE_GETGID 1
7348 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
7349 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
7350 if test "${ac_cv_lib_c_getpid+set}" = set; then
7351 echo $ECHO_N "(cached) $ECHO_C" >&6
7353 ac_check_lib_save_LIBS
=$LIBS
7355 if test x
$gcc_no_link = xyes
; then
7356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7358 { (exit 1); exit 1; }; }
7360 cat >conftest.
$ac_ext <<_ACEOF
7363 cat confdefs.h
>>conftest.
$ac_ext
7364 cat >>conftest.
$ac_ext <<_ACEOF
7365 /* end confdefs.h. */
7367 /* Override any gcc2 internal prototype to avoid an error. */
7371 /* We use char because int might match the return type of a gcc2
7372 builtin and then its argument prototype would still apply. */
7382 rm -f conftest.
$ac_objext conftest
$ac_exeext
7383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7384 (eval $ac_link) 2>conftest.er1
7386 grep -v '^ *+' conftest.er1
>conftest.err
7388 cat conftest.err
>&5
7389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7390 (exit $ac_status); } &&
7391 { ac_try
='test -z "$ac_c_werror_flag"
7392 || test ! -s conftest.err'
7393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7397 (exit $ac_status); }; } &&
7398 { ac_try
='test -s conftest$ac_exeext'
7399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7403 (exit $ac_status); }; }; then
7404 ac_cv_lib_c_getpid
=yes
7406 echo "$as_me: failed program was:" >&5
7407 sed 's/^/| /' conftest.
$ac_ext >&5
7409 ac_cv_lib_c_getpid
=no
7411 rm -f conftest.err conftest.
$ac_objext \
7412 conftest
$ac_exeext conftest.
$ac_ext
7413 LIBS
=$ac_check_lib_save_LIBS
7415 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
7416 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
7417 if test $ac_cv_lib_c_getpid = yes; then
7419 cat >>confdefs.h
<<\_ACEOF
7420 #define HAVE_GETPID 1
7425 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
7426 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
7427 if test "${ac_cv_lib_c_getuid+set}" = set; then
7428 echo $ECHO_N "(cached) $ECHO_C" >&6
7430 ac_check_lib_save_LIBS
=$LIBS
7432 if test x
$gcc_no_link = xyes
; then
7433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7435 { (exit 1); exit 1; }; }
7437 cat >conftest.
$ac_ext <<_ACEOF
7440 cat confdefs.h
>>conftest.
$ac_ext
7441 cat >>conftest.
$ac_ext <<_ACEOF
7442 /* end confdefs.h. */
7444 /* Override any gcc2 internal prototype to avoid an error. */
7448 /* We use char because int might match the return type of a gcc2
7449 builtin and then its argument prototype would still apply. */
7459 rm -f conftest.
$ac_objext conftest
$ac_exeext
7460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7461 (eval $ac_link) 2>conftest.er1
7463 grep -v '^ *+' conftest.er1
>conftest.err
7465 cat conftest.err
>&5
7466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7467 (exit $ac_status); } &&
7468 { ac_try
='test -z "$ac_c_werror_flag"
7469 || test ! -s conftest.err'
7470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7474 (exit $ac_status); }; } &&
7475 { ac_try
='test -s conftest$ac_exeext'
7476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480 (exit $ac_status); }; }; then
7481 ac_cv_lib_c_getuid
=yes
7483 echo "$as_me: failed program was:" >&5
7484 sed 's/^/| /' conftest.
$ac_ext >&5
7486 ac_cv_lib_c_getuid
=no
7488 rm -f conftest.err conftest.
$ac_objext \
7489 conftest
$ac_exeext conftest.
$ac_ext
7490 LIBS
=$ac_check_lib_save_LIBS
7492 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
7493 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
7494 if test $ac_cv_lib_c_getuid = yes; then
7496 cat >>confdefs.h
<<\_ACEOF
7497 #define HAVE_GETUID 1
7503 # Check for C99 (and other IEEE) math functions
7504 # ??? This list seems awful long. Is there a better way to test for these?
7505 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
7506 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
7507 if test "${ac_cv_lib_m_acosf+set}" = set; then
7508 echo $ECHO_N "(cached) $ECHO_C" >&6
7510 ac_check_lib_save_LIBS
=$LIBS
7512 if test x
$gcc_no_link = xyes
; then
7513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7515 { (exit 1); exit 1; }; }
7517 cat >conftest.
$ac_ext <<_ACEOF
7520 cat confdefs.h
>>conftest.
$ac_ext
7521 cat >>conftest.
$ac_ext <<_ACEOF
7522 /* end confdefs.h. */
7524 /* Override any gcc2 internal prototype to avoid an error. */
7528 /* We use char because int might match the return type of a gcc2
7529 builtin and then its argument prototype would still apply. */
7539 rm -f conftest.
$ac_objext conftest
$ac_exeext
7540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7541 (eval $ac_link) 2>conftest.er1
7543 grep -v '^ *+' conftest.er1
>conftest.err
7545 cat conftest.err
>&5
7546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7547 (exit $ac_status); } &&
7548 { ac_try
='test -z "$ac_c_werror_flag"
7549 || test ! -s conftest.err'
7550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7554 (exit $ac_status); }; } &&
7555 { ac_try
='test -s conftest$ac_exeext'
7556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7560 (exit $ac_status); }; }; then
7561 ac_cv_lib_m_acosf
=yes
7563 echo "$as_me: failed program was:" >&5
7564 sed 's/^/| /' conftest.
$ac_ext >&5
7566 ac_cv_lib_m_acosf
=no
7568 rm -f conftest.err conftest.
$ac_objext \
7569 conftest
$ac_exeext conftest.
$ac_ext
7570 LIBS
=$ac_check_lib_save_LIBS
7572 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
7573 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
7574 if test $ac_cv_lib_m_acosf = yes; then
7576 cat >>confdefs.h
<<\_ACEOF
7577 #define HAVE_ACOSF 1
7582 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
7583 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
7584 if test "${ac_cv_lib_m_asinf+set}" = set; then
7585 echo $ECHO_N "(cached) $ECHO_C" >&6
7587 ac_check_lib_save_LIBS
=$LIBS
7589 if test x
$gcc_no_link = xyes
; then
7590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7592 { (exit 1); exit 1; }; }
7594 cat >conftest.
$ac_ext <<_ACEOF
7597 cat confdefs.h
>>conftest.
$ac_ext
7598 cat >>conftest.
$ac_ext <<_ACEOF
7599 /* end confdefs.h. */
7601 /* Override any gcc2 internal prototype to avoid an error. */
7605 /* We use char because int might match the return type of a gcc2
7606 builtin and then its argument prototype would still apply. */
7616 rm -f conftest.
$ac_objext conftest
$ac_exeext
7617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7618 (eval $ac_link) 2>conftest.er1
7620 grep -v '^ *+' conftest.er1
>conftest.err
7622 cat conftest.err
>&5
7623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7624 (exit $ac_status); } &&
7625 { ac_try
='test -z "$ac_c_werror_flag"
7626 || test ! -s conftest.err'
7627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7631 (exit $ac_status); }; } &&
7632 { ac_try
='test -s conftest$ac_exeext'
7633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7637 (exit $ac_status); }; }; then
7638 ac_cv_lib_m_asinf
=yes
7640 echo "$as_me: failed program was:" >&5
7641 sed 's/^/| /' conftest.
$ac_ext >&5
7643 ac_cv_lib_m_asinf
=no
7645 rm -f conftest.err conftest.
$ac_objext \
7646 conftest
$ac_exeext conftest.
$ac_ext
7647 LIBS
=$ac_check_lib_save_LIBS
7649 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
7650 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
7651 if test $ac_cv_lib_m_asinf = yes; then
7653 cat >>confdefs.h
<<\_ACEOF
7654 #define HAVE_ASINF 1
7659 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
7660 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
7661 if test "${ac_cv_lib_m_atan2f+set}" = set; then
7662 echo $ECHO_N "(cached) $ECHO_C" >&6
7664 ac_check_lib_save_LIBS
=$LIBS
7666 if test x
$gcc_no_link = xyes
; then
7667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7669 { (exit 1); exit 1; }; }
7671 cat >conftest.
$ac_ext <<_ACEOF
7674 cat confdefs.h
>>conftest.
$ac_ext
7675 cat >>conftest.
$ac_ext <<_ACEOF
7676 /* end confdefs.h. */
7678 /* Override any gcc2 internal prototype to avoid an error. */
7682 /* We use char because int might match the return type of a gcc2
7683 builtin and then its argument prototype would still apply. */
7693 rm -f conftest.
$ac_objext conftest
$ac_exeext
7694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7695 (eval $ac_link) 2>conftest.er1
7697 grep -v '^ *+' conftest.er1
>conftest.err
7699 cat conftest.err
>&5
7700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7701 (exit $ac_status); } &&
7702 { ac_try
='test -z "$ac_c_werror_flag"
7703 || test ! -s conftest.err'
7704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7708 (exit $ac_status); }; } &&
7709 { ac_try
='test -s conftest$ac_exeext'
7710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7714 (exit $ac_status); }; }; then
7715 ac_cv_lib_m_atan2f
=yes
7717 echo "$as_me: failed program was:" >&5
7718 sed 's/^/| /' conftest.
$ac_ext >&5
7720 ac_cv_lib_m_atan2f
=no
7722 rm -f conftest.err conftest.
$ac_objext \
7723 conftest
$ac_exeext conftest.
$ac_ext
7724 LIBS
=$ac_check_lib_save_LIBS
7726 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
7727 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
7728 if test $ac_cv_lib_m_atan2f = yes; then
7730 cat >>confdefs.h
<<\_ACEOF
7731 #define HAVE_ATAN2F 1
7736 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
7737 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
7738 if test "${ac_cv_lib_m_atanf+set}" = set; then
7739 echo $ECHO_N "(cached) $ECHO_C" >&6
7741 ac_check_lib_save_LIBS
=$LIBS
7743 if test x
$gcc_no_link = xyes
; then
7744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7746 { (exit 1); exit 1; }; }
7748 cat >conftest.
$ac_ext <<_ACEOF
7751 cat confdefs.h
>>conftest.
$ac_ext
7752 cat >>conftest.
$ac_ext <<_ACEOF
7753 /* end confdefs.h. */
7755 /* Override any gcc2 internal prototype to avoid an error. */
7759 /* We use char because int might match the return type of a gcc2
7760 builtin and then its argument prototype would still apply. */
7770 rm -f conftest.
$ac_objext conftest
$ac_exeext
7771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7772 (eval $ac_link) 2>conftest.er1
7774 grep -v '^ *+' conftest.er1
>conftest.err
7776 cat conftest.err
>&5
7777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7778 (exit $ac_status); } &&
7779 { ac_try
='test -z "$ac_c_werror_flag"
7780 || test ! -s conftest.err'
7781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7785 (exit $ac_status); }; } &&
7786 { ac_try
='test -s conftest$ac_exeext'
7787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7791 (exit $ac_status); }; }; then
7792 ac_cv_lib_m_atanf
=yes
7794 echo "$as_me: failed program was:" >&5
7795 sed 's/^/| /' conftest.
$ac_ext >&5
7797 ac_cv_lib_m_atanf
=no
7799 rm -f conftest.err conftest.
$ac_objext \
7800 conftest
$ac_exeext conftest.
$ac_ext
7801 LIBS
=$ac_check_lib_save_LIBS
7803 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
7804 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
7805 if test $ac_cv_lib_m_atanf = yes; then
7807 cat >>confdefs.h
<<\_ACEOF
7808 #define HAVE_ATANF 1
7813 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
7814 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
7815 if test "${ac_cv_lib_m_ceilf+set}" = set; then
7816 echo $ECHO_N "(cached) $ECHO_C" >&6
7818 ac_check_lib_save_LIBS
=$LIBS
7820 if test x
$gcc_no_link = xyes
; then
7821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7823 { (exit 1); exit 1; }; }
7825 cat >conftest.
$ac_ext <<_ACEOF
7828 cat confdefs.h
>>conftest.
$ac_ext
7829 cat >>conftest.
$ac_ext <<_ACEOF
7830 /* end confdefs.h. */
7832 /* Override any gcc2 internal prototype to avoid an error. */
7836 /* We use char because int might match the return type of a gcc2
7837 builtin and then its argument prototype would still apply. */
7847 rm -f conftest.
$ac_objext conftest
$ac_exeext
7848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7849 (eval $ac_link) 2>conftest.er1
7851 grep -v '^ *+' conftest.er1
>conftest.err
7853 cat conftest.err
>&5
7854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7855 (exit $ac_status); } &&
7856 { ac_try
='test -z "$ac_c_werror_flag"
7857 || test ! -s conftest.err'
7858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7862 (exit $ac_status); }; } &&
7863 { ac_try
='test -s conftest$ac_exeext'
7864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7868 (exit $ac_status); }; }; then
7869 ac_cv_lib_m_ceilf
=yes
7871 echo "$as_me: failed program was:" >&5
7872 sed 's/^/| /' conftest.
$ac_ext >&5
7874 ac_cv_lib_m_ceilf
=no
7876 rm -f conftest.err conftest.
$ac_objext \
7877 conftest
$ac_exeext conftest.
$ac_ext
7878 LIBS
=$ac_check_lib_save_LIBS
7880 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
7881 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
7882 if test $ac_cv_lib_m_ceilf = yes; then
7884 cat >>confdefs.h
<<\_ACEOF
7885 #define HAVE_CEILF 1
7890 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
7891 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
7892 if test "${ac_cv_lib_m_copysignf+set}" = set; then
7893 echo $ECHO_N "(cached) $ECHO_C" >&6
7895 ac_check_lib_save_LIBS
=$LIBS
7897 if test x
$gcc_no_link = xyes
; then
7898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7900 { (exit 1); exit 1; }; }
7902 cat >conftest.
$ac_ext <<_ACEOF
7905 cat confdefs.h
>>conftest.
$ac_ext
7906 cat >>conftest.
$ac_ext <<_ACEOF
7907 /* end confdefs.h. */
7909 /* Override any gcc2 internal prototype to avoid an error. */
7913 /* We use char because int might match the return type of a gcc2
7914 builtin and then its argument prototype would still apply. */
7924 rm -f conftest.
$ac_objext conftest
$ac_exeext
7925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7926 (eval $ac_link) 2>conftest.er1
7928 grep -v '^ *+' conftest.er1
>conftest.err
7930 cat conftest.err
>&5
7931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7932 (exit $ac_status); } &&
7933 { ac_try
='test -z "$ac_c_werror_flag"
7934 || test ! -s conftest.err'
7935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7939 (exit $ac_status); }; } &&
7940 { ac_try
='test -s conftest$ac_exeext'
7941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7945 (exit $ac_status); }; }; then
7946 ac_cv_lib_m_copysignf
=yes
7948 echo "$as_me: failed program was:" >&5
7949 sed 's/^/| /' conftest.
$ac_ext >&5
7951 ac_cv_lib_m_copysignf
=no
7953 rm -f conftest.err conftest.
$ac_objext \
7954 conftest
$ac_exeext conftest.
$ac_ext
7955 LIBS
=$ac_check_lib_save_LIBS
7957 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
7958 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
7959 if test $ac_cv_lib_m_copysignf = yes; then
7961 cat >>confdefs.h
<<\_ACEOF
7962 #define HAVE_COPYSIGNF 1
7967 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
7968 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
7969 if test "${ac_cv_lib_m_cosf+set}" = set; then
7970 echo $ECHO_N "(cached) $ECHO_C" >&6
7972 ac_check_lib_save_LIBS
=$LIBS
7974 if test x
$gcc_no_link = xyes
; then
7975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7977 { (exit 1); exit 1; }; }
7979 cat >conftest.
$ac_ext <<_ACEOF
7982 cat confdefs.h
>>conftest.
$ac_ext
7983 cat >>conftest.
$ac_ext <<_ACEOF
7984 /* end confdefs.h. */
7986 /* Override any gcc2 internal prototype to avoid an error. */
7990 /* We use char because int might match the return type of a gcc2
7991 builtin and then its argument prototype would still apply. */
8001 rm -f conftest.
$ac_objext conftest
$ac_exeext
8002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8003 (eval $ac_link) 2>conftest.er1
8005 grep -v '^ *+' conftest.er1
>conftest.err
8007 cat conftest.err
>&5
8008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8009 (exit $ac_status); } &&
8010 { ac_try
='test -z "$ac_c_werror_flag"
8011 || test ! -s conftest.err'
8012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8016 (exit $ac_status); }; } &&
8017 { ac_try
='test -s conftest$ac_exeext'
8018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8022 (exit $ac_status); }; }; then
8023 ac_cv_lib_m_cosf
=yes
8025 echo "$as_me: failed program was:" >&5
8026 sed 's/^/| /' conftest.
$ac_ext >&5
8030 rm -f conftest.err conftest.
$ac_objext \
8031 conftest
$ac_exeext conftest.
$ac_ext
8032 LIBS
=$ac_check_lib_save_LIBS
8034 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
8035 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
8036 if test $ac_cv_lib_m_cosf = yes; then
8038 cat >>confdefs.h
<<\_ACEOF
8044 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
8045 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
8046 if test "${ac_cv_lib_m_coshf+set}" = set; then
8047 echo $ECHO_N "(cached) $ECHO_C" >&6
8049 ac_check_lib_save_LIBS
=$LIBS
8051 if test x
$gcc_no_link = xyes
; then
8052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8054 { (exit 1); exit 1; }; }
8056 cat >conftest.
$ac_ext <<_ACEOF
8059 cat confdefs.h
>>conftest.
$ac_ext
8060 cat >>conftest.
$ac_ext <<_ACEOF
8061 /* end confdefs.h. */
8063 /* Override any gcc2 internal prototype to avoid an error. */
8067 /* We use char because int might match the return type of a gcc2
8068 builtin and then its argument prototype would still apply. */
8078 rm -f conftest.
$ac_objext conftest
$ac_exeext
8079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8080 (eval $ac_link) 2>conftest.er1
8082 grep -v '^ *+' conftest.er1
>conftest.err
8084 cat conftest.err
>&5
8085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8086 (exit $ac_status); } &&
8087 { ac_try
='test -z "$ac_c_werror_flag"
8088 || test ! -s conftest.err'
8089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8093 (exit $ac_status); }; } &&
8094 { ac_try
='test -s conftest$ac_exeext'
8095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8099 (exit $ac_status); }; }; then
8100 ac_cv_lib_m_coshf
=yes
8102 echo "$as_me: failed program was:" >&5
8103 sed 's/^/| /' conftest.
$ac_ext >&5
8105 ac_cv_lib_m_coshf
=no
8107 rm -f conftest.err conftest.
$ac_objext \
8108 conftest
$ac_exeext conftest.
$ac_ext
8109 LIBS
=$ac_check_lib_save_LIBS
8111 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
8112 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
8113 if test $ac_cv_lib_m_coshf = yes; then
8115 cat >>confdefs.h
<<\_ACEOF
8116 #define HAVE_COSHF 1
8121 echo "$as_me:$LINENO: checking for expf in -lm" >&5
8122 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
8123 if test "${ac_cv_lib_m_expf+set}" = set; then
8124 echo $ECHO_N "(cached) $ECHO_C" >&6
8126 ac_check_lib_save_LIBS
=$LIBS
8128 if test x
$gcc_no_link = xyes
; then
8129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8131 { (exit 1); exit 1; }; }
8133 cat >conftest.
$ac_ext <<_ACEOF
8136 cat confdefs.h
>>conftest.
$ac_ext
8137 cat >>conftest.
$ac_ext <<_ACEOF
8138 /* end confdefs.h. */
8140 /* Override any gcc2 internal prototype to avoid an error. */
8144 /* We use char because int might match the return type of a gcc2
8145 builtin and then its argument prototype would still apply. */
8155 rm -f conftest.
$ac_objext conftest
$ac_exeext
8156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8157 (eval $ac_link) 2>conftest.er1
8159 grep -v '^ *+' conftest.er1
>conftest.err
8161 cat conftest.err
>&5
8162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8163 (exit $ac_status); } &&
8164 { ac_try
='test -z "$ac_c_werror_flag"
8165 || test ! -s conftest.err'
8166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8170 (exit $ac_status); }; } &&
8171 { ac_try
='test -s conftest$ac_exeext'
8172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8176 (exit $ac_status); }; }; then
8177 ac_cv_lib_m_expf
=yes
8179 echo "$as_me: failed program was:" >&5
8180 sed 's/^/| /' conftest.
$ac_ext >&5
8184 rm -f conftest.err conftest.
$ac_objext \
8185 conftest
$ac_exeext conftest.
$ac_ext
8186 LIBS
=$ac_check_lib_save_LIBS
8188 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
8189 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
8190 if test $ac_cv_lib_m_expf = yes; then
8192 cat >>confdefs.h
<<\_ACEOF
8198 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
8199 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
8200 if test "${ac_cv_lib_m_floorf+set}" = set; then
8201 echo $ECHO_N "(cached) $ECHO_C" >&6
8203 ac_check_lib_save_LIBS
=$LIBS
8205 if test x
$gcc_no_link = xyes
; then
8206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8208 { (exit 1); exit 1; }; }
8210 cat >conftest.
$ac_ext <<_ACEOF
8213 cat confdefs.h
>>conftest.
$ac_ext
8214 cat >>conftest.
$ac_ext <<_ACEOF
8215 /* end confdefs.h. */
8217 /* Override any gcc2 internal prototype to avoid an error. */
8221 /* We use char because int might match the return type of a gcc2
8222 builtin and then its argument prototype would still apply. */
8232 rm -f conftest.
$ac_objext conftest
$ac_exeext
8233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8234 (eval $ac_link) 2>conftest.er1
8236 grep -v '^ *+' conftest.er1
>conftest.err
8238 cat conftest.err
>&5
8239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8240 (exit $ac_status); } &&
8241 { ac_try
='test -z "$ac_c_werror_flag"
8242 || test ! -s conftest.err'
8243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8247 (exit $ac_status); }; } &&
8248 { ac_try
='test -s conftest$ac_exeext'
8249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8253 (exit $ac_status); }; }; then
8254 ac_cv_lib_m_floorf
=yes
8256 echo "$as_me: failed program was:" >&5
8257 sed 's/^/| /' conftest.
$ac_ext >&5
8259 ac_cv_lib_m_floorf
=no
8261 rm -f conftest.err conftest.
$ac_objext \
8262 conftest
$ac_exeext conftest.
$ac_ext
8263 LIBS
=$ac_check_lib_save_LIBS
8265 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
8266 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
8267 if test $ac_cv_lib_m_floorf = yes; then
8269 cat >>confdefs.h
<<\_ACEOF
8270 #define HAVE_FLOORF 1
8275 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
8276 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
8277 if test "${ac_cv_lib_m_frexpf+set}" = set; then
8278 echo $ECHO_N "(cached) $ECHO_C" >&6
8280 ac_check_lib_save_LIBS
=$LIBS
8282 if test x
$gcc_no_link = xyes
; then
8283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8285 { (exit 1); exit 1; }; }
8287 cat >conftest.
$ac_ext <<_ACEOF
8290 cat confdefs.h
>>conftest.
$ac_ext
8291 cat >>conftest.
$ac_ext <<_ACEOF
8292 /* end confdefs.h. */
8294 /* Override any gcc2 internal prototype to avoid an error. */
8298 /* We use char because int might match the return type of a gcc2
8299 builtin and then its argument prototype would still apply. */
8309 rm -f conftest.
$ac_objext conftest
$ac_exeext
8310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8311 (eval $ac_link) 2>conftest.er1
8313 grep -v '^ *+' conftest.er1
>conftest.err
8315 cat conftest.err
>&5
8316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8317 (exit $ac_status); } &&
8318 { ac_try
='test -z "$ac_c_werror_flag"
8319 || test ! -s conftest.err'
8320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8324 (exit $ac_status); }; } &&
8325 { ac_try
='test -s conftest$ac_exeext'
8326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8330 (exit $ac_status); }; }; then
8331 ac_cv_lib_m_frexpf
=yes
8333 echo "$as_me: failed program was:" >&5
8334 sed 's/^/| /' conftest.
$ac_ext >&5
8336 ac_cv_lib_m_frexpf
=no
8338 rm -f conftest.err conftest.
$ac_objext \
8339 conftest
$ac_exeext conftest.
$ac_ext
8340 LIBS
=$ac_check_lib_save_LIBS
8342 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
8343 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
8344 if test $ac_cv_lib_m_frexpf = yes; then
8346 cat >>confdefs.h
<<\_ACEOF
8347 #define HAVE_FREXPF 1
8352 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
8353 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
8354 if test "${ac_cv_lib_m_hypotf+set}" = set; then
8355 echo $ECHO_N "(cached) $ECHO_C" >&6
8357 ac_check_lib_save_LIBS
=$LIBS
8359 if test x
$gcc_no_link = xyes
; then
8360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8362 { (exit 1); exit 1; }; }
8364 cat >conftest.
$ac_ext <<_ACEOF
8367 cat confdefs.h
>>conftest.
$ac_ext
8368 cat >>conftest.
$ac_ext <<_ACEOF
8369 /* end confdefs.h. */
8371 /* Override any gcc2 internal prototype to avoid an error. */
8375 /* We use char because int might match the return type of a gcc2
8376 builtin and then its argument prototype would still apply. */
8386 rm -f conftest.
$ac_objext conftest
$ac_exeext
8387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8388 (eval $ac_link) 2>conftest.er1
8390 grep -v '^ *+' conftest.er1
>conftest.err
8392 cat conftest.err
>&5
8393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8394 (exit $ac_status); } &&
8395 { ac_try
='test -z "$ac_c_werror_flag"
8396 || test ! -s conftest.err'
8397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8401 (exit $ac_status); }; } &&
8402 { ac_try
='test -s conftest$ac_exeext'
8403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8407 (exit $ac_status); }; }; then
8408 ac_cv_lib_m_hypotf
=yes
8410 echo "$as_me: failed program was:" >&5
8411 sed 's/^/| /' conftest.
$ac_ext >&5
8413 ac_cv_lib_m_hypotf
=no
8415 rm -f conftest.err conftest.
$ac_objext \
8416 conftest
$ac_exeext conftest.
$ac_ext
8417 LIBS
=$ac_check_lib_save_LIBS
8419 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
8420 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
8421 if test $ac_cv_lib_m_hypotf = yes; then
8423 cat >>confdefs.h
<<\_ACEOF
8424 #define HAVE_HYPOTF 1
8429 echo "$as_me:$LINENO: checking for logf in -lm" >&5
8430 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
8431 if test "${ac_cv_lib_m_logf+set}" = set; then
8432 echo $ECHO_N "(cached) $ECHO_C" >&6
8434 ac_check_lib_save_LIBS
=$LIBS
8436 if test x
$gcc_no_link = xyes
; then
8437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8439 { (exit 1); exit 1; }; }
8441 cat >conftest.
$ac_ext <<_ACEOF
8444 cat confdefs.h
>>conftest.
$ac_ext
8445 cat >>conftest.
$ac_ext <<_ACEOF
8446 /* end confdefs.h. */
8448 /* Override any gcc2 internal prototype to avoid an error. */
8452 /* We use char because int might match the return type of a gcc2
8453 builtin and then its argument prototype would still apply. */
8463 rm -f conftest.
$ac_objext conftest
$ac_exeext
8464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8465 (eval $ac_link) 2>conftest.er1
8467 grep -v '^ *+' conftest.er1
>conftest.err
8469 cat conftest.err
>&5
8470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8471 (exit $ac_status); } &&
8472 { ac_try
='test -z "$ac_c_werror_flag"
8473 || test ! -s conftest.err'
8474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8478 (exit $ac_status); }; } &&
8479 { ac_try
='test -s conftest$ac_exeext'
8480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8484 (exit $ac_status); }; }; then
8485 ac_cv_lib_m_logf
=yes
8487 echo "$as_me: failed program was:" >&5
8488 sed 's/^/| /' conftest.
$ac_ext >&5
8492 rm -f conftest.err conftest.
$ac_objext \
8493 conftest
$ac_exeext conftest.
$ac_ext
8494 LIBS
=$ac_check_lib_save_LIBS
8496 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
8497 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
8498 if test $ac_cv_lib_m_logf = yes; then
8500 cat >>confdefs.h
<<\_ACEOF
8506 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
8507 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
8508 if test "${ac_cv_lib_m_log10f+set}" = set; then
8509 echo $ECHO_N "(cached) $ECHO_C" >&6
8511 ac_check_lib_save_LIBS
=$LIBS
8513 if test x
$gcc_no_link = xyes
; then
8514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8516 { (exit 1); exit 1; }; }
8518 cat >conftest.
$ac_ext <<_ACEOF
8521 cat confdefs.h
>>conftest.
$ac_ext
8522 cat >>conftest.
$ac_ext <<_ACEOF
8523 /* end confdefs.h. */
8525 /* Override any gcc2 internal prototype to avoid an error. */
8529 /* We use char because int might match the return type of a gcc2
8530 builtin and then its argument prototype would still apply. */
8540 rm -f conftest.
$ac_objext conftest
$ac_exeext
8541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8542 (eval $ac_link) 2>conftest.er1
8544 grep -v '^ *+' conftest.er1
>conftest.err
8546 cat conftest.err
>&5
8547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8548 (exit $ac_status); } &&
8549 { ac_try
='test -z "$ac_c_werror_flag"
8550 || test ! -s conftest.err'
8551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8555 (exit $ac_status); }; } &&
8556 { ac_try
='test -s conftest$ac_exeext'
8557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8561 (exit $ac_status); }; }; then
8562 ac_cv_lib_m_log10f
=yes
8564 echo "$as_me: failed program was:" >&5
8565 sed 's/^/| /' conftest.
$ac_ext >&5
8567 ac_cv_lib_m_log10f
=no
8569 rm -f conftest.err conftest.
$ac_objext \
8570 conftest
$ac_exeext conftest.
$ac_ext
8571 LIBS
=$ac_check_lib_save_LIBS
8573 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
8574 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
8575 if test $ac_cv_lib_m_log10f = yes; then
8577 cat >>confdefs.h
<<\_ACEOF
8578 #define HAVE_LOG10F 1
8583 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
8584 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
8585 if test "${ac_cv_lib_m_nextafter+set}" = set; then
8586 echo $ECHO_N "(cached) $ECHO_C" >&6
8588 ac_check_lib_save_LIBS
=$LIBS
8590 if test x
$gcc_no_link = xyes
; then
8591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8593 { (exit 1); exit 1; }; }
8595 cat >conftest.
$ac_ext <<_ACEOF
8598 cat confdefs.h
>>conftest.
$ac_ext
8599 cat >>conftest.
$ac_ext <<_ACEOF
8600 /* end confdefs.h. */
8602 /* Override any gcc2 internal prototype to avoid an error. */
8606 /* We use char because int might match the return type of a gcc2
8607 builtin and then its argument prototype would still apply. */
8617 rm -f conftest.
$ac_objext conftest
$ac_exeext
8618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8619 (eval $ac_link) 2>conftest.er1
8621 grep -v '^ *+' conftest.er1
>conftest.err
8623 cat conftest.err
>&5
8624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8625 (exit $ac_status); } &&
8626 { ac_try
='test -z "$ac_c_werror_flag"
8627 || test ! -s conftest.err'
8628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8632 (exit $ac_status); }; } &&
8633 { ac_try
='test -s conftest$ac_exeext'
8634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8638 (exit $ac_status); }; }; then
8639 ac_cv_lib_m_nextafter
=yes
8641 echo "$as_me: failed program was:" >&5
8642 sed 's/^/| /' conftest.
$ac_ext >&5
8644 ac_cv_lib_m_nextafter
=no
8646 rm -f conftest.err conftest.
$ac_objext \
8647 conftest
$ac_exeext conftest.
$ac_ext
8648 LIBS
=$ac_check_lib_save_LIBS
8650 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
8651 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
8652 if test $ac_cv_lib_m_nextafter = yes; then
8654 cat >>confdefs.h
<<\_ACEOF
8655 #define HAVE_NEXTAFTER 1
8660 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
8661 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
8662 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
8663 echo $ECHO_N "(cached) $ECHO_C" >&6
8665 ac_check_lib_save_LIBS
=$LIBS
8667 if test x
$gcc_no_link = xyes
; then
8668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8670 { (exit 1); exit 1; }; }
8672 cat >conftest.
$ac_ext <<_ACEOF
8675 cat confdefs.h
>>conftest.
$ac_ext
8676 cat >>conftest.
$ac_ext <<_ACEOF
8677 /* end confdefs.h. */
8679 /* Override any gcc2 internal prototype to avoid an error. */
8683 /* We use char because int might match the return type of a gcc2
8684 builtin and then its argument prototype would still apply. */
8694 rm -f conftest.
$ac_objext conftest
$ac_exeext
8695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8696 (eval $ac_link) 2>conftest.er1
8698 grep -v '^ *+' conftest.er1
>conftest.err
8700 cat conftest.err
>&5
8701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8702 (exit $ac_status); } &&
8703 { ac_try
='test -z "$ac_c_werror_flag"
8704 || test ! -s conftest.err'
8705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709 (exit $ac_status); }; } &&
8710 { ac_try
='test -s conftest$ac_exeext'
8711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715 (exit $ac_status); }; }; then
8716 ac_cv_lib_m_nextafterf
=yes
8718 echo "$as_me: failed program was:" >&5
8719 sed 's/^/| /' conftest.
$ac_ext >&5
8721 ac_cv_lib_m_nextafterf
=no
8723 rm -f conftest.err conftest.
$ac_objext \
8724 conftest
$ac_exeext conftest.
$ac_ext
8725 LIBS
=$ac_check_lib_save_LIBS
8727 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
8728 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
8729 if test $ac_cv_lib_m_nextafterf = yes; then
8731 cat >>confdefs.h
<<\_ACEOF
8732 #define HAVE_NEXTAFTERF 1
8737 echo "$as_me:$LINENO: checking for powf in -lm" >&5
8738 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
8739 if test "${ac_cv_lib_m_powf+set}" = set; then
8740 echo $ECHO_N "(cached) $ECHO_C" >&6
8742 ac_check_lib_save_LIBS
=$LIBS
8744 if test x
$gcc_no_link = xyes
; then
8745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8747 { (exit 1); exit 1; }; }
8749 cat >conftest.
$ac_ext <<_ACEOF
8752 cat confdefs.h
>>conftest.
$ac_ext
8753 cat >>conftest.
$ac_ext <<_ACEOF
8754 /* end confdefs.h. */
8756 /* Override any gcc2 internal prototype to avoid an error. */
8760 /* We use char because int might match the return type of a gcc2
8761 builtin and then its argument prototype would still apply. */
8771 rm -f conftest.
$ac_objext conftest
$ac_exeext
8772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8773 (eval $ac_link) 2>conftest.er1
8775 grep -v '^ *+' conftest.er1
>conftest.err
8777 cat conftest.err
>&5
8778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8779 (exit $ac_status); } &&
8780 { ac_try
='test -z "$ac_c_werror_flag"
8781 || 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_powf
=yes
8795 echo "$as_me: failed program was:" >&5
8796 sed 's/^/| /' conftest.
$ac_ext >&5
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_powf" >&5
8805 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
8806 if test $ac_cv_lib_m_powf = yes; then
8808 cat >>confdefs.h
<<\_ACEOF
8814 echo "$as_me:$LINENO: checking for round in -lm" >&5
8815 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
8816 if test "${ac_cv_lib_m_round+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"
8858 || test ! -s conftest.err'
8859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8863 (exit $ac_status); }; } &&
8864 { ac_try
='test -s conftest$ac_exeext'
8865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8869 (exit $ac_status); }; }; then
8870 ac_cv_lib_m_round
=yes
8872 echo "$as_me: failed program was:" >&5
8873 sed 's/^/| /' conftest.
$ac_ext >&5
8875 ac_cv_lib_m_round
=no
8877 rm -f conftest.err conftest.
$ac_objext \
8878 conftest
$ac_exeext conftest.
$ac_ext
8879 LIBS
=$ac_check_lib_save_LIBS
8881 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
8882 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
8883 if test $ac_cv_lib_m_round = yes; then
8885 cat >>confdefs.h
<<\_ACEOF
8886 #define HAVE_ROUND 1
8891 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
8892 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
8893 if test "${ac_cv_lib_m_roundf+set}" = set; then
8894 echo $ECHO_N "(cached) $ECHO_C" >&6
8896 ac_check_lib_save_LIBS
=$LIBS
8898 if test x
$gcc_no_link = xyes
; then
8899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8901 { (exit 1); exit 1; }; }
8903 cat >conftest.
$ac_ext <<_ACEOF
8906 cat confdefs.h
>>conftest.
$ac_ext
8907 cat >>conftest.
$ac_ext <<_ACEOF
8908 /* end confdefs.h. */
8910 /* Override any gcc2 internal prototype to avoid an error. */
8914 /* We use char because int might match the return type of a gcc2
8915 builtin and then its argument prototype would still apply. */
8925 rm -f conftest.
$ac_objext conftest
$ac_exeext
8926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8927 (eval $ac_link) 2>conftest.er1
8929 grep -v '^ *+' conftest.er1
>conftest.err
8931 cat conftest.err
>&5
8932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8933 (exit $ac_status); } &&
8934 { ac_try
='test -z "$ac_c_werror_flag"
8935 || test ! -s conftest.err'
8936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8940 (exit $ac_status); }; } &&
8941 { ac_try
='test -s conftest$ac_exeext'
8942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8946 (exit $ac_status); }; }; then
8947 ac_cv_lib_m_roundf
=yes
8949 echo "$as_me: failed program was:" >&5
8950 sed 's/^/| /' conftest.
$ac_ext >&5
8952 ac_cv_lib_m_roundf
=no
8954 rm -f conftest.err conftest.
$ac_objext \
8955 conftest
$ac_exeext conftest.
$ac_ext
8956 LIBS
=$ac_check_lib_save_LIBS
8958 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
8959 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
8960 if test $ac_cv_lib_m_roundf = yes; then
8962 cat >>confdefs.h
<<\_ACEOF
8963 #define HAVE_ROUNDF 1
8968 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
8969 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
8970 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
8971 echo $ECHO_N "(cached) $ECHO_C" >&6
8973 ac_check_lib_save_LIBS
=$LIBS
8975 if test x
$gcc_no_link = xyes
; then
8976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8978 { (exit 1); exit 1; }; }
8980 cat >conftest.
$ac_ext <<_ACEOF
8983 cat confdefs.h
>>conftest.
$ac_ext
8984 cat >>conftest.
$ac_ext <<_ACEOF
8985 /* end confdefs.h. */
8987 /* Override any gcc2 internal prototype to avoid an error. */
8991 /* We use char because int might match the return type of a gcc2
8992 builtin and then its argument prototype would still apply. */
9002 rm -f conftest.
$ac_objext conftest
$ac_exeext
9003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9004 (eval $ac_link) 2>conftest.er1
9006 grep -v '^ *+' conftest.er1
>conftest.err
9008 cat conftest.err
>&5
9009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9010 (exit $ac_status); } &&
9011 { ac_try
='test -z "$ac_c_werror_flag"
9012 || test ! -s conftest.err'
9013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9017 (exit $ac_status); }; } &&
9018 { ac_try
='test -s conftest$ac_exeext'
9019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9023 (exit $ac_status); }; }; then
9024 ac_cv_lib_m_scalbnf
=yes
9026 echo "$as_me: failed program was:" >&5
9027 sed 's/^/| /' conftest.
$ac_ext >&5
9029 ac_cv_lib_m_scalbnf
=no
9031 rm -f conftest.err conftest.
$ac_objext \
9032 conftest
$ac_exeext conftest.
$ac_ext
9033 LIBS
=$ac_check_lib_save_LIBS
9035 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
9036 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
9037 if test $ac_cv_lib_m_scalbnf = yes; then
9039 cat >>confdefs.h
<<\_ACEOF
9040 #define HAVE_SCALBNF 1
9045 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
9046 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
9047 if test "${ac_cv_lib_m_sinf+set}" = set; then
9048 echo $ECHO_N "(cached) $ECHO_C" >&6
9050 ac_check_lib_save_LIBS
=$LIBS
9052 if test x
$gcc_no_link = xyes
; then
9053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9055 { (exit 1); exit 1; }; }
9057 cat >conftest.
$ac_ext <<_ACEOF
9060 cat confdefs.h
>>conftest.
$ac_ext
9061 cat >>conftest.
$ac_ext <<_ACEOF
9062 /* end confdefs.h. */
9064 /* Override any gcc2 internal prototype to avoid an error. */
9068 /* We use char because int might match the return type of a gcc2
9069 builtin and then its argument prototype would still apply. */
9079 rm -f conftest.
$ac_objext conftest
$ac_exeext
9080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9081 (eval $ac_link) 2>conftest.er1
9083 grep -v '^ *+' conftest.er1
>conftest.err
9085 cat conftest.err
>&5
9086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9087 (exit $ac_status); } &&
9088 { ac_try
='test -z "$ac_c_werror_flag"
9089 || test ! -s conftest.err'
9090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9094 (exit $ac_status); }; } &&
9095 { ac_try
='test -s conftest$ac_exeext'
9096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9100 (exit $ac_status); }; }; then
9101 ac_cv_lib_m_sinf
=yes
9103 echo "$as_me: failed program was:" >&5
9104 sed 's/^/| /' conftest.
$ac_ext >&5
9108 rm -f conftest.err conftest.
$ac_objext \
9109 conftest
$ac_exeext conftest.
$ac_ext
9110 LIBS
=$ac_check_lib_save_LIBS
9112 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
9113 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
9114 if test $ac_cv_lib_m_sinf = yes; then
9116 cat >>confdefs.h
<<\_ACEOF
9122 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
9123 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
9124 if test "${ac_cv_lib_m_sinhf+set}" = set; then
9125 echo $ECHO_N "(cached) $ECHO_C" >&6
9127 ac_check_lib_save_LIBS
=$LIBS
9129 if test x
$gcc_no_link = xyes
; then
9130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9132 { (exit 1); exit 1; }; }
9134 cat >conftest.
$ac_ext <<_ACEOF
9137 cat confdefs.h
>>conftest.
$ac_ext
9138 cat >>conftest.
$ac_ext <<_ACEOF
9139 /* end confdefs.h. */
9141 /* Override any gcc2 internal prototype to avoid an error. */
9145 /* We use char because int might match the return type of a gcc2
9146 builtin and then its argument prototype would still apply. */
9156 rm -f conftest.
$ac_objext conftest
$ac_exeext
9157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9158 (eval $ac_link) 2>conftest.er1
9160 grep -v '^ *+' conftest.er1
>conftest.err
9162 cat conftest.err
>&5
9163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9164 (exit $ac_status); } &&
9165 { ac_try
='test -z "$ac_c_werror_flag"
9166 || test ! -s conftest.err'
9167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9171 (exit $ac_status); }; } &&
9172 { ac_try
='test -s conftest$ac_exeext'
9173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9177 (exit $ac_status); }; }; then
9178 ac_cv_lib_m_sinhf
=yes
9180 echo "$as_me: failed program was:" >&5
9181 sed 's/^/| /' conftest.
$ac_ext >&5
9183 ac_cv_lib_m_sinhf
=no
9185 rm -f conftest.err conftest.
$ac_objext \
9186 conftest
$ac_exeext conftest.
$ac_ext
9187 LIBS
=$ac_check_lib_save_LIBS
9189 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
9190 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
9191 if test $ac_cv_lib_m_sinhf = yes; then
9193 cat >>confdefs.h
<<\_ACEOF
9194 #define HAVE_SINHF 1
9199 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
9200 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
9201 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
9202 echo $ECHO_N "(cached) $ECHO_C" >&6
9204 ac_check_lib_save_LIBS
=$LIBS
9206 if test x
$gcc_no_link = xyes
; then
9207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9209 { (exit 1); exit 1; }; }
9211 cat >conftest.
$ac_ext <<_ACEOF
9214 cat confdefs.h
>>conftest.
$ac_ext
9215 cat >>conftest.
$ac_ext <<_ACEOF
9216 /* end confdefs.h. */
9218 /* Override any gcc2 internal prototype to avoid an error. */
9222 /* We use char because int might match the return type of a gcc2
9223 builtin and then its argument prototype would still apply. */
9233 rm -f conftest.
$ac_objext conftest
$ac_exeext
9234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9235 (eval $ac_link) 2>conftest.er1
9237 grep -v '^ *+' conftest.er1
>conftest.err
9239 cat conftest.err
>&5
9240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9241 (exit $ac_status); } &&
9242 { ac_try
='test -z "$ac_c_werror_flag"
9243 || test ! -s conftest.err'
9244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9248 (exit $ac_status); }; } &&
9249 { ac_try
='test -s conftest$ac_exeext'
9250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9254 (exit $ac_status); }; }; then
9255 ac_cv_lib_m_sqrtf
=yes
9257 echo "$as_me: failed program was:" >&5
9258 sed 's/^/| /' conftest.
$ac_ext >&5
9260 ac_cv_lib_m_sqrtf
=no
9262 rm -f conftest.err conftest.
$ac_objext \
9263 conftest
$ac_exeext conftest.
$ac_ext
9264 LIBS
=$ac_check_lib_save_LIBS
9266 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
9267 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
9268 if test $ac_cv_lib_m_sqrtf = yes; then
9270 cat >>confdefs.h
<<\_ACEOF
9271 #define HAVE_SQRTF 1
9276 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
9277 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
9278 if test "${ac_cv_lib_m_tanf+set}" = set; then
9279 echo $ECHO_N "(cached) $ECHO_C" >&6
9281 ac_check_lib_save_LIBS
=$LIBS
9283 if test x
$gcc_no_link = xyes
; then
9284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9286 { (exit 1); exit 1; }; }
9288 cat >conftest.
$ac_ext <<_ACEOF
9291 cat confdefs.h
>>conftest.
$ac_ext
9292 cat >>conftest.
$ac_ext <<_ACEOF
9293 /* end confdefs.h. */
9295 /* Override any gcc2 internal prototype to avoid an error. */
9299 /* We use char because int might match the return type of a gcc2
9300 builtin and then its argument prototype would still apply. */
9310 rm -f conftest.
$ac_objext conftest
$ac_exeext
9311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9312 (eval $ac_link) 2>conftest.er1
9314 grep -v '^ *+' conftest.er1
>conftest.err
9316 cat conftest.err
>&5
9317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9318 (exit $ac_status); } &&
9319 { ac_try
='test -z "$ac_c_werror_flag"
9320 || test ! -s conftest.err'
9321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9325 (exit $ac_status); }; } &&
9326 { ac_try
='test -s conftest$ac_exeext'
9327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9331 (exit $ac_status); }; }; then
9332 ac_cv_lib_m_tanf
=yes
9334 echo "$as_me: failed program was:" >&5
9335 sed 's/^/| /' conftest.
$ac_ext >&5
9339 rm -f conftest.err conftest.
$ac_objext \
9340 conftest
$ac_exeext conftest.
$ac_ext
9341 LIBS
=$ac_check_lib_save_LIBS
9343 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
9344 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
9345 if test $ac_cv_lib_m_tanf = yes; then
9347 cat >>confdefs.h
<<\_ACEOF
9353 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
9354 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
9355 if test "${ac_cv_lib_m_tanhf+set}" = set; then
9356 echo $ECHO_N "(cached) $ECHO_C" >&6
9358 ac_check_lib_save_LIBS
=$LIBS
9360 if test x
$gcc_no_link = xyes
; then
9361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9363 { (exit 1); exit 1; }; }
9365 cat >conftest.
$ac_ext <<_ACEOF
9368 cat confdefs.h
>>conftest.
$ac_ext
9369 cat >>conftest.
$ac_ext <<_ACEOF
9370 /* end confdefs.h. */
9372 /* Override any gcc2 internal prototype to avoid an error. */
9376 /* We use char because int might match the return type of a gcc2
9377 builtin and then its argument prototype would still apply. */
9387 rm -f conftest.
$ac_objext conftest
$ac_exeext
9388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9389 (eval $ac_link) 2>conftest.er1
9391 grep -v '^ *+' conftest.er1
>conftest.err
9393 cat conftest.err
>&5
9394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9395 (exit $ac_status); } &&
9396 { ac_try
='test -z "$ac_c_werror_flag"
9397 || test ! -s conftest.err'
9398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9402 (exit $ac_status); }; } &&
9403 { ac_try
='test -s conftest$ac_exeext'
9404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9408 (exit $ac_status); }; }; then
9409 ac_cv_lib_m_tanhf
=yes
9411 echo "$as_me: failed program was:" >&5
9412 sed 's/^/| /' conftest.
$ac_ext >&5
9414 ac_cv_lib_m_tanhf
=no
9416 rm -f conftest.err conftest.
$ac_objext \
9417 conftest
$ac_exeext conftest.
$ac_ext
9418 LIBS
=$ac_check_lib_save_LIBS
9420 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
9421 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
9422 if test $ac_cv_lib_m_tanhf = yes; then
9424 cat >>confdefs.h
<<\_ACEOF
9425 #define HAVE_TANHF 1
9430 echo "$as_me:$LINENO: checking for erf in -lm" >&5
9431 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
9432 if test "${ac_cv_lib_m_erf+set}" = set; then
9433 echo $ECHO_N "(cached) $ECHO_C" >&6
9435 ac_check_lib_save_LIBS
=$LIBS
9437 if test x
$gcc_no_link = xyes
; then
9438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9440 { (exit 1); exit 1; }; }
9442 cat >conftest.
$ac_ext <<_ACEOF
9445 cat confdefs.h
>>conftest.
$ac_ext
9446 cat >>conftest.
$ac_ext <<_ACEOF
9447 /* end confdefs.h. */
9449 /* Override any gcc2 internal prototype to avoid an error. */
9453 /* We use char because int might match the return type of a gcc2
9454 builtin and then its argument prototype would still apply. */
9464 rm -f conftest.
$ac_objext conftest
$ac_exeext
9465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9466 (eval $ac_link) 2>conftest.er1
9468 grep -v '^ *+' conftest.er1
>conftest.err
9470 cat conftest.err
>&5
9471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9472 (exit $ac_status); } &&
9473 { ac_try
='test -z "$ac_c_werror_flag"
9474 || test ! -s conftest.err'
9475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9479 (exit $ac_status); }; } &&
9480 { ac_try
='test -s conftest$ac_exeext'
9481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9485 (exit $ac_status); }; }; then
9488 echo "$as_me: failed program was:" >&5
9489 sed 's/^/| /' conftest.
$ac_ext >&5
9493 rm -f conftest.err conftest.
$ac_objext \
9494 conftest
$ac_exeext conftest.
$ac_ext
9495 LIBS
=$ac_check_lib_save_LIBS
9497 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
9498 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
9499 if test $ac_cv_lib_m_erf = yes; then
9501 cat >>confdefs.h
<<\_ACEOF
9507 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
9508 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
9509 if test "${ac_cv_lib_m_erfc+set}" = set; then
9510 echo $ECHO_N "(cached) $ECHO_C" >&6
9512 ac_check_lib_save_LIBS
=$LIBS
9514 if test x
$gcc_no_link = xyes
; then
9515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9517 { (exit 1); exit 1; }; }
9519 cat >conftest.
$ac_ext <<_ACEOF
9522 cat confdefs.h
>>conftest.
$ac_ext
9523 cat >>conftest.
$ac_ext <<_ACEOF
9524 /* end confdefs.h. */
9526 /* Override any gcc2 internal prototype to avoid an error. */
9530 /* We use char because int might match the return type of a gcc2
9531 builtin and then its argument prototype would still apply. */
9541 rm -f conftest.
$ac_objext conftest
$ac_exeext
9542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9543 (eval $ac_link) 2>conftest.er1
9545 grep -v '^ *+' conftest.er1
>conftest.err
9547 cat conftest.err
>&5
9548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9549 (exit $ac_status); } &&
9550 { ac_try
='test -z "$ac_c_werror_flag"
9551 || test ! -s conftest.err'
9552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9556 (exit $ac_status); }; } &&
9557 { ac_try
='test -s conftest$ac_exeext'
9558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9562 (exit $ac_status); }; }; then
9563 ac_cv_lib_m_erfc
=yes
9565 echo "$as_me: failed program was:" >&5
9566 sed 's/^/| /' conftest.
$ac_ext >&5
9570 rm -f conftest.err conftest.
$ac_objext \
9571 conftest
$ac_exeext conftest.
$ac_ext
9572 LIBS
=$ac_check_lib_save_LIBS
9574 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
9575 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
9576 if test $ac_cv_lib_m_erfc = yes; then
9578 cat >>confdefs.h
<<\_ACEOF
9584 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
9585 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
9586 if test "${ac_cv_lib_m_erfcf+set}" = set; then
9587 echo $ECHO_N "(cached) $ECHO_C" >&6
9589 ac_check_lib_save_LIBS
=$LIBS
9591 if test x
$gcc_no_link = xyes
; then
9592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9594 { (exit 1); exit 1; }; }
9596 cat >conftest.
$ac_ext <<_ACEOF
9599 cat confdefs.h
>>conftest.
$ac_ext
9600 cat >>conftest.
$ac_ext <<_ACEOF
9601 /* end confdefs.h. */
9603 /* Override any gcc2 internal prototype to avoid an error. */
9607 /* We use char because int might match the return type of a gcc2
9608 builtin and then its argument prototype would still apply. */
9618 rm -f conftest.
$ac_objext conftest
$ac_exeext
9619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9620 (eval $ac_link) 2>conftest.er1
9622 grep -v '^ *+' conftest.er1
>conftest.err
9624 cat conftest.err
>&5
9625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9626 (exit $ac_status); } &&
9627 { ac_try
='test -z "$ac_c_werror_flag"
9628 || test ! -s conftest.err'
9629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9633 (exit $ac_status); }; } &&
9634 { ac_try
='test -s conftest$ac_exeext'
9635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9639 (exit $ac_status); }; }; then
9640 ac_cv_lib_m_erfcf
=yes
9642 echo "$as_me: failed program was:" >&5
9643 sed 's/^/| /' conftest.
$ac_ext >&5
9645 ac_cv_lib_m_erfcf
=no
9647 rm -f conftest.err conftest.
$ac_objext \
9648 conftest
$ac_exeext conftest.
$ac_ext
9649 LIBS
=$ac_check_lib_save_LIBS
9651 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
9652 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
9653 if test $ac_cv_lib_m_erfcf = yes; then
9655 cat >>confdefs.h
<<\_ACEOF
9656 #define HAVE_ERFCF 1
9661 echo "$as_me:$LINENO: checking for erff in -lm" >&5
9662 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
9663 if test "${ac_cv_lib_m_erff+set}" = set; then
9664 echo $ECHO_N "(cached) $ECHO_C" >&6
9666 ac_check_lib_save_LIBS
=$LIBS
9668 if test x
$gcc_no_link = xyes
; then
9669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9671 { (exit 1); exit 1; }; }
9673 cat >conftest.
$ac_ext <<_ACEOF
9676 cat confdefs.h
>>conftest.
$ac_ext
9677 cat >>conftest.
$ac_ext <<_ACEOF
9678 /* end confdefs.h. */
9680 /* Override any gcc2 internal prototype to avoid an error. */
9684 /* We use char because int might match the return type of a gcc2
9685 builtin and then its argument prototype would still apply. */
9695 rm -f conftest.
$ac_objext conftest
$ac_exeext
9696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9697 (eval $ac_link) 2>conftest.er1
9699 grep -v '^ *+' conftest.er1
>conftest.err
9701 cat conftest.err
>&5
9702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703 (exit $ac_status); } &&
9704 { ac_try
='test -z "$ac_c_werror_flag"
9705 || test ! -s conftest.err'
9706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9710 (exit $ac_status); }; } &&
9711 { ac_try
='test -s conftest$ac_exeext'
9712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9716 (exit $ac_status); }; }; then
9717 ac_cv_lib_m_erff
=yes
9719 echo "$as_me: failed program was:" >&5
9720 sed 's/^/| /' conftest.
$ac_ext >&5
9724 rm -f conftest.err conftest.
$ac_objext \
9725 conftest
$ac_exeext conftest.
$ac_ext
9726 LIBS
=$ac_check_lib_save_LIBS
9728 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
9729 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
9730 if test $ac_cv_lib_m_erff = yes; then
9732 cat >>confdefs.h
<<\_ACEOF
9738 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
9739 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
9740 if test "${ac_cv_lib_m_j0+set}" = set; then
9741 echo $ECHO_N "(cached) $ECHO_C" >&6
9743 ac_check_lib_save_LIBS
=$LIBS
9745 if test x
$gcc_no_link = xyes
; then
9746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9748 { (exit 1); exit 1; }; }
9750 cat >conftest.
$ac_ext <<_ACEOF
9753 cat confdefs.h
>>conftest.
$ac_ext
9754 cat >>conftest.
$ac_ext <<_ACEOF
9755 /* end confdefs.h. */
9757 /* Override any gcc2 internal prototype to avoid an error. */
9761 /* We use char because int might match the return type of a gcc2
9762 builtin and then its argument prototype would still apply. */
9772 rm -f conftest.
$ac_objext conftest
$ac_exeext
9773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9774 (eval $ac_link) 2>conftest.er1
9776 grep -v '^ *+' conftest.er1
>conftest.err
9778 cat conftest.err
>&5
9779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9780 (exit $ac_status); } &&
9781 { ac_try
='test -z "$ac_c_werror_flag"
9782 || test ! -s conftest.err'
9783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9787 (exit $ac_status); }; } &&
9788 { ac_try
='test -s conftest$ac_exeext'
9789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9793 (exit $ac_status); }; }; then
9796 echo "$as_me: failed program was:" >&5
9797 sed 's/^/| /' conftest.
$ac_ext >&5
9801 rm -f conftest.err conftest.
$ac_objext \
9802 conftest
$ac_exeext conftest.
$ac_ext
9803 LIBS
=$ac_check_lib_save_LIBS
9805 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
9806 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
9807 if test $ac_cv_lib_m_j0 = yes; then
9809 cat >>confdefs.h
<<\_ACEOF
9815 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
9816 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
9817 if test "${ac_cv_lib_m_j0f+set}" = set; then
9818 echo $ECHO_N "(cached) $ECHO_C" >&6
9820 ac_check_lib_save_LIBS
=$LIBS
9822 if test x
$gcc_no_link = xyes
; then
9823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9825 { (exit 1); exit 1; }; }
9827 cat >conftest.
$ac_ext <<_ACEOF
9830 cat confdefs.h
>>conftest.
$ac_ext
9831 cat >>conftest.
$ac_ext <<_ACEOF
9832 /* end confdefs.h. */
9834 /* Override any gcc2 internal prototype to avoid an error. */
9838 /* We use char because int might match the return type of a gcc2
9839 builtin and then its argument prototype would still apply. */
9849 rm -f conftest.
$ac_objext conftest
$ac_exeext
9850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9851 (eval $ac_link) 2>conftest.er1
9853 grep -v '^ *+' conftest.er1
>conftest.err
9855 cat conftest.err
>&5
9856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9857 (exit $ac_status); } &&
9858 { ac_try
='test -z "$ac_c_werror_flag"
9859 || test ! -s conftest.err'
9860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9864 (exit $ac_status); }; } &&
9865 { ac_try
='test -s conftest$ac_exeext'
9866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9870 (exit $ac_status); }; }; then
9873 echo "$as_me: failed program was:" >&5
9874 sed 's/^/| /' conftest.
$ac_ext >&5
9878 rm -f conftest.err conftest.
$ac_objext \
9879 conftest
$ac_exeext conftest.
$ac_ext
9880 LIBS
=$ac_check_lib_save_LIBS
9882 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
9883 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
9884 if test $ac_cv_lib_m_j0f = yes; then
9886 cat >>confdefs.h
<<\_ACEOF
9892 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
9893 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
9894 if test "${ac_cv_lib_m_j1+set}" = set; then
9895 echo $ECHO_N "(cached) $ECHO_C" >&6
9897 ac_check_lib_save_LIBS
=$LIBS
9899 if test x
$gcc_no_link = xyes
; then
9900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9902 { (exit 1); exit 1; }; }
9904 cat >conftest.
$ac_ext <<_ACEOF
9907 cat confdefs.h
>>conftest.
$ac_ext
9908 cat >>conftest.
$ac_ext <<_ACEOF
9909 /* end confdefs.h. */
9911 /* Override any gcc2 internal prototype to avoid an error. */
9915 /* We use char because int might match the return type of a gcc2
9916 builtin and then its argument prototype would still apply. */
9926 rm -f conftest.
$ac_objext conftest
$ac_exeext
9927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9928 (eval $ac_link) 2>conftest.er1
9930 grep -v '^ *+' conftest.er1
>conftest.err
9932 cat conftest.err
>&5
9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9934 (exit $ac_status); } &&
9935 { ac_try
='test -z "$ac_c_werror_flag"
9936 || test ! -s conftest.err'
9937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9941 (exit $ac_status); }; } &&
9942 { ac_try
='test -s conftest$ac_exeext'
9943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9947 (exit $ac_status); }; }; then
9950 echo "$as_me: failed program was:" >&5
9951 sed 's/^/| /' conftest.
$ac_ext >&5
9955 rm -f conftest.err conftest.
$ac_objext \
9956 conftest
$ac_exeext conftest.
$ac_ext
9957 LIBS
=$ac_check_lib_save_LIBS
9959 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
9960 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
9961 if test $ac_cv_lib_m_j1 = yes; then
9963 cat >>confdefs.h
<<\_ACEOF
9969 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
9970 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
9971 if test "${ac_cv_lib_m_j1f+set}" = set; then
9972 echo $ECHO_N "(cached) $ECHO_C" >&6
9974 ac_check_lib_save_LIBS
=$LIBS
9976 if test x
$gcc_no_link = xyes
; then
9977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9979 { (exit 1); exit 1; }; }
9981 cat >conftest.
$ac_ext <<_ACEOF
9984 cat confdefs.h
>>conftest.
$ac_ext
9985 cat >>conftest.
$ac_ext <<_ACEOF
9986 /* end confdefs.h. */
9988 /* Override any gcc2 internal prototype to avoid an error. */
9992 /* We use char because int might match the return type of a gcc2
9993 builtin and then its argument prototype would still apply. */
10003 rm -f conftest.
$ac_objext conftest
$ac_exeext
10004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10005 (eval $ac_link) 2>conftest.er1
10007 grep -v '^ *+' conftest.er1
>conftest.err
10009 cat conftest.err
>&5
10010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10011 (exit $ac_status); } &&
10012 { ac_try
='test -z "$ac_c_werror_flag"
10013 || test ! -s conftest.err'
10014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10015 (eval $ac_try) 2>&5
10017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10018 (exit $ac_status); }; } &&
10019 { ac_try
='test -s conftest$ac_exeext'
10020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10021 (eval $ac_try) 2>&5
10023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10024 (exit $ac_status); }; }; then
10025 ac_cv_lib_m_j1f
=yes
10027 echo "$as_me: failed program was:" >&5
10028 sed 's/^/| /' conftest.
$ac_ext >&5
10032 rm -f conftest.err conftest.
$ac_objext \
10033 conftest
$ac_exeext conftest.
$ac_ext
10034 LIBS
=$ac_check_lib_save_LIBS
10036 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
10037 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
10038 if test $ac_cv_lib_m_j1f = yes; then
10040 cat >>confdefs.h
<<\_ACEOF
10046 echo "$as_me:$LINENO: checking for jn in -lm" >&5
10047 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
10048 if test "${ac_cv_lib_m_jn+set}" = set; then
10049 echo $ECHO_N "(cached) $ECHO_C" >&6
10051 ac_check_lib_save_LIBS
=$LIBS
10053 if test x
$gcc_no_link = xyes
; then
10054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10056 { (exit 1); exit 1; }; }
10058 cat >conftest.
$ac_ext <<_ACEOF
10061 cat confdefs.h
>>conftest.
$ac_ext
10062 cat >>conftest.
$ac_ext <<_ACEOF
10063 /* end confdefs.h. */
10065 /* Override any gcc2 internal prototype to avoid an error. */
10069 /* We use char because int might match the return type of a gcc2
10070 builtin and then its argument prototype would still apply. */
10080 rm -f conftest.
$ac_objext conftest
$ac_exeext
10081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10082 (eval $ac_link) 2>conftest.er1
10084 grep -v '^ *+' conftest.er1
>conftest.err
10086 cat conftest.err
>&5
10087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10088 (exit $ac_status); } &&
10089 { ac_try
='test -z "$ac_c_werror_flag"
10090 || test ! -s conftest.err'
10091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10092 (eval $ac_try) 2>&5
10094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10095 (exit $ac_status); }; } &&
10096 { ac_try
='test -s conftest$ac_exeext'
10097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10098 (eval $ac_try) 2>&5
10100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10101 (exit $ac_status); }; }; then
10104 echo "$as_me: failed program was:" >&5
10105 sed 's/^/| /' conftest.
$ac_ext >&5
10109 rm -f conftest.err conftest.
$ac_objext \
10110 conftest
$ac_exeext conftest.
$ac_ext
10111 LIBS
=$ac_check_lib_save_LIBS
10113 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
10114 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
10115 if test $ac_cv_lib_m_jn = yes; then
10117 cat >>confdefs.h
<<\_ACEOF
10123 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
10124 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
10125 if test "${ac_cv_lib_m_jnf+set}" = set; then
10126 echo $ECHO_N "(cached) $ECHO_C" >&6
10128 ac_check_lib_save_LIBS
=$LIBS
10130 if test x
$gcc_no_link = xyes
; then
10131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10133 { (exit 1); exit 1; }; }
10135 cat >conftest.
$ac_ext <<_ACEOF
10138 cat confdefs.h
>>conftest.
$ac_ext
10139 cat >>conftest.
$ac_ext <<_ACEOF
10140 /* end confdefs.h. */
10142 /* Override any gcc2 internal prototype to avoid an error. */
10146 /* We use char because int might match the return type of a gcc2
10147 builtin and then its argument prototype would still apply. */
10157 rm -f conftest.
$ac_objext conftest
$ac_exeext
10158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10159 (eval $ac_link) 2>conftest.er1
10161 grep -v '^ *+' conftest.er1
>conftest.err
10163 cat conftest.err
>&5
10164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10165 (exit $ac_status); } &&
10166 { ac_try
='test -z "$ac_c_werror_flag"
10167 || test ! -s conftest.err'
10168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10169 (eval $ac_try) 2>&5
10171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10172 (exit $ac_status); }; } &&
10173 { ac_try
='test -s conftest$ac_exeext'
10174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10175 (eval $ac_try) 2>&5
10177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10178 (exit $ac_status); }; }; then
10179 ac_cv_lib_m_jnf
=yes
10181 echo "$as_me: failed program was:" >&5
10182 sed 's/^/| /' conftest.
$ac_ext >&5
10186 rm -f conftest.err conftest.
$ac_objext \
10187 conftest
$ac_exeext conftest.
$ac_ext
10188 LIBS
=$ac_check_lib_save_LIBS
10190 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
10191 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
10192 if test $ac_cv_lib_m_jnf = yes; then
10194 cat >>confdefs.h
<<\_ACEOF
10200 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
10201 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
10202 if test "${ac_cv_lib_m_y0+set}" = set; then
10203 echo $ECHO_N "(cached) $ECHO_C" >&6
10205 ac_check_lib_save_LIBS
=$LIBS
10207 if test x
$gcc_no_link = xyes
; then
10208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10210 { (exit 1); exit 1; }; }
10212 cat >conftest.
$ac_ext <<_ACEOF
10215 cat confdefs.h
>>conftest.
$ac_ext
10216 cat >>conftest.
$ac_ext <<_ACEOF
10217 /* end confdefs.h. */
10219 /* Override any gcc2 internal prototype to avoid an error. */
10223 /* We use char because int might match the return type of a gcc2
10224 builtin and then its argument prototype would still apply. */
10234 rm -f conftest.
$ac_objext conftest
$ac_exeext
10235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10236 (eval $ac_link) 2>conftest.er1
10238 grep -v '^ *+' conftest.er1
>conftest.err
10240 cat conftest.err
>&5
10241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10242 (exit $ac_status); } &&
10243 { ac_try
='test -z "$ac_c_werror_flag"
10244 || test ! -s conftest.err'
10245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10246 (eval $ac_try) 2>&5
10248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10249 (exit $ac_status); }; } &&
10250 { ac_try
='test -s conftest$ac_exeext'
10251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10252 (eval $ac_try) 2>&5
10254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10255 (exit $ac_status); }; }; then
10258 echo "$as_me: failed program was:" >&5
10259 sed 's/^/| /' conftest.
$ac_ext >&5
10263 rm -f conftest.err conftest.
$ac_objext \
10264 conftest
$ac_exeext conftest.
$ac_ext
10265 LIBS
=$ac_check_lib_save_LIBS
10267 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
10268 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
10269 if test $ac_cv_lib_m_y0 = yes; then
10271 cat >>confdefs.h
<<\_ACEOF
10277 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
10278 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
10279 if test "${ac_cv_lib_m_y0f+set}" = set; then
10280 echo $ECHO_N "(cached) $ECHO_C" >&6
10282 ac_check_lib_save_LIBS
=$LIBS
10284 if test x
$gcc_no_link = xyes
; then
10285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10287 { (exit 1); exit 1; }; }
10289 cat >conftest.
$ac_ext <<_ACEOF
10292 cat confdefs.h
>>conftest.
$ac_ext
10293 cat >>conftest.
$ac_ext <<_ACEOF
10294 /* end confdefs.h. */
10296 /* Override any gcc2 internal prototype to avoid an error. */
10300 /* We use char because int might match the return type of a gcc2
10301 builtin and then its argument prototype would still apply. */
10311 rm -f conftest.
$ac_objext conftest
$ac_exeext
10312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10313 (eval $ac_link) 2>conftest.er1
10315 grep -v '^ *+' conftest.er1
>conftest.err
10317 cat conftest.err
>&5
10318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10319 (exit $ac_status); } &&
10320 { ac_try
='test -z "$ac_c_werror_flag"
10321 || test ! -s conftest.err'
10322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10323 (eval $ac_try) 2>&5
10325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10326 (exit $ac_status); }; } &&
10327 { ac_try
='test -s conftest$ac_exeext'
10328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10329 (eval $ac_try) 2>&5
10331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10332 (exit $ac_status); }; }; then
10333 ac_cv_lib_m_y0f
=yes
10335 echo "$as_me: failed program was:" >&5
10336 sed 's/^/| /' conftest.
$ac_ext >&5
10340 rm -f conftest.err conftest.
$ac_objext \
10341 conftest
$ac_exeext conftest.
$ac_ext
10342 LIBS
=$ac_check_lib_save_LIBS
10344 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
10345 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
10346 if test $ac_cv_lib_m_y0f = yes; then
10348 cat >>confdefs.h
<<\_ACEOF
10354 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
10355 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
10356 if test "${ac_cv_lib_m_y1+set}" = set; then
10357 echo $ECHO_N "(cached) $ECHO_C" >&6
10359 ac_check_lib_save_LIBS
=$LIBS
10361 if test x
$gcc_no_link = xyes
; then
10362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10364 { (exit 1); exit 1; }; }
10366 cat >conftest.
$ac_ext <<_ACEOF
10369 cat confdefs.h
>>conftest.
$ac_ext
10370 cat >>conftest.
$ac_ext <<_ACEOF
10371 /* end confdefs.h. */
10373 /* Override any gcc2 internal prototype to avoid an error. */
10377 /* We use char because int might match the return type of a gcc2
10378 builtin and then its argument prototype would still apply. */
10388 rm -f conftest.
$ac_objext conftest
$ac_exeext
10389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10390 (eval $ac_link) 2>conftest.er1
10392 grep -v '^ *+' conftest.er1
>conftest.err
10394 cat conftest.err
>&5
10395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10396 (exit $ac_status); } &&
10397 { ac_try
='test -z "$ac_c_werror_flag"
10398 || test ! -s conftest.err'
10399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10400 (eval $ac_try) 2>&5
10402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403 (exit $ac_status); }; } &&
10404 { ac_try
='test -s conftest$ac_exeext'
10405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10406 (eval $ac_try) 2>&5
10408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10409 (exit $ac_status); }; }; then
10412 echo "$as_me: failed program was:" >&5
10413 sed 's/^/| /' conftest.
$ac_ext >&5
10417 rm -f conftest.err conftest.
$ac_objext \
10418 conftest
$ac_exeext conftest.
$ac_ext
10419 LIBS
=$ac_check_lib_save_LIBS
10421 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
10422 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
10423 if test $ac_cv_lib_m_y1 = yes; then
10425 cat >>confdefs.h
<<\_ACEOF
10431 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
10432 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
10433 if test "${ac_cv_lib_m_y1f+set}" = set; then
10434 echo $ECHO_N "(cached) $ECHO_C" >&6
10436 ac_check_lib_save_LIBS
=$LIBS
10438 if test x
$gcc_no_link = xyes
; then
10439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10441 { (exit 1); exit 1; }; }
10443 cat >conftest.
$ac_ext <<_ACEOF
10446 cat confdefs.h
>>conftest.
$ac_ext
10447 cat >>conftest.
$ac_ext <<_ACEOF
10448 /* end confdefs.h. */
10450 /* Override any gcc2 internal prototype to avoid an error. */
10454 /* We use char because int might match the return type of a gcc2
10455 builtin and then its argument prototype would still apply. */
10465 rm -f conftest.
$ac_objext conftest
$ac_exeext
10466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10467 (eval $ac_link) 2>conftest.er1
10469 grep -v '^ *+' conftest.er1
>conftest.err
10471 cat conftest.err
>&5
10472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10473 (exit $ac_status); } &&
10474 { ac_try
='test -z "$ac_c_werror_flag"
10475 || test ! -s conftest.err'
10476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10477 (eval $ac_try) 2>&5
10479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480 (exit $ac_status); }; } &&
10481 { ac_try
='test -s conftest$ac_exeext'
10482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10483 (eval $ac_try) 2>&5
10485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10486 (exit $ac_status); }; }; then
10487 ac_cv_lib_m_y1f
=yes
10489 echo "$as_me: failed program was:" >&5
10490 sed 's/^/| /' conftest.
$ac_ext >&5
10494 rm -f conftest.err conftest.
$ac_objext \
10495 conftest
$ac_exeext conftest.
$ac_ext
10496 LIBS
=$ac_check_lib_save_LIBS
10498 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
10499 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
10500 if test $ac_cv_lib_m_y1f = yes; then
10502 cat >>confdefs.h
<<\_ACEOF
10508 echo "$as_me:$LINENO: checking for yn in -lm" >&5
10509 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
10510 if test "${ac_cv_lib_m_yn+set}" = set; then
10511 echo $ECHO_N "(cached) $ECHO_C" >&6
10513 ac_check_lib_save_LIBS
=$LIBS
10515 if test x
$gcc_no_link = xyes
; then
10516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10518 { (exit 1); exit 1; }; }
10520 cat >conftest.
$ac_ext <<_ACEOF
10523 cat confdefs.h
>>conftest.
$ac_ext
10524 cat >>conftest.
$ac_ext <<_ACEOF
10525 /* end confdefs.h. */
10527 /* Override any gcc2 internal prototype to avoid an error. */
10531 /* We use char because int might match the return type of a gcc2
10532 builtin and then its argument prototype would still apply. */
10542 rm -f conftest.
$ac_objext conftest
$ac_exeext
10543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10544 (eval $ac_link) 2>conftest.er1
10546 grep -v '^ *+' conftest.er1
>conftest.err
10548 cat conftest.err
>&5
10549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10550 (exit $ac_status); } &&
10551 { ac_try
='test -z "$ac_c_werror_flag"
10552 || test ! -s conftest.err'
10553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10554 (eval $ac_try) 2>&5
10556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10557 (exit $ac_status); }; } &&
10558 { ac_try
='test -s conftest$ac_exeext'
10559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10560 (eval $ac_try) 2>&5
10562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10563 (exit $ac_status); }; }; then
10566 echo "$as_me: failed program was:" >&5
10567 sed 's/^/| /' conftest.
$ac_ext >&5
10571 rm -f conftest.err conftest.
$ac_objext \
10572 conftest
$ac_exeext conftest.
$ac_ext
10573 LIBS
=$ac_check_lib_save_LIBS
10575 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
10576 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
10577 if test $ac_cv_lib_m_yn = yes; then
10579 cat >>confdefs.h
<<\_ACEOF
10585 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
10586 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
10587 if test "${ac_cv_lib_m_ynf+set}" = set; then
10588 echo $ECHO_N "(cached) $ECHO_C" >&6
10590 ac_check_lib_save_LIBS
=$LIBS
10592 if test x
$gcc_no_link = xyes
; then
10593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10595 { (exit 1); exit 1; }; }
10597 cat >conftest.
$ac_ext <<_ACEOF
10600 cat confdefs.h
>>conftest.
$ac_ext
10601 cat >>conftest.
$ac_ext <<_ACEOF
10602 /* end confdefs.h. */
10604 /* Override any gcc2 internal prototype to avoid an error. */
10608 /* We use char because int might match the return type of a gcc2
10609 builtin and then its argument prototype would still apply. */
10619 rm -f conftest.
$ac_objext conftest
$ac_exeext
10620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10621 (eval $ac_link) 2>conftest.er1
10623 grep -v '^ *+' conftest.er1
>conftest.err
10625 cat conftest.err
>&5
10626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10627 (exit $ac_status); } &&
10628 { ac_try
='test -z "$ac_c_werror_flag"
10629 || test ! -s conftest.err'
10630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10631 (eval $ac_try) 2>&5
10633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10634 (exit $ac_status); }; } &&
10635 { ac_try
='test -s conftest$ac_exeext'
10636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10637 (eval $ac_try) 2>&5
10639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10640 (exit $ac_status); }; }; then
10641 ac_cv_lib_m_ynf
=yes
10643 echo "$as_me: failed program was:" >&5
10644 sed 's/^/| /' conftest.
$ac_ext >&5
10648 rm -f conftest.err conftest.
$ac_objext \
10649 conftest
$ac_exeext conftest.
$ac_ext
10650 LIBS
=$ac_check_lib_save_LIBS
10652 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
10653 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
10654 if test $ac_cv_lib_m_ynf = yes; then
10656 cat >>confdefs.h
<<\_ACEOF
10663 # Fallback in case isfinite is not available.
10664 echo "$as_me:$LINENO: checking for finite in -lm" >&5
10665 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
10666 if test "${ac_cv_lib_m_finite+set}" = set; then
10667 echo $ECHO_N "(cached) $ECHO_C" >&6
10669 ac_check_lib_save_LIBS
=$LIBS
10671 if test x
$gcc_no_link = xyes
; then
10672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10674 { (exit 1); exit 1; }; }
10676 cat >conftest.
$ac_ext <<_ACEOF
10679 cat confdefs.h
>>conftest.
$ac_ext
10680 cat >>conftest.
$ac_ext <<_ACEOF
10681 /* end confdefs.h. */
10683 /* Override any gcc2 internal prototype to avoid an error. */
10687 /* We use char because int might match the return type of a gcc2
10688 builtin and then its argument prototype would still apply. */
10698 rm -f conftest.
$ac_objext conftest
$ac_exeext
10699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10700 (eval $ac_link) 2>conftest.er1
10702 grep -v '^ *+' conftest.er1
>conftest.err
10704 cat conftest.err
>&5
10705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10706 (exit $ac_status); } &&
10707 { ac_try
='test -z "$ac_c_werror_flag"
10708 || test ! -s conftest.err'
10709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10710 (eval $ac_try) 2>&5
10712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); }; } &&
10714 { ac_try
='test -s conftest$ac_exeext'
10715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10716 (eval $ac_try) 2>&5
10718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10719 (exit $ac_status); }; }; then
10720 ac_cv_lib_m_finite
=yes
10722 echo "$as_me: failed program was:" >&5
10723 sed 's/^/| /' conftest.
$ac_ext >&5
10725 ac_cv_lib_m_finite
=no
10727 rm -f conftest.err conftest.
$ac_objext \
10728 conftest
$ac_exeext conftest.
$ac_ext
10729 LIBS
=$ac_check_lib_save_LIBS
10731 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
10732 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
10733 if test $ac_cv_lib_m_finite = yes; then
10735 cat >>confdefs.h
<<\_ACEOF
10736 #define HAVE_FINITE 1
10742 # Let the user override this
10743 # Check whether --enable-cmath or --disable-cmath was given.
10744 if test "${enable_cmath+set}" = set; then
10745 enableval
="$enable_cmath"
10746 need_math
=$enableval
10748 if test "$need_math" = "yes"; then
10749 { echo "$as_me:$LINENO: Including complex math functions in libgfor" >&5
10750 echo "$as_me: Including complex math functions in libgfor" >&6;};
10751 extra_math_obj
='$(gfor_cmath_obj)'
10754 MATH_OBJ
="$extra_math_obj"
10757 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
10758 # for struct timezone, as you might think. We also need to check how
10759 # to call gettimeofday if we have it.
10760 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10761 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
10762 if test "${ac_cv_header_time+set}" = set; then
10763 echo $ECHO_N "(cached) $ECHO_C" >&6
10765 cat >conftest.
$ac_ext <<_ACEOF
10768 cat confdefs.h
>>conftest.
$ac_ext
10769 cat >>conftest.
$ac_ext <<_ACEOF
10770 /* end confdefs.h. */
10771 #include <sys/types.h>
10772 #include <sys/time.h>
10778 if ((struct tm *) 0)
10784 rm -f conftest.
$ac_objext
10785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10786 (eval $ac_compile) 2>conftest.er1
10788 grep -v '^ *+' conftest.er1
>conftest.err
10790 cat conftest.err
>&5
10791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10792 (exit $ac_status); } &&
10793 { ac_try
='test -z "$ac_c_werror_flag"
10794 || test ! -s conftest.err'
10795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10796 (eval $ac_try) 2>&5
10798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10799 (exit $ac_status); }; } &&
10800 { ac_try
='test -s conftest.$ac_objext'
10801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10802 (eval $ac_try) 2>&5
10804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10805 (exit $ac_status); }; }; then
10806 ac_cv_header_time
=yes
10808 echo "$as_me: failed program was:" >&5
10809 sed 's/^/| /' conftest.
$ac_ext >&5
10811 ac_cv_header_time
=no
10813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10815 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10816 echo "${ECHO_T}$ac_cv_header_time" >&6
10817 if test $ac_cv_header_time = yes; then
10819 cat >>confdefs.h
<<\_ACEOF
10820 #define TIME_WITH_SYS_TIME 1
10827 for ac_func
in gettimeofday
10829 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10830 echo "$as_me:$LINENO: checking for $ac_func" >&5
10831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10832 if eval "test \"\${$as_ac_var+set}\" = set"; then
10833 echo $ECHO_N "(cached) $ECHO_C" >&6
10835 if test x
$gcc_no_link = xyes
; then
10836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10838 { (exit 1); exit 1; }; }
10840 cat >conftest.
$ac_ext <<_ACEOF
10843 cat confdefs.h
>>conftest.
$ac_ext
10844 cat >>conftest.
$ac_ext <<_ACEOF
10845 /* end confdefs.h. */
10846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10848 #define $ac_func innocuous_$ac_func
10850 /* System header to define __stub macros and hopefully few prototypes,
10851 which can conflict with char $ac_func (); below.
10852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10853 <limits.h> exists even on freestanding compilers. */
10856 # include <limits.h>
10858 # include <assert.h>
10863 /* Override any gcc2 internal prototype to avoid an error. */
10868 /* We use char because int might match the return type of a gcc2
10869 builtin and then its argument prototype would still apply. */
10871 /* The GNU C library defines this for functions which it implements
10872 to always fail with ENOSYS. Some functions are actually named
10873 something starting with __ and the normal name is an alias. */
10874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10877 char (*f) () = $ac_func;
10886 return f != $ac_func;
10891 rm -f conftest.
$ac_objext conftest
$ac_exeext
10892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10893 (eval $ac_link) 2>conftest.er1
10895 grep -v '^ *+' conftest.er1
>conftest.err
10897 cat conftest.err
>&5
10898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10899 (exit $ac_status); } &&
10900 { ac_try
='test -z "$ac_c_werror_flag"
10901 || test ! -s conftest.err'
10902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10903 (eval $ac_try) 2>&5
10905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10906 (exit $ac_status); }; } &&
10907 { ac_try
='test -s conftest$ac_exeext'
10908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10909 (eval $ac_try) 2>&5
10911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10912 (exit $ac_status); }; }; then
10913 eval "$as_ac_var=yes"
10915 echo "$as_me: failed program was:" >&5
10916 sed 's/^/| /' conftest.
$ac_ext >&5
10918 eval "$as_ac_var=no"
10920 rm -f conftest.err conftest.
$ac_objext \
10921 conftest
$ac_exeext conftest.
$ac_ext
10923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10925 if test `eval echo '${'$as_ac_var'}'` = yes; then
10926 cat >>confdefs.h
<<_ACEOF
10927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10933 if test "$ac_cv_func_gettimeofday" = yes; then
10934 echo "$as_me:$LINENO: checking for struct timezone" >&5
10935 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
10936 if test "${gfor_cv_struct_timezone+set}" = set; then
10937 echo $ECHO_N "(cached) $ECHO_C" >&6
10939 cat >conftest.
$ac_ext <<_ACEOF
10942 cat confdefs.h
>>conftest.
$ac_ext
10943 cat >>conftest.
$ac_ext <<_ACEOF
10944 /* end confdefs.h. */
10945 #include <sys/time.h>
10949 struct timezone tz;
10954 rm -f conftest.
$ac_objext
10955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10956 (eval $ac_compile) 2>conftest.er1
10958 grep -v '^ *+' conftest.er1
>conftest.err
10960 cat conftest.err
>&5
10961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10962 (exit $ac_status); } &&
10963 { ac_try
='test -z "$ac_c_werror_flag"
10964 || test ! -s conftest.err'
10965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10966 (eval $ac_try) 2>&5
10968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10969 (exit $ac_status); }; } &&
10970 { ac_try
='test -s conftest.$ac_objext'
10971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10972 (eval $ac_try) 2>&5
10974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975 (exit $ac_status); }; }; then
10976 gfor_cv_struct_timezone
=yes
10978 echo "$as_me: failed program was:" >&5
10979 sed 's/^/| /' conftest.
$ac_ext >&5
10981 gfor_cv_struct_timezone
=no
10983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10985 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
10986 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
10987 if test $gfor_cv_struct_timezone = yes; then
10988 if test "$cross_compiling" = yes; then
10989 gfor_have_struct_timezone
=yes
10991 cat >conftest.
$ac_ext <<_ACEOF
10994 cat confdefs.h
>>conftest.
$ac_ext
10995 cat >>conftest.
$ac_ext <<_ACEOF
10996 /* end confdefs.h. */
10998 #ifdef TIME_WITH_SYS_TIME
10999 #include <sys/time.h>
11002 #ifdef HAVE_SYS_TIME_H
11003 #include <sys/time.h>
11010 struct timeval time;
11011 struct timezone dummy;
11012 if (gettimeofday (&time, &dummy))
11018 rm -f conftest
$ac_exeext
11019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11020 (eval $ac_link) 2>&5
11022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11023 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11025 (eval $ac_try) 2>&5
11027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028 (exit $ac_status); }; }; then
11029 gfor_have_struct_timezone
=yes
11031 echo "$as_me: program exited with status $ac_status" >&5
11032 echo "$as_me: failed program was:" >&5
11033 sed 's/^/| /' conftest.
$ac_ext >&5
11035 ( exit $ac_status )
11036 gfor_have_struct_timezone
=no
11038 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11040 if test $gfor_have_struct_timezone = yes; then
11042 cat >>confdefs.h
<<\_ACEOF
11043 #define HAVE_TIMEZONE 1
11049 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
11050 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
11051 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11052 echo $ECHO_N "(cached) $ECHO_C" >&6
11054 if test x
$gcc_no_link = xyes
; then
11055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11057 { (exit 1); exit 1; }; }
11059 cat >conftest.
$ac_ext <<_ACEOF
11062 cat confdefs.h
>>conftest.
$ac_ext
11063 cat >>conftest.
$ac_ext <<_ACEOF
11064 /* end confdefs.h. */
11066 #ifdef TIME_WITH_SYS_TIME
11067 #include <sys/time.h>
11070 #ifdef HAVE_SYS_TIME_H
11071 #include <sys/time.h>
11081 struct timeval time;
11082 #ifdef HAVE_TIMEZONE
11083 struct timezone dummy;
11084 #define DUMMY &dummy
11088 gettimeofday (&time, DUMMY);
11093 rm -f conftest.
$ac_objext conftest
$ac_exeext
11094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11095 (eval $ac_link) 2>conftest.er1
11097 grep -v '^ *+' conftest.er1
>conftest.err
11099 cat conftest.err
>&5
11100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11101 (exit $ac_status); } &&
11102 { ac_try
='test -z "$ac_c_werror_flag"
11103 || test ! -s conftest.err'
11104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11105 (eval $ac_try) 2>&5
11107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11108 (exit $ac_status); }; } &&
11109 { ac_try
='test -s conftest$ac_exeext'
11110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11111 (eval $ac_try) 2>&5
11113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11114 (exit $ac_status); }; }; then
11115 emacs_cv_gettimeofday_two_arguments
=yes
11117 echo "$as_me: failed program was:" >&5
11118 sed 's/^/| /' conftest.
$ac_ext >&5
11120 emacs_cv_gettimeofday_two_arguments
=no
11122 rm -f conftest.err conftest.
$ac_objext \
11123 conftest
$ac_exeext conftest.
$ac_ext
11125 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
11126 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11127 if test $emacs_cv_gettimeofday_two_arguments = no
; then
11129 cat >>confdefs.h
<<\_ACEOF
11130 #define GETTIMEOFDAY_ONE_ARGUMENT 1
11136 # Attempt to assert that the target is of common type in case we don't
11137 # have C99 integer types at all.
11139 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
11140 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
11141 if test "${target_ilp32+set}" = set; then
11142 echo $ECHO_N "(cached) $ECHO_C" >&6
11145 save_CFLAGS
="$CFLAGS"
11147 if test x
$gcc_no_link = xyes
; then
11148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11150 { (exit 1); exit 1; }; }
11152 cat >conftest.
$ac_ext <<_ACEOF
11155 cat confdefs.h
>>conftest.
$ac_ext
11156 cat >>conftest.
$ac_ext <<_ACEOF
11157 /* end confdefs.h. */
11163 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
11166 undefined_function ();
11172 rm -f conftest.
$ac_objext conftest
$ac_exeext
11173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11174 (eval $ac_link) 2>conftest.er1
11176 grep -v '^ *+' conftest.er1
>conftest.err
11178 cat conftest.err
>&5
11179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11180 (exit $ac_status); } &&
11181 { ac_try
='test -z "$ac_c_werror_flag"
11182 || test ! -s conftest.err'
11183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11184 (eval $ac_try) 2>&5
11186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11187 (exit $ac_status); }; } &&
11188 { ac_try
='test -s conftest$ac_exeext'
11189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11190 (eval $ac_try) 2>&5
11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); }; }; then
11196 echo "$as_me: failed program was:" >&5
11197 sed 's/^/| /' conftest.
$ac_ext >&5
11201 rm -f conftest.err conftest.
$ac_objext \
11202 conftest
$ac_exeext conftest.
$ac_ext
11203 CFLAGS
="$save_CFLAGS"
11205 echo "$as_me:$LINENO: result: $target_ilp32" >&5
11206 echo "${ECHO_T}$target_ilp32" >&6
11207 if test $target_ilp32 = yes; then
11209 cat >>confdefs.h
<<\_ACEOF
11210 #define TARGET_ILP32 1
11216 cat >confcache
<<\_ACEOF
11217 # This file is a shell script that caches the results of configure
11218 # tests run on this system so they can be shared between configure
11219 # scripts and configure runs, see configure's option --config-cache.
11220 # It is not useful on other systems. If it contains results you don't
11221 # want to keep, you may remove or edit it.
11223 # config.status only pays attention to the cache file if you give it
11224 # the --recheck option to rerun configure.
11226 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11227 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11228 # following values.
11232 # The following way of writing the cache mishandles newlines in values,
11233 # but we know of no workaround that is simple, portable, and efficient.
11234 # So, don't put newlines in cache variables' values.
11235 # Ultrix sh set writes to stderr and can't be redirected directly,
11236 # and sets the high bit in the cache file unless we assign to the vars.
11239 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11241 # `set' does not quote correctly, so add quotes (double-quote
11242 # substitution turns \\\\ into \\, and sed turns \\ into \).
11245 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11248 # `set' quotes correctly as required by POSIX, so do not add quotes.
11250 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11257 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11259 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11261 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11262 if test -w $cache_file; then
11263 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11264 cat confcache
>$cache_file
11266 echo "not updating unwritable cache $cache_file"
11271 if test ${multilib} = yes; then
11272 multilib_arg
="--enable-multilib"
11277 # Write our Makefile.
11278 ac_config_files
="$ac_config_files Makefile"
11280 cat >confcache
<<\_ACEOF
11281 # This file is a shell script that caches the results of configure
11282 # tests run on this system so they can be shared between configure
11283 # scripts and configure runs, see configure's option --config-cache.
11284 # It is not useful on other systems. If it contains results you don't
11285 # want to keep, you may remove or edit it.
11287 # config.status only pays attention to the cache file if you give it
11288 # the --recheck option to rerun configure.
11290 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11291 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11292 # following values.
11296 # The following way of writing the cache mishandles newlines in values,
11297 # but we know of no workaround that is simple, portable, and efficient.
11298 # So, don't put newlines in cache variables' values.
11299 # Ultrix sh set writes to stderr and can't be redirected directly,
11300 # and sets the high bit in the cache file unless we assign to the vars.
11303 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11305 # `set' does not quote correctly, so add quotes (double-quote
11306 # substitution turns \\\\ into \\, and sed turns \\ into \).
11309 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11312 # `set' quotes correctly as required by POSIX, so do not add quotes.
11314 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11321 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11323 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11325 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11326 if test -w $cache_file; then
11327 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11328 cat confcache
>$cache_file
11330 echo "not updating unwritable cache $cache_file"
11335 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11336 # Let make expand exec_prefix.
11337 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11339 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11340 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11341 # trailing colons and then remove the whole line if VPATH becomes empty
11342 # (actually we leave an empty line to preserve line numbers).
11343 if test "x$srcdir" = x.
; then
11344 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
11345 s/:*\$(srcdir):*/:/;
11346 s/:*\${srcdir}:*/:/;
11348 s/^\([^=]*=[ ]*\):*/\1/;
11354 DEFS
=-DHAVE_CONFIG_H
11358 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11359 # 1. Remove the extension, and $U if already installed.
11360 ac_i
=`echo "$ac_i" |
11361 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11363 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
11364 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
11366 LIBOBJS
=$ac_libobjs
11368 LTLIBOBJS
=$ac_ltlibobjs
11371 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11372 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11373 Usually this means the macro was only invoked conditionally." >&5
11374 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11375 Usually this means the macro was only invoked conditionally." >&2;}
11376 { (exit 1); exit 1; }; }
11379 : ${CONFIG_STATUS=./config.status}
11380 ac_clean_files_save
=$ac_clean_files
11381 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11382 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11383 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11384 cat >$CONFIG_STATUS <<_ACEOF
11386 # Generated by $as_me.
11387 # Run this file to recreate the current configuration.
11388 # Compiler output produced by configure, useful for debugging
11389 # configure, is in config.log if it exists.
11392 ac_cs_recheck=false
11394 SHELL=\${CONFIG_SHELL-$SHELL}
11397 cat >>$CONFIG_STATUS <<\_ACEOF
11398 ## --------------------- ##
11399 ## M4sh Initialization. ##
11400 ## --------------------- ##
11402 # Be Bourne compatible
11403 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
11406 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11407 # is contrary to our usage. Disable this feature.
11408 alias -g '${1+"$@"}'='"$@"'
11409 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
11412 DUALCASE
=1; export DUALCASE
# for MKS sh
11414 # Support unset when possible.
11415 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
11422 # Work around bugs in pre-3.0 UWIN ksh.
11423 $as_unset ENV MAIL MAILPATH
11430 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11431 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11432 LC_TELEPHONE LC_TIME
11434 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11435 eval $as_var=C
; export $as_var
11441 # Required to use basename.
11442 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11448 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
11449 as_basename
=basename
11455 # Name of the executable.
11456 as_me
=`$as_basename "$0" ||
11457 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11458 X"$0" : 'X\(//\)$' \| \
11459 X"$0" : 'X\(/\)$' \| \
11460 . : '\(.\)' 2>/dev/null ||
11462 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11463 /^X\/\(\/\/\)$/{ s//\1/; q; }
11464 /^X\/\(\/\).*/{ s//\1/; q; }
11468 # PATH needs CR, and LINENO needs CR and PATH.
11469 # Avoid depending upon Character Ranges.
11470 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11471 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11472 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11473 as_cr_digits
='0123456789'
11474 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11476 # The user is always right.
11477 if test "${PATH_SEPARATOR+set}" != set; then
11478 echo "#! /bin/sh" >conf$$.sh
11479 echo "exit 0" >>conf$$.sh
11481 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11490 as_lineno_1
=$LINENO
11491 as_lineno_2
=$LINENO
11492 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
11493 test "x$as_lineno_1" != "x$as_lineno_2" &&
11494 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
11495 # Find who we are. Look in the path if we contain no path at all
11498 *[\\/]* ) as_myself
=$0 ;;
11499 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11500 for as_dir
in $PATH
11503 test -z "$as_dir" && as_dir
=.
11504 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
11509 # We did not find ourselves, most probably we were run as `sh COMMAND'
11510 # in which case we are not to be found in the path.
11511 if test "x$as_myself" = x
; then
11514 if test ! -f "$as_myself"; then
11515 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11516 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11517 { (exit 1); exit 1; }; }
11519 case $CONFIG_SHELL in
11521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11522 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
11525 test -z "$as_dir" && as_dir
=.
11526 for as_base
in sh bash ksh sh5
; do
11529 if ("$as_dir/$as_base" -c '
11530 as_lineno_1=$LINENO
11531 as_lineno_2=$LINENO
11532 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11533 test "x$as_lineno_1" != "x$as_lineno_2" &&
11534 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
11535 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
11536 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
11537 CONFIG_SHELL
=$as_dir/$as_base
11538 export CONFIG_SHELL
11539 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11547 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11548 # uniformly replaced by the line number. The first 'sed' inserts a
11549 # line-number line before each line; the second 'sed' does the real
11550 # work. The second script uses 'N' to pair each line-number line
11551 # with the numbered line, and appends trailing '-' during
11552 # substitution so that $LINENO is not a special case at line end.
11553 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11554 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11555 sed '=' <$as_myself |
11560 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11563 s,^['$as_cr_digits']*\n,,
11564 ' >$as_me.lineno
&&
11565 chmod +x
$as_me.lineno ||
11566 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11567 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11568 { (exit 1); exit 1; }; }
11570 # Don't try to exec as it changes $[0], causing all sort of problems
11571 # (the dirname of $[0] is not the place where we might find the
11572 # original and so on. Autoconf is especially sensible to this).
11574 # Exit status is that of the last command.
11579 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11580 *c
*,-n*) ECHO_N
= ECHO_C
='
11582 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
11583 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
11586 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11592 rm -f conf$$ conf$$.exe conf$$.
file
11594 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11595 # We could just check for DJGPP; but this test a) works b) is more generic
11596 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11597 if test -f conf$$.exe
; then
11598 # Don't use ln at all; we don't have any links
11603 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11608 rm -f conf$$ conf$$.exe conf$$.
file
11610 if mkdir
-p .
2>/dev
/null
; then
11613 test -d .
/-p && rmdir .
/-p
11617 as_executable_p
="test -f"
11619 # Sed expression to map a string onto a valid CPP name.
11620 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11622 # Sed expression to map a string onto a valid variable name.
11623 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11627 # We need space, tab and new line, in precisely that order.
11637 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11638 # report actual input values of CONFIG_FILES etc. instead of their
11639 # values after options handling. Logging --version etc. is OK.
11643 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11644 ## Running $as_me. ##
11649 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
11650 generated by GNU Autoconf 2.59. Invocation command line was
11652 CONFIG_FILES = $CONFIG_FILES
11653 CONFIG_HEADERS = $CONFIG_HEADERS
11654 CONFIG_LINKS = $CONFIG_LINKS
11655 CONFIG_COMMANDS = $CONFIG_COMMANDS
11659 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11663 # Files that config.status was made for.
11664 if test -n "$ac_config_files"; then
11665 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11668 if test -n "$ac_config_headers"; then
11669 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11672 if test -n "$ac_config_links"; then
11673 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11676 if test -n "$ac_config_commands"; then
11677 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11680 cat >>$CONFIG_STATUS <<\_ACEOF
11683 \`$as_me' instantiates files from templates according to the
11684 current configuration.
11686 Usage: $0 [OPTIONS] [FILE]...
11688 -h, --help print this help, then exit
11689 -V, --version print version number, then exit
11690 -q, --quiet do not print progress messages
11691 -d, --debug don't remove temporary files
11692 --recheck update $as_me by reconfiguring in the same conditions
11693 --file=FILE[:TEMPLATE]
11694 instantiate the configuration file FILE
11695 --header=FILE[:TEMPLATE]
11696 instantiate the configuration header FILE
11698 Configuration files:
11701 Configuration headers:
11704 Configuration commands:
11707 Report bugs to <bug-autoconf@gnu.org>."
11710 cat >>$CONFIG_STATUS <<_ACEOF
11712 GNU Fortran Runtime Library config.status 0.2
11713 configured by $0, generated by GNU Autoconf 2.59,
11714 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11716 Copyright (C) 2003 Free Software Foundation, Inc.
11717 This config.status script is free software; the Free Software Foundation
11718 gives unlimited permission to copy, distribute and modify it."
11723 cat >>$CONFIG_STATUS <<\_ACEOF
11724 # If no file are specified by the user, then we need to provide default
11725 # value. By we need to know if files were specified by the user.
11731 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
11732 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
11740 *) # This is not an option, so the user has probably given explicit
11743 ac_need_defaults
=false
;;
11747 # Handling of the options.
11749 cat >>$CONFIG_STATUS <<\_ACEOF
11750 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11752 --version |
--vers* |
-V )
11753 echo "$ac_cs_version"; exit 0 ;;
11755 # Conflict between --help and --header
11756 { { echo "$as_me:$LINENO: error: ambiguous option: $1
11757 Try \`$0 --help' for more information." >&5
11758 echo "$as_me: error: ambiguous option: $1
11759 Try \`$0 --help' for more information." >&2;}
11760 { (exit 1); exit 1; }; };;
11761 --help |
--hel |
-h )
11762 echo "$ac_cs_usage"; exit 0 ;;
11763 --debug |
--d* |
-d )
11765 --file |
--fil |
--fi |
--f )
11767 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
11768 ac_need_defaults
=false
;;
11769 --header |
--heade |
--head |
--hea )
11771 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
11772 ac_need_defaults
=false
;;
11773 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11774 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11777 # This is an error.
11778 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11779 Try \`$0 --help' for more information." >&5
11780 echo "$as_me: error: unrecognized option: $1
11781 Try \`$0 --help' for more information." >&2;}
11782 { (exit 1); exit 1; }; } ;;
11784 *) ac_config_targets
="$ac_config_targets $1" ;;
11790 ac_configure_extra_args
=
11792 if $ac_cs_silent; then
11794 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11798 cat >>$CONFIG_STATUS <<_ACEOF
11799 if \$ac_cs_recheck; then
11800 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11801 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11806 cat >>$CONFIG_STATUS <<_ACEOF
11808 # INIT-COMMANDS section.
11815 with_multisubdir="$with_multisubdir"
11816 with_multisrctop="$with_multisrctop"
11817 with_target_subdir="$with_target_subdir"
11818 ac_configure_args="${multilib_arg} ${ac_configure_args}"
11819 multi_basedir="$multi_basedir"
11820 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
11827 cat >>$CONFIG_STATUS <<\_ACEOF
11828 for ac_config_target
in $ac_config_targets
11830 case "$ac_config_target" in
11831 # Handling of arguments.
11832 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11833 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
11834 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
11835 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11836 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11837 { (exit 1); exit 1; }; };;
11841 # If the user did not use the arguments to specify the items to instantiate,
11842 # then the envvar interface is used. Set only those that are not.
11843 # We use the long form for the default assignment because of an extremely
11844 # bizarre bug on SunOS 4.1.3.
11845 if $ac_need_defaults; then
11846 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11847 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11848 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11851 # Have a temporary directory for convenience. Make it in the build tree
11852 # simply because there is no reason to put it here, and in addition,
11853 # creating and moving files from /tmp can sometimes cause problems.
11854 # Create a temporary directory, and hook for its removal unless debugging.
11857 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11858 trap '{ (exit 1); exit 1; }' 1 2 13 15
11861 # Create a (secure) tmp directory for tmp files.
11864 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11865 test -n "$tmp" && test -d "$tmp"
11868 tmp
=.
/confstat$$
-$RANDOM
11869 (umask 077 && mkdir
$tmp)
11872 echo "$me: cannot create a temporary directory in ." >&2
11873 { (exit 1); exit 1; }
11878 cat >>$CONFIG_STATUS <<_ACEOF
11881 # CONFIG_FILES section.
11884 # No need to generate the scripts if there are no CONFIG_FILES.
11885 # This happens for instance when ./config.status config.h
11886 if test -n "\$CONFIG_FILES"; then
11887 # Protect against being on the right side of a sed subst in config.status.
11888 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11889 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11890 s,@SHELL@,$SHELL,;t t
11891 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11892 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11893 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11894 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11895 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11896 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11897 s,@exec_prefix@,$exec_prefix,;t t
11898 s,@prefix@,$prefix,;t t
11899 s,@program_transform_name@,$program_transform_name,;t t
11900 s,@bindir@,$bindir,;t t
11901 s,@sbindir@,$sbindir,;t t
11902 s,@libexecdir@,$libexecdir,;t t
11903 s,@datadir@,$datadir,;t t
11904 s,@sysconfdir@,$sysconfdir,;t t
11905 s,@sharedstatedir@,$sharedstatedir,;t t
11906 s,@localstatedir@,$localstatedir,;t t
11907 s,@libdir@,$libdir,;t t
11908 s,@includedir@,$includedir,;t t
11909 s,@oldincludedir@,$oldincludedir,;t t
11910 s,@infodir@,$infodir,;t t
11911 s,@mandir@,$mandir,;t t
11912 s,@build_alias@,$build_alias,;t t
11913 s,@host_alias@,$host_alias,;t t
11914 s,@target_alias@,$target_alias,;t t
11915 s,@DEFS@,$DEFS,;t t
11916 s,@ECHO_C@,$ECHO_C,;t t
11917 s,@ECHO_N@,$ECHO_N,;t t
11918 s,@ECHO_T@,$ECHO_T,;t t
11919 s,@LIBS@,$LIBS,;t t
11920 s,@build@,$build,;t t
11921 s,@build_cpu@,$build_cpu,;t t
11922 s,@build_vendor@,$build_vendor,;t t
11923 s,@build_os@,$build_os,;t t
11924 s,@host@,$host,;t t
11925 s,@host_cpu@,$host_cpu,;t t
11926 s,@host_vendor@,$host_vendor,;t t
11927 s,@host_os@,$host_os,;t t
11928 s,@target@,$target,;t t
11929 s,@target_cpu@,$target_cpu,;t t
11930 s,@target_vendor@,$target_vendor,;t t
11931 s,@target_os@,$target_os,;t t
11932 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11933 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
11934 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
11935 s,@CYGPATH_W@,$CYGPATH_W,;t t
11936 s,@PACKAGE@,$PACKAGE,;t t
11937 s,@VERSION@,$VERSION,;t t
11938 s,@ACLOCAL@,$ACLOCAL,;t t
11939 s,@AUTOCONF@,$AUTOCONF,;t t
11940 s,@AUTOMAKE@,$AUTOMAKE,;t t
11941 s,@AUTOHEADER@,$AUTOHEADER,;t t
11942 s,@MAKEINFO@,$MAKEINFO,;t t
11943 s,@install_sh@,$install_sh,;t t
11944 s,@STRIP@,$STRIP,;t t
11945 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
11946 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
11947 s,@mkdir_p@,$mkdir_p,;t t
11949 s,@SET_MAKE@,$SET_MAKE,;t t
11950 s,@am__leading_dot@,$am__leading_dot,;t t
11951 s,@AMTAR@,$AMTAR,;t t
11952 s,@am__tar@,$am__tar,;t t
11953 s,@am__untar@,$am__untar,;t t
11954 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
11955 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
11956 s,@MAINT@,$MAINT,;t t
11957 s,@multi_basedir@,$multi_basedir,;t t
11958 s,@gcc_version_trigger@,$gcc_version_trigger,;t t
11959 s,@gcc_version_full@,$gcc_version_full,;t t
11960 s,@gcc_version@,$gcc_version,;t t
11961 s,@toolexecdir@,$toolexecdir,;t t
11962 s,@toolexeclibdir@,$toolexeclibdir,;t t
11964 s,@ac_ct_CC@,$ac_ct_CC,;t t
11965 s,@EXEEXT@,$EXEEXT,;t t
11966 s,@OBJEXT@,$OBJEXT,;t t
11967 s,@CFLAGS@,$CFLAGS,;t t
11969 s,@ac_ct_AS@,$ac_ct_AS,;t t
11971 s,@ac_ct_AR@,$ac_ct_AR,;t t
11972 s,@RANLIB@,$RANLIB,;t t
11973 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
11974 s,@LN_S@,$LN_S,;t t
11975 s,@LIBTOOL@,$LIBTOOL,;t t
11976 s,@enable_shared@,$enable_shared,;t t
11977 s,@enable_static@,$enable_static,;t t
11979 s,@FCFLAGS@,$FCFLAGS,;t t
11980 s,@LDFLAGS@,$LDFLAGS,;t t
11981 s,@ac_ct_FC@,$ac_ct_FC,;t t
11983 s,@CPPFLAGS@,$CPPFLAGS,;t t
11984 s,@EGREP@,$EGREP,;t t
11985 s,@MATH_OBJ@,$MATH_OBJ,;t t
11986 s,@LIBOBJS@,$LIBOBJS,;t t
11987 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
11992 cat >>$CONFIG_STATUS <<\_ACEOF
11993 # Split the substitutions into bite-sized pieces for seds with
11994 # small command number limits, like on Digital OSF/1 and HP-UX.
11995 ac_max_sed_lines
=48
11996 ac_sed_frag
=1 # Number of current file.
11997 ac_beg
=1 # First line for current file.
11998 ac_end
=$ac_max_sed_lines # Line after last line for current file.
12001 while $ac_more_lines; do
12002 if test $ac_beg -gt 1; then
12003 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12005 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12007 if test ! -s $tmp/subs.frag
; then
12008 ac_more_lines
=false
12010 # The purpose of the label and of the branching condition is to
12011 # speed up the sed processing (if there are no `@' at all, there
12012 # is no need to browse any of the substitutions).
12013 # These are the two extra sed commands mentioned above.
12015 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
12016 if test -z "$ac_sed_cmds"; then
12017 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
12019 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12021 ac_sed_frag
=`expr $ac_sed_frag + 1`
12023 ac_end
=`expr $ac_end + $ac_max_sed_lines`
12026 if test -z "$ac_sed_cmds"; then
12029 fi # test -n "$CONFIG_FILES"
12032 cat >>$CONFIG_STATUS <<\_ACEOF
12033 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
12034 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12036 - |
*:- |
*:-:* ) # input from stdin
12038 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12039 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12040 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12041 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12042 * ) ac_file_in
=$ac_file.
in ;;
12045 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12046 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12047 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12048 X"$ac_file" : 'X\(//\)[^/]' \| \
12049 X"$ac_file" : 'X\(//\)$' \| \
12050 X"$ac_file" : 'X\(/\)' \| \
12051 . : '\(.\)' 2>/dev/null ||
12053 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12054 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12055 /^X\(\/\/\)$/{ s//\1/; q; }
12056 /^X\(\/\).*/{ s//\1/; q; }
12058 { if $as_mkdir_p; then
12063 while test ! -d "$as_dir"; do
12064 as_dirs
="$as_dir $as_dirs"
12065 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12066 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12067 X"$as_dir" : 'X\(//\)[^/]' \| \
12068 X"$as_dir" : 'X\(//\)$' \| \
12069 X"$as_dir" : 'X\(/\)' \| \
12070 . : '\(.\)' 2>/dev/null ||
12072 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12073 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12074 /^X\(\/\/\)$/{ s//\1/; q; }
12075 /^X\(\/\).*/{ s//\1/; q; }
12078 test ! -n "$as_dirs" || mkdir
$as_dirs
12079 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12080 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12081 { (exit 1); exit 1; }; }; }
12085 if test "$ac_dir" != .
; then
12086 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12087 # A "../" for each directory in $ac_dir_suffix.
12088 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12090 ac_dir_suffix
= ac_top_builddir
=
12094 .
) # No --srcdir option. We are building in place.
12096 if test -z "$ac_top_builddir"; then
12099 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12101 [\\/]* | ?
:[\\/]* ) # Absolute path.
12102 ac_srcdir
=$srcdir$ac_dir_suffix;
12103 ac_top_srcdir
=$srcdir ;;
12104 *) # Relative path.
12105 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12106 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12109 # Do not use `cd foo && pwd` to compute absolute paths, because
12110 # the directories may not exist.
12112 .
) ac_abs_builddir
="$ac_dir";;
12115 .
) ac_abs_builddir
=`pwd`;;
12116 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12117 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12120 case $ac_abs_builddir in
12121 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12123 case ${ac_top_builddir}.
in
12124 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12125 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12126 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12129 case $ac_abs_builddir in
12130 .
) ac_abs_srcdir
=$ac_srcdir;;
12133 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12134 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12135 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12138 case $ac_abs_builddir in
12139 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12141 case $ac_top_srcdir in
12142 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12143 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12144 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12150 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12151 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
12154 if test x
"$ac_file" != x-
; then
12155 { echo "$as_me:$LINENO: creating $ac_file" >&5
12156 echo "$as_me: creating $ac_file" >&6;}
12159 # Let's still pretend it is `configure' which instantiates (i.e., don't
12160 # use $as_me), people would be surprised to read:
12161 # /* config.h. Generated by config.status. */
12162 if test x
"$ac_file" = x-
; then
12165 configure_input
="$ac_file. "
12167 configure_input
=$configure_input"Generated from `echo $ac_file_in |
12168 sed 's,.*/,,'` by configure."
12170 # First look for the input files in the build tree, otherwise in the
12172 ac_file_inputs
=`IFS=:
12173 for f in $ac_file_in; do
12175 -) echo $tmp/stdin ;;
12177 # Absolute (can't be DOS-style, as IFS=:)
12178 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12179 echo "$as_me: error: cannot find input file: $f" >&2;}
12180 { (exit 1); exit 1; }; }
12183 if test -f "$f"; then
12186 elif test -f "$srcdir/$f"; then
12191 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12192 echo "$as_me: error: cannot find input file: $f" >&2;}
12193 { (exit 1); exit 1; }; }
12196 done` ||
{ (exit 1); exit 1; }
12198 cat >>$CONFIG_STATUS <<_ACEOF
12202 cat >>$CONFIG_STATUS <<\_ACEOF
12204 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12205 s
,@configure_input@
,$configure_input,;t t
12206 s
,@srcdir@
,$ac_srcdir,;t t
12207 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
12208 s
,@top_srcdir@
,$ac_top_srcdir,;t t
12209 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
12210 s
,@builddir@
,$ac_builddir,;t t
12211 s
,@abs_builddir@
,$ac_abs_builddir,;t t
12212 s
,@top_builddir@
,$ac_top_builddir,;t t
12213 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
12214 s
,@INSTALL@
,$ac_INSTALL,;t t
12215 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12217 if test x"$ac_file" != x-; then
12218 mv $tmp/out $ac_file
12226 cat >>$CONFIG_STATUS <<\_ACEOF
12229 # CONFIG_HEADER section.
12232 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
12233 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12235 # ac_d sets the value in "#define NAME VALUE" lines.
12236 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12237 ac_dB
='[ ].*$,\1#\2'
12240 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12241 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12242 ac_uB
='$,\1#\2define\3'
12246 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
12247 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12249 - |
*:- |
*:-:* ) # input from stdin
12251 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12252 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12253 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12254 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12255 * ) ac_file_in
=$ac_file.
in ;;
12258 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
12259 echo "$as_me: creating $ac_file" >&6;}
12261 # First look for the input files in the build tree, otherwise in the
12263 ac_file_inputs
=`IFS=:
12264 for f in $ac_file_in; do
12266 -) echo $tmp/stdin ;;
12268 # Absolute (can't be DOS-style, as IFS=:)
12269 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12270 echo "$as_me: error: cannot find input file: $f" >&2;}
12271 { (exit 1); exit 1; }; }
12272 # Do quote $f, to prevent DOS paths from being IFS'd.
12275 if test -f "$f"; then
12278 elif test -f "$srcdir/$f"; then
12283 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12284 echo "$as_me: error: cannot find input file: $f" >&2;}
12285 { (exit 1); exit 1; }; }
12288 done` ||
{ (exit 1); exit 1; }
12289 # Remove the trailing spaces.
12290 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12294 # Transform confdefs.h into two sed scripts, `conftest.defines' and
12295 # `conftest.undefs', that substitutes the proper values into
12296 # config.h.in to produce config.h. The first handles `#define'
12297 # templates, and the second `#undef' templates.
12298 # And first: Protect against being on the right side of a sed subst in
12299 # config.status. Protect against being in an unquoted here document
12300 # in config.status.
12301 rm -f conftest.defines conftest.undefs
12302 # Using a here document instead of a string reduces the quoting nightmare.
12303 # Putting comments in sed scripts is not portable.
12305 # `end' is used to avoid that the second main sed command (meant for
12306 # 0-ary CPP macros) applies to n-ary macro definitions.
12307 # See the Autoconf documentation for `clear'.
12308 cat >confdef2sed.
sed <<\_ACEOF
12313 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12315 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12318 # If some macros were called several times there might be several times
12319 # the same #defines, which is useless. Nevertheless, we may not want to
12320 # sort them, since we want the *last* AC-DEFINE to be honored.
12321 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12322 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12323 rm -f confdef2sed.sed
12325 # This sed command replaces #undef with comments. This is necessary, for
12326 # example, in the case of _POSIX_SOURCE, which is predefined and required
12327 # on some systems where configure will not decide to define it.
12328 cat >>conftest.undefs <<\_ACEOF
12329 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12332 # Break up conftest.defines because some shells have a limit on the size
12333 # of here documents, and old seds have small limits too (100 cmds).
12334 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12335 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12336 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12337 echo ' :' >>$CONFIG_STATUS
12338 rm -f conftest.tail
12339 while grep . conftest.defines >/dev/null
12341 # Write a limited-size here document to $tmp/defines.sed.
12342 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12343 # Speed up: don't consider the non `#define' lines.
12344 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12345 # Work around the forget-to-reset-the-flag bug.
12346 echo 't clr' >>$CONFIG_STATUS
12347 echo ': clr' >>$CONFIG_STATUS
12348 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
12350 sed -f $tmp/defines.sed $tmp/in >$tmp/out
12352 mv $tmp/out $tmp/in
12354 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
12355 rm -f conftest.defines
12356 mv conftest.
tail conftest.defines
12358 rm -f conftest.defines
12359 echo ' fi # grep' >>$CONFIG_STATUS
12360 echo >>$CONFIG_STATUS
12362 # Break up conftest.undefs because some shells have a limit on the size
12363 # of here documents, and old seds have small limits too (100 cmds).
12364 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12365 rm -f conftest.
tail
12366 while grep . conftest.undefs
>/dev
/null
12368 # Write a limited-size here document to $tmp/undefs.sed.
12369 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12370 # Speed up: don't consider the non
`#undef'
12371 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12372 # Work around the forget-to-reset-the-flag bug.
12373 echo 't clr' >>$CONFIG_STATUS
12374 echo ': clr' >>$CONFIG_STATUS
12375 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12377 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12379 mv $tmp/out $tmp/in
12381 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12382 rm -f conftest.undefs
12383 mv conftest.tail conftest.undefs
12385 rm -f conftest.undefs
12387 cat >>$CONFIG_STATUS <<\_ACEOF
12388 # Let's still pretend it is `configure
' which instantiates (i.e., don't
12389 # use $as_me), people would be surprised to read:
12390 # /* config.h. Generated by config.status. */
12391 if test x
"$ac_file" = x-
; then
12392 echo "/* Generated by configure. */" >$tmp/config.h
12394 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12396 cat $tmp/in >>$tmp/config.h
12398 if test x
"$ac_file" != x-
; then
12399 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
12400 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12401 echo "$as_me: $ac_file is unchanged" >&6;}
12403 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12404 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12405 X"$ac_file" : 'X\(//\)[^/]' \| \
12406 X"$ac_file" : 'X\(//\)$' \| \
12407 X"$ac_file" : 'X\(/\)' \| \
12408 . : '\(.\)' 2>/dev/null ||
12410 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12411 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12412 /^X\(\/\/\)$/{ s//\1/; q; }
12413 /^X\(\/\).*/{ s//\1/; q; }
12415 { if $as_mkdir_p; then
12420 while test ! -d "$as_dir"; do
12421 as_dirs
="$as_dir $as_dirs"
12422 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12423 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12424 X"$as_dir" : 'X\(//\)[^/]' \| \
12425 X"$as_dir" : 'X\(//\)$' \| \
12426 X"$as_dir" : 'X\(/\)' \| \
12427 . : '\(.\)' 2>/dev/null ||
12429 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12430 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12431 /^X\(\/\/\)$/{ s//\1/; q; }
12432 /^X\(\/\).*/{ s//\1/; q; }
12435 test ! -n "$as_dirs" || mkdir
$as_dirs
12436 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12437 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12438 { (exit 1); exit 1; }; }; }
12441 mv $tmp/config.h
$ac_file
12445 rm -f $tmp/config.h
12447 # Compute $ac_file's index in $config_headers.
12449 for _am_header
in $config_headers :; do
12450 case $_am_header in
12451 $ac_file |
$ac_file:* )
12454 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
12457 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
12458 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12459 X$ac_file : 'X\(//\)[^/]' \| \
12460 X$ac_file : 'X\(//\)$' \| \
12461 X$ac_file : 'X\(/\)' \| \
12462 . : '\(.\)' 2>/dev/null ||
12464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12465 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12466 /^X\(\/\/\)$/{ s//\1/; q; }
12467 /^X\(\/\).*/{ s//\1/; q; }
12468 s/.*/./; q'`/stamp-h
$_am_stamp_count
12471 cat >>$CONFIG_STATUS <<\_ACEOF
12474 # CONFIG_COMMANDS section.
12476 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
12477 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
12478 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12479 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
12480 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12481 X"$ac_dest" : 'X\(//\)[^/]' \| \
12482 X"$ac_dest" : 'X\(//\)$' \| \
12483 X"$ac_dest" : 'X\(/\)' \| \
12484 . : '\(.\)' 2>/dev/null ||
12486 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12487 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12488 /^X\(\/\/\)$/{ s//\1/; q; }
12489 /^X\(\/\).*/{ s//\1/; q; }
12491 { if $as_mkdir_p; then
12496 while test ! -d "$as_dir"; do
12497 as_dirs
="$as_dir $as_dirs"
12498 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12499 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12500 X"$as_dir" : 'X\(//\)[^/]' \| \
12501 X"$as_dir" : 'X\(//\)$' \| \
12502 X"$as_dir" : 'X\(/\)' \| \
12503 . : '\(.\)' 2>/dev/null ||
12505 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12506 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12507 /^X\(\/\/\)$/{ s//\1/; q; }
12508 /^X\(\/\).*/{ s//\1/; q; }
12511 test ! -n "$as_dirs" || mkdir
$as_dirs
12512 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12513 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12514 { (exit 1); exit 1; }; }; }
12518 if test "$ac_dir" != .
; then
12519 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12520 # A "../" for each directory in $ac_dir_suffix.
12521 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12523 ac_dir_suffix
= ac_top_builddir
=
12527 .
) # No --srcdir option. We are building in place.
12529 if test -z "$ac_top_builddir"; then
12532 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12534 [\\/]* | ?
:[\\/]* ) # Absolute path.
12535 ac_srcdir
=$srcdir$ac_dir_suffix;
12536 ac_top_srcdir
=$srcdir ;;
12537 *) # Relative path.
12538 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12539 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12542 # Do not use `cd foo && pwd` to compute absolute paths, because
12543 # the directories may not exist.
12545 .
) ac_abs_builddir
="$ac_dir";;
12548 .
) ac_abs_builddir
=`pwd`;;
12549 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12550 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12553 case $ac_abs_builddir in
12554 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12556 case ${ac_top_builddir}.
in
12557 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12558 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12559 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12562 case $ac_abs_builddir in
12563 .
) ac_abs_srcdir
=$ac_srcdir;;
12566 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12567 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12568 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12571 case $ac_abs_builddir in
12572 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12574 case $ac_top_srcdir in
12575 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12576 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12577 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12582 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12583 echo "$as_me: executing $ac_dest commands" >&6;}
12586 # Only add multilib support code if we just rebuilt the top-level
12588 case " $CONFIG_FILES " in
12590 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
12597 cat >>$CONFIG_STATUS <<\_ACEOF
12599 { (exit 0); exit 0; }
12601 chmod +x
$CONFIG_STATUS
12602 ac_clean_files
=$ac_clean_files_save
12605 # configure is writing to config.log, and then calls config.status.
12606 # config.status does its own redirection, appending to config.log.
12607 # Unfortunately, on DOS this fails, as config.log is still kept open
12608 # by configure, so config.status won't be able to write to it; its
12609 # output is simply discarded. So we exec the FD to /dev/null,
12610 # effectively closing config.log, so it can be properly (re)opened and
12611 # appended to by config.status. When coming back to configure, we
12612 # need to make the FD available again.
12613 if test "$no_create" != yes; then
12615 ac_config_status_args
=
12616 test "$silent" = yes &&
12617 ac_config_status_args
="$ac_config_status_args --quiet"
12619 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
12621 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12622 # would make configure fail if this is the last instruction.
12623 $ac_cs_success ||
{ (exit 1); exit 1; }