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.
7164 for ac_func
in getrusage
times mkstemp strtof snprintf ftruncate chsize
7166 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7167 echo "$as_me:$LINENO: checking for $ac_func" >&5
7168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7169 if eval "test \"\${$as_ac_var+set}\" = set"; then
7170 echo $ECHO_N "(cached) $ECHO_C" >&6
7172 cat >conftest.
$ac_ext <<_ACEOF
7175 cat confdefs.h
>>conftest.
$ac_ext
7176 cat >>conftest.
$ac_ext <<_ACEOF
7177 /* end confdefs.h. */
7178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7180 #define $ac_func innocuous_$ac_func
7182 /* System header to define __stub macros and hopefully few prototypes,
7183 which can conflict with char $ac_func (); below.
7184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7185 <limits.h> exists even on freestanding compilers. */
7188 # include <limits.h>
7190 # include <assert.h>
7195 /* Override any gcc2 internal prototype to avoid an error. */
7200 /* We use char because int might match the return type of a gcc2
7201 builtin and then its argument prototype would still apply. */
7203 /* The GNU C library defines this for functions which it implements
7204 to always fail with ENOSYS. Some functions are actually named
7205 something starting with __ and the normal name is an alias. */
7206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7209 char (*f) () = $ac_func;
7218 return f != $ac_func;
7223 rm -f conftest.
$ac_objext conftest
$ac_exeext
7224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7225 (eval $ac_link) 2>conftest.er1
7227 grep -v '^ *+' conftest.er1
>conftest.err
7229 cat conftest.err
>&5
7230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7231 (exit $ac_status); } &&
7232 { ac_try
='test -z "$ac_c_werror_flag"
7233 || test ! -s conftest.err'
7234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7238 (exit $ac_status); }; } &&
7239 { ac_try
='test -s conftest$ac_exeext'
7240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7244 (exit $ac_status); }; }; then
7245 eval "$as_ac_var=yes"
7247 echo "$as_me: failed program was:" >&5
7248 sed 's/^/| /' conftest.
$ac_ext >&5
7250 eval "$as_ac_var=no"
7252 rm -f conftest.err conftest.
$ac_objext \
7253 conftest
$ac_exeext conftest.
$ac_ext
7255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7257 if test `eval echo '${'$as_ac_var'}'` = yes; then
7258 cat >>confdefs.h
<<_ACEOF
7259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7273 for ac_func
in chdir strerror getlogin gethostname
kill link symlink perror
7275 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7276 echo "$as_me:$LINENO: checking for $ac_func" >&5
7277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7278 if eval "test \"\${$as_ac_var+set}\" = set"; then
7279 echo $ECHO_N "(cached) $ECHO_C" >&6
7281 cat >conftest.
$ac_ext <<_ACEOF
7284 cat confdefs.h
>>conftest.
$ac_ext
7285 cat >>conftest.
$ac_ext <<_ACEOF
7286 /* end confdefs.h. */
7287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7289 #define $ac_func innocuous_$ac_func
7291 /* System header to define __stub macros and hopefully few prototypes,
7292 which can conflict with char $ac_func (); below.
7293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7294 <limits.h> exists even on freestanding compilers. */
7297 # include <limits.h>
7299 # include <assert.h>
7304 /* Override any gcc2 internal prototype to avoid an error. */
7309 /* We use char because int might match the return type of a gcc2
7310 builtin and then its argument prototype would still apply. */
7312 /* The GNU C library defines this for functions which it implements
7313 to always fail with ENOSYS. Some functions are actually named
7314 something starting with __ and the normal name is an alias. */
7315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7318 char (*f) () = $ac_func;
7327 return f != $ac_func;
7332 rm -f conftest.
$ac_objext conftest
$ac_exeext
7333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7334 (eval $ac_link) 2>conftest.er1
7336 grep -v '^ *+' conftest.er1
>conftest.err
7338 cat conftest.err
>&5
7339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7340 (exit $ac_status); } &&
7341 { ac_try
='test -z "$ac_c_werror_flag"
7342 || test ! -s conftest.err'
7343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7347 (exit $ac_status); }; } &&
7348 { ac_try
='test -s conftest$ac_exeext'
7349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7353 (exit $ac_status); }; }; then
7354 eval "$as_ac_var=yes"
7356 echo "$as_me: failed program was:" >&5
7357 sed 's/^/| /' conftest.
$ac_ext >&5
7359 eval "$as_ac_var=no"
7361 rm -f conftest.err conftest.
$ac_objext \
7362 conftest
$ac_exeext conftest.
$ac_ext
7364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7366 if test `eval echo '${'$as_ac_var'}'` = yes; then
7367 cat >>confdefs.h
<<_ACEOF
7368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7376 for ac_func
in sleep time
7378 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7379 echo "$as_me:$LINENO: checking for $ac_func" >&5
7380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7381 if eval "test \"\${$as_ac_var+set}\" = set"; then
7382 echo $ECHO_N "(cached) $ECHO_C" >&6
7384 cat >conftest.
$ac_ext <<_ACEOF
7387 cat confdefs.h
>>conftest.
$ac_ext
7388 cat >>conftest.
$ac_ext <<_ACEOF
7389 /* end confdefs.h. */
7390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7392 #define $ac_func innocuous_$ac_func
7394 /* System header to define __stub macros and hopefully few prototypes,
7395 which can conflict with char $ac_func (); below.
7396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7397 <limits.h> exists even on freestanding compilers. */
7400 # include <limits.h>
7402 # include <assert.h>
7407 /* Override any gcc2 internal prototype to avoid an error. */
7412 /* We use char because int might match the return type of a gcc2
7413 builtin and then its argument prototype would still apply. */
7415 /* The GNU C library defines this for functions which it implements
7416 to always fail with ENOSYS. Some functions are actually named
7417 something starting with __ and the normal name is an alias. */
7418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7421 char (*f) () = $ac_func;
7430 return f != $ac_func;
7435 rm -f conftest.
$ac_objext conftest
$ac_exeext
7436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7437 (eval $ac_link) 2>conftest.er1
7439 grep -v '^ *+' conftest.er1
>conftest.err
7441 cat conftest.err
>&5
7442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7443 (exit $ac_status); } &&
7444 { ac_try
='test -z "$ac_c_werror_flag"
7445 || test ! -s conftest.err'
7446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7450 (exit $ac_status); }; } &&
7451 { ac_try
='test -s conftest$ac_exeext'
7452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7456 (exit $ac_status); }; }; then
7457 eval "$as_ac_var=yes"
7459 echo "$as_me: failed program was:" >&5
7460 sed 's/^/| /' conftest.
$ac_ext >&5
7462 eval "$as_ac_var=no"
7464 rm -f conftest.err conftest.
$ac_objext \
7465 conftest
$ac_exeext conftest.
$ac_ext
7467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7469 if test `eval echo '${'$as_ac_var'}'` = yes; then
7470 cat >>confdefs.h
<<_ACEOF
7471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7478 # Check libc for getgid, getpid, getuid
7479 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
7480 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
7481 if test "${ac_cv_lib_c_getgid+set}" = set; then
7482 echo $ECHO_N "(cached) $ECHO_C" >&6
7484 ac_check_lib_save_LIBS
=$LIBS
7486 cat >conftest.
$ac_ext <<_ACEOF
7489 cat confdefs.h
>>conftest.
$ac_ext
7490 cat >>conftest.
$ac_ext <<_ACEOF
7491 /* end confdefs.h. */
7493 /* Override any gcc2 internal prototype to avoid an error. */
7497 /* We use char because int might match the return type of a gcc2
7498 builtin and then its argument prototype would still apply. */
7508 rm -f conftest.
$ac_objext conftest
$ac_exeext
7509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7510 (eval $ac_link) 2>conftest.er1
7512 grep -v '^ *+' conftest.er1
>conftest.err
7514 cat conftest.err
>&5
7515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7516 (exit $ac_status); } &&
7517 { ac_try
='test -z "$ac_c_werror_flag"
7518 || test ! -s conftest.err'
7519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7523 (exit $ac_status); }; } &&
7524 { ac_try
='test -s conftest$ac_exeext'
7525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7529 (exit $ac_status); }; }; then
7530 ac_cv_lib_c_getgid
=yes
7532 echo "$as_me: failed program was:" >&5
7533 sed 's/^/| /' conftest.
$ac_ext >&5
7535 ac_cv_lib_c_getgid
=no
7537 rm -f conftest.err conftest.
$ac_objext \
7538 conftest
$ac_exeext conftest.
$ac_ext
7539 LIBS
=$ac_check_lib_save_LIBS
7541 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
7542 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
7543 if test $ac_cv_lib_c_getgid = yes; then
7545 cat >>confdefs.h
<<\_ACEOF
7546 #define HAVE_GETGID 1
7551 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
7552 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
7553 if test "${ac_cv_lib_c_getpid+set}" = set; then
7554 echo $ECHO_N "(cached) $ECHO_C" >&6
7556 ac_check_lib_save_LIBS
=$LIBS
7558 cat >conftest.
$ac_ext <<_ACEOF
7561 cat confdefs.h
>>conftest.
$ac_ext
7562 cat >>conftest.
$ac_ext <<_ACEOF
7563 /* end confdefs.h. */
7565 /* Override any gcc2 internal prototype to avoid an error. */
7569 /* We use char because int might match the return type of a gcc2
7570 builtin and then its argument prototype would still apply. */
7580 rm -f conftest.
$ac_objext conftest
$ac_exeext
7581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7582 (eval $ac_link) 2>conftest.er1
7584 grep -v '^ *+' conftest.er1
>conftest.err
7586 cat conftest.err
>&5
7587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7588 (exit $ac_status); } &&
7589 { ac_try
='test -z "$ac_c_werror_flag"
7590 || test ! -s conftest.err'
7591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7595 (exit $ac_status); }; } &&
7596 { ac_try
='test -s conftest$ac_exeext'
7597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7601 (exit $ac_status); }; }; then
7602 ac_cv_lib_c_getpid
=yes
7604 echo "$as_me: failed program was:" >&5
7605 sed 's/^/| /' conftest.
$ac_ext >&5
7607 ac_cv_lib_c_getpid
=no
7609 rm -f conftest.err conftest.
$ac_objext \
7610 conftest
$ac_exeext conftest.
$ac_ext
7611 LIBS
=$ac_check_lib_save_LIBS
7613 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
7614 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
7615 if test $ac_cv_lib_c_getpid = yes; then
7617 cat >>confdefs.h
<<\_ACEOF
7618 #define HAVE_GETPID 1
7623 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
7624 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
7625 if test "${ac_cv_lib_c_getuid+set}" = set; then
7626 echo $ECHO_N "(cached) $ECHO_C" >&6
7628 ac_check_lib_save_LIBS
=$LIBS
7630 cat >conftest.
$ac_ext <<_ACEOF
7633 cat confdefs.h
>>conftest.
$ac_ext
7634 cat >>conftest.
$ac_ext <<_ACEOF
7635 /* end confdefs.h. */
7637 /* Override any gcc2 internal prototype to avoid an error. */
7641 /* We use char because int might match the return type of a gcc2
7642 builtin and then its argument prototype would still apply. */
7652 rm -f conftest.
$ac_objext conftest
$ac_exeext
7653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7654 (eval $ac_link) 2>conftest.er1
7656 grep -v '^ *+' conftest.er1
>conftest.err
7658 cat conftest.err
>&5
7659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7660 (exit $ac_status); } &&
7661 { ac_try
='test -z "$ac_c_werror_flag"
7662 || test ! -s conftest.err'
7663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7667 (exit $ac_status); }; } &&
7668 { ac_try
='test -s conftest$ac_exeext'
7669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7673 (exit $ac_status); }; }; then
7674 ac_cv_lib_c_getuid
=yes
7676 echo "$as_me: failed program was:" >&5
7677 sed 's/^/| /' conftest.
$ac_ext >&5
7679 ac_cv_lib_c_getuid
=no
7681 rm -f conftest.err conftest.
$ac_objext \
7682 conftest
$ac_exeext conftest.
$ac_ext
7683 LIBS
=$ac_check_lib_save_LIBS
7685 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
7686 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
7687 if test $ac_cv_lib_c_getuid = yes; then
7689 cat >>confdefs.h
<<\_ACEOF
7690 #define HAVE_GETUID 1
7696 # Check for C99 (and other IEEE) math functions
7697 # ??? This list seems awful long. Is there a better way to test for these?
7698 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
7699 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
7700 if test "${ac_cv_lib_m_acosf+set}" = set; then
7701 echo $ECHO_N "(cached) $ECHO_C" >&6
7703 ac_check_lib_save_LIBS
=$LIBS
7705 cat >conftest.
$ac_ext <<_ACEOF
7708 cat confdefs.h
>>conftest.
$ac_ext
7709 cat >>conftest.
$ac_ext <<_ACEOF
7710 /* end confdefs.h. */
7712 /* Override any gcc2 internal prototype to avoid an error. */
7716 /* We use char because int might match the return type of a gcc2
7717 builtin and then its argument prototype would still apply. */
7727 rm -f conftest.
$ac_objext conftest
$ac_exeext
7728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7729 (eval $ac_link) 2>conftest.er1
7731 grep -v '^ *+' conftest.er1
>conftest.err
7733 cat conftest.err
>&5
7734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7735 (exit $ac_status); } &&
7736 { ac_try
='test -z "$ac_c_werror_flag"
7737 || test ! -s conftest.err'
7738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7742 (exit $ac_status); }; } &&
7743 { ac_try
='test -s conftest$ac_exeext'
7744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7748 (exit $ac_status); }; }; then
7749 ac_cv_lib_m_acosf
=yes
7751 echo "$as_me: failed program was:" >&5
7752 sed 's/^/| /' conftest.
$ac_ext >&5
7754 ac_cv_lib_m_acosf
=no
7756 rm -f conftest.err conftest.
$ac_objext \
7757 conftest
$ac_exeext conftest.
$ac_ext
7758 LIBS
=$ac_check_lib_save_LIBS
7760 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
7761 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
7762 if test $ac_cv_lib_m_acosf = yes; then
7764 cat >>confdefs.h
<<\_ACEOF
7765 #define HAVE_ACOSF 1
7770 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
7771 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
7772 if test "${ac_cv_lib_m_asinf+set}" = set; then
7773 echo $ECHO_N "(cached) $ECHO_C" >&6
7775 ac_check_lib_save_LIBS
=$LIBS
7777 cat >conftest.
$ac_ext <<_ACEOF
7780 cat confdefs.h
>>conftest.
$ac_ext
7781 cat >>conftest.
$ac_ext <<_ACEOF
7782 /* end confdefs.h. */
7784 /* Override any gcc2 internal prototype to avoid an error. */
7788 /* We use char because int might match the return type of a gcc2
7789 builtin and then its argument prototype would still apply. */
7799 rm -f conftest.
$ac_objext conftest
$ac_exeext
7800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7801 (eval $ac_link) 2>conftest.er1
7803 grep -v '^ *+' conftest.er1
>conftest.err
7805 cat conftest.err
>&5
7806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7807 (exit $ac_status); } &&
7808 { ac_try
='test -z "$ac_c_werror_flag"
7809 || test ! -s conftest.err'
7810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7814 (exit $ac_status); }; } &&
7815 { ac_try
='test -s conftest$ac_exeext'
7816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7820 (exit $ac_status); }; }; then
7821 ac_cv_lib_m_asinf
=yes
7823 echo "$as_me: failed program was:" >&5
7824 sed 's/^/| /' conftest.
$ac_ext >&5
7826 ac_cv_lib_m_asinf
=no
7828 rm -f conftest.err conftest.
$ac_objext \
7829 conftest
$ac_exeext conftest.
$ac_ext
7830 LIBS
=$ac_check_lib_save_LIBS
7832 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
7833 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
7834 if test $ac_cv_lib_m_asinf = yes; then
7836 cat >>confdefs.h
<<\_ACEOF
7837 #define HAVE_ASINF 1
7842 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
7843 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
7844 if test "${ac_cv_lib_m_atan2f+set}" = set; then
7845 echo $ECHO_N "(cached) $ECHO_C" >&6
7847 ac_check_lib_save_LIBS
=$LIBS
7849 cat >conftest.
$ac_ext <<_ACEOF
7852 cat confdefs.h
>>conftest.
$ac_ext
7853 cat >>conftest.
$ac_ext <<_ACEOF
7854 /* end confdefs.h. */
7856 /* Override any gcc2 internal prototype to avoid an error. */
7860 /* We use char because int might match the return type of a gcc2
7861 builtin and then its argument prototype would still apply. */
7871 rm -f conftest.
$ac_objext conftest
$ac_exeext
7872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7873 (eval $ac_link) 2>conftest.er1
7875 grep -v '^ *+' conftest.er1
>conftest.err
7877 cat conftest.err
>&5
7878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7879 (exit $ac_status); } &&
7880 { ac_try
='test -z "$ac_c_werror_flag"
7881 || test ! -s conftest.err'
7882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7886 (exit $ac_status); }; } &&
7887 { ac_try
='test -s conftest$ac_exeext'
7888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7892 (exit $ac_status); }; }; then
7893 ac_cv_lib_m_atan2f
=yes
7895 echo "$as_me: failed program was:" >&5
7896 sed 's/^/| /' conftest.
$ac_ext >&5
7898 ac_cv_lib_m_atan2f
=no
7900 rm -f conftest.err conftest.
$ac_objext \
7901 conftest
$ac_exeext conftest.
$ac_ext
7902 LIBS
=$ac_check_lib_save_LIBS
7904 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
7905 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
7906 if test $ac_cv_lib_m_atan2f = yes; then
7908 cat >>confdefs.h
<<\_ACEOF
7909 #define HAVE_ATAN2F 1
7914 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
7915 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
7916 if test "${ac_cv_lib_m_atanf+set}" = set; then
7917 echo $ECHO_N "(cached) $ECHO_C" >&6
7919 ac_check_lib_save_LIBS
=$LIBS
7921 cat >conftest.
$ac_ext <<_ACEOF
7924 cat confdefs.h
>>conftest.
$ac_ext
7925 cat >>conftest.
$ac_ext <<_ACEOF
7926 /* end confdefs.h. */
7928 /* Override any gcc2 internal prototype to avoid an error. */
7932 /* We use char because int might match the return type of a gcc2
7933 builtin and then its argument prototype would still apply. */
7943 rm -f conftest.
$ac_objext conftest
$ac_exeext
7944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7945 (eval $ac_link) 2>conftest.er1
7947 grep -v '^ *+' conftest.er1
>conftest.err
7949 cat conftest.err
>&5
7950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7951 (exit $ac_status); } &&
7952 { ac_try
='test -z "$ac_c_werror_flag"
7953 || test ! -s conftest.err'
7954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7958 (exit $ac_status); }; } &&
7959 { ac_try
='test -s conftest$ac_exeext'
7960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7964 (exit $ac_status); }; }; then
7965 ac_cv_lib_m_atanf
=yes
7967 echo "$as_me: failed program was:" >&5
7968 sed 's/^/| /' conftest.
$ac_ext >&5
7970 ac_cv_lib_m_atanf
=no
7972 rm -f conftest.err conftest.
$ac_objext \
7973 conftest
$ac_exeext conftest.
$ac_ext
7974 LIBS
=$ac_check_lib_save_LIBS
7976 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
7977 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
7978 if test $ac_cv_lib_m_atanf = yes; then
7980 cat >>confdefs.h
<<\_ACEOF
7981 #define HAVE_ATANF 1
7986 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
7987 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
7988 if test "${ac_cv_lib_m_ceilf+set}" = set; then
7989 echo $ECHO_N "(cached) $ECHO_C" >&6
7991 ac_check_lib_save_LIBS
=$LIBS
7993 cat >conftest.
$ac_ext <<_ACEOF
7996 cat confdefs.h
>>conftest.
$ac_ext
7997 cat >>conftest.
$ac_ext <<_ACEOF
7998 /* end confdefs.h. */
8000 /* Override any gcc2 internal prototype to avoid an error. */
8004 /* We use char because int might match the return type of a gcc2
8005 builtin and then its argument prototype would still apply. */
8015 rm -f conftest.
$ac_objext conftest
$ac_exeext
8016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8017 (eval $ac_link) 2>conftest.er1
8019 grep -v '^ *+' conftest.er1
>conftest.err
8021 cat conftest.err
>&5
8022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8023 (exit $ac_status); } &&
8024 { ac_try
='test -z "$ac_c_werror_flag"
8025 || test ! -s conftest.err'
8026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8030 (exit $ac_status); }; } &&
8031 { ac_try
='test -s conftest$ac_exeext'
8032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8036 (exit $ac_status); }; }; then
8037 ac_cv_lib_m_ceilf
=yes
8039 echo "$as_me: failed program was:" >&5
8040 sed 's/^/| /' conftest.
$ac_ext >&5
8042 ac_cv_lib_m_ceilf
=no
8044 rm -f conftest.err conftest.
$ac_objext \
8045 conftest
$ac_exeext conftest.
$ac_ext
8046 LIBS
=$ac_check_lib_save_LIBS
8048 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
8049 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
8050 if test $ac_cv_lib_m_ceilf = yes; then
8052 cat >>confdefs.h
<<\_ACEOF
8053 #define HAVE_CEILF 1
8058 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
8059 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
8060 if test "${ac_cv_lib_m_copysignf+set}" = set; then
8061 echo $ECHO_N "(cached) $ECHO_C" >&6
8063 ac_check_lib_save_LIBS
=$LIBS
8065 cat >conftest.
$ac_ext <<_ACEOF
8068 cat confdefs.h
>>conftest.
$ac_ext
8069 cat >>conftest.
$ac_ext <<_ACEOF
8070 /* end confdefs.h. */
8072 /* Override any gcc2 internal prototype to avoid an error. */
8076 /* We use char because int might match the return type of a gcc2
8077 builtin and then its argument prototype would still apply. */
8087 rm -f conftest.
$ac_objext conftest
$ac_exeext
8088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8089 (eval $ac_link) 2>conftest.er1
8091 grep -v '^ *+' conftest.er1
>conftest.err
8093 cat conftest.err
>&5
8094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8095 (exit $ac_status); } &&
8096 { ac_try
='test -z "$ac_c_werror_flag"
8097 || test ! -s conftest.err'
8098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8102 (exit $ac_status); }; } &&
8103 { ac_try
='test -s conftest$ac_exeext'
8104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8108 (exit $ac_status); }; }; then
8109 ac_cv_lib_m_copysignf
=yes
8111 echo "$as_me: failed program was:" >&5
8112 sed 's/^/| /' conftest.
$ac_ext >&5
8114 ac_cv_lib_m_copysignf
=no
8116 rm -f conftest.err conftest.
$ac_objext \
8117 conftest
$ac_exeext conftest.
$ac_ext
8118 LIBS
=$ac_check_lib_save_LIBS
8120 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
8121 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
8122 if test $ac_cv_lib_m_copysignf = yes; then
8124 cat >>confdefs.h
<<\_ACEOF
8125 #define HAVE_COPYSIGNF 1
8130 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
8131 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
8132 if test "${ac_cv_lib_m_cosf+set}" = set; then
8133 echo $ECHO_N "(cached) $ECHO_C" >&6
8135 ac_check_lib_save_LIBS
=$LIBS
8137 cat >conftest.
$ac_ext <<_ACEOF
8140 cat confdefs.h
>>conftest.
$ac_ext
8141 cat >>conftest.
$ac_ext <<_ACEOF
8142 /* end confdefs.h. */
8144 /* Override any gcc2 internal prototype to avoid an error. */
8148 /* We use char because int might match the return type of a gcc2
8149 builtin and then its argument prototype would still apply. */
8159 rm -f conftest.
$ac_objext conftest
$ac_exeext
8160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8161 (eval $ac_link) 2>conftest.er1
8163 grep -v '^ *+' conftest.er1
>conftest.err
8165 cat conftest.err
>&5
8166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8167 (exit $ac_status); } &&
8168 { ac_try
='test -z "$ac_c_werror_flag"
8169 || test ! -s conftest.err'
8170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8174 (exit $ac_status); }; } &&
8175 { ac_try
='test -s conftest$ac_exeext'
8176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8180 (exit $ac_status); }; }; then
8181 ac_cv_lib_m_cosf
=yes
8183 echo "$as_me: failed program was:" >&5
8184 sed 's/^/| /' conftest.
$ac_ext >&5
8188 rm -f conftest.err conftest.
$ac_objext \
8189 conftest
$ac_exeext conftest.
$ac_ext
8190 LIBS
=$ac_check_lib_save_LIBS
8192 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
8193 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
8194 if test $ac_cv_lib_m_cosf = yes; then
8196 cat >>confdefs.h
<<\_ACEOF
8202 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
8203 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
8204 if test "${ac_cv_lib_m_coshf+set}" = set; then
8205 echo $ECHO_N "(cached) $ECHO_C" >&6
8207 ac_check_lib_save_LIBS
=$LIBS
8209 cat >conftest.
$ac_ext <<_ACEOF
8212 cat confdefs.h
>>conftest.
$ac_ext
8213 cat >>conftest.
$ac_ext <<_ACEOF
8214 /* end confdefs.h. */
8216 /* Override any gcc2 internal prototype to avoid an error. */
8220 /* We use char because int might match the return type of a gcc2
8221 builtin and then its argument prototype would still apply. */
8231 rm -f conftest.
$ac_objext conftest
$ac_exeext
8232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8233 (eval $ac_link) 2>conftest.er1
8235 grep -v '^ *+' conftest.er1
>conftest.err
8237 cat conftest.err
>&5
8238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8239 (exit $ac_status); } &&
8240 { ac_try
='test -z "$ac_c_werror_flag"
8241 || test ! -s conftest.err'
8242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8246 (exit $ac_status); }; } &&
8247 { ac_try
='test -s conftest$ac_exeext'
8248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8252 (exit $ac_status); }; }; then
8253 ac_cv_lib_m_coshf
=yes
8255 echo "$as_me: failed program was:" >&5
8256 sed 's/^/| /' conftest.
$ac_ext >&5
8258 ac_cv_lib_m_coshf
=no
8260 rm -f conftest.err conftest.
$ac_objext \
8261 conftest
$ac_exeext conftest.
$ac_ext
8262 LIBS
=$ac_check_lib_save_LIBS
8264 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
8265 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
8266 if test $ac_cv_lib_m_coshf = yes; then
8268 cat >>confdefs.h
<<\_ACEOF
8269 #define HAVE_COSHF 1
8274 echo "$as_me:$LINENO: checking for expf in -lm" >&5
8275 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
8276 if test "${ac_cv_lib_m_expf+set}" = set; then
8277 echo $ECHO_N "(cached) $ECHO_C" >&6
8279 ac_check_lib_save_LIBS
=$LIBS
8281 cat >conftest.
$ac_ext <<_ACEOF
8284 cat confdefs.h
>>conftest.
$ac_ext
8285 cat >>conftest.
$ac_ext <<_ACEOF
8286 /* end confdefs.h. */
8288 /* Override any gcc2 internal prototype to avoid an error. */
8292 /* We use char because int might match the return type of a gcc2
8293 builtin and then its argument prototype would still apply. */
8303 rm -f conftest.
$ac_objext conftest
$ac_exeext
8304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8305 (eval $ac_link) 2>conftest.er1
8307 grep -v '^ *+' conftest.er1
>conftest.err
8309 cat conftest.err
>&5
8310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8311 (exit $ac_status); } &&
8312 { ac_try
='test -z "$ac_c_werror_flag"
8313 || test ! -s conftest.err'
8314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8318 (exit $ac_status); }; } &&
8319 { ac_try
='test -s conftest$ac_exeext'
8320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8324 (exit $ac_status); }; }; then
8325 ac_cv_lib_m_expf
=yes
8327 echo "$as_me: failed program was:" >&5
8328 sed 's/^/| /' conftest.
$ac_ext >&5
8332 rm -f conftest.err conftest.
$ac_objext \
8333 conftest
$ac_exeext conftest.
$ac_ext
8334 LIBS
=$ac_check_lib_save_LIBS
8336 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
8337 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
8338 if test $ac_cv_lib_m_expf = yes; then
8340 cat >>confdefs.h
<<\_ACEOF
8346 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
8347 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
8348 if test "${ac_cv_lib_m_fabsf+set}" = set; then
8349 echo $ECHO_N "(cached) $ECHO_C" >&6
8351 ac_check_lib_save_LIBS
=$LIBS
8353 cat >conftest.
$ac_ext <<_ACEOF
8356 cat confdefs.h
>>conftest.
$ac_ext
8357 cat >>conftest.
$ac_ext <<_ACEOF
8358 /* end confdefs.h. */
8360 /* Override any gcc2 internal prototype to avoid an error. */
8364 /* We use char because int might match the return type of a gcc2
8365 builtin and then its argument prototype would still apply. */
8375 rm -f conftest.
$ac_objext conftest
$ac_exeext
8376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8377 (eval $ac_link) 2>conftest.er1
8379 grep -v '^ *+' conftest.er1
>conftest.err
8381 cat conftest.err
>&5
8382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8383 (exit $ac_status); } &&
8384 { ac_try
='test -z "$ac_c_werror_flag"
8385 || test ! -s conftest.err'
8386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8390 (exit $ac_status); }; } &&
8391 { ac_try
='test -s conftest$ac_exeext'
8392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8396 (exit $ac_status); }; }; then
8397 ac_cv_lib_m_fabsf
=yes
8399 echo "$as_me: failed program was:" >&5
8400 sed 's/^/| /' conftest.
$ac_ext >&5
8402 ac_cv_lib_m_fabsf
=no
8404 rm -f conftest.err conftest.
$ac_objext \
8405 conftest
$ac_exeext conftest.
$ac_ext
8406 LIBS
=$ac_check_lib_save_LIBS
8408 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
8409 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
8410 if test $ac_cv_lib_m_fabsf = yes; then
8412 cat >>confdefs.h
<<\_ACEOF
8413 #define HAVE_FABSF 1
8418 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
8419 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
8420 if test "${ac_cv_lib_m_floorf+set}" = set; then
8421 echo $ECHO_N "(cached) $ECHO_C" >&6
8423 ac_check_lib_save_LIBS
=$LIBS
8425 cat >conftest.
$ac_ext <<_ACEOF
8428 cat confdefs.h
>>conftest.
$ac_ext
8429 cat >>conftest.
$ac_ext <<_ACEOF
8430 /* end confdefs.h. */
8432 /* Override any gcc2 internal prototype to avoid an error. */
8436 /* We use char because int might match the return type of a gcc2
8437 builtin and then its argument prototype would still apply. */
8447 rm -f conftest.
$ac_objext conftest
$ac_exeext
8448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8449 (eval $ac_link) 2>conftest.er1
8451 grep -v '^ *+' conftest.er1
>conftest.err
8453 cat conftest.err
>&5
8454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8455 (exit $ac_status); } &&
8456 { ac_try
='test -z "$ac_c_werror_flag"
8457 || test ! -s conftest.err'
8458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8462 (exit $ac_status); }; } &&
8463 { ac_try
='test -s conftest$ac_exeext'
8464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8468 (exit $ac_status); }; }; then
8469 ac_cv_lib_m_floorf
=yes
8471 echo "$as_me: failed program was:" >&5
8472 sed 's/^/| /' conftest.
$ac_ext >&5
8474 ac_cv_lib_m_floorf
=no
8476 rm -f conftest.err conftest.
$ac_objext \
8477 conftest
$ac_exeext conftest.
$ac_ext
8478 LIBS
=$ac_check_lib_save_LIBS
8480 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
8481 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
8482 if test $ac_cv_lib_m_floorf = yes; then
8484 cat >>confdefs.h
<<\_ACEOF
8485 #define HAVE_FLOORF 1
8490 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
8491 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
8492 if test "${ac_cv_lib_m_frexpf+set}" = set; then
8493 echo $ECHO_N "(cached) $ECHO_C" >&6
8495 ac_check_lib_save_LIBS
=$LIBS
8497 cat >conftest.
$ac_ext <<_ACEOF
8500 cat confdefs.h
>>conftest.
$ac_ext
8501 cat >>conftest.
$ac_ext <<_ACEOF
8502 /* end confdefs.h. */
8504 /* Override any gcc2 internal prototype to avoid an error. */
8508 /* We use char because int might match the return type of a gcc2
8509 builtin and then its argument prototype would still apply. */
8519 rm -f conftest.
$ac_objext conftest
$ac_exeext
8520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8521 (eval $ac_link) 2>conftest.er1
8523 grep -v '^ *+' conftest.er1
>conftest.err
8525 cat conftest.err
>&5
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 (exit $ac_status); } &&
8528 { ac_try
='test -z "$ac_c_werror_flag"
8529 || test ! -s conftest.err'
8530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8534 (exit $ac_status); }; } &&
8535 { ac_try
='test -s conftest$ac_exeext'
8536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8540 (exit $ac_status); }; }; then
8541 ac_cv_lib_m_frexpf
=yes
8543 echo "$as_me: failed program was:" >&5
8544 sed 's/^/| /' conftest.
$ac_ext >&5
8546 ac_cv_lib_m_frexpf
=no
8548 rm -f conftest.err conftest.
$ac_objext \
8549 conftest
$ac_exeext conftest.
$ac_ext
8550 LIBS
=$ac_check_lib_save_LIBS
8552 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
8553 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
8554 if test $ac_cv_lib_m_frexpf = yes; then
8556 cat >>confdefs.h
<<\_ACEOF
8557 #define HAVE_FREXPF 1
8562 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
8563 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
8564 if test "${ac_cv_lib_m_hypotf+set}" = set; then
8565 echo $ECHO_N "(cached) $ECHO_C" >&6
8567 ac_check_lib_save_LIBS
=$LIBS
8569 cat >conftest.
$ac_ext <<_ACEOF
8572 cat confdefs.h
>>conftest.
$ac_ext
8573 cat >>conftest.
$ac_ext <<_ACEOF
8574 /* end confdefs.h. */
8576 /* Override any gcc2 internal prototype to avoid an error. */
8580 /* We use char because int might match the return type of a gcc2
8581 builtin and then its argument prototype would still apply. */
8591 rm -f conftest.
$ac_objext conftest
$ac_exeext
8592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8593 (eval $ac_link) 2>conftest.er1
8595 grep -v '^ *+' conftest.er1
>conftest.err
8597 cat conftest.err
>&5
8598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8599 (exit $ac_status); } &&
8600 { ac_try
='test -z "$ac_c_werror_flag"
8601 || test ! -s conftest.err'
8602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8606 (exit $ac_status); }; } &&
8607 { ac_try
='test -s conftest$ac_exeext'
8608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612 (exit $ac_status); }; }; then
8613 ac_cv_lib_m_hypotf
=yes
8615 echo "$as_me: failed program was:" >&5
8616 sed 's/^/| /' conftest.
$ac_ext >&5
8618 ac_cv_lib_m_hypotf
=no
8620 rm -f conftest.err conftest.
$ac_objext \
8621 conftest
$ac_exeext conftest.
$ac_ext
8622 LIBS
=$ac_check_lib_save_LIBS
8624 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
8625 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
8626 if test $ac_cv_lib_m_hypotf = yes; then
8628 cat >>confdefs.h
<<\_ACEOF
8629 #define HAVE_HYPOTF 1
8634 echo "$as_me:$LINENO: checking for logf in -lm" >&5
8635 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
8636 if test "${ac_cv_lib_m_logf+set}" = set; then
8637 echo $ECHO_N "(cached) $ECHO_C" >&6
8639 ac_check_lib_save_LIBS
=$LIBS
8641 cat >conftest.
$ac_ext <<_ACEOF
8644 cat confdefs.h
>>conftest.
$ac_ext
8645 cat >>conftest.
$ac_ext <<_ACEOF
8646 /* end confdefs.h. */
8648 /* Override any gcc2 internal prototype to avoid an error. */
8652 /* We use char because int might match the return type of a gcc2
8653 builtin and then its argument prototype would still apply. */
8663 rm -f conftest.
$ac_objext conftest
$ac_exeext
8664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8665 (eval $ac_link) 2>conftest.er1
8667 grep -v '^ *+' conftest.er1
>conftest.err
8669 cat conftest.err
>&5
8670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8671 (exit $ac_status); } &&
8672 { ac_try
='test -z "$ac_c_werror_flag"
8673 || test ! -s conftest.err'
8674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8678 (exit $ac_status); }; } &&
8679 { ac_try
='test -s conftest$ac_exeext'
8680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8684 (exit $ac_status); }; }; then
8685 ac_cv_lib_m_logf
=yes
8687 echo "$as_me: failed program was:" >&5
8688 sed 's/^/| /' conftest.
$ac_ext >&5
8692 rm -f conftest.err conftest.
$ac_objext \
8693 conftest
$ac_exeext conftest.
$ac_ext
8694 LIBS
=$ac_check_lib_save_LIBS
8696 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
8697 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
8698 if test $ac_cv_lib_m_logf = yes; then
8700 cat >>confdefs.h
<<\_ACEOF
8706 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
8707 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
8708 if test "${ac_cv_lib_m_log10f+set}" = set; then
8709 echo $ECHO_N "(cached) $ECHO_C" >&6
8711 ac_check_lib_save_LIBS
=$LIBS
8713 cat >conftest.
$ac_ext <<_ACEOF
8716 cat confdefs.h
>>conftest.
$ac_ext
8717 cat >>conftest.
$ac_ext <<_ACEOF
8718 /* end confdefs.h. */
8720 /* Override any gcc2 internal prototype to avoid an error. */
8724 /* We use char because int might match the return type of a gcc2
8725 builtin and then its argument prototype would still apply. */
8735 rm -f conftest.
$ac_objext conftest
$ac_exeext
8736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8737 (eval $ac_link) 2>conftest.er1
8739 grep -v '^ *+' conftest.er1
>conftest.err
8741 cat conftest.err
>&5
8742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8743 (exit $ac_status); } &&
8744 { ac_try
='test -z "$ac_c_werror_flag"
8745 || test ! -s conftest.err'
8746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8750 (exit $ac_status); }; } &&
8751 { ac_try
='test -s conftest$ac_exeext'
8752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8756 (exit $ac_status); }; }; then
8757 ac_cv_lib_m_log10f
=yes
8759 echo "$as_me: failed program was:" >&5
8760 sed 's/^/| /' conftest.
$ac_ext >&5
8762 ac_cv_lib_m_log10f
=no
8764 rm -f conftest.err conftest.
$ac_objext \
8765 conftest
$ac_exeext conftest.
$ac_ext
8766 LIBS
=$ac_check_lib_save_LIBS
8768 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
8769 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
8770 if test $ac_cv_lib_m_log10f = yes; then
8772 cat >>confdefs.h
<<\_ACEOF
8773 #define HAVE_LOG10F 1
8778 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
8779 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
8780 if test "${ac_cv_lib_m_nextafter+set}" = set; then
8781 echo $ECHO_N "(cached) $ECHO_C" >&6
8783 ac_check_lib_save_LIBS
=$LIBS
8785 cat >conftest.
$ac_ext <<_ACEOF
8788 cat confdefs.h
>>conftest.
$ac_ext
8789 cat >>conftest.
$ac_ext <<_ACEOF
8790 /* end confdefs.h. */
8792 /* Override any gcc2 internal prototype to avoid an error. */
8796 /* We use char because int might match the return type of a gcc2
8797 builtin and then its argument prototype would still apply. */
8807 rm -f conftest.
$ac_objext conftest
$ac_exeext
8808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8809 (eval $ac_link) 2>conftest.er1
8811 grep -v '^ *+' conftest.er1
>conftest.err
8813 cat conftest.err
>&5
8814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8815 (exit $ac_status); } &&
8816 { ac_try
='test -z "$ac_c_werror_flag"
8817 || test ! -s conftest.err'
8818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8822 (exit $ac_status); }; } &&
8823 { ac_try
='test -s conftest$ac_exeext'
8824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8828 (exit $ac_status); }; }; then
8829 ac_cv_lib_m_nextafter
=yes
8831 echo "$as_me: failed program was:" >&5
8832 sed 's/^/| /' conftest.
$ac_ext >&5
8834 ac_cv_lib_m_nextafter
=no
8836 rm -f conftest.err conftest.
$ac_objext \
8837 conftest
$ac_exeext conftest.
$ac_ext
8838 LIBS
=$ac_check_lib_save_LIBS
8840 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
8841 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
8842 if test $ac_cv_lib_m_nextafter = yes; then
8844 cat >>confdefs.h
<<\_ACEOF
8845 #define HAVE_NEXTAFTER 1
8850 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
8851 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
8852 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
8853 echo $ECHO_N "(cached) $ECHO_C" >&6
8855 ac_check_lib_save_LIBS
=$LIBS
8857 cat >conftest.
$ac_ext <<_ACEOF
8860 cat confdefs.h
>>conftest.
$ac_ext
8861 cat >>conftest.
$ac_ext <<_ACEOF
8862 /* end confdefs.h. */
8864 /* Override any gcc2 internal prototype to avoid an error. */
8868 /* We use char because int might match the return type of a gcc2
8869 builtin and then its argument prototype would still apply. */
8879 rm -f conftest.
$ac_objext conftest
$ac_exeext
8880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8881 (eval $ac_link) 2>conftest.er1
8883 grep -v '^ *+' conftest.er1
>conftest.err
8885 cat conftest.err
>&5
8886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8887 (exit $ac_status); } &&
8888 { ac_try
='test -z "$ac_c_werror_flag"
8889 || test ! -s conftest.err'
8890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894 (exit $ac_status); }; } &&
8895 { ac_try
='test -s conftest$ac_exeext'
8896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8900 (exit $ac_status); }; }; then
8901 ac_cv_lib_m_nextafterf
=yes
8903 echo "$as_me: failed program was:" >&5
8904 sed 's/^/| /' conftest.
$ac_ext >&5
8906 ac_cv_lib_m_nextafterf
=no
8908 rm -f conftest.err conftest.
$ac_objext \
8909 conftest
$ac_exeext conftest.
$ac_ext
8910 LIBS
=$ac_check_lib_save_LIBS
8912 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
8913 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
8914 if test $ac_cv_lib_m_nextafterf = yes; then
8916 cat >>confdefs.h
<<\_ACEOF
8917 #define HAVE_NEXTAFTERF 1
8922 echo "$as_me:$LINENO: checking for powf in -lm" >&5
8923 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
8924 if test "${ac_cv_lib_m_powf+set}" = set; then
8925 echo $ECHO_N "(cached) $ECHO_C" >&6
8927 ac_check_lib_save_LIBS
=$LIBS
8929 cat >conftest.
$ac_ext <<_ACEOF
8932 cat confdefs.h
>>conftest.
$ac_ext
8933 cat >>conftest.
$ac_ext <<_ACEOF
8934 /* end confdefs.h. */
8936 /* Override any gcc2 internal prototype to avoid an error. */
8940 /* We use char because int might match the return type of a gcc2
8941 builtin and then its argument prototype would still apply. */
8951 rm -f conftest.
$ac_objext conftest
$ac_exeext
8952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8953 (eval $ac_link) 2>conftest.er1
8955 grep -v '^ *+' conftest.er1
>conftest.err
8957 cat conftest.err
>&5
8958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8959 (exit $ac_status); } &&
8960 { ac_try
='test -z "$ac_c_werror_flag"
8961 || test ! -s conftest.err'
8962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8966 (exit $ac_status); }; } &&
8967 { ac_try
='test -s conftest$ac_exeext'
8968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 (exit $ac_status); }; }; then
8973 ac_cv_lib_m_powf
=yes
8975 echo "$as_me: failed program was:" >&5
8976 sed 's/^/| /' conftest.
$ac_ext >&5
8980 rm -f conftest.err conftest.
$ac_objext \
8981 conftest
$ac_exeext conftest.
$ac_ext
8982 LIBS
=$ac_check_lib_save_LIBS
8984 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
8985 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
8986 if test $ac_cv_lib_m_powf = yes; then
8988 cat >>confdefs.h
<<\_ACEOF
8994 echo "$as_me:$LINENO: checking for round in -lm" >&5
8995 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
8996 if test "${ac_cv_lib_m_round+set}" = set; then
8997 echo $ECHO_N "(cached) $ECHO_C" >&6
8999 ac_check_lib_save_LIBS
=$LIBS
9001 cat >conftest.
$ac_ext <<_ACEOF
9004 cat confdefs.h
>>conftest.
$ac_ext
9005 cat >>conftest.
$ac_ext <<_ACEOF
9006 /* end confdefs.h. */
9008 /* Override any gcc2 internal prototype to avoid an error. */
9012 /* We use char because int might match the return type of a gcc2
9013 builtin and then its argument prototype would still apply. */
9023 rm -f conftest.
$ac_objext conftest
$ac_exeext
9024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9025 (eval $ac_link) 2>conftest.er1
9027 grep -v '^ *+' conftest.er1
>conftest.err
9029 cat conftest.err
>&5
9030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9031 (exit $ac_status); } &&
9032 { ac_try
='test -z "$ac_c_werror_flag"
9033 || test ! -s conftest.err'
9034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9038 (exit $ac_status); }; } &&
9039 { ac_try
='test -s conftest$ac_exeext'
9040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9044 (exit $ac_status); }; }; then
9045 ac_cv_lib_m_round
=yes
9047 echo "$as_me: failed program was:" >&5
9048 sed 's/^/| /' conftest.
$ac_ext >&5
9050 ac_cv_lib_m_round
=no
9052 rm -f conftest.err conftest.
$ac_objext \
9053 conftest
$ac_exeext conftest.
$ac_ext
9054 LIBS
=$ac_check_lib_save_LIBS
9056 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
9057 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
9058 if test $ac_cv_lib_m_round = yes; then
9060 cat >>confdefs.h
<<\_ACEOF
9061 #define HAVE_ROUND 1
9066 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
9067 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
9068 if test "${ac_cv_lib_m_roundf+set}" = set; then
9069 echo $ECHO_N "(cached) $ECHO_C" >&6
9071 ac_check_lib_save_LIBS
=$LIBS
9073 cat >conftest.
$ac_ext <<_ACEOF
9076 cat confdefs.h
>>conftest.
$ac_ext
9077 cat >>conftest.
$ac_ext <<_ACEOF
9078 /* end confdefs.h. */
9080 /* Override any gcc2 internal prototype to avoid an error. */
9084 /* We use char because int might match the return type of a gcc2
9085 builtin and then its argument prototype would still apply. */
9095 rm -f conftest.
$ac_objext conftest
$ac_exeext
9096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9097 (eval $ac_link) 2>conftest.er1
9099 grep -v '^ *+' conftest.er1
>conftest.err
9101 cat conftest.err
>&5
9102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9103 (exit $ac_status); } &&
9104 { ac_try
='test -z "$ac_c_werror_flag"
9105 || test ! -s conftest.err'
9106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9110 (exit $ac_status); }; } &&
9111 { ac_try
='test -s conftest$ac_exeext'
9112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9116 (exit $ac_status); }; }; then
9117 ac_cv_lib_m_roundf
=yes
9119 echo "$as_me: failed program was:" >&5
9120 sed 's/^/| /' conftest.
$ac_ext >&5
9122 ac_cv_lib_m_roundf
=no
9124 rm -f conftest.err conftest.
$ac_objext \
9125 conftest
$ac_exeext conftest.
$ac_ext
9126 LIBS
=$ac_check_lib_save_LIBS
9128 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
9129 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
9130 if test $ac_cv_lib_m_roundf = yes; then
9132 cat >>confdefs.h
<<\_ACEOF
9133 #define HAVE_ROUNDF 1
9138 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
9139 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
9140 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
9141 echo $ECHO_N "(cached) $ECHO_C" >&6
9143 ac_check_lib_save_LIBS
=$LIBS
9145 cat >conftest.
$ac_ext <<_ACEOF
9148 cat confdefs.h
>>conftest.
$ac_ext
9149 cat >>conftest.
$ac_ext <<_ACEOF
9150 /* end confdefs.h. */
9152 /* Override any gcc2 internal prototype to avoid an error. */
9156 /* We use char because int might match the return type of a gcc2
9157 builtin and then its argument prototype would still apply. */
9167 rm -f conftest.
$ac_objext conftest
$ac_exeext
9168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9169 (eval $ac_link) 2>conftest.er1
9171 grep -v '^ *+' conftest.er1
>conftest.err
9173 cat conftest.err
>&5
9174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9175 (exit $ac_status); } &&
9176 { ac_try
='test -z "$ac_c_werror_flag"
9177 || test ! -s conftest.err'
9178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9182 (exit $ac_status); }; } &&
9183 { ac_try
='test -s conftest$ac_exeext'
9184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9188 (exit $ac_status); }; }; then
9189 ac_cv_lib_m_scalbnf
=yes
9191 echo "$as_me: failed program was:" >&5
9192 sed 's/^/| /' conftest.
$ac_ext >&5
9194 ac_cv_lib_m_scalbnf
=no
9196 rm -f conftest.err conftest.
$ac_objext \
9197 conftest
$ac_exeext conftest.
$ac_ext
9198 LIBS
=$ac_check_lib_save_LIBS
9200 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
9201 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
9202 if test $ac_cv_lib_m_scalbnf = yes; then
9204 cat >>confdefs.h
<<\_ACEOF
9205 #define HAVE_SCALBNF 1
9210 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
9211 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
9212 if test "${ac_cv_lib_m_sinf+set}" = set; then
9213 echo $ECHO_N "(cached) $ECHO_C" >&6
9215 ac_check_lib_save_LIBS
=$LIBS
9217 cat >conftest.
$ac_ext <<_ACEOF
9220 cat confdefs.h
>>conftest.
$ac_ext
9221 cat >>conftest.
$ac_ext <<_ACEOF
9222 /* end confdefs.h. */
9224 /* Override any gcc2 internal prototype to avoid an error. */
9228 /* We use char because int might match the return type of a gcc2
9229 builtin and then its argument prototype would still apply. */
9239 rm -f conftest.
$ac_objext conftest
$ac_exeext
9240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9241 (eval $ac_link) 2>conftest.er1
9243 grep -v '^ *+' conftest.er1
>conftest.err
9245 cat conftest.err
>&5
9246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9247 (exit $ac_status); } &&
9248 { ac_try
='test -z "$ac_c_werror_flag"
9249 || test ! -s conftest.err'
9250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9254 (exit $ac_status); }; } &&
9255 { ac_try
='test -s conftest$ac_exeext'
9256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9260 (exit $ac_status); }; }; then
9261 ac_cv_lib_m_sinf
=yes
9263 echo "$as_me: failed program was:" >&5
9264 sed 's/^/| /' conftest.
$ac_ext >&5
9268 rm -f conftest.err conftest.
$ac_objext \
9269 conftest
$ac_exeext conftest.
$ac_ext
9270 LIBS
=$ac_check_lib_save_LIBS
9272 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
9273 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
9274 if test $ac_cv_lib_m_sinf = yes; then
9276 cat >>confdefs.h
<<\_ACEOF
9282 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
9283 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
9284 if test "${ac_cv_lib_m_sinhf+set}" = set; then
9285 echo $ECHO_N "(cached) $ECHO_C" >&6
9287 ac_check_lib_save_LIBS
=$LIBS
9289 cat >conftest.
$ac_ext <<_ACEOF
9292 cat confdefs.h
>>conftest.
$ac_ext
9293 cat >>conftest.
$ac_ext <<_ACEOF
9294 /* end confdefs.h. */
9296 /* Override any gcc2 internal prototype to avoid an error. */
9300 /* We use char because int might match the return type of a gcc2
9301 builtin and then its argument prototype would still apply. */
9311 rm -f conftest.
$ac_objext conftest
$ac_exeext
9312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9313 (eval $ac_link) 2>conftest.er1
9315 grep -v '^ *+' conftest.er1
>conftest.err
9317 cat conftest.err
>&5
9318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9319 (exit $ac_status); } &&
9320 { ac_try
='test -z "$ac_c_werror_flag"
9321 || test ! -s conftest.err'
9322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9326 (exit $ac_status); }; } &&
9327 { ac_try
='test -s conftest$ac_exeext'
9328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 (exit $ac_status); }; }; then
9333 ac_cv_lib_m_sinhf
=yes
9335 echo "$as_me: failed program was:" >&5
9336 sed 's/^/| /' conftest.
$ac_ext >&5
9338 ac_cv_lib_m_sinhf
=no
9340 rm -f conftest.err conftest.
$ac_objext \
9341 conftest
$ac_exeext conftest.
$ac_ext
9342 LIBS
=$ac_check_lib_save_LIBS
9344 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
9345 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
9346 if test $ac_cv_lib_m_sinhf = yes; then
9348 cat >>confdefs.h
<<\_ACEOF
9349 #define HAVE_SINHF 1
9354 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
9355 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
9356 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
9357 echo $ECHO_N "(cached) $ECHO_C" >&6
9359 ac_check_lib_save_LIBS
=$LIBS
9361 cat >conftest.
$ac_ext <<_ACEOF
9364 cat confdefs.h
>>conftest.
$ac_ext
9365 cat >>conftest.
$ac_ext <<_ACEOF
9366 /* end confdefs.h. */
9368 /* Override any gcc2 internal prototype to avoid an error. */
9372 /* We use char because int might match the return type of a gcc2
9373 builtin and then its argument prototype would still apply. */
9383 rm -f conftest.
$ac_objext conftest
$ac_exeext
9384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9385 (eval $ac_link) 2>conftest.er1
9387 grep -v '^ *+' conftest.er1
>conftest.err
9389 cat conftest.err
>&5
9390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9391 (exit $ac_status); } &&
9392 { ac_try
='test -z "$ac_c_werror_flag"
9393 || test ! -s conftest.err'
9394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9398 (exit $ac_status); }; } &&
9399 { ac_try
='test -s conftest$ac_exeext'
9400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9404 (exit $ac_status); }; }; then
9405 ac_cv_lib_m_sqrtf
=yes
9407 echo "$as_me: failed program was:" >&5
9408 sed 's/^/| /' conftest.
$ac_ext >&5
9410 ac_cv_lib_m_sqrtf
=no
9412 rm -f conftest.err conftest.
$ac_objext \
9413 conftest
$ac_exeext conftest.
$ac_ext
9414 LIBS
=$ac_check_lib_save_LIBS
9416 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
9417 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
9418 if test $ac_cv_lib_m_sqrtf = yes; then
9420 cat >>confdefs.h
<<\_ACEOF
9421 #define HAVE_SQRTF 1
9426 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
9427 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
9428 if test "${ac_cv_lib_m_tanf+set}" = set; then
9429 echo $ECHO_N "(cached) $ECHO_C" >&6
9431 ac_check_lib_save_LIBS
=$LIBS
9433 cat >conftest.
$ac_ext <<_ACEOF
9436 cat confdefs.h
>>conftest.
$ac_ext
9437 cat >>conftest.
$ac_ext <<_ACEOF
9438 /* end confdefs.h. */
9440 /* Override any gcc2 internal prototype to avoid an error. */
9444 /* We use char because int might match the return type of a gcc2
9445 builtin and then its argument prototype would still apply. */
9455 rm -f conftest.
$ac_objext conftest
$ac_exeext
9456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9457 (eval $ac_link) 2>conftest.er1
9459 grep -v '^ *+' conftest.er1
>conftest.err
9461 cat conftest.err
>&5
9462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9463 (exit $ac_status); } &&
9464 { ac_try
='test -z "$ac_c_werror_flag"
9465 || test ! -s conftest.err'
9466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9470 (exit $ac_status); }; } &&
9471 { ac_try
='test -s conftest$ac_exeext'
9472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9476 (exit $ac_status); }; }; then
9477 ac_cv_lib_m_tanf
=yes
9479 echo "$as_me: failed program was:" >&5
9480 sed 's/^/| /' conftest.
$ac_ext >&5
9484 rm -f conftest.err conftest.
$ac_objext \
9485 conftest
$ac_exeext conftest.
$ac_ext
9486 LIBS
=$ac_check_lib_save_LIBS
9488 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
9489 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
9490 if test $ac_cv_lib_m_tanf = yes; then
9492 cat >>confdefs.h
<<\_ACEOF
9498 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
9499 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
9500 if test "${ac_cv_lib_m_tanhf+set}" = set; then
9501 echo $ECHO_N "(cached) $ECHO_C" >&6
9503 ac_check_lib_save_LIBS
=$LIBS
9505 cat >conftest.
$ac_ext <<_ACEOF
9508 cat confdefs.h
>>conftest.
$ac_ext
9509 cat >>conftest.
$ac_ext <<_ACEOF
9510 /* end confdefs.h. */
9512 /* Override any gcc2 internal prototype to avoid an error. */
9516 /* We use char because int might match the return type of a gcc2
9517 builtin and then its argument prototype would still apply. */
9527 rm -f conftest.
$ac_objext conftest
$ac_exeext
9528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9529 (eval $ac_link) 2>conftest.er1
9531 grep -v '^ *+' conftest.er1
>conftest.err
9533 cat conftest.err
>&5
9534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9535 (exit $ac_status); } &&
9536 { ac_try
='test -z "$ac_c_werror_flag"
9537 || test ! -s conftest.err'
9538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9542 (exit $ac_status); }; } &&
9543 { ac_try
='test -s conftest$ac_exeext'
9544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9548 (exit $ac_status); }; }; then
9549 ac_cv_lib_m_tanhf
=yes
9551 echo "$as_me: failed program was:" >&5
9552 sed 's/^/| /' conftest.
$ac_ext >&5
9554 ac_cv_lib_m_tanhf
=no
9556 rm -f conftest.err conftest.
$ac_objext \
9557 conftest
$ac_exeext conftest.
$ac_ext
9558 LIBS
=$ac_check_lib_save_LIBS
9560 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
9561 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
9562 if test $ac_cv_lib_m_tanhf = yes; then
9564 cat >>confdefs.h
<<\_ACEOF
9565 #define HAVE_TANHF 1
9570 echo "$as_me:$LINENO: checking for erf in -lm" >&5
9571 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
9572 if test "${ac_cv_lib_m_erf+set}" = set; then
9573 echo $ECHO_N "(cached) $ECHO_C" >&6
9575 ac_check_lib_save_LIBS
=$LIBS
9577 cat >conftest.
$ac_ext <<_ACEOF
9580 cat confdefs.h
>>conftest.
$ac_ext
9581 cat >>conftest.
$ac_ext <<_ACEOF
9582 /* end confdefs.h. */
9584 /* Override any gcc2 internal prototype to avoid an error. */
9588 /* We use char because int might match the return type of a gcc2
9589 builtin and then its argument prototype would still apply. */
9599 rm -f conftest.
$ac_objext conftest
$ac_exeext
9600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9601 (eval $ac_link) 2>conftest.er1
9603 grep -v '^ *+' conftest.er1
>conftest.err
9605 cat conftest.err
>&5
9606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9607 (exit $ac_status); } &&
9608 { ac_try
='test -z "$ac_c_werror_flag"
9609 || test ! -s conftest.err'
9610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9614 (exit $ac_status); }; } &&
9615 { ac_try
='test -s conftest$ac_exeext'
9616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9620 (exit $ac_status); }; }; then
9623 echo "$as_me: failed program was:" >&5
9624 sed 's/^/| /' conftest.
$ac_ext >&5
9628 rm -f conftest.err conftest.
$ac_objext \
9629 conftest
$ac_exeext conftest.
$ac_ext
9630 LIBS
=$ac_check_lib_save_LIBS
9632 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
9633 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
9634 if test $ac_cv_lib_m_erf = yes; then
9636 cat >>confdefs.h
<<\_ACEOF
9642 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
9643 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
9644 if test "${ac_cv_lib_m_erfc+set}" = set; then
9645 echo $ECHO_N "(cached) $ECHO_C" >&6
9647 ac_check_lib_save_LIBS
=$LIBS
9649 cat >conftest.
$ac_ext <<_ACEOF
9652 cat confdefs.h
>>conftest.
$ac_ext
9653 cat >>conftest.
$ac_ext <<_ACEOF
9654 /* end confdefs.h. */
9656 /* Override any gcc2 internal prototype to avoid an error. */
9660 /* We use char because int might match the return type of a gcc2
9661 builtin and then its argument prototype would still apply. */
9671 rm -f conftest.
$ac_objext conftest
$ac_exeext
9672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9673 (eval $ac_link) 2>conftest.er1
9675 grep -v '^ *+' conftest.er1
>conftest.err
9677 cat conftest.err
>&5
9678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9679 (exit $ac_status); } &&
9680 { ac_try
='test -z "$ac_c_werror_flag"
9681 || test ! -s conftest.err'
9682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9686 (exit $ac_status); }; } &&
9687 { ac_try
='test -s conftest$ac_exeext'
9688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9692 (exit $ac_status); }; }; then
9693 ac_cv_lib_m_erfc
=yes
9695 echo "$as_me: failed program was:" >&5
9696 sed 's/^/| /' conftest.
$ac_ext >&5
9700 rm -f conftest.err conftest.
$ac_objext \
9701 conftest
$ac_exeext conftest.
$ac_ext
9702 LIBS
=$ac_check_lib_save_LIBS
9704 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
9705 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
9706 if test $ac_cv_lib_m_erfc = yes; then
9708 cat >>confdefs.h
<<\_ACEOF
9714 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
9715 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
9716 if test "${ac_cv_lib_m_erfcf+set}" = set; then
9717 echo $ECHO_N "(cached) $ECHO_C" >&6
9719 ac_check_lib_save_LIBS
=$LIBS
9721 cat >conftest.
$ac_ext <<_ACEOF
9724 cat confdefs.h
>>conftest.
$ac_ext
9725 cat >>conftest.
$ac_ext <<_ACEOF
9726 /* end confdefs.h. */
9728 /* Override any gcc2 internal prototype to avoid an error. */
9732 /* We use char because int might match the return type of a gcc2
9733 builtin and then its argument prototype would still apply. */
9743 rm -f conftest.
$ac_objext conftest
$ac_exeext
9744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9745 (eval $ac_link) 2>conftest.er1
9747 grep -v '^ *+' conftest.er1
>conftest.err
9749 cat conftest.err
>&5
9750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9751 (exit $ac_status); } &&
9752 { ac_try
='test -z "$ac_c_werror_flag"
9753 || test ! -s conftest.err'
9754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9758 (exit $ac_status); }; } &&
9759 { ac_try
='test -s conftest$ac_exeext'
9760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9764 (exit $ac_status); }; }; then
9765 ac_cv_lib_m_erfcf
=yes
9767 echo "$as_me: failed program was:" >&5
9768 sed 's/^/| /' conftest.
$ac_ext >&5
9770 ac_cv_lib_m_erfcf
=no
9772 rm -f conftest.err conftest.
$ac_objext \
9773 conftest
$ac_exeext conftest.
$ac_ext
9774 LIBS
=$ac_check_lib_save_LIBS
9776 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
9777 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
9778 if test $ac_cv_lib_m_erfcf = yes; then
9780 cat >>confdefs.h
<<\_ACEOF
9781 #define HAVE_ERFCF 1
9786 echo "$as_me:$LINENO: checking for erff in -lm" >&5
9787 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
9788 if test "${ac_cv_lib_m_erff+set}" = set; then
9789 echo $ECHO_N "(cached) $ECHO_C" >&6
9791 ac_check_lib_save_LIBS
=$LIBS
9793 cat >conftest.
$ac_ext <<_ACEOF
9796 cat confdefs.h
>>conftest.
$ac_ext
9797 cat >>conftest.
$ac_ext <<_ACEOF
9798 /* end confdefs.h. */
9800 /* Override any gcc2 internal prototype to avoid an error. */
9804 /* We use char because int might match the return type of a gcc2
9805 builtin and then its argument prototype would still apply. */
9815 rm -f conftest.
$ac_objext conftest
$ac_exeext
9816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9817 (eval $ac_link) 2>conftest.er1
9819 grep -v '^ *+' conftest.er1
>conftest.err
9821 cat conftest.err
>&5
9822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9823 (exit $ac_status); } &&
9824 { ac_try
='test -z "$ac_c_werror_flag"
9825 || test ! -s conftest.err'
9826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9830 (exit $ac_status); }; } &&
9831 { ac_try
='test -s conftest$ac_exeext'
9832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9836 (exit $ac_status); }; }; then
9837 ac_cv_lib_m_erff
=yes
9839 echo "$as_me: failed program was:" >&5
9840 sed 's/^/| /' conftest.
$ac_ext >&5
9844 rm -f conftest.err conftest.
$ac_objext \
9845 conftest
$ac_exeext conftest.
$ac_ext
9846 LIBS
=$ac_check_lib_save_LIBS
9848 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
9849 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
9850 if test $ac_cv_lib_m_erff = yes; then
9852 cat >>confdefs.h
<<\_ACEOF
9858 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
9859 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
9860 if test "${ac_cv_lib_m_j0+set}" = set; then
9861 echo $ECHO_N "(cached) $ECHO_C" >&6
9863 ac_check_lib_save_LIBS
=$LIBS
9865 cat >conftest.
$ac_ext <<_ACEOF
9868 cat confdefs.h
>>conftest.
$ac_ext
9869 cat >>conftest.
$ac_ext <<_ACEOF
9870 /* end confdefs.h. */
9872 /* Override any gcc2 internal prototype to avoid an error. */
9876 /* We use char because int might match the return type of a gcc2
9877 builtin and then its argument prototype would still apply. */
9887 rm -f conftest.
$ac_objext conftest
$ac_exeext
9888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9889 (eval $ac_link) 2>conftest.er1
9891 grep -v '^ *+' conftest.er1
>conftest.err
9893 cat conftest.err
>&5
9894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9895 (exit $ac_status); } &&
9896 { ac_try
='test -z "$ac_c_werror_flag"
9897 || test ! -s conftest.err'
9898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9902 (exit $ac_status); }; } &&
9903 { ac_try
='test -s conftest$ac_exeext'
9904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9908 (exit $ac_status); }; }; then
9911 echo "$as_me: failed program was:" >&5
9912 sed 's/^/| /' conftest.
$ac_ext >&5
9916 rm -f conftest.err conftest.
$ac_objext \
9917 conftest
$ac_exeext conftest.
$ac_ext
9918 LIBS
=$ac_check_lib_save_LIBS
9920 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
9921 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
9922 if test $ac_cv_lib_m_j0 = yes; then
9924 cat >>confdefs.h
<<\_ACEOF
9930 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
9931 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
9932 if test "${ac_cv_lib_m_j0f+set}" = set; then
9933 echo $ECHO_N "(cached) $ECHO_C" >&6
9935 ac_check_lib_save_LIBS
=$LIBS
9937 cat >conftest.
$ac_ext <<_ACEOF
9940 cat confdefs.h
>>conftest.
$ac_ext
9941 cat >>conftest.
$ac_ext <<_ACEOF
9942 /* end confdefs.h. */
9944 /* Override any gcc2 internal prototype to avoid an error. */
9948 /* We use char because int might match the return type of a gcc2
9949 builtin and then its argument prototype would still apply. */
9959 rm -f conftest.
$ac_objext conftest
$ac_exeext
9960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9961 (eval $ac_link) 2>conftest.er1
9963 grep -v '^ *+' conftest.er1
>conftest.err
9965 cat conftest.err
>&5
9966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9967 (exit $ac_status); } &&
9968 { ac_try
='test -z "$ac_c_werror_flag"
9969 || test ! -s conftest.err'
9970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9974 (exit $ac_status); }; } &&
9975 { ac_try
='test -s conftest$ac_exeext'
9976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9980 (exit $ac_status); }; }; then
9983 echo "$as_me: failed program was:" >&5
9984 sed 's/^/| /' conftest.
$ac_ext >&5
9988 rm -f conftest.err conftest.
$ac_objext \
9989 conftest
$ac_exeext conftest.
$ac_ext
9990 LIBS
=$ac_check_lib_save_LIBS
9992 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
9993 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
9994 if test $ac_cv_lib_m_j0f = yes; then
9996 cat >>confdefs.h
<<\_ACEOF
10002 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
10003 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
10004 if test "${ac_cv_lib_m_j1+set}" = set; then
10005 echo $ECHO_N "(cached) $ECHO_C" >&6
10007 ac_check_lib_save_LIBS
=$LIBS
10009 cat >conftest.
$ac_ext <<_ACEOF
10012 cat confdefs.h
>>conftest.
$ac_ext
10013 cat >>conftest.
$ac_ext <<_ACEOF
10014 /* end confdefs.h. */
10016 /* Override any gcc2 internal prototype to avoid an error. */
10020 /* We use char because int might match the return type of a gcc2
10021 builtin and then its argument prototype would still apply. */
10031 rm -f conftest.
$ac_objext conftest
$ac_exeext
10032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10033 (eval $ac_link) 2>conftest.er1
10035 grep -v '^ *+' conftest.er1
>conftest.err
10037 cat conftest.err
>&5
10038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10039 (exit $ac_status); } &&
10040 { ac_try
='test -z "$ac_c_werror_flag"
10041 || test ! -s conftest.err'
10042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10043 (eval $ac_try) 2>&5
10045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10046 (exit $ac_status); }; } &&
10047 { ac_try
='test -s conftest$ac_exeext'
10048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10049 (eval $ac_try) 2>&5
10051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10052 (exit $ac_status); }; }; then
10055 echo "$as_me: failed program was:" >&5
10056 sed 's/^/| /' conftest.
$ac_ext >&5
10060 rm -f conftest.err conftest.
$ac_objext \
10061 conftest
$ac_exeext conftest.
$ac_ext
10062 LIBS
=$ac_check_lib_save_LIBS
10064 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
10065 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
10066 if test $ac_cv_lib_m_j1 = yes; then
10068 cat >>confdefs.h
<<\_ACEOF
10074 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
10075 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
10076 if test "${ac_cv_lib_m_j1f+set}" = set; then
10077 echo $ECHO_N "(cached) $ECHO_C" >&6
10079 ac_check_lib_save_LIBS
=$LIBS
10081 cat >conftest.
$ac_ext <<_ACEOF
10084 cat confdefs.h
>>conftest.
$ac_ext
10085 cat >>conftest.
$ac_ext <<_ACEOF
10086 /* end confdefs.h. */
10088 /* Override any gcc2 internal prototype to avoid an error. */
10092 /* We use char because int might match the return type of a gcc2
10093 builtin and then its argument prototype would still apply. */
10103 rm -f conftest.
$ac_objext conftest
$ac_exeext
10104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10105 (eval $ac_link) 2>conftest.er1
10107 grep -v '^ *+' conftest.er1
>conftest.err
10109 cat conftest.err
>&5
10110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10111 (exit $ac_status); } &&
10112 { ac_try
='test -z "$ac_c_werror_flag"
10113 || test ! -s conftest.err'
10114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10115 (eval $ac_try) 2>&5
10117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10118 (exit $ac_status); }; } &&
10119 { ac_try
='test -s conftest$ac_exeext'
10120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10121 (eval $ac_try) 2>&5
10123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10124 (exit $ac_status); }; }; then
10125 ac_cv_lib_m_j1f
=yes
10127 echo "$as_me: failed program was:" >&5
10128 sed 's/^/| /' conftest.
$ac_ext >&5
10132 rm -f conftest.err conftest.
$ac_objext \
10133 conftest
$ac_exeext conftest.
$ac_ext
10134 LIBS
=$ac_check_lib_save_LIBS
10136 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
10137 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
10138 if test $ac_cv_lib_m_j1f = yes; then
10140 cat >>confdefs.h
<<\_ACEOF
10146 echo "$as_me:$LINENO: checking for jn in -lm" >&5
10147 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
10148 if test "${ac_cv_lib_m_jn+set}" = set; then
10149 echo $ECHO_N "(cached) $ECHO_C" >&6
10151 ac_check_lib_save_LIBS
=$LIBS
10153 cat >conftest.
$ac_ext <<_ACEOF
10156 cat confdefs.h
>>conftest.
$ac_ext
10157 cat >>conftest.
$ac_ext <<_ACEOF
10158 /* end confdefs.h. */
10160 /* Override any gcc2 internal prototype to avoid an error. */
10164 /* We use char because int might match the return type of a gcc2
10165 builtin and then its argument prototype would still apply. */
10175 rm -f conftest.
$ac_objext conftest
$ac_exeext
10176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10177 (eval $ac_link) 2>conftest.er1
10179 grep -v '^ *+' conftest.er1
>conftest.err
10181 cat conftest.err
>&5
10182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10183 (exit $ac_status); } &&
10184 { ac_try
='test -z "$ac_c_werror_flag"
10185 || test ! -s conftest.err'
10186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10187 (eval $ac_try) 2>&5
10189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10190 (exit $ac_status); }; } &&
10191 { ac_try
='test -s conftest$ac_exeext'
10192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10193 (eval $ac_try) 2>&5
10195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10196 (exit $ac_status); }; }; then
10199 echo "$as_me: failed program was:" >&5
10200 sed 's/^/| /' conftest.
$ac_ext >&5
10204 rm -f conftest.err conftest.
$ac_objext \
10205 conftest
$ac_exeext conftest.
$ac_ext
10206 LIBS
=$ac_check_lib_save_LIBS
10208 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
10209 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
10210 if test $ac_cv_lib_m_jn = yes; then
10212 cat >>confdefs.h
<<\_ACEOF
10218 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
10219 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
10220 if test "${ac_cv_lib_m_jnf+set}" = set; then
10221 echo $ECHO_N "(cached) $ECHO_C" >&6
10223 ac_check_lib_save_LIBS
=$LIBS
10225 cat >conftest.
$ac_ext <<_ACEOF
10228 cat confdefs.h
>>conftest.
$ac_ext
10229 cat >>conftest.
$ac_ext <<_ACEOF
10230 /* end confdefs.h. */
10232 /* Override any gcc2 internal prototype to avoid an error. */
10236 /* We use char because int might match the return type of a gcc2
10237 builtin and then its argument prototype would still apply. */
10247 rm -f conftest.
$ac_objext conftest
$ac_exeext
10248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10249 (eval $ac_link) 2>conftest.er1
10251 grep -v '^ *+' conftest.er1
>conftest.err
10253 cat conftest.err
>&5
10254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10255 (exit $ac_status); } &&
10256 { ac_try
='test -z "$ac_c_werror_flag"
10257 || test ! -s conftest.err'
10258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10259 (eval $ac_try) 2>&5
10261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10262 (exit $ac_status); }; } &&
10263 { ac_try
='test -s conftest$ac_exeext'
10264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10265 (eval $ac_try) 2>&5
10267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10268 (exit $ac_status); }; }; then
10269 ac_cv_lib_m_jnf
=yes
10271 echo "$as_me: failed program was:" >&5
10272 sed 's/^/| /' conftest.
$ac_ext >&5
10276 rm -f conftest.err conftest.
$ac_objext \
10277 conftest
$ac_exeext conftest.
$ac_ext
10278 LIBS
=$ac_check_lib_save_LIBS
10280 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
10281 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
10282 if test $ac_cv_lib_m_jnf = yes; then
10284 cat >>confdefs.h
<<\_ACEOF
10290 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
10291 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
10292 if test "${ac_cv_lib_m_y0+set}" = set; then
10293 echo $ECHO_N "(cached) $ECHO_C" >&6
10295 ac_check_lib_save_LIBS
=$LIBS
10297 cat >conftest.
$ac_ext <<_ACEOF
10300 cat confdefs.h
>>conftest.
$ac_ext
10301 cat >>conftest.
$ac_ext <<_ACEOF
10302 /* end confdefs.h. */
10304 /* Override any gcc2 internal prototype to avoid an error. */
10308 /* We use char because int might match the return type of a gcc2
10309 builtin and then its argument prototype would still apply. */
10319 rm -f conftest.
$ac_objext conftest
$ac_exeext
10320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10321 (eval $ac_link) 2>conftest.er1
10323 grep -v '^ *+' conftest.er1
>conftest.err
10325 cat conftest.err
>&5
10326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10327 (exit $ac_status); } &&
10328 { ac_try
='test -z "$ac_c_werror_flag"
10329 || test ! -s conftest.err'
10330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10331 (eval $ac_try) 2>&5
10333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10334 (exit $ac_status); }; } &&
10335 { ac_try
='test -s conftest$ac_exeext'
10336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10337 (eval $ac_try) 2>&5
10339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 (exit $ac_status); }; }; then
10343 echo "$as_me: failed program was:" >&5
10344 sed 's/^/| /' conftest.
$ac_ext >&5
10348 rm -f conftest.err conftest.
$ac_objext \
10349 conftest
$ac_exeext conftest.
$ac_ext
10350 LIBS
=$ac_check_lib_save_LIBS
10352 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
10353 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
10354 if test $ac_cv_lib_m_y0 = yes; then
10356 cat >>confdefs.h
<<\_ACEOF
10362 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
10363 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
10364 if test "${ac_cv_lib_m_y0f+set}" = set; then
10365 echo $ECHO_N "(cached) $ECHO_C" >&6
10367 ac_check_lib_save_LIBS
=$LIBS
10369 cat >conftest.
$ac_ext <<_ACEOF
10372 cat confdefs.h
>>conftest.
$ac_ext
10373 cat >>conftest.
$ac_ext <<_ACEOF
10374 /* end confdefs.h. */
10376 /* Override any gcc2 internal prototype to avoid an error. */
10380 /* We use char because int might match the return type of a gcc2
10381 builtin and then its argument prototype would still apply. */
10391 rm -f conftest.
$ac_objext conftest
$ac_exeext
10392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10393 (eval $ac_link) 2>conftest.er1
10395 grep -v '^ *+' conftest.er1
>conftest.err
10397 cat conftest.err
>&5
10398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10399 (exit $ac_status); } &&
10400 { ac_try
='test -z "$ac_c_werror_flag"
10401 || test ! -s conftest.err'
10402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10403 (eval $ac_try) 2>&5
10405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10406 (exit $ac_status); }; } &&
10407 { ac_try
='test -s conftest$ac_exeext'
10408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10409 (eval $ac_try) 2>&5
10411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10412 (exit $ac_status); }; }; then
10413 ac_cv_lib_m_y0f
=yes
10415 echo "$as_me: failed program was:" >&5
10416 sed 's/^/| /' conftest.
$ac_ext >&5
10420 rm -f conftest.err conftest.
$ac_objext \
10421 conftest
$ac_exeext conftest.
$ac_ext
10422 LIBS
=$ac_check_lib_save_LIBS
10424 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
10425 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
10426 if test $ac_cv_lib_m_y0f = yes; then
10428 cat >>confdefs.h
<<\_ACEOF
10434 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
10435 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
10436 if test "${ac_cv_lib_m_y1+set}" = set; then
10437 echo $ECHO_N "(cached) $ECHO_C" >&6
10439 ac_check_lib_save_LIBS
=$LIBS
10441 cat >conftest.
$ac_ext <<_ACEOF
10444 cat confdefs.h
>>conftest.
$ac_ext
10445 cat >>conftest.
$ac_ext <<_ACEOF
10446 /* end confdefs.h. */
10448 /* Override any gcc2 internal prototype to avoid an error. */
10452 /* We use char because int might match the return type of a gcc2
10453 builtin and then its argument prototype would still apply. */
10463 rm -f conftest.
$ac_objext conftest
$ac_exeext
10464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10465 (eval $ac_link) 2>conftest.er1
10467 grep -v '^ *+' conftest.er1
>conftest.err
10469 cat conftest.err
>&5
10470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10471 (exit $ac_status); } &&
10472 { ac_try
='test -z "$ac_c_werror_flag"
10473 || test ! -s conftest.err'
10474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10475 (eval $ac_try) 2>&5
10477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10478 (exit $ac_status); }; } &&
10479 { ac_try
='test -s conftest$ac_exeext'
10480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10481 (eval $ac_try) 2>&5
10483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10484 (exit $ac_status); }; }; then
10487 echo "$as_me: failed program was:" >&5
10488 sed 's/^/| /' conftest.
$ac_ext >&5
10492 rm -f conftest.err conftest.
$ac_objext \
10493 conftest
$ac_exeext conftest.
$ac_ext
10494 LIBS
=$ac_check_lib_save_LIBS
10496 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
10497 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
10498 if test $ac_cv_lib_m_y1 = yes; then
10500 cat >>confdefs.h
<<\_ACEOF
10506 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
10507 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
10508 if test "${ac_cv_lib_m_y1f+set}" = set; then
10509 echo $ECHO_N "(cached) $ECHO_C" >&6
10511 ac_check_lib_save_LIBS
=$LIBS
10513 cat >conftest.
$ac_ext <<_ACEOF
10516 cat confdefs.h
>>conftest.
$ac_ext
10517 cat >>conftest.
$ac_ext <<_ACEOF
10518 /* end confdefs.h. */
10520 /* Override any gcc2 internal prototype to avoid an error. */
10524 /* We use char because int might match the return type of a gcc2
10525 builtin and then its argument prototype would still apply. */
10535 rm -f conftest.
$ac_objext conftest
$ac_exeext
10536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10537 (eval $ac_link) 2>conftest.er1
10539 grep -v '^ *+' conftest.er1
>conftest.err
10541 cat conftest.err
>&5
10542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10543 (exit $ac_status); } &&
10544 { ac_try
='test -z "$ac_c_werror_flag"
10545 || test ! -s conftest.err'
10546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10547 (eval $ac_try) 2>&5
10549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10550 (exit $ac_status); }; } &&
10551 { ac_try
='test -s conftest$ac_exeext'
10552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10553 (eval $ac_try) 2>&5
10555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10556 (exit $ac_status); }; }; then
10557 ac_cv_lib_m_y1f
=yes
10559 echo "$as_me: failed program was:" >&5
10560 sed 's/^/| /' conftest.
$ac_ext >&5
10564 rm -f conftest.err conftest.
$ac_objext \
10565 conftest
$ac_exeext conftest.
$ac_ext
10566 LIBS
=$ac_check_lib_save_LIBS
10568 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
10569 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
10570 if test $ac_cv_lib_m_y1f = yes; then
10572 cat >>confdefs.h
<<\_ACEOF
10578 echo "$as_me:$LINENO: checking for yn in -lm" >&5
10579 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
10580 if test "${ac_cv_lib_m_yn+set}" = set; then
10581 echo $ECHO_N "(cached) $ECHO_C" >&6
10583 ac_check_lib_save_LIBS
=$LIBS
10585 cat >conftest.
$ac_ext <<_ACEOF
10588 cat confdefs.h
>>conftest.
$ac_ext
10589 cat >>conftest.
$ac_ext <<_ACEOF
10590 /* end confdefs.h. */
10592 /* Override any gcc2 internal prototype to avoid an error. */
10596 /* We use char because int might match the return type of a gcc2
10597 builtin and then its argument prototype would still apply. */
10607 rm -f conftest.
$ac_objext conftest
$ac_exeext
10608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10609 (eval $ac_link) 2>conftest.er1
10611 grep -v '^ *+' conftest.er1
>conftest.err
10613 cat conftest.err
>&5
10614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10615 (exit $ac_status); } &&
10616 { ac_try
='test -z "$ac_c_werror_flag"
10617 || test ! -s conftest.err'
10618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10619 (eval $ac_try) 2>&5
10621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10622 (exit $ac_status); }; } &&
10623 { ac_try
='test -s conftest$ac_exeext'
10624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10625 (eval $ac_try) 2>&5
10627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10628 (exit $ac_status); }; }; then
10631 echo "$as_me: failed program was:" >&5
10632 sed 's/^/| /' conftest.
$ac_ext >&5
10636 rm -f conftest.err conftest.
$ac_objext \
10637 conftest
$ac_exeext conftest.
$ac_ext
10638 LIBS
=$ac_check_lib_save_LIBS
10640 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
10641 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
10642 if test $ac_cv_lib_m_yn = yes; then
10644 cat >>confdefs.h
<<\_ACEOF
10650 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
10651 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
10652 if test "${ac_cv_lib_m_ynf+set}" = set; then
10653 echo $ECHO_N "(cached) $ECHO_C" >&6
10655 ac_check_lib_save_LIBS
=$LIBS
10657 cat >conftest.
$ac_ext <<_ACEOF
10660 cat confdefs.h
>>conftest.
$ac_ext
10661 cat >>conftest.
$ac_ext <<_ACEOF
10662 /* end confdefs.h. */
10664 /* Override any gcc2 internal prototype to avoid an error. */
10668 /* We use char because int might match the return type of a gcc2
10669 builtin and then its argument prototype would still apply. */
10679 rm -f conftest.
$ac_objext conftest
$ac_exeext
10680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10681 (eval $ac_link) 2>conftest.er1
10683 grep -v '^ *+' conftest.er1
>conftest.err
10685 cat conftest.err
>&5
10686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10687 (exit $ac_status); } &&
10688 { ac_try
='test -z "$ac_c_werror_flag"
10689 || test ! -s conftest.err'
10690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10691 (eval $ac_try) 2>&5
10693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10694 (exit $ac_status); }; } &&
10695 { ac_try
='test -s conftest$ac_exeext'
10696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10697 (eval $ac_try) 2>&5
10699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10700 (exit $ac_status); }; }; then
10701 ac_cv_lib_m_ynf
=yes
10703 echo "$as_me: failed program was:" >&5
10704 sed 's/^/| /' conftest.
$ac_ext >&5
10708 rm -f conftest.err conftest.
$ac_objext \
10709 conftest
$ac_exeext conftest.
$ac_ext
10710 LIBS
=$ac_check_lib_save_LIBS
10712 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
10713 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
10714 if test $ac_cv_lib_m_ynf = yes; then
10716 cat >>confdefs.h
<<\_ACEOF
10723 # Fallback in case isfinite is not available.
10724 echo "$as_me:$LINENO: checking for finite in -lm" >&5
10725 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
10726 if test "${ac_cv_lib_m_finite+set}" = set; then
10727 echo $ECHO_N "(cached) $ECHO_C" >&6
10729 ac_check_lib_save_LIBS
=$LIBS
10731 cat >conftest.
$ac_ext <<_ACEOF
10734 cat confdefs.h
>>conftest.
$ac_ext
10735 cat >>conftest.
$ac_ext <<_ACEOF
10736 /* end confdefs.h. */
10738 /* Override any gcc2 internal prototype to avoid an error. */
10742 /* We use char because int might match the return type of a gcc2
10743 builtin and then its argument prototype would still apply. */
10753 rm -f conftest.
$ac_objext conftest
$ac_exeext
10754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10755 (eval $ac_link) 2>conftest.er1
10757 grep -v '^ *+' conftest.er1
>conftest.err
10759 cat conftest.err
>&5
10760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10761 (exit $ac_status); } &&
10762 { ac_try
='test -z "$ac_c_werror_flag"
10763 || test ! -s conftest.err'
10764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10765 (eval $ac_try) 2>&5
10767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10768 (exit $ac_status); }; } &&
10769 { ac_try
='test -s conftest$ac_exeext'
10770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10771 (eval $ac_try) 2>&5
10773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774 (exit $ac_status); }; }; then
10775 ac_cv_lib_m_finite
=yes
10777 echo "$as_me: failed program was:" >&5
10778 sed 's/^/| /' conftest.
$ac_ext >&5
10780 ac_cv_lib_m_finite
=no
10782 rm -f conftest.err conftest.
$ac_objext \
10783 conftest
$ac_exeext conftest.
$ac_ext
10784 LIBS
=$ac_check_lib_save_LIBS
10786 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
10787 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
10788 if test $ac_cv_lib_m_finite = yes; then
10790 cat >>confdefs.h
<<\_ACEOF
10791 #define HAVE_FINITE 1
10797 # Let the user override this
10798 # Check whether --enable-cmath or --disable-cmath was given.
10799 if test "${enable_cmath+set}" = set; then
10800 enableval
="$enable_cmath"
10801 need_math
=$enableval
10803 if test "$need_math" = "yes"; then
10804 { echo "$as_me:$LINENO: Including complex math functions in libgfor" >&5
10805 echo "$as_me: Including complex math functions in libgfor" >&6;};
10806 extra_math_obj
='$(gfor_cmath_obj)'
10809 MATH_OBJ
="$extra_math_obj"
10812 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
10813 # for struct timezone, as you might think. We also need to check how
10814 # to call gettimeofday if we have it.
10815 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10816 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
10817 if test "${ac_cv_header_time+set}" = set; then
10818 echo $ECHO_N "(cached) $ECHO_C" >&6
10820 cat >conftest.
$ac_ext <<_ACEOF
10823 cat confdefs.h
>>conftest.
$ac_ext
10824 cat >>conftest.
$ac_ext <<_ACEOF
10825 /* end confdefs.h. */
10826 #include <sys/types.h>
10827 #include <sys/time.h>
10833 if ((struct tm *) 0)
10839 rm -f conftest.
$ac_objext
10840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10841 (eval $ac_compile) 2>conftest.er1
10843 grep -v '^ *+' conftest.er1
>conftest.err
10845 cat conftest.err
>&5
10846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10847 (exit $ac_status); } &&
10848 { ac_try
='test -z "$ac_c_werror_flag"
10849 || test ! -s conftest.err'
10850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10851 (eval $ac_try) 2>&5
10853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10854 (exit $ac_status); }; } &&
10855 { ac_try
='test -s conftest.$ac_objext'
10856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10857 (eval $ac_try) 2>&5
10859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860 (exit $ac_status); }; }; then
10861 ac_cv_header_time
=yes
10863 echo "$as_me: failed program was:" >&5
10864 sed 's/^/| /' conftest.
$ac_ext >&5
10866 ac_cv_header_time
=no
10868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10870 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10871 echo "${ECHO_T}$ac_cv_header_time" >&6
10872 if test $ac_cv_header_time = yes; then
10874 cat >>confdefs.h
<<\_ACEOF
10875 #define TIME_WITH_SYS_TIME 1
10882 for ac_func
in gettimeofday
10884 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10885 echo "$as_me:$LINENO: checking for $ac_func" >&5
10886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10887 if eval "test \"\${$as_ac_var+set}\" = set"; then
10888 echo $ECHO_N "(cached) $ECHO_C" >&6
10890 cat >conftest.
$ac_ext <<_ACEOF
10893 cat confdefs.h
>>conftest.
$ac_ext
10894 cat >>conftest.
$ac_ext <<_ACEOF
10895 /* end confdefs.h. */
10896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10898 #define $ac_func innocuous_$ac_func
10900 /* System header to define __stub macros and hopefully few prototypes,
10901 which can conflict with char $ac_func (); below.
10902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10903 <limits.h> exists even on freestanding compilers. */
10906 # include <limits.h>
10908 # include <assert.h>
10913 /* Override any gcc2 internal prototype to avoid an error. */
10918 /* We use char because int might match the return type of a gcc2
10919 builtin and then its argument prototype would still apply. */
10921 /* The GNU C library defines this for functions which it implements
10922 to always fail with ENOSYS. Some functions are actually named
10923 something starting with __ and the normal name is an alias. */
10924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10927 char (*f) () = $ac_func;
10936 return f != $ac_func;
10941 rm -f conftest.
$ac_objext conftest
$ac_exeext
10942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10943 (eval $ac_link) 2>conftest.er1
10945 grep -v '^ *+' conftest.er1
>conftest.err
10947 cat conftest.err
>&5
10948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10949 (exit $ac_status); } &&
10950 { ac_try
='test -z "$ac_c_werror_flag"
10951 || test ! -s conftest.err'
10952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10953 (eval $ac_try) 2>&5
10955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10956 (exit $ac_status); }; } &&
10957 { ac_try
='test -s conftest$ac_exeext'
10958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10959 (eval $ac_try) 2>&5
10961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10962 (exit $ac_status); }; }; then
10963 eval "$as_ac_var=yes"
10965 echo "$as_me: failed program was:" >&5
10966 sed 's/^/| /' conftest.
$ac_ext >&5
10968 eval "$as_ac_var=no"
10970 rm -f conftest.err conftest.
$ac_objext \
10971 conftest
$ac_exeext conftest.
$ac_ext
10973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10975 if test `eval echo '${'$as_ac_var'}'` = yes; then
10976 cat >>confdefs.h
<<_ACEOF
10977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10983 if test "$ac_cv_func_gettimeofday" = yes; then
10984 echo "$as_me:$LINENO: checking for struct timezone" >&5
10985 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
10986 if test "${gfor_cv_struct_timezone+set}" = set; then
10987 echo $ECHO_N "(cached) $ECHO_C" >&6
10989 cat >conftest.
$ac_ext <<_ACEOF
10992 cat confdefs.h
>>conftest.
$ac_ext
10993 cat >>conftest.
$ac_ext <<_ACEOF
10994 /* end confdefs.h. */
10995 #include <sys/time.h>
10999 struct timezone tz;
11004 rm -f conftest.
$ac_objext
11005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11006 (eval $ac_compile) 2>conftest.er1
11008 grep -v '^ *+' conftest.er1
>conftest.err
11010 cat conftest.err
>&5
11011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11012 (exit $ac_status); } &&
11013 { ac_try
='test -z "$ac_c_werror_flag"
11014 || test ! -s conftest.err'
11015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11016 (eval $ac_try) 2>&5
11018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11019 (exit $ac_status); }; } &&
11020 { ac_try
='test -s conftest.$ac_objext'
11021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11022 (eval $ac_try) 2>&5
11024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11025 (exit $ac_status); }; }; then
11026 gfor_cv_struct_timezone
=yes
11028 echo "$as_me: failed program was:" >&5
11029 sed 's/^/| /' conftest.
$ac_ext >&5
11031 gfor_cv_struct_timezone
=no
11033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11035 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
11036 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
11037 if test $gfor_cv_struct_timezone = yes; then
11038 if test "$cross_compiling" = yes; then
11039 gfor_have_struct_timezone
=yes
11041 cat >conftest.
$ac_ext <<_ACEOF
11044 cat confdefs.h
>>conftest.
$ac_ext
11045 cat >>conftest.
$ac_ext <<_ACEOF
11046 /* end confdefs.h. */
11048 #ifdef TIME_WITH_SYS_TIME
11049 #include <sys/time.h>
11052 #ifdef HAVE_SYS_TIME_H
11053 #include <sys/time.h>
11060 struct timeval time;
11061 struct timezone dummy;
11062 if (gettimeofday (&time, &dummy))
11068 rm -f conftest
$ac_exeext
11069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11070 (eval $ac_link) 2>&5
11072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11073 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11075 (eval $ac_try) 2>&5
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); }; }; then
11079 gfor_have_struct_timezone
=yes
11081 echo "$as_me: program exited with status $ac_status" >&5
11082 echo "$as_me: failed program was:" >&5
11083 sed 's/^/| /' conftest.
$ac_ext >&5
11085 ( exit $ac_status )
11086 gfor_have_struct_timezone
=no
11088 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11090 if test $gfor_have_struct_timezone = yes; then
11092 cat >>confdefs.h
<<\_ACEOF
11093 #define HAVE_TIMEZONE 1
11099 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
11100 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
11101 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11102 echo $ECHO_N "(cached) $ECHO_C" >&6
11104 cat >conftest.
$ac_ext <<_ACEOF
11107 cat confdefs.h
>>conftest.
$ac_ext
11108 cat >>conftest.
$ac_ext <<_ACEOF
11109 /* end confdefs.h. */
11111 #ifdef TIME_WITH_SYS_TIME
11112 #include <sys/time.h>
11115 #ifdef HAVE_SYS_TIME_H
11116 #include <sys/time.h>
11126 struct timeval time;
11127 #ifdef HAVE_TIMEZONE
11128 struct timezone dummy;
11129 #define DUMMY &dummy
11133 gettimeofday (&time, DUMMY);
11138 rm -f conftest.
$ac_objext conftest
$ac_exeext
11139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11140 (eval $ac_link) 2>conftest.er1
11142 grep -v '^ *+' conftest.er1
>conftest.err
11144 cat conftest.err
>&5
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); } &&
11147 { ac_try
='test -z "$ac_c_werror_flag"
11148 || test ! -s conftest.err'
11149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11150 (eval $ac_try) 2>&5
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); }; } &&
11154 { ac_try
='test -s conftest$ac_exeext'
11155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11156 (eval $ac_try) 2>&5
11158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11159 (exit $ac_status); }; }; then
11160 emacs_cv_gettimeofday_two_arguments
=yes
11162 echo "$as_me: failed program was:" >&5
11163 sed 's/^/| /' conftest.
$ac_ext >&5
11165 emacs_cv_gettimeofday_two_arguments
=no
11167 rm -f conftest.err conftest.
$ac_objext \
11168 conftest
$ac_exeext conftest.
$ac_ext
11170 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
11171 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11172 if test $emacs_cv_gettimeofday_two_arguments = no
; then
11174 cat >>confdefs.h
<<\_ACEOF
11175 #define GETTIMEOFDAY_ONE_ARGUMENT 1
11181 # Attempt to assert that the target is of common type in case we don't
11182 # have C99 integer types at all.
11184 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
11185 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
11186 if test "${target_ilp32+set}" = set; then
11187 echo $ECHO_N "(cached) $ECHO_C" >&6
11190 save_CFLAGS
="$CFLAGS"
11192 cat >conftest.
$ac_ext <<_ACEOF
11195 cat confdefs.h
>>conftest.
$ac_ext
11196 cat >>conftest.
$ac_ext <<_ACEOF
11197 /* end confdefs.h. */
11203 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
11206 undefined_function ();
11212 rm -f conftest.
$ac_objext conftest
$ac_exeext
11213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11214 (eval $ac_link) 2>conftest.er1
11216 grep -v '^ *+' conftest.er1
>conftest.err
11218 cat conftest.err
>&5
11219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11220 (exit $ac_status); } &&
11221 { ac_try
='test -z "$ac_c_werror_flag"
11222 || test ! -s conftest.err'
11223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11224 (eval $ac_try) 2>&5
11226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11227 (exit $ac_status); }; } &&
11228 { ac_try
='test -s conftest$ac_exeext'
11229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11230 (eval $ac_try) 2>&5
11232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233 (exit $ac_status); }; }; then
11236 echo "$as_me: failed program was:" >&5
11237 sed 's/^/| /' conftest.
$ac_ext >&5
11241 rm -f conftest.err conftest.
$ac_objext \
11242 conftest
$ac_exeext conftest.
$ac_ext
11243 CFLAGS
="$save_CFLAGS"
11245 echo "$as_me:$LINENO: result: $target_ilp32" >&5
11246 echo "${ECHO_T}$target_ilp32" >&6
11247 if test $target_ilp32 = yes; then
11249 cat >>confdefs.h
<<\_ACEOF
11250 #define TARGET_ILP32 1
11256 # Check out attribute support.
11258 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
11259 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
11260 if test "${have_attribute_visibility+set}" = set; then
11261 echo $ECHO_N "(cached) $ECHO_C" >&6
11264 save_CFLAGS
="$CFLAGS"
11265 CFLAGS
="$CFLAGS -Werror"
11266 cat >conftest.
$ac_ext <<_ACEOF
11269 cat confdefs.h
>>conftest.
$ac_ext
11270 cat >>conftest.
$ac_ext <<_ACEOF
11271 /* end confdefs.h. */
11272 void __attribute__((visibility("hidden"))) foo(void) { }
11281 rm -f conftest.
$ac_objext
11282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11283 (eval $ac_compile) 2>conftest.er1
11285 grep -v '^ *+' conftest.er1
>conftest.err
11287 cat conftest.err
>&5
11288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11289 (exit $ac_status); } &&
11290 { ac_try
='test -z "$ac_c_werror_flag"
11291 || test ! -s conftest.err'
11292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11293 (eval $ac_try) 2>&5
11295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11296 (exit $ac_status); }; } &&
11297 { ac_try
='test -s conftest.$ac_objext'
11298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11299 (eval $ac_try) 2>&5
11301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11302 (exit $ac_status); }; }; then
11303 have_attribute_visibility
=yes
11305 echo "$as_me: failed program was:" >&5
11306 sed 's/^/| /' conftest.
$ac_ext >&5
11308 have_attribute_visibility
=no
11310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11311 CFLAGS
="$save_CFLAGS"
11313 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
11314 echo "${ECHO_T}$have_attribute_visibility" >&6
11315 if test $have_attribute_visibility = yes; then
11317 cat >>confdefs.h
<<\_ACEOF
11318 #define HAVE_ATTRIBUTE_VISIBILITY 1
11323 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
11324 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
11325 if test "${have_attribute_dllexport+set}" = set; then
11326 echo $ECHO_N "(cached) $ECHO_C" >&6
11329 save_CFLAGS
="$CFLAGS"
11330 CFLAGS
="$CFLAGS -Werror"
11331 cat >conftest.
$ac_ext <<_ACEOF
11334 cat confdefs.h
>>conftest.
$ac_ext
11335 cat >>conftest.
$ac_ext <<_ACEOF
11336 /* end confdefs.h. */
11337 void __attribute__((dllexport)) foo(void) { }
11346 rm -f conftest.
$ac_objext
11347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11348 (eval $ac_compile) 2>conftest.er1
11350 grep -v '^ *+' conftest.er1
>conftest.err
11352 cat conftest.err
>&5
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); } &&
11355 { ac_try
='test -z "$ac_c_werror_flag"
11356 || test ! -s conftest.err'
11357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11358 (eval $ac_try) 2>&5
11360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11361 (exit $ac_status); }; } &&
11362 { ac_try
='test -s conftest.$ac_objext'
11363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11364 (eval $ac_try) 2>&5
11366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11367 (exit $ac_status); }; }; then
11368 have_attribute_dllexport
=yes
11370 echo "$as_me: failed program was:" >&5
11371 sed 's/^/| /' conftest.
$ac_ext >&5
11373 have_attribute_dllexport
=no
11375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11376 CFLAGS
="$save_CFLAGS"
11378 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
11379 echo "${ECHO_T}$have_attribute_dllexport" >&6
11380 if test $have_attribute_dllexport = yes; then
11382 cat >>confdefs.h
<<\_ACEOF
11383 #define HAVE_ATTRIBUTE_DLLEXPORT 1
11388 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
11389 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
11390 if test "${have_attribute_alias+set}" = set; then
11391 echo $ECHO_N "(cached) $ECHO_C" >&6
11394 cat >conftest.
$ac_ext <<_ACEOF
11397 cat confdefs.h
>>conftest.
$ac_ext
11398 cat >>conftest.
$ac_ext <<_ACEOF
11399 /* end confdefs.h. */
11401 #define ULP STR1(__USER_LABEL_PREFIX__)
11402 #define STR1(x) STR2(x)
11405 extern void bar(void) __attribute__((alias(ULP "foo")));
11414 rm -f conftest.
$ac_objext conftest
$ac_exeext
11415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11416 (eval $ac_link) 2>conftest.er1
11418 grep -v '^ *+' conftest.er1
>conftest.err
11420 cat conftest.err
>&5
11421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11422 (exit $ac_status); } &&
11423 { ac_try
='test -z "$ac_c_werror_flag"
11424 || test ! -s conftest.err'
11425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11426 (eval $ac_try) 2>&5
11428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11429 (exit $ac_status); }; } &&
11430 { ac_try
='test -s conftest$ac_exeext'
11431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11432 (eval $ac_try) 2>&5
11434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11435 (exit $ac_status); }; }; then
11436 have_attribute_alias
=yes
11438 echo "$as_me: failed program was:" >&5
11439 sed 's/^/| /' conftest.
$ac_ext >&5
11441 have_attribute_alias
=no
11443 rm -f conftest.err conftest.
$ac_objext \
11444 conftest
$ac_exeext conftest.
$ac_ext
11446 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
11447 echo "${ECHO_T}$have_attribute_alias" >&6
11448 if test $have_attribute_alias = yes; then
11450 cat >>confdefs.h
<<\_ACEOF
11451 #define HAVE_ATTRIBUTE_ALIAS 1
11456 cat >confcache
<<\_ACEOF
11457 # This file is a shell script that caches the results of configure
11458 # tests run on this system so they can be shared between configure
11459 # scripts and configure runs, see configure's option --config-cache.
11460 # It is not useful on other systems. If it contains results you don't
11461 # want to keep, you may remove or edit it.
11463 # config.status only pays attention to the cache file if you give it
11464 # the --recheck option to rerun configure.
11466 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11467 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11468 # following values.
11472 # The following way of writing the cache mishandles newlines in values,
11473 # but we know of no workaround that is simple, portable, and efficient.
11474 # So, don't put newlines in cache variables' values.
11475 # Ultrix sh set writes to stderr and can't be redirected directly,
11476 # and sets the high bit in the cache file unless we assign to the vars.
11479 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11481 # `set' does not quote correctly, so add quotes (double-quote
11482 # substitution turns \\\\ into \\, and sed turns \\ into \).
11485 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11488 # `set' quotes correctly as required by POSIX, so do not add quotes.
11490 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11497 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11499 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11501 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11502 if test -w $cache_file; then
11503 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11504 cat confcache
>$cache_file
11506 echo "not updating unwritable cache $cache_file"
11511 if test ${multilib} = yes; then
11512 multilib_arg
="--enable-multilib"
11517 # Write our Makefile.
11518 ac_config_files
="$ac_config_files Makefile"
11520 cat >confcache
<<\_ACEOF
11521 # This file is a shell script that caches the results of configure
11522 # tests run on this system so they can be shared between configure
11523 # scripts and configure runs, see configure's option --config-cache.
11524 # It is not useful on other systems. If it contains results you don't
11525 # want to keep, you may remove or edit it.
11527 # config.status only pays attention to the cache file if you give it
11528 # the --recheck option to rerun configure.
11530 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11531 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11532 # following values.
11536 # The following way of writing the cache mishandles newlines in values,
11537 # but we know of no workaround that is simple, portable, and efficient.
11538 # So, don't put newlines in cache variables' values.
11539 # Ultrix sh set writes to stderr and can't be redirected directly,
11540 # and sets the high bit in the cache file unless we assign to the vars.
11543 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11545 # `set' does not quote correctly, so add quotes (double-quote
11546 # substitution turns \\\\ into \\, and sed turns \\ into \).
11549 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11552 # `set' quotes correctly as required by POSIX, so do not add quotes.
11554 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11561 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11563 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11565 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11566 if test -w $cache_file; then
11567 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11568 cat confcache
>$cache_file
11570 echo "not updating unwritable cache $cache_file"
11575 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11576 # Let make expand exec_prefix.
11577 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11579 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11580 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11581 # trailing colons and then remove the whole line if VPATH becomes empty
11582 # (actually we leave an empty line to preserve line numbers).
11583 if test "x$srcdir" = x.
; then
11584 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
11585 s/:*\$(srcdir):*/:/;
11586 s/:*\${srcdir}:*/:/;
11588 s/^\([^=]*=[ ]*\):*/\1/;
11594 DEFS
=-DHAVE_CONFIG_H
11598 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11599 # 1. Remove the extension, and $U if already installed.
11600 ac_i
=`echo "$ac_i" |
11601 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11603 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
11604 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
11606 LIBOBJS
=$ac_libobjs
11608 LTLIBOBJS
=$ac_ltlibobjs
11611 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11612 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11613 Usually this means the macro was only invoked conditionally." >&5
11614 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11615 Usually this means the macro was only invoked conditionally." >&2;}
11616 { (exit 1); exit 1; }; }
11619 : ${CONFIG_STATUS=./config.status}
11620 ac_clean_files_save
=$ac_clean_files
11621 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11622 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11623 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11624 cat >$CONFIG_STATUS <<_ACEOF
11626 # Generated by $as_me.
11627 # Run this file to recreate the current configuration.
11628 # Compiler output produced by configure, useful for debugging
11629 # configure, is in config.log if it exists.
11632 ac_cs_recheck=false
11634 SHELL=\${CONFIG_SHELL-$SHELL}
11637 cat >>$CONFIG_STATUS <<\_ACEOF
11638 ## --------------------- ##
11639 ## M4sh Initialization. ##
11640 ## --------------------- ##
11642 # Be Bourne compatible
11643 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
11646 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11647 # is contrary to our usage. Disable this feature.
11648 alias -g '${1+"$@"}'='"$@"'
11649 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
11652 DUALCASE
=1; export DUALCASE
# for MKS sh
11654 # Support unset when possible.
11655 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
11662 # Work around bugs in pre-3.0 UWIN ksh.
11663 $as_unset ENV MAIL MAILPATH
11670 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11671 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11672 LC_TELEPHONE LC_TIME
11674 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11675 eval $as_var=C
; export $as_var
11681 # Required to use basename.
11682 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11688 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
11689 as_basename
=basename
11695 # Name of the executable.
11696 as_me
=`$as_basename "$0" ||
11697 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11698 X"$0" : 'X\(//\)$' \| \
11699 X"$0" : 'X\(/\)$' \| \
11700 . : '\(.\)' 2>/dev/null ||
11702 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11703 /^X\/\(\/\/\)$/{ s//\1/; q; }
11704 /^X\/\(\/\).*/{ s//\1/; q; }
11708 # PATH needs CR, and LINENO needs CR and PATH.
11709 # Avoid depending upon Character Ranges.
11710 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11711 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11712 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11713 as_cr_digits
='0123456789'
11714 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11716 # The user is always right.
11717 if test "${PATH_SEPARATOR+set}" != set; then
11718 echo "#! /bin/sh" >conf$$.sh
11719 echo "exit 0" >>conf$$.sh
11721 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11730 as_lineno_1
=$LINENO
11731 as_lineno_2
=$LINENO
11732 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
11733 test "x$as_lineno_1" != "x$as_lineno_2" &&
11734 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
11735 # Find who we are. Look in the path if we contain no path at all
11738 *[\\/]* ) as_myself
=$0 ;;
11739 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11740 for as_dir
in $PATH
11743 test -z "$as_dir" && as_dir
=.
11744 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
11749 # We did not find ourselves, most probably we were run as `sh COMMAND'
11750 # in which case we are not to be found in the path.
11751 if test "x$as_myself" = x
; then
11754 if test ! -f "$as_myself"; then
11755 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11756 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11757 { (exit 1); exit 1; }; }
11759 case $CONFIG_SHELL in
11761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11762 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
11765 test -z "$as_dir" && as_dir
=.
11766 for as_base
in sh bash ksh sh5
; do
11769 if ("$as_dir/$as_base" -c '
11770 as_lineno_1=$LINENO
11771 as_lineno_2=$LINENO
11772 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11773 test "x$as_lineno_1" != "x$as_lineno_2" &&
11774 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
11775 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
11776 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
11777 CONFIG_SHELL
=$as_dir/$as_base
11778 export CONFIG_SHELL
11779 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11787 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11788 # uniformly replaced by the line number. The first 'sed' inserts a
11789 # line-number line before each line; the second 'sed' does the real
11790 # work. The second script uses 'N' to pair each line-number line
11791 # with the numbered line, and appends trailing '-' during
11792 # substitution so that $LINENO is not a special case at line end.
11793 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11794 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11795 sed '=' <$as_myself |
11800 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11803 s,^['$as_cr_digits']*\n,,
11804 ' >$as_me.lineno
&&
11805 chmod +x
$as_me.lineno ||
11806 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11807 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11808 { (exit 1); exit 1; }; }
11810 # Don't try to exec as it changes $[0], causing all sort of problems
11811 # (the dirname of $[0] is not the place where we might find the
11812 # original and so on. Autoconf is especially sensible to this).
11814 # Exit status is that of the last command.
11819 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11820 *c
*,-n*) ECHO_N
= ECHO_C
='
11822 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
11823 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
11826 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11832 rm -f conf$$ conf$$.exe conf$$.
file
11834 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11835 # We could just check for DJGPP; but this test a) works b) is more generic
11836 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11837 if test -f conf$$.exe
; then
11838 # Don't use ln at all; we don't have any links
11843 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11848 rm -f conf$$ conf$$.exe conf$$.
file
11850 if mkdir
-p .
2>/dev
/null
; then
11853 test -d .
/-p && rmdir .
/-p
11857 as_executable_p
="test -f"
11859 # Sed expression to map a string onto a valid CPP name.
11860 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11862 # Sed expression to map a string onto a valid variable name.
11863 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11867 # We need space, tab and new line, in precisely that order.
11877 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11878 # report actual input values of CONFIG_FILES etc. instead of their
11879 # values after options handling. Logging --version etc. is OK.
11883 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11884 ## Running $as_me. ##
11889 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
11890 generated by GNU Autoconf 2.59. Invocation command line was
11892 CONFIG_FILES = $CONFIG_FILES
11893 CONFIG_HEADERS = $CONFIG_HEADERS
11894 CONFIG_LINKS = $CONFIG_LINKS
11895 CONFIG_COMMANDS = $CONFIG_COMMANDS
11899 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11903 # Files that config.status was made for.
11904 if test -n "$ac_config_files"; then
11905 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11908 if test -n "$ac_config_headers"; then
11909 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11912 if test -n "$ac_config_links"; then
11913 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11916 if test -n "$ac_config_commands"; then
11917 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11920 cat >>$CONFIG_STATUS <<\_ACEOF
11923 \`$as_me' instantiates files from templates according to the
11924 current configuration.
11926 Usage: $0 [OPTIONS] [FILE]...
11928 -h, --help print this help, then exit
11929 -V, --version print version number, then exit
11930 -q, --quiet do not print progress messages
11931 -d, --debug don't remove temporary files
11932 --recheck update $as_me by reconfiguring in the same conditions
11933 --file=FILE[:TEMPLATE]
11934 instantiate the configuration file FILE
11935 --header=FILE[:TEMPLATE]
11936 instantiate the configuration header FILE
11938 Configuration files:
11941 Configuration headers:
11944 Configuration commands:
11947 Report bugs to <bug-autoconf@gnu.org>."
11950 cat >>$CONFIG_STATUS <<_ACEOF
11952 GNU Fortran Runtime Library config.status 0.2
11953 configured by $0, generated by GNU Autoconf 2.59,
11954 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11956 Copyright (C) 2003 Free Software Foundation, Inc.
11957 This config.status script is free software; the Free Software Foundation
11958 gives unlimited permission to copy, distribute and modify it."
11963 cat >>$CONFIG_STATUS <<\_ACEOF
11964 # If no file are specified by the user, then we need to provide default
11965 # value. By we need to know if files were specified by the user.
11971 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
11972 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
11980 *) # This is not an option, so the user has probably given explicit
11983 ac_need_defaults
=false
;;
11987 # Handling of the options.
11989 cat >>$CONFIG_STATUS <<\_ACEOF
11990 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11992 --version |
--vers* |
-V )
11993 echo "$ac_cs_version"; exit 0 ;;
11995 # Conflict between --help and --header
11996 { { echo "$as_me:$LINENO: error: ambiguous option: $1
11997 Try \`$0 --help' for more information." >&5
11998 echo "$as_me: error: ambiguous option: $1
11999 Try \`$0 --help' for more information." >&2;}
12000 { (exit 1); exit 1; }; };;
12001 --help |
--hel |
-h )
12002 echo "$ac_cs_usage"; exit 0 ;;
12003 --debug |
--d* |
-d )
12005 --file |
--fil |
--fi |
--f )
12007 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12008 ac_need_defaults
=false
;;
12009 --header |
--heade |
--head |
--hea )
12011 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12012 ac_need_defaults
=false
;;
12013 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12014 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12017 # This is an error.
12018 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12019 Try \`$0 --help' for more information." >&5
12020 echo "$as_me: error: unrecognized option: $1
12021 Try \`$0 --help' for more information." >&2;}
12022 { (exit 1); exit 1; }; } ;;
12024 *) ac_config_targets
="$ac_config_targets $1" ;;
12030 ac_configure_extra_args
=
12032 if $ac_cs_silent; then
12034 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12038 cat >>$CONFIG_STATUS <<_ACEOF
12039 if \$ac_cs_recheck; then
12040 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12041 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12046 cat >>$CONFIG_STATUS <<_ACEOF
12048 # INIT-COMMANDS section.
12055 with_multisubdir="$with_multisubdir"
12056 with_multisrctop="$with_multisrctop"
12057 with_target_subdir="$with_target_subdir"
12058 ac_configure_args="${multilib_arg} ${ac_configure_args}"
12059 multi_basedir="$multi_basedir"
12060 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
12067 cat >>$CONFIG_STATUS <<\_ACEOF
12068 for ac_config_target
in $ac_config_targets
12070 case "$ac_config_target" in
12071 # Handling of arguments.
12072 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12073 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
12074 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12075 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12076 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12077 { (exit 1); exit 1; }; };;
12081 # If the user did not use the arguments to specify the items to instantiate,
12082 # then the envvar interface is used. Set only those that are not.
12083 # We use the long form for the default assignment because of an extremely
12084 # bizarre bug on SunOS 4.1.3.
12085 if $ac_need_defaults; then
12086 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12087 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12088 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12091 # Have a temporary directory for convenience. Make it in the build tree
12092 # simply because there is no reason to put it here, and in addition,
12093 # creating and moving files from /tmp can sometimes cause problems.
12094 # Create a temporary directory, and hook for its removal unless debugging.
12097 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12098 trap '{ (exit 1); exit 1; }' 1 2 13 15
12101 # Create a (secure) tmp directory for tmp files.
12104 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12105 test -n "$tmp" && test -d "$tmp"
12108 tmp
=.
/confstat$$
-$RANDOM
12109 (umask 077 && mkdir
$tmp)
12112 echo "$me: cannot create a temporary directory in ." >&2
12113 { (exit 1); exit 1; }
12118 cat >>$CONFIG_STATUS <<_ACEOF
12121 # CONFIG_FILES section.
12124 # No need to generate the scripts if there are no CONFIG_FILES.
12125 # This happens for instance when ./config.status config.h
12126 if test -n "\$CONFIG_FILES"; then
12127 # Protect against being on the right side of a sed subst in config.status.
12128 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12129 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12130 s,@SHELL@,$SHELL,;t t
12131 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12132 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12133 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12134 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12135 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12136 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12137 s,@exec_prefix@,$exec_prefix,;t t
12138 s,@prefix@,$prefix,;t t
12139 s,@program_transform_name@,$program_transform_name,;t t
12140 s,@bindir@,$bindir,;t t
12141 s,@sbindir@,$sbindir,;t t
12142 s,@libexecdir@,$libexecdir,;t t
12143 s,@datadir@,$datadir,;t t
12144 s,@sysconfdir@,$sysconfdir,;t t
12145 s,@sharedstatedir@,$sharedstatedir,;t t
12146 s,@localstatedir@,$localstatedir,;t t
12147 s,@libdir@,$libdir,;t t
12148 s,@includedir@,$includedir,;t t
12149 s,@oldincludedir@,$oldincludedir,;t t
12150 s,@infodir@,$infodir,;t t
12151 s,@mandir@,$mandir,;t t
12152 s,@build_alias@,$build_alias,;t t
12153 s,@host_alias@,$host_alias,;t t
12154 s,@target_alias@,$target_alias,;t t
12155 s,@DEFS@,$DEFS,;t t
12156 s,@ECHO_C@,$ECHO_C,;t t
12157 s,@ECHO_N@,$ECHO_N,;t t
12158 s,@ECHO_T@,$ECHO_T,;t t
12159 s,@LIBS@,$LIBS,;t t
12160 s,@build@,$build,;t t
12161 s,@build_cpu@,$build_cpu,;t t
12162 s,@build_vendor@,$build_vendor,;t t
12163 s,@build_os@,$build_os,;t t
12164 s,@host@,$host,;t t
12165 s,@host_cpu@,$host_cpu,;t t
12166 s,@host_vendor@,$host_vendor,;t t
12167 s,@host_os@,$host_os,;t t
12168 s,@target@,$target,;t t
12169 s,@target_cpu@,$target_cpu,;t t
12170 s,@target_vendor@,$target_vendor,;t t
12171 s,@target_os@,$target_os,;t t
12172 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12173 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12174 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12175 s,@CYGPATH_W@,$CYGPATH_W,;t t
12176 s,@PACKAGE@,$PACKAGE,;t t
12177 s,@VERSION@,$VERSION,;t t
12178 s,@ACLOCAL@,$ACLOCAL,;t t
12179 s,@AUTOCONF@,$AUTOCONF,;t t
12180 s,@AUTOMAKE@,$AUTOMAKE,;t t
12181 s,@AUTOHEADER@,$AUTOHEADER,;t t
12182 s,@MAKEINFO@,$MAKEINFO,;t t
12183 s,@install_sh@,$install_sh,;t t
12184 s,@STRIP@,$STRIP,;t t
12185 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12186 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
12187 s,@mkdir_p@,$mkdir_p,;t t
12189 s,@SET_MAKE@,$SET_MAKE,;t t
12190 s,@am__leading_dot@,$am__leading_dot,;t t
12191 s,@AMTAR@,$AMTAR,;t t
12192 s,@am__tar@,$am__tar,;t t
12193 s,@am__untar@,$am__untar,;t t
12194 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12195 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12196 s,@MAINT@,$MAINT,;t t
12197 s,@multi_basedir@,$multi_basedir,;t t
12198 s,@toolexecdir@,$toolexecdir,;t t
12199 s,@toolexeclibdir@,$toolexeclibdir,;t t
12201 s,@ac_ct_CC@,$ac_ct_CC,;t t
12202 s,@EXEEXT@,$EXEEXT,;t t
12203 s,@OBJEXT@,$OBJEXT,;t t
12204 s,@CFLAGS@,$CFLAGS,;t t
12206 s,@ac_ct_AS@,$ac_ct_AS,;t t
12208 s,@ac_ct_AR@,$ac_ct_AR,;t t
12209 s,@RANLIB@,$RANLIB,;t t
12210 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12211 s,@LN_S@,$LN_S,;t t
12212 s,@LIBTOOL@,$LIBTOOL,;t t
12213 s,@enable_shared@,$enable_shared,;t t
12214 s,@enable_static@,$enable_static,;t t
12216 s,@FCFLAGS@,$FCFLAGS,;t t
12217 s,@LDFLAGS@,$LDFLAGS,;t t
12218 s,@ac_ct_FC@,$ac_ct_FC,;t t
12219 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
12221 s,@CPPFLAGS@,$CPPFLAGS,;t t
12222 s,@EGREP@,$EGREP,;t t
12223 s,@MATH_OBJ@,$MATH_OBJ,;t t
12224 s,@LIBOBJS@,$LIBOBJS,;t t
12225 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12230 cat >>$CONFIG_STATUS <<\_ACEOF
12231 # Split the substitutions into bite-sized pieces for seds with
12232 # small command number limits, like on Digital OSF/1 and HP-UX.
12233 ac_max_sed_lines
=48
12234 ac_sed_frag
=1 # Number of current file.
12235 ac_beg
=1 # First line for current file.
12236 ac_end
=$ac_max_sed_lines # Line after last line for current file.
12239 while $ac_more_lines; do
12240 if test $ac_beg -gt 1; then
12241 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12243 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12245 if test ! -s $tmp/subs.frag
; then
12246 ac_more_lines
=false
12248 # The purpose of the label and of the branching condition is to
12249 # speed up the sed processing (if there are no `@' at all, there
12250 # is no need to browse any of the substitutions).
12251 # These are the two extra sed commands mentioned above.
12253 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
12254 if test -z "$ac_sed_cmds"; then
12255 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
12257 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12259 ac_sed_frag
=`expr $ac_sed_frag + 1`
12261 ac_end
=`expr $ac_end + $ac_max_sed_lines`
12264 if test -z "$ac_sed_cmds"; then
12267 fi # test -n "$CONFIG_FILES"
12270 cat >>$CONFIG_STATUS <<\_ACEOF
12271 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
12272 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12274 - |
*:- |
*:-:* ) # input from stdin
12276 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12277 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12278 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12279 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12280 * ) ac_file_in
=$ac_file.
in ;;
12283 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12284 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12285 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12286 X"$ac_file" : 'X\(//\)[^/]' \| \
12287 X"$ac_file" : 'X\(//\)$' \| \
12288 X"$ac_file" : 'X\(/\)' \| \
12289 . : '\(.\)' 2>/dev/null ||
12291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12292 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12293 /^X\(\/\/\)$/{ s//\1/; q; }
12294 /^X\(\/\).*/{ s//\1/; q; }
12296 { if $as_mkdir_p; then
12301 while test ! -d "$as_dir"; do
12302 as_dirs
="$as_dir $as_dirs"
12303 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12304 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12305 X"$as_dir" : 'X\(//\)[^/]' \| \
12306 X"$as_dir" : 'X\(//\)$' \| \
12307 X"$as_dir" : 'X\(/\)' \| \
12308 . : '\(.\)' 2>/dev/null ||
12310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12311 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12312 /^X\(\/\/\)$/{ s//\1/; q; }
12313 /^X\(\/\).*/{ s//\1/; q; }
12316 test ! -n "$as_dirs" || mkdir
$as_dirs
12317 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12318 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12319 { (exit 1); exit 1; }; }; }
12323 if test "$ac_dir" != .
; then
12324 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12325 # A "../" for each directory in $ac_dir_suffix.
12326 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12328 ac_dir_suffix
= ac_top_builddir
=
12332 .
) # No --srcdir option. We are building in place.
12334 if test -z "$ac_top_builddir"; then
12337 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12339 [\\/]* | ?
:[\\/]* ) # Absolute path.
12340 ac_srcdir
=$srcdir$ac_dir_suffix;
12341 ac_top_srcdir
=$srcdir ;;
12342 *) # Relative path.
12343 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12344 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12347 # Do not use `cd foo && pwd` to compute absolute paths, because
12348 # the directories may not exist.
12350 .
) ac_abs_builddir
="$ac_dir";;
12353 .
) ac_abs_builddir
=`pwd`;;
12354 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12355 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12358 case $ac_abs_builddir in
12359 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12361 case ${ac_top_builddir}.
in
12362 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12363 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12364 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12367 case $ac_abs_builddir in
12368 .
) ac_abs_srcdir
=$ac_srcdir;;
12371 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12372 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12373 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12376 case $ac_abs_builddir in
12377 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12379 case $ac_top_srcdir in
12380 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12381 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12382 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12388 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12389 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
12392 if test x
"$ac_file" != x-
; then
12393 { echo "$as_me:$LINENO: creating $ac_file" >&5
12394 echo "$as_me: creating $ac_file" >&6;}
12397 # Let's still pretend it is `configure' which instantiates (i.e., don't
12398 # use $as_me), people would be surprised to read:
12399 # /* config.h. Generated by config.status. */
12400 if test x
"$ac_file" = x-
; then
12403 configure_input
="$ac_file. "
12405 configure_input
=$configure_input"Generated from `echo $ac_file_in |
12406 sed 's,.*/,,'` by configure."
12408 # First look for the input files in the build tree, otherwise in the
12410 ac_file_inputs
=`IFS=:
12411 for f in $ac_file_in; do
12413 -) echo $tmp/stdin ;;
12415 # Absolute (can't be DOS-style, as IFS=:)
12416 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12417 echo "$as_me: error: cannot find input file: $f" >&2;}
12418 { (exit 1); exit 1; }; }
12421 if test -f "$f"; then
12424 elif test -f "$srcdir/$f"; then
12429 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12430 echo "$as_me: error: cannot find input file: $f" >&2;}
12431 { (exit 1); exit 1; }; }
12434 done` ||
{ (exit 1); exit 1; }
12436 cat >>$CONFIG_STATUS <<_ACEOF
12440 cat >>$CONFIG_STATUS <<\_ACEOF
12442 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12443 s
,@configure_input@
,$configure_input,;t t
12444 s
,@srcdir@
,$ac_srcdir,;t t
12445 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
12446 s
,@top_srcdir@
,$ac_top_srcdir,;t t
12447 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
12448 s
,@builddir@
,$ac_builddir,;t t
12449 s
,@abs_builddir@
,$ac_abs_builddir,;t t
12450 s
,@top_builddir@
,$ac_top_builddir,;t t
12451 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
12452 s
,@INSTALL@
,$ac_INSTALL,;t t
12453 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12455 if test x"$ac_file" != x-; then
12456 mv $tmp/out $ac_file
12464 cat >>$CONFIG_STATUS <<\_ACEOF
12467 # CONFIG_HEADER section.
12470 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
12471 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12473 # ac_d sets the value in "#define NAME VALUE" lines.
12474 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12475 ac_dB
='[ ].*$,\1#\2'
12478 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12479 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12480 ac_uB
='$,\1#\2define\3'
12484 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
12485 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12487 - |
*:- |
*:-:* ) # input from stdin
12489 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12490 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12491 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12492 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12493 * ) ac_file_in
=$ac_file.
in ;;
12496 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
12497 echo "$as_me: creating $ac_file" >&6;}
12499 # First look for the input files in the build tree, otherwise in the
12501 ac_file_inputs
=`IFS=:
12502 for f in $ac_file_in; do
12504 -) echo $tmp/stdin ;;
12506 # Absolute (can't be DOS-style, as IFS=:)
12507 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12508 echo "$as_me: error: cannot find input file: $f" >&2;}
12509 { (exit 1); exit 1; }; }
12510 # Do quote $f, to prevent DOS paths from being IFS'd.
12513 if test -f "$f"; then
12516 elif test -f "$srcdir/$f"; then
12521 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12522 echo "$as_me: error: cannot find input file: $f" >&2;}
12523 { (exit 1); exit 1; }; }
12526 done` ||
{ (exit 1); exit 1; }
12527 # Remove the trailing spaces.
12528 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12532 # Transform confdefs.h into two sed scripts, `conftest.defines' and
12533 # `conftest.undefs', that substitutes the proper values into
12534 # config.h.in to produce config.h. The first handles `#define'
12535 # templates, and the second `#undef' templates.
12536 # And first: Protect against being on the right side of a sed subst in
12537 # config.status. Protect against being in an unquoted here document
12538 # in config.status.
12539 rm -f conftest.defines conftest.undefs
12540 # Using a here document instead of a string reduces the quoting nightmare.
12541 # Putting comments in sed scripts is not portable.
12543 # `end' is used to avoid that the second main sed command (meant for
12544 # 0-ary CPP macros) applies to n-ary macro definitions.
12545 # See the Autoconf documentation for `clear'.
12546 cat >confdef2sed.
sed <<\_ACEOF
12551 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12553 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12556 # If some macros were called several times there might be several times
12557 # the same #defines, which is useless. Nevertheless, we may not want to
12558 # sort them, since we want the *last* AC-DEFINE to be honored.
12559 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12560 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12561 rm -f confdef2sed.sed
12563 # This sed command replaces #undef with comments. This is necessary, for
12564 # example, in the case of _POSIX_SOURCE, which is predefined and required
12565 # on some systems where configure will not decide to define it.
12566 cat >>conftest.undefs <<\_ACEOF
12567 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12570 # Break up conftest.defines because some shells have a limit on the size
12571 # of here documents, and old seds have small limits too (100 cmds).
12572 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12573 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12574 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12575 echo ' :' >>$CONFIG_STATUS
12576 rm -f conftest.tail
12577 while grep . conftest.defines >/dev/null
12579 # Write a limited-size here document to $tmp/defines.sed.
12580 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12581 # Speed up: don't consider the non `#define' lines.
12582 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12583 # Work around the forget-to-reset-the-flag bug.
12584 echo 't clr' >>$CONFIG_STATUS
12585 echo ': clr' >>$CONFIG_STATUS
12586 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
12588 sed -f $tmp/defines.sed $tmp/in >$tmp/out
12590 mv $tmp/out $tmp/in
12592 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
12593 rm -f conftest.defines
12594 mv conftest.
tail conftest.defines
12596 rm -f conftest.defines
12597 echo ' fi # grep' >>$CONFIG_STATUS
12598 echo >>$CONFIG_STATUS
12600 # Break up conftest.undefs because some shells have a limit on the size
12601 # of here documents, and old seds have small limits too (100 cmds).
12602 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12603 rm -f conftest.
tail
12604 while grep . conftest.undefs
>/dev
/null
12606 # Write a limited-size here document to $tmp/undefs.sed.
12607 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12608 # Speed up: don't consider the non
`#undef'
12609 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12610 # Work around the forget-to-reset-the-flag bug.
12611 echo 't clr' >>$CONFIG_STATUS
12612 echo ': clr' >>$CONFIG_STATUS
12613 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12615 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12617 mv $tmp/out $tmp/in
12619 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12620 rm -f conftest.undefs
12621 mv conftest.tail conftest.undefs
12623 rm -f conftest.undefs
12625 cat >>$CONFIG_STATUS <<\_ACEOF
12626 # Let's still pretend it is `configure
' which instantiates (i.e., don't
12627 # use $as_me), people would be surprised to read:
12628 # /* config.h. Generated by config.status. */
12629 if test x
"$ac_file" = x-
; then
12630 echo "/* Generated by configure. */" >$tmp/config.h
12632 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12634 cat $tmp/in >>$tmp/config.h
12636 if test x
"$ac_file" != x-
; then
12637 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
12638 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12639 echo "$as_me: $ac_file is unchanged" >&6;}
12641 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12642 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12643 X"$ac_file" : 'X\(//\)[^/]' \| \
12644 X"$ac_file" : 'X\(//\)$' \| \
12645 X"$ac_file" : 'X\(/\)' \| \
12646 . : '\(.\)' 2>/dev/null ||
12648 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12649 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12650 /^X\(\/\/\)$/{ s//\1/; q; }
12651 /^X\(\/\).*/{ s//\1/; q; }
12653 { if $as_mkdir_p; then
12658 while test ! -d "$as_dir"; do
12659 as_dirs
="$as_dir $as_dirs"
12660 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12661 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12662 X"$as_dir" : 'X\(//\)[^/]' \| \
12663 X"$as_dir" : 'X\(//\)$' \| \
12664 X"$as_dir" : 'X\(/\)' \| \
12665 . : '\(.\)' 2>/dev/null ||
12667 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12668 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12669 /^X\(\/\/\)$/{ s//\1/; q; }
12670 /^X\(\/\).*/{ s//\1/; q; }
12673 test ! -n "$as_dirs" || mkdir
$as_dirs
12674 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12675 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12676 { (exit 1); exit 1; }; }; }
12679 mv $tmp/config.h
$ac_file
12683 rm -f $tmp/config.h
12685 # Compute $ac_file's index in $config_headers.
12687 for _am_header
in $config_headers :; do
12688 case $_am_header in
12689 $ac_file |
$ac_file:* )
12692 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
12695 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
12696 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12697 X$ac_file : 'X\(//\)[^/]' \| \
12698 X$ac_file : 'X\(//\)$' \| \
12699 X$ac_file : 'X\(/\)' \| \
12700 . : '\(.\)' 2>/dev/null ||
12702 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12703 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12704 /^X\(\/\/\)$/{ s//\1/; q; }
12705 /^X\(\/\).*/{ s//\1/; q; }
12706 s/.*/./; q'`/stamp-h
$_am_stamp_count
12709 cat >>$CONFIG_STATUS <<\_ACEOF
12712 # CONFIG_COMMANDS section.
12714 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
12715 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
12716 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12717 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
12718 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12719 X"$ac_dest" : 'X\(//\)[^/]' \| \
12720 X"$ac_dest" : 'X\(//\)$' \| \
12721 X"$ac_dest" : 'X\(/\)' \| \
12722 . : '\(.\)' 2>/dev/null ||
12724 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12725 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12726 /^X\(\/\/\)$/{ s//\1/; q; }
12727 /^X\(\/\).*/{ s//\1/; q; }
12729 { if $as_mkdir_p; then
12734 while test ! -d "$as_dir"; do
12735 as_dirs
="$as_dir $as_dirs"
12736 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12737 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12738 X"$as_dir" : 'X\(//\)[^/]' \| \
12739 X"$as_dir" : 'X\(//\)$' \| \
12740 X"$as_dir" : 'X\(/\)' \| \
12741 . : '\(.\)' 2>/dev/null ||
12743 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12744 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12745 /^X\(\/\/\)$/{ s//\1/; q; }
12746 /^X\(\/\).*/{ s//\1/; q; }
12749 test ! -n "$as_dirs" || mkdir
$as_dirs
12750 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12751 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12752 { (exit 1); exit 1; }; }; }
12756 if test "$ac_dir" != .
; then
12757 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12758 # A "../" for each directory in $ac_dir_suffix.
12759 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12761 ac_dir_suffix
= ac_top_builddir
=
12765 .
) # No --srcdir option. We are building in place.
12767 if test -z "$ac_top_builddir"; then
12770 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12772 [\\/]* | ?
:[\\/]* ) # Absolute path.
12773 ac_srcdir
=$srcdir$ac_dir_suffix;
12774 ac_top_srcdir
=$srcdir ;;
12775 *) # Relative path.
12776 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12777 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12780 # Do not use `cd foo && pwd` to compute absolute paths, because
12781 # the directories may not exist.
12783 .
) ac_abs_builddir
="$ac_dir";;
12786 .
) ac_abs_builddir
=`pwd`;;
12787 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12788 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12791 case $ac_abs_builddir in
12792 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12794 case ${ac_top_builddir}.
in
12795 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12796 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12797 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12800 case $ac_abs_builddir in
12801 .
) ac_abs_srcdir
=$ac_srcdir;;
12804 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12805 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12806 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12809 case $ac_abs_builddir in
12810 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12812 case $ac_top_srcdir in
12813 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12814 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12815 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12820 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12821 echo "$as_me: executing $ac_dest commands" >&6;}
12824 # Only add multilib support code if we just rebuilt the top-level
12826 case " $CONFIG_FILES " in
12828 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
12835 cat >>$CONFIG_STATUS <<\_ACEOF
12837 { (exit 0); exit 0; }
12839 chmod +x
$CONFIG_STATUS
12840 ac_clean_files
=$ac_clean_files_save
12843 # configure is writing to config.log, and then calls config.status.
12844 # config.status does its own redirection, appending to config.log.
12845 # Unfortunately, on DOS this fails, as config.log is still kept open
12846 # by configure, so config.status won't be able to write to it; its
12847 # output is simply discarded. So we exec the FD to /dev/null,
12848 # effectively closing config.log, so it can be properly (re)opened and
12849 # appended to by config.status. When coming back to configure, we
12850 # need to make the FD available again.
12851 if test "$no_create" != yes; then
12853 ac_config_status_args
=
12854 test "$silent" = yes &&
12855 ac_config_status_args
="$ac_config_status_args --quiet"
12857 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
12859 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12860 # would make configure fail if this is the last instruction.
12861 $ac_cs_success ||
{ (exit 1); exit 1; }