2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.2.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME
='GNU Fortran Runtime Library'
269 PACKAGE_TARNAME
='libgfortran'
270 PACKAGE_VERSION
='0.2'
271 PACKAGE_STRING
='GNU Fortran Runtime Library 0.2'
274 # Factoring default headers for most tests.
275 ac_includes_default
="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran CPP CPPFLAGS EGREP MATH_OBJ LIBOBJS LTLIBOBJS'
314 # Initialize some variables set by options.
316 ac_init_version
=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name
=s
,x
,x
,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir
='${exec_prefix}/bin'
340 sbindir
='${exec_prefix}/sbin'
341 libexecdir
='${exec_prefix}/libexec'
342 datadir
='${prefix}/share'
343 sysconfdir
='${prefix}/etc'
344 sharedstatedir
='${prefix}/com'
345 localstatedir
='${prefix}/var'
346 libdir
='${exec_prefix}/lib'
347 includedir
='${prefix}/include'
348 oldincludedir
='/usr/include'
349 infodir
='${prefix}/info'
350 mandir
='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
370 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
373 -build |
--build |
--buil |
--bui |
--bu)
374 ac_prev
=build_alias
;;
375 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
376 build_alias
=$ac_optarg ;;
378 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
379 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
380 ac_prev
=cache_file
;;
381 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
382 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
383 cache_file
=$ac_optarg ;;
386 cache_file
=config.cache
;;
388 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
390 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
392 datadir
=$ac_optarg ;;
394 -disable-* |
--disable-*)
395 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* |
--enable-*)
404 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
417 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
418 |
--exec |
--exe |
--ex)
419 ac_prev
=exec_prefix
;;
420 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
421 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
422 |
--exec=* |
--exe=* |
--ex=*)
423 exec_prefix
=$ac_optarg ;;
425 -gas |
--gas |
--ga |
--g)
426 # Obsolete; use --with-gas.
429 -help |
--help |
--hel |
--he |
-h)
431 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
432 ac_init_help
=recursive
;;
433 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
434 ac_init_help
=short
;;
436 -host |
--host |
--hos |
--ho)
437 ac_prev
=host_alias
;;
438 -host=* |
--host=* |
--hos=* |
--ho=*)
439 host_alias
=$ac_optarg ;;
441 -includedir |
--includedir |
--includedi |
--included |
--include \
442 |
--includ |
--inclu |
--incl |
--inc)
443 ac_prev
=includedir
;;
444 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
445 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
446 includedir
=$ac_optarg ;;
448 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
450 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
451 infodir
=$ac_optarg ;;
453 -libdir |
--libdir |
--libdi |
--libd)
455 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
458 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
459 |
--libexe |
--libex |
--libe)
460 ac_prev
=libexecdir
;;
461 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
462 |
--libexe=* |
--libex=* |
--libe=*)
463 libexecdir
=$ac_optarg ;;
465 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
466 |
--localstate |
--localstat |
--localsta |
--localst \
467 |
--locals |
--local |
--loca |
--loc |
--lo)
468 ac_prev
=localstatedir
;;
469 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
470 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
471 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
472 localstatedir
=$ac_optarg ;;
474 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
476 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
480 # Obsolete; use --without-fp.
483 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
484 |
--no-cr |
--no-c |
-n)
487 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
488 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
491 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
492 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
493 |
--oldin |
--oldi |
--old |
--ol |
--o)
494 ac_prev
=oldincludedir
;;
495 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
496 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
497 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
498 oldincludedir
=$ac_optarg ;;
500 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
502 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
505 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
506 |
--program-pre |
--program-pr |
--program-p)
507 ac_prev
=program_prefix
;;
508 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
509 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
510 program_prefix
=$ac_optarg ;;
512 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
513 |
--program-suf |
--program-su |
--program-s)
514 ac_prev
=program_suffix
;;
515 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
516 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
517 program_suffix
=$ac_optarg ;;
519 -program-transform-name |
--program-transform-name \
520 |
--program-transform-nam |
--program-transform-na \
521 |
--program-transform-n |
--program-transform- \
522 |
--program-transform |
--program-transfor \
523 |
--program-transfo |
--program-transf \
524 |
--program-trans |
--program-tran \
525 |
--progr-tra |
--program-tr |
--program-t)
526 ac_prev
=program_transform_name
;;
527 -program-transform-name=* |
--program-transform-name=* \
528 |
--program-transform-nam=* |
--program-transform-na=* \
529 |
--program-transform-n=* |
--program-transform-=* \
530 |
--program-transform=* |
--program-transfor=* \
531 |
--program-transfo=* |
--program-transf=* \
532 |
--program-trans=* |
--program-tran=* \
533 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
534 program_transform_name
=$ac_optarg ;;
536 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
537 |
-silent |
--silent |
--silen |
--sile |
--sil)
540 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
542 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
544 sbindir
=$ac_optarg ;;
546 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
547 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
548 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
550 ac_prev
=sharedstatedir
;;
551 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
552 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
553 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
555 sharedstatedir
=$ac_optarg ;;
557 -site |
--site |
--sit)
559 -site=* |
--site=* |
--sit=*)
562 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
564 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
567 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
568 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
569 ac_prev
=sysconfdir
;;
570 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
571 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
572 sysconfdir
=$ac_optarg ;;
574 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
575 ac_prev
=target_alias
;;
576 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
577 target_alias
=$ac_optarg ;;
579 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
582 -version |
--version |
--versio |
--versi |
--vers |
-V)
586 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package
=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* |
--without-*)
599 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package
=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
612 |
--x-incl |
--x-inc |
--x-in |
--x-i)
613 ac_prev
=x_includes
;;
614 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
615 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
616 x_includes
=$ac_optarg ;;
618 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
619 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
620 ac_prev
=x_libraries
;;
621 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
622 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
623 x_libraries
=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var
in exec_prefix prefix
660 eval ac_val
=$
`echo $ac_var`
662 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val
=$
`echo $ac_var`
674 [\\/$
]* | ?
:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x
; then
689 if test "x$build_alias" = x
; then
690 cross_compiling
=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
701 test "$silent" = yes && exec 6>/dev
/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted
=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir
=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted
=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set
=${build_alias+set}
741 ac_env_build_alias_value
=$build_alias
742 ac_cv_env_build_alias_set
=${build_alias+set}
743 ac_cv_env_build_alias_value
=$build_alias
744 ac_env_host_alias_set
=${host_alias+set}
745 ac_env_host_alias_value
=$host_alias
746 ac_cv_env_host_alias_set
=${host_alias+set}
747 ac_cv_env_host_alias_value
=$host_alias
748 ac_env_target_alias_set
=${target_alias+set}
749 ac_env_target_alias_value
=$target_alias
750 ac_cv_env_target_alias_set
=${target_alias+set}
751 ac_cv_env_target_alias_value
=$target_alias
752 ac_env_FC_set
=${FC+set}
754 ac_cv_env_FC_set
=${FC+set}
755 ac_cv_env_FC_value
=$FC
756 ac_env_FCFLAGS_set
=${FCFLAGS+set}
757 ac_env_FCFLAGS_value
=$FCFLAGS
758 ac_cv_env_FCFLAGS_set
=${FCFLAGS+set}
759 ac_cv_env_FCFLAGS_value
=$FCFLAGS
760 ac_env_LDFLAGS_set
=${LDFLAGS+set}
761 ac_env_LDFLAGS_value
=$LDFLAGS
762 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value
=$LDFLAGS
764 ac_env_CPP_set
=${CPP+set}
765 ac_env_CPP_value
=$CPP
766 ac_cv_env_CPP_set
=${CPP+set}
767 ac_cv_env_CPP_value
=$CPP
768 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
774 # Report the --help message.
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
780 \`configure' configures GNU Fortran Runtime Library 0.2 to adapt to many kinds of systems.
782 Usage: $0 [OPTION]... [VAR=VALUE]...
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
787 Defaults for the options are specified in brackets.
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
814 For better control, use the options below.
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
834 --program-prefix=PREFIX prepend PREFIX to installed program names
835 --program-suffix=SUFFIX append SUFFIX to installed program names
836 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
839 --build=BUILD configure
for building on BUILD
[guessed
]
840 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
841 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
845 if test -n "$ac_init_help"; then
846 case $ac_init_help in
847 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.2:";;
852 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
853 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
854 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
855 --enable-maintainer-mode enable make rules and dependencies not useful
856 (and sometimes confusing
) to the casual installer
857 --enable-multilib build many library versions
(default
)
858 --enable-shared=PKGS build shared libraries default
=yes
859 --enable-static=PKGS build static libraries default
=yes
860 --enable-fast-install=PKGS optimize
for fast installation default
=yes
861 --disable-libtool-lock avoid locking
(might
break parallel builds
)
862 --disable-largefile omit support
for large files
863 --enable-cmath Include complex math functions
866 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
867 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
868 --with-gnu-ld assume the C compiler uses GNU ld default
=no
869 --with-pic try to use only PIC
/non-PIC objects default
=use both
871 Some influential environment variables
:
872 CC C compiler
command
873 CFLAGS C compiler flags
874 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
875 nonstandard directory
<lib dir
>
876 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
877 headers
in a nonstandard directory
<include dir
>
878 FC Fortran compiler
command
879 FCFLAGS Fortran compiler flags
882 Use these variables to override the choices made by
`configure' or to help
883 it to find libraries and programs with nonstandard names/locations.
888 if test "$ac_init_help" = "recursive"; then
889 # If there are subdirs, report their specific --help.
891 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
892 test -d $ac_dir || continue
895 if test "$ac_dir" != .; then
896 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
897 # A "../" for each directory in $ac_dir_suffix.
898 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
900 ac_dir_suffix= ac_top_builddir=
904 .) # No --srcdir option. We are building in place.
906 if test -z "$ac_top_builddir"; then
909 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
911 [\\/]* | ?:[\\/]* ) # Absolute path.
912 ac_srcdir=$srcdir$ac_dir_suffix;
913 ac_top_srcdir=$srcdir ;;
915 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
916 ac_top_srcdir=$ac_top_builddir$srcdir ;;
919 # Do not use `cd foo
&& pwd` to compute absolute paths, because
920 # the directories may not exist.
922 .) ac_abs_builddir="$ac_dir";;
925 .) ac_abs_builddir=`pwd`;;
926 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
927 *) ac_abs_builddir=`pwd`/"$ac_dir";;
930 case $ac_abs_builddir in
931 .) ac_abs_top_builddir=${ac_top_builddir}.;;
933 case ${ac_top_builddir}. in
934 .) ac_abs_top_builddir=$ac_abs_builddir;;
935 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
936 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
939 case $ac_abs_builddir in
940 .) ac_abs_srcdir=$ac_srcdir;;
943 .) ac_abs_srcdir=$ac_abs_builddir;;
944 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
945 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
948 case $ac_abs_builddir in
949 .) ac_abs_top_srcdir=$ac_top_srcdir;;
951 case $ac_top_srcdir in
952 .) ac_abs_top_srcdir=$ac_abs_builddir;;
953 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
954 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
959 # Check for guested configure; otherwise get Cygnus style configure.
960 if test -f $ac_srcdir/configure.gnu; then
962 $SHELL $ac_srcdir/configure.gnu --help=recursive
963 elif test -f $ac_srcdir/configure; then
965 $SHELL $ac_srcdir/configure --help=recursive
966 elif test -f $ac_srcdir/configure.ac ||
967 test -f $ac_srcdir/configure.in; then
971 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
977 test -n "$ac_init_help" && exit 0
978 if $ac_init_version; then
980 GNU Fortran Runtime Library configure 0.2
981 generated by GNU Autoconf 2.59
983 Copyright (C) 2003 Free Software Foundation, Inc.
984 This configure script is free software; the Free Software Foundation
985 gives unlimited permission to copy, distribute and modify it.
991 This file contains any messages produced by compilers while
992 running configure, to aid debugging if configure makes a mistake.
994 It was created by GNU Fortran Runtime Library $as_me 0.2, which was
995 generated by GNU Autoconf 2.59. Invocation command line was
1006 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1007 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1008 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1009 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1010 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1012 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1013 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1015 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1016 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1017 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1018 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1019 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1020 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1021 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1029 test -z "$as_dir" && as_dir=.
1030 echo "PATH: $as_dir"
1045 # Keep a trace of the command line.
1046 # Strip out --no-create and --no-recursion so they do not pile up.
1047 # Strip out --silent because we don't want to record it for future runs.
1048 # Also quote any args containing shell meta-characters.
1049 # Make two passes to allow for proper duplicate-argument suppression.
1054 ac_must_keep_next=false
1060 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1064 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1065 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1068 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1070 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1071 if test $ac_must_keep_next = true; then
1072 ac_must_keep_next=false # Got value, back to normal.
1075 *=* | --config-cache | -C | -disable-* | --disable-* \
1076 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1077 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1078 | -with-* | --with-* | -without-* | --without-* | --x)
1079 case "$ac_configure_args0 " in
1080 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1083 -* ) ac_must_keep_next=true ;;
1086 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1087 # Get rid of the leading space.
1093 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1094 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1096 # When interrupted or exit'd, cleanup temporary files, and complete
1097 # config.log. We remove comments because anyway the quotes in there
1098 # would cause problems or look ugly.
1099 # WARNING: Be sure not to use single quotes in there, as some shells,
1100 # such as our DU 5.0 friend, will then `close
' the trap.
1101 trap 'exit_status
=$?
1102 # Save into config.log some information that might help in debugging.
1107 ## ---------------- ##
1108 ## Cache variables. ##
1109 ## ---------------- ##
1112 # The following way of writing the cache mishandles newlines in values,
1115 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1118 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1123 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1130 ## ----------------- ##
1131 ## Output variables. ##
1132 ## ----------------- ##
1135 for ac_var
in $ac_subst_vars
1137 eval ac_val
=$
`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1142 if test -n "$ac_subst_files"; then
1149 for ac_var
in $ac_subst_files
1151 eval ac_val
=$
`echo $ac_var`
1152 echo "$ac_var='"'"'$ac_val'"'"'"
1157 if test -s confdefs.h
; then
1164 sed "/^$/d" confdefs.h |
sort
1167 test "$ac_signal" != 0 &&
1168 echo "$as_me: caught signal $ac_signal"
1169 echo "$as_me: exit $exit_status"
1171 rm -f core
*.core
&&
1172 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1175 for ac_signal in 1 2 13 15; do
1176 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1180 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1181 rm -rf conftest* confdefs.h
1182 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1185 # Predefined preprocessor variables.
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_NAME "$PACKAGE_NAME"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_STRING "$PACKAGE_STRING"
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1212 # Let the site file select an alternate cache file if it wants to.
1213 # Prefer explicitly selected file to automatically selected ones.
1214 if test -z "$CONFIG_SITE"; then
1215 if test "x$prefix" != xNONE; then
1216 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1218 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1221 for ac_site_file in $CONFIG_SITE; do
1222 if test -r "$ac_site_file"; then
1223 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1224 echo "$as_me: loading site script $ac_site_file" >&6;}
1225 sed 's
/^
/|
/' "$ac_site_file" >&5
1230 if test -r "$cache_file"; then
1231 # Some versions of bash will fail to source /dev/null (special
1232 # files actually), so we avoid doing that.
1233 if test -f "$cache_file"; then
1234 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1235 echo "$as_me: loading cache $cache_file" >&6;}
1237 [\\/]* | ?:[\\/]* ) . $cache_file;;
1238 *) . ./$cache_file;;
1242 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1243 echo "$as_me: creating cache $cache_file" >&6;}
1247 # Check that the precious variables saved in the cache have kept the same
1249 ac_cache_corrupted=false
1250 for ac_var in `(set) 2>&1 |
1251 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1252 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1253 eval ac_new_set=\$ac_env_${ac_var}_set
1254 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1255 eval ac_new_val="\$ac_env_${ac_var}_value"
1256 case $ac_old_set,$ac_new_set in
1258 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1260 ac_cache_corrupted=: ;;
1262 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1263 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1264 ac_cache_corrupted=: ;;
1267 if test "x$ac_old_val" != "x$ac_new_val"; then
1268 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1269 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1270 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1271 echo "$as_me: former value: $ac_old_val" >&2;}
1272 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1273 echo "$as_me: current value: $ac_new_val" >&2;}
1274 ac_cache_corrupted=:
1277 # Pass precious variables to config.status.
1278 if test "$ac_new_set" = set; then
1280 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1282 *) ac_arg=$ac_var=$ac_new_val ;;
1284 case " $ac_configure_args " in
1285 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1286 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1290 if $ac_cache_corrupted; then
1291 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1292 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1293 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1294 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1295 { (exit 1); exit 1; }; }
1299 ac_cpp='$CPP $CPPFLAGS'
1300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1301 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1330 ac_config_headers="$ac_config_headers config.h"
1337 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1338 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1339 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1340 if test "${enable_version_specific_runtime_libs+set}" = set; then
1341 enableval="$enable_version_specific_runtime_libs"
1342 case "$enableval" in
1343 yes) version_specific_libs=yes ;;
1344 no) version_specific_libs=no ;;
1345 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1346 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1347 { (exit 1); exit 1; }; };;
1350 version_specific_libs=no
1352 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1353 echo "${ECHO_T}$version_specific_libs" >&6
1356 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1358 # You will slowly go insane if you do not grok the following fact: when
1359 # building this library, the top-level /target/ becomes the library's
/host
/.
1361 # configure then causes --target to default to --host, exactly like any
1362 # other package using autoconf. Therefore, 'target' and 'host' will
1363 # always be the same. This makes sense both for native and cross compilers
1364 # just think about it for a little while. :-)
1366 # Also, if this library is being configured as part of a cross compiler, the
1367 # top-level configure script will pass the "real" host as $with_cross_host.
1369 # Do not delete or change the following two lines. For why, see
1370 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1372 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1373 if test -f $ac_dir/install-sh
; then
1375 ac_install_sh
="$ac_aux_dir/install-sh -c"
1377 elif test -f $ac_dir/install.sh
; then
1379 ac_install_sh
="$ac_aux_dir/install.sh -c"
1381 elif test -f $ac_dir/shtool
; then
1383 ac_install_sh
="$ac_aux_dir/shtool install -c"
1387 if test -z "$ac_aux_dir"; then
1388 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1389 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1390 { (exit 1); exit 1; }; }
1392 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1393 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1394 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1396 # Make sure we can run config.sub.
1397 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1398 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1399 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1400 { (exit 1); exit 1; }; }
1402 echo "$as_me:$LINENO: checking build system type" >&5
1403 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1404 if test "${ac_cv_build+set}" = set; then
1405 echo $ECHO_N "(cached) $ECHO_C" >&6
1407 ac_cv_build_alias
=$build_alias
1408 test -z "$ac_cv_build_alias" &&
1409 ac_cv_build_alias
=`$ac_config_guess`
1410 test -z "$ac_cv_build_alias" &&
1411 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1412 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1413 { (exit 1); exit 1; }; }
1414 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1415 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1416 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1417 { (exit 1); exit 1; }; }
1420 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1421 echo "${ECHO_T}$ac_cv_build" >&6
1423 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1424 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1425 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1428 echo "$as_me:$LINENO: checking host system type" >&5
1429 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1430 if test "${ac_cv_host+set}" = set; then
1431 echo $ECHO_N "(cached) $ECHO_C" >&6
1433 ac_cv_host_alias
=$host_alias
1434 test -z "$ac_cv_host_alias" &&
1435 ac_cv_host_alias
=$ac_cv_build_alias
1436 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1437 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1438 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1439 { (exit 1); exit 1; }; }
1442 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1443 echo "${ECHO_T}$ac_cv_host" >&6
1445 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1446 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1447 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1450 echo "$as_me:$LINENO: checking target system type" >&5
1451 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1452 if test "${ac_cv_target+set}" = set; then
1453 echo $ECHO_N "(cached) $ECHO_C" >&6
1455 ac_cv_target_alias
=$target_alias
1456 test "x$ac_cv_target_alias" = "x" &&
1457 ac_cv_target_alias
=$ac_cv_host_alias
1458 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1459 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1460 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1461 { (exit 1); exit 1; }; }
1464 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1465 echo "${ECHO_T}$ac_cv_target" >&6
1466 target
=$ac_cv_target
1467 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1468 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1469 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1472 # The aliases save the names the user supplied, while $host etc.
1473 # will get canonicalized.
1474 test -n "$target_alias" &&
1475 test "$program_prefix$program_suffix$program_transform_name" = \
1477 program_prefix
=${target_alias}-
1478 target_alias
=${target_alias-$host_alias}
1480 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1481 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1482 # 1.8.2: minimum required version
1483 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1484 # of other PACKAGE_* variables will, however, and there's nothing
1485 # we can do about that; they come from AC_INIT).
1486 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1487 # file in the top srcdir, etc, etc), so stop complaining.
1488 # no-dependencies: turns off auto dependency generation (just for now)
1489 # -Wall: turns on all automake warnings...
1490 # -Wno-portability: ...except this one, since GNU make is required.
1491 am__api_version
="1.9"
1492 # Find a good install program. We prefer a C program (faster),
1493 # so one script is as good as another. But avoid the broken or
1494 # incompatible versions:
1495 # SysV /etc/install, /usr/sbin/install
1496 # SunOS /usr/etc/install
1497 # IRIX /sbin/install
1499 # AmigaOS /C/install, which installs bootblocks on floppy discs
1500 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1501 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1502 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1503 # OS/2's system install, which has a completely different semantic
1504 # ./install, which can be erroneously created by make from ./install.sh.
1505 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1506 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1507 if test -z "$INSTALL"; then
1508 if test "${ac_cv_path_install+set}" = set; then
1509 echo $ECHO_N "(cached) $ECHO_C" >&6
1511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1515 test -z "$as_dir" && as_dir
=.
1516 # Account for people who put trailing slashes in PATH elements.
1518 .
/ | .
// |
/cC
/* | \
1519 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1520 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1523 # OSF1 and SCO ODT 3.0 have their own names for install.
1524 # Don't use installbsd from OSF since it installs stuff as root
1526 for ac_prog
in ginstall scoinst
install; do
1527 for ac_exec_ext
in '' $ac_executable_extensions; do
1528 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1529 if test $ac_prog = install &&
1530 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1531 # AIX install. It has an incompatible calling convention.
1533 elif test $ac_prog = install &&
1534 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1535 # program-specific install script used by HP pwplus--don't use.
1538 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1550 if test "${ac_cv_path_install+set}" = set; then
1551 INSTALL
=$ac_cv_path_install
1553 # As a last resort, use the slow shell script. We don't cache a
1554 # path for INSTALL within a source directory, because that will
1555 # break other packages using the cache if that directory is
1556 # removed, or if the path is relative.
1557 INSTALL
=$ac_install_sh
1560 echo "$as_me:$LINENO: result: $INSTALL" >&5
1561 echo "${ECHO_T}$INSTALL" >&6
1563 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1564 # It thinks the first close brace ends the variable substitution.
1565 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1567 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1569 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1571 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1572 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1575 echo timestamp
> conftest.
file
1576 # Do `set' in a subshell so we don't clobber the current shell's
1577 # arguments. Must try -L first in case configure is actually a
1578 # symlink; some systems play weird games with the mod time of symlinks
1579 # (eg FreeBSD returns the mod time of the symlink's containing
1582 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1583 if test "$*" = "X"; then
1585 set X
`ls -t $srcdir/configure conftest.file`
1588 if test "$*" != "X $srcdir/configure conftest.file" \
1589 && test "$*" != "X conftest.file $srcdir/configure"; then
1591 # If neither matched, then we have a broken ls. This can happen
1592 # if, for instance, CONFIG_SHELL is bash and it inherits a
1593 # broken ls alias from the environment. This has actually
1594 # happened. Such a system could not be considered "sane".
1595 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1596 alias in your environment" >&5
1597 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1598 alias in your environment" >&2;}
1599 { (exit 1); exit 1; }; }
1602 test "$2" = conftest.
file
1608 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1609 Check your system clock" >&5
1610 echo "$as_me: error: newly created file is older than distributed files!
1611 Check your system clock" >&2;}
1612 { (exit 1); exit 1; }; }
1614 echo "$as_me:$LINENO: result: yes" >&5
1615 echo "${ECHO_T}yes" >&6
1616 test "$program_prefix" != NONE
&&
1617 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1618 # Use a double $ so make ignores it.
1619 test "$program_suffix" != NONE
&&
1620 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1621 # Double any \ or $. echo might interpret backslashes.
1622 # By default was `s,x,x', remove it if useless.
1623 cat <<\_ACEOF
>conftest.
sed
1624 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1626 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1629 # expand $ac_aux_dir to an absolute path
1630 am_aux_dir
=`cd $ac_aux_dir && pwd`
1632 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1633 # Use eval to expand $SHELL
1634 if eval "$MISSING --run true"; then
1635 am_missing_run
="$MISSING --run "
1638 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1639 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1642 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1643 # We used to keeping the `.' as first argument, in order to
1644 # allow $(mkdir_p) to be used without argument. As in
1645 # $(mkdir_p) $(somedir)
1646 # where $(somedir) is conditionally defined. However this is wrong
1648 # 1. if the package is installed by a user who cannot write `.'
1649 # make install will fail,
1650 # 2. the above comment should most certainly read
1651 # $(mkdir_p) $(DESTDIR)$(somedir)
1652 # so it does not work when $(somedir) is undefined and
1653 # $(DESTDIR) is not.
1654 # To support the latter case, we have to write
1655 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1656 # so the `.' trick is pointless.
1657 mkdir_p
='mkdir -p --'
1659 # On NextStep and OpenStep, the `mkdir' command does not
1660 # recognize any option. It will interpret all options as
1661 # directories to create, and then abort because `.' already
1663 for d
in .
/-p .
/--version;
1665 test -d $d && rmdir $d
1667 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1668 if test -f "$ac_aux_dir/mkinstalldirs"; then
1669 mkdir_p
='$(mkinstalldirs)'
1671 mkdir_p
='$(install_sh) -d'
1675 for ac_prog
in gawk mawk nawk
awk
1677 # Extract the first word of "$ac_prog", so it can be a program name with args.
1678 set dummy
$ac_prog; ac_word
=$2
1679 echo "$as_me:$LINENO: checking for $ac_word" >&5
1680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1681 if test "${ac_cv_prog_AWK+set}" = set; then
1682 echo $ECHO_N "(cached) $ECHO_C" >&6
1684 if test -n "$AWK"; then
1685 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1691 test -z "$as_dir" && as_dir
=.
1692 for ac_exec_ext
in '' $ac_executable_extensions; do
1693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1694 ac_cv_prog_AWK
="$ac_prog"
1695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1704 if test -n "$AWK"; then
1705 echo "$as_me:$LINENO: result: $AWK" >&5
1706 echo "${ECHO_T}$AWK" >&6
1708 echo "$as_me:$LINENO: result: no" >&5
1709 echo "${ECHO_T}no" >&6
1712 test -n "$AWK" && break
1715 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1716 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1717 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1718 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1719 echo $ECHO_N "(cached) $ECHO_C" >&6
1721 cat >conftest.
make <<\_ACEOF
1723 @
echo 'ac_maketemp="$(MAKE)"'
1725 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1726 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1727 if test -n "$ac_maketemp"; then
1728 eval ac_cv_prog_make_
${ac_make}_set
=yes
1730 eval ac_cv_prog_make_
${ac_make}_set
=no
1734 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1735 echo "$as_me:$LINENO: result: yes" >&5
1736 echo "${ECHO_T}yes" >&6
1739 echo "$as_me:$LINENO: result: no" >&5
1740 echo "${ECHO_T}no" >&6
1741 SET_MAKE
="MAKE=${MAKE-make}"
1744 rm -rf .tst
2>/dev
/null
1745 mkdir .tst
2>/dev
/null
1746 if test -d .tst
; then
1751 rmdir .tst
2>/dev
/null
1753 # test to see if srcdir already configured
1754 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1755 test -f $srcdir/config.status
; then
1756 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1757 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1758 { (exit 1); exit 1; }; }
1761 # test whether we have cygpath
1762 if test -z "$CYGPATH_W"; then
1763 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1764 CYGPATH_W
='cygpath -w'
1771 # Define the identity of the package.
1772 PACKAGE
='libgfortran'
1776 # Some tools Automake needs.
1778 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1781 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1784 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1787 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1790 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1792 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1794 # Installed binaries are usually stripped using `strip' when the user
1795 # run `make install-strip'. However `strip' might not be the right
1796 # tool to use in cross-compilation environments, therefore Automake
1797 # will honor the `STRIP' environment variable to overrule this program.
1798 if test "$cross_compiling" != no
; then
1799 if test -n "$ac_tool_prefix"; then
1800 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1801 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1802 echo "$as_me:$LINENO: checking for $ac_word" >&5
1803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1804 if test "${ac_cv_prog_STRIP+set}" = set; then
1805 echo $ECHO_N "(cached) $ECHO_C" >&6
1807 if test -n "$STRIP"; then
1808 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1814 test -z "$as_dir" && as_dir
=.
1815 for ac_exec_ext
in '' $ac_executable_extensions; do
1816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1817 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1826 STRIP
=$ac_cv_prog_STRIP
1827 if test -n "$STRIP"; then
1828 echo "$as_me:$LINENO: result: $STRIP" >&5
1829 echo "${ECHO_T}$STRIP" >&6
1831 echo "$as_me:$LINENO: result: no" >&5
1832 echo "${ECHO_T}no" >&6
1836 if test -z "$ac_cv_prog_STRIP"; then
1838 # Extract the first word of "strip", so it can be a program name with args.
1839 set dummy strip
; ac_word
=$2
1840 echo "$as_me:$LINENO: checking for $ac_word" >&5
1841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1842 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1843 echo $ECHO_N "(cached) $ECHO_C" >&6
1845 if test -n "$ac_ct_STRIP"; then
1846 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1852 test -z "$as_dir" && as_dir
=.
1853 for ac_exec_ext
in '' $ac_executable_extensions; do
1854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1855 ac_cv_prog_ac_ct_STRIP
="strip"
1856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1862 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1865 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1866 if test -n "$ac_ct_STRIP"; then
1867 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1868 echo "${ECHO_T}$ac_ct_STRIP" >&6
1870 echo "$as_me:$LINENO: result: no" >&5
1871 echo "${ECHO_T}no" >&6
1876 STRIP
="$ac_cv_prog_STRIP"
1880 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1882 # We need awk for the "check" target. The system "awk" is bad on
1884 # Always define AMTAR for backward compatibility.
1886 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1888 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1895 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1896 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1897 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1898 if test "${enable_maintainer_mode+set}" = set; then
1899 enableval
="$enable_maintainer_mode"
1900 USE_MAINTAINER_MODE
=$enableval
1902 USE_MAINTAINER_MODE
=no
1904 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1905 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1908 if test $USE_MAINTAINER_MODE = yes; then
1909 MAINTAINER_MODE_TRUE
=
1910 MAINTAINER_MODE_FALSE
='#'
1912 MAINTAINER_MODE_TRUE
='#'
1913 MAINTAINER_MODE_FALSE
=
1916 MAINT
=$MAINTAINER_MODE_TRUE
1919 # Default to --enable-multilib
1920 # Check whether --enable-multilib or --disable-multilib was given.
1921 if test "${enable_multilib+set}" = set; then
1922 enableval
="$enable_multilib"
1923 case "$enableval" in
1924 yes) multilib
=yes ;;
1926 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1927 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1928 { (exit 1); exit 1; }; } ;;
1934 # We may get other options which we leave undocumented:
1935 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1936 # See config-ml.in if you want the gory details.
1938 if test "$srcdir" = "."; then
1939 if test "$with_target_subdir" != "."; then
1940 multi_basedir
="$srcdir/$with_multisrctop../.."
1942 multi_basedir
="$srcdir/$with_multisrctop.."
1945 multi_basedir
="$srcdir/.."
1949 ac_config_commands
="$ac_config_commands default-1"
1952 # Handy for debugging:
1953 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1955 # Are we being configured with some form of cross compiler?
1956 # NB: We don't actually need to know this just now, but when, say, a test
1957 # suite is included, we'll have to know.
1958 if test "$build" != "$host"; then
1959 LIBGFOR_IS_NATIVE
=false
1962 LIBGFOR_IS_NATIVE
=true
1965 # Calculate toolexeclibdir
1966 # Also toolexecdir, though it's only used in toolexeclibdir
1967 case ${version_specific_libs} in
1969 # Need the gcc compiler version to know where to install libraries
1970 # and header files if --enable-version-specific-runtime-libs option
1972 toolexecdir
='$(libdir)/gcc/$(target_alias)'
1973 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
1976 if test -n "$with_cross_host" &&
1977 test x
"$with_cross_host" != x
"no"; then
1978 # Install a library built with a cross compiler in tooldir, not libdir.
1979 toolexecdir
='$(exec_prefix)/$(target_alias)'
1980 toolexeclibdir
='$(toolexecdir)/lib'
1982 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
1983 toolexeclibdir
='$(libdir)'
1985 multi_os_directory
=`$CC -print-multi-os-directory`
1986 case $multi_os_directory in
1987 .
) ;; # Avoid trailing /.
1988 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
1995 # Check the compiler.
1996 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1997 # We must force CC to /not/ be precious variables; otherwise
1998 # the wrong, non-multilib-adjusted value will be used in multilibs.
1999 # As a side effect, we have to subst CFLAGS ourselves.
2004 ac_cpp
='$CPP $CPPFLAGS'
2005 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2006 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2007 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2008 if test -n "$ac_tool_prefix"; then
2009 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2010 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2011 echo "$as_me:$LINENO: checking for $ac_word" >&5
2012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2013 if test "${ac_cv_prog_CC+set}" = set; then
2014 echo $ECHO_N "(cached) $ECHO_C" >&6
2016 if test -n "$CC"; then
2017 ac_cv_prog_CC
="$CC" # Let the user override the test.
2019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2023 test -z "$as_dir" && as_dir
=.
2024 for ac_exec_ext
in '' $ac_executable_extensions; do
2025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2026 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2036 if test -n "$CC"; then
2037 echo "$as_me:$LINENO: result: $CC" >&5
2038 echo "${ECHO_T}$CC" >&6
2040 echo "$as_me:$LINENO: result: no" >&5
2041 echo "${ECHO_T}no" >&6
2045 if test -z "$ac_cv_prog_CC"; then
2047 # Extract the first word of "gcc", so it can be a program name with args.
2048 set dummy gcc
; ac_word
=$2
2049 echo "$as_me:$LINENO: checking for $ac_word" >&5
2050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2051 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2052 echo $ECHO_N "(cached) $ECHO_C" >&6
2054 if test -n "$ac_ct_CC"; then
2055 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2061 test -z "$as_dir" && as_dir
=.
2062 for ac_exec_ext
in '' $ac_executable_extensions; do
2063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2064 ac_cv_prog_ac_ct_CC
="gcc"
2065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2073 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2074 if test -n "$ac_ct_CC"; then
2075 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2076 echo "${ECHO_T}$ac_ct_CC" >&6
2078 echo "$as_me:$LINENO: result: no" >&5
2079 echo "${ECHO_T}no" >&6
2087 if test -z "$CC"; then
2088 if test -n "$ac_tool_prefix"; then
2089 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2090 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2091 echo "$as_me:$LINENO: checking for $ac_word" >&5
2092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2093 if test "${ac_cv_prog_CC+set}" = set; then
2094 echo $ECHO_N "(cached) $ECHO_C" >&6
2096 if test -n "$CC"; then
2097 ac_cv_prog_CC
="$CC" # Let the user override the test.
2099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2103 test -z "$as_dir" && as_dir
=.
2104 for ac_exec_ext
in '' $ac_executable_extensions; do
2105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2106 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2116 if test -n "$CC"; then
2117 echo "$as_me:$LINENO: result: $CC" >&5
2118 echo "${ECHO_T}$CC" >&6
2120 echo "$as_me:$LINENO: result: no" >&5
2121 echo "${ECHO_T}no" >&6
2125 if test -z "$ac_cv_prog_CC"; then
2127 # Extract the first word of "cc", so it can be a program name with args.
2128 set dummy cc
; ac_word
=$2
2129 echo "$as_me:$LINENO: checking for $ac_word" >&5
2130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2131 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2132 echo $ECHO_N "(cached) $ECHO_C" >&6
2134 if test -n "$ac_ct_CC"; then
2135 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2141 test -z "$as_dir" && as_dir
=.
2142 for ac_exec_ext
in '' $ac_executable_extensions; do
2143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2144 ac_cv_prog_ac_ct_CC
="cc"
2145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2153 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2154 if test -n "$ac_ct_CC"; then
2155 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2156 echo "${ECHO_T}$ac_ct_CC" >&6
2158 echo "$as_me:$LINENO: result: no" >&5
2159 echo "${ECHO_T}no" >&6
2168 if test -z "$CC"; then
2169 # Extract the first word of "cc", so it can be a program name with args.
2170 set dummy cc
; ac_word
=$2
2171 echo "$as_me:$LINENO: checking for $ac_word" >&5
2172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2173 if test "${ac_cv_prog_CC+set}" = set; then
2174 echo $ECHO_N "(cached) $ECHO_C" >&6
2176 if test -n "$CC"; then
2177 ac_cv_prog_CC
="$CC" # Let the user override the test.
2180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2184 test -z "$as_dir" && as_dir
=.
2185 for ac_exec_ext
in '' $ac_executable_extensions; do
2186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2187 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2188 ac_prog_rejected
=yes
2192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2198 if test $ac_prog_rejected = yes; then
2199 # We found a bogon in the path, so make sure we never use it.
2200 set dummy
$ac_cv_prog_CC
2202 if test $# != 0; then
2203 # We chose a different compiler from the bogus one.
2204 # However, it has the same basename, so the bogon will be chosen
2205 # first if we set CC to just the basename; use the full file name.
2207 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2213 if test -n "$CC"; then
2214 echo "$as_me:$LINENO: result: $CC" >&5
2215 echo "${ECHO_T}$CC" >&6
2217 echo "$as_me:$LINENO: result: no" >&5
2218 echo "${ECHO_T}no" >&6
2222 if test -z "$CC"; then
2223 if test -n "$ac_tool_prefix"; then
2226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2227 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2228 echo "$as_me:$LINENO: checking for $ac_word" >&5
2229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2230 if test "${ac_cv_prog_CC+set}" = set; then
2231 echo $ECHO_N "(cached) $ECHO_C" >&6
2233 if test -n "$CC"; then
2234 ac_cv_prog_CC
="$CC" # Let the user override the test.
2236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2240 test -z "$as_dir" && as_dir
=.
2241 for ac_exec_ext
in '' $ac_executable_extensions; do
2242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2243 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2253 if test -n "$CC"; then
2254 echo "$as_me:$LINENO: result: $CC" >&5
2255 echo "${ECHO_T}$CC" >&6
2257 echo "$as_me:$LINENO: result: no" >&5
2258 echo "${ECHO_T}no" >&6
2261 test -n "$CC" && break
2264 if test -z "$CC"; then
2268 # Extract the first word of "$ac_prog", so it can be a program name with args.
2269 set dummy
$ac_prog; ac_word
=$2
2270 echo "$as_me:$LINENO: checking for $ac_word" >&5
2271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2272 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2273 echo $ECHO_N "(cached) $ECHO_C" >&6
2275 if test -n "$ac_ct_CC"; then
2276 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2282 test -z "$as_dir" && as_dir
=.
2283 for ac_exec_ext
in '' $ac_executable_extensions; do
2284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2285 ac_cv_prog_ac_ct_CC
="$ac_prog"
2286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2294 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2295 if test -n "$ac_ct_CC"; then
2296 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2297 echo "${ECHO_T}$ac_ct_CC" >&6
2299 echo "$as_me:$LINENO: result: no" >&5
2300 echo "${ECHO_T}no" >&6
2303 test -n "$ac_ct_CC" && break
2312 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2313 See \`config.log' for more details." >&5
2314 echo "$as_me: error: no acceptable C compiler found in \$PATH
2315 See \`config.log' for more details." >&2;}
2316 { (exit 1); exit 1; }; }
2318 # Provide some information about the compiler.
2319 echo "$as_me:$LINENO:" \
2320 "checking for C compiler version" >&5
2321 ac_compiler
=`set X $ac_compile; echo $2`
2322 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2323 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2326 (exit $ac_status); }
2327 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2328 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); }
2332 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2333 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336 (exit $ac_status); }
2338 cat >conftest.
$ac_ext <<_ACEOF
2341 cat confdefs.h
>>conftest.
$ac_ext
2342 cat >>conftest.
$ac_ext <<_ACEOF
2343 /* end confdefs.h. */
2353 ac_clean_files_save
=$ac_clean_files
2354 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2355 # Try to create an executable without -o first, disregard a.out.
2356 # It will help us diagnose broken compilers, and finding out an intuition
2358 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2359 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2360 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2361 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2362 (eval $ac_link_default) 2>&5
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }; then
2366 # Find the output, starting from the most likely. This scheme is
2367 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2370 # Be careful to initialize this variable, since it used to be cached.
2371 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2373 # b.out is created by i960 compilers.
2374 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2376 test -f "$ac_file" ||
continue
2378 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2381 # This is the source file.
2384 # We found the default executable, but exeext='' is most
2388 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2389 # FIXME: I believe we export ac_cv_exeext for Libtool,
2390 # but it would be cool to find out if it's true. Does anybody
2391 # maintain Libtool? --akim.
2399 echo "$as_me: failed program was:" >&5
2400 sed 's/^/| /' conftest.
$ac_ext >&5
2402 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2403 See \`config.log' for more details." >&5
2404 echo "$as_me: error: C compiler cannot create executables
2405 See \`config.log' for more details." >&2;}
2406 { (exit 77); exit 77; }; }
2409 ac_exeext
=$ac_cv_exeext
2410 echo "$as_me:$LINENO: result: $ac_file" >&5
2411 echo "${ECHO_T}$ac_file" >&6
2413 # Check the compiler produces executables we can run. If not, either
2414 # the compiler is broken, or we cross compile.
2415 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2416 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2417 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2418 # If not cross compiling, check that we can run a simple program.
2419 if test "$cross_compiling" != yes; then
2420 if { ac_try
='./$ac_file'
2421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2425 (exit $ac_status); }; }; then
2428 if test "$cross_compiling" = maybe
; then
2431 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2432 If you meant to cross compile, use \`--host'.
2433 See \`config.log' for more details." >&5
2434 echo "$as_me: error: cannot run C compiled programs.
2435 If you meant to cross compile, use \`--host'.
2436 See \`config.log' for more details." >&2;}
2437 { (exit 1); exit 1; }; }
2441 echo "$as_me:$LINENO: result: yes" >&5
2442 echo "${ECHO_T}yes" >&6
2444 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2445 ac_clean_files
=$ac_clean_files_save
2446 # Check the compiler produces executables we can run. If not, either
2447 # the compiler is broken, or we cross compile.
2448 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2449 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2450 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2451 echo "${ECHO_T}$cross_compiling" >&6
2453 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2454 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2456 (eval $ac_link) 2>&5
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); }; then
2460 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2461 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2462 # work properly (i.e., refer to `conftest.exe'), while it won't with
2464 for ac_file
in conftest.exe conftest conftest.
*; do
2465 test -f "$ac_file" ||
continue
2467 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2468 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2475 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2476 See \`config.log' for more details." >&5
2477 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2478 See \`config.log' for more details." >&2;}
2479 { (exit 1); exit 1; }; }
2482 rm -f conftest
$ac_cv_exeext
2483 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2484 echo "${ECHO_T}$ac_cv_exeext" >&6
2486 rm -f conftest.
$ac_ext
2487 EXEEXT
=$ac_cv_exeext
2489 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2490 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2491 if test "${ac_cv_objext+set}" = set; then
2492 echo $ECHO_N "(cached) $ECHO_C" >&6
2494 cat >conftest.
$ac_ext <<_ACEOF
2497 cat confdefs.h
>>conftest.
$ac_ext
2498 cat >>conftest.
$ac_ext <<_ACEOF
2499 /* end confdefs.h. */
2509 rm -f conftest.o conftest.obj
2510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2511 (eval $ac_compile) 2>&5
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; then
2515 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2517 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2518 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2523 echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.
$ac_ext >&5
2526 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2527 See \`config.log' for more details." >&5
2528 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2529 See \`config.log' for more details." >&2;}
2530 { (exit 1); exit 1; }; }
2533 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2535 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2536 echo "${ECHO_T}$ac_cv_objext" >&6
2537 OBJEXT
=$ac_cv_objext
2539 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2540 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2541 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2542 echo $ECHO_N "(cached) $ECHO_C" >&6
2544 cat >conftest.
$ac_ext <<_ACEOF
2547 cat confdefs.h
>>conftest.
$ac_ext
2548 cat >>conftest.
$ac_ext <<_ACEOF
2549 /* end confdefs.h. */
2562 rm -f conftest.
$ac_objext
2563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2564 (eval $ac_compile) 2>conftest.er1
2566 grep -v '^ *+' conftest.er1
>conftest.err
2568 cat conftest.err
>&5
2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570 (exit $ac_status); } &&
2571 { ac_try
='test -z "$ac_c_werror_flag"
2572 || test ! -s conftest.err'
2573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577 (exit $ac_status); }; } &&
2578 { ac_try
='test -s conftest.$ac_objext'
2579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583 (exit $ac_status); }; }; then
2586 echo "$as_me: failed program was:" >&5
2587 sed 's/^/| /' conftest.
$ac_ext >&5
2591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2592 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2595 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2596 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2597 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2598 ac_test_CFLAGS
=${CFLAGS+set}
2599 ac_save_CFLAGS
=$CFLAGS
2601 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2602 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2603 if test "${ac_cv_prog_cc_g+set}" = set; then
2604 echo $ECHO_N "(cached) $ECHO_C" >&6
2606 cat >conftest.
$ac_ext <<_ACEOF
2609 cat confdefs.h
>>conftest.
$ac_ext
2610 cat >>conftest.
$ac_ext <<_ACEOF
2611 /* end confdefs.h. */
2621 rm -f conftest.
$ac_objext
2622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2623 (eval $ac_compile) 2>conftest.er1
2625 grep -v '^ *+' conftest.er1
>conftest.err
2627 cat conftest.err
>&5
2628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629 (exit $ac_status); } &&
2630 { ac_try
='test -z "$ac_c_werror_flag"
2631 || test ! -s conftest.err'
2632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); }; } &&
2637 { ac_try
='test -s conftest.$ac_objext'
2638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; }; then
2645 echo "$as_me: failed program was:" >&5
2646 sed 's/^/| /' conftest.
$ac_ext >&5
2650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2652 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2653 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2654 if test "$ac_test_CFLAGS" = set; then
2655 CFLAGS
=$ac_save_CFLAGS
2656 elif test $ac_cv_prog_cc_g = yes; then
2657 if test "$GCC" = yes; then
2663 if test "$GCC" = yes; then
2669 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2670 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2671 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2672 echo $ECHO_N "(cached) $ECHO_C" >&6
2674 ac_cv_prog_cc_stdc
=no
2676 cat >conftest.
$ac_ext <<_ACEOF
2679 cat confdefs.h
>>conftest.
$ac_ext
2680 cat >>conftest.
$ac_ext <<_ACEOF
2681 /* end confdefs.h. */
2684 #include <sys/types.h>
2685 #include <sys/stat.h>
2686 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2687 struct buf { int x; };
2688 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2689 static char *e (p, i)
2695 static char *f (char * (*g) (char **, int), char **p, ...)
2700 s = g (p, va_arg (v,int));
2705 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2706 function prototypes and stuff, but not '\xHH' hex character constants.
2707 These don't provoke an error unfortunately, instead are silently treated
2708 as 'x'. The following induces an error, until -std1 is added to get
2709 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2710 array size at least. It's necessary to write '\x00'==0 to get something
2711 that's true only with -std1. */
2712 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2714 int test (int i, double x);
2715 struct s1 {int (*f) (int a);};
2716 struct s2 {int (*f) (double a);};
2717 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2723 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2728 # Don't try gcc -ansi; that turns off useful extensions and
2729 # breaks some systems' header files.
2730 # AIX -qlanglvl=ansi
2731 # Ultrix and OSF/1 -std1
2732 # HP-UX 10.20 and later -Ae
2733 # HP-UX older versions -Aa -D_HPUX_SOURCE
2734 # SVR4 -Xc -D__EXTENSIONS__
2735 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2737 CC
="$ac_save_CC $ac_arg"
2738 rm -f conftest.
$ac_objext
2739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2740 (eval $ac_compile) 2>conftest.er1
2742 grep -v '^ *+' conftest.er1
>conftest.err
2744 cat conftest.err
>&5
2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746 (exit $ac_status); } &&
2747 { ac_try
='test -z "$ac_c_werror_flag"
2748 || test ! -s conftest.err'
2749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); }; } &&
2754 { ac_try
='test -s conftest.$ac_objext'
2755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); }; }; then
2760 ac_cv_prog_cc_stdc
=$ac_arg
2763 echo "$as_me: failed program was:" >&5
2764 sed 's/^/| /' conftest.
$ac_ext >&5
2767 rm -f conftest.err conftest.
$ac_objext
2769 rm -f conftest.
$ac_ext conftest.
$ac_objext
2774 case "x$ac_cv_prog_cc_stdc" in
2776 echo "$as_me:$LINENO: result: none needed" >&5
2777 echo "${ECHO_T}none needed" >&6 ;;
2779 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2780 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2781 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2784 # Some people use a C++ compiler to compile C. Since we use `exit',
2785 # in C++ we need to declare it. In case someone uses the same compiler
2786 # for both compiling C and C++ we need to have the C++ compiler decide
2787 # the declaration of exit, since it's the most demanding environment.
2788 cat >conftest.
$ac_ext <<_ACEOF
2793 rm -f conftest.
$ac_objext
2794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2795 (eval $ac_compile) 2>conftest.er1
2797 grep -v '^ *+' conftest.er1
>conftest.err
2799 cat conftest.err
>&5
2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); } &&
2802 { ac_try
='test -z "$ac_c_werror_flag"
2803 || test ! -s conftest.err'
2804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808 (exit $ac_status); }; } &&
2809 { ac_try
='test -s conftest.$ac_objext'
2810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814 (exit $ac_status); }; }; then
2815 for ac_declaration
in \
2817 'extern "C" void std::exit (int) throw (); using std::exit;' \
2818 'extern "C" void std::exit (int); using std::exit;' \
2819 'extern "C" void exit (int) throw ();' \
2820 'extern "C" void exit (int);' \
2823 cat >conftest.
$ac_ext <<_ACEOF
2826 cat confdefs.h
>>conftest.
$ac_ext
2827 cat >>conftest.
$ac_ext <<_ACEOF
2828 /* end confdefs.h. */
2839 rm -f conftest.
$ac_objext
2840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2841 (eval $ac_compile) 2>conftest.er1
2843 grep -v '^ *+' conftest.er1
>conftest.err
2845 cat conftest.err
>&5
2846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); } &&
2848 { ac_try
='test -z "$ac_c_werror_flag"
2849 || test ! -s conftest.err'
2850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2854 (exit $ac_status); }; } &&
2855 { ac_try
='test -s conftest.$ac_objext'
2856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860 (exit $ac_status); }; }; then
2863 echo "$as_me: failed program was:" >&5
2864 sed 's/^/| /' conftest.
$ac_ext >&5
2868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2869 cat >conftest.
$ac_ext <<_ACEOF
2872 cat confdefs.h
>>conftest.
$ac_ext
2873 cat >>conftest.
$ac_ext <<_ACEOF
2874 /* end confdefs.h. */
2884 rm -f conftest.
$ac_objext
2885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2886 (eval $ac_compile) 2>conftest.er1
2888 grep -v '^ *+' conftest.er1
>conftest.err
2890 cat conftest.err
>&5
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); } &&
2893 { ac_try
='test -z "$ac_c_werror_flag"
2894 || test ! -s conftest.err'
2895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899 (exit $ac_status); }; } &&
2900 { ac_try
='test -s conftest.$ac_objext'
2901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905 (exit $ac_status); }; }; then
2908 echo "$as_me: failed program was:" >&5
2909 sed 's/^/| /' conftest.
$ac_ext >&5
2912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2915 if test -n "$ac_declaration"; then
2916 echo '#ifdef __cplusplus' >>confdefs.h
2917 echo $ac_declaration >>confdefs.h
2918 echo '#endif' >>confdefs.h
2922 echo "$as_me: failed program was:" >&5
2923 sed 's/^/| /' conftest.
$ac_ext >&5
2926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2928 ac_cpp
='$CPP $CPPFLAGS'
2929 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2930 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2931 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2937 # Add -Wall if we are using GCC.
2938 if test "x$GCC" = "xyes"; then
2939 CFLAGS
="$CFLAGS -Wall"
2942 # Find other programs we need.
2943 if test -n "$ac_tool_prefix"; then
2944 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2945 set dummy
${ac_tool_prefix}as
; ac_word
=$2
2946 echo "$as_me:$LINENO: checking for $ac_word" >&5
2947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2948 if test "${ac_cv_prog_AS+set}" = set; then
2949 echo $ECHO_N "(cached) $ECHO_C" >&6
2951 if test -n "$AS"; then
2952 ac_cv_prog_AS
="$AS" # Let the user override the test.
2954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2958 test -z "$as_dir" && as_dir
=.
2959 for ac_exec_ext
in '' $ac_executable_extensions; do
2960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2961 ac_cv_prog_AS
="${ac_tool_prefix}as"
2962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2971 if test -n "$AS"; then
2972 echo "$as_me:$LINENO: result: $AS" >&5
2973 echo "${ECHO_T}$AS" >&6
2975 echo "$as_me:$LINENO: result: no" >&5
2976 echo "${ECHO_T}no" >&6
2980 if test -z "$ac_cv_prog_AS"; then
2982 # Extract the first word of "as", so it can be a program name with args.
2983 set dummy as
; ac_word
=$2
2984 echo "$as_me:$LINENO: checking for $ac_word" >&5
2985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2986 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2987 echo $ECHO_N "(cached) $ECHO_C" >&6
2989 if test -n "$ac_ct_AS"; then
2990 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
2992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2996 test -z "$as_dir" && as_dir
=.
2997 for ac_exec_ext
in '' $ac_executable_extensions; do
2998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2999 ac_cv_prog_ac_ct_AS
="as"
3000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3008 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3009 if test -n "$ac_ct_AS"; then
3010 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3011 echo "${ECHO_T}$ac_ct_AS" >&6
3013 echo "$as_me:$LINENO: result: no" >&5
3014 echo "${ECHO_T}no" >&6
3022 if test -n "$ac_tool_prefix"; then
3023 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3024 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3025 echo "$as_me:$LINENO: checking for $ac_word" >&5
3026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3027 if test "${ac_cv_prog_AR+set}" = set; then
3028 echo $ECHO_N "(cached) $ECHO_C" >&6
3030 if test -n "$AR"; then
3031 ac_cv_prog_AR
="$AR" # Let the user override the test.
3033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3037 test -z "$as_dir" && as_dir
=.
3038 for ac_exec_ext
in '' $ac_executable_extensions; do
3039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3040 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3050 if test -n "$AR"; then
3051 echo "$as_me:$LINENO: result: $AR" >&5
3052 echo "${ECHO_T}$AR" >&6
3054 echo "$as_me:$LINENO: result: no" >&5
3055 echo "${ECHO_T}no" >&6
3059 if test -z "$ac_cv_prog_AR"; then
3061 # Extract the first word of "ar", so it can be a program name with args.
3062 set dummy
ar; ac_word
=$2
3063 echo "$as_me:$LINENO: checking for $ac_word" >&5
3064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3065 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3066 echo $ECHO_N "(cached) $ECHO_C" >&6
3068 if test -n "$ac_ct_AR"; then
3069 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3075 test -z "$as_dir" && as_dir
=.
3076 for ac_exec_ext
in '' $ac_executable_extensions; do
3077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3078 ac_cv_prog_ac_ct_AR
="ar"
3079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3087 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3088 if test -n "$ac_ct_AR"; then
3089 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3090 echo "${ECHO_T}$ac_ct_AR" >&6
3092 echo "$as_me:$LINENO: result: no" >&5
3093 echo "${ECHO_T}no" >&6
3101 if test -n "$ac_tool_prefix"; then
3102 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3103 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3104 echo "$as_me:$LINENO: checking for $ac_word" >&5
3105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3106 if test "${ac_cv_prog_RANLIB+set}" = set; then
3107 echo $ECHO_N "(cached) $ECHO_C" >&6
3109 if test -n "$RANLIB"; then
3110 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3116 test -z "$as_dir" && as_dir
=.
3117 for ac_exec_ext
in '' $ac_executable_extensions; do
3118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3119 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3128 RANLIB
=$ac_cv_prog_RANLIB
3129 if test -n "$RANLIB"; then
3130 echo "$as_me:$LINENO: result: $RANLIB" >&5
3131 echo "${ECHO_T}$RANLIB" >&6
3133 echo "$as_me:$LINENO: result: no" >&5
3134 echo "${ECHO_T}no" >&6
3138 if test -z "$ac_cv_prog_RANLIB"; then
3139 ac_ct_RANLIB
=$RANLIB
3140 # Extract the first word of "ranlib", so it can be a program name with args.
3141 set dummy ranlib
; ac_word
=$2
3142 echo "$as_me:$LINENO: checking for $ac_word" >&5
3143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3144 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3145 echo $ECHO_N "(cached) $ECHO_C" >&6
3147 if test -n "$ac_ct_RANLIB"; then
3148 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3154 test -z "$as_dir" && as_dir
=.
3155 for ac_exec_ext
in '' $ac_executable_extensions; do
3156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3157 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3164 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
="ranlib-not-found-in-path-error"
3167 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3168 if test -n "$ac_ct_RANLIB"; then
3169 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3170 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3172 echo "$as_me:$LINENO: result: no" >&5
3173 echo "${ECHO_T}no" >&6
3176 RANLIB
=$ac_ct_RANLIB
3178 RANLIB
="$ac_cv_prog_RANLIB"
3181 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3182 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3183 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3184 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3185 echo $ECHO_N "(cached) $ECHO_C" >&6
3187 cat >conftest.
make <<\_ACEOF
3189 @
echo 'ac_maketemp="$(MAKE)"'
3191 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3192 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3193 if test -n "$ac_maketemp"; then
3194 eval ac_cv_prog_make_
${ac_make}_set
=yes
3196 eval ac_cv_prog_make_
${ac_make}_set
=no
3200 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3201 echo "$as_me:$LINENO: result: yes" >&5
3202 echo "${ECHO_T}yes" >&6
3205 echo "$as_me:$LINENO: result: no" >&5
3206 echo "${ECHO_T}no" >&6
3207 SET_MAKE
="MAKE=${MAKE-make}"
3210 # Find a good install program. We prefer a C program (faster),
3211 # so one script is as good as another. But avoid the broken or
3212 # incompatible versions:
3213 # SysV /etc/install, /usr/sbin/install
3214 # SunOS /usr/etc/install
3215 # IRIX /sbin/install
3217 # AmigaOS /C/install, which installs bootblocks on floppy discs
3218 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3219 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3220 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3221 # OS/2's system install, which has a completely different semantic
3222 # ./install, which can be erroneously created by make from ./install.sh.
3223 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3224 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3225 if test -z "$INSTALL"; then
3226 if test "${ac_cv_path_install+set}" = set; then
3227 echo $ECHO_N "(cached) $ECHO_C" >&6
3229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3233 test -z "$as_dir" && as_dir
=.
3234 # Account for people who put trailing slashes in PATH elements.
3236 .
/ | .
// |
/cC
/* | \
3237 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3238 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3241 # OSF1 and SCO ODT 3.0 have their own names for install.
3242 # Don't use installbsd from OSF since it installs stuff as root
3244 for ac_prog
in ginstall scoinst
install; do
3245 for ac_exec_ext
in '' $ac_executable_extensions; do
3246 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3247 if test $ac_prog = install &&
3248 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3249 # AIX install. It has an incompatible calling convention.
3251 elif test $ac_prog = install &&
3252 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3253 # program-specific install script used by HP pwplus--don't use.
3256 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3268 if test "${ac_cv_path_install+set}" = set; then
3269 INSTALL
=$ac_cv_path_install
3271 # As a last resort, use the slow shell script. We don't cache a
3272 # path for INSTALL within a source directory, because that will
3273 # break other packages using the cache if that directory is
3274 # removed, or if the path is relative.
3275 INSTALL
=$ac_install_sh
3278 echo "$as_me:$LINENO: result: $INSTALL" >&5
3279 echo "${ECHO_T}$INSTALL" >&6
3281 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3282 # It thinks the first close brace ends the variable substitution.
3283 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3285 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3287 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3291 #AC_MSG_NOTICE([====== Starting libtool configuration])
3293 # Check whether --enable-shared or --disable-shared was given.
3294 if test "${enable_shared+set}" = set; then
3295 enableval
="$enable_shared"
3296 p
=${PACKAGE-default}
3298 yes) enable_shared
=yes ;;
3299 no
) enable_shared
=no
;;
3302 # Look at the argument we got. We use all the common list separators.
3303 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3304 for pkg
in $enableval; do
3305 if test "X$pkg" = "X$p"; then
3315 # Check whether --enable-static or --disable-static was given.
3316 if test "${enable_static+set}" = set; then
3317 enableval
="$enable_static"
3318 p
=${PACKAGE-default}
3320 yes) enable_static
=yes ;;
3321 no
) enable_static
=no
;;
3324 # Look at the argument we got. We use all the common list separators.
3325 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3326 for pkg
in $enableval; do
3327 if test "X$pkg" = "X$p"; then
3337 # Check whether --enable-fast-install or --disable-fast-install was given.
3338 if test "${enable_fast_install+set}" = set; then
3339 enableval
="$enable_fast_install"
3340 p
=${PACKAGE-default}
3342 yes) enable_fast_install
=yes ;;
3343 no
) enable_fast_install
=no
;;
3345 enable_fast_install
=no
3346 # Look at the argument we got. We use all the common list separators.
3347 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3348 for pkg
in $enableval; do
3349 if test "X$pkg" = "X$p"; then
3350 enable_fast_install
=yes
3357 enable_fast_install
=yes
3360 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3361 if test "${with_gnu_ld+set}" = set; then
3362 withval
="$with_gnu_ld"
3363 test "$withval" = no || with_gnu_ld
=yes
3368 if test "$GCC" = yes; then
3369 # Check if gcc -print-prog-name=ld gives a path.
3370 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3371 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3374 # gcc leaves a trailing carriage return which upsets mingw
3375 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3377 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3380 # Accept absolute paths.
3381 [\\/]* |
[A-Za-z
]:[\\/]*)
3382 re_direlt
='/[^/][^/]*/\.\./'
3383 # Canonicalize the path of ld
3384 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3385 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3386 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3388 test -z "$LD" && LD
="$ac_prog"
3391 # If it fails, then pretend we aren't using GCC.
3395 # If it is relative, then search for the first ld in PATH.
3399 elif test "$with_gnu_ld" = yes; then
3400 echo "$as_me:$LINENO: checking for GNU ld" >&5
3401 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3403 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3404 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3406 if test "${lt_cv_path_LD+set}" = set; then
3407 echo $ECHO_N "(cached) $ECHO_C" >&6
3409 if test -z "$LD"; then
3410 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3411 for ac_dir
in $PATH; do
3412 test -z "$ac_dir" && ac_dir
=.
3413 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3414 lt_cv_path_LD
="$ac_dir/$ac_prog"
3415 # Check to see if the program is GNU ld. I'd rather use --version,
3416 # but apparently some GNU ld's only accept -v.
3417 # Break only if it was the GNU/non-GNU ld that we prefer.
3418 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3419 test "$with_gnu_ld" != no
&& break
3421 test "$with_gnu_ld" != yes && break
3427 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3432 if test -n "$LD"; then
3433 echo "$as_me:$LINENO: result: $LD" >&5
3434 echo "${ECHO_T}$LD" >&6
3436 echo "$as_me:$LINENO: result: no" >&5
3437 echo "${ECHO_T}no" >&6
3439 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3440 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3441 { (exit 1); exit 1; }; }
3442 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3443 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3444 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3445 echo $ECHO_N "(cached) $ECHO_C" >&6
3447 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3448 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3449 lt_cv_prog_gnu_ld
=yes
3451 lt_cv_prog_gnu_ld
=no
3454 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3455 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3456 with_gnu_ld
=$lt_cv_prog_gnu_ld
3459 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3460 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3461 if test "${lt_cv_ld_reload_flag+set}" = set; then
3462 echo $ECHO_N "(cached) $ECHO_C" >&6
3464 lt_cv_ld_reload_flag
='-r'
3466 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3467 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3468 reload_flag
=$lt_cv_ld_reload_flag
3469 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3471 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3472 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3473 if test "${lt_cv_path_NM+set}" = set; then
3474 echo $ECHO_N "(cached) $ECHO_C" >&6
3476 if test -n "$NM"; then
3477 # Let the user override the test.
3480 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3481 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3482 test -z "$ac_dir" && ac_dir
=.
3483 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3484 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3485 # Check to see if the nm accepts a BSD-compat flag.
3486 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3487 # nm: unknown option "B" ignored
3488 # Tru64's nm complains that /dev/null is an invalid object file
3489 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3490 lt_cv_path_NM
="$tmp_nm -B"
3492 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3493 lt_cv_path_NM
="$tmp_nm -p"
3496 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3497 continue # so that we can try to find one that supports BSD flags
3502 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3507 echo "$as_me:$LINENO: result: $NM" >&5
3508 echo "${ECHO_T}$NM" >&6
3510 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3511 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3513 if test "$LN_S" = "ln -s"; then
3514 echo "$as_me:$LINENO: result: yes" >&5
3515 echo "${ECHO_T}yes" >&6
3517 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3518 echo "${ECHO_T}no, using $LN_S" >&6
3521 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3522 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3523 if test "${lt_cv_deplibs_check_method+set}" = set; then
3524 echo $ECHO_N "(cached) $ECHO_C" >&6
3526 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3527 lt_cv_file_magic_test_file
=
3528 lt_cv_deplibs_check_method
='unknown'
3529 # Need to set the preceding variable on all platforms that support
3530 # interlibrary dependencies.
3531 # 'none' -- dependencies not supported.
3532 # `unknown' -- same as none, but documents that we really don't know.
3533 # 'pass_all' -- all dependencies passed with no checks.
3534 # 'test_compile' -- check by making test program.
3535 # 'file_magic [regex]' -- check by looking for files in library path
3536 # which responds to the $file_magic_cmd with a given egrep regex.
3537 # If you have `file' or equivalent on your system and you're not sure
3538 # whether `pass_all' will *always* work, you probably want this one.
3542 lt_cv_deplibs_check_method
=pass_all
3546 lt_cv_deplibs_check_method
=pass_all
3550 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3551 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3552 lt_cv_file_magic_test_file
=/shlib
/libc.so
3555 cygwin
* | mingw
* |pw32
*)
3556 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3557 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3560 darwin
* | rhapsody
*)
3561 # this will be overwritten by pass_all, but leave it in just in case
3562 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3563 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3565 rhapsody
* | darwin1.012
)
3566 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3569 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3572 lt_cv_deplibs_check_method
=pass_all
3575 freebsd
* | kfreebsd
*-gnu)
3576 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3579 # Not sure whether the presence of OpenBSD here was a mistake.
3580 # Let's accept both of them until this is cleared up.
3581 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3582 lt_cv_file_magic_cmd
=/usr
/bin
/file
3583 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3587 lt_cv_deplibs_check_method
=pass_all
3592 lt_cv_deplibs_check_method
=pass_all
3598 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3599 lt_cv_file_magic_cmd
=/usr
/bin
/file
3600 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3603 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3604 lt_cv_file_magic_cmd
=/usr
/bin
/file
3605 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3613 # this will be overridden with pass_all, but let us keep it just in case
3614 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3618 *-32|
*"-32 ") libmagic
=32-bit;;
3619 *-n32|
*"-n32 ") libmagic
=N32
;;
3620 *-64|
*"-64 ") libmagic
=64-bit;;
3621 *) libmagic
=never-match
;;
3623 # this will be overridden with pass_all, but let us keep it just in case
3624 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3627 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3628 lt_cv_deplibs_check_method
=pass_all
3631 # This must be Linux ELF.
3633 lt_cv_deplibs_check_method
=pass_all
3636 netbsd
* | knetbsd
*-gnu)
3637 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3638 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3640 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3645 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3646 lt_cv_file_magic_cmd
=/usr
/bin
/file
3647 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3650 osf3
* | osf4
* | osf5
*)
3651 # this will be overridden with pass_all, but let us keep it just in case
3652 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3653 lt_cv_file_magic_test_file
=/shlib
/libc.so
3654 lt_cv_deplibs_check_method
=pass_all
3658 lt_cv_deplibs_check_method
=pass_all
3662 lt_cv_deplibs_check_method
=pass_all
3663 lt_cv_file_magic_test_file
=/lib
/libc.so
3666 sysv5uw
[78]* | sysv4
*uw2
*)
3667 lt_cv_deplibs_check_method
=pass_all
3670 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3671 case $host_vendor in
3673 lt_cv_deplibs_check_method
=pass_all
3676 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]'
3677 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3684 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3685 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3686 file_magic_cmd
=$lt_cv_file_magic_cmd
3687 deplibs_check_method
=$lt_cv_deplibs_check_method
3693 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3695 # find the maximum length of command line arguments
3696 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3697 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3698 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3699 echo $ECHO_N "(cached) $ECHO_C" >&6
3706 # On DJGPP, this test can blow up pretty badly due to problems in libc
3707 # (any single argument exceeding 2000 bytes causes a buffer overrun
3708 # during glob expansion). Even if it were fixed, the result of this
3709 # check would be larger than it should be.
3710 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3714 # On Win9x/ME, this test blows up -- it succeeds, but takes
3715 # about 5 minutes as the teststring grows exponentially.
3716 # Worse, since 9x/ME are not pre-emptively multitasking,
3717 # you end up with a "frozen" computer, even though with patience
3718 # the test eventually succeeds (with a max line length of 256k).
3719 # Instead, let's just punt: use the minimum linelength reported by
3720 # all of the supported platforms: 8192 (on NT/2K/XP).
3721 lt_cv_sys_max_cmd_len
=8192;
3725 # On AmigaOS with pdksh, this test takes hours, literally.
3726 # So we just punt and use a minimum line length of 8192.
3727 lt_cv_sys_max_cmd_len
=8192;
3730 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3731 # This has been around since 386BSD, at least. Likely further.
3732 if test -x /sbin
/sysctl
; then
3733 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3734 elif test -x /usr
/sbin
/sysctl
; then
3735 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3737 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
3739 # And add a safety zone
3740 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3741 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3747 if test -n $lt_cv_sys_max_cmd_len ; then
3748 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3749 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3751 echo "$as_me:$LINENO: result: none" >&5
3752 echo "${ECHO_T}none" >&6
3756 # Only perform the check for file, if the check method requires it
3757 case $deplibs_check_method in
3759 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3760 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3761 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3762 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3763 echo $ECHO_N "(cached) $ECHO_C" >&6
3767 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3770 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3773 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3774 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3775 ac_dummy
="/usr/bin:$PATH"
3776 for ac_dir
in $ac_dummy; do
3777 test -z "$ac_dir" && ac_dir
=.
3778 if test -f $ac_dir/${ac_tool_prefix}file; then
3779 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3780 if test -n "$file_magic_test_file"; then
3781 case $deplibs_check_method in
3783 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3784 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3785 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3786 egrep "$file_magic_regex" > /dev
/null
; then
3791 *** Warning: the command libtool uses to detect shared libraries,
3792 *** $file_magic_cmd, produces output that libtool cannot recognize.
3793 *** The result is that libtool may fail to recognize shared libraries
3794 *** as such. This will affect the creation of libtool libraries that
3795 *** depend on shared libraries, but programs linked with such libtool
3796 *** libraries will work regardless of this problem. Nevertheless, you
3797 *** may want to report the problem to your system manager and/or to
3798 *** bug-libtool@gnu.org
3808 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3813 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3814 if test -n "$MAGIC_CMD"; then
3815 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3816 echo "${ECHO_T}$MAGIC_CMD" >&6
3818 echo "$as_me:$LINENO: result: no" >&5
3819 echo "${ECHO_T}no" >&6
3822 if test -z "$lt_cv_path_MAGIC_CMD"; then
3823 if test -n "$ac_tool_prefix"; then
3824 echo "$as_me:$LINENO: checking for file" >&5
3825 echo $ECHO_N "checking for file... $ECHO_C" >&6
3826 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3827 echo $ECHO_N "(cached) $ECHO_C" >&6
3831 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3834 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3837 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3838 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3839 ac_dummy
="/usr/bin:$PATH"
3840 for ac_dir
in $ac_dummy; do
3841 test -z "$ac_dir" && ac_dir
=.
3842 if test -f $ac_dir/file; then
3843 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3844 if test -n "$file_magic_test_file"; then
3845 case $deplibs_check_method in
3847 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3848 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3849 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3850 egrep "$file_magic_regex" > /dev
/null
; then
3855 *** Warning: the command libtool uses to detect shared libraries,
3856 *** $file_magic_cmd, produces output that libtool cannot recognize.
3857 *** The result is that libtool may fail to recognize shared libraries
3858 *** as such. This will affect the creation of libtool libraries that
3859 *** depend on shared libraries, but programs linked with such libtool
3860 *** libraries will work regardless of this problem. Nevertheless, you
3861 *** may want to report the problem to your system manager and/or to
3862 *** bug-libtool@gnu.org
3872 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3877 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3878 if test -n "$MAGIC_CMD"; then
3879 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3880 echo "${ECHO_T}$MAGIC_CMD" >&6
3882 echo "$as_me:$LINENO: result: no" >&5
3883 echo "${ECHO_T}no" >&6
3895 if test -n "$ac_tool_prefix"; then
3896 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3897 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3898 echo "$as_me:$LINENO: checking for $ac_word" >&5
3899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3900 if test "${ac_cv_prog_RANLIB+set}" = set; then
3901 echo $ECHO_N "(cached) $ECHO_C" >&6
3903 if test -n "$RANLIB"; then
3904 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3910 test -z "$as_dir" && as_dir
=.
3911 for ac_exec_ext
in '' $ac_executable_extensions; do
3912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3913 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3922 RANLIB
=$ac_cv_prog_RANLIB
3923 if test -n "$RANLIB"; then
3924 echo "$as_me:$LINENO: result: $RANLIB" >&5
3925 echo "${ECHO_T}$RANLIB" >&6
3927 echo "$as_me:$LINENO: result: no" >&5
3928 echo "${ECHO_T}no" >&6
3932 if test -z "$ac_cv_prog_RANLIB"; then
3933 ac_ct_RANLIB
=$RANLIB
3934 # Extract the first word of "ranlib", so it can be a program name with args.
3935 set dummy ranlib
; ac_word
=$2
3936 echo "$as_me:$LINENO: checking for $ac_word" >&5
3937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3938 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3939 echo $ECHO_N "(cached) $ECHO_C" >&6
3941 if test -n "$ac_ct_RANLIB"; then
3942 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3948 test -z "$as_dir" && as_dir
=.
3949 for ac_exec_ext
in '' $ac_executable_extensions; do
3950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3951 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3958 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3961 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3962 if test -n "$ac_ct_RANLIB"; then
3963 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3964 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3966 echo "$as_me:$LINENO: result: no" >&5
3967 echo "${ECHO_T}no" >&6
3970 RANLIB
=$ac_ct_RANLIB
3972 RANLIB
="$ac_cv_prog_RANLIB"
3975 if test -n "$ac_tool_prefix"; then
3976 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3977 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3978 echo "$as_me:$LINENO: checking for $ac_word" >&5
3979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3980 if test "${ac_cv_prog_STRIP+set}" = set; then
3981 echo $ECHO_N "(cached) $ECHO_C" >&6
3983 if test -n "$STRIP"; then
3984 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3990 test -z "$as_dir" && as_dir
=.
3991 for ac_exec_ext
in '' $ac_executable_extensions; do
3992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3993 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4002 STRIP
=$ac_cv_prog_STRIP
4003 if test -n "$STRIP"; then
4004 echo "$as_me:$LINENO: result: $STRIP" >&5
4005 echo "${ECHO_T}$STRIP" >&6
4007 echo "$as_me:$LINENO: result: no" >&5
4008 echo "${ECHO_T}no" >&6
4012 if test -z "$ac_cv_prog_STRIP"; then
4014 # Extract the first word of "strip", so it can be a program name with args.
4015 set dummy strip
; ac_word
=$2
4016 echo "$as_me:$LINENO: checking for $ac_word" >&5
4017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4018 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4019 echo $ECHO_N "(cached) $ECHO_C" >&6
4021 if test -n "$ac_ct_STRIP"; then
4022 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4028 test -z "$as_dir" && as_dir
=.
4029 for ac_exec_ext
in '' $ac_executable_extensions; do
4030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4031 ac_cv_prog_ac_ct_STRIP
="strip"
4032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4038 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
4041 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4042 if test -n "$ac_ct_STRIP"; then
4043 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4044 echo "${ECHO_T}$ac_ct_STRIP" >&6
4046 echo "$as_me:$LINENO: result: no" >&5
4047 echo "${ECHO_T}no" >&6
4052 STRIP
="$ac_cv_prog_STRIP"
4056 # Check for any special flags to pass to ltconfig.
4057 libtool_flags
="--cache-file=$cache_file"
4058 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4059 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4060 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4061 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4062 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4065 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4066 if test "${enable_libtool_lock+set}" = set; then
4067 enableval
="$enable_libtool_lock"
4070 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4071 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4074 # Check whether --with-pic or --without-pic was given.
4075 if test "${with_pic+set}" = set; then
4081 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4082 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4084 # Some flags need to be propagated to the compiler or linker for good
4088 # Find out which ABI we are using.
4089 echo '#line 4089 "configure"' > conftest.
$ac_ext
4090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4091 (eval $ac_compile) 2>&5
4093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094 (exit $ac_status); }; then
4095 if test "$lt_cv_prog_gnu_ld" = yes; then
4096 case `/usr/bin/file conftest.$ac_objext` in
4098 LD
="${LD-ld} -melf32bsmip"
4101 LD
="${LD-ld} -melf32bmipn32"
4104 LD
="${LD-ld} -melf64bmip"
4108 case `/usr/bin/file conftest.$ac_objext` in
4125 # Find out which ABI we are using.
4126 echo 'int i;' > conftest.
$ac_ext
4127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4128 (eval $ac_compile) 2>&5
4130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4131 (exit $ac_status); }; then
4132 case "`/usr/bin/file conftest.o`" in
4144 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4145 # Find out which ABI we are using.
4146 echo 'int i;' > conftest.
$ac_ext
4147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4148 (eval $ac_compile) 2>&5
4150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4151 (exit $ac_status); }; then
4152 case "`/usr/bin/file conftest.o`" in
4156 LD
="${LD-ld} -m elf_i386"
4158 ppc64-
*linux
*|powerpc64-
*linux
*)
4159 LD
="${LD-ld} -m elf32ppclinux"
4162 LD
="${LD-ld} -m elf_s390"
4165 LD
="${LD-ld} -m elf32_sparc"
4172 LD
="${LD-ld} -m elf_x86_64"
4174 ppc
*-*linux
*|powerpc
*-*linux
*)
4175 LD
="${LD-ld} -m elf64ppc"
4178 LD
="${LD-ld} -m elf64_s390"
4181 LD
="${LD-ld} -m elf64_sparc"
4191 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4192 SAVE_CFLAGS
="$CFLAGS"
4193 CFLAGS
="$CFLAGS -belf"
4194 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4195 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4196 if test "${lt_cv_cc_needs_belf+set}" = set; then
4197 echo $ECHO_N "(cached) $ECHO_C" >&6
4202 ac_cpp
='$CPP $CPPFLAGS'
4203 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4204 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4205 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4207 cat >conftest.
$ac_ext <<_ACEOF
4210 cat confdefs.h
>>conftest.
$ac_ext
4211 cat >>conftest.
$ac_ext <<_ACEOF
4212 /* end confdefs.h. */
4222 rm -f conftest.
$ac_objext conftest
$ac_exeext
4223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4224 (eval $ac_link) 2>conftest.er1
4226 grep -v '^ *+' conftest.er1
>conftest.err
4228 cat conftest.err
>&5
4229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4230 (exit $ac_status); } &&
4231 { ac_try
='test -z "$ac_c_werror_flag"
4232 || test ! -s conftest.err'
4233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); }; } &&
4238 { ac_try
='test -s conftest$ac_exeext'
4239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243 (exit $ac_status); }; }; then
4244 lt_cv_cc_needs_belf
=yes
4246 echo "$as_me: failed program was:" >&5
4247 sed 's/^/| /' conftest.
$ac_ext >&5
4249 lt_cv_cc_needs_belf
=no
4251 rm -f conftest.err conftest.
$ac_objext \
4252 conftest
$ac_exeext conftest.
$ac_ext
4254 ac_cpp
='$CPP $CPPFLAGS'
4255 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4256 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4257 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4260 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4261 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4262 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4263 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4264 CFLAGS
="$SAVE_CFLAGS"
4272 # Save cache, so that ltconfig can load it
4273 cat >confcache
<<\_ACEOF
4274 # This file is a shell script that caches the results of configure
4275 # tests run on this system so they can be shared between configure
4276 # scripts and configure runs, see configure's option --config-cache.
4277 # It is not useful on other systems. If it contains results you don't
4278 # want to keep, you may remove or edit it.
4280 # config.status only pays attention to the cache file if you give it
4281 # the --recheck option to rerun configure.
4283 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4284 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4289 # The following way of writing the cache mishandles newlines in values,
4290 # but we know of no workaround that is simple, portable, and efficient.
4291 # So, don't put newlines in cache variables' values.
4292 # Ultrix sh set writes to stderr and can't be redirected directly,
4293 # and sets the high bit in the cache file unless we assign to the vars.
4296 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4298 # `set' does not quote correctly, so add quotes (double-quote
4299 # substitution turns \\\\ into \\, and sed turns \\ into \).
4302 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4305 # `set' quotes correctly as required by POSIX, so do not add quotes.
4307 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4314 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4316 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4318 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4319 if test -w $cache_file; then
4320 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4321 cat confcache
>$cache_file
4323 echo "not updating unwritable cache $cache_file"
4328 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4329 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4330 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4331 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4332 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4333 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4334 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4335 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4336 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4337 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4338 echo "$as_me: error: libtool configure failed" >&2;}
4339 { (exit 1); exit 1; }; }
4341 # Reload cache, that may have been modified by ltconfig
4342 if test -r "$cache_file"; then
4343 # Some versions of bash will fail to source /dev/null (special
4344 # files actually), so we avoid doing that.
4345 if test -f "$cache_file"; then
4346 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4347 echo "$as_me: loading cache $cache_file" >&6;}
4349 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4350 *) . .
/$cache_file;;
4354 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4355 echo "$as_me: creating cache $cache_file" >&6;}
4360 # This can be used to rebuild libtool when needed
4361 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4363 # Always use our own libtool.
4364 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4366 # Redirect the config.log output again, so that the ltconfig log is not
4367 # clobbered by the next message.
4368 exec 5>>.
/config.log
4377 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4379 # We need gfortran to compile parts of the library
4380 # We can't use AC_PROG_FC because it expects a fully working gfortran.
4381 #AC_PROG_FC(gfortran)
4383 ac_ext
=${FC_SRCEXT-f}
4384 ac_compile
='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4385 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4386 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
4387 if test -n "$ac_tool_prefix"; then
4388 for ac_prog
in gfortran
4390 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4391 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4392 echo "$as_me:$LINENO: checking for $ac_word" >&5
4393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4394 if test "${ac_cv_prog_FC+set}" = set; then
4395 echo $ECHO_N "(cached) $ECHO_C" >&6
4397 if test -n "$FC"; then
4398 ac_cv_prog_FC
="$FC" # Let the user override the test.
4400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4404 test -z "$as_dir" && as_dir
=.
4405 for ac_exec_ext
in '' $ac_executable_extensions; do
4406 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4407 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
4408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4417 if test -n "$FC"; then
4418 echo "$as_me:$LINENO: result: $FC" >&5
4419 echo "${ECHO_T}$FC" >&6
4421 echo "$as_me:$LINENO: result: no" >&5
4422 echo "${ECHO_T}no" >&6
4425 test -n "$FC" && break
4428 if test -z "$FC"; then
4430 for ac_prog
in gfortran
4432 # Extract the first word of "$ac_prog", so it can be a program name with args.
4433 set dummy
$ac_prog; ac_word
=$2
4434 echo "$as_me:$LINENO: checking for $ac_word" >&5
4435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4436 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4437 echo $ECHO_N "(cached) $ECHO_C" >&6
4439 if test -n "$ac_ct_FC"; then
4440 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
4442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4446 test -z "$as_dir" && as_dir
=.
4447 for ac_exec_ext
in '' $ac_executable_extensions; do
4448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4449 ac_cv_prog_ac_ct_FC
="$ac_prog"
4450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4458 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
4459 if test -n "$ac_ct_FC"; then
4460 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4461 echo "${ECHO_T}$ac_ct_FC" >&6
4463 echo "$as_me:$LINENO: result: no" >&5
4464 echo "${ECHO_T}no" >&6
4467 test -n "$ac_ct_FC" && break
4474 # Provide some information about the compiler.
4475 echo "$as_me:4475:" \
4476 "checking for Fortran compiler version" >&5
4477 ac_compiler
=`set X $ac_compile; echo $2`
4478 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4479 (eval $ac_compiler --version </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); }
4488 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4489 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4492 (exit $ac_status); }
4495 # If we don't use `.F' as extension, the preprocessor is not run on the
4496 # input file. (Note that this only needs to work for GNU compilers.)
4499 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4500 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4501 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4502 echo $ECHO_N "(cached) $ECHO_C" >&6
4504 cat >conftest.
$ac_ext <<_ACEOF
4512 rm -f conftest.
$ac_objext
4513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4514 (eval $ac_compile) 2>conftest.er1
4516 grep -v '^ *+' conftest.er1
>conftest.err
4518 cat conftest.err
>&5
4519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4520 (exit $ac_status); } &&
4521 { ac_try
='test -z "$ac_fc_werror_flag"
4522 || test ! -s conftest.err'
4523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); }; } &&
4528 { ac_try
='test -s conftest.$ac_objext'
4529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4533 (exit $ac_status); }; }; then
4536 echo "$as_me: failed program was:" >&5
4537 sed 's/^/| /' conftest.
$ac_ext >&5
4541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4542 ac_cv_fc_compiler_gnu
=$ac_compiler_gnu
4545 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4546 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4548 ac_test_FFLAGS
=${FCFLAGS+set}
4549 ac_save_FFLAGS
=$FCFLAGS
4551 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4552 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4553 if test "${ac_cv_prog_fc_g+set}" = set; then
4554 echo $ECHO_N "(cached) $ECHO_C" >&6
4557 cat >conftest.
$ac_ext <<_ACEOF
4562 rm -f conftest.
$ac_objext
4563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4564 (eval $ac_compile) 2>conftest.er1
4566 grep -v '^ *+' conftest.er1
>conftest.err
4568 cat conftest.err
>&5
4569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570 (exit $ac_status); } &&
4571 { ac_try
='test -z "$ac_fc_werror_flag"
4572 || test ! -s conftest.err'
4573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4577 (exit $ac_status); }; } &&
4578 { ac_try
='test -s conftest.$ac_objext'
4579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4583 (exit $ac_status); }; }; then
4586 echo "$as_me: failed program was:" >&5
4587 sed 's/^/| /' conftest.
$ac_ext >&5
4591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4594 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4595 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4596 if test "$ac_test_FFLAGS" = set; then
4597 FCFLAGS
=$ac_save_FFLAGS
4598 elif test $ac_cv_prog_fc_g = yes; then
4599 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
4605 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
4613 ac_cpp
='$CPP $CPPFLAGS'
4614 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4615 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4616 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4618 FCFLAGS
="$FCFLAGS -Wall -fno-repack-arrays -fno-underscoring"
4620 # extra LD Flags which are required for targets
4623 # Darwin needs -single_module when linking libgfortran
4624 extra_ldflags_libgfortran
=-Wl,-single_module
4629 # Check whether --enable-largefile or --disable-largefile was given.
4630 if test "${enable_largefile+set}" = set; then
4631 enableval
="$enable_largefile"
4634 if test "$enable_largefile" != no
; then
4636 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4637 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4638 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4639 echo $ECHO_N "(cached) $ECHO_C" >&6
4641 ac_cv_sys_largefile_CC
=no
4642 if test "$GCC" != yes; then
4645 # IRIX 6.2 and later do not support large files by default,
4646 # so use the C compiler's -n32 option if that helps.
4647 cat >conftest.
$ac_ext <<_ACEOF
4650 cat confdefs.h
>>conftest.
$ac_ext
4651 cat >>conftest.
$ac_ext <<_ACEOF
4652 /* end confdefs.h. */
4653 #include <sys/types.h>
4654 /* Check that off_t can represent 2**63 - 1 correctly.
4655 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4656 since some C++ compilers masquerading as C compilers
4657 incorrectly reject 9223372036854775807. */
4658 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4659 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4660 && LARGE_OFF_T % 2147483647 == 1)
4670 rm -f conftest.
$ac_objext
4671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4672 (eval $ac_compile) 2>conftest.er1
4674 grep -v '^ *+' conftest.er1
>conftest.err
4676 cat conftest.err
>&5
4677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4678 (exit $ac_status); } &&
4679 { ac_try
='test -z "$ac_c_werror_flag"
4680 || test ! -s conftest.err'
4681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4685 (exit $ac_status); }; } &&
4686 { ac_try
='test -s conftest.$ac_objext'
4687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691 (exit $ac_status); }; }; then
4694 echo "$as_me: failed program was:" >&5
4695 sed 's/^/| /' conftest.
$ac_ext >&5
4698 rm -f conftest.err conftest.
$ac_objext
4700 rm -f conftest.
$ac_objext
4701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4702 (eval $ac_compile) 2>conftest.er1
4704 grep -v '^ *+' conftest.er1
>conftest.err
4706 cat conftest.err
>&5
4707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4708 (exit $ac_status); } &&
4709 { ac_try
='test -z "$ac_c_werror_flag"
4710 || test ! -s conftest.err'
4711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715 (exit $ac_status); }; } &&
4716 { ac_try
='test -s conftest.$ac_objext'
4717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721 (exit $ac_status); }; }; then
4722 ac_cv_sys_largefile_CC
=' -n32'; break
4724 echo "$as_me: failed program was:" >&5
4725 sed 's/^/| /' conftest.
$ac_ext >&5
4728 rm -f conftest.err conftest.
$ac_objext
4732 rm -f conftest.
$ac_ext
4735 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4736 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4737 if test "$ac_cv_sys_largefile_CC" != no
; then
4738 CC
=$CC$ac_cv_sys_largefile_CC
4741 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4742 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4743 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4744 echo $ECHO_N "(cached) $ECHO_C" >&6
4747 ac_cv_sys_file_offset_bits
=no
4748 cat >conftest.
$ac_ext <<_ACEOF
4751 cat confdefs.h
>>conftest.
$ac_ext
4752 cat >>conftest.
$ac_ext <<_ACEOF
4753 /* end confdefs.h. */
4754 #include <sys/types.h>
4755 /* Check that off_t can represent 2**63 - 1 correctly.
4756 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4757 since some C++ compilers masquerading as C compilers
4758 incorrectly reject 9223372036854775807. */
4759 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4760 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4761 && LARGE_OFF_T % 2147483647 == 1)
4771 rm -f conftest.
$ac_objext
4772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4773 (eval $ac_compile) 2>conftest.er1
4775 grep -v '^ *+' conftest.er1
>conftest.err
4777 cat conftest.err
>&5
4778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4779 (exit $ac_status); } &&
4780 { ac_try
='test -z "$ac_c_werror_flag"
4781 || test ! -s conftest.err'
4782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4786 (exit $ac_status); }; } &&
4787 { ac_try
='test -s conftest.$ac_objext'
4788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4792 (exit $ac_status); }; }; then
4795 echo "$as_me: failed program was:" >&5
4796 sed 's/^/| /' conftest.
$ac_ext >&5
4799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4800 cat >conftest.
$ac_ext <<_ACEOF
4803 cat confdefs.h
>>conftest.
$ac_ext
4804 cat >>conftest.
$ac_ext <<_ACEOF
4805 /* end confdefs.h. */
4806 #define _FILE_OFFSET_BITS 64
4807 #include <sys/types.h>
4808 /* Check that off_t can represent 2**63 - 1 correctly.
4809 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4810 since some C++ compilers masquerading as C compilers
4811 incorrectly reject 9223372036854775807. */
4812 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4813 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4814 && LARGE_OFF_T % 2147483647 == 1)
4824 rm -f conftest.
$ac_objext
4825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4826 (eval $ac_compile) 2>conftest.er1
4828 grep -v '^ *+' conftest.er1
>conftest.err
4830 cat conftest.err
>&5
4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832 (exit $ac_status); } &&
4833 { ac_try
='test -z "$ac_c_werror_flag"
4834 || test ! -s conftest.err'
4835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4839 (exit $ac_status); }; } &&
4840 { ac_try
='test -s conftest.$ac_objext'
4841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4845 (exit $ac_status); }; }; then
4846 ac_cv_sys_file_offset_bits
=64; break
4848 echo "$as_me: failed program was:" >&5
4849 sed 's/^/| /' conftest.
$ac_ext >&5
4852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4856 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4857 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4858 if test "$ac_cv_sys_file_offset_bits" != no
; then
4860 cat >>confdefs.h
<<_ACEOF
4861 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4866 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4867 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4868 if test "${ac_cv_sys_large_files+set}" = set; then
4869 echo $ECHO_N "(cached) $ECHO_C" >&6
4872 ac_cv_sys_large_files
=no
4873 cat >conftest.
$ac_ext <<_ACEOF
4876 cat confdefs.h
>>conftest.
$ac_ext
4877 cat >>conftest.
$ac_ext <<_ACEOF
4878 /* end confdefs.h. */
4879 #include <sys/types.h>
4880 /* Check that off_t can represent 2**63 - 1 correctly.
4881 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4882 since some C++ compilers masquerading as C compilers
4883 incorrectly reject 9223372036854775807. */
4884 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4885 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4886 && LARGE_OFF_T % 2147483647 == 1)
4896 rm -f conftest.
$ac_objext
4897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4898 (eval $ac_compile) 2>conftest.er1
4900 grep -v '^ *+' conftest.er1
>conftest.err
4902 cat conftest.err
>&5
4903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4904 (exit $ac_status); } &&
4905 { ac_try
='test -z "$ac_c_werror_flag"
4906 || test ! -s conftest.err'
4907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); }; } &&
4912 { ac_try
='test -s conftest.$ac_objext'
4913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4917 (exit $ac_status); }; }; then
4920 echo "$as_me: failed program was:" >&5
4921 sed 's/^/| /' conftest.
$ac_ext >&5
4924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4925 cat >conftest.
$ac_ext <<_ACEOF
4928 cat confdefs.h
>>conftest.
$ac_ext
4929 cat >>conftest.
$ac_ext <<_ACEOF
4930 /* end confdefs.h. */
4931 #define _LARGE_FILES 1
4932 #include <sys/types.h>
4933 /* Check that off_t can represent 2**63 - 1 correctly.
4934 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4935 since some C++ compilers masquerading as C compilers
4936 incorrectly reject 9223372036854775807. */
4937 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4938 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4939 && LARGE_OFF_T % 2147483647 == 1)
4949 rm -f conftest.
$ac_objext
4950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4951 (eval $ac_compile) 2>conftest.er1
4953 grep -v '^ *+' conftest.er1
>conftest.err
4955 cat conftest.err
>&5
4956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4957 (exit $ac_status); } &&
4958 { ac_try
='test -z "$ac_c_werror_flag"
4959 || test ! -s conftest.err'
4960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4964 (exit $ac_status); }; } &&
4965 { ac_try
='test -s conftest.$ac_objext'
4966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4970 (exit $ac_status); }; }; then
4971 ac_cv_sys_large_files
=1; break
4973 echo "$as_me: failed program was:" >&5
4974 sed 's/^/| /' conftest.
$ac_ext >&5
4977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4981 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4982 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4983 if test "$ac_cv_sys_large_files" != no
; then
4985 cat >>confdefs.h
<<_ACEOF
4986 #define _LARGE_FILES $ac_cv_sys_large_files
4994 ac_cpp
='$CPP $CPPFLAGS'
4995 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4996 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4997 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4998 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4999 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5000 # On Suns, sometimes $CPP names a directory.
5001 if test -n "$CPP" && test -d "$CPP"; then
5004 if test -z "$CPP"; then
5005 if test "${ac_cv_prog_CPP+set}" = set; then
5006 echo $ECHO_N "(cached) $ECHO_C" >&6
5008 # Double quotes because CPP needs to be expanded
5009 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5012 for ac_c_preproc_warn_flag
in '' yes
5014 # Use a header file that comes with gcc, so configuring glibc
5015 # with a fresh cross-compiler works.
5016 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5017 # <limits.h> exists even on freestanding compilers.
5018 # On the NeXT, cc -E runs the code through the compiler's parser,
5019 # not just through cpp. "Syntax error" is here to catch this case.
5020 cat >conftest.
$ac_ext <<_ACEOF
5023 cat confdefs.h
>>conftest.
$ac_ext
5024 cat >>conftest.
$ac_ext <<_ACEOF
5025 /* end confdefs.h. */
5027 # include <limits.h>
5029 # include <assert.h>
5033 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5034 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5036 grep -v '^ *+' conftest.er1
>conftest.err
5038 cat conftest.err
>&5
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); } >/dev
/null
; then
5041 if test -s conftest.err
; then
5042 ac_cpp_err
=$ac_c_preproc_warn_flag
5043 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5050 if test -z "$ac_cpp_err"; then
5053 echo "$as_me: failed program was:" >&5
5054 sed 's/^/| /' conftest.
$ac_ext >&5
5056 # Broken: fails on valid input.
5059 rm -f conftest.err conftest.
$ac_ext
5061 # OK, works on sane cases. Now check whether non-existent headers
5062 # can be detected and how.
5063 cat >conftest.
$ac_ext <<_ACEOF
5066 cat confdefs.h
>>conftest.
$ac_ext
5067 cat >>conftest.
$ac_ext <<_ACEOF
5068 /* end confdefs.h. */
5069 #include <ac_nonexistent.h>
5071 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5072 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5074 grep -v '^ *+' conftest.er1
>conftest.err
5076 cat conftest.err
>&5
5077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5078 (exit $ac_status); } >/dev
/null
; then
5079 if test -s conftest.err
; then
5080 ac_cpp_err
=$ac_c_preproc_warn_flag
5081 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5088 if test -z "$ac_cpp_err"; then
5089 # Broken: success on invalid input.
5092 echo "$as_me: failed program was:" >&5
5093 sed 's/^/| /' conftest.
$ac_ext >&5
5095 # Passes both tests.
5099 rm -f conftest.err conftest.
$ac_ext
5102 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5103 rm -f conftest.err conftest.
$ac_ext
5104 if $ac_preproc_ok; then
5116 echo "$as_me:$LINENO: result: $CPP" >&5
5117 echo "${ECHO_T}$CPP" >&6
5119 for ac_c_preproc_warn_flag
in '' yes
5121 # Use a header file that comes with gcc, so configuring glibc
5122 # with a fresh cross-compiler works.
5123 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5124 # <limits.h> exists even on freestanding compilers.
5125 # On the NeXT, cc -E runs the code through the compiler's parser,
5126 # not just through cpp. "Syntax error" is here to catch this case.
5127 cat >conftest.
$ac_ext <<_ACEOF
5130 cat confdefs.h
>>conftest.
$ac_ext
5131 cat >>conftest.
$ac_ext <<_ACEOF
5132 /* end confdefs.h. */
5134 # include <limits.h>
5136 # include <assert.h>
5140 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5141 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5143 grep -v '^ *+' conftest.er1
>conftest.err
5145 cat conftest.err
>&5
5146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5147 (exit $ac_status); } >/dev
/null
; then
5148 if test -s conftest.err
; then
5149 ac_cpp_err
=$ac_c_preproc_warn_flag
5150 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5157 if test -z "$ac_cpp_err"; then
5160 echo "$as_me: failed program was:" >&5
5161 sed 's/^/| /' conftest.
$ac_ext >&5
5163 # Broken: fails on valid input.
5166 rm -f conftest.err conftest.
$ac_ext
5168 # OK, works on sane cases. Now check whether non-existent headers
5169 # can be detected and how.
5170 cat >conftest.
$ac_ext <<_ACEOF
5173 cat confdefs.h
>>conftest.
$ac_ext
5174 cat >>conftest.
$ac_ext <<_ACEOF
5175 /* end confdefs.h. */
5176 #include <ac_nonexistent.h>
5178 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5179 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5181 grep -v '^ *+' conftest.er1
>conftest.err
5183 cat conftest.err
>&5
5184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5185 (exit $ac_status); } >/dev
/null
; then
5186 if test -s conftest.err
; then
5187 ac_cpp_err
=$ac_c_preproc_warn_flag
5188 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5195 if test -z "$ac_cpp_err"; then
5196 # Broken: success on invalid input.
5199 echo "$as_me: failed program was:" >&5
5200 sed 's/^/| /' conftest.
$ac_ext >&5
5202 # Passes both tests.
5206 rm -f conftest.err conftest.
$ac_ext
5209 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5210 rm -f conftest.err conftest.
$ac_ext
5211 if $ac_preproc_ok; then
5214 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5215 See \`config.log' for more details." >&5
5216 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5217 See \`config.log' for more details." >&2;}
5218 { (exit 1); exit 1; }; }
5222 ac_cpp
='$CPP $CPPFLAGS'
5223 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5224 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5225 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5228 echo "$as_me:$LINENO: checking for egrep" >&5
5229 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5230 if test "${ac_cv_prog_egrep+set}" = set; then
5231 echo $ECHO_N "(cached) $ECHO_C" >&6
5233 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5234 then ac_cv_prog_egrep
='grep -E'
5235 else ac_cv_prog_egrep
='egrep'
5238 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5239 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5240 EGREP
=$ac_cv_prog_egrep
5243 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5244 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5245 if test "${ac_cv_header_stdc+set}" = set; then
5246 echo $ECHO_N "(cached) $ECHO_C" >&6
5248 cat >conftest.
$ac_ext <<_ACEOF
5251 cat confdefs.h
>>conftest.
$ac_ext
5252 cat >>conftest.
$ac_ext <<_ACEOF
5253 /* end confdefs.h. */
5267 rm -f conftest.
$ac_objext
5268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5269 (eval $ac_compile) 2>conftest.er1
5271 grep -v '^ *+' conftest.er1
>conftest.err
5273 cat conftest.err
>&5
5274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5275 (exit $ac_status); } &&
5276 { ac_try
='test -z "$ac_c_werror_flag"
5277 || test ! -s conftest.err'
5278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282 (exit $ac_status); }; } &&
5283 { ac_try
='test -s conftest.$ac_objext'
5284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288 (exit $ac_status); }; }; then
5289 ac_cv_header_stdc
=yes
5291 echo "$as_me: failed program was:" >&5
5292 sed 's/^/| /' conftest.
$ac_ext >&5
5294 ac_cv_header_stdc
=no
5296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5298 if test $ac_cv_header_stdc = yes; then
5299 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5300 cat >conftest.
$ac_ext <<_ACEOF
5303 cat confdefs.h
>>conftest.
$ac_ext
5304 cat >>conftest.
$ac_ext <<_ACEOF
5305 /* end confdefs.h. */
5309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5310 $EGREP "memchr" >/dev
/null
2>&1; then
5313 ac_cv_header_stdc
=no
5319 if test $ac_cv_header_stdc = yes; then
5320 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5321 cat >conftest.
$ac_ext <<_ACEOF
5324 cat confdefs.h
>>conftest.
$ac_ext
5325 cat >>conftest.
$ac_ext <<_ACEOF
5326 /* end confdefs.h. */
5330 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5331 $EGREP "free" >/dev
/null
2>&1; then
5334 ac_cv_header_stdc
=no
5340 if test $ac_cv_header_stdc = yes; then
5341 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5342 if test "$cross_compiling" = yes; then
5345 cat >conftest.
$ac_ext <<_ACEOF
5348 cat confdefs.h
>>conftest.
$ac_ext
5349 cat >>conftest.
$ac_ext <<_ACEOF
5350 /* end confdefs.h. */
5352 #if ((' ' & 0x0FF) == 0x020)
5353 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5354 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5356 # define ISLOWER(c) \
5357 (('a' <= (c) && (c) <= 'i') \
5358 || ('j' <= (c) && (c) <= 'r') \
5359 || ('s' <= (c) && (c) <= 'z'))
5360 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5363 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5368 for (i = 0; i < 256; i++)
5369 if (XOR (islower (i), ISLOWER (i))
5370 || toupper (i) != TOUPPER (i))
5375 rm -f conftest
$ac_exeext
5376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5377 (eval $ac_link) 2>&5
5379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5385 (exit $ac_status); }; }; then
5388 echo "$as_me: program exited with status $ac_status" >&5
5389 echo "$as_me: failed program was:" >&5
5390 sed 's/^/| /' conftest.
$ac_ext >&5
5393 ac_cv_header_stdc
=no
5395 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5399 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5400 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5401 if test $ac_cv_header_stdc = yes; then
5403 cat >>confdefs.h
<<\_ACEOF
5404 #define STDC_HEADERS 1
5409 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5419 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5420 inttypes.h stdint.h unistd.h
5422 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5423 echo "$as_me:$LINENO: checking for $ac_header" >&5
5424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5426 echo $ECHO_N "(cached) $ECHO_C" >&6
5428 cat >conftest.
$ac_ext <<_ACEOF
5431 cat confdefs.h
>>conftest.
$ac_ext
5432 cat >>conftest.
$ac_ext <<_ACEOF
5433 /* end confdefs.h. */
5434 $ac_includes_default
5436 #include <$ac_header>
5438 rm -f conftest.
$ac_objext
5439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5440 (eval $ac_compile) 2>conftest.er1
5442 grep -v '^ *+' conftest.er1
>conftest.err
5444 cat conftest.err
>&5
5445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5446 (exit $ac_status); } &&
5447 { ac_try
='test -z "$ac_c_werror_flag"
5448 || test ! -s conftest.err'
5449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5453 (exit $ac_status); }; } &&
5454 { ac_try
='test -s conftest.$ac_objext'
5455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5459 (exit $ac_status); }; }; then
5460 eval "$as_ac_Header=yes"
5462 echo "$as_me: failed program was:" >&5
5463 sed 's/^/| /' conftest.
$ac_ext >&5
5465 eval "$as_ac_Header=no"
5467 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5470 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5471 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5472 cat >>confdefs.h
<<_ACEOF
5473 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5483 for ac_header
in stdlib.h unistd.h
5485 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5487 echo "$as_me:$LINENO: checking for $ac_header" >&5
5488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5490 echo $ECHO_N "(cached) $ECHO_C" >&6
5492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5493 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5495 # Is the header compilable?
5496 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5497 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5498 cat >conftest.
$ac_ext <<_ACEOF
5501 cat confdefs.h
>>conftest.
$ac_ext
5502 cat >>conftest.
$ac_ext <<_ACEOF
5503 /* end confdefs.h. */
5504 $ac_includes_default
5505 #include <$ac_header>
5507 rm -f conftest.
$ac_objext
5508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5509 (eval $ac_compile) 2>conftest.er1
5511 grep -v '^ *+' conftest.er1
>conftest.err
5513 cat conftest.err
>&5
5514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5515 (exit $ac_status); } &&
5516 { ac_try
='test -z "$ac_c_werror_flag"
5517 || test ! -s conftest.err'
5518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5522 (exit $ac_status); }; } &&
5523 { ac_try
='test -s conftest.$ac_objext'
5524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5528 (exit $ac_status); }; }; then
5529 ac_header_compiler
=yes
5531 echo "$as_me: failed program was:" >&5
5532 sed 's/^/| /' conftest.
$ac_ext >&5
5534 ac_header_compiler
=no
5536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5537 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5538 echo "${ECHO_T}$ac_header_compiler" >&6
5540 # Is the header present?
5541 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5542 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5543 cat >conftest.
$ac_ext <<_ACEOF
5546 cat confdefs.h
>>conftest.
$ac_ext
5547 cat >>conftest.
$ac_ext <<_ACEOF
5548 /* end confdefs.h. */
5549 #include <$ac_header>
5551 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5552 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5554 grep -v '^ *+' conftest.er1
>conftest.err
5556 cat conftest.err
>&5
5557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5558 (exit $ac_status); } >/dev
/null
; then
5559 if test -s conftest.err
; then
5560 ac_cpp_err
=$ac_c_preproc_warn_flag
5561 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5568 if test -z "$ac_cpp_err"; then
5569 ac_header_preproc
=yes
5571 echo "$as_me: failed program was:" >&5
5572 sed 's/^/| /' conftest.
$ac_ext >&5
5574 ac_header_preproc
=no
5576 rm -f conftest.err conftest.
$ac_ext
5577 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5578 echo "${ECHO_T}$ac_header_preproc" >&6
5580 # So? What about this header?
5581 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5583 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5584 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5585 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5586 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5587 ac_header_preproc
=yes
5590 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5591 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5592 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5593 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5594 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5595 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5596 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5597 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5598 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5599 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5600 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5601 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5604 ## ------------------------------------------------------ ##
5605 ## Report this to the GNU Fortran Runtime Library lists. ##
5606 ## ------------------------------------------------------ ##
5609 sed "s/^/$as_me: WARNING: /" >&2
5612 echo "$as_me:$LINENO: checking for $ac_header" >&5
5613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5615 echo $ECHO_N "(cached) $ECHO_C" >&6
5617 eval "$as_ac_Header=\$ac_header_preproc"
5619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5620 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5623 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5624 cat >>confdefs.h
<<_ACEOF
5625 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5633 for ac_func
in getpagesize
5635 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5636 echo "$as_me:$LINENO: checking for $ac_func" >&5
5637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5638 if eval "test \"\${$as_ac_var+set}\" = set"; then
5639 echo $ECHO_N "(cached) $ECHO_C" >&6
5641 cat >conftest.
$ac_ext <<_ACEOF
5644 cat confdefs.h
>>conftest.
$ac_ext
5645 cat >>conftest.
$ac_ext <<_ACEOF
5646 /* end confdefs.h. */
5647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5649 #define $ac_func innocuous_$ac_func
5651 /* System header to define __stub macros and hopefully few prototypes,
5652 which can conflict with char $ac_func (); below.
5653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5654 <limits.h> exists even on freestanding compilers. */
5657 # include <limits.h>
5659 # include <assert.h>
5664 /* Override any gcc2 internal prototype to avoid an error. */
5669 /* We use char because int might match the return type of a gcc2
5670 builtin and then its argument prototype would still apply. */
5672 /* The GNU C library defines this for functions which it implements
5673 to always fail with ENOSYS. Some functions are actually named
5674 something starting with __ and the normal name is an alias. */
5675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5678 char (*f) () = $ac_func;
5687 return f != $ac_func;
5692 rm -f conftest.
$ac_objext conftest
$ac_exeext
5693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5694 (eval $ac_link) 2>conftest.er1
5696 grep -v '^ *+' conftest.er1
>conftest.err
5698 cat conftest.err
>&5
5699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5700 (exit $ac_status); } &&
5701 { ac_try
='test -z "$ac_c_werror_flag"
5702 || test ! -s conftest.err'
5703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707 (exit $ac_status); }; } &&
5708 { ac_try
='test -s conftest$ac_exeext'
5709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5713 (exit $ac_status); }; }; then
5714 eval "$as_ac_var=yes"
5716 echo "$as_me: failed program was:" >&5
5717 sed 's/^/| /' conftest.
$ac_ext >&5
5719 eval "$as_ac_var=no"
5721 rm -f conftest.err conftest.
$ac_objext \
5722 conftest
$ac_exeext conftest.
$ac_ext
5724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5726 if test `eval echo '${'$as_ac_var'}'` = yes; then
5727 cat >>confdefs.h
<<_ACEOF
5728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5734 echo "$as_me:$LINENO: checking for working mmap" >&5
5735 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5736 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5737 echo $ECHO_N "(cached) $ECHO_C" >&6
5739 if test "$cross_compiling" = yes; then
5740 ac_cv_func_mmap_fixed_mapped
=no
5742 cat >conftest.
$ac_ext <<_ACEOF
5745 cat confdefs.h
>>conftest.
$ac_ext
5746 cat >>conftest.
$ac_ext <<_ACEOF
5747 /* end confdefs.h. */
5748 $ac_includes_default
5749 /* malloc might have been renamed as rpl_malloc. */
5752 /* Thanks to Mike Haertel and Jim Avera for this test.
5753 Here is a matrix of mmap possibilities:
5754 mmap private not fixed
5755 mmap private fixed at somewhere currently unmapped
5756 mmap private fixed at somewhere already mapped
5757 mmap shared not fixed
5758 mmap shared fixed at somewhere currently unmapped
5759 mmap shared fixed at somewhere already mapped
5760 For private mappings, we should verify that changes cannot be read()
5761 back from the file, nor mmap's back from the file at a different
5762 address. (There have been systems where private was not correctly
5763 implemented like the infamous i386 svr4.0, and systems where the
5764 VM page cache was not coherent with the file system buffer cache
5765 like early versions of FreeBSD and possibly contemporary NetBSD.)
5766 For shared mappings, we should conversely verify that changes get
5767 propagated back to all the places they're supposed to be.
5769 Grep wants private fixed already mapped.
5770 The main things grep needs to know about mmap are:
5771 * does it exist and is it safe to write into the mmap'd area
5772 * how to use it (BSD variants) */
5775 #include <sys/mman.h>
5777 #if !STDC_HEADERS && !HAVE_STDLIB_H
5781 /* This mess was copied from the GNU getpagesize.h. */
5782 #if !HAVE_GETPAGESIZE
5783 /* Assume that all systems that can run configure have sys/param.h. */
5784 # if !HAVE_SYS_PARAM_H
5785 # define HAVE_SYS_PARAM_H 1
5788 # ifdef _SC_PAGESIZE
5789 # define getpagesize() sysconf(_SC_PAGESIZE)
5790 # else /* no _SC_PAGESIZE */
5791 # if HAVE_SYS_PARAM_H
5792 # include <sys/param.h>
5793 # ifdef EXEC_PAGESIZE
5794 # define getpagesize() EXEC_PAGESIZE
5795 # else /* no EXEC_PAGESIZE */
5797 # define getpagesize() NBPG * CLSIZE
5800 # endif /* no CLSIZE */
5801 # else /* no NBPG */
5803 # define getpagesize() NBPC
5804 # else /* no NBPC */
5806 # define getpagesize() PAGESIZE
5807 # endif /* PAGESIZE */
5808 # endif /* no NBPC */
5809 # endif /* no NBPG */
5810 # endif /* no EXEC_PAGESIZE */
5811 # else /* no HAVE_SYS_PARAM_H */
5812 # define getpagesize() 8192 /* punt totally */
5813 # endif /* no HAVE_SYS_PARAM_H */
5814 # endif /* no _SC_PAGESIZE */
5816 #endif /* no HAVE_GETPAGESIZE */
5821 char *data, *data2, *data3;
5825 pagesize = getpagesize ();
5827 /* First, make a file with some known garbage in it. */
5828 data = (char *) malloc (pagesize);
5831 for (i = 0; i < pagesize; ++i)
5832 *(data + i) = rand ();
5834 fd = creat ("conftest.mmap", 0600);
5837 if (write (fd, data, pagesize) != pagesize)
5841 /* Next, try to mmap the file at a fixed address which already has
5842 something else allocated at it. If we can, also make sure that
5843 we see the same garbage. */
5844 fd = open ("conftest.mmap", O_RDWR);
5847 data2 = (char *) malloc (2 * pagesize);
5850 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5851 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5852 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5854 for (i = 0; i < pagesize; ++i)
5855 if (*(data + i) != *(data2 + i))
5858 /* Finally, make sure that changes to the mapped area do not
5859 percolate back to the file as seen by read(). (This is a bug on
5860 some variants of i386 svr4.0.) */
5861 for (i = 0; i < pagesize; ++i)
5862 *(data2 + i) = *(data2 + i) + 1;
5863 data3 = (char *) malloc (pagesize);
5866 if (read (fd, data3, pagesize) != pagesize)
5868 for (i = 0; i < pagesize; ++i)
5869 if (*(data + i) != *(data3 + i))
5875 rm -f conftest
$ac_exeext
5876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5877 (eval $ac_link) 2>&5
5879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5880 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5885 (exit $ac_status); }; }; then
5886 ac_cv_func_mmap_fixed_mapped
=yes
5888 echo "$as_me: program exited with status $ac_status" >&5
5889 echo "$as_me: failed program was:" >&5
5890 sed 's/^/| /' conftest.
$ac_ext >&5
5893 ac_cv_func_mmap_fixed_mapped
=no
5895 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5898 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5899 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5900 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5902 cat >>confdefs.h
<<\_ACEOF
5909 echo "$as_me:$LINENO: checking for off_t" >&5
5910 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5911 if test "${ac_cv_type_off_t+set}" = set; then
5912 echo $ECHO_N "(cached) $ECHO_C" >&6
5914 cat >conftest.
$ac_ext <<_ACEOF
5917 cat confdefs.h
>>conftest.
$ac_ext
5918 cat >>conftest.
$ac_ext <<_ACEOF
5919 /* end confdefs.h. */
5920 $ac_includes_default
5932 rm -f conftest.
$ac_objext
5933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5934 (eval $ac_compile) 2>conftest.er1
5936 grep -v '^ *+' conftest.er1
>conftest.err
5938 cat conftest.err
>&5
5939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940 (exit $ac_status); } &&
5941 { ac_try
='test -z "$ac_c_werror_flag"
5942 || test ! -s conftest.err'
5943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5947 (exit $ac_status); }; } &&
5948 { ac_try
='test -s conftest.$ac_objext'
5949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5953 (exit $ac_status); }; }; then
5954 ac_cv_type_off_t
=yes
5956 echo "$as_me: failed program was:" >&5
5957 sed 's/^/| /' conftest.
$ac_ext >&5
5961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5963 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5964 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5965 if test $ac_cv_type_off_t = yes; then
5969 cat >>confdefs.h
<<_ACEOF
5976 # check header files
5977 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5978 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5979 if test "${ac_cv_header_stdc+set}" = set; then
5980 echo $ECHO_N "(cached) $ECHO_C" >&6
5982 cat >conftest.
$ac_ext <<_ACEOF
5985 cat confdefs.h
>>conftest.
$ac_ext
5986 cat >>conftest.
$ac_ext <<_ACEOF
5987 /* end confdefs.h. */
6001 rm -f conftest.
$ac_objext
6002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6003 (eval $ac_compile) 2>conftest.er1
6005 grep -v '^ *+' conftest.er1
>conftest.err
6007 cat conftest.err
>&5
6008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 (exit $ac_status); } &&
6010 { ac_try
='test -z "$ac_c_werror_flag"
6011 || test ! -s conftest.err'
6012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6016 (exit $ac_status); }; } &&
6017 { ac_try
='test -s conftest.$ac_objext'
6018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6022 (exit $ac_status); }; }; then
6023 ac_cv_header_stdc
=yes
6025 echo "$as_me: failed program was:" >&5
6026 sed 's/^/| /' conftest.
$ac_ext >&5
6028 ac_cv_header_stdc
=no
6030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6032 if test $ac_cv_header_stdc = yes; then
6033 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6034 cat >conftest.
$ac_ext <<_ACEOF
6037 cat confdefs.h
>>conftest.
$ac_ext
6038 cat >>conftest.
$ac_ext <<_ACEOF
6039 /* end confdefs.h. */
6043 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6044 $EGREP "memchr" >/dev
/null
2>&1; then
6047 ac_cv_header_stdc
=no
6053 if test $ac_cv_header_stdc = yes; then
6054 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6055 cat >conftest.
$ac_ext <<_ACEOF
6058 cat confdefs.h
>>conftest.
$ac_ext
6059 cat >>conftest.
$ac_ext <<_ACEOF
6060 /* end confdefs.h. */
6064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6065 $EGREP "free" >/dev
/null
2>&1; then
6068 ac_cv_header_stdc
=no
6074 if test $ac_cv_header_stdc = yes; then
6075 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6076 if test "$cross_compiling" = yes; then
6079 cat >conftest.
$ac_ext <<_ACEOF
6082 cat confdefs.h
>>conftest.
$ac_ext
6083 cat >>conftest.
$ac_ext <<_ACEOF
6084 /* end confdefs.h. */
6086 #if ((' ' & 0x0FF) == 0x020)
6087 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6088 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6090 # define ISLOWER(c) \
6091 (('a' <= (c) && (c) <= 'i') \
6092 || ('j' <= (c) && (c) <= 'r') \
6093 || ('s' <= (c) && (c) <= 'z'))
6094 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6097 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6102 for (i = 0; i < 256; i++)
6103 if (XOR (islower (i), ISLOWER (i))
6104 || toupper (i) != TOUPPER (i))
6109 rm -f conftest
$ac_exeext
6110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6111 (eval $ac_link) 2>&5
6113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6114 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6119 (exit $ac_status); }; }; then
6122 echo "$as_me: program exited with status $ac_status" >&5
6123 echo "$as_me: failed program was:" >&5
6124 sed 's/^/| /' conftest.
$ac_ext >&5
6127 ac_cv_header_stdc
=no
6129 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6133 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6134 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6135 if test $ac_cv_header_stdc = yes; then
6137 cat >>confdefs.h
<<\_ACEOF
6138 #define STDC_HEADERS 1
6150 for ac_header
in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
6152 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6153 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6154 echo "$as_me:$LINENO: checking for $ac_header" >&5
6155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6157 echo $ECHO_N "(cached) $ECHO_C" >&6
6159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6162 # Is the header compilable?
6163 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6164 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6165 cat >conftest.
$ac_ext <<_ACEOF
6168 cat confdefs.h
>>conftest.
$ac_ext
6169 cat >>conftest.
$ac_ext <<_ACEOF
6170 /* end confdefs.h. */
6171 $ac_includes_default
6172 #include <$ac_header>
6174 rm -f conftest.
$ac_objext
6175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6176 (eval $ac_compile) 2>conftest.er1
6178 grep -v '^ *+' conftest.er1
>conftest.err
6180 cat conftest.err
>&5
6181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6182 (exit $ac_status); } &&
6183 { ac_try
='test -z "$ac_c_werror_flag"
6184 || test ! -s conftest.err'
6185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189 (exit $ac_status); }; } &&
6190 { ac_try
='test -s conftest.$ac_objext'
6191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); }; }; then
6196 ac_header_compiler
=yes
6198 echo "$as_me: failed program was:" >&5
6199 sed 's/^/| /' conftest.
$ac_ext >&5
6201 ac_header_compiler
=no
6203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6204 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6205 echo "${ECHO_T}$ac_header_compiler" >&6
6207 # Is the header present?
6208 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6209 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6210 cat >conftest.
$ac_ext <<_ACEOF
6213 cat confdefs.h
>>conftest.
$ac_ext
6214 cat >>conftest.
$ac_ext <<_ACEOF
6215 /* end confdefs.h. */
6216 #include <$ac_header>
6218 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6219 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6221 grep -v '^ *+' conftest.er1
>conftest.err
6223 cat conftest.err
>&5
6224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6225 (exit $ac_status); } >/dev
/null
; then
6226 if test -s conftest.err
; then
6227 ac_cpp_err
=$ac_c_preproc_warn_flag
6228 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6235 if test -z "$ac_cpp_err"; then
6236 ac_header_preproc
=yes
6238 echo "$as_me: failed program was:" >&5
6239 sed 's/^/| /' conftest.
$ac_ext >&5
6241 ac_header_preproc
=no
6243 rm -f conftest.err conftest.
$ac_ext
6244 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6245 echo "${ECHO_T}$ac_header_preproc" >&6
6247 # So? What about this header?
6248 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6250 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6251 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6253 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6254 ac_header_preproc
=yes
6257 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6258 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6259 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6260 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6261 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6262 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6263 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6264 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6266 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6267 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6268 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6271 ## ------------------------------------------------------ ##
6272 ## Report this to the GNU Fortran Runtime Library lists. ##
6273 ## ------------------------------------------------------ ##
6276 sed "s/^/$as_me: WARNING: /" >&2
6279 echo "$as_me:$LINENO: checking for $ac_header" >&5
6280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6281 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6282 echo $ECHO_N "(cached) $ECHO_C" >&6
6284 eval "$as_ac_Header=\$ac_header_preproc"
6286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6287 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6290 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6291 cat >>confdefs.h
<<_ACEOF
6292 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6304 for ac_header
in time.h sys
/params.h sys
/time.h sys
/times.h sys
/resource.h
6306 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6308 echo "$as_me:$LINENO: checking for $ac_header" >&5
6309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6311 echo $ECHO_N "(cached) $ECHO_C" >&6
6313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6314 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6316 # Is the header compilable?
6317 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6318 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6319 cat >conftest.
$ac_ext <<_ACEOF
6322 cat confdefs.h
>>conftest.
$ac_ext
6323 cat >>conftest.
$ac_ext <<_ACEOF
6324 /* end confdefs.h. */
6325 $ac_includes_default
6326 #include <$ac_header>
6328 rm -f conftest.
$ac_objext
6329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6330 (eval $ac_compile) 2>conftest.er1
6332 grep -v '^ *+' conftest.er1
>conftest.err
6334 cat conftest.err
>&5
6335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6336 (exit $ac_status); } &&
6337 { ac_try
='test -z "$ac_c_werror_flag"
6338 || test ! -s conftest.err'
6339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6343 (exit $ac_status); }; } &&
6344 { ac_try
='test -s conftest.$ac_objext'
6345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6349 (exit $ac_status); }; }; then
6350 ac_header_compiler
=yes
6352 echo "$as_me: failed program was:" >&5
6353 sed 's/^/| /' conftest.
$ac_ext >&5
6355 ac_header_compiler
=no
6357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6358 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6359 echo "${ECHO_T}$ac_header_compiler" >&6
6361 # Is the header present?
6362 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6363 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6364 cat >conftest.
$ac_ext <<_ACEOF
6367 cat confdefs.h
>>conftest.
$ac_ext
6368 cat >>conftest.
$ac_ext <<_ACEOF
6369 /* end confdefs.h. */
6370 #include <$ac_header>
6372 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6373 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6375 grep -v '^ *+' conftest.er1
>conftest.err
6377 cat conftest.err
>&5
6378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6379 (exit $ac_status); } >/dev
/null
; then
6380 if test -s conftest.err
; then
6381 ac_cpp_err
=$ac_c_preproc_warn_flag
6382 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6389 if test -z "$ac_cpp_err"; then
6390 ac_header_preproc
=yes
6392 echo "$as_me: failed program was:" >&5
6393 sed 's/^/| /' conftest.
$ac_ext >&5
6395 ac_header_preproc
=no
6397 rm -f conftest.err conftest.
$ac_ext
6398 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6399 echo "${ECHO_T}$ac_header_preproc" >&6
6401 # So? What about this header?
6402 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6404 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6405 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6406 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6407 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6408 ac_header_preproc
=yes
6411 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6412 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6413 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6414 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6415 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6416 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6417 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6418 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6419 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6420 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6421 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6422 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6425 ## ------------------------------------------------------ ##
6426 ## Report this to the GNU Fortran Runtime Library lists. ##
6427 ## ------------------------------------------------------ ##
6430 sed "s/^/$as_me: WARNING: /" >&2
6433 echo "$as_me:$LINENO: checking for $ac_header" >&5
6434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6436 echo $ECHO_N "(cached) $ECHO_C" >&6
6438 eval "$as_ac_Header=\$ac_header_preproc"
6440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6441 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6444 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6445 cat >>confdefs.h
<<_ACEOF
6446 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6457 for ac_header
in sys
/mman.h sys
/types.h sys
/stat.h ieeefp.h
6459 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6461 echo "$as_me:$LINENO: checking for $ac_header" >&5
6462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6464 echo $ECHO_N "(cached) $ECHO_C" >&6
6466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6469 # Is the header compilable?
6470 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6471 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6472 cat >conftest.
$ac_ext <<_ACEOF
6475 cat confdefs.h
>>conftest.
$ac_ext
6476 cat >>conftest.
$ac_ext <<_ACEOF
6477 /* end confdefs.h. */
6478 $ac_includes_default
6479 #include <$ac_header>
6481 rm -f conftest.
$ac_objext
6482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6483 (eval $ac_compile) 2>conftest.er1
6485 grep -v '^ *+' conftest.er1
>conftest.err
6487 cat conftest.err
>&5
6488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6489 (exit $ac_status); } &&
6490 { ac_try
='test -z "$ac_c_werror_flag"
6491 || test ! -s conftest.err'
6492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6496 (exit $ac_status); }; } &&
6497 { ac_try
='test -s conftest.$ac_objext'
6498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6502 (exit $ac_status); }; }; then
6503 ac_header_compiler
=yes
6505 echo "$as_me: failed program was:" >&5
6506 sed 's/^/| /' conftest.
$ac_ext >&5
6508 ac_header_compiler
=no
6510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6511 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6512 echo "${ECHO_T}$ac_header_compiler" >&6
6514 # Is the header present?
6515 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6516 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6517 cat >conftest.
$ac_ext <<_ACEOF
6520 cat confdefs.h
>>conftest.
$ac_ext
6521 cat >>conftest.
$ac_ext <<_ACEOF
6522 /* end confdefs.h. */
6523 #include <$ac_header>
6525 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6526 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6528 grep -v '^ *+' conftest.er1
>conftest.err
6530 cat conftest.err
>&5
6531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532 (exit $ac_status); } >/dev
/null
; then
6533 if test -s conftest.err
; then
6534 ac_cpp_err
=$ac_c_preproc_warn_flag
6535 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6542 if test -z "$ac_cpp_err"; then
6543 ac_header_preproc
=yes
6545 echo "$as_me: failed program was:" >&5
6546 sed 's/^/| /' conftest.
$ac_ext >&5
6548 ac_header_preproc
=no
6550 rm -f conftest.err conftest.
$ac_ext
6551 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6552 echo "${ECHO_T}$ac_header_preproc" >&6
6554 # So? What about this header?
6555 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6557 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6558 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6559 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6560 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6561 ac_header_preproc
=yes
6564 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6565 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6566 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6567 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6568 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6569 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6570 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6571 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6572 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6573 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6574 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6575 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6578 ## ------------------------------------------------------ ##
6579 ## Report this to the GNU Fortran Runtime Library lists. ##
6580 ## ------------------------------------------------------ ##
6583 sed "s/^/$as_me: WARNING: /" >&2
6586 echo "$as_me:$LINENO: checking for $ac_header" >&5
6587 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6589 echo $ECHO_N "(cached) $ECHO_C" >&6
6591 eval "$as_ac_Header=\$ac_header_preproc"
6593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6594 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6597 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6598 cat >>confdefs.h
<<_ACEOF
6599 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6606 if test "${ac_cv_header_complex_h+set}" = set; then
6607 echo "$as_me:$LINENO: checking for complex.h" >&5
6608 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6609 if test "${ac_cv_header_complex_h+set}" = set; then
6610 echo $ECHO_N "(cached) $ECHO_C" >&6
6612 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6613 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6615 # Is the header compilable?
6616 echo "$as_me:$LINENO: checking complex.h usability" >&5
6617 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6618 cat >conftest.
$ac_ext <<_ACEOF
6621 cat confdefs.h
>>conftest.
$ac_ext
6622 cat >>conftest.
$ac_ext <<_ACEOF
6623 /* end confdefs.h. */
6624 $ac_includes_default
6625 #include <complex.h>
6627 rm -f conftest.
$ac_objext
6628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6629 (eval $ac_compile) 2>conftest.er1
6631 grep -v '^ *+' conftest.er1
>conftest.err
6633 cat conftest.err
>&5
6634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6635 (exit $ac_status); } &&
6636 { ac_try
='test -z "$ac_c_werror_flag"
6637 || test ! -s conftest.err'
6638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6642 (exit $ac_status); }; } &&
6643 { ac_try
='test -s conftest.$ac_objext'
6644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648 (exit $ac_status); }; }; then
6649 ac_header_compiler
=yes
6651 echo "$as_me: failed program was:" >&5
6652 sed 's/^/| /' conftest.
$ac_ext >&5
6654 ac_header_compiler
=no
6656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6657 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6658 echo "${ECHO_T}$ac_header_compiler" >&6
6660 # Is the header present?
6661 echo "$as_me:$LINENO: checking complex.h presence" >&5
6662 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6663 cat >conftest.
$ac_ext <<_ACEOF
6666 cat confdefs.h
>>conftest.
$ac_ext
6667 cat >>conftest.
$ac_ext <<_ACEOF
6668 /* end confdefs.h. */
6669 #include <complex.h>
6671 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6672 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6674 grep -v '^ *+' conftest.er1
>conftest.err
6676 cat conftest.err
>&5
6677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6678 (exit $ac_status); } >/dev
/null
; then
6679 if test -s conftest.err
; then
6680 ac_cpp_err
=$ac_c_preproc_warn_flag
6681 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6688 if test -z "$ac_cpp_err"; then
6689 ac_header_preproc
=yes
6691 echo "$as_me: failed program was:" >&5
6692 sed 's/^/| /' conftest.
$ac_ext >&5
6694 ac_header_preproc
=no
6696 rm -f conftest.err conftest.
$ac_ext
6697 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6698 echo "${ECHO_T}$ac_header_preproc" >&6
6700 # So? What about this header?
6701 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6703 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6704 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6705 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6706 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6707 ac_header_preproc
=yes
6710 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6711 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6712 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6713 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6714 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6715 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6716 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6717 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6718 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6719 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6720 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6721 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6724 ## ------------------------------------------------------ ##
6725 ## Report this to the GNU Fortran Runtime Library lists. ##
6726 ## ------------------------------------------------------ ##
6729 sed "s/^/$as_me: WARNING: /" >&2
6732 echo "$as_me:$LINENO: checking for complex.h" >&5
6733 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6734 if test "${ac_cv_header_complex_h+set}" = set; then
6735 echo $ECHO_N "(cached) $ECHO_C" >&6
6737 ac_cv_header_complex_h
=$ac_header_preproc
6739 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6740 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6743 if test $ac_cv_header_complex_h = yes; then
6745 cat >>confdefs.h
<<\_ACEOF
6746 #define HAVE_COMPLEX_H 1
6753 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6754 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
6755 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6756 echo $ECHO_N "(cached) $ECHO_C" >&6
6758 cat >conftest.
$ac_ext <<_ACEOF
6761 cat confdefs.h
>>conftest.
$ac_ext
6762 cat >>conftest.
$ac_ext <<_ACEOF
6763 /* end confdefs.h. */
6764 $ac_includes_default
6768 static struct stat ac_aggr;
6769 if (ac_aggr.st_blksize)
6775 rm -f conftest.
$ac_objext
6776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6777 (eval $ac_compile) 2>conftest.er1
6779 grep -v '^ *+' conftest.er1
>conftest.err
6781 cat conftest.err
>&5
6782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6783 (exit $ac_status); } &&
6784 { ac_try
='test -z "$ac_c_werror_flag"
6785 || test ! -s conftest.err'
6786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6790 (exit $ac_status); }; } &&
6791 { ac_try
='test -s conftest.$ac_objext'
6792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6796 (exit $ac_status); }; }; then
6797 ac_cv_member_struct_stat_st_blksize
=yes
6799 echo "$as_me: failed program was:" >&5
6800 sed 's/^/| /' conftest.
$ac_ext >&5
6802 cat >conftest.
$ac_ext <<_ACEOF
6805 cat confdefs.h
>>conftest.
$ac_ext
6806 cat >>conftest.
$ac_ext <<_ACEOF
6807 /* end confdefs.h. */
6808 $ac_includes_default
6812 static struct stat ac_aggr;
6813 if (sizeof ac_aggr.st_blksize)
6819 rm -f conftest.
$ac_objext
6820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6821 (eval $ac_compile) 2>conftest.er1
6823 grep -v '^ *+' conftest.er1
>conftest.err
6825 cat conftest.err
>&5
6826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6827 (exit $ac_status); } &&
6828 { ac_try
='test -z "$ac_c_werror_flag"
6829 || test ! -s conftest.err'
6830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6834 (exit $ac_status); }; } &&
6835 { ac_try
='test -s conftest.$ac_objext'
6836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6840 (exit $ac_status); }; }; then
6841 ac_cv_member_struct_stat_st_blksize
=yes
6843 echo "$as_me: failed program was:" >&5
6844 sed 's/^/| /' conftest.
$ac_ext >&5
6846 ac_cv_member_struct_stat_st_blksize
=no
6848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6852 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6853 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
6854 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6856 cat >>confdefs.h
<<_ACEOF
6857 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6863 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6864 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
6865 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6866 echo $ECHO_N "(cached) $ECHO_C" >&6
6868 cat >conftest.
$ac_ext <<_ACEOF
6871 cat confdefs.h
>>conftest.
$ac_ext
6872 cat >>conftest.
$ac_ext <<_ACEOF
6873 /* end confdefs.h. */
6874 $ac_includes_default
6878 static struct stat ac_aggr;
6879 if (ac_aggr.st_blocks)
6885 rm -f conftest.
$ac_objext
6886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6887 (eval $ac_compile) 2>conftest.er1
6889 grep -v '^ *+' conftest.er1
>conftest.err
6891 cat conftest.err
>&5
6892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6893 (exit $ac_status); } &&
6894 { ac_try
='test -z "$ac_c_werror_flag"
6895 || test ! -s conftest.err'
6896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6900 (exit $ac_status); }; } &&
6901 { ac_try
='test -s conftest.$ac_objext'
6902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6906 (exit $ac_status); }; }; then
6907 ac_cv_member_struct_stat_st_blocks
=yes
6909 echo "$as_me: failed program was:" >&5
6910 sed 's/^/| /' conftest.
$ac_ext >&5
6912 cat >conftest.
$ac_ext <<_ACEOF
6915 cat confdefs.h
>>conftest.
$ac_ext
6916 cat >>conftest.
$ac_ext <<_ACEOF
6917 /* end confdefs.h. */
6918 $ac_includes_default
6922 static struct stat ac_aggr;
6923 if (sizeof ac_aggr.st_blocks)
6929 rm -f conftest.
$ac_objext
6930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6931 (eval $ac_compile) 2>conftest.er1
6933 grep -v '^ *+' conftest.er1
>conftest.err
6935 cat conftest.err
>&5
6936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6937 (exit $ac_status); } &&
6938 { ac_try
='test -z "$ac_c_werror_flag"
6939 || test ! -s conftest.err'
6940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944 (exit $ac_status); }; } &&
6945 { ac_try
='test -s conftest.$ac_objext'
6946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6950 (exit $ac_status); }; }; then
6951 ac_cv_member_struct_stat_st_blocks
=yes
6953 echo "$as_me: failed program was:" >&5
6954 sed 's/^/| /' conftest.
$ac_ext >&5
6956 ac_cv_member_struct_stat_st_blocks
=no
6958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6962 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6963 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
6964 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6966 cat >>confdefs.h
<<_ACEOF
6967 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6973 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6974 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
6975 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6976 echo $ECHO_N "(cached) $ECHO_C" >&6
6978 cat >conftest.
$ac_ext <<_ACEOF
6981 cat confdefs.h
>>conftest.
$ac_ext
6982 cat >>conftest.
$ac_ext <<_ACEOF
6983 /* end confdefs.h. */
6984 $ac_includes_default
6988 static struct stat ac_aggr;
6989 if (ac_aggr.st_rdev)
6995 rm -f conftest.
$ac_objext
6996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6997 (eval $ac_compile) 2>conftest.er1
6999 grep -v '^ *+' conftest.er1
>conftest.err
7001 cat conftest.err
>&5
7002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7003 (exit $ac_status); } &&
7004 { ac_try
='test -z "$ac_c_werror_flag"
7005 || test ! -s conftest.err'
7006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7010 (exit $ac_status); }; } &&
7011 { ac_try
='test -s conftest.$ac_objext'
7012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016 (exit $ac_status); }; }; then
7017 ac_cv_member_struct_stat_st_rdev
=yes
7019 echo "$as_me: failed program was:" >&5
7020 sed 's/^/| /' conftest.
$ac_ext >&5
7022 cat >conftest.
$ac_ext <<_ACEOF
7025 cat confdefs.h
>>conftest.
$ac_ext
7026 cat >>conftest.
$ac_ext <<_ACEOF
7027 /* end confdefs.h. */
7028 $ac_includes_default
7032 static struct stat ac_aggr;
7033 if (sizeof ac_aggr.st_rdev)
7039 rm -f conftest.
$ac_objext
7040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7041 (eval $ac_compile) 2>conftest.er1
7043 grep -v '^ *+' conftest.er1
>conftest.err
7045 cat conftest.err
>&5
7046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7047 (exit $ac_status); } &&
7048 { ac_try
='test -z "$ac_c_werror_flag"
7049 || test ! -s conftest.err'
7050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7054 (exit $ac_status); }; } &&
7055 { ac_try
='test -s conftest.$ac_objext'
7056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7060 (exit $ac_status); }; }; then
7061 ac_cv_member_struct_stat_st_rdev
=yes
7063 echo "$as_me: failed program was:" >&5
7064 sed 's/^/| /' conftest.
$ac_ext >&5
7066 ac_cv_member_struct_stat_st_rdev
=no
7068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7072 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
7073 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
7074 if test $ac_cv_member_struct_stat_st_rdev = yes; then
7076 cat >>confdefs.h
<<_ACEOF
7077 #define HAVE_STRUCT_STAT_ST_RDEV 1
7084 # Check for complex math functions
7085 echo "$as_me:$LINENO: checking for csin in -lm" >&5
7086 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
7087 if test "${ac_cv_lib_m_csin+set}" = set; then
7088 echo $ECHO_N "(cached) $ECHO_C" >&6
7090 ac_check_lib_save_LIBS
=$LIBS
7092 cat >conftest.
$ac_ext <<_ACEOF
7095 cat confdefs.h
>>conftest.
$ac_ext
7096 cat >>conftest.
$ac_ext <<_ACEOF
7097 /* end confdefs.h. */
7099 /* Override any gcc2 internal prototype to avoid an error. */
7103 /* We use char because int might match the return type of a gcc2
7104 builtin and then its argument prototype would still apply. */
7114 rm -f conftest.
$ac_objext conftest
$ac_exeext
7115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7116 (eval $ac_link) 2>conftest.er1
7118 grep -v '^ *+' conftest.er1
>conftest.err
7120 cat conftest.err
>&5
7121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7122 (exit $ac_status); } &&
7123 { ac_try
='test -z "$ac_c_werror_flag"
7124 || test ! -s conftest.err'
7125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7129 (exit $ac_status); }; } &&
7130 { ac_try
='test -s conftest$ac_exeext'
7131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7135 (exit $ac_status); }; }; then
7136 ac_cv_lib_m_csin
=yes
7138 echo "$as_me: failed program was:" >&5
7139 sed 's/^/| /' conftest.
$ac_ext >&5
7143 rm -f conftest.err conftest.
$ac_objext \
7144 conftest
$ac_exeext conftest.
$ac_ext
7145 LIBS
=$ac_check_lib_save_LIBS
7147 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
7148 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
7149 if test $ac_cv_lib_m_csin = yes; then
7156 # Check for library functions.
7162 for ac_func
in getrusage
times mkstemp strtof snprintf
7164 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7165 echo "$as_me:$LINENO: checking for $ac_func" >&5
7166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7167 if eval "test \"\${$as_ac_var+set}\" = set"; then
7168 echo $ECHO_N "(cached) $ECHO_C" >&6
7170 cat >conftest.
$ac_ext <<_ACEOF
7173 cat confdefs.h
>>conftest.
$ac_ext
7174 cat >>conftest.
$ac_ext <<_ACEOF
7175 /* end confdefs.h. */
7176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7178 #define $ac_func innocuous_$ac_func
7180 /* System header to define __stub macros and hopefully few prototypes,
7181 which can conflict with char $ac_func (); below.
7182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7183 <limits.h> exists even on freestanding compilers. */
7186 # include <limits.h>
7188 # include <assert.h>
7193 /* Override any gcc2 internal prototype to avoid an error. */
7198 /* We use char because int might match the return type of a gcc2
7199 builtin and then its argument prototype would still apply. */
7201 /* The GNU C library defines this for functions which it implements
7202 to always fail with ENOSYS. Some functions are actually named
7203 something starting with __ and the normal name is an alias. */
7204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7207 char (*f) () = $ac_func;
7216 return f != $ac_func;
7221 rm -f conftest.
$ac_objext conftest
$ac_exeext
7222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7223 (eval $ac_link) 2>conftest.er1
7225 grep -v '^ *+' conftest.er1
>conftest.err
7227 cat conftest.err
>&5
7228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7229 (exit $ac_status); } &&
7230 { ac_try
='test -z "$ac_c_werror_flag"
7231 || test ! -s conftest.err'
7232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7236 (exit $ac_status); }; } &&
7237 { ac_try
='test -s conftest$ac_exeext'
7238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7242 (exit $ac_status); }; }; then
7243 eval "$as_ac_var=yes"
7245 echo "$as_me: failed program was:" >&5
7246 sed 's/^/| /' conftest.
$ac_ext >&5
7248 eval "$as_ac_var=no"
7250 rm -f conftest.err conftest.
$ac_objext \
7251 conftest
$ac_exeext conftest.
$ac_ext
7253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7255 if test `eval echo '${'$as_ac_var'}'` = yes; then
7256 cat >>confdefs.h
<<_ACEOF
7257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7271 for ac_func
in chdir strerror getlogin gethostname
kill link symlink perror
7273 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7274 echo "$as_me:$LINENO: checking for $ac_func" >&5
7275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7276 if eval "test \"\${$as_ac_var+set}\" = set"; then
7277 echo $ECHO_N "(cached) $ECHO_C" >&6
7279 cat >conftest.
$ac_ext <<_ACEOF
7282 cat confdefs.h
>>conftest.
$ac_ext
7283 cat >>conftest.
$ac_ext <<_ACEOF
7284 /* end confdefs.h. */
7285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7287 #define $ac_func innocuous_$ac_func
7289 /* System header to define __stub macros and hopefully few prototypes,
7290 which can conflict with char $ac_func (); below.
7291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7292 <limits.h> exists even on freestanding compilers. */
7295 # include <limits.h>
7297 # include <assert.h>
7302 /* Override any gcc2 internal prototype to avoid an error. */
7307 /* We use char because int might match the return type of a gcc2
7308 builtin and then its argument prototype would still apply. */
7310 /* The GNU C library defines this for functions which it implements
7311 to always fail with ENOSYS. Some functions are actually named
7312 something starting with __ and the normal name is an alias. */
7313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7316 char (*f) () = $ac_func;
7325 return f != $ac_func;
7330 rm -f conftest.
$ac_objext conftest
$ac_exeext
7331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7332 (eval $ac_link) 2>conftest.er1
7334 grep -v '^ *+' conftest.er1
>conftest.err
7336 cat conftest.err
>&5
7337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7338 (exit $ac_status); } &&
7339 { ac_try
='test -z "$ac_c_werror_flag"
7340 || test ! -s conftest.err'
7341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7345 (exit $ac_status); }; } &&
7346 { ac_try
='test -s conftest$ac_exeext'
7347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7351 (exit $ac_status); }; }; then
7352 eval "$as_ac_var=yes"
7354 echo "$as_me: failed program was:" >&5
7355 sed 's/^/| /' conftest.
$ac_ext >&5
7357 eval "$as_ac_var=no"
7359 rm -f conftest.err conftest.
$ac_objext \
7360 conftest
$ac_exeext conftest.
$ac_ext
7362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7364 if test `eval echo '${'$as_ac_var'}'` = yes; then
7365 cat >>confdefs.h
<<_ACEOF
7366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7374 for ac_func
in sleep time
7376 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7377 echo "$as_me:$LINENO: checking for $ac_func" >&5
7378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7379 if eval "test \"\${$as_ac_var+set}\" = set"; then
7380 echo $ECHO_N "(cached) $ECHO_C" >&6
7382 cat >conftest.
$ac_ext <<_ACEOF
7385 cat confdefs.h
>>conftest.
$ac_ext
7386 cat >>conftest.
$ac_ext <<_ACEOF
7387 /* end confdefs.h. */
7388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7390 #define $ac_func innocuous_$ac_func
7392 /* System header to define __stub macros and hopefully few prototypes,
7393 which can conflict with char $ac_func (); below.
7394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7395 <limits.h> exists even on freestanding compilers. */
7398 # include <limits.h>
7400 # include <assert.h>
7405 /* Override any gcc2 internal prototype to avoid an error. */
7410 /* We use char because int might match the return type of a gcc2
7411 builtin and then its argument prototype would still apply. */
7413 /* The GNU C library defines this for functions which it implements
7414 to always fail with ENOSYS. Some functions are actually named
7415 something starting with __ and the normal name is an alias. */
7416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7419 char (*f) () = $ac_func;
7428 return f != $ac_func;
7433 rm -f conftest.
$ac_objext conftest
$ac_exeext
7434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7435 (eval $ac_link) 2>conftest.er1
7437 grep -v '^ *+' conftest.er1
>conftest.err
7439 cat conftest.err
>&5
7440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7441 (exit $ac_status); } &&
7442 { ac_try
='test -z "$ac_c_werror_flag"
7443 || test ! -s conftest.err'
7444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448 (exit $ac_status); }; } &&
7449 { ac_try
='test -s conftest$ac_exeext'
7450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7454 (exit $ac_status); }; }; then
7455 eval "$as_ac_var=yes"
7457 echo "$as_me: failed program was:" >&5
7458 sed 's/^/| /' conftest.
$ac_ext >&5
7460 eval "$as_ac_var=no"
7462 rm -f conftest.err conftest.
$ac_objext \
7463 conftest
$ac_exeext conftest.
$ac_ext
7465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7467 if test `eval echo '${'$as_ac_var'}'` = yes; then
7468 cat >>confdefs.h
<<_ACEOF
7469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7476 # Check libc for getgid, getpid, getuid
7477 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
7478 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
7479 if test "${ac_cv_lib_c_getgid+set}" = set; then
7480 echo $ECHO_N "(cached) $ECHO_C" >&6
7482 ac_check_lib_save_LIBS
=$LIBS
7484 cat >conftest.
$ac_ext <<_ACEOF
7487 cat confdefs.h
>>conftest.
$ac_ext
7488 cat >>conftest.
$ac_ext <<_ACEOF
7489 /* end confdefs.h. */
7491 /* Override any gcc2 internal prototype to avoid an error. */
7495 /* We use char because int might match the return type of a gcc2
7496 builtin and then its argument prototype would still apply. */
7506 rm -f conftest.
$ac_objext conftest
$ac_exeext
7507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7508 (eval $ac_link) 2>conftest.er1
7510 grep -v '^ *+' conftest.er1
>conftest.err
7512 cat conftest.err
>&5
7513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7514 (exit $ac_status); } &&
7515 { ac_try
='test -z "$ac_c_werror_flag"
7516 || test ! -s conftest.err'
7517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7521 (exit $ac_status); }; } &&
7522 { ac_try
='test -s conftest$ac_exeext'
7523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7527 (exit $ac_status); }; }; then
7528 ac_cv_lib_c_getgid
=yes
7530 echo "$as_me: failed program was:" >&5
7531 sed 's/^/| /' conftest.
$ac_ext >&5
7533 ac_cv_lib_c_getgid
=no
7535 rm -f conftest.err conftest.
$ac_objext \
7536 conftest
$ac_exeext conftest.
$ac_ext
7537 LIBS
=$ac_check_lib_save_LIBS
7539 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
7540 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
7541 if test $ac_cv_lib_c_getgid = yes; then
7543 cat >>confdefs.h
<<\_ACEOF
7544 #define HAVE_GETGID 1
7549 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
7550 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
7551 if test "${ac_cv_lib_c_getpid+set}" = set; then
7552 echo $ECHO_N "(cached) $ECHO_C" >&6
7554 ac_check_lib_save_LIBS
=$LIBS
7556 cat >conftest.
$ac_ext <<_ACEOF
7559 cat confdefs.h
>>conftest.
$ac_ext
7560 cat >>conftest.
$ac_ext <<_ACEOF
7561 /* end confdefs.h. */
7563 /* Override any gcc2 internal prototype to avoid an error. */
7567 /* We use char because int might match the return type of a gcc2
7568 builtin and then its argument prototype would still apply. */
7578 rm -f conftest.
$ac_objext conftest
$ac_exeext
7579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7580 (eval $ac_link) 2>conftest.er1
7582 grep -v '^ *+' conftest.er1
>conftest.err
7584 cat conftest.err
>&5
7585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7586 (exit $ac_status); } &&
7587 { ac_try
='test -z "$ac_c_werror_flag"
7588 || test ! -s conftest.err'
7589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7593 (exit $ac_status); }; } &&
7594 { ac_try
='test -s conftest$ac_exeext'
7595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7599 (exit $ac_status); }; }; then
7600 ac_cv_lib_c_getpid
=yes
7602 echo "$as_me: failed program was:" >&5
7603 sed 's/^/| /' conftest.
$ac_ext >&5
7605 ac_cv_lib_c_getpid
=no
7607 rm -f conftest.err conftest.
$ac_objext \
7608 conftest
$ac_exeext conftest.
$ac_ext
7609 LIBS
=$ac_check_lib_save_LIBS
7611 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
7612 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
7613 if test $ac_cv_lib_c_getpid = yes; then
7615 cat >>confdefs.h
<<\_ACEOF
7616 #define HAVE_GETPID 1
7621 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
7622 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
7623 if test "${ac_cv_lib_c_getuid+set}" = set; then
7624 echo $ECHO_N "(cached) $ECHO_C" >&6
7626 ac_check_lib_save_LIBS
=$LIBS
7628 cat >conftest.
$ac_ext <<_ACEOF
7631 cat confdefs.h
>>conftest.
$ac_ext
7632 cat >>conftest.
$ac_ext <<_ACEOF
7633 /* end confdefs.h. */
7635 /* Override any gcc2 internal prototype to avoid an error. */
7639 /* We use char because int might match the return type of a gcc2
7640 builtin and then its argument prototype would still apply. */
7650 rm -f conftest.
$ac_objext conftest
$ac_exeext
7651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7652 (eval $ac_link) 2>conftest.er1
7654 grep -v '^ *+' conftest.er1
>conftest.err
7656 cat conftest.err
>&5
7657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7658 (exit $ac_status); } &&
7659 { ac_try
='test -z "$ac_c_werror_flag"
7660 || test ! -s conftest.err'
7661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7665 (exit $ac_status); }; } &&
7666 { ac_try
='test -s conftest$ac_exeext'
7667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7671 (exit $ac_status); }; }; then
7672 ac_cv_lib_c_getuid
=yes
7674 echo "$as_me: failed program was:" >&5
7675 sed 's/^/| /' conftest.
$ac_ext >&5
7677 ac_cv_lib_c_getuid
=no
7679 rm -f conftest.err conftest.
$ac_objext \
7680 conftest
$ac_exeext conftest.
$ac_ext
7681 LIBS
=$ac_check_lib_save_LIBS
7683 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
7684 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
7685 if test $ac_cv_lib_c_getuid = yes; then
7687 cat >>confdefs.h
<<\_ACEOF
7688 #define HAVE_GETUID 1
7694 # Check for C99 (and other IEEE) math functions
7695 # ??? This list seems awful long. Is there a better way to test for these?
7696 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
7697 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
7698 if test "${ac_cv_lib_m_acosf+set}" = set; then
7699 echo $ECHO_N "(cached) $ECHO_C" >&6
7701 ac_check_lib_save_LIBS
=$LIBS
7703 cat >conftest.
$ac_ext <<_ACEOF
7706 cat confdefs.h
>>conftest.
$ac_ext
7707 cat >>conftest.
$ac_ext <<_ACEOF
7708 /* end confdefs.h. */
7710 /* Override any gcc2 internal prototype to avoid an error. */
7714 /* We use char because int might match the return type of a gcc2
7715 builtin and then its argument prototype would still apply. */
7725 rm -f conftest.
$ac_objext conftest
$ac_exeext
7726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7727 (eval $ac_link) 2>conftest.er1
7729 grep -v '^ *+' conftest.er1
>conftest.err
7731 cat conftest.err
>&5
7732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7733 (exit $ac_status); } &&
7734 { ac_try
='test -z "$ac_c_werror_flag"
7735 || test ! -s conftest.err'
7736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7740 (exit $ac_status); }; } &&
7741 { ac_try
='test -s conftest$ac_exeext'
7742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7746 (exit $ac_status); }; }; then
7747 ac_cv_lib_m_acosf
=yes
7749 echo "$as_me: failed program was:" >&5
7750 sed 's/^/| /' conftest.
$ac_ext >&5
7752 ac_cv_lib_m_acosf
=no
7754 rm -f conftest.err conftest.
$ac_objext \
7755 conftest
$ac_exeext conftest.
$ac_ext
7756 LIBS
=$ac_check_lib_save_LIBS
7758 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
7759 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
7760 if test $ac_cv_lib_m_acosf = yes; then
7762 cat >>confdefs.h
<<\_ACEOF
7763 #define HAVE_ACOSF 1
7768 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
7769 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
7770 if test "${ac_cv_lib_m_asinf+set}" = set; then
7771 echo $ECHO_N "(cached) $ECHO_C" >&6
7773 ac_check_lib_save_LIBS
=$LIBS
7775 cat >conftest.
$ac_ext <<_ACEOF
7778 cat confdefs.h
>>conftest.
$ac_ext
7779 cat >>conftest.
$ac_ext <<_ACEOF
7780 /* end confdefs.h. */
7782 /* Override any gcc2 internal prototype to avoid an error. */
7786 /* We use char because int might match the return type of a gcc2
7787 builtin and then its argument prototype would still apply. */
7797 rm -f conftest.
$ac_objext conftest
$ac_exeext
7798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7799 (eval $ac_link) 2>conftest.er1
7801 grep -v '^ *+' conftest.er1
>conftest.err
7803 cat conftest.err
>&5
7804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7805 (exit $ac_status); } &&
7806 { ac_try
='test -z "$ac_c_werror_flag"
7807 || test ! -s conftest.err'
7808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7812 (exit $ac_status); }; } &&
7813 { ac_try
='test -s conftest$ac_exeext'
7814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7818 (exit $ac_status); }; }; then
7819 ac_cv_lib_m_asinf
=yes
7821 echo "$as_me: failed program was:" >&5
7822 sed 's/^/| /' conftest.
$ac_ext >&5
7824 ac_cv_lib_m_asinf
=no
7826 rm -f conftest.err conftest.
$ac_objext \
7827 conftest
$ac_exeext conftest.
$ac_ext
7828 LIBS
=$ac_check_lib_save_LIBS
7830 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
7831 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
7832 if test $ac_cv_lib_m_asinf = yes; then
7834 cat >>confdefs.h
<<\_ACEOF
7835 #define HAVE_ASINF 1
7840 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
7841 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
7842 if test "${ac_cv_lib_m_atan2f+set}" = set; then
7843 echo $ECHO_N "(cached) $ECHO_C" >&6
7845 ac_check_lib_save_LIBS
=$LIBS
7847 cat >conftest.
$ac_ext <<_ACEOF
7850 cat confdefs.h
>>conftest.
$ac_ext
7851 cat >>conftest.
$ac_ext <<_ACEOF
7852 /* end confdefs.h. */
7854 /* Override any gcc2 internal prototype to avoid an error. */
7858 /* We use char because int might match the return type of a gcc2
7859 builtin and then its argument prototype would still apply. */
7869 rm -f conftest.
$ac_objext conftest
$ac_exeext
7870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7871 (eval $ac_link) 2>conftest.er1
7873 grep -v '^ *+' conftest.er1
>conftest.err
7875 cat conftest.err
>&5
7876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7877 (exit $ac_status); } &&
7878 { ac_try
='test -z "$ac_c_werror_flag"
7879 || test ! -s conftest.err'
7880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7884 (exit $ac_status); }; } &&
7885 { ac_try
='test -s conftest$ac_exeext'
7886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7890 (exit $ac_status); }; }; then
7891 ac_cv_lib_m_atan2f
=yes
7893 echo "$as_me: failed program was:" >&5
7894 sed 's/^/| /' conftest.
$ac_ext >&5
7896 ac_cv_lib_m_atan2f
=no
7898 rm -f conftest.err conftest.
$ac_objext \
7899 conftest
$ac_exeext conftest.
$ac_ext
7900 LIBS
=$ac_check_lib_save_LIBS
7902 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
7903 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
7904 if test $ac_cv_lib_m_atan2f = yes; then
7906 cat >>confdefs.h
<<\_ACEOF
7907 #define HAVE_ATAN2F 1
7912 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
7913 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
7914 if test "${ac_cv_lib_m_atanf+set}" = set; then
7915 echo $ECHO_N "(cached) $ECHO_C" >&6
7917 ac_check_lib_save_LIBS
=$LIBS
7919 cat >conftest.
$ac_ext <<_ACEOF
7922 cat confdefs.h
>>conftest.
$ac_ext
7923 cat >>conftest.
$ac_ext <<_ACEOF
7924 /* end confdefs.h. */
7926 /* Override any gcc2 internal prototype to avoid an error. */
7930 /* We use char because int might match the return type of a gcc2
7931 builtin and then its argument prototype would still apply. */
7941 rm -f conftest.
$ac_objext conftest
$ac_exeext
7942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7943 (eval $ac_link) 2>conftest.er1
7945 grep -v '^ *+' conftest.er1
>conftest.err
7947 cat conftest.err
>&5
7948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7949 (exit $ac_status); } &&
7950 { ac_try
='test -z "$ac_c_werror_flag"
7951 || test ! -s conftest.err'
7952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7956 (exit $ac_status); }; } &&
7957 { ac_try
='test -s conftest$ac_exeext'
7958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7962 (exit $ac_status); }; }; then
7963 ac_cv_lib_m_atanf
=yes
7965 echo "$as_me: failed program was:" >&5
7966 sed 's/^/| /' conftest.
$ac_ext >&5
7968 ac_cv_lib_m_atanf
=no
7970 rm -f conftest.err conftest.
$ac_objext \
7971 conftest
$ac_exeext conftest.
$ac_ext
7972 LIBS
=$ac_check_lib_save_LIBS
7974 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
7975 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
7976 if test $ac_cv_lib_m_atanf = yes; then
7978 cat >>confdefs.h
<<\_ACEOF
7979 #define HAVE_ATANF 1
7984 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
7985 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
7986 if test "${ac_cv_lib_m_ceilf+set}" = set; then
7987 echo $ECHO_N "(cached) $ECHO_C" >&6
7989 ac_check_lib_save_LIBS
=$LIBS
7991 cat >conftest.
$ac_ext <<_ACEOF
7994 cat confdefs.h
>>conftest.
$ac_ext
7995 cat >>conftest.
$ac_ext <<_ACEOF
7996 /* end confdefs.h. */
7998 /* Override any gcc2 internal prototype to avoid an error. */
8002 /* We use char because int might match the return type of a gcc2
8003 builtin and then its argument prototype would still apply. */
8013 rm -f conftest.
$ac_objext conftest
$ac_exeext
8014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8015 (eval $ac_link) 2>conftest.er1
8017 grep -v '^ *+' conftest.er1
>conftest.err
8019 cat conftest.err
>&5
8020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8021 (exit $ac_status); } &&
8022 { ac_try
='test -z "$ac_c_werror_flag"
8023 || test ! -s conftest.err'
8024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8028 (exit $ac_status); }; } &&
8029 { ac_try
='test -s conftest$ac_exeext'
8030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8034 (exit $ac_status); }; }; then
8035 ac_cv_lib_m_ceilf
=yes
8037 echo "$as_me: failed program was:" >&5
8038 sed 's/^/| /' conftest.
$ac_ext >&5
8040 ac_cv_lib_m_ceilf
=no
8042 rm -f conftest.err conftest.
$ac_objext \
8043 conftest
$ac_exeext conftest.
$ac_ext
8044 LIBS
=$ac_check_lib_save_LIBS
8046 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
8047 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
8048 if test $ac_cv_lib_m_ceilf = yes; then
8050 cat >>confdefs.h
<<\_ACEOF
8051 #define HAVE_CEILF 1
8056 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
8057 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
8058 if test "${ac_cv_lib_m_copysignf+set}" = set; then
8059 echo $ECHO_N "(cached) $ECHO_C" >&6
8061 ac_check_lib_save_LIBS
=$LIBS
8063 cat >conftest.
$ac_ext <<_ACEOF
8066 cat confdefs.h
>>conftest.
$ac_ext
8067 cat >>conftest.
$ac_ext <<_ACEOF
8068 /* end confdefs.h. */
8070 /* Override any gcc2 internal prototype to avoid an error. */
8074 /* We use char because int might match the return type of a gcc2
8075 builtin and then its argument prototype would still apply. */
8085 rm -f conftest.
$ac_objext conftest
$ac_exeext
8086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8087 (eval $ac_link) 2>conftest.er1
8089 grep -v '^ *+' conftest.er1
>conftest.err
8091 cat conftest.err
>&5
8092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8093 (exit $ac_status); } &&
8094 { ac_try
='test -z "$ac_c_werror_flag"
8095 || test ! -s conftest.err'
8096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8100 (exit $ac_status); }; } &&
8101 { ac_try
='test -s conftest$ac_exeext'
8102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8106 (exit $ac_status); }; }; then
8107 ac_cv_lib_m_copysignf
=yes
8109 echo "$as_me: failed program was:" >&5
8110 sed 's/^/| /' conftest.
$ac_ext >&5
8112 ac_cv_lib_m_copysignf
=no
8114 rm -f conftest.err conftest.
$ac_objext \
8115 conftest
$ac_exeext conftest.
$ac_ext
8116 LIBS
=$ac_check_lib_save_LIBS
8118 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
8119 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
8120 if test $ac_cv_lib_m_copysignf = yes; then
8122 cat >>confdefs.h
<<\_ACEOF
8123 #define HAVE_COPYSIGNF 1
8128 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
8129 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
8130 if test "${ac_cv_lib_m_cosf+set}" = set; then
8131 echo $ECHO_N "(cached) $ECHO_C" >&6
8133 ac_check_lib_save_LIBS
=$LIBS
8135 cat >conftest.
$ac_ext <<_ACEOF
8138 cat confdefs.h
>>conftest.
$ac_ext
8139 cat >>conftest.
$ac_ext <<_ACEOF
8140 /* end confdefs.h. */
8142 /* Override any gcc2 internal prototype to avoid an error. */
8146 /* We use char because int might match the return type of a gcc2
8147 builtin and then its argument prototype would still apply. */
8157 rm -f conftest.
$ac_objext conftest
$ac_exeext
8158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8159 (eval $ac_link) 2>conftest.er1
8161 grep -v '^ *+' conftest.er1
>conftest.err
8163 cat conftest.err
>&5
8164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8165 (exit $ac_status); } &&
8166 { ac_try
='test -z "$ac_c_werror_flag"
8167 || test ! -s conftest.err'
8168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8172 (exit $ac_status); }; } &&
8173 { ac_try
='test -s conftest$ac_exeext'
8174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 (exit $ac_status); }; }; then
8179 ac_cv_lib_m_cosf
=yes
8181 echo "$as_me: failed program was:" >&5
8182 sed 's/^/| /' conftest.
$ac_ext >&5
8186 rm -f conftest.err conftest.
$ac_objext \
8187 conftest
$ac_exeext conftest.
$ac_ext
8188 LIBS
=$ac_check_lib_save_LIBS
8190 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
8191 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
8192 if test $ac_cv_lib_m_cosf = yes; then
8194 cat >>confdefs.h
<<\_ACEOF
8200 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
8201 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
8202 if test "${ac_cv_lib_m_coshf+set}" = set; then
8203 echo $ECHO_N "(cached) $ECHO_C" >&6
8205 ac_check_lib_save_LIBS
=$LIBS
8207 cat >conftest.
$ac_ext <<_ACEOF
8210 cat confdefs.h
>>conftest.
$ac_ext
8211 cat >>conftest.
$ac_ext <<_ACEOF
8212 /* end confdefs.h. */
8214 /* Override any gcc2 internal prototype to avoid an error. */
8218 /* We use char because int might match the return type of a gcc2
8219 builtin and then its argument prototype would still apply. */
8229 rm -f conftest.
$ac_objext conftest
$ac_exeext
8230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8231 (eval $ac_link) 2>conftest.er1
8233 grep -v '^ *+' conftest.er1
>conftest.err
8235 cat conftest.err
>&5
8236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8237 (exit $ac_status); } &&
8238 { ac_try
='test -z "$ac_c_werror_flag"
8239 || test ! -s conftest.err'
8240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8244 (exit $ac_status); }; } &&
8245 { ac_try
='test -s conftest$ac_exeext'
8246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8250 (exit $ac_status); }; }; then
8251 ac_cv_lib_m_coshf
=yes
8253 echo "$as_me: failed program was:" >&5
8254 sed 's/^/| /' conftest.
$ac_ext >&5
8256 ac_cv_lib_m_coshf
=no
8258 rm -f conftest.err conftest.
$ac_objext \
8259 conftest
$ac_exeext conftest.
$ac_ext
8260 LIBS
=$ac_check_lib_save_LIBS
8262 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
8263 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
8264 if test $ac_cv_lib_m_coshf = yes; then
8266 cat >>confdefs.h
<<\_ACEOF
8267 #define HAVE_COSHF 1
8272 echo "$as_me:$LINENO: checking for expf in -lm" >&5
8273 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
8274 if test "${ac_cv_lib_m_expf+set}" = set; then
8275 echo $ECHO_N "(cached) $ECHO_C" >&6
8277 ac_check_lib_save_LIBS
=$LIBS
8279 cat >conftest.
$ac_ext <<_ACEOF
8282 cat confdefs.h
>>conftest.
$ac_ext
8283 cat >>conftest.
$ac_ext <<_ACEOF
8284 /* end confdefs.h. */
8286 /* Override any gcc2 internal prototype to avoid an error. */
8290 /* We use char because int might match the return type of a gcc2
8291 builtin and then its argument prototype would still apply. */
8301 rm -f conftest.
$ac_objext conftest
$ac_exeext
8302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8303 (eval $ac_link) 2>conftest.er1
8305 grep -v '^ *+' conftest.er1
>conftest.err
8307 cat conftest.err
>&5
8308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8309 (exit $ac_status); } &&
8310 { ac_try
='test -z "$ac_c_werror_flag"
8311 || test ! -s conftest.err'
8312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8316 (exit $ac_status); }; } &&
8317 { ac_try
='test -s conftest$ac_exeext'
8318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8322 (exit $ac_status); }; }; then
8323 ac_cv_lib_m_expf
=yes
8325 echo "$as_me: failed program was:" >&5
8326 sed 's/^/| /' conftest.
$ac_ext >&5
8330 rm -f conftest.err conftest.
$ac_objext \
8331 conftest
$ac_exeext conftest.
$ac_ext
8332 LIBS
=$ac_check_lib_save_LIBS
8334 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
8335 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
8336 if test $ac_cv_lib_m_expf = yes; then
8338 cat >>confdefs.h
<<\_ACEOF
8344 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
8345 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
8346 if test "${ac_cv_lib_m_fabsf+set}" = set; then
8347 echo $ECHO_N "(cached) $ECHO_C" >&6
8349 ac_check_lib_save_LIBS
=$LIBS
8351 cat >conftest.
$ac_ext <<_ACEOF
8354 cat confdefs.h
>>conftest.
$ac_ext
8355 cat >>conftest.
$ac_ext <<_ACEOF
8356 /* end confdefs.h. */
8358 /* Override any gcc2 internal prototype to avoid an error. */
8362 /* We use char because int might match the return type of a gcc2
8363 builtin and then its argument prototype would still apply. */
8373 rm -f conftest.
$ac_objext conftest
$ac_exeext
8374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8375 (eval $ac_link) 2>conftest.er1
8377 grep -v '^ *+' conftest.er1
>conftest.err
8379 cat conftest.err
>&5
8380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8381 (exit $ac_status); } &&
8382 { ac_try
='test -z "$ac_c_werror_flag"
8383 || test ! -s conftest.err'
8384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8388 (exit $ac_status); }; } &&
8389 { ac_try
='test -s conftest$ac_exeext'
8390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8394 (exit $ac_status); }; }; then
8395 ac_cv_lib_m_fabsf
=yes
8397 echo "$as_me: failed program was:" >&5
8398 sed 's/^/| /' conftest.
$ac_ext >&5
8400 ac_cv_lib_m_fabsf
=no
8402 rm -f conftest.err conftest.
$ac_objext \
8403 conftest
$ac_exeext conftest.
$ac_ext
8404 LIBS
=$ac_check_lib_save_LIBS
8406 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
8407 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
8408 if test $ac_cv_lib_m_fabsf = yes; then
8410 cat >>confdefs.h
<<\_ACEOF
8411 #define HAVE_FABSF 1
8416 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
8417 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
8418 if test "${ac_cv_lib_m_floorf+set}" = set; then
8419 echo $ECHO_N "(cached) $ECHO_C" >&6
8421 ac_check_lib_save_LIBS
=$LIBS
8423 cat >conftest.
$ac_ext <<_ACEOF
8426 cat confdefs.h
>>conftest.
$ac_ext
8427 cat >>conftest.
$ac_ext <<_ACEOF
8428 /* end confdefs.h. */
8430 /* Override any gcc2 internal prototype to avoid an error. */
8434 /* We use char because int might match the return type of a gcc2
8435 builtin and then its argument prototype would still apply. */
8445 rm -f conftest.
$ac_objext conftest
$ac_exeext
8446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8447 (eval $ac_link) 2>conftest.er1
8449 grep -v '^ *+' conftest.er1
>conftest.err
8451 cat conftest.err
>&5
8452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8453 (exit $ac_status); } &&
8454 { ac_try
='test -z "$ac_c_werror_flag"
8455 || test ! -s conftest.err'
8456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8460 (exit $ac_status); }; } &&
8461 { ac_try
='test -s conftest$ac_exeext'
8462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8466 (exit $ac_status); }; }; then
8467 ac_cv_lib_m_floorf
=yes
8469 echo "$as_me: failed program was:" >&5
8470 sed 's/^/| /' conftest.
$ac_ext >&5
8472 ac_cv_lib_m_floorf
=no
8474 rm -f conftest.err conftest.
$ac_objext \
8475 conftest
$ac_exeext conftest.
$ac_ext
8476 LIBS
=$ac_check_lib_save_LIBS
8478 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
8479 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
8480 if test $ac_cv_lib_m_floorf = yes; then
8482 cat >>confdefs.h
<<\_ACEOF
8483 #define HAVE_FLOORF 1
8488 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
8489 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
8490 if test "${ac_cv_lib_m_frexpf+set}" = set; then
8491 echo $ECHO_N "(cached) $ECHO_C" >&6
8493 ac_check_lib_save_LIBS
=$LIBS
8495 cat >conftest.
$ac_ext <<_ACEOF
8498 cat confdefs.h
>>conftest.
$ac_ext
8499 cat >>conftest.
$ac_ext <<_ACEOF
8500 /* end confdefs.h. */
8502 /* Override any gcc2 internal prototype to avoid an error. */
8506 /* We use char because int might match the return type of a gcc2
8507 builtin and then its argument prototype would still apply. */
8517 rm -f conftest.
$ac_objext conftest
$ac_exeext
8518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8519 (eval $ac_link) 2>conftest.er1
8521 grep -v '^ *+' conftest.er1
>conftest.err
8523 cat conftest.err
>&5
8524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525 (exit $ac_status); } &&
8526 { ac_try
='test -z "$ac_c_werror_flag"
8527 || test ! -s conftest.err'
8528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8532 (exit $ac_status); }; } &&
8533 { ac_try
='test -s conftest$ac_exeext'
8534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8538 (exit $ac_status); }; }; then
8539 ac_cv_lib_m_frexpf
=yes
8541 echo "$as_me: failed program was:" >&5
8542 sed 's/^/| /' conftest.
$ac_ext >&5
8544 ac_cv_lib_m_frexpf
=no
8546 rm -f conftest.err conftest.
$ac_objext \
8547 conftest
$ac_exeext conftest.
$ac_ext
8548 LIBS
=$ac_check_lib_save_LIBS
8550 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
8551 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
8552 if test $ac_cv_lib_m_frexpf = yes; then
8554 cat >>confdefs.h
<<\_ACEOF
8555 #define HAVE_FREXPF 1
8560 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
8561 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
8562 if test "${ac_cv_lib_m_hypotf+set}" = set; then
8563 echo $ECHO_N "(cached) $ECHO_C" >&6
8565 ac_check_lib_save_LIBS
=$LIBS
8567 cat >conftest.
$ac_ext <<_ACEOF
8570 cat confdefs.h
>>conftest.
$ac_ext
8571 cat >>conftest.
$ac_ext <<_ACEOF
8572 /* end confdefs.h. */
8574 /* Override any gcc2 internal prototype to avoid an error. */
8578 /* We use char because int might match the return type of a gcc2
8579 builtin and then its argument prototype would still apply. */
8589 rm -f conftest.
$ac_objext conftest
$ac_exeext
8590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8591 (eval $ac_link) 2>conftest.er1
8593 grep -v '^ *+' conftest.er1
>conftest.err
8595 cat conftest.err
>&5
8596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8597 (exit $ac_status); } &&
8598 { ac_try
='test -z "$ac_c_werror_flag"
8599 || test ! -s conftest.err'
8600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8604 (exit $ac_status); }; } &&
8605 { ac_try
='test -s conftest$ac_exeext'
8606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8610 (exit $ac_status); }; }; then
8611 ac_cv_lib_m_hypotf
=yes
8613 echo "$as_me: failed program was:" >&5
8614 sed 's/^/| /' conftest.
$ac_ext >&5
8616 ac_cv_lib_m_hypotf
=no
8618 rm -f conftest.err conftest.
$ac_objext \
8619 conftest
$ac_exeext conftest.
$ac_ext
8620 LIBS
=$ac_check_lib_save_LIBS
8622 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
8623 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
8624 if test $ac_cv_lib_m_hypotf = yes; then
8626 cat >>confdefs.h
<<\_ACEOF
8627 #define HAVE_HYPOTF 1
8632 echo "$as_me:$LINENO: checking for logf in -lm" >&5
8633 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
8634 if test "${ac_cv_lib_m_logf+set}" = set; then
8635 echo $ECHO_N "(cached) $ECHO_C" >&6
8637 ac_check_lib_save_LIBS
=$LIBS
8639 cat >conftest.
$ac_ext <<_ACEOF
8642 cat confdefs.h
>>conftest.
$ac_ext
8643 cat >>conftest.
$ac_ext <<_ACEOF
8644 /* end confdefs.h. */
8646 /* Override any gcc2 internal prototype to avoid an error. */
8650 /* We use char because int might match the return type of a gcc2
8651 builtin and then its argument prototype would still apply. */
8661 rm -f conftest.
$ac_objext conftest
$ac_exeext
8662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8663 (eval $ac_link) 2>conftest.er1
8665 grep -v '^ *+' conftest.er1
>conftest.err
8667 cat conftest.err
>&5
8668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8669 (exit $ac_status); } &&
8670 { ac_try
='test -z "$ac_c_werror_flag"
8671 || test ! -s conftest.err'
8672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676 (exit $ac_status); }; } &&
8677 { ac_try
='test -s conftest$ac_exeext'
8678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8682 (exit $ac_status); }; }; then
8683 ac_cv_lib_m_logf
=yes
8685 echo "$as_me: failed program was:" >&5
8686 sed 's/^/| /' conftest.
$ac_ext >&5
8690 rm -f conftest.err conftest.
$ac_objext \
8691 conftest
$ac_exeext conftest.
$ac_ext
8692 LIBS
=$ac_check_lib_save_LIBS
8694 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
8695 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
8696 if test $ac_cv_lib_m_logf = yes; then
8698 cat >>confdefs.h
<<\_ACEOF
8704 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
8705 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
8706 if test "${ac_cv_lib_m_log10f+set}" = set; then
8707 echo $ECHO_N "(cached) $ECHO_C" >&6
8709 ac_check_lib_save_LIBS
=$LIBS
8711 cat >conftest.
$ac_ext <<_ACEOF
8714 cat confdefs.h
>>conftest.
$ac_ext
8715 cat >>conftest.
$ac_ext <<_ACEOF
8716 /* end confdefs.h. */
8718 /* Override any gcc2 internal prototype to avoid an error. */
8722 /* We use char because int might match the return type of a gcc2
8723 builtin and then its argument prototype would still apply. */
8733 rm -f conftest.
$ac_objext conftest
$ac_exeext
8734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8735 (eval $ac_link) 2>conftest.er1
8737 grep -v '^ *+' conftest.er1
>conftest.err
8739 cat conftest.err
>&5
8740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8741 (exit $ac_status); } &&
8742 { ac_try
='test -z "$ac_c_werror_flag"
8743 || test ! -s conftest.err'
8744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8748 (exit $ac_status); }; } &&
8749 { ac_try
='test -s conftest$ac_exeext'
8750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8754 (exit $ac_status); }; }; then
8755 ac_cv_lib_m_log10f
=yes
8757 echo "$as_me: failed program was:" >&5
8758 sed 's/^/| /' conftest.
$ac_ext >&5
8760 ac_cv_lib_m_log10f
=no
8762 rm -f conftest.err conftest.
$ac_objext \
8763 conftest
$ac_exeext conftest.
$ac_ext
8764 LIBS
=$ac_check_lib_save_LIBS
8766 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
8767 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
8768 if test $ac_cv_lib_m_log10f = yes; then
8770 cat >>confdefs.h
<<\_ACEOF
8771 #define HAVE_LOG10F 1
8776 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
8777 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
8778 if test "${ac_cv_lib_m_nextafter+set}" = set; then
8779 echo $ECHO_N "(cached) $ECHO_C" >&6
8781 ac_check_lib_save_LIBS
=$LIBS
8783 cat >conftest.
$ac_ext <<_ACEOF
8786 cat confdefs.h
>>conftest.
$ac_ext
8787 cat >>conftest.
$ac_ext <<_ACEOF
8788 /* end confdefs.h. */
8790 /* Override any gcc2 internal prototype to avoid an error. */
8794 /* We use char because int might match the return type of a gcc2
8795 builtin and then its argument prototype would still apply. */
8805 rm -f conftest.
$ac_objext conftest
$ac_exeext
8806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8807 (eval $ac_link) 2>conftest.er1
8809 grep -v '^ *+' conftest.er1
>conftest.err
8811 cat conftest.err
>&5
8812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8813 (exit $ac_status); } &&
8814 { ac_try
='test -z "$ac_c_werror_flag"
8815 || test ! -s conftest.err'
8816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8820 (exit $ac_status); }; } &&
8821 { ac_try
='test -s conftest$ac_exeext'
8822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8826 (exit $ac_status); }; }; then
8827 ac_cv_lib_m_nextafter
=yes
8829 echo "$as_me: failed program was:" >&5
8830 sed 's/^/| /' conftest.
$ac_ext >&5
8832 ac_cv_lib_m_nextafter
=no
8834 rm -f conftest.err conftest.
$ac_objext \
8835 conftest
$ac_exeext conftest.
$ac_ext
8836 LIBS
=$ac_check_lib_save_LIBS
8838 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
8839 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
8840 if test $ac_cv_lib_m_nextafter = yes; then
8842 cat >>confdefs.h
<<\_ACEOF
8843 #define HAVE_NEXTAFTER 1
8848 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
8849 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
8850 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
8851 echo $ECHO_N "(cached) $ECHO_C" >&6
8853 ac_check_lib_save_LIBS
=$LIBS
8855 cat >conftest.
$ac_ext <<_ACEOF
8858 cat confdefs.h
>>conftest.
$ac_ext
8859 cat >>conftest.
$ac_ext <<_ACEOF
8860 /* end confdefs.h. */
8862 /* Override any gcc2 internal prototype to avoid an error. */
8866 /* We use char because int might match the return type of a gcc2
8867 builtin and then its argument prototype would still apply. */
8877 rm -f conftest.
$ac_objext conftest
$ac_exeext
8878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8879 (eval $ac_link) 2>conftest.er1
8881 grep -v '^ *+' conftest.er1
>conftest.err
8883 cat conftest.err
>&5
8884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8885 (exit $ac_status); } &&
8886 { ac_try
='test -z "$ac_c_werror_flag"
8887 || test ! -s conftest.err'
8888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8892 (exit $ac_status); }; } &&
8893 { ac_try
='test -s conftest$ac_exeext'
8894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8898 (exit $ac_status); }; }; then
8899 ac_cv_lib_m_nextafterf
=yes
8901 echo "$as_me: failed program was:" >&5
8902 sed 's/^/| /' conftest.
$ac_ext >&5
8904 ac_cv_lib_m_nextafterf
=no
8906 rm -f conftest.err conftest.
$ac_objext \
8907 conftest
$ac_exeext conftest.
$ac_ext
8908 LIBS
=$ac_check_lib_save_LIBS
8910 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
8911 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
8912 if test $ac_cv_lib_m_nextafterf = yes; then
8914 cat >>confdefs.h
<<\_ACEOF
8915 #define HAVE_NEXTAFTERF 1
8920 echo "$as_me:$LINENO: checking for powf in -lm" >&5
8921 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
8922 if test "${ac_cv_lib_m_powf+set}" = set; then
8923 echo $ECHO_N "(cached) $ECHO_C" >&6
8925 ac_check_lib_save_LIBS
=$LIBS
8927 cat >conftest.
$ac_ext <<_ACEOF
8930 cat confdefs.h
>>conftest.
$ac_ext
8931 cat >>conftest.
$ac_ext <<_ACEOF
8932 /* end confdefs.h. */
8934 /* Override any gcc2 internal prototype to avoid an error. */
8938 /* We use char because int might match the return type of a gcc2
8939 builtin and then its argument prototype would still apply. */
8949 rm -f conftest.
$ac_objext conftest
$ac_exeext
8950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8951 (eval $ac_link) 2>conftest.er1
8953 grep -v '^ *+' conftest.er1
>conftest.err
8955 cat conftest.err
>&5
8956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8957 (exit $ac_status); } &&
8958 { ac_try
='test -z "$ac_c_werror_flag"
8959 || test ! -s conftest.err'
8960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8964 (exit $ac_status); }; } &&
8965 { ac_try
='test -s conftest$ac_exeext'
8966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8970 (exit $ac_status); }; }; then
8971 ac_cv_lib_m_powf
=yes
8973 echo "$as_me: failed program was:" >&5
8974 sed 's/^/| /' conftest.
$ac_ext >&5
8978 rm -f conftest.err conftest.
$ac_objext \
8979 conftest
$ac_exeext conftest.
$ac_ext
8980 LIBS
=$ac_check_lib_save_LIBS
8982 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
8983 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
8984 if test $ac_cv_lib_m_powf = yes; then
8986 cat >>confdefs.h
<<\_ACEOF
8992 echo "$as_me:$LINENO: checking for round in -lm" >&5
8993 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
8994 if test "${ac_cv_lib_m_round+set}" = set; then
8995 echo $ECHO_N "(cached) $ECHO_C" >&6
8997 ac_check_lib_save_LIBS
=$LIBS
8999 cat >conftest.
$ac_ext <<_ACEOF
9002 cat confdefs.h
>>conftest.
$ac_ext
9003 cat >>conftest.
$ac_ext <<_ACEOF
9004 /* end confdefs.h. */
9006 /* Override any gcc2 internal prototype to avoid an error. */
9010 /* We use char because int might match the return type of a gcc2
9011 builtin and then its argument prototype would still apply. */
9021 rm -f conftest.
$ac_objext conftest
$ac_exeext
9022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9023 (eval $ac_link) 2>conftest.er1
9025 grep -v '^ *+' conftest.er1
>conftest.err
9027 cat conftest.err
>&5
9028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9029 (exit $ac_status); } &&
9030 { ac_try
='test -z "$ac_c_werror_flag"
9031 || test ! -s conftest.err'
9032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9036 (exit $ac_status); }; } &&
9037 { ac_try
='test -s conftest$ac_exeext'
9038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9042 (exit $ac_status); }; }; then
9043 ac_cv_lib_m_round
=yes
9045 echo "$as_me: failed program was:" >&5
9046 sed 's/^/| /' conftest.
$ac_ext >&5
9048 ac_cv_lib_m_round
=no
9050 rm -f conftest.err conftest.
$ac_objext \
9051 conftest
$ac_exeext conftest.
$ac_ext
9052 LIBS
=$ac_check_lib_save_LIBS
9054 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
9055 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
9056 if test $ac_cv_lib_m_round = yes; then
9058 cat >>confdefs.h
<<\_ACEOF
9059 #define HAVE_ROUND 1
9064 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
9065 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
9066 if test "${ac_cv_lib_m_roundf+set}" = set; then
9067 echo $ECHO_N "(cached) $ECHO_C" >&6
9069 ac_check_lib_save_LIBS
=$LIBS
9071 cat >conftest.
$ac_ext <<_ACEOF
9074 cat confdefs.h
>>conftest.
$ac_ext
9075 cat >>conftest.
$ac_ext <<_ACEOF
9076 /* end confdefs.h. */
9078 /* Override any gcc2 internal prototype to avoid an error. */
9082 /* We use char because int might match the return type of a gcc2
9083 builtin and then its argument prototype would still apply. */
9093 rm -f conftest.
$ac_objext conftest
$ac_exeext
9094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9095 (eval $ac_link) 2>conftest.er1
9097 grep -v '^ *+' conftest.er1
>conftest.err
9099 cat conftest.err
>&5
9100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9101 (exit $ac_status); } &&
9102 { ac_try
='test -z "$ac_c_werror_flag"
9103 || test ! -s conftest.err'
9104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9108 (exit $ac_status); }; } &&
9109 { ac_try
='test -s conftest$ac_exeext'
9110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9114 (exit $ac_status); }; }; then
9115 ac_cv_lib_m_roundf
=yes
9117 echo "$as_me: failed program was:" >&5
9118 sed 's/^/| /' conftest.
$ac_ext >&5
9120 ac_cv_lib_m_roundf
=no
9122 rm -f conftest.err conftest.
$ac_objext \
9123 conftest
$ac_exeext conftest.
$ac_ext
9124 LIBS
=$ac_check_lib_save_LIBS
9126 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
9127 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
9128 if test $ac_cv_lib_m_roundf = yes; then
9130 cat >>confdefs.h
<<\_ACEOF
9131 #define HAVE_ROUNDF 1
9136 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
9137 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
9138 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
9139 echo $ECHO_N "(cached) $ECHO_C" >&6
9141 ac_check_lib_save_LIBS
=$LIBS
9143 cat >conftest.
$ac_ext <<_ACEOF
9146 cat confdefs.h
>>conftest.
$ac_ext
9147 cat >>conftest.
$ac_ext <<_ACEOF
9148 /* end confdefs.h. */
9150 /* Override any gcc2 internal prototype to avoid an error. */
9154 /* We use char because int might match the return type of a gcc2
9155 builtin and then its argument prototype would still apply. */
9165 rm -f conftest.
$ac_objext conftest
$ac_exeext
9166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9167 (eval $ac_link) 2>conftest.er1
9169 grep -v '^ *+' conftest.er1
>conftest.err
9171 cat conftest.err
>&5
9172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9173 (exit $ac_status); } &&
9174 { ac_try
='test -z "$ac_c_werror_flag"
9175 || test ! -s conftest.err'
9176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9180 (exit $ac_status); }; } &&
9181 { ac_try
='test -s conftest$ac_exeext'
9182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9186 (exit $ac_status); }; }; then
9187 ac_cv_lib_m_scalbnf
=yes
9189 echo "$as_me: failed program was:" >&5
9190 sed 's/^/| /' conftest.
$ac_ext >&5
9192 ac_cv_lib_m_scalbnf
=no
9194 rm -f conftest.err conftest.
$ac_objext \
9195 conftest
$ac_exeext conftest.
$ac_ext
9196 LIBS
=$ac_check_lib_save_LIBS
9198 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
9199 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
9200 if test $ac_cv_lib_m_scalbnf = yes; then
9202 cat >>confdefs.h
<<\_ACEOF
9203 #define HAVE_SCALBNF 1
9208 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
9209 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
9210 if test "${ac_cv_lib_m_sinf+set}" = set; then
9211 echo $ECHO_N "(cached) $ECHO_C" >&6
9213 ac_check_lib_save_LIBS
=$LIBS
9215 cat >conftest.
$ac_ext <<_ACEOF
9218 cat confdefs.h
>>conftest.
$ac_ext
9219 cat >>conftest.
$ac_ext <<_ACEOF
9220 /* end confdefs.h. */
9222 /* Override any gcc2 internal prototype to avoid an error. */
9226 /* We use char because int might match the return type of a gcc2
9227 builtin and then its argument prototype would still apply. */
9237 rm -f conftest.
$ac_objext conftest
$ac_exeext
9238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9239 (eval $ac_link) 2>conftest.er1
9241 grep -v '^ *+' conftest.er1
>conftest.err
9243 cat conftest.err
>&5
9244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9245 (exit $ac_status); } &&
9246 { ac_try
='test -z "$ac_c_werror_flag"
9247 || test ! -s conftest.err'
9248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9252 (exit $ac_status); }; } &&
9253 { ac_try
='test -s conftest$ac_exeext'
9254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9258 (exit $ac_status); }; }; then
9259 ac_cv_lib_m_sinf
=yes
9261 echo "$as_me: failed program was:" >&5
9262 sed 's/^/| /' conftest.
$ac_ext >&5
9266 rm -f conftest.err conftest.
$ac_objext \
9267 conftest
$ac_exeext conftest.
$ac_ext
9268 LIBS
=$ac_check_lib_save_LIBS
9270 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
9271 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
9272 if test $ac_cv_lib_m_sinf = yes; then
9274 cat >>confdefs.h
<<\_ACEOF
9280 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
9281 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
9282 if test "${ac_cv_lib_m_sinhf+set}" = set; then
9283 echo $ECHO_N "(cached) $ECHO_C" >&6
9285 ac_check_lib_save_LIBS
=$LIBS
9287 cat >conftest.
$ac_ext <<_ACEOF
9290 cat confdefs.h
>>conftest.
$ac_ext
9291 cat >>conftest.
$ac_ext <<_ACEOF
9292 /* end confdefs.h. */
9294 /* Override any gcc2 internal prototype to avoid an error. */
9298 /* We use char because int might match the return type of a gcc2
9299 builtin and then its argument prototype would still apply. */
9309 rm -f conftest.
$ac_objext conftest
$ac_exeext
9310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9311 (eval $ac_link) 2>conftest.er1
9313 grep -v '^ *+' conftest.er1
>conftest.err
9315 cat conftest.err
>&5
9316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9317 (exit $ac_status); } &&
9318 { ac_try
='test -z "$ac_c_werror_flag"
9319 || test ! -s conftest.err'
9320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9324 (exit $ac_status); }; } &&
9325 { ac_try
='test -s conftest$ac_exeext'
9326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9330 (exit $ac_status); }; }; then
9331 ac_cv_lib_m_sinhf
=yes
9333 echo "$as_me: failed program was:" >&5
9334 sed 's/^/| /' conftest.
$ac_ext >&5
9336 ac_cv_lib_m_sinhf
=no
9338 rm -f conftest.err conftest.
$ac_objext \
9339 conftest
$ac_exeext conftest.
$ac_ext
9340 LIBS
=$ac_check_lib_save_LIBS
9342 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
9343 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
9344 if test $ac_cv_lib_m_sinhf = yes; then
9346 cat >>confdefs.h
<<\_ACEOF
9347 #define HAVE_SINHF 1
9352 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
9353 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
9354 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
9355 echo $ECHO_N "(cached) $ECHO_C" >&6
9357 ac_check_lib_save_LIBS
=$LIBS
9359 cat >conftest.
$ac_ext <<_ACEOF
9362 cat confdefs.h
>>conftest.
$ac_ext
9363 cat >>conftest.
$ac_ext <<_ACEOF
9364 /* end confdefs.h. */
9366 /* Override any gcc2 internal prototype to avoid an error. */
9370 /* We use char because int might match the return type of a gcc2
9371 builtin and then its argument prototype would still apply. */
9381 rm -f conftest.
$ac_objext conftest
$ac_exeext
9382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9383 (eval $ac_link) 2>conftest.er1
9385 grep -v '^ *+' conftest.er1
>conftest.err
9387 cat conftest.err
>&5
9388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9389 (exit $ac_status); } &&
9390 { ac_try
='test -z "$ac_c_werror_flag"
9391 || test ! -s conftest.err'
9392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9396 (exit $ac_status); }; } &&
9397 { ac_try
='test -s conftest$ac_exeext'
9398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9402 (exit $ac_status); }; }; then
9403 ac_cv_lib_m_sqrtf
=yes
9405 echo "$as_me: failed program was:" >&5
9406 sed 's/^/| /' conftest.
$ac_ext >&5
9408 ac_cv_lib_m_sqrtf
=no
9410 rm -f conftest.err conftest.
$ac_objext \
9411 conftest
$ac_exeext conftest.
$ac_ext
9412 LIBS
=$ac_check_lib_save_LIBS
9414 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
9415 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
9416 if test $ac_cv_lib_m_sqrtf = yes; then
9418 cat >>confdefs.h
<<\_ACEOF
9419 #define HAVE_SQRTF 1
9424 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
9425 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
9426 if test "${ac_cv_lib_m_tanf+set}" = set; then
9427 echo $ECHO_N "(cached) $ECHO_C" >&6
9429 ac_check_lib_save_LIBS
=$LIBS
9431 cat >conftest.
$ac_ext <<_ACEOF
9434 cat confdefs.h
>>conftest.
$ac_ext
9435 cat >>conftest.
$ac_ext <<_ACEOF
9436 /* end confdefs.h. */
9438 /* Override any gcc2 internal prototype to avoid an error. */
9442 /* We use char because int might match the return type of a gcc2
9443 builtin and then its argument prototype would still apply. */
9453 rm -f conftest.
$ac_objext conftest
$ac_exeext
9454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9455 (eval $ac_link) 2>conftest.er1
9457 grep -v '^ *+' conftest.er1
>conftest.err
9459 cat conftest.err
>&5
9460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9461 (exit $ac_status); } &&
9462 { ac_try
='test -z "$ac_c_werror_flag"
9463 || test ! -s conftest.err'
9464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9468 (exit $ac_status); }; } &&
9469 { ac_try
='test -s conftest$ac_exeext'
9470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9474 (exit $ac_status); }; }; then
9475 ac_cv_lib_m_tanf
=yes
9477 echo "$as_me: failed program was:" >&5
9478 sed 's/^/| /' conftest.
$ac_ext >&5
9482 rm -f conftest.err conftest.
$ac_objext \
9483 conftest
$ac_exeext conftest.
$ac_ext
9484 LIBS
=$ac_check_lib_save_LIBS
9486 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
9487 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
9488 if test $ac_cv_lib_m_tanf = yes; then
9490 cat >>confdefs.h
<<\_ACEOF
9496 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
9497 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
9498 if test "${ac_cv_lib_m_tanhf+set}" = set; then
9499 echo $ECHO_N "(cached) $ECHO_C" >&6
9501 ac_check_lib_save_LIBS
=$LIBS
9503 cat >conftest.
$ac_ext <<_ACEOF
9506 cat confdefs.h
>>conftest.
$ac_ext
9507 cat >>conftest.
$ac_ext <<_ACEOF
9508 /* end confdefs.h. */
9510 /* Override any gcc2 internal prototype to avoid an error. */
9514 /* We use char because int might match the return type of a gcc2
9515 builtin and then its argument prototype would still apply. */
9525 rm -f conftest.
$ac_objext conftest
$ac_exeext
9526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9527 (eval $ac_link) 2>conftest.er1
9529 grep -v '^ *+' conftest.er1
>conftest.err
9531 cat conftest.err
>&5
9532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9533 (exit $ac_status); } &&
9534 { ac_try
='test -z "$ac_c_werror_flag"
9535 || test ! -s conftest.err'
9536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9540 (exit $ac_status); }; } &&
9541 { ac_try
='test -s conftest$ac_exeext'
9542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9546 (exit $ac_status); }; }; then
9547 ac_cv_lib_m_tanhf
=yes
9549 echo "$as_me: failed program was:" >&5
9550 sed 's/^/| /' conftest.
$ac_ext >&5
9552 ac_cv_lib_m_tanhf
=no
9554 rm -f conftest.err conftest.
$ac_objext \
9555 conftest
$ac_exeext conftest.
$ac_ext
9556 LIBS
=$ac_check_lib_save_LIBS
9558 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
9559 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
9560 if test $ac_cv_lib_m_tanhf = yes; then
9562 cat >>confdefs.h
<<\_ACEOF
9563 #define HAVE_TANHF 1
9568 echo "$as_me:$LINENO: checking for erf in -lm" >&5
9569 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
9570 if test "${ac_cv_lib_m_erf+set}" = set; then
9571 echo $ECHO_N "(cached) $ECHO_C" >&6
9573 ac_check_lib_save_LIBS
=$LIBS
9575 cat >conftest.
$ac_ext <<_ACEOF
9578 cat confdefs.h
>>conftest.
$ac_ext
9579 cat >>conftest.
$ac_ext <<_ACEOF
9580 /* end confdefs.h. */
9582 /* Override any gcc2 internal prototype to avoid an error. */
9586 /* We use char because int might match the return type of a gcc2
9587 builtin and then its argument prototype would still apply. */
9597 rm -f conftest.
$ac_objext conftest
$ac_exeext
9598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9599 (eval $ac_link) 2>conftest.er1
9601 grep -v '^ *+' conftest.er1
>conftest.err
9603 cat conftest.err
>&5
9604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9605 (exit $ac_status); } &&
9606 { ac_try
='test -z "$ac_c_werror_flag"
9607 || test ! -s conftest.err'
9608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9612 (exit $ac_status); }; } &&
9613 { ac_try
='test -s conftest$ac_exeext'
9614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9618 (exit $ac_status); }; }; then
9621 echo "$as_me: failed program was:" >&5
9622 sed 's/^/| /' conftest.
$ac_ext >&5
9626 rm -f conftest.err conftest.
$ac_objext \
9627 conftest
$ac_exeext conftest.
$ac_ext
9628 LIBS
=$ac_check_lib_save_LIBS
9630 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
9631 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
9632 if test $ac_cv_lib_m_erf = yes; then
9634 cat >>confdefs.h
<<\_ACEOF
9640 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
9641 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
9642 if test "${ac_cv_lib_m_erfc+set}" = set; then
9643 echo $ECHO_N "(cached) $ECHO_C" >&6
9645 ac_check_lib_save_LIBS
=$LIBS
9647 cat >conftest.
$ac_ext <<_ACEOF
9650 cat confdefs.h
>>conftest.
$ac_ext
9651 cat >>conftest.
$ac_ext <<_ACEOF
9652 /* end confdefs.h. */
9654 /* Override any gcc2 internal prototype to avoid an error. */
9658 /* We use char because int might match the return type of a gcc2
9659 builtin and then its argument prototype would still apply. */
9669 rm -f conftest.
$ac_objext conftest
$ac_exeext
9670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9671 (eval $ac_link) 2>conftest.er1
9673 grep -v '^ *+' conftest.er1
>conftest.err
9675 cat conftest.err
>&5
9676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9677 (exit $ac_status); } &&
9678 { ac_try
='test -z "$ac_c_werror_flag"
9679 || test ! -s conftest.err'
9680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9684 (exit $ac_status); }; } &&
9685 { ac_try
='test -s conftest$ac_exeext'
9686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9690 (exit $ac_status); }; }; then
9691 ac_cv_lib_m_erfc
=yes
9693 echo "$as_me: failed program was:" >&5
9694 sed 's/^/| /' conftest.
$ac_ext >&5
9698 rm -f conftest.err conftest.
$ac_objext \
9699 conftest
$ac_exeext conftest.
$ac_ext
9700 LIBS
=$ac_check_lib_save_LIBS
9702 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
9703 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
9704 if test $ac_cv_lib_m_erfc = yes; then
9706 cat >>confdefs.h
<<\_ACEOF
9712 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
9713 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
9714 if test "${ac_cv_lib_m_erfcf+set}" = set; then
9715 echo $ECHO_N "(cached) $ECHO_C" >&6
9717 ac_check_lib_save_LIBS
=$LIBS
9719 cat >conftest.
$ac_ext <<_ACEOF
9722 cat confdefs.h
>>conftest.
$ac_ext
9723 cat >>conftest.
$ac_ext <<_ACEOF
9724 /* end confdefs.h. */
9726 /* Override any gcc2 internal prototype to avoid an error. */
9730 /* We use char because int might match the return type of a gcc2
9731 builtin and then its argument prototype would still apply. */
9741 rm -f conftest.
$ac_objext conftest
$ac_exeext
9742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9743 (eval $ac_link) 2>conftest.er1
9745 grep -v '^ *+' conftest.er1
>conftest.err
9747 cat conftest.err
>&5
9748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9749 (exit $ac_status); } &&
9750 { ac_try
='test -z "$ac_c_werror_flag"
9751 || test ! -s conftest.err'
9752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9756 (exit $ac_status); }; } &&
9757 { ac_try
='test -s conftest$ac_exeext'
9758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762 (exit $ac_status); }; }; then
9763 ac_cv_lib_m_erfcf
=yes
9765 echo "$as_me: failed program was:" >&5
9766 sed 's/^/| /' conftest.
$ac_ext >&5
9768 ac_cv_lib_m_erfcf
=no
9770 rm -f conftest.err conftest.
$ac_objext \
9771 conftest
$ac_exeext conftest.
$ac_ext
9772 LIBS
=$ac_check_lib_save_LIBS
9774 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
9775 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
9776 if test $ac_cv_lib_m_erfcf = yes; then
9778 cat >>confdefs.h
<<\_ACEOF
9779 #define HAVE_ERFCF 1
9784 echo "$as_me:$LINENO: checking for erff in -lm" >&5
9785 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
9786 if test "${ac_cv_lib_m_erff+set}" = set; then
9787 echo $ECHO_N "(cached) $ECHO_C" >&6
9789 ac_check_lib_save_LIBS
=$LIBS
9791 cat >conftest.
$ac_ext <<_ACEOF
9794 cat confdefs.h
>>conftest.
$ac_ext
9795 cat >>conftest.
$ac_ext <<_ACEOF
9796 /* end confdefs.h. */
9798 /* Override any gcc2 internal prototype to avoid an error. */
9802 /* We use char because int might match the return type of a gcc2
9803 builtin and then its argument prototype would still apply. */
9813 rm -f conftest.
$ac_objext conftest
$ac_exeext
9814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9815 (eval $ac_link) 2>conftest.er1
9817 grep -v '^ *+' conftest.er1
>conftest.err
9819 cat conftest.err
>&5
9820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9821 (exit $ac_status); } &&
9822 { ac_try
='test -z "$ac_c_werror_flag"
9823 || test ! -s conftest.err'
9824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9828 (exit $ac_status); }; } &&
9829 { ac_try
='test -s conftest$ac_exeext'
9830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9834 (exit $ac_status); }; }; then
9835 ac_cv_lib_m_erff
=yes
9837 echo "$as_me: failed program was:" >&5
9838 sed 's/^/| /' conftest.
$ac_ext >&5
9842 rm -f conftest.err conftest.
$ac_objext \
9843 conftest
$ac_exeext conftest.
$ac_ext
9844 LIBS
=$ac_check_lib_save_LIBS
9846 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
9847 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
9848 if test $ac_cv_lib_m_erff = yes; then
9850 cat >>confdefs.h
<<\_ACEOF
9856 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
9857 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
9858 if test "${ac_cv_lib_m_j0+set}" = set; then
9859 echo $ECHO_N "(cached) $ECHO_C" >&6
9861 ac_check_lib_save_LIBS
=$LIBS
9863 cat >conftest.
$ac_ext <<_ACEOF
9866 cat confdefs.h
>>conftest.
$ac_ext
9867 cat >>conftest.
$ac_ext <<_ACEOF
9868 /* end confdefs.h. */
9870 /* Override any gcc2 internal prototype to avoid an error. */
9874 /* We use char because int might match the return type of a gcc2
9875 builtin and then its argument prototype would still apply. */
9885 rm -f conftest.
$ac_objext conftest
$ac_exeext
9886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9887 (eval $ac_link) 2>conftest.er1
9889 grep -v '^ *+' conftest.er1
>conftest.err
9891 cat conftest.err
>&5
9892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9893 (exit $ac_status); } &&
9894 { ac_try
='test -z "$ac_c_werror_flag"
9895 || test ! -s conftest.err'
9896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9900 (exit $ac_status); }; } &&
9901 { ac_try
='test -s conftest$ac_exeext'
9902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9906 (exit $ac_status); }; }; then
9909 echo "$as_me: failed program was:" >&5
9910 sed 's/^/| /' conftest.
$ac_ext >&5
9914 rm -f conftest.err conftest.
$ac_objext \
9915 conftest
$ac_exeext conftest.
$ac_ext
9916 LIBS
=$ac_check_lib_save_LIBS
9918 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
9919 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
9920 if test $ac_cv_lib_m_j0 = yes; then
9922 cat >>confdefs.h
<<\_ACEOF
9928 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
9929 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
9930 if test "${ac_cv_lib_m_j0f+set}" = set; then
9931 echo $ECHO_N "(cached) $ECHO_C" >&6
9933 ac_check_lib_save_LIBS
=$LIBS
9935 cat >conftest.
$ac_ext <<_ACEOF
9938 cat confdefs.h
>>conftest.
$ac_ext
9939 cat >>conftest.
$ac_ext <<_ACEOF
9940 /* end confdefs.h. */
9942 /* Override any gcc2 internal prototype to avoid an error. */
9946 /* We use char because int might match the return type of a gcc2
9947 builtin and then its argument prototype would still apply. */
9957 rm -f conftest.
$ac_objext conftest
$ac_exeext
9958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9959 (eval $ac_link) 2>conftest.er1
9961 grep -v '^ *+' conftest.er1
>conftest.err
9963 cat conftest.err
>&5
9964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9965 (exit $ac_status); } &&
9966 { ac_try
='test -z "$ac_c_werror_flag"
9967 || test ! -s conftest.err'
9968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972 (exit $ac_status); }; } &&
9973 { ac_try
='test -s conftest$ac_exeext'
9974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9978 (exit $ac_status); }; }; then
9981 echo "$as_me: failed program was:" >&5
9982 sed 's/^/| /' conftest.
$ac_ext >&5
9986 rm -f conftest.err conftest.
$ac_objext \
9987 conftest
$ac_exeext conftest.
$ac_ext
9988 LIBS
=$ac_check_lib_save_LIBS
9990 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
9991 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
9992 if test $ac_cv_lib_m_j0f = yes; then
9994 cat >>confdefs.h
<<\_ACEOF
10000 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
10001 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
10002 if test "${ac_cv_lib_m_j1+set}" = set; then
10003 echo $ECHO_N "(cached) $ECHO_C" >&6
10005 ac_check_lib_save_LIBS
=$LIBS
10007 cat >conftest.
$ac_ext <<_ACEOF
10010 cat confdefs.h
>>conftest.
$ac_ext
10011 cat >>conftest.
$ac_ext <<_ACEOF
10012 /* end confdefs.h. */
10014 /* Override any gcc2 internal prototype to avoid an error. */
10018 /* We use char because int might match the return type of a gcc2
10019 builtin and then its argument prototype would still apply. */
10029 rm -f conftest.
$ac_objext conftest
$ac_exeext
10030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10031 (eval $ac_link) 2>conftest.er1
10033 grep -v '^ *+' conftest.er1
>conftest.err
10035 cat conftest.err
>&5
10036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10037 (exit $ac_status); } &&
10038 { ac_try
='test -z "$ac_c_werror_flag"
10039 || test ! -s conftest.err'
10040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10041 (eval $ac_try) 2>&5
10043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10044 (exit $ac_status); }; } &&
10045 { ac_try
='test -s conftest$ac_exeext'
10046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10047 (eval $ac_try) 2>&5
10049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050 (exit $ac_status); }; }; then
10053 echo "$as_me: failed program was:" >&5
10054 sed 's/^/| /' conftest.
$ac_ext >&5
10058 rm -f conftest.err conftest.
$ac_objext \
10059 conftest
$ac_exeext conftest.
$ac_ext
10060 LIBS
=$ac_check_lib_save_LIBS
10062 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
10063 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
10064 if test $ac_cv_lib_m_j1 = yes; then
10066 cat >>confdefs.h
<<\_ACEOF
10072 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
10073 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
10074 if test "${ac_cv_lib_m_j1f+set}" = set; then
10075 echo $ECHO_N "(cached) $ECHO_C" >&6
10077 ac_check_lib_save_LIBS
=$LIBS
10079 cat >conftest.
$ac_ext <<_ACEOF
10082 cat confdefs.h
>>conftest.
$ac_ext
10083 cat >>conftest.
$ac_ext <<_ACEOF
10084 /* end confdefs.h. */
10086 /* Override any gcc2 internal prototype to avoid an error. */
10090 /* We use char because int might match the return type of a gcc2
10091 builtin and then its argument prototype would still apply. */
10101 rm -f conftest.
$ac_objext conftest
$ac_exeext
10102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10103 (eval $ac_link) 2>conftest.er1
10105 grep -v '^ *+' conftest.er1
>conftest.err
10107 cat conftest.err
>&5
10108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10109 (exit $ac_status); } &&
10110 { ac_try
='test -z "$ac_c_werror_flag"
10111 || test ! -s conftest.err'
10112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10113 (eval $ac_try) 2>&5
10115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10116 (exit $ac_status); }; } &&
10117 { ac_try
='test -s conftest$ac_exeext'
10118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10119 (eval $ac_try) 2>&5
10121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10122 (exit $ac_status); }; }; then
10123 ac_cv_lib_m_j1f
=yes
10125 echo "$as_me: failed program was:" >&5
10126 sed 's/^/| /' conftest.
$ac_ext >&5
10130 rm -f conftest.err conftest.
$ac_objext \
10131 conftest
$ac_exeext conftest.
$ac_ext
10132 LIBS
=$ac_check_lib_save_LIBS
10134 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
10135 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
10136 if test $ac_cv_lib_m_j1f = yes; then
10138 cat >>confdefs.h
<<\_ACEOF
10144 echo "$as_me:$LINENO: checking for jn in -lm" >&5
10145 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
10146 if test "${ac_cv_lib_m_jn+set}" = set; then
10147 echo $ECHO_N "(cached) $ECHO_C" >&6
10149 ac_check_lib_save_LIBS
=$LIBS
10151 cat >conftest.
$ac_ext <<_ACEOF
10154 cat confdefs.h
>>conftest.
$ac_ext
10155 cat >>conftest.
$ac_ext <<_ACEOF
10156 /* end confdefs.h. */
10158 /* Override any gcc2 internal prototype to avoid an error. */
10162 /* We use char because int might match the return type of a gcc2
10163 builtin and then its argument prototype would still apply. */
10173 rm -f conftest.
$ac_objext conftest
$ac_exeext
10174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10175 (eval $ac_link) 2>conftest.er1
10177 grep -v '^ *+' conftest.er1
>conftest.err
10179 cat conftest.err
>&5
10180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10181 (exit $ac_status); } &&
10182 { ac_try
='test -z "$ac_c_werror_flag"
10183 || test ! -s conftest.err'
10184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10185 (eval $ac_try) 2>&5
10187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10188 (exit $ac_status); }; } &&
10189 { ac_try
='test -s conftest$ac_exeext'
10190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10191 (eval $ac_try) 2>&5
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); }; }; then
10197 echo "$as_me: failed program was:" >&5
10198 sed 's/^/| /' conftest.
$ac_ext >&5
10202 rm -f conftest.err conftest.
$ac_objext \
10203 conftest
$ac_exeext conftest.
$ac_ext
10204 LIBS
=$ac_check_lib_save_LIBS
10206 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
10207 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
10208 if test $ac_cv_lib_m_jn = yes; then
10210 cat >>confdefs.h
<<\_ACEOF
10216 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
10217 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
10218 if test "${ac_cv_lib_m_jnf+set}" = set; then
10219 echo $ECHO_N "(cached) $ECHO_C" >&6
10221 ac_check_lib_save_LIBS
=$LIBS
10223 cat >conftest.
$ac_ext <<_ACEOF
10226 cat confdefs.h
>>conftest.
$ac_ext
10227 cat >>conftest.
$ac_ext <<_ACEOF
10228 /* end confdefs.h. */
10230 /* Override any gcc2 internal prototype to avoid an error. */
10234 /* We use char because int might match the return type of a gcc2
10235 builtin and then its argument prototype would still apply. */
10245 rm -f conftest.
$ac_objext conftest
$ac_exeext
10246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10247 (eval $ac_link) 2>conftest.er1
10249 grep -v '^ *+' conftest.er1
>conftest.err
10251 cat conftest.err
>&5
10252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 (exit $ac_status); } &&
10254 { ac_try
='test -z "$ac_c_werror_flag"
10255 || test ! -s conftest.err'
10256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10257 (eval $ac_try) 2>&5
10259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10260 (exit $ac_status); }; } &&
10261 { ac_try
='test -s conftest$ac_exeext'
10262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10263 (eval $ac_try) 2>&5
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 (exit $ac_status); }; }; then
10267 ac_cv_lib_m_jnf
=yes
10269 echo "$as_me: failed program was:" >&5
10270 sed 's/^/| /' conftest.
$ac_ext >&5
10274 rm -f conftest.err conftest.
$ac_objext \
10275 conftest
$ac_exeext conftest.
$ac_ext
10276 LIBS
=$ac_check_lib_save_LIBS
10278 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
10279 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
10280 if test $ac_cv_lib_m_jnf = yes; then
10282 cat >>confdefs.h
<<\_ACEOF
10288 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
10289 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
10290 if test "${ac_cv_lib_m_y0+set}" = set; then
10291 echo $ECHO_N "(cached) $ECHO_C" >&6
10293 ac_check_lib_save_LIBS
=$LIBS
10295 cat >conftest.
$ac_ext <<_ACEOF
10298 cat confdefs.h
>>conftest.
$ac_ext
10299 cat >>conftest.
$ac_ext <<_ACEOF
10300 /* end confdefs.h. */
10302 /* Override any gcc2 internal prototype to avoid an error. */
10306 /* We use char because int might match the return type of a gcc2
10307 builtin and then its argument prototype would still apply. */
10317 rm -f conftest.
$ac_objext conftest
$ac_exeext
10318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10319 (eval $ac_link) 2>conftest.er1
10321 grep -v '^ *+' conftest.er1
>conftest.err
10323 cat conftest.err
>&5
10324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10325 (exit $ac_status); } &&
10326 { ac_try
='test -z "$ac_c_werror_flag"
10327 || test ! -s conftest.err'
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); }; } &&
10333 { ac_try
='test -s conftest$ac_exeext'
10334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10335 (eval $ac_try) 2>&5
10337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10338 (exit $ac_status); }; }; then
10341 echo "$as_me: failed program was:" >&5
10342 sed 's/^/| /' conftest.
$ac_ext >&5
10346 rm -f conftest.err conftest.
$ac_objext \
10347 conftest
$ac_exeext conftest.
$ac_ext
10348 LIBS
=$ac_check_lib_save_LIBS
10350 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
10351 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
10352 if test $ac_cv_lib_m_y0 = yes; then
10354 cat >>confdefs.h
<<\_ACEOF
10360 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
10361 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
10362 if test "${ac_cv_lib_m_y0f+set}" = set; then
10363 echo $ECHO_N "(cached) $ECHO_C" >&6
10365 ac_check_lib_save_LIBS
=$LIBS
10367 cat >conftest.
$ac_ext <<_ACEOF
10370 cat confdefs.h
>>conftest.
$ac_ext
10371 cat >>conftest.
$ac_ext <<_ACEOF
10372 /* end confdefs.h. */
10374 /* Override any gcc2 internal prototype to avoid an error. */
10378 /* We use char because int might match the return type of a gcc2
10379 builtin and then its argument prototype would still apply. */
10389 rm -f conftest.
$ac_objext conftest
$ac_exeext
10390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10391 (eval $ac_link) 2>conftest.er1
10393 grep -v '^ *+' conftest.er1
>conftest.err
10395 cat conftest.err
>&5
10396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10397 (exit $ac_status); } &&
10398 { ac_try
='test -z "$ac_c_werror_flag"
10399 || test ! -s conftest.err'
10400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10401 (eval $ac_try) 2>&5
10403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10404 (exit $ac_status); }; } &&
10405 { ac_try
='test -s conftest$ac_exeext'
10406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10407 (eval $ac_try) 2>&5
10409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410 (exit $ac_status); }; }; then
10411 ac_cv_lib_m_y0f
=yes
10413 echo "$as_me: failed program was:" >&5
10414 sed 's/^/| /' conftest.
$ac_ext >&5
10418 rm -f conftest.err conftest.
$ac_objext \
10419 conftest
$ac_exeext conftest.
$ac_ext
10420 LIBS
=$ac_check_lib_save_LIBS
10422 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
10423 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
10424 if test $ac_cv_lib_m_y0f = yes; then
10426 cat >>confdefs.h
<<\_ACEOF
10432 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
10433 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
10434 if test "${ac_cv_lib_m_y1+set}" = set; then
10435 echo $ECHO_N "(cached) $ECHO_C" >&6
10437 ac_check_lib_save_LIBS
=$LIBS
10439 cat >conftest.
$ac_ext <<_ACEOF
10442 cat confdefs.h
>>conftest.
$ac_ext
10443 cat >>conftest.
$ac_ext <<_ACEOF
10444 /* end confdefs.h. */
10446 /* Override any gcc2 internal prototype to avoid an error. */
10450 /* We use char because int might match the return type of a gcc2
10451 builtin and then its argument prototype would still apply. */
10461 rm -f conftest.
$ac_objext conftest
$ac_exeext
10462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10463 (eval $ac_link) 2>conftest.er1
10465 grep -v '^ *+' conftest.er1
>conftest.err
10467 cat conftest.err
>&5
10468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10469 (exit $ac_status); } &&
10470 { ac_try
='test -z "$ac_c_werror_flag"
10471 || test ! -s conftest.err'
10472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10473 (eval $ac_try) 2>&5
10475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10476 (exit $ac_status); }; } &&
10477 { ac_try
='test -s conftest$ac_exeext'
10478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10479 (eval $ac_try) 2>&5
10481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10482 (exit $ac_status); }; }; then
10485 echo "$as_me: failed program was:" >&5
10486 sed 's/^/| /' conftest.
$ac_ext >&5
10490 rm -f conftest.err conftest.
$ac_objext \
10491 conftest
$ac_exeext conftest.
$ac_ext
10492 LIBS
=$ac_check_lib_save_LIBS
10494 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
10495 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
10496 if test $ac_cv_lib_m_y1 = yes; then
10498 cat >>confdefs.h
<<\_ACEOF
10504 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
10505 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
10506 if test "${ac_cv_lib_m_y1f+set}" = set; then
10507 echo $ECHO_N "(cached) $ECHO_C" >&6
10509 ac_check_lib_save_LIBS
=$LIBS
10511 cat >conftest.
$ac_ext <<_ACEOF
10514 cat confdefs.h
>>conftest.
$ac_ext
10515 cat >>conftest.
$ac_ext <<_ACEOF
10516 /* end confdefs.h. */
10518 /* Override any gcc2 internal prototype to avoid an error. */
10522 /* We use char because int might match the return type of a gcc2
10523 builtin and then its argument prototype would still apply. */
10533 rm -f conftest.
$ac_objext conftest
$ac_exeext
10534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10535 (eval $ac_link) 2>conftest.er1
10537 grep -v '^ *+' conftest.er1
>conftest.err
10539 cat conftest.err
>&5
10540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10541 (exit $ac_status); } &&
10542 { ac_try
='test -z "$ac_c_werror_flag"
10543 || test ! -s conftest.err'
10544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10545 (eval $ac_try) 2>&5
10547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10548 (exit $ac_status); }; } &&
10549 { ac_try
='test -s conftest$ac_exeext'
10550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10551 (eval $ac_try) 2>&5
10553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10554 (exit $ac_status); }; }; then
10555 ac_cv_lib_m_y1f
=yes
10557 echo "$as_me: failed program was:" >&5
10558 sed 's/^/| /' conftest.
$ac_ext >&5
10562 rm -f conftest.err conftest.
$ac_objext \
10563 conftest
$ac_exeext conftest.
$ac_ext
10564 LIBS
=$ac_check_lib_save_LIBS
10566 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
10567 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
10568 if test $ac_cv_lib_m_y1f = yes; then
10570 cat >>confdefs.h
<<\_ACEOF
10576 echo "$as_me:$LINENO: checking for yn in -lm" >&5
10577 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
10578 if test "${ac_cv_lib_m_yn+set}" = set; then
10579 echo $ECHO_N "(cached) $ECHO_C" >&6
10581 ac_check_lib_save_LIBS
=$LIBS
10583 cat >conftest.
$ac_ext <<_ACEOF
10586 cat confdefs.h
>>conftest.
$ac_ext
10587 cat >>conftest.
$ac_ext <<_ACEOF
10588 /* end confdefs.h. */
10590 /* Override any gcc2 internal prototype to avoid an error. */
10594 /* We use char because int might match the return type of a gcc2
10595 builtin and then its argument prototype would still apply. */
10605 rm -f conftest.
$ac_objext conftest
$ac_exeext
10606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10607 (eval $ac_link) 2>conftest.er1
10609 grep -v '^ *+' conftest.er1
>conftest.err
10611 cat conftest.err
>&5
10612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10613 (exit $ac_status); } &&
10614 { ac_try
='test -z "$ac_c_werror_flag"
10615 || test ! -s conftest.err'
10616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10617 (eval $ac_try) 2>&5
10619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10620 (exit $ac_status); }; } &&
10621 { ac_try
='test -s conftest$ac_exeext'
10622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10623 (eval $ac_try) 2>&5
10625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10626 (exit $ac_status); }; }; then
10629 echo "$as_me: failed program was:" >&5
10630 sed 's/^/| /' conftest.
$ac_ext >&5
10634 rm -f conftest.err conftest.
$ac_objext \
10635 conftest
$ac_exeext conftest.
$ac_ext
10636 LIBS
=$ac_check_lib_save_LIBS
10638 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
10639 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
10640 if test $ac_cv_lib_m_yn = yes; then
10642 cat >>confdefs.h
<<\_ACEOF
10648 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
10649 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
10650 if test "${ac_cv_lib_m_ynf+set}" = set; then
10651 echo $ECHO_N "(cached) $ECHO_C" >&6
10653 ac_check_lib_save_LIBS
=$LIBS
10655 cat >conftest.
$ac_ext <<_ACEOF
10658 cat confdefs.h
>>conftest.
$ac_ext
10659 cat >>conftest.
$ac_ext <<_ACEOF
10660 /* end confdefs.h. */
10662 /* Override any gcc2 internal prototype to avoid an error. */
10666 /* We use char because int might match the return type of a gcc2
10667 builtin and then its argument prototype would still apply. */
10677 rm -f conftest.
$ac_objext conftest
$ac_exeext
10678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10679 (eval $ac_link) 2>conftest.er1
10681 grep -v '^ *+' conftest.er1
>conftest.err
10683 cat conftest.err
>&5
10684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10685 (exit $ac_status); } &&
10686 { ac_try
='test -z "$ac_c_werror_flag"
10687 || test ! -s conftest.err'
10688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10689 (eval $ac_try) 2>&5
10691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10692 (exit $ac_status); }; } &&
10693 { ac_try
='test -s conftest$ac_exeext'
10694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10695 (eval $ac_try) 2>&5
10697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10698 (exit $ac_status); }; }; then
10699 ac_cv_lib_m_ynf
=yes
10701 echo "$as_me: failed program was:" >&5
10702 sed 's/^/| /' conftest.
$ac_ext >&5
10706 rm -f conftest.err conftest.
$ac_objext \
10707 conftest
$ac_exeext conftest.
$ac_ext
10708 LIBS
=$ac_check_lib_save_LIBS
10710 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
10711 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
10712 if test $ac_cv_lib_m_ynf = yes; then
10714 cat >>confdefs.h
<<\_ACEOF
10721 # Fallback in case isfinite is not available.
10722 echo "$as_me:$LINENO: checking for finite in -lm" >&5
10723 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
10724 if test "${ac_cv_lib_m_finite+set}" = set; then
10725 echo $ECHO_N "(cached) $ECHO_C" >&6
10727 ac_check_lib_save_LIBS
=$LIBS
10729 cat >conftest.
$ac_ext <<_ACEOF
10732 cat confdefs.h
>>conftest.
$ac_ext
10733 cat >>conftest.
$ac_ext <<_ACEOF
10734 /* end confdefs.h. */
10736 /* Override any gcc2 internal prototype to avoid an error. */
10740 /* We use char because int might match the return type of a gcc2
10741 builtin and then its argument prototype would still apply. */
10751 rm -f conftest.
$ac_objext conftest
$ac_exeext
10752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10753 (eval $ac_link) 2>conftest.er1
10755 grep -v '^ *+' conftest.er1
>conftest.err
10757 cat conftest.err
>&5
10758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10759 (exit $ac_status); } &&
10760 { ac_try
='test -z "$ac_c_werror_flag"
10761 || test ! -s conftest.err'
10762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10763 (eval $ac_try) 2>&5
10765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10766 (exit $ac_status); }; } &&
10767 { ac_try
='test -s conftest$ac_exeext'
10768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10769 (eval $ac_try) 2>&5
10771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10772 (exit $ac_status); }; }; then
10773 ac_cv_lib_m_finite
=yes
10775 echo "$as_me: failed program was:" >&5
10776 sed 's/^/| /' conftest.
$ac_ext >&5
10778 ac_cv_lib_m_finite
=no
10780 rm -f conftest.err conftest.
$ac_objext \
10781 conftest
$ac_exeext conftest.
$ac_ext
10782 LIBS
=$ac_check_lib_save_LIBS
10784 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
10785 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
10786 if test $ac_cv_lib_m_finite = yes; then
10788 cat >>confdefs.h
<<\_ACEOF
10789 #define HAVE_FINITE 1
10795 # Let the user override this
10796 # Check whether --enable-cmath or --disable-cmath was given.
10797 if test "${enable_cmath+set}" = set; then
10798 enableval
="$enable_cmath"
10799 need_math
=$enableval
10801 if test "$need_math" = "yes"; then
10802 { echo "$as_me:$LINENO: Including complex math functions in libgfor" >&5
10803 echo "$as_me: Including complex math functions in libgfor" >&6;};
10804 extra_math_obj
='$(gfor_cmath_obj)'
10807 MATH_OBJ
="$extra_math_obj"
10810 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
10811 # for struct timezone, as you might think. We also need to check how
10812 # to call gettimeofday if we have it.
10813 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10814 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
10815 if test "${ac_cv_header_time+set}" = set; then
10816 echo $ECHO_N "(cached) $ECHO_C" >&6
10818 cat >conftest.
$ac_ext <<_ACEOF
10821 cat confdefs.h
>>conftest.
$ac_ext
10822 cat >>conftest.
$ac_ext <<_ACEOF
10823 /* end confdefs.h. */
10824 #include <sys/types.h>
10825 #include <sys/time.h>
10831 if ((struct tm *) 0)
10837 rm -f conftest.
$ac_objext
10838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10839 (eval $ac_compile) 2>conftest.er1
10841 grep -v '^ *+' conftest.er1
>conftest.err
10843 cat conftest.err
>&5
10844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10845 (exit $ac_status); } &&
10846 { ac_try
='test -z "$ac_c_werror_flag"
10847 || test ! -s conftest.err'
10848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10849 (eval $ac_try) 2>&5
10851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10852 (exit $ac_status); }; } &&
10853 { ac_try
='test -s conftest.$ac_objext'
10854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10855 (eval $ac_try) 2>&5
10857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10858 (exit $ac_status); }; }; then
10859 ac_cv_header_time
=yes
10861 echo "$as_me: failed program was:" >&5
10862 sed 's/^/| /' conftest.
$ac_ext >&5
10864 ac_cv_header_time
=no
10866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10868 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10869 echo "${ECHO_T}$ac_cv_header_time" >&6
10870 if test $ac_cv_header_time = yes; then
10872 cat >>confdefs.h
<<\_ACEOF
10873 #define TIME_WITH_SYS_TIME 1
10880 for ac_func
in gettimeofday
10882 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10883 echo "$as_me:$LINENO: checking for $ac_func" >&5
10884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10885 if eval "test \"\${$as_ac_var+set}\" = set"; then
10886 echo $ECHO_N "(cached) $ECHO_C" >&6
10888 cat >conftest.
$ac_ext <<_ACEOF
10891 cat confdefs.h
>>conftest.
$ac_ext
10892 cat >>conftest.
$ac_ext <<_ACEOF
10893 /* end confdefs.h. */
10894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10896 #define $ac_func innocuous_$ac_func
10898 /* System header to define __stub macros and hopefully few prototypes,
10899 which can conflict with char $ac_func (); below.
10900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10901 <limits.h> exists even on freestanding compilers. */
10904 # include <limits.h>
10906 # include <assert.h>
10911 /* Override any gcc2 internal prototype to avoid an error. */
10916 /* We use char because int might match the return type of a gcc2
10917 builtin and then its argument prototype would still apply. */
10919 /* The GNU C library defines this for functions which it implements
10920 to always fail with ENOSYS. Some functions are actually named
10921 something starting with __ and the normal name is an alias. */
10922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10925 char (*f) () = $ac_func;
10934 return f != $ac_func;
10939 rm -f conftest.
$ac_objext conftest
$ac_exeext
10940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10941 (eval $ac_link) 2>conftest.er1
10943 grep -v '^ *+' conftest.er1
>conftest.err
10945 cat conftest.err
>&5
10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947 (exit $ac_status); } &&
10948 { ac_try
='test -z "$ac_c_werror_flag"
10949 || test ! -s conftest.err'
10950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10951 (eval $ac_try) 2>&5
10953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10954 (exit $ac_status); }; } &&
10955 { ac_try
='test -s conftest$ac_exeext'
10956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10957 (eval $ac_try) 2>&5
10959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10960 (exit $ac_status); }; }; then
10961 eval "$as_ac_var=yes"
10963 echo "$as_me: failed program was:" >&5
10964 sed 's/^/| /' conftest.
$ac_ext >&5
10966 eval "$as_ac_var=no"
10968 rm -f conftest.err conftest.
$ac_objext \
10969 conftest
$ac_exeext conftest.
$ac_ext
10971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10973 if test `eval echo '${'$as_ac_var'}'` = yes; then
10974 cat >>confdefs.h
<<_ACEOF
10975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10981 if test "$ac_cv_func_gettimeofday" = yes; then
10982 echo "$as_me:$LINENO: checking for struct timezone" >&5
10983 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
10984 if test "${gfor_cv_struct_timezone+set}" = set; then
10985 echo $ECHO_N "(cached) $ECHO_C" >&6
10987 cat >conftest.
$ac_ext <<_ACEOF
10990 cat confdefs.h
>>conftest.
$ac_ext
10991 cat >>conftest.
$ac_ext <<_ACEOF
10992 /* end confdefs.h. */
10993 #include <sys/time.h>
10997 struct timezone tz;
11002 rm -f conftest.
$ac_objext
11003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11004 (eval $ac_compile) 2>conftest.er1
11006 grep -v '^ *+' conftest.er1
>conftest.err
11008 cat conftest.err
>&5
11009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11010 (exit $ac_status); } &&
11011 { ac_try
='test -z "$ac_c_werror_flag"
11012 || test ! -s conftest.err'
11013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11014 (eval $ac_try) 2>&5
11016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11017 (exit $ac_status); }; } &&
11018 { ac_try
='test -s conftest.$ac_objext'
11019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11020 (eval $ac_try) 2>&5
11022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11023 (exit $ac_status); }; }; then
11024 gfor_cv_struct_timezone
=yes
11026 echo "$as_me: failed program was:" >&5
11027 sed 's/^/| /' conftest.
$ac_ext >&5
11029 gfor_cv_struct_timezone
=no
11031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11033 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
11034 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
11035 if test $gfor_cv_struct_timezone = yes; then
11036 if test "$cross_compiling" = yes; then
11037 gfor_have_struct_timezone
=yes
11039 cat >conftest.
$ac_ext <<_ACEOF
11042 cat confdefs.h
>>conftest.
$ac_ext
11043 cat >>conftest.
$ac_ext <<_ACEOF
11044 /* end confdefs.h. */
11046 #ifdef TIME_WITH_SYS_TIME
11047 #include <sys/time.h>
11050 #ifdef HAVE_SYS_TIME_H
11051 #include <sys/time.h>
11058 struct timeval time;
11059 struct timezone dummy;
11060 if (gettimeofday (&time, &dummy))
11066 rm -f conftest
$ac_exeext
11067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11068 (eval $ac_link) 2>&5
11070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11071 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11073 (eval $ac_try) 2>&5
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); }; }; then
11077 gfor_have_struct_timezone
=yes
11079 echo "$as_me: program exited with status $ac_status" >&5
11080 echo "$as_me: failed program was:" >&5
11081 sed 's/^/| /' conftest.
$ac_ext >&5
11083 ( exit $ac_status )
11084 gfor_have_struct_timezone
=no
11086 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11088 if test $gfor_have_struct_timezone = yes; then
11090 cat >>confdefs.h
<<\_ACEOF
11091 #define HAVE_TIMEZONE 1
11097 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
11098 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
11099 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11100 echo $ECHO_N "(cached) $ECHO_C" >&6
11102 cat >conftest.
$ac_ext <<_ACEOF
11105 cat confdefs.h
>>conftest.
$ac_ext
11106 cat >>conftest.
$ac_ext <<_ACEOF
11107 /* end confdefs.h. */
11109 #ifdef TIME_WITH_SYS_TIME
11110 #include <sys/time.h>
11113 #ifdef HAVE_SYS_TIME_H
11114 #include <sys/time.h>
11124 struct timeval time;
11125 #ifdef HAVE_TIMEZONE
11126 struct timezone dummy;
11127 #define DUMMY &dummy
11131 gettimeofday (&time, DUMMY);
11136 rm -f conftest.
$ac_objext conftest
$ac_exeext
11137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11138 (eval $ac_link) 2>conftest.er1
11140 grep -v '^ *+' conftest.er1
>conftest.err
11142 cat conftest.err
>&5
11143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11144 (exit $ac_status); } &&
11145 { ac_try
='test -z "$ac_c_werror_flag"
11146 || test ! -s conftest.err'
11147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11148 (eval $ac_try) 2>&5
11150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11151 (exit $ac_status); }; } &&
11152 { ac_try
='test -s conftest$ac_exeext'
11153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11154 (eval $ac_try) 2>&5
11156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11157 (exit $ac_status); }; }; then
11158 emacs_cv_gettimeofday_two_arguments
=yes
11160 echo "$as_me: failed program was:" >&5
11161 sed 's/^/| /' conftest.
$ac_ext >&5
11163 emacs_cv_gettimeofday_two_arguments
=no
11165 rm -f conftest.err conftest.
$ac_objext \
11166 conftest
$ac_exeext conftest.
$ac_ext
11168 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
11169 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11170 if test $emacs_cv_gettimeofday_two_arguments = no
; then
11172 cat >>confdefs.h
<<\_ACEOF
11173 #define GETTIMEOFDAY_ONE_ARGUMENT 1
11179 # Attempt to assert that the target is of common type in case we don't
11180 # have C99 integer types at all.
11182 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
11183 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
11184 if test "${target_ilp32+set}" = set; then
11185 echo $ECHO_N "(cached) $ECHO_C" >&6
11188 save_CFLAGS
="$CFLAGS"
11190 cat >conftest.
$ac_ext <<_ACEOF
11193 cat confdefs.h
>>conftest.
$ac_ext
11194 cat >>conftest.
$ac_ext <<_ACEOF
11195 /* end confdefs.h. */
11201 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
11204 undefined_function ();
11210 rm -f conftest.
$ac_objext conftest
$ac_exeext
11211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11212 (eval $ac_link) 2>conftest.er1
11214 grep -v '^ *+' conftest.er1
>conftest.err
11216 cat conftest.err
>&5
11217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11218 (exit $ac_status); } &&
11219 { ac_try
='test -z "$ac_c_werror_flag"
11220 || test ! -s conftest.err'
11221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11222 (eval $ac_try) 2>&5
11224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); }; } &&
11226 { ac_try
='test -s conftest$ac_exeext'
11227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11228 (eval $ac_try) 2>&5
11230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11231 (exit $ac_status); }; }; then
11234 echo "$as_me: failed program was:" >&5
11235 sed 's/^/| /' conftest.
$ac_ext >&5
11239 rm -f conftest.err conftest.
$ac_objext \
11240 conftest
$ac_exeext conftest.
$ac_ext
11241 CFLAGS
="$save_CFLAGS"
11243 echo "$as_me:$LINENO: result: $target_ilp32" >&5
11244 echo "${ECHO_T}$target_ilp32" >&6
11245 if test $target_ilp32 = yes; then
11247 cat >>confdefs.h
<<\_ACEOF
11248 #define TARGET_ILP32 1
11254 # Check out attribute support.
11256 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
11257 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
11258 if test "${have_attribute_visibility+set}" = set; then
11259 echo $ECHO_N "(cached) $ECHO_C" >&6
11262 save_CFLAGS
="$CFLAGS"
11263 CFLAGS
="$CFLAGS -Werror"
11264 cat >conftest.
$ac_ext <<_ACEOF
11267 cat confdefs.h
>>conftest.
$ac_ext
11268 cat >>conftest.
$ac_ext <<_ACEOF
11269 /* end confdefs.h. */
11270 void __attribute__((visibility("hidden"))) foo(void) { }
11279 rm -f conftest.
$ac_objext
11280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11281 (eval $ac_compile) 2>conftest.er1
11283 grep -v '^ *+' conftest.er1
>conftest.err
11285 cat conftest.err
>&5
11286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11287 (exit $ac_status); } &&
11288 { ac_try
='test -z "$ac_c_werror_flag"
11289 || test ! -s conftest.err'
11290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11291 (eval $ac_try) 2>&5
11293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11294 (exit $ac_status); }; } &&
11295 { ac_try
='test -s conftest.$ac_objext'
11296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11297 (eval $ac_try) 2>&5
11299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11300 (exit $ac_status); }; }; then
11301 have_attribute_visibility
=yes
11303 echo "$as_me: failed program was:" >&5
11304 sed 's/^/| /' conftest.
$ac_ext >&5
11306 have_attribute_visibility
=no
11308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11309 CFLAGS
="$save_CFLAGS"
11311 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
11312 echo "${ECHO_T}$have_attribute_visibility" >&6
11313 if test $have_attribute_visibility = yes; then
11315 cat >>confdefs.h
<<\_ACEOF
11316 #define HAVE_ATTRIBUTE_VISIBILITY 1
11321 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
11322 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
11323 if test "${have_attribute_dllexport+set}" = set; then
11324 echo $ECHO_N "(cached) $ECHO_C" >&6
11327 save_CFLAGS
="$CFLAGS"
11328 CFLAGS
="$CFLAGS -Werror"
11329 cat >conftest.
$ac_ext <<_ACEOF
11332 cat confdefs.h
>>conftest.
$ac_ext
11333 cat >>conftest.
$ac_ext <<_ACEOF
11334 /* end confdefs.h. */
11335 void __attribute__((dllexport)) foo(void) { }
11344 rm -f conftest.
$ac_objext
11345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11346 (eval $ac_compile) 2>conftest.er1
11348 grep -v '^ *+' conftest.er1
>conftest.err
11350 cat conftest.err
>&5
11351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11352 (exit $ac_status); } &&
11353 { ac_try
='test -z "$ac_c_werror_flag"
11354 || test ! -s conftest.err'
11355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11356 (eval $ac_try) 2>&5
11358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11359 (exit $ac_status); }; } &&
11360 { ac_try
='test -s conftest.$ac_objext'
11361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11362 (eval $ac_try) 2>&5
11364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11365 (exit $ac_status); }; }; then
11366 have_attribute_dllexport
=yes
11368 echo "$as_me: failed program was:" >&5
11369 sed 's/^/| /' conftest.
$ac_ext >&5
11371 have_attribute_dllexport
=no
11373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11374 CFLAGS
="$save_CFLAGS"
11376 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
11377 echo "${ECHO_T}$have_attribute_dllexport" >&6
11378 if test $have_attribute_dllexport = yes; then
11380 cat >>confdefs.h
<<\_ACEOF
11381 #define HAVE_ATTRIBUTE_DLLEXPORT 1
11386 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
11387 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
11388 if test "${have_attribute_alias+set}" = set; then
11389 echo $ECHO_N "(cached) $ECHO_C" >&6
11392 cat >conftest.
$ac_ext <<_ACEOF
11395 cat confdefs.h
>>conftest.
$ac_ext
11396 cat >>conftest.
$ac_ext <<_ACEOF
11397 /* end confdefs.h. */
11399 #define ULP STR1(__USER_LABEL_PREFIX__)
11400 #define STR1(x) STR2(x)
11403 extern void bar(void) __attribute__((alias(ULP "foo")));
11412 rm -f conftest.
$ac_objext conftest
$ac_exeext
11413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11414 (eval $ac_link) 2>conftest.er1
11416 grep -v '^ *+' conftest.er1
>conftest.err
11418 cat conftest.err
>&5
11419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11420 (exit $ac_status); } &&
11421 { ac_try
='test -z "$ac_c_werror_flag"
11422 || test ! -s conftest.err'
11423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11424 (eval $ac_try) 2>&5
11426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11427 (exit $ac_status); }; } &&
11428 { ac_try
='test -s conftest$ac_exeext'
11429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11430 (eval $ac_try) 2>&5
11432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11433 (exit $ac_status); }; }; then
11434 have_attribute_alias
=yes
11436 echo "$as_me: failed program was:" >&5
11437 sed 's/^/| /' conftest.
$ac_ext >&5
11439 have_attribute_alias
=no
11441 rm -f conftest.err conftest.
$ac_objext \
11442 conftest
$ac_exeext conftest.
$ac_ext
11444 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
11445 echo "${ECHO_T}$have_attribute_alias" >&6
11446 if test $have_attribute_alias = yes; then
11448 cat >>confdefs.h
<<\_ACEOF
11449 #define HAVE_ATTRIBUTE_ALIAS 1
11454 cat >confcache
<<\_ACEOF
11455 # This file is a shell script that caches the results of configure
11456 # tests run on this system so they can be shared between configure
11457 # scripts and configure runs, see configure's option --config-cache.
11458 # It is not useful on other systems. If it contains results you don't
11459 # want to keep, you may remove or edit it.
11461 # config.status only pays attention to the cache file if you give it
11462 # the --recheck option to rerun configure.
11464 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11465 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11466 # following values.
11470 # The following way of writing the cache mishandles newlines in values,
11471 # but we know of no workaround that is simple, portable, and efficient.
11472 # So, don't put newlines in cache variables' values.
11473 # Ultrix sh set writes to stderr and can't be redirected directly,
11474 # and sets the high bit in the cache file unless we assign to the vars.
11477 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11479 # `set' does not quote correctly, so add quotes (double-quote
11480 # substitution turns \\\\ into \\, and sed turns \\ into \).
11483 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11486 # `set' quotes correctly as required by POSIX, so do not add quotes.
11488 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11495 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11497 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11499 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11500 if test -w $cache_file; then
11501 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11502 cat confcache
>$cache_file
11504 echo "not updating unwritable cache $cache_file"
11509 if test ${multilib} = yes; then
11510 multilib_arg
="--enable-multilib"
11515 # Write our Makefile.
11516 ac_config_files
="$ac_config_files Makefile"
11518 cat >confcache
<<\_ACEOF
11519 # This file is a shell script that caches the results of configure
11520 # tests run on this system so they can be shared between configure
11521 # scripts and configure runs, see configure's option --config-cache.
11522 # It is not useful on other systems. If it contains results you don't
11523 # want to keep, you may remove or edit it.
11525 # config.status only pays attention to the cache file if you give it
11526 # the --recheck option to rerun configure.
11528 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11529 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11530 # following values.
11534 # The following way of writing the cache mishandles newlines in values,
11535 # but we know of no workaround that is simple, portable, and efficient.
11536 # So, don't put newlines in cache variables' values.
11537 # Ultrix sh set writes to stderr and can't be redirected directly,
11538 # and sets the high bit in the cache file unless we assign to the vars.
11541 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11543 # `set' does not quote correctly, so add quotes (double-quote
11544 # substitution turns \\\\ into \\, and sed turns \\ into \).
11547 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11550 # `set' quotes correctly as required by POSIX, so do not add quotes.
11552 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11559 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11561 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11563 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11564 if test -w $cache_file; then
11565 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11566 cat confcache
>$cache_file
11568 echo "not updating unwritable cache $cache_file"
11573 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11574 # Let make expand exec_prefix.
11575 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11577 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11578 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11579 # trailing colons and then remove the whole line if VPATH becomes empty
11580 # (actually we leave an empty line to preserve line numbers).
11581 if test "x$srcdir" = x.
; then
11582 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
11583 s/:*\$(srcdir):*/:/;
11584 s/:*\${srcdir}:*/:/;
11586 s/^\([^=]*=[ ]*\):*/\1/;
11592 DEFS
=-DHAVE_CONFIG_H
11596 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11597 # 1. Remove the extension, and $U if already installed.
11598 ac_i
=`echo "$ac_i" |
11599 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11601 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
11602 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
11604 LIBOBJS
=$ac_libobjs
11606 LTLIBOBJS
=$ac_ltlibobjs
11609 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11610 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11611 Usually this means the macro was only invoked conditionally." >&5
11612 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11613 Usually this means the macro was only invoked conditionally." >&2;}
11614 { (exit 1); exit 1; }; }
11617 : ${CONFIG_STATUS=./config.status}
11618 ac_clean_files_save
=$ac_clean_files
11619 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11620 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11621 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11622 cat >$CONFIG_STATUS <<_ACEOF
11624 # Generated by $as_me.
11625 # Run this file to recreate the current configuration.
11626 # Compiler output produced by configure, useful for debugging
11627 # configure, is in config.log if it exists.
11630 ac_cs_recheck=false
11632 SHELL=\${CONFIG_SHELL-$SHELL}
11635 cat >>$CONFIG_STATUS <<\_ACEOF
11636 ## --------------------- ##
11637 ## M4sh Initialization. ##
11638 ## --------------------- ##
11640 # Be Bourne compatible
11641 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
11644 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11645 # is contrary to our usage. Disable this feature.
11646 alias -g '${1+"$@"}'='"$@"'
11647 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
11650 DUALCASE
=1; export DUALCASE
# for MKS sh
11652 # Support unset when possible.
11653 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
11660 # Work around bugs in pre-3.0 UWIN ksh.
11661 $as_unset ENV MAIL MAILPATH
11668 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11669 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11670 LC_TELEPHONE LC_TIME
11672 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11673 eval $as_var=C
; export $as_var
11679 # Required to use basename.
11680 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11686 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
11687 as_basename
=basename
11693 # Name of the executable.
11694 as_me
=`$as_basename "$0" ||
11695 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11696 X"$0" : 'X\(//\)$' \| \
11697 X"$0" : 'X\(/\)$' \| \
11698 . : '\(.\)' 2>/dev/null ||
11700 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11701 /^X\/\(\/\/\)$/{ s//\1/; q; }
11702 /^X\/\(\/\).*/{ s//\1/; q; }
11706 # PATH needs CR, and LINENO needs CR and PATH.
11707 # Avoid depending upon Character Ranges.
11708 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11709 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11710 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11711 as_cr_digits
='0123456789'
11712 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11714 # The user is always right.
11715 if test "${PATH_SEPARATOR+set}" != set; then
11716 echo "#! /bin/sh" >conf$$.sh
11717 echo "exit 0" >>conf$$.sh
11719 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11728 as_lineno_1
=$LINENO
11729 as_lineno_2
=$LINENO
11730 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
11731 test "x$as_lineno_1" != "x$as_lineno_2" &&
11732 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
11733 # Find who we are. Look in the path if we contain no path at all
11736 *[\\/]* ) as_myself
=$0 ;;
11737 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11738 for as_dir
in $PATH
11741 test -z "$as_dir" && as_dir
=.
11742 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
11747 # We did not find ourselves, most probably we were run as `sh COMMAND'
11748 # in which case we are not to be found in the path.
11749 if test "x$as_myself" = x
; then
11752 if test ! -f "$as_myself"; then
11753 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11754 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11755 { (exit 1); exit 1; }; }
11757 case $CONFIG_SHELL in
11759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11760 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
11763 test -z "$as_dir" && as_dir
=.
11764 for as_base
in sh bash ksh sh5
; do
11767 if ("$as_dir/$as_base" -c '
11768 as_lineno_1=$LINENO
11769 as_lineno_2=$LINENO
11770 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11771 test "x$as_lineno_1" != "x$as_lineno_2" &&
11772 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
11773 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
11774 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
11775 CONFIG_SHELL
=$as_dir/$as_base
11776 export CONFIG_SHELL
11777 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11785 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11786 # uniformly replaced by the line number. The first 'sed' inserts a
11787 # line-number line before each line; the second 'sed' does the real
11788 # work. The second script uses 'N' to pair each line-number line
11789 # with the numbered line, and appends trailing '-' during
11790 # substitution so that $LINENO is not a special case at line end.
11791 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11792 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11793 sed '=' <$as_myself |
11798 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11801 s,^['$as_cr_digits']*\n,,
11802 ' >$as_me.lineno
&&
11803 chmod +x
$as_me.lineno ||
11804 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11805 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11806 { (exit 1); exit 1; }; }
11808 # Don't try to exec as it changes $[0], causing all sort of problems
11809 # (the dirname of $[0] is not the place where we might find the
11810 # original and so on. Autoconf is especially sensible to this).
11812 # Exit status is that of the last command.
11817 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11818 *c
*,-n*) ECHO_N
= ECHO_C
='
11820 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
11821 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
11824 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11830 rm -f conf$$ conf$$.exe conf$$.
file
11832 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11833 # We could just check for DJGPP; but this test a) works b) is more generic
11834 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11835 if test -f conf$$.exe
; then
11836 # Don't use ln at all; we don't have any links
11841 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11846 rm -f conf$$ conf$$.exe conf$$.
file
11848 if mkdir
-p .
2>/dev
/null
; then
11851 test -d .
/-p && rmdir .
/-p
11855 as_executable_p
="test -f"
11857 # Sed expression to map a string onto a valid CPP name.
11858 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11860 # Sed expression to map a string onto a valid variable name.
11861 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11865 # We need space, tab and new line, in precisely that order.
11875 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11876 # report actual input values of CONFIG_FILES etc. instead of their
11877 # values after options handling. Logging --version etc. is OK.
11881 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11882 ## Running $as_me. ##
11887 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
11888 generated by GNU Autoconf 2.59. Invocation command line was
11890 CONFIG_FILES = $CONFIG_FILES
11891 CONFIG_HEADERS = $CONFIG_HEADERS
11892 CONFIG_LINKS = $CONFIG_LINKS
11893 CONFIG_COMMANDS = $CONFIG_COMMANDS
11897 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11901 # Files that config.status was made for.
11902 if test -n "$ac_config_files"; then
11903 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11906 if test -n "$ac_config_headers"; then
11907 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11910 if test -n "$ac_config_links"; then
11911 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11914 if test -n "$ac_config_commands"; then
11915 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11918 cat >>$CONFIG_STATUS <<\_ACEOF
11921 \`$as_me' instantiates files from templates according to the
11922 current configuration.
11924 Usage: $0 [OPTIONS] [FILE]...
11926 -h, --help print this help, then exit
11927 -V, --version print version number, then exit
11928 -q, --quiet do not print progress messages
11929 -d, --debug don't remove temporary files
11930 --recheck update $as_me by reconfiguring in the same conditions
11931 --file=FILE[:TEMPLATE]
11932 instantiate the configuration file FILE
11933 --header=FILE[:TEMPLATE]
11934 instantiate the configuration header FILE
11936 Configuration files:
11939 Configuration headers:
11942 Configuration commands:
11945 Report bugs to <bug-autoconf@gnu.org>."
11948 cat >>$CONFIG_STATUS <<_ACEOF
11950 GNU Fortran Runtime Library config.status 0.2
11951 configured by $0, generated by GNU Autoconf 2.59,
11952 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11954 Copyright (C) 2003 Free Software Foundation, Inc.
11955 This config.status script is free software; the Free Software Foundation
11956 gives unlimited permission to copy, distribute and modify it."
11961 cat >>$CONFIG_STATUS <<\_ACEOF
11962 # If no file are specified by the user, then we need to provide default
11963 # value. By we need to know if files were specified by the user.
11969 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
11970 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
11978 *) # This is not an option, so the user has probably given explicit
11981 ac_need_defaults
=false
;;
11985 # Handling of the options.
11987 cat >>$CONFIG_STATUS <<\_ACEOF
11988 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11990 --version |
--vers* |
-V )
11991 echo "$ac_cs_version"; exit 0 ;;
11993 # Conflict between --help and --header
11994 { { echo "$as_me:$LINENO: error: ambiguous option: $1
11995 Try \`$0 --help' for more information." >&5
11996 echo "$as_me: error: ambiguous option: $1
11997 Try \`$0 --help' for more information." >&2;}
11998 { (exit 1); exit 1; }; };;
11999 --help |
--hel |
-h )
12000 echo "$ac_cs_usage"; exit 0 ;;
12001 --debug |
--d* |
-d )
12003 --file |
--fil |
--fi |
--f )
12005 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12006 ac_need_defaults
=false
;;
12007 --header |
--heade |
--head |
--hea )
12009 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12010 ac_need_defaults
=false
;;
12011 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12012 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12015 # This is an error.
12016 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12017 Try \`$0 --help' for more information." >&5
12018 echo "$as_me: error: unrecognized option: $1
12019 Try \`$0 --help' for more information." >&2;}
12020 { (exit 1); exit 1; }; } ;;
12022 *) ac_config_targets
="$ac_config_targets $1" ;;
12028 ac_configure_extra_args
=
12030 if $ac_cs_silent; then
12032 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12036 cat >>$CONFIG_STATUS <<_ACEOF
12037 if \$ac_cs_recheck; then
12038 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12039 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12044 cat >>$CONFIG_STATUS <<_ACEOF
12046 # INIT-COMMANDS section.
12053 with_multisubdir="$with_multisubdir"
12054 with_multisrctop="$with_multisrctop"
12055 with_target_subdir="$with_target_subdir"
12056 ac_configure_args="${multilib_arg} ${ac_configure_args}"
12057 multi_basedir="$multi_basedir"
12058 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
12065 cat >>$CONFIG_STATUS <<\_ACEOF
12066 for ac_config_target
in $ac_config_targets
12068 case "$ac_config_target" in
12069 # Handling of arguments.
12070 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12071 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
12072 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12073 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12074 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12075 { (exit 1); exit 1; }; };;
12079 # If the user did not use the arguments to specify the items to instantiate,
12080 # then the envvar interface is used. Set only those that are not.
12081 # We use the long form for the default assignment because of an extremely
12082 # bizarre bug on SunOS 4.1.3.
12083 if $ac_need_defaults; then
12084 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12085 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12086 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12089 # Have a temporary directory for convenience. Make it in the build tree
12090 # simply because there is no reason to put it here, and in addition,
12091 # creating and moving files from /tmp can sometimes cause problems.
12092 # Create a temporary directory, and hook for its removal unless debugging.
12095 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12096 trap '{ (exit 1); exit 1; }' 1 2 13 15
12099 # Create a (secure) tmp directory for tmp files.
12102 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12103 test -n "$tmp" && test -d "$tmp"
12106 tmp
=.
/confstat$$
-$RANDOM
12107 (umask 077 && mkdir
$tmp)
12110 echo "$me: cannot create a temporary directory in ." >&2
12111 { (exit 1); exit 1; }
12116 cat >>$CONFIG_STATUS <<_ACEOF
12119 # CONFIG_FILES section.
12122 # No need to generate the scripts if there are no CONFIG_FILES.
12123 # This happens for instance when ./config.status config.h
12124 if test -n "\$CONFIG_FILES"; then
12125 # Protect against being on the right side of a sed subst in config.status.
12126 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12127 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12128 s,@SHELL@,$SHELL,;t t
12129 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12130 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12131 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12132 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12133 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12134 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12135 s,@exec_prefix@,$exec_prefix,;t t
12136 s,@prefix@,$prefix,;t t
12137 s,@program_transform_name@,$program_transform_name,;t t
12138 s,@bindir@,$bindir,;t t
12139 s,@sbindir@,$sbindir,;t t
12140 s,@libexecdir@,$libexecdir,;t t
12141 s,@datadir@,$datadir,;t t
12142 s,@sysconfdir@,$sysconfdir,;t t
12143 s,@sharedstatedir@,$sharedstatedir,;t t
12144 s,@localstatedir@,$localstatedir,;t t
12145 s,@libdir@,$libdir,;t t
12146 s,@includedir@,$includedir,;t t
12147 s,@oldincludedir@,$oldincludedir,;t t
12148 s,@infodir@,$infodir,;t t
12149 s,@mandir@,$mandir,;t t
12150 s,@build_alias@,$build_alias,;t t
12151 s,@host_alias@,$host_alias,;t t
12152 s,@target_alias@,$target_alias,;t t
12153 s,@DEFS@,$DEFS,;t t
12154 s,@ECHO_C@,$ECHO_C,;t t
12155 s,@ECHO_N@,$ECHO_N,;t t
12156 s,@ECHO_T@,$ECHO_T,;t t
12157 s,@LIBS@,$LIBS,;t t
12158 s,@build@,$build,;t t
12159 s,@build_cpu@,$build_cpu,;t t
12160 s,@build_vendor@,$build_vendor,;t t
12161 s,@build_os@,$build_os,;t t
12162 s,@host@,$host,;t t
12163 s,@host_cpu@,$host_cpu,;t t
12164 s,@host_vendor@,$host_vendor,;t t
12165 s,@host_os@,$host_os,;t t
12166 s,@target@,$target,;t t
12167 s,@target_cpu@,$target_cpu,;t t
12168 s,@target_vendor@,$target_vendor,;t t
12169 s,@target_os@,$target_os,;t t
12170 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12171 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12172 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12173 s,@CYGPATH_W@,$CYGPATH_W,;t t
12174 s,@PACKAGE@,$PACKAGE,;t t
12175 s,@VERSION@,$VERSION,;t t
12176 s,@ACLOCAL@,$ACLOCAL,;t t
12177 s,@AUTOCONF@,$AUTOCONF,;t t
12178 s,@AUTOMAKE@,$AUTOMAKE,;t t
12179 s,@AUTOHEADER@,$AUTOHEADER,;t t
12180 s,@MAKEINFO@,$MAKEINFO,;t t
12181 s,@install_sh@,$install_sh,;t t
12182 s,@STRIP@,$STRIP,;t t
12183 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12184 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
12185 s,@mkdir_p@,$mkdir_p,;t t
12187 s,@SET_MAKE@,$SET_MAKE,;t t
12188 s,@am__leading_dot@,$am__leading_dot,;t t
12189 s,@AMTAR@,$AMTAR,;t t
12190 s,@am__tar@,$am__tar,;t t
12191 s,@am__untar@,$am__untar,;t t
12192 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12193 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12194 s,@MAINT@,$MAINT,;t t
12195 s,@multi_basedir@,$multi_basedir,;t t
12196 s,@toolexecdir@,$toolexecdir,;t t
12197 s,@toolexeclibdir@,$toolexeclibdir,;t t
12199 s,@ac_ct_CC@,$ac_ct_CC,;t t
12200 s,@EXEEXT@,$EXEEXT,;t t
12201 s,@OBJEXT@,$OBJEXT,;t t
12202 s,@CFLAGS@,$CFLAGS,;t t
12204 s,@ac_ct_AS@,$ac_ct_AS,;t t
12206 s,@ac_ct_AR@,$ac_ct_AR,;t t
12207 s,@RANLIB@,$RANLIB,;t t
12208 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12209 s,@LN_S@,$LN_S,;t t
12210 s,@LIBTOOL@,$LIBTOOL,;t t
12211 s,@enable_shared@,$enable_shared,;t t
12212 s,@enable_static@,$enable_static,;t t
12214 s,@FCFLAGS@,$FCFLAGS,;t t
12215 s,@LDFLAGS@,$LDFLAGS,;t t
12216 s,@ac_ct_FC@,$ac_ct_FC,;t t
12217 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
12219 s,@CPPFLAGS@,$CPPFLAGS,;t t
12220 s,@EGREP@,$EGREP,;t t
12221 s,@MATH_OBJ@,$MATH_OBJ,;t t
12222 s,@LIBOBJS@,$LIBOBJS,;t t
12223 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12228 cat >>$CONFIG_STATUS <<\_ACEOF
12229 # Split the substitutions into bite-sized pieces for seds with
12230 # small command number limits, like on Digital OSF/1 and HP-UX.
12231 ac_max_sed_lines
=48
12232 ac_sed_frag
=1 # Number of current file.
12233 ac_beg
=1 # First line for current file.
12234 ac_end
=$ac_max_sed_lines # Line after last line for current file.
12237 while $ac_more_lines; do
12238 if test $ac_beg -gt 1; then
12239 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12241 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12243 if test ! -s $tmp/subs.frag
; then
12244 ac_more_lines
=false
12246 # The purpose of the label and of the branching condition is to
12247 # speed up the sed processing (if there are no `@' at all, there
12248 # is no need to browse any of the substitutions).
12249 # These are the two extra sed commands mentioned above.
12251 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
12252 if test -z "$ac_sed_cmds"; then
12253 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
12255 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12257 ac_sed_frag
=`expr $ac_sed_frag + 1`
12259 ac_end
=`expr $ac_end + $ac_max_sed_lines`
12262 if test -z "$ac_sed_cmds"; then
12265 fi # test -n "$CONFIG_FILES"
12268 cat >>$CONFIG_STATUS <<\_ACEOF
12269 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
12270 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12272 - |
*:- |
*:-:* ) # input from stdin
12274 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12275 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12276 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12277 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12278 * ) ac_file_in
=$ac_file.
in ;;
12281 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12282 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12283 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12284 X"$ac_file" : 'X\(//\)[^/]' \| \
12285 X"$ac_file" : 'X\(//\)$' \| \
12286 X"$ac_file" : 'X\(/\)' \| \
12287 . : '\(.\)' 2>/dev/null ||
12289 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12290 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12291 /^X\(\/\/\)$/{ s//\1/; q; }
12292 /^X\(\/\).*/{ s//\1/; q; }
12294 { if $as_mkdir_p; then
12299 while test ! -d "$as_dir"; do
12300 as_dirs
="$as_dir $as_dirs"
12301 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12303 X"$as_dir" : 'X\(//\)[^/]' \| \
12304 X"$as_dir" : 'X\(//\)$' \| \
12305 X"$as_dir" : 'X\(/\)' \| \
12306 . : '\(.\)' 2>/dev/null ||
12308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12309 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12310 /^X\(\/\/\)$/{ s//\1/; q; }
12311 /^X\(\/\).*/{ s//\1/; q; }
12314 test ! -n "$as_dirs" || mkdir
$as_dirs
12315 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12316 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12317 { (exit 1); exit 1; }; }; }
12321 if test "$ac_dir" != .
; then
12322 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12323 # A "../" for each directory in $ac_dir_suffix.
12324 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12326 ac_dir_suffix
= ac_top_builddir
=
12330 .
) # No --srcdir option. We are building in place.
12332 if test -z "$ac_top_builddir"; then
12335 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12337 [\\/]* | ?
:[\\/]* ) # Absolute path.
12338 ac_srcdir
=$srcdir$ac_dir_suffix;
12339 ac_top_srcdir
=$srcdir ;;
12340 *) # Relative path.
12341 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12342 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12345 # Do not use `cd foo && pwd` to compute absolute paths, because
12346 # the directories may not exist.
12348 .
) ac_abs_builddir
="$ac_dir";;
12351 .
) ac_abs_builddir
=`pwd`;;
12352 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12353 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12356 case $ac_abs_builddir in
12357 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12359 case ${ac_top_builddir}.
in
12360 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12361 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12362 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12365 case $ac_abs_builddir in
12366 .
) ac_abs_srcdir
=$ac_srcdir;;
12369 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12370 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12371 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12374 case $ac_abs_builddir in
12375 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12377 case $ac_top_srcdir in
12378 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12379 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12380 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12386 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12387 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
12390 if test x
"$ac_file" != x-
; then
12391 { echo "$as_me:$LINENO: creating $ac_file" >&5
12392 echo "$as_me: creating $ac_file" >&6;}
12395 # Let's still pretend it is `configure' which instantiates (i.e., don't
12396 # use $as_me), people would be surprised to read:
12397 # /* config.h. Generated by config.status. */
12398 if test x
"$ac_file" = x-
; then
12401 configure_input
="$ac_file. "
12403 configure_input
=$configure_input"Generated from `echo $ac_file_in |
12404 sed 's,.*/,,'` by configure."
12406 # First look for the input files in the build tree, otherwise in the
12408 ac_file_inputs
=`IFS=:
12409 for f in $ac_file_in; do
12411 -) echo $tmp/stdin ;;
12413 # Absolute (can't be DOS-style, as IFS=:)
12414 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12415 echo "$as_me: error: cannot find input file: $f" >&2;}
12416 { (exit 1); exit 1; }; }
12419 if test -f "$f"; then
12422 elif test -f "$srcdir/$f"; then
12427 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12428 echo "$as_me: error: cannot find input file: $f" >&2;}
12429 { (exit 1); exit 1; }; }
12432 done` ||
{ (exit 1); exit 1; }
12434 cat >>$CONFIG_STATUS <<_ACEOF
12438 cat >>$CONFIG_STATUS <<\_ACEOF
12440 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12441 s
,@configure_input@
,$configure_input,;t t
12442 s
,@srcdir@
,$ac_srcdir,;t t
12443 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
12444 s
,@top_srcdir@
,$ac_top_srcdir,;t t
12445 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
12446 s
,@builddir@
,$ac_builddir,;t t
12447 s
,@abs_builddir@
,$ac_abs_builddir,;t t
12448 s
,@top_builddir@
,$ac_top_builddir,;t t
12449 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
12450 s
,@INSTALL@
,$ac_INSTALL,;t t
12451 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12453 if test x"$ac_file" != x-; then
12454 mv $tmp/out $ac_file
12462 cat >>$CONFIG_STATUS <<\_ACEOF
12465 # CONFIG_HEADER section.
12468 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
12469 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12471 # ac_d sets the value in "#define NAME VALUE" lines.
12472 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12473 ac_dB
='[ ].*$,\1#\2'
12476 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12477 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12478 ac_uB
='$,\1#\2define\3'
12482 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
12483 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12485 - |
*:- |
*:-:* ) # input from stdin
12487 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12488 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12489 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12490 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12491 * ) ac_file_in
=$ac_file.
in ;;
12494 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
12495 echo "$as_me: creating $ac_file" >&6;}
12497 # First look for the input files in the build tree, otherwise in the
12499 ac_file_inputs
=`IFS=:
12500 for f in $ac_file_in; do
12502 -) echo $tmp/stdin ;;
12504 # Absolute (can't be DOS-style, as IFS=:)
12505 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12506 echo "$as_me: error: cannot find input file: $f" >&2;}
12507 { (exit 1); exit 1; }; }
12508 # Do quote $f, to prevent DOS paths from being IFS'd.
12511 if test -f "$f"; then
12514 elif test -f "$srcdir/$f"; then
12519 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12520 echo "$as_me: error: cannot find input file: $f" >&2;}
12521 { (exit 1); exit 1; }; }
12524 done` ||
{ (exit 1); exit 1; }
12525 # Remove the trailing spaces.
12526 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12530 # Transform confdefs.h into two sed scripts, `conftest.defines' and
12531 # `conftest.undefs', that substitutes the proper values into
12532 # config.h.in to produce config.h. The first handles `#define'
12533 # templates, and the second `#undef' templates.
12534 # And first: Protect against being on the right side of a sed subst in
12535 # config.status. Protect against being in an unquoted here document
12536 # in config.status.
12537 rm -f conftest.defines conftest.undefs
12538 # Using a here document instead of a string reduces the quoting nightmare.
12539 # Putting comments in sed scripts is not portable.
12541 # `end' is used to avoid that the second main sed command (meant for
12542 # 0-ary CPP macros) applies to n-ary macro definitions.
12543 # See the Autoconf documentation for `clear'.
12544 cat >confdef2sed.
sed <<\_ACEOF
12549 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12551 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12554 # If some macros were called several times there might be several times
12555 # the same #defines, which is useless. Nevertheless, we may not want to
12556 # sort them, since we want the *last* AC-DEFINE to be honored.
12557 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12558 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12559 rm -f confdef2sed.sed
12561 # This sed command replaces #undef with comments. This is necessary, for
12562 # example, in the case of _POSIX_SOURCE, which is predefined and required
12563 # on some systems where configure will not decide to define it.
12564 cat >>conftest.undefs <<\_ACEOF
12565 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12568 # Break up conftest.defines because some shells have a limit on the size
12569 # of here documents, and old seds have small limits too (100 cmds).
12570 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12571 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12572 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12573 echo ' :' >>$CONFIG_STATUS
12574 rm -f conftest.tail
12575 while grep . conftest.defines >/dev/null
12577 # Write a limited-size here document to $tmp/defines.sed.
12578 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12579 # Speed up: don't consider the non `#define' lines.
12580 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12581 # Work around the forget-to-reset-the-flag bug.
12582 echo 't clr' >>$CONFIG_STATUS
12583 echo ': clr' >>$CONFIG_STATUS
12584 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
12586 sed -f $tmp/defines.sed $tmp/in >$tmp/out
12588 mv $tmp/out $tmp/in
12590 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
12591 rm -f conftest.defines
12592 mv conftest.
tail conftest.defines
12594 rm -f conftest.defines
12595 echo ' fi # grep' >>$CONFIG_STATUS
12596 echo >>$CONFIG_STATUS
12598 # Break up conftest.undefs because some shells have a limit on the size
12599 # of here documents, and old seds have small limits too (100 cmds).
12600 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12601 rm -f conftest.
tail
12602 while grep . conftest.undefs
>/dev
/null
12604 # Write a limited-size here document to $tmp/undefs.sed.
12605 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12606 # Speed up: don't consider the non
`#undef'
12607 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12608 # Work around the forget-to-reset-the-flag bug.
12609 echo 't clr' >>$CONFIG_STATUS
12610 echo ': clr' >>$CONFIG_STATUS
12611 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12613 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12615 mv $tmp/out $tmp/in
12617 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12618 rm -f conftest.undefs
12619 mv conftest.tail conftest.undefs
12621 rm -f conftest.undefs
12623 cat >>$CONFIG_STATUS <<\_ACEOF
12624 # Let's still pretend it is `configure
' which instantiates (i.e., don't
12625 # use $as_me), people would be surprised to read:
12626 # /* config.h. Generated by config.status. */
12627 if test x
"$ac_file" = x-
; then
12628 echo "/* Generated by configure. */" >$tmp/config.h
12630 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12632 cat $tmp/in >>$tmp/config.h
12634 if test x
"$ac_file" != x-
; then
12635 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
12636 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12637 echo "$as_me: $ac_file is unchanged" >&6;}
12639 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12640 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12641 X"$ac_file" : 'X\(//\)[^/]' \| \
12642 X"$ac_file" : 'X\(//\)$' \| \
12643 X"$ac_file" : 'X\(/\)' \| \
12644 . : '\(.\)' 2>/dev/null ||
12646 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12647 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12648 /^X\(\/\/\)$/{ s//\1/; q; }
12649 /^X\(\/\).*/{ s//\1/; q; }
12651 { if $as_mkdir_p; then
12656 while test ! -d "$as_dir"; do
12657 as_dirs
="$as_dir $as_dirs"
12658 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12659 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12660 X"$as_dir" : 'X\(//\)[^/]' \| \
12661 X"$as_dir" : 'X\(//\)$' \| \
12662 X"$as_dir" : 'X\(/\)' \| \
12663 . : '\(.\)' 2>/dev/null ||
12665 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12666 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12667 /^X\(\/\/\)$/{ s//\1/; q; }
12668 /^X\(\/\).*/{ s//\1/; q; }
12671 test ! -n "$as_dirs" || mkdir
$as_dirs
12672 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12673 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12674 { (exit 1); exit 1; }; }; }
12677 mv $tmp/config.h
$ac_file
12681 rm -f $tmp/config.h
12683 # Compute $ac_file's index in $config_headers.
12685 for _am_header
in $config_headers :; do
12686 case $_am_header in
12687 $ac_file |
$ac_file:* )
12690 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
12693 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
12694 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12695 X$ac_file : 'X\(//\)[^/]' \| \
12696 X$ac_file : 'X\(//\)$' \| \
12697 X$ac_file : 'X\(/\)' \| \
12698 . : '\(.\)' 2>/dev/null ||
12700 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12701 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12702 /^X\(\/\/\)$/{ s//\1/; q; }
12703 /^X\(\/\).*/{ s//\1/; q; }
12704 s/.*/./; q'`/stamp-h
$_am_stamp_count
12707 cat >>$CONFIG_STATUS <<\_ACEOF
12710 # CONFIG_COMMANDS section.
12712 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
12713 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
12714 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12715 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
12716 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12717 X"$ac_dest" : 'X\(//\)[^/]' \| \
12718 X"$ac_dest" : 'X\(//\)$' \| \
12719 X"$ac_dest" : 'X\(/\)' \| \
12720 . : '\(.\)' 2>/dev/null ||
12722 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12723 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12724 /^X\(\/\/\)$/{ s//\1/; q; }
12725 /^X\(\/\).*/{ s//\1/; q; }
12727 { if $as_mkdir_p; then
12732 while test ! -d "$as_dir"; do
12733 as_dirs
="$as_dir $as_dirs"
12734 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12735 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12736 X"$as_dir" : 'X\(//\)[^/]' \| \
12737 X"$as_dir" : 'X\(//\)$' \| \
12738 X"$as_dir" : 'X\(/\)' \| \
12739 . : '\(.\)' 2>/dev/null ||
12741 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12742 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12743 /^X\(\/\/\)$/{ s//\1/; q; }
12744 /^X\(\/\).*/{ s//\1/; q; }
12747 test ! -n "$as_dirs" || mkdir
$as_dirs
12748 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12749 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12750 { (exit 1); exit 1; }; }; }
12754 if test "$ac_dir" != .
; then
12755 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12756 # A "../" for each directory in $ac_dir_suffix.
12757 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12759 ac_dir_suffix
= ac_top_builddir
=
12763 .
) # No --srcdir option. We are building in place.
12765 if test -z "$ac_top_builddir"; then
12768 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12770 [\\/]* | ?
:[\\/]* ) # Absolute path.
12771 ac_srcdir
=$srcdir$ac_dir_suffix;
12772 ac_top_srcdir
=$srcdir ;;
12773 *) # Relative path.
12774 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12775 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12778 # Do not use `cd foo && pwd` to compute absolute paths, because
12779 # the directories may not exist.
12781 .
) ac_abs_builddir
="$ac_dir";;
12784 .
) ac_abs_builddir
=`pwd`;;
12785 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12786 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12789 case $ac_abs_builddir in
12790 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12792 case ${ac_top_builddir}.
in
12793 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12794 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12795 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12798 case $ac_abs_builddir in
12799 .
) ac_abs_srcdir
=$ac_srcdir;;
12802 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12803 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12804 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12807 case $ac_abs_builddir in
12808 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12810 case $ac_top_srcdir in
12811 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12812 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12813 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12818 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12819 echo "$as_me: executing $ac_dest commands" >&6;}
12822 # Only add multilib support code if we just rebuilt the top-level
12824 case " $CONFIG_FILES " in
12826 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
12833 cat >>$CONFIG_STATUS <<\_ACEOF
12835 { (exit 0); exit 0; }
12837 chmod +x
$CONFIG_STATUS
12838 ac_clean_files
=$ac_clean_files_save
12841 # configure is writing to config.log, and then calls config.status.
12842 # config.status does its own redirection, appending to config.log.
12843 # Unfortunately, on DOS this fails, as config.log is still kept open
12844 # by configure, so config.status won't be able to write to it; its
12845 # output is simply discarded. So we exec the FD to /dev/null,
12846 # effectively closing config.log, so it can be properly (re)opened and
12847 # appended to by config.status. When coming back to configure, we
12848 # need to make the FD available again.
12849 if test "$no_create" != yes; then
12851 ac_config_status_args
=
12852 test "$silent" = yes &&
12853 ac_config_status_args
="$ac_config_status_args --quiet"
12855 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
12857 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12858 # would make configure fail if this is the last instruction.
12859 $ac_cs_success ||
{ (exit 1); exit 1; }