2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.2.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME
='GNU Fortran Runtime Library'
269 PACKAGE_TARNAME
='libgfortran'
270 PACKAGE_VERSION
='0.2'
271 PACKAGE_STRING
='GNU Fortran Runtime Library 0.2'
274 # Factoring default headers for most tests.
275 ac_includes_default
="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir gcc_version toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC CPP CPPFLAGS EGREP MATH_OBJ LIBOBJS LTLIBOBJS'
314 # Initialize some variables set by options.
316 ac_init_version
=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name
=s
,x
,x
,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir
='${exec_prefix}/bin'
340 sbindir
='${exec_prefix}/sbin'
341 libexecdir
='${exec_prefix}/libexec'
342 datadir
='${prefix}/share'
343 sysconfdir
='${prefix}/etc'
344 sharedstatedir
='${prefix}/com'
345 localstatedir
='${prefix}/var'
346 libdir
='${exec_prefix}/lib'
347 includedir
='${prefix}/include'
348 oldincludedir
='/usr/include'
349 infodir
='${prefix}/info'
350 mandir
='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
370 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
373 -build |
--build |
--buil |
--bui |
--bu)
374 ac_prev
=build_alias
;;
375 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
376 build_alias
=$ac_optarg ;;
378 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
379 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
380 ac_prev
=cache_file
;;
381 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
382 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
383 cache_file
=$ac_optarg ;;
386 cache_file
=config.cache
;;
388 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
390 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
392 datadir
=$ac_optarg ;;
394 -disable-* |
--disable-*)
395 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* |
--enable-*)
404 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
417 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
418 |
--exec |
--exe |
--ex)
419 ac_prev
=exec_prefix
;;
420 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
421 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
422 |
--exec=* |
--exe=* |
--ex=*)
423 exec_prefix
=$ac_optarg ;;
425 -gas |
--gas |
--ga |
--g)
426 # Obsolete; use --with-gas.
429 -help |
--help |
--hel |
--he |
-h)
431 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
432 ac_init_help
=recursive
;;
433 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
434 ac_init_help
=short
;;
436 -host |
--host |
--hos |
--ho)
437 ac_prev
=host_alias
;;
438 -host=* |
--host=* |
--hos=* |
--ho=*)
439 host_alias
=$ac_optarg ;;
441 -includedir |
--includedir |
--includedi |
--included |
--include \
442 |
--includ |
--inclu |
--incl |
--inc)
443 ac_prev
=includedir
;;
444 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
445 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
446 includedir
=$ac_optarg ;;
448 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
450 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
451 infodir
=$ac_optarg ;;
453 -libdir |
--libdir |
--libdi |
--libd)
455 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
458 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
459 |
--libexe |
--libex |
--libe)
460 ac_prev
=libexecdir
;;
461 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
462 |
--libexe=* |
--libex=* |
--libe=*)
463 libexecdir
=$ac_optarg ;;
465 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
466 |
--localstate |
--localstat |
--localsta |
--localst \
467 |
--locals |
--local |
--loca |
--loc |
--lo)
468 ac_prev
=localstatedir
;;
469 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
470 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
471 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
472 localstatedir
=$ac_optarg ;;
474 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
476 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
480 # Obsolete; use --without-fp.
483 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
484 |
--no-cr |
--no-c |
-n)
487 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
488 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
491 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
492 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
493 |
--oldin |
--oldi |
--old |
--ol |
--o)
494 ac_prev
=oldincludedir
;;
495 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
496 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
497 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
498 oldincludedir
=$ac_optarg ;;
500 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
502 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
505 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
506 |
--program-pre |
--program-pr |
--program-p)
507 ac_prev
=program_prefix
;;
508 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
509 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
510 program_prefix
=$ac_optarg ;;
512 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
513 |
--program-suf |
--program-su |
--program-s)
514 ac_prev
=program_suffix
;;
515 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
516 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
517 program_suffix
=$ac_optarg ;;
519 -program-transform-name |
--program-transform-name \
520 |
--program-transform-nam |
--program-transform-na \
521 |
--program-transform-n |
--program-transform- \
522 |
--program-transform |
--program-transfor \
523 |
--program-transfo |
--program-transf \
524 |
--program-trans |
--program-tran \
525 |
--progr-tra |
--program-tr |
--program-t)
526 ac_prev
=program_transform_name
;;
527 -program-transform-name=* |
--program-transform-name=* \
528 |
--program-transform-nam=* |
--program-transform-na=* \
529 |
--program-transform-n=* |
--program-transform-=* \
530 |
--program-transform=* |
--program-transfor=* \
531 |
--program-transfo=* |
--program-transf=* \
532 |
--program-trans=* |
--program-tran=* \
533 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
534 program_transform_name
=$ac_optarg ;;
536 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
537 |
-silent |
--silent |
--silen |
--sile |
--sil)
540 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
542 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
544 sbindir
=$ac_optarg ;;
546 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
547 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
548 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
550 ac_prev
=sharedstatedir
;;
551 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
552 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
553 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
555 sharedstatedir
=$ac_optarg ;;
557 -site |
--site |
--sit)
559 -site=* |
--site=* |
--sit=*)
562 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
564 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
567 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
568 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
569 ac_prev
=sysconfdir
;;
570 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
571 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
572 sysconfdir
=$ac_optarg ;;
574 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
575 ac_prev
=target_alias
;;
576 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
577 target_alias
=$ac_optarg ;;
579 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
582 -version |
--version |
--versio |
--versi |
--vers |
-V)
586 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package
=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* |
--without-*)
599 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package
=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
612 |
--x-incl |
--x-inc |
--x-in |
--x-i)
613 ac_prev
=x_includes
;;
614 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
615 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
616 x_includes
=$ac_optarg ;;
618 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
619 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
620 ac_prev
=x_libraries
;;
621 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
622 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
623 x_libraries
=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var
in exec_prefix prefix
660 eval ac_val
=$
`echo $ac_var`
662 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val
=$
`echo $ac_var`
674 [\\/$
]* | ?
:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x
; then
689 if test "x$build_alias" = x
; then
690 cross_compiling
=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
701 test "$silent" = yes && exec 6>/dev
/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted
=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir
=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted
=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set
=${build_alias+set}
741 ac_env_build_alias_value
=$build_alias
742 ac_cv_env_build_alias_set
=${build_alias+set}
743 ac_cv_env_build_alias_value
=$build_alias
744 ac_env_host_alias_set
=${host_alias+set}
745 ac_env_host_alias_value
=$host_alias
746 ac_cv_env_host_alias_set
=${host_alias+set}
747 ac_cv_env_host_alias_value
=$host_alias
748 ac_env_target_alias_set
=${target_alias+set}
749 ac_env_target_alias_value
=$target_alias
750 ac_cv_env_target_alias_set
=${target_alias+set}
751 ac_cv_env_target_alias_value
=$target_alias
752 ac_env_FC_set
=${FC+set}
754 ac_cv_env_FC_set
=${FC+set}
755 ac_cv_env_FC_value
=$FC
756 ac_env_FCFLAGS_set
=${FCFLAGS+set}
757 ac_env_FCFLAGS_value
=$FCFLAGS
758 ac_cv_env_FCFLAGS_set
=${FCFLAGS+set}
759 ac_cv_env_FCFLAGS_value
=$FCFLAGS
760 ac_env_LDFLAGS_set
=${LDFLAGS+set}
761 ac_env_LDFLAGS_value
=$LDFLAGS
762 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value
=$LDFLAGS
764 ac_env_CPP_set
=${CPP+set}
765 ac_env_CPP_value
=$CPP
766 ac_cv_env_CPP_set
=${CPP+set}
767 ac_cv_env_CPP_value
=$CPP
768 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
774 # Report the --help message.
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
780 \`configure' configures GNU Fortran Runtime Library 0.2 to adapt to many kinds of systems.
782 Usage: $0 [OPTION]... [VAR=VALUE]...
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
787 Defaults for the options are specified in brackets.
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
814 For better control, use the options below.
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
834 --program-prefix=PREFIX prepend PREFIX to installed program names
835 --program-suffix=SUFFIX append SUFFIX to installed program names
836 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
839 --build=BUILD configure
for building on BUILD
[guessed
]
840 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
841 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
845 if test -n "$ac_init_help"; then
846 case $ac_init_help in
847 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.2:";;
852 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
853 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
854 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
855 --enable-maintainer-mode enable make rules and dependencies not useful
856 (and sometimes confusing
) to the casual installer
857 --enable-multilib build many library versions
(default
)
858 --enable-shared=PKGS build shared libraries default
=yes
859 --enable-static=PKGS build static libraries default
=yes
860 --enable-fast-install=PKGS optimize
for fast installation default
=yes
861 --disable-libtool-lock avoid locking
(might
break parallel builds
)
862 --disable-largefile omit support
for large files
863 --enable-cmath Include complex math functions
866 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
867 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
868 --with-gnu-ld assume the C compiler uses GNU ld default
=no
869 --with-pic try to use only PIC
/non-PIC objects default
=use both
871 Some influential environment variables
:
872 CC C compiler
command
873 CFLAGS C compiler flags
874 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
875 nonstandard directory
<lib dir
>
876 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
877 headers
in a nonstandard directory
<include dir
>
878 FC Fortran compiler
command
879 FCFLAGS Fortran compiler flags
882 Use these variables to override the choices made by
`configure' or to help
883 it to find libraries and programs with nonstandard names/locations.
888 if test "$ac_init_help" = "recursive"; then
889 # If there are subdirs, report their specific --help.
891 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
892 test -d $ac_dir || continue
895 if test "$ac_dir" != .; then
896 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
897 # A "../" for each directory in $ac_dir_suffix.
898 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
900 ac_dir_suffix= ac_top_builddir=
904 .) # No --srcdir option. We are building in place.
906 if test -z "$ac_top_builddir"; then
909 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
911 [\\/]* | ?:[\\/]* ) # Absolute path.
912 ac_srcdir=$srcdir$ac_dir_suffix;
913 ac_top_srcdir=$srcdir ;;
915 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
916 ac_top_srcdir=$ac_top_builddir$srcdir ;;
919 # Do not use `cd foo
&& pwd` to compute absolute paths, because
920 # the directories may not exist.
922 .) ac_abs_builddir="$ac_dir";;
925 .) ac_abs_builddir=`pwd`;;
926 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
927 *) ac_abs_builddir=`pwd`/"$ac_dir";;
930 case $ac_abs_builddir in
931 .) ac_abs_top_builddir=${ac_top_builddir}.;;
933 case ${ac_top_builddir}. in
934 .) ac_abs_top_builddir=$ac_abs_builddir;;
935 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
936 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
939 case $ac_abs_builddir in
940 .) ac_abs_srcdir=$ac_srcdir;;
943 .) ac_abs_srcdir=$ac_abs_builddir;;
944 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
945 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
948 case $ac_abs_builddir in
949 .) ac_abs_top_srcdir=$ac_top_srcdir;;
951 case $ac_top_srcdir in
952 .) ac_abs_top_srcdir=$ac_abs_builddir;;
953 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
954 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
959 # Check for guested configure; otherwise get Cygnus style configure.
960 if test -f $ac_srcdir/configure.gnu; then
962 $SHELL $ac_srcdir/configure.gnu --help=recursive
963 elif test -f $ac_srcdir/configure; then
965 $SHELL $ac_srcdir/configure --help=recursive
966 elif test -f $ac_srcdir/configure.ac ||
967 test -f $ac_srcdir/configure.in; then
971 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
977 test -n "$ac_init_help" && exit 0
978 if $ac_init_version; then
980 GNU Fortran Runtime Library configure 0.2
981 generated by GNU Autoconf 2.59
983 Copyright (C) 2003 Free Software Foundation, Inc.
984 This configure script is free software; the Free Software Foundation
985 gives unlimited permission to copy, distribute and modify it.
991 This file contains any messages produced by compilers while
992 running configure, to aid debugging if configure makes a mistake.
994 It was created by GNU Fortran Runtime Library $as_me 0.2, which was
995 generated by GNU Autoconf 2.59. Invocation command line was
1006 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1007 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1008 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1009 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1010 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1012 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1013 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1015 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1016 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1017 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1018 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1019 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1020 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1021 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1029 test -z "$as_dir" && as_dir=.
1030 echo "PATH: $as_dir"
1045 # Keep a trace of the command line.
1046 # Strip out --no-create and --no-recursion so they do not pile up.
1047 # Strip out --silent because we don't want to record it for future runs.
1048 # Also quote any args containing shell meta-characters.
1049 # Make two passes to allow for proper duplicate-argument suppression.
1054 ac_must_keep_next=false
1060 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1064 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1065 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1068 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1070 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1071 if test $ac_must_keep_next = true; then
1072 ac_must_keep_next=false # Got value, back to normal.
1075 *=* | --config-cache | -C | -disable-* | --disable-* \
1076 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1077 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1078 | -with-* | --with-* | -without-* | --without-* | --x)
1079 case "$ac_configure_args0 " in
1080 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1083 -* ) ac_must_keep_next=true ;;
1086 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1087 # Get rid of the leading space.
1093 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1094 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1096 # When interrupted or exit'd, cleanup temporary files, and complete
1097 # config.log. We remove comments because anyway the quotes in there
1098 # would cause problems or look ugly.
1099 # WARNING: Be sure not to use single quotes in there, as some shells,
1100 # such as our DU 5.0 friend, will then `close
' the trap.
1101 trap 'exit_status
=$?
1102 # Save into config.log some information that might help in debugging.
1107 ## ---------------- ##
1108 ## Cache variables. ##
1109 ## ---------------- ##
1112 # The following way of writing the cache mishandles newlines in values,
1115 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1118 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1123 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1130 ## ----------------- ##
1131 ## Output variables. ##
1132 ## ----------------- ##
1135 for ac_var
in $ac_subst_vars
1137 eval ac_val
=$
`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1142 if test -n "$ac_subst_files"; then
1149 for ac_var
in $ac_subst_files
1151 eval ac_val
=$
`echo $ac_var`
1152 echo "$ac_var='"'"'$ac_val'"'"'"
1157 if test -s confdefs.h
; then
1164 sed "/^$/d" confdefs.h |
sort
1167 test "$ac_signal" != 0 &&
1168 echo "$as_me: caught signal $ac_signal"
1169 echo "$as_me: exit $exit_status"
1171 rm -f core
*.core
&&
1172 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1175 for ac_signal in 1 2 13 15; do
1176 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1180 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1181 rm -rf conftest* confdefs.h
1182 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1185 # Predefined preprocessor variables.
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_NAME "$PACKAGE_NAME"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_STRING "$PACKAGE_STRING"
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1212 # Let the site file select an alternate cache file if it wants to.
1213 # Prefer explicitly selected file to automatically selected ones.
1214 if test -z "$CONFIG_SITE"; then
1215 if test "x$prefix" != xNONE; then
1216 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1218 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1221 for ac_site_file in $CONFIG_SITE; do
1222 if test -r "$ac_site_file"; then
1223 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1224 echo "$as_me: loading site script $ac_site_file" >&6;}
1225 sed 's
/^
/|
/' "$ac_site_file" >&5
1230 if test -r "$cache_file"; then
1231 # Some versions of bash will fail to source /dev/null (special
1232 # files actually), so we avoid doing that.
1233 if test -f "$cache_file"; then
1234 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1235 echo "$as_me: loading cache $cache_file" >&6;}
1237 [\\/]* | ?:[\\/]* ) . $cache_file;;
1238 *) . ./$cache_file;;
1242 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1243 echo "$as_me: creating cache $cache_file" >&6;}
1247 # Check that the precious variables saved in the cache have kept the same
1249 ac_cache_corrupted=false
1250 for ac_var in `(set) 2>&1 |
1251 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1252 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1253 eval ac_new_set=\$ac_env_${ac_var}_set
1254 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1255 eval ac_new_val="\$ac_env_${ac_var}_value"
1256 case $ac_old_set,$ac_new_set in
1258 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1260 ac_cache_corrupted=: ;;
1262 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1263 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1264 ac_cache_corrupted=: ;;
1267 if test "x$ac_old_val" != "x$ac_new_val"; then
1268 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1269 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1270 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1271 echo "$as_me: former value: $ac_old_val" >&2;}
1272 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1273 echo "$as_me: current value: $ac_new_val" >&2;}
1274 ac_cache_corrupted=:
1277 # Pass precious variables to config.status.
1278 if test "$ac_new_set" = set; then
1280 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1282 *) ac_arg=$ac_var=$ac_new_val ;;
1284 case " $ac_configure_args " in
1285 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1286 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1290 if $ac_cache_corrupted; then
1291 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1292 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1293 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1294 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1295 { (exit 1); exit 1; }; }
1299 ac_cpp='$CPP $CPPFLAGS'
1300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1301 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1330 ac_config_headers="$ac_config_headers config.h"
1337 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1338 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1339 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1340 if test "${enable_version_specific_runtime_libs+set}" = set; then
1341 enableval="$enable_version_specific_runtime_libs"
1342 case "$enableval" in
1343 yes) version_specific_libs=yes ;;
1344 no) version_specific_libs=no ;;
1345 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1346 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1347 { (exit 1); exit 1; }; };;
1350 version_specific_libs=no
1352 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1353 echo "${ECHO_T}$version_specific_libs" >&6
1356 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1358 # You will slowly go insane if you do not grok the following fact: when
1359 # building this library, the top-level /target/ becomes the library's
/host
/.
1361 # configure then causes --target to default to --host, exactly like any
1362 # other package using autoconf. Therefore, 'target' and 'host' will
1363 # always be the same. This makes sense both for native and cross compilers
1364 # just think about it for a little while. :-)
1366 # Also, if this library is being configured as part of a cross compiler, the
1367 # top-level configure script will pass the "real" host as $with_cross_host.
1369 # Do not delete or change the following two lines. For why, see
1370 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1372 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1373 if test -f $ac_dir/install-sh
; then
1375 ac_install_sh
="$ac_aux_dir/install-sh -c"
1377 elif test -f $ac_dir/install.sh
; then
1379 ac_install_sh
="$ac_aux_dir/install.sh -c"
1381 elif test -f $ac_dir/shtool
; then
1383 ac_install_sh
="$ac_aux_dir/shtool install -c"
1387 if test -z "$ac_aux_dir"; then
1388 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1389 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1390 { (exit 1); exit 1; }; }
1392 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1393 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1394 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1396 # Make sure we can run config.sub.
1397 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1398 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1399 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1400 { (exit 1); exit 1; }; }
1402 echo "$as_me:$LINENO: checking build system type" >&5
1403 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1404 if test "${ac_cv_build+set}" = set; then
1405 echo $ECHO_N "(cached) $ECHO_C" >&6
1407 ac_cv_build_alias
=$build_alias
1408 test -z "$ac_cv_build_alias" &&
1409 ac_cv_build_alias
=`$ac_config_guess`
1410 test -z "$ac_cv_build_alias" &&
1411 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1412 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1413 { (exit 1); exit 1; }; }
1414 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1415 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1416 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1417 { (exit 1); exit 1; }; }
1420 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1421 echo "${ECHO_T}$ac_cv_build" >&6
1423 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1424 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1425 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1428 echo "$as_me:$LINENO: checking host system type" >&5
1429 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1430 if test "${ac_cv_host+set}" = set; then
1431 echo $ECHO_N "(cached) $ECHO_C" >&6
1433 ac_cv_host_alias
=$host_alias
1434 test -z "$ac_cv_host_alias" &&
1435 ac_cv_host_alias
=$ac_cv_build_alias
1436 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1437 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1438 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1439 { (exit 1); exit 1; }; }
1442 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1443 echo "${ECHO_T}$ac_cv_host" >&6
1445 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1446 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1447 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1450 echo "$as_me:$LINENO: checking target system type" >&5
1451 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1452 if test "${ac_cv_target+set}" = set; then
1453 echo $ECHO_N "(cached) $ECHO_C" >&6
1455 ac_cv_target_alias
=$target_alias
1456 test "x$ac_cv_target_alias" = "x" &&
1457 ac_cv_target_alias
=$ac_cv_host_alias
1458 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1459 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1460 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1461 { (exit 1); exit 1; }; }
1464 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1465 echo "${ECHO_T}$ac_cv_target" >&6
1466 target
=$ac_cv_target
1467 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1468 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1469 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1472 # The aliases save the names the user supplied, while $host etc.
1473 # will get canonicalized.
1474 test -n "$target_alias" &&
1475 test "$program_prefix$program_suffix$program_transform_name" = \
1477 program_prefix
=${target_alias}-
1478 target_alias
=${target_alias-$host_alias}
1480 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1481 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1482 # 1.8.2: minimum required version
1483 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1484 # of other PACKAGE_* variables will, however, and there's nothing
1485 # we can do about that; they come from AC_INIT).
1486 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1487 # file in the top srcdir, etc, etc), so stop complaining.
1488 # no-dependencies: turns off auto dependency generation (just for now)
1489 # -Wall: turns on all automake warnings...
1490 # -Wno-portability: ...except this one, since GNU make is required.
1491 am__api_version
="1.9"
1492 # Find a good install program. We prefer a C program (faster),
1493 # so one script is as good as another. But avoid the broken or
1494 # incompatible versions:
1495 # SysV /etc/install, /usr/sbin/install
1496 # SunOS /usr/etc/install
1497 # IRIX /sbin/install
1499 # AmigaOS /C/install, which installs bootblocks on floppy discs
1500 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1501 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1502 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1503 # OS/2's system install, which has a completely different semantic
1504 # ./install, which can be erroneously created by make from ./install.sh.
1505 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1506 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1507 if test -z "$INSTALL"; then
1508 if test "${ac_cv_path_install+set}" = set; then
1509 echo $ECHO_N "(cached) $ECHO_C" >&6
1511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1515 test -z "$as_dir" && as_dir
=.
1516 # Account for people who put trailing slashes in PATH elements.
1518 .
/ | .
// |
/cC
/* | \
1519 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1520 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1523 # OSF1 and SCO ODT 3.0 have their own names for install.
1524 # Don't use installbsd from OSF since it installs stuff as root
1526 for ac_prog
in ginstall scoinst
install; do
1527 for ac_exec_ext
in '' $ac_executable_extensions; do
1528 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1529 if test $ac_prog = install &&
1530 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1531 # AIX install. It has an incompatible calling convention.
1533 elif test $ac_prog = install &&
1534 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1535 # program-specific install script used by HP pwplus--don't use.
1538 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1550 if test "${ac_cv_path_install+set}" = set; then
1551 INSTALL
=$ac_cv_path_install
1553 # As a last resort, use the slow shell script. We don't cache a
1554 # path for INSTALL within a source directory, because that will
1555 # break other packages using the cache if that directory is
1556 # removed, or if the path is relative.
1557 INSTALL
=$ac_install_sh
1560 echo "$as_me:$LINENO: result: $INSTALL" >&5
1561 echo "${ECHO_T}$INSTALL" >&6
1563 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1564 # It thinks the first close brace ends the variable substitution.
1565 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1567 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1569 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1571 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1572 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1575 echo timestamp
> conftest.
file
1576 # Do `set' in a subshell so we don't clobber the current shell's
1577 # arguments. Must try -L first in case configure is actually a
1578 # symlink; some systems play weird games with the mod time of symlinks
1579 # (eg FreeBSD returns the mod time of the symlink's containing
1582 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1583 if test "$*" = "X"; then
1585 set X
`ls -t $srcdir/configure conftest.file`
1588 if test "$*" != "X $srcdir/configure conftest.file" \
1589 && test "$*" != "X conftest.file $srcdir/configure"; then
1591 # If neither matched, then we have a broken ls. This can happen
1592 # if, for instance, CONFIG_SHELL is bash and it inherits a
1593 # broken ls alias from the environment. This has actually
1594 # happened. Such a system could not be considered "sane".
1595 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1596 alias in your environment" >&5
1597 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1598 alias in your environment" >&2;}
1599 { (exit 1); exit 1; }; }
1602 test "$2" = conftest.
file
1608 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1609 Check your system clock" >&5
1610 echo "$as_me: error: newly created file is older than distributed files!
1611 Check your system clock" >&2;}
1612 { (exit 1); exit 1; }; }
1614 echo "$as_me:$LINENO: result: yes" >&5
1615 echo "${ECHO_T}yes" >&6
1616 test "$program_prefix" != NONE
&&
1617 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1618 # Use a double $ so make ignores it.
1619 test "$program_suffix" != NONE
&&
1620 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1621 # Double any \ or $. echo might interpret backslashes.
1622 # By default was `s,x,x', remove it if useless.
1623 cat <<\_ACEOF
>conftest.
sed
1624 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1626 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1629 # expand $ac_aux_dir to an absolute path
1630 am_aux_dir
=`cd $ac_aux_dir && pwd`
1632 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1633 # Use eval to expand $SHELL
1634 if eval "$MISSING --run true"; then
1635 am_missing_run
="$MISSING --run "
1638 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1639 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1642 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1643 # We used to keeping the `.' as first argument, in order to
1644 # allow $(mkdir_p) to be used without argument. As in
1645 # $(mkdir_p) $(somedir)
1646 # where $(somedir) is conditionally defined. However this is wrong
1648 # 1. if the package is installed by a user who cannot write `.'
1649 # make install will fail,
1650 # 2. the above comment should most certainly read
1651 # $(mkdir_p) $(DESTDIR)$(somedir)
1652 # so it does not work when $(somedir) is undefined and
1653 # $(DESTDIR) is not.
1654 # To support the latter case, we have to write
1655 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1656 # so the `.' trick is pointless.
1657 mkdir_p
='mkdir -p --'
1659 # On NextStep and OpenStep, the `mkdir' command does not
1660 # recognize any option. It will interpret all options as
1661 # directories to create, and then abort because `.' already
1663 for d
in .
/-p .
/--version;
1665 test -d $d && rmdir $d
1667 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1668 if test -f "$ac_aux_dir/mkinstalldirs"; then
1669 mkdir_p
='$(mkinstalldirs)'
1671 mkdir_p
='$(install_sh) -d'
1675 for ac_prog
in gawk mawk nawk
awk
1677 # Extract the first word of "$ac_prog", so it can be a program name with args.
1678 set dummy
$ac_prog; ac_word
=$2
1679 echo "$as_me:$LINENO: checking for $ac_word" >&5
1680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1681 if test "${ac_cv_prog_AWK+set}" = set; then
1682 echo $ECHO_N "(cached) $ECHO_C" >&6
1684 if test -n "$AWK"; then
1685 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1691 test -z "$as_dir" && as_dir
=.
1692 for ac_exec_ext
in '' $ac_executable_extensions; do
1693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1694 ac_cv_prog_AWK
="$ac_prog"
1695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1704 if test -n "$AWK"; then
1705 echo "$as_me:$LINENO: result: $AWK" >&5
1706 echo "${ECHO_T}$AWK" >&6
1708 echo "$as_me:$LINENO: result: no" >&5
1709 echo "${ECHO_T}no" >&6
1712 test -n "$AWK" && break
1715 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1716 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1717 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1718 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1719 echo $ECHO_N "(cached) $ECHO_C" >&6
1721 cat >conftest.
make <<\_ACEOF
1723 @
echo 'ac_maketemp="$(MAKE)"'
1725 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1726 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1727 if test -n "$ac_maketemp"; then
1728 eval ac_cv_prog_make_
${ac_make}_set
=yes
1730 eval ac_cv_prog_make_
${ac_make}_set
=no
1734 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1735 echo "$as_me:$LINENO: result: yes" >&5
1736 echo "${ECHO_T}yes" >&6
1739 echo "$as_me:$LINENO: result: no" >&5
1740 echo "${ECHO_T}no" >&6
1741 SET_MAKE
="MAKE=${MAKE-make}"
1744 rm -rf .tst
2>/dev
/null
1745 mkdir .tst
2>/dev
/null
1746 if test -d .tst
; then
1751 rmdir .tst
2>/dev
/null
1753 # test to see if srcdir already configured
1754 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1755 test -f $srcdir/config.status
; then
1756 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1757 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1758 { (exit 1); exit 1; }; }
1761 # test whether we have cygpath
1762 if test -z "$CYGPATH_W"; then
1763 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1764 CYGPATH_W
='cygpath -w'
1771 # Define the identity of the package.
1772 PACKAGE
='libgfortran'
1776 # Some tools Automake needs.
1778 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1781 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1784 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1787 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1790 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1792 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1794 # Installed binaries are usually stripped using `strip' when the user
1795 # run `make install-strip'. However `strip' might not be the right
1796 # tool to use in cross-compilation environments, therefore Automake
1797 # will honor the `STRIP' environment variable to overrule this program.
1798 if test "$cross_compiling" != no
; then
1799 if test -n "$ac_tool_prefix"; then
1800 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1801 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1802 echo "$as_me:$LINENO: checking for $ac_word" >&5
1803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1804 if test "${ac_cv_prog_STRIP+set}" = set; then
1805 echo $ECHO_N "(cached) $ECHO_C" >&6
1807 if test -n "$STRIP"; then
1808 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1814 test -z "$as_dir" && as_dir
=.
1815 for ac_exec_ext
in '' $ac_executable_extensions; do
1816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1817 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1826 STRIP
=$ac_cv_prog_STRIP
1827 if test -n "$STRIP"; then
1828 echo "$as_me:$LINENO: result: $STRIP" >&5
1829 echo "${ECHO_T}$STRIP" >&6
1831 echo "$as_me:$LINENO: result: no" >&5
1832 echo "${ECHO_T}no" >&6
1836 if test -z "$ac_cv_prog_STRIP"; then
1838 # Extract the first word of "strip", so it can be a program name with args.
1839 set dummy strip
; ac_word
=$2
1840 echo "$as_me:$LINENO: checking for $ac_word" >&5
1841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1842 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1843 echo $ECHO_N "(cached) $ECHO_C" >&6
1845 if test -n "$ac_ct_STRIP"; then
1846 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1852 test -z "$as_dir" && as_dir
=.
1853 for ac_exec_ext
in '' $ac_executable_extensions; do
1854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1855 ac_cv_prog_ac_ct_STRIP
="strip"
1856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1862 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1865 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1866 if test -n "$ac_ct_STRIP"; then
1867 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1868 echo "${ECHO_T}$ac_ct_STRIP" >&6
1870 echo "$as_me:$LINENO: result: no" >&5
1871 echo "${ECHO_T}no" >&6
1876 STRIP
="$ac_cv_prog_STRIP"
1880 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1882 # We need awk for the "check" target. The system "awk" is bad on
1884 # Always define AMTAR for backward compatibility.
1886 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1888 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1895 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1896 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1897 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1898 if test "${enable_maintainer_mode+set}" = set; then
1899 enableval
="$enable_maintainer_mode"
1900 USE_MAINTAINER_MODE
=$enableval
1902 USE_MAINTAINER_MODE
=no
1904 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1905 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1908 if test $USE_MAINTAINER_MODE = yes; then
1909 MAINTAINER_MODE_TRUE
=
1910 MAINTAINER_MODE_FALSE
='#'
1912 MAINTAINER_MODE_TRUE
='#'
1913 MAINTAINER_MODE_FALSE
=
1916 MAINT
=$MAINTAINER_MODE_TRUE
1919 # Default to --enable-multilib
1920 # Check whether --enable-multilib or --disable-multilib was given.
1921 if test "${enable_multilib+set}" = set; then
1922 enableval
="$enable_multilib"
1923 case "$enableval" in
1924 yes) multilib
=yes ;;
1926 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1927 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1928 { (exit 1); exit 1; }; } ;;
1934 # We may get other options which we leave undocumented:
1935 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1936 # See config-ml.in if you want the gory details.
1938 if test "$srcdir" = "."; then
1939 if test "$with_target_subdir" != "."; then
1940 multi_basedir
="$srcdir/$with_multisrctop../.."
1942 multi_basedir
="$srcdir/$with_multisrctop.."
1945 multi_basedir
="$srcdir/.."
1949 ac_config_commands
="$ac_config_commands default-1"
1952 # Handy for debugging:
1953 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1955 # Are we being configured with some form of cross compiler?
1956 # NB: We don't actually need to know this just now, but when, say, a test
1957 # suite is included, we'll have to know.
1958 if test "$build" != "$host"; then
1959 LIBGFOR_IS_NATIVE
=false
1962 LIBGFOR_IS_NATIVE
=true
1965 # Process the option "--enable-version-specific-runtime-libs"
1966 gcc_version_trigger
=${srcdir}/..
/gcc
/version.c
1967 gcc_version_full
=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/'`
1968 gcc_version
=`echo ${gcc_version_full} | sed -e 's/\(^ *\) .*/\1/'`
1971 # Calculate toolexeclibdir
1972 # Also toolexecdir, though it's only used in toolexeclibdir
1973 case ${version_specific_libs} in
1975 # Need the gcc compiler version to know where to install libraries
1976 # and header files if --enable-version-specific-runtime-libs option
1978 toolexecdir
='$(libdir)/gcc/$(target_alias)'
1979 toolexeclibdir
='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
1982 if test -n "$with_cross_host" &&
1983 test x
"$with_cross_host" != x
"no"; then
1984 # Install a library built with a cross compiler in tooldir, not libdir.
1985 toolexecdir
='$(exec_prefix)/$(target_alias)'
1986 toolexeclibdir
='$(toolexecdir)/lib'
1988 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
1989 toolexeclibdir
='$(libdir)'
1991 multi_os_directory
=`$CC -print-multi-os-directory`
1992 case $multi_os_directory in
1993 .
) ;; # Avoid trailing /.
1994 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
2001 # Check the compiler.
2002 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2003 # We must force CC to /not/ be precious variables; otherwise
2004 # the wrong, non-multilib-adjusted value will be used in multilibs.
2005 # As a side effect, we have to subst CFLAGS ourselves.
2010 ac_cpp
='$CPP $CPPFLAGS'
2011 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2012 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2013 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2014 if test -n "$ac_tool_prefix"; then
2015 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2016 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2017 echo "$as_me:$LINENO: checking for $ac_word" >&5
2018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2019 if test "${ac_cv_prog_CC+set}" = set; then
2020 echo $ECHO_N "(cached) $ECHO_C" >&6
2022 if test -n "$CC"; then
2023 ac_cv_prog_CC
="$CC" # Let the user override the test.
2025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2029 test -z "$as_dir" && as_dir
=.
2030 for ac_exec_ext
in '' $ac_executable_extensions; do
2031 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2032 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2042 if test -n "$CC"; then
2043 echo "$as_me:$LINENO: result: $CC" >&5
2044 echo "${ECHO_T}$CC" >&6
2046 echo "$as_me:$LINENO: result: no" >&5
2047 echo "${ECHO_T}no" >&6
2051 if test -z "$ac_cv_prog_CC"; then
2053 # Extract the first word of "gcc", so it can be a program name with args.
2054 set dummy gcc
; ac_word
=$2
2055 echo "$as_me:$LINENO: checking for $ac_word" >&5
2056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2057 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2058 echo $ECHO_N "(cached) $ECHO_C" >&6
2060 if test -n "$ac_ct_CC"; then
2061 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2067 test -z "$as_dir" && as_dir
=.
2068 for ac_exec_ext
in '' $ac_executable_extensions; do
2069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2070 ac_cv_prog_ac_ct_CC
="gcc"
2071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2079 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2080 if test -n "$ac_ct_CC"; then
2081 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2082 echo "${ECHO_T}$ac_ct_CC" >&6
2084 echo "$as_me:$LINENO: result: no" >&5
2085 echo "${ECHO_T}no" >&6
2093 if test -z "$CC"; then
2094 if test -n "$ac_tool_prefix"; then
2095 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2096 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2097 echo "$as_me:$LINENO: checking for $ac_word" >&5
2098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2099 if test "${ac_cv_prog_CC+set}" = set; then
2100 echo $ECHO_N "(cached) $ECHO_C" >&6
2102 if test -n "$CC"; then
2103 ac_cv_prog_CC
="$CC" # Let the user override the test.
2105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2109 test -z "$as_dir" && as_dir
=.
2110 for ac_exec_ext
in '' $ac_executable_extensions; do
2111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2112 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2122 if test -n "$CC"; then
2123 echo "$as_me:$LINENO: result: $CC" >&5
2124 echo "${ECHO_T}$CC" >&6
2126 echo "$as_me:$LINENO: result: no" >&5
2127 echo "${ECHO_T}no" >&6
2131 if test -z "$ac_cv_prog_CC"; then
2133 # Extract the first word of "cc", so it can be a program name with args.
2134 set dummy cc
; ac_word
=$2
2135 echo "$as_me:$LINENO: checking for $ac_word" >&5
2136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2137 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2138 echo $ECHO_N "(cached) $ECHO_C" >&6
2140 if test -n "$ac_ct_CC"; then
2141 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2147 test -z "$as_dir" && as_dir
=.
2148 for ac_exec_ext
in '' $ac_executable_extensions; do
2149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2150 ac_cv_prog_ac_ct_CC
="cc"
2151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2159 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2160 if test -n "$ac_ct_CC"; then
2161 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2162 echo "${ECHO_T}$ac_ct_CC" >&6
2164 echo "$as_me:$LINENO: result: no" >&5
2165 echo "${ECHO_T}no" >&6
2174 if test -z "$CC"; then
2175 # Extract the first word of "cc", so it can be a program name with args.
2176 set dummy cc
; ac_word
=$2
2177 echo "$as_me:$LINENO: checking for $ac_word" >&5
2178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2179 if test "${ac_cv_prog_CC+set}" = set; then
2180 echo $ECHO_N "(cached) $ECHO_C" >&6
2182 if test -n "$CC"; then
2183 ac_cv_prog_CC
="$CC" # Let the user override the test.
2186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2190 test -z "$as_dir" && as_dir
=.
2191 for ac_exec_ext
in '' $ac_executable_extensions; do
2192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2193 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2194 ac_prog_rejected
=yes
2198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2204 if test $ac_prog_rejected = yes; then
2205 # We found a bogon in the path, so make sure we never use it.
2206 set dummy
$ac_cv_prog_CC
2208 if test $# != 0; then
2209 # We chose a different compiler from the bogus one.
2210 # However, it has the same basename, so the bogon will be chosen
2211 # first if we set CC to just the basename; use the full file name.
2213 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2219 if test -n "$CC"; then
2220 echo "$as_me:$LINENO: result: $CC" >&5
2221 echo "${ECHO_T}$CC" >&6
2223 echo "$as_me:$LINENO: result: no" >&5
2224 echo "${ECHO_T}no" >&6
2228 if test -z "$CC"; then
2229 if test -n "$ac_tool_prefix"; then
2232 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2233 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2234 echo "$as_me:$LINENO: checking for $ac_word" >&5
2235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2236 if test "${ac_cv_prog_CC+set}" = set; then
2237 echo $ECHO_N "(cached) $ECHO_C" >&6
2239 if test -n "$CC"; then
2240 ac_cv_prog_CC
="$CC" # Let the user override the test.
2242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2246 test -z "$as_dir" && as_dir
=.
2247 for ac_exec_ext
in '' $ac_executable_extensions; do
2248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2249 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2259 if test -n "$CC"; then
2260 echo "$as_me:$LINENO: result: $CC" >&5
2261 echo "${ECHO_T}$CC" >&6
2263 echo "$as_me:$LINENO: result: no" >&5
2264 echo "${ECHO_T}no" >&6
2267 test -n "$CC" && break
2270 if test -z "$CC"; then
2274 # Extract the first word of "$ac_prog", so it can be a program name with args.
2275 set dummy
$ac_prog; ac_word
=$2
2276 echo "$as_me:$LINENO: checking for $ac_word" >&5
2277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2278 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2279 echo $ECHO_N "(cached) $ECHO_C" >&6
2281 if test -n "$ac_ct_CC"; then
2282 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2288 test -z "$as_dir" && as_dir
=.
2289 for ac_exec_ext
in '' $ac_executable_extensions; do
2290 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2291 ac_cv_prog_ac_ct_CC
="$ac_prog"
2292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2300 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2301 if test -n "$ac_ct_CC"; then
2302 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2303 echo "${ECHO_T}$ac_ct_CC" >&6
2305 echo "$as_me:$LINENO: result: no" >&5
2306 echo "${ECHO_T}no" >&6
2309 test -n "$ac_ct_CC" && break
2318 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2319 See \`config.log' for more details." >&5
2320 echo "$as_me: error: no acceptable C compiler found in \$PATH
2321 See \`config.log' for more details." >&2;}
2322 { (exit 1); exit 1; }; }
2324 # Provide some information about the compiler.
2325 echo "$as_me:$LINENO:" \
2326 "checking for C compiler version" >&5
2327 ac_compiler
=`set X $ac_compile; echo $2`
2328 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2329 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2332 (exit $ac_status); }
2333 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2334 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2337 (exit $ac_status); }
2338 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2339 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2342 (exit $ac_status); }
2344 cat >conftest.
$ac_ext <<_ACEOF
2347 cat confdefs.h
>>conftest.
$ac_ext
2348 cat >>conftest.
$ac_ext <<_ACEOF
2349 /* end confdefs.h. */
2360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2361 (eval $ac_link) 2>&5
2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364 (exit $ac_status); }; then
2370 if test x
$gcc_no_link = xyes
; then
2371 # Setting cross_compile will disable run tests; it will
2372 # also disable AC_CHECK_FILE but that's generally
2373 # correct if we can't link.
2377 cat >conftest.
$ac_ext <<_ACEOF
2380 cat confdefs.h
>>conftest.
$ac_ext
2381 cat >>conftest.
$ac_ext <<_ACEOF
2382 /* end confdefs.h. */
2392 ac_clean_files_save
=$ac_clean_files
2393 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2394 # Try to create an executable without -o first, disregard a.out.
2395 # It will help us diagnose broken compilers, and finding out an intuition
2397 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2398 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2399 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2400 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2401 (eval $ac_link_default) 2>&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); }; then
2405 # Find the output, starting from the most likely. This scheme is
2406 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2409 # Be careful to initialize this variable, since it used to be cached.
2410 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2412 # b.out is created by i960 compilers.
2413 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2415 test -f "$ac_file" ||
continue
2417 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2420 # This is the source file.
2423 # We found the default executable, but exeext='' is most
2427 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2428 # FIXME: I believe we export ac_cv_exeext for Libtool,
2429 # but it would be cool to find out if it's true. Does anybody
2430 # maintain Libtool? --akim.
2438 echo "$as_me: failed program was:" >&5
2439 sed 's/^/| /' conftest.
$ac_ext >&5
2441 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2442 See \`config.log' for more details." >&5
2443 echo "$as_me: error: C compiler cannot create executables
2444 See \`config.log' for more details." >&2;}
2445 { (exit 77); exit 77; }; }
2448 ac_exeext
=$ac_cv_exeext
2449 echo "$as_me:$LINENO: result: $ac_file" >&5
2450 echo "${ECHO_T}$ac_file" >&6
2452 # Check the compiler produces executables we can run. If not, either
2453 # the compiler is broken, or we cross compile.
2454 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2455 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2456 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2457 # If not cross compiling, check that we can run a simple program.
2458 if test "$cross_compiling" != yes; then
2459 if { ac_try
='./$ac_file'
2460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464 (exit $ac_status); }; }; then
2467 if test "$cross_compiling" = maybe
; then
2470 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2471 If you meant to cross compile, use \`--host'.
2472 See \`config.log' for more details." >&5
2473 echo "$as_me: error: cannot run C compiled programs.
2474 If you meant to cross compile, use \`--host'.
2475 See \`config.log' for more details." >&2;}
2476 { (exit 1); exit 1; }; }
2480 echo "$as_me:$LINENO: result: yes" >&5
2481 echo "${ECHO_T}yes" >&6
2483 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2484 ac_clean_files
=$ac_clean_files_save
2485 # Check the compiler produces executables we can run. If not, either
2486 # the compiler is broken, or we cross compile.
2487 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2488 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2489 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2490 echo "${ECHO_T}$cross_compiling" >&6
2492 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2493 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2495 (eval $ac_link) 2>&5
2497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2498 (exit $ac_status); }; then
2499 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2500 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2501 # work properly (i.e., refer to `conftest.exe'), while it won't with
2503 for ac_file
in conftest.exe conftest conftest.
*; do
2504 test -f "$ac_file" ||
continue
2506 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2507 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2514 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2515 See \`config.log' for more details." >&5
2516 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2517 See \`config.log' for more details." >&2;}
2518 { (exit 1); exit 1; }; }
2521 rm -f conftest
$ac_cv_exeext
2522 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2523 echo "${ECHO_T}$ac_cv_exeext" >&6
2525 rm -f conftest.
$ac_ext
2526 EXEEXT
=$ac_cv_exeext
2529 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2530 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2531 if test "${ac_cv_objext+set}" = set; then
2532 echo $ECHO_N "(cached) $ECHO_C" >&6
2534 cat >conftest.
$ac_ext <<_ACEOF
2537 cat confdefs.h
>>conftest.
$ac_ext
2538 cat >>conftest.
$ac_ext <<_ACEOF
2539 /* end confdefs.h. */
2549 rm -f conftest.o conftest.obj
2550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2551 (eval $ac_compile) 2>&5
2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554 (exit $ac_status); }; then
2555 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2557 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2558 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2563 echo "$as_me: failed program was:" >&5
2564 sed 's/^/| /' conftest.
$ac_ext >&5
2566 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2567 See \`config.log' for more details." >&5
2568 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2569 See \`config.log' for more details." >&2;}
2570 { (exit 1); exit 1; }; }
2573 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2575 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2576 echo "${ECHO_T}$ac_cv_objext" >&6
2577 OBJEXT
=$ac_cv_objext
2579 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2580 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2581 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2582 echo $ECHO_N "(cached) $ECHO_C" >&6
2584 cat >conftest.
$ac_ext <<_ACEOF
2587 cat confdefs.h
>>conftest.
$ac_ext
2588 cat >>conftest.
$ac_ext <<_ACEOF
2589 /* end confdefs.h. */
2602 rm -f conftest.
$ac_objext
2603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2604 (eval $ac_compile) 2>conftest.er1
2606 grep -v '^ *+' conftest.er1
>conftest.err
2608 cat conftest.err
>&5
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); } &&
2611 { ac_try
='test -z "$ac_c_werror_flag"
2612 || test ! -s conftest.err'
2613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617 (exit $ac_status); }; } &&
2618 { ac_try
='test -s conftest.$ac_objext'
2619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); }; }; then
2626 echo "$as_me: failed program was:" >&5
2627 sed 's/^/| /' conftest.
$ac_ext >&5
2631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2632 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2635 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2636 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2637 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2638 ac_test_CFLAGS
=${CFLAGS+set}
2639 ac_save_CFLAGS
=$CFLAGS
2641 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2642 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2643 if test "${ac_cv_prog_cc_g+set}" = set; then
2644 echo $ECHO_N "(cached) $ECHO_C" >&6
2646 cat >conftest.
$ac_ext <<_ACEOF
2649 cat confdefs.h
>>conftest.
$ac_ext
2650 cat >>conftest.
$ac_ext <<_ACEOF
2651 /* end confdefs.h. */
2661 rm -f conftest.
$ac_objext
2662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2663 (eval $ac_compile) 2>conftest.er1
2665 grep -v '^ *+' conftest.er1
>conftest.err
2667 cat conftest.err
>&5
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); } &&
2670 { ac_try
='test -z "$ac_c_werror_flag"
2671 || test ! -s conftest.err'
2672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 (exit $ac_status); }; } &&
2677 { ac_try
='test -s conftest.$ac_objext'
2678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682 (exit $ac_status); }; }; then
2685 echo "$as_me: failed program was:" >&5
2686 sed 's/^/| /' conftest.
$ac_ext >&5
2690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2692 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2693 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2694 if test "$ac_test_CFLAGS" = set; then
2695 CFLAGS
=$ac_save_CFLAGS
2696 elif test $ac_cv_prog_cc_g = yes; then
2697 if test "$GCC" = yes; then
2703 if test "$GCC" = yes; then
2709 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2710 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2711 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2712 echo $ECHO_N "(cached) $ECHO_C" >&6
2714 ac_cv_prog_cc_stdc
=no
2716 cat >conftest.
$ac_ext <<_ACEOF
2719 cat confdefs.h
>>conftest.
$ac_ext
2720 cat >>conftest.
$ac_ext <<_ACEOF
2721 /* end confdefs.h. */
2724 #include <sys/types.h>
2725 #include <sys/stat.h>
2726 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2727 struct buf { int x; };
2728 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2729 static char *e (p, i)
2735 static char *f (char * (*g) (char **, int), char **p, ...)
2740 s = g (p, va_arg (v,int));
2745 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2746 function prototypes and stuff, but not '\xHH' hex character constants.
2747 These don't provoke an error unfortunately, instead are silently treated
2748 as 'x'. The following induces an error, until -std1 is added to get
2749 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2750 array size at least. It's necessary to write '\x00'==0 to get something
2751 that's true only with -std1. */
2752 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2754 int test (int i, double x);
2755 struct s1 {int (*f) (int a);};
2756 struct s2 {int (*f) (double a);};
2757 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2763 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2768 # Don't try gcc -ansi; that turns off useful extensions and
2769 # breaks some systems' header files.
2770 # AIX -qlanglvl=ansi
2771 # Ultrix and OSF/1 -std1
2772 # HP-UX 10.20 and later -Ae
2773 # HP-UX older versions -Aa -D_HPUX_SOURCE
2774 # SVR4 -Xc -D__EXTENSIONS__
2775 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2777 CC
="$ac_save_CC $ac_arg"
2778 rm -f conftest.
$ac_objext
2779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2780 (eval $ac_compile) 2>conftest.er1
2782 grep -v '^ *+' conftest.er1
>conftest.err
2784 cat conftest.err
>&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); } &&
2787 { ac_try
='test -z "$ac_c_werror_flag"
2788 || test ! -s conftest.err'
2789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); }; } &&
2794 { ac_try
='test -s conftest.$ac_objext'
2795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); }; }; then
2800 ac_cv_prog_cc_stdc
=$ac_arg
2803 echo "$as_me: failed program was:" >&5
2804 sed 's/^/| /' conftest.
$ac_ext >&5
2807 rm -f conftest.err conftest.
$ac_objext
2809 rm -f conftest.
$ac_ext conftest.
$ac_objext
2814 case "x$ac_cv_prog_cc_stdc" in
2816 echo "$as_me:$LINENO: result: none needed" >&5
2817 echo "${ECHO_T}none needed" >&6 ;;
2819 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2820 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2821 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2824 # Some people use a C++ compiler to compile C. Since we use `exit',
2825 # in C++ we need to declare it. In case someone uses the same compiler
2826 # for both compiling C and C++ we need to have the C++ compiler decide
2827 # the declaration of exit, since it's the most demanding environment.
2828 cat >conftest.
$ac_ext <<_ACEOF
2833 rm -f conftest.
$ac_objext
2834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2835 (eval $ac_compile) 2>conftest.er1
2837 grep -v '^ *+' conftest.er1
>conftest.err
2839 cat conftest.err
>&5
2840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2841 (exit $ac_status); } &&
2842 { ac_try
='test -z "$ac_c_werror_flag"
2843 || test ! -s conftest.err'
2844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848 (exit $ac_status); }; } &&
2849 { ac_try
='test -s conftest.$ac_objext'
2850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2854 (exit $ac_status); }; }; then
2855 for ac_declaration
in \
2857 'extern "C" void std::exit (int) throw (); using std::exit;' \
2858 'extern "C" void std::exit (int); using std::exit;' \
2859 'extern "C" void exit (int) throw ();' \
2860 'extern "C" void exit (int);' \
2863 cat >conftest.
$ac_ext <<_ACEOF
2866 cat confdefs.h
>>conftest.
$ac_ext
2867 cat >>conftest.
$ac_ext <<_ACEOF
2868 /* end confdefs.h. */
2879 rm -f conftest.
$ac_objext
2880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2881 (eval $ac_compile) 2>conftest.er1
2883 grep -v '^ *+' conftest.er1
>conftest.err
2885 cat conftest.err
>&5
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); } &&
2888 { ac_try
='test -z "$ac_c_werror_flag"
2889 || test ! -s conftest.err'
2890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894 (exit $ac_status); }; } &&
2895 { ac_try
='test -s conftest.$ac_objext'
2896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); }; }; then
2903 echo "$as_me: failed program was:" >&5
2904 sed 's/^/| /' conftest.
$ac_ext >&5
2908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2909 cat >conftest.
$ac_ext <<_ACEOF
2912 cat confdefs.h
>>conftest.
$ac_ext
2913 cat >>conftest.
$ac_ext <<_ACEOF
2914 /* end confdefs.h. */
2924 rm -f conftest.
$ac_objext
2925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2926 (eval $ac_compile) 2>conftest.er1
2928 grep -v '^ *+' conftest.er1
>conftest.err
2930 cat conftest.err
>&5
2931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); } &&
2933 { ac_try
='test -z "$ac_c_werror_flag"
2934 || test ! -s conftest.err'
2935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); }; } &&
2940 { ac_try
='test -s conftest.$ac_objext'
2941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945 (exit $ac_status); }; }; then
2948 echo "$as_me: failed program was:" >&5
2949 sed 's/^/| /' conftest.
$ac_ext >&5
2952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2955 if test -n "$ac_declaration"; then
2956 echo '#ifdef __cplusplus' >>confdefs.h
2957 echo $ac_declaration >>confdefs.h
2958 echo '#endif' >>confdefs.h
2962 echo "$as_me: failed program was:" >&5
2963 sed 's/^/| /' conftest.
$ac_ext >&5
2966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2968 ac_cpp
='$CPP $CPPFLAGS'
2969 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2970 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2971 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2977 # Add -Wall if we are using GCC.
2978 if test "x$GCC" = "xyes"; then
2979 CFLAGS
="$CFLAGS -Wall"
2982 # Find other programs we need.
2983 if test -n "$ac_tool_prefix"; then
2984 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2985 set dummy
${ac_tool_prefix}as
; ac_word
=$2
2986 echo "$as_me:$LINENO: checking for $ac_word" >&5
2987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2988 if test "${ac_cv_prog_AS+set}" = set; then
2989 echo $ECHO_N "(cached) $ECHO_C" >&6
2991 if test -n "$AS"; then
2992 ac_cv_prog_AS
="$AS" # Let the user override the test.
2994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2998 test -z "$as_dir" && as_dir
=.
2999 for ac_exec_ext
in '' $ac_executable_extensions; do
3000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3001 ac_cv_prog_AS
="${ac_tool_prefix}as"
3002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3011 if test -n "$AS"; then
3012 echo "$as_me:$LINENO: result: $AS" >&5
3013 echo "${ECHO_T}$AS" >&6
3015 echo "$as_me:$LINENO: result: no" >&5
3016 echo "${ECHO_T}no" >&6
3020 if test -z "$ac_cv_prog_AS"; then
3022 # Extract the first word of "as", so it can be a program name with args.
3023 set dummy as
; ac_word
=$2
3024 echo "$as_me:$LINENO: checking for $ac_word" >&5
3025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3026 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3027 echo $ECHO_N "(cached) $ECHO_C" >&6
3029 if test -n "$ac_ct_AS"; then
3030 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3036 test -z "$as_dir" && as_dir
=.
3037 for ac_exec_ext
in '' $ac_executable_extensions; do
3038 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3039 ac_cv_prog_ac_ct_AS
="as"
3040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3048 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3049 if test -n "$ac_ct_AS"; then
3050 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3051 echo "${ECHO_T}$ac_ct_AS" >&6
3053 echo "$as_me:$LINENO: result: no" >&5
3054 echo "${ECHO_T}no" >&6
3062 if test -n "$ac_tool_prefix"; then
3063 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3064 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3065 echo "$as_me:$LINENO: checking for $ac_word" >&5
3066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3067 if test "${ac_cv_prog_AR+set}" = set; then
3068 echo $ECHO_N "(cached) $ECHO_C" >&6
3070 if test -n "$AR"; then
3071 ac_cv_prog_AR
="$AR" # Let the user override the test.
3073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3077 test -z "$as_dir" && as_dir
=.
3078 for ac_exec_ext
in '' $ac_executable_extensions; do
3079 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3080 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3090 if test -n "$AR"; then
3091 echo "$as_me:$LINENO: result: $AR" >&5
3092 echo "${ECHO_T}$AR" >&6
3094 echo "$as_me:$LINENO: result: no" >&5
3095 echo "${ECHO_T}no" >&6
3099 if test -z "$ac_cv_prog_AR"; then
3101 # Extract the first word of "ar", so it can be a program name with args.
3102 set dummy
ar; ac_word
=$2
3103 echo "$as_me:$LINENO: checking for $ac_word" >&5
3104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3105 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3106 echo $ECHO_N "(cached) $ECHO_C" >&6
3108 if test -n "$ac_ct_AR"; then
3109 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3115 test -z "$as_dir" && as_dir
=.
3116 for ac_exec_ext
in '' $ac_executable_extensions; do
3117 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3118 ac_cv_prog_ac_ct_AR
="ar"
3119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3127 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3128 if test -n "$ac_ct_AR"; then
3129 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3130 echo "${ECHO_T}$ac_ct_AR" >&6
3132 echo "$as_me:$LINENO: result: no" >&5
3133 echo "${ECHO_T}no" >&6
3141 if test -n "$ac_tool_prefix"; then
3142 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3143 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3144 echo "$as_me:$LINENO: checking for $ac_word" >&5
3145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3146 if test "${ac_cv_prog_RANLIB+set}" = set; then
3147 echo $ECHO_N "(cached) $ECHO_C" >&6
3149 if test -n "$RANLIB"; then
3150 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3156 test -z "$as_dir" && as_dir
=.
3157 for ac_exec_ext
in '' $ac_executable_extensions; do
3158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3159 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3168 RANLIB
=$ac_cv_prog_RANLIB
3169 if test -n "$RANLIB"; then
3170 echo "$as_me:$LINENO: result: $RANLIB" >&5
3171 echo "${ECHO_T}$RANLIB" >&6
3173 echo "$as_me:$LINENO: result: no" >&5
3174 echo "${ECHO_T}no" >&6
3178 if test -z "$ac_cv_prog_RANLIB"; then
3179 ac_ct_RANLIB
=$RANLIB
3180 # Extract the first word of "ranlib", so it can be a program name with args.
3181 set dummy ranlib
; ac_word
=$2
3182 echo "$as_me:$LINENO: checking for $ac_word" >&5
3183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3184 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3185 echo $ECHO_N "(cached) $ECHO_C" >&6
3187 if test -n "$ac_ct_RANLIB"; then
3188 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3194 test -z "$as_dir" && as_dir
=.
3195 for ac_exec_ext
in '' $ac_executable_extensions; do
3196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3197 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3204 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
="ranlib-not-found-in-path-error"
3207 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3208 if test -n "$ac_ct_RANLIB"; then
3209 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3210 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3212 echo "$as_me:$LINENO: result: no" >&5
3213 echo "${ECHO_T}no" >&6
3216 RANLIB
=$ac_ct_RANLIB
3218 RANLIB
="$ac_cv_prog_RANLIB"
3221 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3222 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3223 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3224 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3225 echo $ECHO_N "(cached) $ECHO_C" >&6
3227 cat >conftest.
make <<\_ACEOF
3229 @
echo 'ac_maketemp="$(MAKE)"'
3231 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3232 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3233 if test -n "$ac_maketemp"; then
3234 eval ac_cv_prog_make_
${ac_make}_set
=yes
3236 eval ac_cv_prog_make_
${ac_make}_set
=no
3240 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3241 echo "$as_me:$LINENO: result: yes" >&5
3242 echo "${ECHO_T}yes" >&6
3245 echo "$as_me:$LINENO: result: no" >&5
3246 echo "${ECHO_T}no" >&6
3247 SET_MAKE
="MAKE=${MAKE-make}"
3250 # Find a good install program. We prefer a C program (faster),
3251 # so one script is as good as another. But avoid the broken or
3252 # incompatible versions:
3253 # SysV /etc/install, /usr/sbin/install
3254 # SunOS /usr/etc/install
3255 # IRIX /sbin/install
3257 # AmigaOS /C/install, which installs bootblocks on floppy discs
3258 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3259 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3260 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3261 # OS/2's system install, which has a completely different semantic
3262 # ./install, which can be erroneously created by make from ./install.sh.
3263 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3264 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3265 if test -z "$INSTALL"; then
3266 if test "${ac_cv_path_install+set}" = set; then
3267 echo $ECHO_N "(cached) $ECHO_C" >&6
3269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3273 test -z "$as_dir" && as_dir
=.
3274 # Account for people who put trailing slashes in PATH elements.
3276 .
/ | .
// |
/cC
/* | \
3277 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3278 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3281 # OSF1 and SCO ODT 3.0 have their own names for install.
3282 # Don't use installbsd from OSF since it installs stuff as root
3284 for ac_prog
in ginstall scoinst
install; do
3285 for ac_exec_ext
in '' $ac_executable_extensions; do
3286 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3287 if test $ac_prog = install &&
3288 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3289 # AIX install. It has an incompatible calling convention.
3291 elif test $ac_prog = install &&
3292 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3293 # program-specific install script used by HP pwplus--don't use.
3296 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3308 if test "${ac_cv_path_install+set}" = set; then
3309 INSTALL
=$ac_cv_path_install
3311 # As a last resort, use the slow shell script. We don't cache a
3312 # path for INSTALL within a source directory, because that will
3313 # break other packages using the cache if that directory is
3314 # removed, or if the path is relative.
3315 INSTALL
=$ac_install_sh
3318 echo "$as_me:$LINENO: result: $INSTALL" >&5
3319 echo "${ECHO_T}$INSTALL" >&6
3321 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3322 # It thinks the first close brace ends the variable substitution.
3323 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3325 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3327 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3331 #AC_MSG_NOTICE([====== Starting libtool configuration])
3333 # Check whether --enable-shared or --disable-shared was given.
3334 if test "${enable_shared+set}" = set; then
3335 enableval
="$enable_shared"
3336 p
=${PACKAGE-default}
3338 yes) enable_shared
=yes ;;
3339 no
) enable_shared
=no
;;
3342 # Look at the argument we got. We use all the common list separators.
3343 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3344 for pkg
in $enableval; do
3345 if test "X$pkg" = "X$p"; then
3355 # Check whether --enable-static or --disable-static was given.
3356 if test "${enable_static+set}" = set; then
3357 enableval
="$enable_static"
3358 p
=${PACKAGE-default}
3360 yes) enable_static
=yes ;;
3361 no
) enable_static
=no
;;
3364 # Look at the argument we got. We use all the common list separators.
3365 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3366 for pkg
in $enableval; do
3367 if test "X$pkg" = "X$p"; then
3377 # Check whether --enable-fast-install or --disable-fast-install was given.
3378 if test "${enable_fast_install+set}" = set; then
3379 enableval
="$enable_fast_install"
3380 p
=${PACKAGE-default}
3382 yes) enable_fast_install
=yes ;;
3383 no
) enable_fast_install
=no
;;
3385 enable_fast_install
=no
3386 # Look at the argument we got. We use all the common list separators.
3387 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3388 for pkg
in $enableval; do
3389 if test "X$pkg" = "X$p"; then
3390 enable_fast_install
=yes
3397 enable_fast_install
=yes
3400 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3401 if test "${with_gnu_ld+set}" = set; then
3402 withval
="$with_gnu_ld"
3403 test "$withval" = no || with_gnu_ld
=yes
3408 if test "$GCC" = yes; then
3409 # Check if gcc -print-prog-name=ld gives a path.
3410 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3411 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3414 # gcc leaves a trailing carriage return which upsets mingw
3415 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3417 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3420 # Accept absolute paths.
3421 [\\/]* |
[A-Za-z
]:[\\/]*)
3422 re_direlt
='/[^/][^/]*/\.\./'
3423 # Canonicalize the path of ld
3424 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3425 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3426 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3428 test -z "$LD" && LD
="$ac_prog"
3431 # If it fails, then pretend we aren't using GCC.
3435 # If it is relative, then search for the first ld in PATH.
3439 elif test "$with_gnu_ld" = yes; then
3440 echo "$as_me:$LINENO: checking for GNU ld" >&5
3441 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3443 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3444 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3446 if test "${lt_cv_path_LD+set}" = set; then
3447 echo $ECHO_N "(cached) $ECHO_C" >&6
3449 if test -z "$LD"; then
3450 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3451 for ac_dir
in $PATH; do
3452 test -z "$ac_dir" && ac_dir
=.
3453 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3454 lt_cv_path_LD
="$ac_dir/$ac_prog"
3455 # Check to see if the program is GNU ld. I'd rather use --version,
3456 # but apparently some GNU ld's only accept -v.
3457 # Break only if it was the GNU/non-GNU ld that we prefer.
3458 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3459 test "$with_gnu_ld" != no
&& break
3461 test "$with_gnu_ld" != yes && break
3467 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3472 if test -n "$LD"; then
3473 echo "$as_me:$LINENO: result: $LD" >&5
3474 echo "${ECHO_T}$LD" >&6
3476 echo "$as_me:$LINENO: result: no" >&5
3477 echo "${ECHO_T}no" >&6
3479 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3480 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3481 { (exit 1); exit 1; }; }
3482 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3483 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3484 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3485 echo $ECHO_N "(cached) $ECHO_C" >&6
3487 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3488 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3489 lt_cv_prog_gnu_ld
=yes
3491 lt_cv_prog_gnu_ld
=no
3494 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3495 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3496 with_gnu_ld
=$lt_cv_prog_gnu_ld
3499 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3500 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3501 if test "${lt_cv_ld_reload_flag+set}" = set; then
3502 echo $ECHO_N "(cached) $ECHO_C" >&6
3504 lt_cv_ld_reload_flag
='-r'
3506 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3507 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3508 reload_flag
=$lt_cv_ld_reload_flag
3509 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3511 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3512 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3513 if test "${lt_cv_path_NM+set}" = set; then
3514 echo $ECHO_N "(cached) $ECHO_C" >&6
3516 if test -n "$NM"; then
3517 # Let the user override the test.
3520 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3521 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3522 test -z "$ac_dir" && ac_dir
=.
3523 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3524 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3525 # Check to see if the nm accepts a BSD-compat flag.
3526 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3527 # nm: unknown option "B" ignored
3528 # Tru64's nm complains that /dev/null is an invalid object file
3529 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3530 lt_cv_path_NM
="$tmp_nm -B"
3532 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3533 lt_cv_path_NM
="$tmp_nm -p"
3536 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3537 continue # so that we can try to find one that supports BSD flags
3542 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3547 echo "$as_me:$LINENO: result: $NM" >&5
3548 echo "${ECHO_T}$NM" >&6
3550 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3551 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3553 if test "$LN_S" = "ln -s"; then
3554 echo "$as_me:$LINENO: result: yes" >&5
3555 echo "${ECHO_T}yes" >&6
3557 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3558 echo "${ECHO_T}no, using $LN_S" >&6
3561 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3562 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3563 if test "${lt_cv_deplibs_check_method+set}" = set; then
3564 echo $ECHO_N "(cached) $ECHO_C" >&6
3566 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3567 lt_cv_file_magic_test_file
=
3568 lt_cv_deplibs_check_method
='unknown'
3569 # Need to set the preceding variable on all platforms that support
3570 # interlibrary dependencies.
3571 # 'none' -- dependencies not supported.
3572 # `unknown' -- same as none, but documents that we really don't know.
3573 # 'pass_all' -- all dependencies passed with no checks.
3574 # 'test_compile' -- check by making test program.
3575 # 'file_magic [regex]' -- check by looking for files in library path
3576 # which responds to the $file_magic_cmd with a given egrep regex.
3577 # If you have `file' or equivalent on your system and you're not sure
3578 # whether `pass_all' will *always* work, you probably want this one.
3582 lt_cv_deplibs_check_method
=pass_all
3586 lt_cv_deplibs_check_method
=pass_all
3590 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3591 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3592 lt_cv_file_magic_test_file
=/shlib
/libc.so
3595 cygwin
* | mingw
* |pw32
*)
3596 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3597 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3600 darwin
* | rhapsody
*)
3601 # this will be overwritten by pass_all, but leave it in just in case
3602 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3603 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3605 rhapsody
* | darwin1.012
)
3606 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3609 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3612 lt_cv_deplibs_check_method
=pass_all
3615 freebsd
* | kfreebsd
*-gnu)
3616 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3619 # Not sure whether the presence of OpenBSD here was a mistake.
3620 # Let's accept both of them until this is cleared up.
3621 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3622 lt_cv_file_magic_cmd
=/usr
/bin
/file
3623 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3627 lt_cv_deplibs_check_method
=pass_all
3632 lt_cv_deplibs_check_method
=pass_all
3638 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3639 lt_cv_file_magic_cmd
=/usr
/bin
/file
3640 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3643 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3644 lt_cv_file_magic_cmd
=/usr
/bin
/file
3645 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3653 # this will be overridden with pass_all, but let us keep it just in case
3654 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3658 *-32|
*"-32 ") libmagic
=32-bit;;
3659 *-n32|
*"-n32 ") libmagic
=N32
;;
3660 *-64|
*"-64 ") libmagic
=64-bit;;
3661 *) libmagic
=never-match
;;
3663 # this will be overridden with pass_all, but let us keep it just in case
3664 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3667 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3668 lt_cv_deplibs_check_method
=pass_all
3671 # This must be Linux ELF.
3674 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* | sh
* )
3675 lt_cv_deplibs_check_method
=pass_all
;;
3677 # glibc up to 2.1.1 does not perform some relocations on ARM
3678 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3680 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3683 netbsd
* | knetbsd
*-gnu)
3684 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3685 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3687 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3692 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3693 lt_cv_file_magic_cmd
=/usr
/bin
/file
3694 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3697 osf3
* | osf4
* | osf5
*)
3698 # this will be overridden with pass_all, but let us keep it just in case
3699 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3700 lt_cv_file_magic_test_file
=/shlib
/libc.so
3701 lt_cv_deplibs_check_method
=pass_all
3705 lt_cv_deplibs_check_method
=pass_all
3709 lt_cv_deplibs_check_method
=pass_all
3710 lt_cv_file_magic_test_file
=/lib
/libc.so
3713 sysv5uw
[78]* | sysv4
*uw2
*)
3714 lt_cv_deplibs_check_method
=pass_all
3717 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3718 case $host_vendor in
3720 lt_cv_deplibs_check_method
=pass_all
3723 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]'
3724 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3731 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3732 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3733 file_magic_cmd
=$lt_cv_file_magic_cmd
3734 deplibs_check_method
=$lt_cv_deplibs_check_method
3740 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3742 # Only perform the check for file, if the check method requires it
3743 case $deplibs_check_method in
3745 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3746 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3747 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3748 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3749 echo $ECHO_N "(cached) $ECHO_C" >&6
3753 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3756 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3759 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3760 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3761 ac_dummy
="/usr/bin:$PATH"
3762 for ac_dir
in $ac_dummy; do
3763 test -z "$ac_dir" && ac_dir
=.
3764 if test -f $ac_dir/${ac_tool_prefix}file; then
3765 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3766 if test -n "$file_magic_test_file"; then
3767 case $deplibs_check_method in
3769 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3770 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3771 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3772 egrep "$file_magic_regex" > /dev
/null
; then
3777 *** Warning: the command libtool uses to detect shared libraries,
3778 *** $file_magic_cmd, produces output that libtool cannot recognize.
3779 *** The result is that libtool may fail to recognize shared libraries
3780 *** as such. This will affect the creation of libtool libraries that
3781 *** depend on shared libraries, but programs linked with such libtool
3782 *** libraries will work regardless of this problem. Nevertheless, you
3783 *** may want to report the problem to your system manager and/or to
3784 *** bug-libtool@gnu.org
3794 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3799 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3800 if test -n "$MAGIC_CMD"; then
3801 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3802 echo "${ECHO_T}$MAGIC_CMD" >&6
3804 echo "$as_me:$LINENO: result: no" >&5
3805 echo "${ECHO_T}no" >&6
3808 if test -z "$lt_cv_path_MAGIC_CMD"; then
3809 if test -n "$ac_tool_prefix"; then
3810 echo "$as_me:$LINENO: checking for file" >&5
3811 echo $ECHO_N "checking for file... $ECHO_C" >&6
3812 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3813 echo $ECHO_N "(cached) $ECHO_C" >&6
3817 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3820 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3823 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3824 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3825 ac_dummy
="/usr/bin:$PATH"
3826 for ac_dir
in $ac_dummy; do
3827 test -z "$ac_dir" && ac_dir
=.
3828 if test -f $ac_dir/file; then
3829 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3830 if test -n "$file_magic_test_file"; then
3831 case $deplibs_check_method in
3833 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3834 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3835 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3836 egrep "$file_magic_regex" > /dev
/null
; then
3841 *** Warning: the command libtool uses to detect shared libraries,
3842 *** $file_magic_cmd, produces output that libtool cannot recognize.
3843 *** The result is that libtool may fail to recognize shared libraries
3844 *** as such. This will affect the creation of libtool libraries that
3845 *** depend on shared libraries, but programs linked with such libtool
3846 *** libraries will work regardless of this problem. Nevertheless, you
3847 *** may want to report the problem to your system manager and/or to
3848 *** bug-libtool@gnu.org
3858 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3863 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3864 if test -n "$MAGIC_CMD"; then
3865 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3866 echo "${ECHO_T}$MAGIC_CMD" >&6
3868 echo "$as_me:$LINENO: result: no" >&5
3869 echo "${ECHO_T}no" >&6
3881 if test -n "$ac_tool_prefix"; then
3882 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3883 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3884 echo "$as_me:$LINENO: checking for $ac_word" >&5
3885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3886 if test "${ac_cv_prog_RANLIB+set}" = set; then
3887 echo $ECHO_N "(cached) $ECHO_C" >&6
3889 if test -n "$RANLIB"; then
3890 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3896 test -z "$as_dir" && as_dir
=.
3897 for ac_exec_ext
in '' $ac_executable_extensions; do
3898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3899 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3908 RANLIB
=$ac_cv_prog_RANLIB
3909 if test -n "$RANLIB"; then
3910 echo "$as_me:$LINENO: result: $RANLIB" >&5
3911 echo "${ECHO_T}$RANLIB" >&6
3913 echo "$as_me:$LINENO: result: no" >&5
3914 echo "${ECHO_T}no" >&6
3918 if test -z "$ac_cv_prog_RANLIB"; then
3919 ac_ct_RANLIB
=$RANLIB
3920 # Extract the first word of "ranlib", so it can be a program name with args.
3921 set dummy ranlib
; ac_word
=$2
3922 echo "$as_me:$LINENO: checking for $ac_word" >&5
3923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3924 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3925 echo $ECHO_N "(cached) $ECHO_C" >&6
3927 if test -n "$ac_ct_RANLIB"; then
3928 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3934 test -z "$as_dir" && as_dir
=.
3935 for ac_exec_ext
in '' $ac_executable_extensions; do
3936 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3937 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3944 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3947 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3948 if test -n "$ac_ct_RANLIB"; then
3949 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3950 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3952 echo "$as_me:$LINENO: result: no" >&5
3953 echo "${ECHO_T}no" >&6
3956 RANLIB
=$ac_ct_RANLIB
3958 RANLIB
="$ac_cv_prog_RANLIB"
3961 if test -n "$ac_tool_prefix"; then
3962 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3963 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3964 echo "$as_me:$LINENO: checking for $ac_word" >&5
3965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3966 if test "${ac_cv_prog_STRIP+set}" = set; then
3967 echo $ECHO_N "(cached) $ECHO_C" >&6
3969 if test -n "$STRIP"; then
3970 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3976 test -z "$as_dir" && as_dir
=.
3977 for ac_exec_ext
in '' $ac_executable_extensions; do
3978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3979 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3988 STRIP
=$ac_cv_prog_STRIP
3989 if test -n "$STRIP"; then
3990 echo "$as_me:$LINENO: result: $STRIP" >&5
3991 echo "${ECHO_T}$STRIP" >&6
3993 echo "$as_me:$LINENO: result: no" >&5
3994 echo "${ECHO_T}no" >&6
3998 if test -z "$ac_cv_prog_STRIP"; then
4000 # Extract the first word of "strip", so it can be a program name with args.
4001 set dummy strip
; ac_word
=$2
4002 echo "$as_me:$LINENO: checking for $ac_word" >&5
4003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4004 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4005 echo $ECHO_N "(cached) $ECHO_C" >&6
4007 if test -n "$ac_ct_STRIP"; then
4008 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4014 test -z "$as_dir" && as_dir
=.
4015 for ac_exec_ext
in '' $ac_executable_extensions; do
4016 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4017 ac_cv_prog_ac_ct_STRIP
="strip"
4018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4024 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
4027 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4028 if test -n "$ac_ct_STRIP"; then
4029 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4030 echo "${ECHO_T}$ac_ct_STRIP" >&6
4032 echo "$as_me:$LINENO: result: no" >&5
4033 echo "${ECHO_T}no" >&6
4038 STRIP
="$ac_cv_prog_STRIP"
4042 # Check for any special flags to pass to ltconfig.
4043 libtool_flags
="--cache-file=$cache_file"
4044 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4045 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4046 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4047 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4048 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4051 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4052 if test "${enable_libtool_lock+set}" = set; then
4053 enableval
="$enable_libtool_lock"
4056 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4057 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4060 # Check whether --with-pic or --without-pic was given.
4061 if test "${with_pic+set}" = set; then
4067 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4068 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4070 # Some flags need to be propagated to the compiler or linker for good
4074 # Find out which ABI we are using.
4075 echo '#line 4075 "configure"' > conftest.
$ac_ext
4076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4077 (eval $ac_compile) 2>&5
4079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4080 (exit $ac_status); }; then
4081 if test "$lt_cv_prog_gnu_ld" = yes; then
4082 case `/usr/bin/file conftest.$ac_objext` in
4084 LD
="${LD-ld} -melf32bsmip"
4087 LD
="${LD-ld} -melf32bmipn32"
4090 LD
="${LD-ld} -melf64bmip"
4094 case `/usr/bin/file conftest.$ac_objext` in
4111 # Find out which ABI we are using.
4112 echo 'int i;' > conftest.
$ac_ext
4113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4114 (eval $ac_compile) 2>&5
4116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4117 (exit $ac_status); }; then
4118 case "`/usr/bin/file conftest.o`" in
4130 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4131 # Find out which ABI we are using.
4132 echo 'int i;' > conftest.
$ac_ext
4133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4134 (eval $ac_compile) 2>&5
4136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4137 (exit $ac_status); }; then
4138 case "`/usr/bin/file conftest.o`" in
4142 LD
="${LD-ld} -m elf_i386"
4144 ppc64-
*linux
*|powerpc64-
*linux
*)
4145 LD
="${LD-ld} -m elf32ppclinux"
4148 LD
="${LD-ld} -m elf_s390"
4151 LD
="${LD-ld} -m elf32_sparc"
4158 LD
="${LD-ld} -m elf_x86_64"
4160 ppc
*-*linux
*|powerpc
*-*linux
*)
4161 LD
="${LD-ld} -m elf64ppc"
4164 LD
="${LD-ld} -m elf64_s390"
4167 LD
="${LD-ld} -m elf64_sparc"
4177 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4178 SAVE_CFLAGS
="$CFLAGS"
4179 CFLAGS
="$CFLAGS -belf"
4180 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4181 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4182 if test "${lt_cv_cc_needs_belf+set}" = set; then
4183 echo $ECHO_N "(cached) $ECHO_C" >&6
4188 ac_cpp
='$CPP $CPPFLAGS'
4189 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4190 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4191 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4193 if test x
$gcc_no_link = xyes
; then
4194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4196 { (exit 1); exit 1; }; }
4198 cat >conftest.
$ac_ext <<_ACEOF
4201 cat confdefs.h
>>conftest.
$ac_ext
4202 cat >>conftest.
$ac_ext <<_ACEOF
4203 /* end confdefs.h. */
4213 rm -f conftest.
$ac_objext conftest
$ac_exeext
4214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4215 (eval $ac_link) 2>conftest.er1
4217 grep -v '^ *+' conftest.er1
>conftest.err
4219 cat conftest.err
>&5
4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221 (exit $ac_status); } &&
4222 { ac_try
='test -z "$ac_c_werror_flag"
4223 || test ! -s conftest.err'
4224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4228 (exit $ac_status); }; } &&
4229 { ac_try
='test -s conftest$ac_exeext'
4230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4234 (exit $ac_status); }; }; then
4235 lt_cv_cc_needs_belf
=yes
4237 echo "$as_me: failed program was:" >&5
4238 sed 's/^/| /' conftest.
$ac_ext >&5
4240 lt_cv_cc_needs_belf
=no
4242 rm -f conftest.err conftest.
$ac_objext \
4243 conftest
$ac_exeext conftest.
$ac_ext
4245 ac_cpp
='$CPP $CPPFLAGS'
4246 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4247 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4248 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4251 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4252 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4253 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4254 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4255 CFLAGS
="$SAVE_CFLAGS"
4263 # Save cache, so that ltconfig can load it
4264 cat >confcache
<<\_ACEOF
4265 # This file is a shell script that caches the results of configure
4266 # tests run on this system so they can be shared between configure
4267 # scripts and configure runs, see configure's option --config-cache.
4268 # It is not useful on other systems. If it contains results you don't
4269 # want to keep, you may remove or edit it.
4271 # config.status only pays attention to the cache file if you give it
4272 # the --recheck option to rerun configure.
4274 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4275 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4280 # The following way of writing the cache mishandles newlines in values,
4281 # but we know of no workaround that is simple, portable, and efficient.
4282 # So, don't put newlines in cache variables' values.
4283 # Ultrix sh set writes to stderr and can't be redirected directly,
4284 # and sets the high bit in the cache file unless we assign to the vars.
4287 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4289 # `set' does not quote correctly, so add quotes (double-quote
4290 # substitution turns \\\\ into \\, and sed turns \\ into \).
4293 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4296 # `set' quotes correctly as required by POSIX, so do not add quotes.
4298 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4305 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4307 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4309 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4310 if test -w $cache_file; then
4311 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4312 cat confcache
>$cache_file
4314 echo "not updating unwritable cache $cache_file"
4319 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4320 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4321 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4322 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4323 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4324 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4325 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4326 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4327 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4328 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4329 echo "$as_me: error: libtool configure failed" >&2;}
4330 { (exit 1); exit 1; }; }
4332 # Reload cache, that may have been modified by ltconfig
4333 if test -r "$cache_file"; then
4334 # Some versions of bash will fail to source /dev/null (special
4335 # files actually), so we avoid doing that.
4336 if test -f "$cache_file"; then
4337 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4338 echo "$as_me: loading cache $cache_file" >&6;}
4340 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4341 *) . .
/$cache_file;;
4345 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4346 echo "$as_me: creating cache $cache_file" >&6;}
4351 # This can be used to rebuild libtool when needed
4352 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4354 # Always use our own libtool.
4355 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4357 # Redirect the config.log output again, so that the ltconfig log is not
4358 # clobbered by the next message.
4359 exec 5>>.
/config.log
4368 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4370 # We need gfortran to compile parts of the library
4371 # We can't use AC_PROG_FC because it expects a fully working gfortran.
4372 #AC_PROG_FC(gfortran)
4374 ac_ext
=${FC_SRCEXT-f}
4375 ac_compile
='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4376 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4377 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
4378 if test -n "$ac_tool_prefix"; then
4379 for ac_prog
in gfortran
4381 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4382 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4383 echo "$as_me:$LINENO: checking for $ac_word" >&5
4384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4385 if test "${ac_cv_prog_FC+set}" = set; then
4386 echo $ECHO_N "(cached) $ECHO_C" >&6
4388 if test -n "$FC"; then
4389 ac_cv_prog_FC
="$FC" # Let the user override the test.
4391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4395 test -z "$as_dir" && as_dir
=.
4396 for ac_exec_ext
in '' $ac_executable_extensions; do
4397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4398 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
4399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4408 if test -n "$FC"; then
4409 echo "$as_me:$LINENO: result: $FC" >&5
4410 echo "${ECHO_T}$FC" >&6
4412 echo "$as_me:$LINENO: result: no" >&5
4413 echo "${ECHO_T}no" >&6
4416 test -n "$FC" && break
4419 if test -z "$FC"; then
4421 for ac_prog
in gfortran
4423 # Extract the first word of "$ac_prog", so it can be a program name with args.
4424 set dummy
$ac_prog; ac_word
=$2
4425 echo "$as_me:$LINENO: checking for $ac_word" >&5
4426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4427 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4428 echo $ECHO_N "(cached) $ECHO_C" >&6
4430 if test -n "$ac_ct_FC"; then
4431 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
4433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4437 test -z "$as_dir" && as_dir
=.
4438 for ac_exec_ext
in '' $ac_executable_extensions; do
4439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4440 ac_cv_prog_ac_ct_FC
="$ac_prog"
4441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4449 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
4450 if test -n "$ac_ct_FC"; then
4451 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4452 echo "${ECHO_T}$ac_ct_FC" >&6
4454 echo "$as_me:$LINENO: result: no" >&5
4455 echo "${ECHO_T}no" >&6
4458 test -n "$ac_ct_FC" && break
4465 # Provide some information about the compiler.
4466 echo "$as_me:4466:" \
4467 "checking for Fortran compiler version" >&5
4468 ac_compiler
=`set X $ac_compile; echo $2`
4469 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4470 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473 (exit $ac_status); }
4474 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4475 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4478 (exit $ac_status); }
4479 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4480 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4483 (exit $ac_status); }
4486 # If we don't use `.F' as extension, the preprocessor is not run on the
4487 # input file. (Note that this only needs to work for GNU compilers.)
4490 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4491 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4492 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4493 echo $ECHO_N "(cached) $ECHO_C" >&6
4495 cat >conftest.
$ac_ext <<_ACEOF
4503 rm -f conftest.
$ac_objext
4504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4505 (eval $ac_compile) 2>conftest.er1
4507 grep -v '^ *+' conftest.er1
>conftest.err
4509 cat conftest.err
>&5
4510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511 (exit $ac_status); } &&
4512 { ac_try
='test -z "$ac_fc_werror_flag"
4513 || test ! -s conftest.err'
4514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518 (exit $ac_status); }; } &&
4519 { ac_try
='test -s conftest.$ac_objext'
4520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524 (exit $ac_status); }; }; then
4527 echo "$as_me: failed program was:" >&5
4528 sed 's/^/| /' conftest.
$ac_ext >&5
4532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4533 ac_cv_fc_compiler_gnu
=$ac_compiler_gnu
4536 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4537 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4539 ac_test_FFLAGS
=${FCFLAGS+set}
4540 ac_save_FFLAGS
=$FCFLAGS
4542 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4543 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4544 if test "${ac_cv_prog_fc_g+set}" = set; then
4545 echo $ECHO_N "(cached) $ECHO_C" >&6
4548 cat >conftest.
$ac_ext <<_ACEOF
4553 rm -f conftest.
$ac_objext
4554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4555 (eval $ac_compile) 2>conftest.er1
4557 grep -v '^ *+' conftest.er1
>conftest.err
4559 cat conftest.err
>&5
4560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4561 (exit $ac_status); } &&
4562 { ac_try
='test -z "$ac_fc_werror_flag"
4563 || test ! -s conftest.err'
4564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568 (exit $ac_status); }; } &&
4569 { ac_try
='test -s conftest.$ac_objext'
4570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4574 (exit $ac_status); }; }; then
4577 echo "$as_me: failed program was:" >&5
4578 sed 's/^/| /' conftest.
$ac_ext >&5
4582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4585 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4586 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4587 if test "$ac_test_FFLAGS" = set; then
4588 FCFLAGS
=$ac_save_FFLAGS
4589 elif test $ac_cv_prog_fc_g = yes; then
4590 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
4596 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
4604 ac_cpp
='$CPP $CPPFLAGS'
4605 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4606 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4607 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4609 FCFLAGS
="$FCFLAGS -Wall -fno-repack-arrays -fno-underscoring"
4611 # Check whether --enable-largefile or --disable-largefile was given.
4612 if test "${enable_largefile+set}" = set; then
4613 enableval
="$enable_largefile"
4616 if test "$enable_largefile" != no
; then
4618 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4619 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4620 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4621 echo $ECHO_N "(cached) $ECHO_C" >&6
4623 ac_cv_sys_largefile_CC
=no
4624 if test "$GCC" != yes; then
4627 # IRIX 6.2 and later do not support large files by default,
4628 # so use the C compiler's -n32 option if that helps.
4629 cat >conftest.
$ac_ext <<_ACEOF
4632 cat confdefs.h
>>conftest.
$ac_ext
4633 cat >>conftest.
$ac_ext <<_ACEOF
4634 /* end confdefs.h. */
4635 #include <sys/types.h>
4636 /* Check that off_t can represent 2**63 - 1 correctly.
4637 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4638 since some C++ compilers masquerading as C compilers
4639 incorrectly reject 9223372036854775807. */
4640 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4641 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4642 && LARGE_OFF_T % 2147483647 == 1)
4652 rm -f conftest.
$ac_objext
4653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4654 (eval $ac_compile) 2>conftest.er1
4656 grep -v '^ *+' conftest.er1
>conftest.err
4658 cat conftest.err
>&5
4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660 (exit $ac_status); } &&
4661 { ac_try
='test -z "$ac_c_werror_flag"
4662 || test ! -s conftest.err'
4663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4667 (exit $ac_status); }; } &&
4668 { ac_try
='test -s conftest.$ac_objext'
4669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673 (exit $ac_status); }; }; then
4676 echo "$as_me: failed program was:" >&5
4677 sed 's/^/| /' conftest.
$ac_ext >&5
4680 rm -f conftest.err conftest.
$ac_objext
4682 rm -f conftest.
$ac_objext
4683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4684 (eval $ac_compile) 2>conftest.er1
4686 grep -v '^ *+' conftest.er1
>conftest.err
4688 cat conftest.err
>&5
4689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690 (exit $ac_status); } &&
4691 { ac_try
='test -z "$ac_c_werror_flag"
4692 || test ! -s conftest.err'
4693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); }; } &&
4698 { ac_try
='test -s conftest.$ac_objext'
4699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703 (exit $ac_status); }; }; then
4704 ac_cv_sys_largefile_CC
=' -n32'; break
4706 echo "$as_me: failed program was:" >&5
4707 sed 's/^/| /' conftest.
$ac_ext >&5
4710 rm -f conftest.err conftest.
$ac_objext
4714 rm -f conftest.
$ac_ext
4717 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4718 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4719 if test "$ac_cv_sys_largefile_CC" != no
; then
4720 CC
=$CC$ac_cv_sys_largefile_CC
4723 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4724 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4725 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4726 echo $ECHO_N "(cached) $ECHO_C" >&6
4729 ac_cv_sys_file_offset_bits
=no
4730 cat >conftest.
$ac_ext <<_ACEOF
4733 cat confdefs.h
>>conftest.
$ac_ext
4734 cat >>conftest.
$ac_ext <<_ACEOF
4735 /* end confdefs.h. */
4736 #include <sys/types.h>
4737 /* Check that off_t can represent 2**63 - 1 correctly.
4738 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4739 since some C++ compilers masquerading as C compilers
4740 incorrectly reject 9223372036854775807. */
4741 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4742 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4743 && LARGE_OFF_T % 2147483647 == 1)
4753 rm -f conftest.
$ac_objext
4754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4755 (eval $ac_compile) 2>conftest.er1
4757 grep -v '^ *+' conftest.er1
>conftest.err
4759 cat conftest.err
>&5
4760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4761 (exit $ac_status); } &&
4762 { ac_try
='test -z "$ac_c_werror_flag"
4763 || test ! -s conftest.err'
4764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); }; } &&
4769 { ac_try
='test -s conftest.$ac_objext'
4770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4774 (exit $ac_status); }; }; then
4777 echo "$as_me: failed program was:" >&5
4778 sed 's/^/| /' conftest.
$ac_ext >&5
4781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4782 cat >conftest.
$ac_ext <<_ACEOF
4785 cat confdefs.h
>>conftest.
$ac_ext
4786 cat >>conftest.
$ac_ext <<_ACEOF
4787 /* end confdefs.h. */
4788 #define _FILE_OFFSET_BITS 64
4789 #include <sys/types.h>
4790 /* Check that off_t can represent 2**63 - 1 correctly.
4791 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4792 since some C++ compilers masquerading as C compilers
4793 incorrectly reject 9223372036854775807. */
4794 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4795 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4796 && LARGE_OFF_T % 2147483647 == 1)
4806 rm -f conftest.
$ac_objext
4807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4808 (eval $ac_compile) 2>conftest.er1
4810 grep -v '^ *+' conftest.er1
>conftest.err
4812 cat conftest.err
>&5
4813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814 (exit $ac_status); } &&
4815 { ac_try
='test -z "$ac_c_werror_flag"
4816 || test ! -s conftest.err'
4817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821 (exit $ac_status); }; } &&
4822 { ac_try
='test -s conftest.$ac_objext'
4823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827 (exit $ac_status); }; }; then
4828 ac_cv_sys_file_offset_bits
=64; break
4830 echo "$as_me: failed program was:" >&5
4831 sed 's/^/| /' conftest.
$ac_ext >&5
4834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4838 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4839 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4840 if test "$ac_cv_sys_file_offset_bits" != no
; then
4842 cat >>confdefs.h
<<_ACEOF
4843 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4848 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4849 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4850 if test "${ac_cv_sys_large_files+set}" = set; then
4851 echo $ECHO_N "(cached) $ECHO_C" >&6
4854 ac_cv_sys_large_files
=no
4855 cat >conftest.
$ac_ext <<_ACEOF
4858 cat confdefs.h
>>conftest.
$ac_ext
4859 cat >>conftest.
$ac_ext <<_ACEOF
4860 /* end confdefs.h. */
4861 #include <sys/types.h>
4862 /* Check that off_t can represent 2**63 - 1 correctly.
4863 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4864 since some C++ compilers masquerading as C compilers
4865 incorrectly reject 9223372036854775807. */
4866 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4867 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4868 && LARGE_OFF_T % 2147483647 == 1)
4878 rm -f conftest.
$ac_objext
4879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4880 (eval $ac_compile) 2>conftest.er1
4882 grep -v '^ *+' conftest.er1
>conftest.err
4884 cat conftest.err
>&5
4885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4886 (exit $ac_status); } &&
4887 { ac_try
='test -z "$ac_c_werror_flag"
4888 || test ! -s conftest.err'
4889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893 (exit $ac_status); }; } &&
4894 { ac_try
='test -s conftest.$ac_objext'
4895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4899 (exit $ac_status); }; }; then
4902 echo "$as_me: failed program was:" >&5
4903 sed 's/^/| /' conftest.
$ac_ext >&5
4906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4907 cat >conftest.
$ac_ext <<_ACEOF
4910 cat confdefs.h
>>conftest.
$ac_ext
4911 cat >>conftest.
$ac_ext <<_ACEOF
4912 /* end confdefs.h. */
4913 #define _LARGE_FILES 1
4914 #include <sys/types.h>
4915 /* Check that off_t can represent 2**63 - 1 correctly.
4916 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4917 since some C++ compilers masquerading as C compilers
4918 incorrectly reject 9223372036854775807. */
4919 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4920 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4921 && LARGE_OFF_T % 2147483647 == 1)
4931 rm -f conftest.
$ac_objext
4932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4933 (eval $ac_compile) 2>conftest.er1
4935 grep -v '^ *+' conftest.er1
>conftest.err
4937 cat conftest.err
>&5
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); } &&
4940 { ac_try
='test -z "$ac_c_werror_flag"
4941 || test ! -s conftest.err'
4942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946 (exit $ac_status); }; } &&
4947 { ac_try
='test -s conftest.$ac_objext'
4948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952 (exit $ac_status); }; }; then
4953 ac_cv_sys_large_files
=1; break
4955 echo "$as_me: failed program was:" >&5
4956 sed 's/^/| /' conftest.
$ac_ext >&5
4959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4963 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4964 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4965 if test "$ac_cv_sys_large_files" != no
; then
4967 cat >>confdefs.h
<<_ACEOF
4968 #define _LARGE_FILES $ac_cv_sys_large_files
4975 if test x
$gcc_no_link = xyes
; then
4976 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset
; then
4977 ac_cv_func_mmap_fixed_mapped
=no
4980 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset
; then
4982 ac_cpp
='$CPP $CPPFLAGS'
4983 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4984 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4985 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4986 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4987 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4988 # On Suns, sometimes $CPP names a directory.
4989 if test -n "$CPP" && test -d "$CPP"; then
4992 if test -z "$CPP"; then
4993 if test "${ac_cv_prog_CPP+set}" = set; then
4994 echo $ECHO_N "(cached) $ECHO_C" >&6
4996 # Double quotes because CPP needs to be expanded
4997 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5000 for ac_c_preproc_warn_flag
in '' yes
5002 # Use a header file that comes with gcc, so configuring glibc
5003 # with a fresh cross-compiler works.
5004 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5005 # <limits.h> exists even on freestanding compilers.
5006 # On the NeXT, cc -E runs the code through the compiler's parser,
5007 # not just through cpp. "Syntax error" is here to catch this case.
5008 cat >conftest.
$ac_ext <<_ACEOF
5011 cat confdefs.h
>>conftest.
$ac_ext
5012 cat >>conftest.
$ac_ext <<_ACEOF
5013 /* end confdefs.h. */
5015 # include <limits.h>
5017 # include <assert.h>
5021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5022 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5024 grep -v '^ *+' conftest.er1
>conftest.err
5026 cat conftest.err
>&5
5027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5028 (exit $ac_status); } >/dev
/null
; then
5029 if test -s conftest.err
; then
5030 ac_cpp_err
=$ac_c_preproc_warn_flag
5031 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5038 if test -z "$ac_cpp_err"; then
5041 echo "$as_me: failed program was:" >&5
5042 sed 's/^/| /' conftest.
$ac_ext >&5
5044 # Broken: fails on valid input.
5047 rm -f conftest.err conftest.
$ac_ext
5049 # OK, works on sane cases. Now check whether non-existent headers
5050 # can be detected and how.
5051 cat >conftest.
$ac_ext <<_ACEOF
5054 cat confdefs.h
>>conftest.
$ac_ext
5055 cat >>conftest.
$ac_ext <<_ACEOF
5056 /* end confdefs.h. */
5057 #include <ac_nonexistent.h>
5059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5060 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5062 grep -v '^ *+' conftest.er1
>conftest.err
5064 cat conftest.err
>&5
5065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5066 (exit $ac_status); } >/dev
/null
; then
5067 if test -s conftest.err
; then
5068 ac_cpp_err
=$ac_c_preproc_warn_flag
5069 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5076 if test -z "$ac_cpp_err"; then
5077 # Broken: success on invalid input.
5080 echo "$as_me: failed program was:" >&5
5081 sed 's/^/| /' conftest.
$ac_ext >&5
5083 # Passes both tests.
5087 rm -f conftest.err conftest.
$ac_ext
5090 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5091 rm -f conftest.err conftest.
$ac_ext
5092 if $ac_preproc_ok; then
5104 echo "$as_me:$LINENO: result: $CPP" >&5
5105 echo "${ECHO_T}$CPP" >&6
5107 for ac_c_preproc_warn_flag
in '' yes
5109 # Use a header file that comes with gcc, so configuring glibc
5110 # with a fresh cross-compiler works.
5111 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5112 # <limits.h> exists even on freestanding compilers.
5113 # On the NeXT, cc -E runs the code through the compiler's parser,
5114 # not just through cpp. "Syntax error" is here to catch this case.
5115 cat >conftest.
$ac_ext <<_ACEOF
5118 cat confdefs.h
>>conftest.
$ac_ext
5119 cat >>conftest.
$ac_ext <<_ACEOF
5120 /* end confdefs.h. */
5122 # include <limits.h>
5124 # include <assert.h>
5128 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5129 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5131 grep -v '^ *+' conftest.er1
>conftest.err
5133 cat conftest.err
>&5
5134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135 (exit $ac_status); } >/dev
/null
; then
5136 if test -s conftest.err
; then
5137 ac_cpp_err
=$ac_c_preproc_warn_flag
5138 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5145 if test -z "$ac_cpp_err"; then
5148 echo "$as_me: failed program was:" >&5
5149 sed 's/^/| /' conftest.
$ac_ext >&5
5151 # Broken: fails on valid input.
5154 rm -f conftest.err conftest.
$ac_ext
5156 # OK, works on sane cases. Now check whether non-existent headers
5157 # can be detected and how.
5158 cat >conftest.
$ac_ext <<_ACEOF
5161 cat confdefs.h
>>conftest.
$ac_ext
5162 cat >>conftest.
$ac_ext <<_ACEOF
5163 /* end confdefs.h. */
5164 #include <ac_nonexistent.h>
5166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5167 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5169 grep -v '^ *+' conftest.er1
>conftest.err
5171 cat conftest.err
>&5
5172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5173 (exit $ac_status); } >/dev
/null
; then
5174 if test -s conftest.err
; then
5175 ac_cpp_err
=$ac_c_preproc_warn_flag
5176 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5183 if test -z "$ac_cpp_err"; then
5184 # Broken: success on invalid input.
5187 echo "$as_me: failed program was:" >&5
5188 sed 's/^/| /' conftest.
$ac_ext >&5
5190 # Passes both tests.
5194 rm -f conftest.err conftest.
$ac_ext
5197 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5198 rm -f conftest.err conftest.
$ac_ext
5199 if $ac_preproc_ok; then
5202 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5203 See \`config.log' for more details." >&5
5204 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5205 See \`config.log' for more details." >&2;}
5206 { (exit 1); exit 1; }; }
5210 ac_cpp
='$CPP $CPPFLAGS'
5211 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5212 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5213 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5216 echo "$as_me:$LINENO: checking for egrep" >&5
5217 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5218 if test "${ac_cv_prog_egrep+set}" = set; then
5219 echo $ECHO_N "(cached) $ECHO_C" >&6
5221 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5222 then ac_cv_prog_egrep
='grep -E'
5223 else ac_cv_prog_egrep
='egrep'
5226 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5227 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5228 EGREP
=$ac_cv_prog_egrep
5231 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5232 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5233 if test "${ac_cv_header_stdc+set}" = set; then
5234 echo $ECHO_N "(cached) $ECHO_C" >&6
5236 cat >conftest.
$ac_ext <<_ACEOF
5239 cat confdefs.h
>>conftest.
$ac_ext
5240 cat >>conftest.
$ac_ext <<_ACEOF
5241 /* end confdefs.h. */
5255 rm -f conftest.
$ac_objext
5256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5257 (eval $ac_compile) 2>conftest.er1
5259 grep -v '^ *+' conftest.er1
>conftest.err
5261 cat conftest.err
>&5
5262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5263 (exit $ac_status); } &&
5264 { ac_try
='test -z "$ac_c_werror_flag"
5265 || test ! -s conftest.err'
5266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5270 (exit $ac_status); }; } &&
5271 { ac_try
='test -s conftest.$ac_objext'
5272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5276 (exit $ac_status); }; }; then
5277 ac_cv_header_stdc
=yes
5279 echo "$as_me: failed program was:" >&5
5280 sed 's/^/| /' conftest.
$ac_ext >&5
5282 ac_cv_header_stdc
=no
5284 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5286 if test $ac_cv_header_stdc = yes; then
5287 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5288 cat >conftest.
$ac_ext <<_ACEOF
5291 cat confdefs.h
>>conftest.
$ac_ext
5292 cat >>conftest.
$ac_ext <<_ACEOF
5293 /* end confdefs.h. */
5297 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5298 $EGREP "memchr" >/dev
/null
2>&1; then
5301 ac_cv_header_stdc
=no
5307 if test $ac_cv_header_stdc = yes; then
5308 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5309 cat >conftest.
$ac_ext <<_ACEOF
5312 cat confdefs.h
>>conftest.
$ac_ext
5313 cat >>conftest.
$ac_ext <<_ACEOF
5314 /* end confdefs.h. */
5318 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5319 $EGREP "free" >/dev
/null
2>&1; then
5322 ac_cv_header_stdc
=no
5328 if test $ac_cv_header_stdc = yes; then
5329 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5330 if test "$cross_compiling" = yes; then
5333 cat >conftest.
$ac_ext <<_ACEOF
5336 cat confdefs.h
>>conftest.
$ac_ext
5337 cat >>conftest.
$ac_ext <<_ACEOF
5338 /* end confdefs.h. */
5340 #if ((' ' & 0x0FF) == 0x020)
5341 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5342 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5344 # define ISLOWER(c) \
5345 (('a' <= (c) && (c) <= 'i') \
5346 || ('j' <= (c) && (c) <= 'r') \
5347 || ('s' <= (c) && (c) <= 'z'))
5348 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5351 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5356 for (i = 0; i < 256; i++)
5357 if (XOR (islower (i), ISLOWER (i))
5358 || toupper (i) != TOUPPER (i))
5363 rm -f conftest
$ac_exeext
5364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5365 (eval $ac_link) 2>&5
5367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5368 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5373 (exit $ac_status); }; }; then
5376 echo "$as_me: program exited with status $ac_status" >&5
5377 echo "$as_me: failed program was:" >&5
5378 sed 's/^/| /' conftest.
$ac_ext >&5
5381 ac_cv_header_stdc
=no
5383 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5387 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5388 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5389 if test $ac_cv_header_stdc = yes; then
5391 cat >>confdefs.h
<<\_ACEOF
5392 #define STDC_HEADERS 1
5397 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5407 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5408 inttypes.h stdint.h unistd.h
5410 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5411 echo "$as_me:$LINENO: checking for $ac_header" >&5
5412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5413 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5414 echo $ECHO_N "(cached) $ECHO_C" >&6
5416 cat >conftest.
$ac_ext <<_ACEOF
5419 cat confdefs.h
>>conftest.
$ac_ext
5420 cat >>conftest.
$ac_ext <<_ACEOF
5421 /* end confdefs.h. */
5422 $ac_includes_default
5424 #include <$ac_header>
5426 rm -f conftest.
$ac_objext
5427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5428 (eval $ac_compile) 2>conftest.er1
5430 grep -v '^ *+' conftest.er1
>conftest.err
5432 cat conftest.err
>&5
5433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5434 (exit $ac_status); } &&
5435 { ac_try
='test -z "$ac_c_werror_flag"
5436 || test ! -s conftest.err'
5437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5441 (exit $ac_status); }; } &&
5442 { ac_try
='test -s conftest.$ac_objext'
5443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5447 (exit $ac_status); }; }; then
5448 eval "$as_ac_Header=yes"
5450 echo "$as_me: failed program was:" >&5
5451 sed 's/^/| /' conftest.
$ac_ext >&5
5453 eval "$as_ac_Header=no"
5455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5459 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5460 cat >>confdefs.h
<<_ACEOF
5461 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5471 for ac_header
in stdlib.h unistd.h
5473 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5475 echo "$as_me:$LINENO: checking for $ac_header" >&5
5476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5478 echo $ECHO_N "(cached) $ECHO_C" >&6
5480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5481 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5483 # Is the header compilable?
5484 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5485 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5486 cat >conftest.
$ac_ext <<_ACEOF
5489 cat confdefs.h
>>conftest.
$ac_ext
5490 cat >>conftest.
$ac_ext <<_ACEOF
5491 /* end confdefs.h. */
5492 $ac_includes_default
5493 #include <$ac_header>
5495 rm -f conftest.
$ac_objext
5496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5497 (eval $ac_compile) 2>conftest.er1
5499 grep -v '^ *+' conftest.er1
>conftest.err
5501 cat conftest.err
>&5
5502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5503 (exit $ac_status); } &&
5504 { ac_try
='test -z "$ac_c_werror_flag"
5505 || test ! -s conftest.err'
5506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510 (exit $ac_status); }; } &&
5511 { ac_try
='test -s conftest.$ac_objext'
5512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516 (exit $ac_status); }; }; then
5517 ac_header_compiler
=yes
5519 echo "$as_me: failed program was:" >&5
5520 sed 's/^/| /' conftest.
$ac_ext >&5
5522 ac_header_compiler
=no
5524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5525 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5526 echo "${ECHO_T}$ac_header_compiler" >&6
5528 # Is the header present?
5529 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5530 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5531 cat >conftest.
$ac_ext <<_ACEOF
5534 cat confdefs.h
>>conftest.
$ac_ext
5535 cat >>conftest.
$ac_ext <<_ACEOF
5536 /* end confdefs.h. */
5537 #include <$ac_header>
5539 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5540 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5542 grep -v '^ *+' conftest.er1
>conftest.err
5544 cat conftest.err
>&5
5545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5546 (exit $ac_status); } >/dev
/null
; then
5547 if test -s conftest.err
; then
5548 ac_cpp_err
=$ac_c_preproc_warn_flag
5549 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5556 if test -z "$ac_cpp_err"; then
5557 ac_header_preproc
=yes
5559 echo "$as_me: failed program was:" >&5
5560 sed 's/^/| /' conftest.
$ac_ext >&5
5562 ac_header_preproc
=no
5564 rm -f conftest.err conftest.
$ac_ext
5565 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5566 echo "${ECHO_T}$ac_header_preproc" >&6
5568 # So? What about this header?
5569 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5571 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5572 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5573 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5574 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5575 ac_header_preproc
=yes
5578 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5579 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5580 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5581 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5582 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5583 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5584 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5585 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5587 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5588 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5589 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5592 ## ------------------------------------------------------ ##
5593 ## Report this to the GNU Fortran Runtime Library lists. ##
5594 ## ------------------------------------------------------ ##
5597 sed "s/^/$as_me: WARNING: /" >&2
5600 echo "$as_me:$LINENO: checking for $ac_header" >&5
5601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5603 echo $ECHO_N "(cached) $ECHO_C" >&6
5605 eval "$as_ac_Header=\$ac_header_preproc"
5607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5608 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5612 cat >>confdefs.h
<<_ACEOF
5613 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5621 for ac_func
in getpagesize
5623 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5624 echo "$as_me:$LINENO: checking for $ac_func" >&5
5625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5626 if eval "test \"\${$as_ac_var+set}\" = set"; then
5627 echo $ECHO_N "(cached) $ECHO_C" >&6
5629 if test x
$gcc_no_link = xyes
; then
5630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5632 { (exit 1); exit 1; }; }
5634 cat >conftest.
$ac_ext <<_ACEOF
5637 cat confdefs.h
>>conftest.
$ac_ext
5638 cat >>conftest.
$ac_ext <<_ACEOF
5639 /* end confdefs.h. */
5640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5642 #define $ac_func innocuous_$ac_func
5644 /* System header to define __stub macros and hopefully few prototypes,
5645 which can conflict with char $ac_func (); below.
5646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5647 <limits.h> exists even on freestanding compilers. */
5650 # include <limits.h>
5652 # include <assert.h>
5657 /* Override any gcc2 internal prototype to avoid an error. */
5662 /* We use char because int might match the return type of a gcc2
5663 builtin and then its argument prototype would still apply. */
5665 /* The GNU C library defines this for functions which it implements
5666 to always fail with ENOSYS. Some functions are actually named
5667 something starting with __ and the normal name is an alias. */
5668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5671 char (*f) () = $ac_func;
5680 return f != $ac_func;
5685 rm -f conftest.
$ac_objext conftest
$ac_exeext
5686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5687 (eval $ac_link) 2>conftest.er1
5689 grep -v '^ *+' conftest.er1
>conftest.err
5691 cat conftest.err
>&5
5692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5693 (exit $ac_status); } &&
5694 { ac_try
='test -z "$ac_c_werror_flag"
5695 || test ! -s conftest.err'
5696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5700 (exit $ac_status); }; } &&
5701 { ac_try
='test -s conftest$ac_exeext'
5702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706 (exit $ac_status); }; }; then
5707 eval "$as_ac_var=yes"
5709 echo "$as_me: failed program was:" >&5
5710 sed 's/^/| /' conftest.
$ac_ext >&5
5712 eval "$as_ac_var=no"
5714 rm -f conftest.err conftest.
$ac_objext \
5715 conftest
$ac_exeext conftest.
$ac_ext
5717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5719 if test `eval echo '${'$as_ac_var'}'` = yes; then
5720 cat >>confdefs.h
<<_ACEOF
5721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5727 echo "$as_me:$LINENO: checking for working mmap" >&5
5728 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5729 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5730 echo $ECHO_N "(cached) $ECHO_C" >&6
5732 if test "$cross_compiling" = yes; then
5733 ac_cv_func_mmap_fixed_mapped
=no
5735 cat >conftest.
$ac_ext <<_ACEOF
5738 cat confdefs.h
>>conftest.
$ac_ext
5739 cat >>conftest.
$ac_ext <<_ACEOF
5740 /* end confdefs.h. */
5741 $ac_includes_default
5742 /* malloc might have been renamed as rpl_malloc. */
5745 /* Thanks to Mike Haertel and Jim Avera for this test.
5746 Here is a matrix of mmap possibilities:
5747 mmap private not fixed
5748 mmap private fixed at somewhere currently unmapped
5749 mmap private fixed at somewhere already mapped
5750 mmap shared not fixed
5751 mmap shared fixed at somewhere currently unmapped
5752 mmap shared fixed at somewhere already mapped
5753 For private mappings, we should verify that changes cannot be read()
5754 back from the file, nor mmap's back from the file at a different
5755 address. (There have been systems where private was not correctly
5756 implemented like the infamous i386 svr4.0, and systems where the
5757 VM page cache was not coherent with the file system buffer cache
5758 like early versions of FreeBSD and possibly contemporary NetBSD.)
5759 For shared mappings, we should conversely verify that changes get
5760 propagated back to all the places they're supposed to be.
5762 Grep wants private fixed already mapped.
5763 The main things grep needs to know about mmap are:
5764 * does it exist and is it safe to write into the mmap'd area
5765 * how to use it (BSD variants) */
5768 #include <sys/mman.h>
5770 #if !STDC_HEADERS && !HAVE_STDLIB_H
5774 /* This mess was copied from the GNU getpagesize.h. */
5775 #if !HAVE_GETPAGESIZE
5776 /* Assume that all systems that can run configure have sys/param.h. */
5777 # if !HAVE_SYS_PARAM_H
5778 # define HAVE_SYS_PARAM_H 1
5781 # ifdef _SC_PAGESIZE
5782 # define getpagesize() sysconf(_SC_PAGESIZE)
5783 # else /* no _SC_PAGESIZE */
5784 # if HAVE_SYS_PARAM_H
5785 # include <sys/param.h>
5786 # ifdef EXEC_PAGESIZE
5787 # define getpagesize() EXEC_PAGESIZE
5788 # else /* no EXEC_PAGESIZE */
5790 # define getpagesize() NBPG * CLSIZE
5793 # endif /* no CLSIZE */
5794 # else /* no NBPG */
5796 # define getpagesize() NBPC
5797 # else /* no NBPC */
5799 # define getpagesize() PAGESIZE
5800 # endif /* PAGESIZE */
5801 # endif /* no NBPC */
5802 # endif /* no NBPG */
5803 # endif /* no EXEC_PAGESIZE */
5804 # else /* no HAVE_SYS_PARAM_H */
5805 # define getpagesize() 8192 /* punt totally */
5806 # endif /* no HAVE_SYS_PARAM_H */
5807 # endif /* no _SC_PAGESIZE */
5809 #endif /* no HAVE_GETPAGESIZE */
5814 char *data, *data2, *data3;
5818 pagesize = getpagesize ();
5820 /* First, make a file with some known garbage in it. */
5821 data = (char *) malloc (pagesize);
5824 for (i = 0; i < pagesize; ++i)
5825 *(data + i) = rand ();
5827 fd = creat ("conftest.mmap", 0600);
5830 if (write (fd, data, pagesize) != pagesize)
5834 /* Next, try to mmap the file at a fixed address which already has
5835 something else allocated at it. If we can, also make sure that
5836 we see the same garbage. */
5837 fd = open ("conftest.mmap", O_RDWR);
5840 data2 = (char *) malloc (2 * pagesize);
5843 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5844 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5845 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5847 for (i = 0; i < pagesize; ++i)
5848 if (*(data + i) != *(data2 + i))
5851 /* Finally, make sure that changes to the mapped area do not
5852 percolate back to the file as seen by read(). (This is a bug on
5853 some variants of i386 svr4.0.) */
5854 for (i = 0; i < pagesize; ++i)
5855 *(data2 + i) = *(data2 + i) + 1;
5856 data3 = (char *) malloc (pagesize);
5859 if (read (fd, data3, pagesize) != pagesize)
5861 for (i = 0; i < pagesize; ++i)
5862 if (*(data + i) != *(data3 + i))
5868 rm -f conftest
$ac_exeext
5869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5870 (eval $ac_link) 2>&5
5872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5873 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878 (exit $ac_status); }; }; then
5879 ac_cv_func_mmap_fixed_mapped
=yes
5881 echo "$as_me: program exited with status $ac_status" >&5
5882 echo "$as_me: failed program was:" >&5
5883 sed 's/^/| /' conftest.
$ac_ext >&5
5886 ac_cv_func_mmap_fixed_mapped
=no
5888 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5891 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5892 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5893 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5895 cat >>confdefs.h
<<\_ACEOF
5903 echo "$as_me:$LINENO: checking for off_t" >&5
5904 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5905 if test "${ac_cv_type_off_t+set}" = set; then
5906 echo $ECHO_N "(cached) $ECHO_C" >&6
5908 cat >conftest.
$ac_ext <<_ACEOF
5911 cat confdefs.h
>>conftest.
$ac_ext
5912 cat >>conftest.
$ac_ext <<_ACEOF
5913 /* end confdefs.h. */
5914 $ac_includes_default
5926 rm -f conftest.
$ac_objext
5927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5928 (eval $ac_compile) 2>conftest.er1
5930 grep -v '^ *+' conftest.er1
>conftest.err
5932 cat conftest.err
>&5
5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934 (exit $ac_status); } &&
5935 { ac_try
='test -z "$ac_c_werror_flag"
5936 || test ! -s conftest.err'
5937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5941 (exit $ac_status); }; } &&
5942 { ac_try
='test -s conftest.$ac_objext'
5943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5947 (exit $ac_status); }; }; then
5948 ac_cv_type_off_t
=yes
5950 echo "$as_me: failed program was:" >&5
5951 sed 's/^/| /' conftest.
$ac_ext >&5
5955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5957 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5958 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5959 if test $ac_cv_type_off_t = yes; then
5963 cat >>confdefs.h
<<_ACEOF
5970 # check header files
5971 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5972 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5973 if test "${ac_cv_header_stdc+set}" = set; then
5974 echo $ECHO_N "(cached) $ECHO_C" >&6
5976 cat >conftest.
$ac_ext <<_ACEOF
5979 cat confdefs.h
>>conftest.
$ac_ext
5980 cat >>conftest.
$ac_ext <<_ACEOF
5981 /* end confdefs.h. */
5995 rm -f conftest.
$ac_objext
5996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5997 (eval $ac_compile) 2>conftest.er1
5999 grep -v '^ *+' conftest.er1
>conftest.err
6001 cat conftest.err
>&5
6002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003 (exit $ac_status); } &&
6004 { ac_try
='test -z "$ac_c_werror_flag"
6005 || test ! -s conftest.err'
6006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6010 (exit $ac_status); }; } &&
6011 { ac_try
='test -s conftest.$ac_objext'
6012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6016 (exit $ac_status); }; }; then
6017 ac_cv_header_stdc
=yes
6019 echo "$as_me: failed program was:" >&5
6020 sed 's/^/| /' conftest.
$ac_ext >&5
6022 ac_cv_header_stdc
=no
6024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6026 if test $ac_cv_header_stdc = yes; then
6027 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6028 cat >conftest.
$ac_ext <<_ACEOF
6031 cat confdefs.h
>>conftest.
$ac_ext
6032 cat >>conftest.
$ac_ext <<_ACEOF
6033 /* end confdefs.h. */
6037 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6038 $EGREP "memchr" >/dev
/null
2>&1; then
6041 ac_cv_header_stdc
=no
6047 if test $ac_cv_header_stdc = yes; then
6048 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6049 cat >conftest.
$ac_ext <<_ACEOF
6052 cat confdefs.h
>>conftest.
$ac_ext
6053 cat >>conftest.
$ac_ext <<_ACEOF
6054 /* end confdefs.h. */
6058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6059 $EGREP "free" >/dev
/null
2>&1; then
6062 ac_cv_header_stdc
=no
6068 if test $ac_cv_header_stdc = yes; then
6069 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6070 if test "$cross_compiling" = yes; then
6073 cat >conftest.
$ac_ext <<_ACEOF
6076 cat confdefs.h
>>conftest.
$ac_ext
6077 cat >>conftest.
$ac_ext <<_ACEOF
6078 /* end confdefs.h. */
6080 #if ((' ' & 0x0FF) == 0x020)
6081 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6082 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6084 # define ISLOWER(c) \
6085 (('a' <= (c) && (c) <= 'i') \
6086 || ('j' <= (c) && (c) <= 'r') \
6087 || ('s' <= (c) && (c) <= 'z'))
6088 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6091 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6096 for (i = 0; i < 256; i++)
6097 if (XOR (islower (i), ISLOWER (i))
6098 || toupper (i) != TOUPPER (i))
6103 rm -f conftest
$ac_exeext
6104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6105 (eval $ac_link) 2>&5
6107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6108 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6113 (exit $ac_status); }; }; then
6116 echo "$as_me: program exited with status $ac_status" >&5
6117 echo "$as_me: failed program was:" >&5
6118 sed 's/^/| /' conftest.
$ac_ext >&5
6121 ac_cv_header_stdc
=no
6123 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6127 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6128 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6129 if test $ac_cv_header_stdc = yes; then
6131 cat >>confdefs.h
<<\_ACEOF
6132 #define STDC_HEADERS 1
6143 for ac_header
in stdlib.h stdio.h string.h stddef.h math.h unistd.h
6145 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6147 echo "$as_me:$LINENO: checking for $ac_header" >&5
6148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6150 echo $ECHO_N "(cached) $ECHO_C" >&6
6152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6153 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6155 # Is the header compilable?
6156 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6157 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6158 cat >conftest.
$ac_ext <<_ACEOF
6161 cat confdefs.h
>>conftest.
$ac_ext
6162 cat >>conftest.
$ac_ext <<_ACEOF
6163 /* end confdefs.h. */
6164 $ac_includes_default
6165 #include <$ac_header>
6167 rm -f conftest.
$ac_objext
6168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6169 (eval $ac_compile) 2>conftest.er1
6171 grep -v '^ *+' conftest.er1
>conftest.err
6173 cat conftest.err
>&5
6174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6175 (exit $ac_status); } &&
6176 { ac_try
='test -z "$ac_c_werror_flag"
6177 || test ! -s conftest.err'
6178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6182 (exit $ac_status); }; } &&
6183 { ac_try
='test -s conftest.$ac_objext'
6184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6188 (exit $ac_status); }; }; then
6189 ac_header_compiler
=yes
6191 echo "$as_me: failed program was:" >&5
6192 sed 's/^/| /' conftest.
$ac_ext >&5
6194 ac_header_compiler
=no
6196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6197 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6198 echo "${ECHO_T}$ac_header_compiler" >&6
6200 # Is the header present?
6201 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6202 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6203 cat >conftest.
$ac_ext <<_ACEOF
6206 cat confdefs.h
>>conftest.
$ac_ext
6207 cat >>conftest.
$ac_ext <<_ACEOF
6208 /* end confdefs.h. */
6209 #include <$ac_header>
6211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6212 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6214 grep -v '^ *+' conftest.er1
>conftest.err
6216 cat conftest.err
>&5
6217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6218 (exit $ac_status); } >/dev
/null
; then
6219 if test -s conftest.err
; then
6220 ac_cpp_err
=$ac_c_preproc_warn_flag
6221 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6228 if test -z "$ac_cpp_err"; then
6229 ac_header_preproc
=yes
6231 echo "$as_me: failed program was:" >&5
6232 sed 's/^/| /' conftest.
$ac_ext >&5
6234 ac_header_preproc
=no
6236 rm -f conftest.err conftest.
$ac_ext
6237 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6238 echo "${ECHO_T}$ac_header_preproc" >&6
6240 # So? What about this header?
6241 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6243 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6244 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6245 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6246 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6247 ac_header_preproc
=yes
6250 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6251 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6252 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6253 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6254 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6255 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6256 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6257 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6258 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6259 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6260 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6261 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6264 ## ------------------------------------------------------ ##
6265 ## Report this to the GNU Fortran Runtime Library lists. ##
6266 ## ------------------------------------------------------ ##
6269 sed "s/^/$as_me: WARNING: /" >&2
6272 echo "$as_me:$LINENO: checking for $ac_header" >&5
6273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6275 echo $ECHO_N "(cached) $ECHO_C" >&6
6277 eval "$as_ac_Header=\$ac_header_preproc"
6279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6280 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6283 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6284 cat >>confdefs.h
<<_ACEOF
6285 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6297 for ac_header
in time.h sys
/params.h sys
/time.h sys
/times.h sys
/resource.h
6299 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6301 echo "$as_me:$LINENO: checking for $ac_header" >&5
6302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6303 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6304 echo $ECHO_N "(cached) $ECHO_C" >&6
6306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6307 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6309 # Is the header compilable?
6310 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6311 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6312 cat >conftest.
$ac_ext <<_ACEOF
6315 cat confdefs.h
>>conftest.
$ac_ext
6316 cat >>conftest.
$ac_ext <<_ACEOF
6317 /* end confdefs.h. */
6318 $ac_includes_default
6319 #include <$ac_header>
6321 rm -f conftest.
$ac_objext
6322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6323 (eval $ac_compile) 2>conftest.er1
6325 grep -v '^ *+' conftest.er1
>conftest.err
6327 cat conftest.err
>&5
6328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6329 (exit $ac_status); } &&
6330 { ac_try
='test -z "$ac_c_werror_flag"
6331 || test ! -s conftest.err'
6332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6336 (exit $ac_status); }; } &&
6337 { ac_try
='test -s conftest.$ac_objext'
6338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6342 (exit $ac_status); }; }; then
6343 ac_header_compiler
=yes
6345 echo "$as_me: failed program was:" >&5
6346 sed 's/^/| /' conftest.
$ac_ext >&5
6348 ac_header_compiler
=no
6350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6351 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6352 echo "${ECHO_T}$ac_header_compiler" >&6
6354 # Is the header present?
6355 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6356 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6357 cat >conftest.
$ac_ext <<_ACEOF
6360 cat confdefs.h
>>conftest.
$ac_ext
6361 cat >>conftest.
$ac_ext <<_ACEOF
6362 /* end confdefs.h. */
6363 #include <$ac_header>
6365 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6366 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6368 grep -v '^ *+' conftest.er1
>conftest.err
6370 cat conftest.err
>&5
6371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6372 (exit $ac_status); } >/dev
/null
; then
6373 if test -s conftest.err
; then
6374 ac_cpp_err
=$ac_c_preproc_warn_flag
6375 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6382 if test -z "$ac_cpp_err"; then
6383 ac_header_preproc
=yes
6385 echo "$as_me: failed program was:" >&5
6386 sed 's/^/| /' conftest.
$ac_ext >&5
6388 ac_header_preproc
=no
6390 rm -f conftest.err conftest.
$ac_ext
6391 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6392 echo "${ECHO_T}$ac_header_preproc" >&6
6394 # So? What about this header?
6395 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6397 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6398 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6399 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6400 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6401 ac_header_preproc
=yes
6404 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6405 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6406 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6407 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6408 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6409 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6410 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6411 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6412 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6413 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6414 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6415 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6418 ## ------------------------------------------------------ ##
6419 ## Report this to the GNU Fortran Runtime Library lists. ##
6420 ## ------------------------------------------------------ ##
6423 sed "s/^/$as_me: WARNING: /" >&2
6426 echo "$as_me:$LINENO: checking for $ac_header" >&5
6427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6428 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6429 echo $ECHO_N "(cached) $ECHO_C" >&6
6431 eval "$as_ac_Header=\$ac_header_preproc"
6433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6434 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6437 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6438 cat >>confdefs.h
<<_ACEOF
6439 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6447 for ac_header
in sys
/mman.h
6449 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6451 echo "$as_me:$LINENO: checking for $ac_header" >&5
6452 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6454 echo $ECHO_N "(cached) $ECHO_C" >&6
6456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6457 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6459 # Is the header compilable?
6460 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6461 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6462 cat >conftest.
$ac_ext <<_ACEOF
6465 cat confdefs.h
>>conftest.
$ac_ext
6466 cat >>conftest.
$ac_ext <<_ACEOF
6467 /* end confdefs.h. */
6468 $ac_includes_default
6469 #include <$ac_header>
6471 rm -f conftest.
$ac_objext
6472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6473 (eval $ac_compile) 2>conftest.er1
6475 grep -v '^ *+' conftest.er1
>conftest.err
6477 cat conftest.err
>&5
6478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6479 (exit $ac_status); } &&
6480 { ac_try
='test -z "$ac_c_werror_flag"
6481 || test ! -s conftest.err'
6482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6486 (exit $ac_status); }; } &&
6487 { ac_try
='test -s conftest.$ac_objext'
6488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6492 (exit $ac_status); }; }; then
6493 ac_header_compiler
=yes
6495 echo "$as_me: failed program was:" >&5
6496 sed 's/^/| /' conftest.
$ac_ext >&5
6498 ac_header_compiler
=no
6500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6501 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6502 echo "${ECHO_T}$ac_header_compiler" >&6
6504 # Is the header present?
6505 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6506 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6507 cat >conftest.
$ac_ext <<_ACEOF
6510 cat confdefs.h
>>conftest.
$ac_ext
6511 cat >>conftest.
$ac_ext <<_ACEOF
6512 /* end confdefs.h. */
6513 #include <$ac_header>
6515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6516 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6518 grep -v '^ *+' conftest.er1
>conftest.err
6520 cat conftest.err
>&5
6521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6522 (exit $ac_status); } >/dev
/null
; then
6523 if test -s conftest.err
; then
6524 ac_cpp_err
=$ac_c_preproc_warn_flag
6525 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6532 if test -z "$ac_cpp_err"; then
6533 ac_header_preproc
=yes
6535 echo "$as_me: failed program was:" >&5
6536 sed 's/^/| /' conftest.
$ac_ext >&5
6538 ac_header_preproc
=no
6540 rm -f conftest.err conftest.
$ac_ext
6541 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6542 echo "${ECHO_T}$ac_header_preproc" >&6
6544 # So? What about this header?
6545 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6547 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6548 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6550 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6551 ac_header_preproc
=yes
6554 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6555 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6556 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6557 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6558 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6559 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6560 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6561 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6562 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6563 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6564 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6565 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6568 ## ------------------------------------------------------ ##
6569 ## Report this to the GNU Fortran Runtime Library lists. ##
6570 ## ------------------------------------------------------ ##
6573 sed "s/^/$as_me: WARNING: /" >&2
6576 echo "$as_me:$LINENO: checking for $ac_header" >&5
6577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6579 echo $ECHO_N "(cached) $ECHO_C" >&6
6581 eval "$as_ac_Header=\$ac_header_preproc"
6583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6587 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6588 cat >>confdefs.h
<<_ACEOF
6589 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6596 if test "${ac_cv_header_complex_h+set}" = set; then
6597 echo "$as_me:$LINENO: checking for complex.h" >&5
6598 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6599 if test "${ac_cv_header_complex_h+set}" = set; then
6600 echo $ECHO_N "(cached) $ECHO_C" >&6
6602 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6603 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6605 # Is the header compilable?
6606 echo "$as_me:$LINENO: checking complex.h usability" >&5
6607 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6608 cat >conftest.
$ac_ext <<_ACEOF
6611 cat confdefs.h
>>conftest.
$ac_ext
6612 cat >>conftest.
$ac_ext <<_ACEOF
6613 /* end confdefs.h. */
6614 $ac_includes_default
6615 #include <complex.h>
6617 rm -f conftest.
$ac_objext
6618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6619 (eval $ac_compile) 2>conftest.er1
6621 grep -v '^ *+' conftest.er1
>conftest.err
6623 cat conftest.err
>&5
6624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625 (exit $ac_status); } &&
6626 { ac_try
='test -z "$ac_c_werror_flag"
6627 || test ! -s conftest.err'
6628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6632 (exit $ac_status); }; } &&
6633 { ac_try
='test -s conftest.$ac_objext'
6634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6638 (exit $ac_status); }; }; then
6639 ac_header_compiler
=yes
6641 echo "$as_me: failed program was:" >&5
6642 sed 's/^/| /' conftest.
$ac_ext >&5
6644 ac_header_compiler
=no
6646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6647 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6648 echo "${ECHO_T}$ac_header_compiler" >&6
6650 # Is the header present?
6651 echo "$as_me:$LINENO: checking complex.h presence" >&5
6652 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6653 cat >conftest.
$ac_ext <<_ACEOF
6656 cat confdefs.h
>>conftest.
$ac_ext
6657 cat >>conftest.
$ac_ext <<_ACEOF
6658 /* end confdefs.h. */
6659 #include <complex.h>
6661 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6662 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6664 grep -v '^ *+' conftest.er1
>conftest.err
6666 cat conftest.err
>&5
6667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6668 (exit $ac_status); } >/dev
/null
; then
6669 if test -s conftest.err
; then
6670 ac_cpp_err
=$ac_c_preproc_warn_flag
6671 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6678 if test -z "$ac_cpp_err"; then
6679 ac_header_preproc
=yes
6681 echo "$as_me: failed program was:" >&5
6682 sed 's/^/| /' conftest.
$ac_ext >&5
6684 ac_header_preproc
=no
6686 rm -f conftest.err conftest.
$ac_ext
6687 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6688 echo "${ECHO_T}$ac_header_preproc" >&6
6690 # So? What about this header?
6691 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6693 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6694 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6695 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6696 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6697 ac_header_preproc
=yes
6700 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6701 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6702 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6703 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6704 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6705 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6706 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6707 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6708 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6709 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6710 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6711 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6714 ## ------------------------------------------------------ ##
6715 ## Report this to the GNU Fortran Runtime Library lists. ##
6716 ## ------------------------------------------------------ ##
6719 sed "s/^/$as_me: WARNING: /" >&2
6722 echo "$as_me:$LINENO: checking for complex.h" >&5
6723 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6724 if test "${ac_cv_header_complex_h+set}" = set; then
6725 echo $ECHO_N "(cached) $ECHO_C" >&6
6727 ac_cv_header_complex_h
=$ac_header_preproc
6729 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6730 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6733 if test $ac_cv_header_complex_h = yes; then
6735 cat >>confdefs.h
<<\_ACEOF
6736 #define HAVE_COMPLEX_H 1
6743 # Check for complex math functions
6744 echo "$as_me:$LINENO: checking for csin in -lm" >&5
6745 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
6746 if test "${ac_cv_lib_m_csin+set}" = set; then
6747 echo $ECHO_N "(cached) $ECHO_C" >&6
6749 ac_check_lib_save_LIBS
=$LIBS
6751 if test x
$gcc_no_link = xyes
; then
6752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6754 { (exit 1); exit 1; }; }
6756 cat >conftest.
$ac_ext <<_ACEOF
6759 cat confdefs.h
>>conftest.
$ac_ext
6760 cat >>conftest.
$ac_ext <<_ACEOF
6761 /* end confdefs.h. */
6763 /* Override any gcc2 internal prototype to avoid an error. */
6767 /* We use char because int might match the return type of a gcc2
6768 builtin and then its argument prototype would still apply. */
6778 rm -f conftest.
$ac_objext conftest
$ac_exeext
6779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6780 (eval $ac_link) 2>conftest.er1
6782 grep -v '^ *+' conftest.er1
>conftest.err
6784 cat conftest.err
>&5
6785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6786 (exit $ac_status); } &&
6787 { ac_try
='test -z "$ac_c_werror_flag"
6788 || test ! -s conftest.err'
6789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6793 (exit $ac_status); }; } &&
6794 { ac_try
='test -s conftest$ac_exeext'
6795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6799 (exit $ac_status); }; }; then
6800 ac_cv_lib_m_csin
=yes
6802 echo "$as_me: failed program was:" >&5
6803 sed 's/^/| /' conftest.
$ac_ext >&5
6807 rm -f conftest.err conftest.
$ac_objext \
6808 conftest
$ac_exeext conftest.
$ac_ext
6809 LIBS
=$ac_check_lib_save_LIBS
6811 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
6812 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
6813 if test $ac_cv_lib_m_csin = yes; then
6820 # Check for library functions.
6825 for ac_func
in getrusage
times mkstemp strtof
6827 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6828 echo "$as_me:$LINENO: checking for $ac_func" >&5
6829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6830 if eval "test \"\${$as_ac_var+set}\" = set"; then
6831 echo $ECHO_N "(cached) $ECHO_C" >&6
6833 if test x
$gcc_no_link = xyes
; then
6834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6836 { (exit 1); exit 1; }; }
6838 cat >conftest.
$ac_ext <<_ACEOF
6841 cat confdefs.h
>>conftest.
$ac_ext
6842 cat >>conftest.
$ac_ext <<_ACEOF
6843 /* end confdefs.h. */
6844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6846 #define $ac_func innocuous_$ac_func
6848 /* System header to define __stub macros and hopefully few prototypes,
6849 which can conflict with char $ac_func (); below.
6850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6851 <limits.h> exists even on freestanding compilers. */
6854 # include <limits.h>
6856 # include <assert.h>
6861 /* Override any gcc2 internal prototype to avoid an error. */
6866 /* We use char because int might match the return type of a gcc2
6867 builtin and then its argument prototype would still apply. */
6869 /* The GNU C library defines this for functions which it implements
6870 to always fail with ENOSYS. Some functions are actually named
6871 something starting with __ and the normal name is an alias. */
6872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6875 char (*f) () = $ac_func;
6884 return f != $ac_func;
6889 rm -f conftest.
$ac_objext conftest
$ac_exeext
6890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6891 (eval $ac_link) 2>conftest.er1
6893 grep -v '^ *+' conftest.er1
>conftest.err
6895 cat conftest.err
>&5
6896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6897 (exit $ac_status); } &&
6898 { ac_try
='test -z "$ac_c_werror_flag"
6899 || test ! -s conftest.err'
6900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6904 (exit $ac_status); }; } &&
6905 { ac_try
='test -s conftest$ac_exeext'
6906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6910 (exit $ac_status); }; }; then
6911 eval "$as_ac_var=yes"
6913 echo "$as_me: failed program was:" >&5
6914 sed 's/^/| /' conftest.
$ac_ext >&5
6916 eval "$as_ac_var=no"
6918 rm -f conftest.err conftest.
$ac_objext \
6919 conftest
$ac_exeext conftest.
$ac_ext
6921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6923 if test `eval echo '${'$as_ac_var'}'` = yes; then
6924 cat >>confdefs.h
<<_ACEOF
6925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6932 # Check libc for getgid, getpid, getuid
6933 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
6934 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
6935 if test "${ac_cv_lib_c_getgid+set}" = set; then
6936 echo $ECHO_N "(cached) $ECHO_C" >&6
6938 ac_check_lib_save_LIBS
=$LIBS
6940 if test x
$gcc_no_link = xyes
; then
6941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6943 { (exit 1); exit 1; }; }
6945 cat >conftest.
$ac_ext <<_ACEOF
6948 cat confdefs.h
>>conftest.
$ac_ext
6949 cat >>conftest.
$ac_ext <<_ACEOF
6950 /* end confdefs.h. */
6952 /* Override any gcc2 internal prototype to avoid an error. */
6956 /* We use char because int might match the return type of a gcc2
6957 builtin and then its argument prototype would still apply. */
6967 rm -f conftest.
$ac_objext conftest
$ac_exeext
6968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6969 (eval $ac_link) 2>conftest.er1
6971 grep -v '^ *+' conftest.er1
>conftest.err
6973 cat conftest.err
>&5
6974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6975 (exit $ac_status); } &&
6976 { ac_try
='test -z "$ac_c_werror_flag"
6977 || test ! -s conftest.err'
6978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 (exit $ac_status); }; } &&
6983 { ac_try
='test -s conftest$ac_exeext'
6984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6988 (exit $ac_status); }; }; then
6989 ac_cv_lib_c_getgid
=yes
6991 echo "$as_me: failed program was:" >&5
6992 sed 's/^/| /' conftest.
$ac_ext >&5
6994 ac_cv_lib_c_getgid
=no
6996 rm -f conftest.err conftest.
$ac_objext \
6997 conftest
$ac_exeext conftest.
$ac_ext
6998 LIBS
=$ac_check_lib_save_LIBS
7000 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
7001 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
7002 if test $ac_cv_lib_c_getgid = yes; then
7004 cat >>confdefs.h
<<\_ACEOF
7005 #define HAVE_GETGID 1
7010 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
7011 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
7012 if test "${ac_cv_lib_c_getpid+set}" = set; then
7013 echo $ECHO_N "(cached) $ECHO_C" >&6
7015 ac_check_lib_save_LIBS
=$LIBS
7017 if test x
$gcc_no_link = xyes
; then
7018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7020 { (exit 1); exit 1; }; }
7022 cat >conftest.
$ac_ext <<_ACEOF
7025 cat confdefs.h
>>conftest.
$ac_ext
7026 cat >>conftest.
$ac_ext <<_ACEOF
7027 /* end confdefs.h. */
7029 /* Override any gcc2 internal prototype to avoid an error. */
7033 /* We use char because int might match the return type of a gcc2
7034 builtin and then its argument prototype would still apply. */
7044 rm -f conftest.
$ac_objext conftest
$ac_exeext
7045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7046 (eval $ac_link) 2>conftest.er1
7048 grep -v '^ *+' conftest.er1
>conftest.err
7050 cat conftest.err
>&5
7051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7052 (exit $ac_status); } &&
7053 { ac_try
='test -z "$ac_c_werror_flag"
7054 || test ! -s conftest.err'
7055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7059 (exit $ac_status); }; } &&
7060 { ac_try
='test -s conftest$ac_exeext'
7061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7065 (exit $ac_status); }; }; then
7066 ac_cv_lib_c_getpid
=yes
7068 echo "$as_me: failed program was:" >&5
7069 sed 's/^/| /' conftest.
$ac_ext >&5
7071 ac_cv_lib_c_getpid
=no
7073 rm -f conftest.err conftest.
$ac_objext \
7074 conftest
$ac_exeext conftest.
$ac_ext
7075 LIBS
=$ac_check_lib_save_LIBS
7077 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
7078 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
7079 if test $ac_cv_lib_c_getpid = yes; then
7081 cat >>confdefs.h
<<\_ACEOF
7082 #define HAVE_GETPID 1
7087 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
7088 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
7089 if test "${ac_cv_lib_c_getuid+set}" = set; then
7090 echo $ECHO_N "(cached) $ECHO_C" >&6
7092 ac_check_lib_save_LIBS
=$LIBS
7094 if test x
$gcc_no_link = xyes
; then
7095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7097 { (exit 1); exit 1; }; }
7099 cat >conftest.
$ac_ext <<_ACEOF
7102 cat confdefs.h
>>conftest.
$ac_ext
7103 cat >>conftest.
$ac_ext <<_ACEOF
7104 /* end confdefs.h. */
7106 /* Override any gcc2 internal prototype to avoid an error. */
7110 /* We use char because int might match the return type of a gcc2
7111 builtin and then its argument prototype would still apply. */
7121 rm -f conftest.
$ac_objext conftest
$ac_exeext
7122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7123 (eval $ac_link) 2>conftest.er1
7125 grep -v '^ *+' conftest.er1
>conftest.err
7127 cat conftest.err
>&5
7128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7129 (exit $ac_status); } &&
7130 { ac_try
='test -z "$ac_c_werror_flag"
7131 || test ! -s conftest.err'
7132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136 (exit $ac_status); }; } &&
7137 { ac_try
='test -s conftest$ac_exeext'
7138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7142 (exit $ac_status); }; }; then
7143 ac_cv_lib_c_getuid
=yes
7145 echo "$as_me: failed program was:" >&5
7146 sed 's/^/| /' conftest.
$ac_ext >&5
7148 ac_cv_lib_c_getuid
=no
7150 rm -f conftest.err conftest.
$ac_objext \
7151 conftest
$ac_exeext conftest.
$ac_ext
7152 LIBS
=$ac_check_lib_save_LIBS
7154 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
7155 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
7156 if test $ac_cv_lib_c_getuid = yes; then
7158 cat >>confdefs.h
<<\_ACEOF
7159 #define HAVE_GETUID 1
7165 # Check for C99 (and other IEEE) math functions
7166 # ??? This list seems awful long. Is there a better way to test for these?
7167 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
7168 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
7169 if test "${ac_cv_lib_m_acosf+set}" = set; then
7170 echo $ECHO_N "(cached) $ECHO_C" >&6
7172 ac_check_lib_save_LIBS
=$LIBS
7174 if test x
$gcc_no_link = xyes
; then
7175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7177 { (exit 1); exit 1; }; }
7179 cat >conftest.
$ac_ext <<_ACEOF
7182 cat confdefs.h
>>conftest.
$ac_ext
7183 cat >>conftest.
$ac_ext <<_ACEOF
7184 /* end confdefs.h. */
7186 /* Override any gcc2 internal prototype to avoid an error. */
7190 /* We use char because int might match the return type of a gcc2
7191 builtin and then its argument prototype would still apply. */
7201 rm -f conftest.
$ac_objext conftest
$ac_exeext
7202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7203 (eval $ac_link) 2>conftest.er1
7205 grep -v '^ *+' conftest.er1
>conftest.err
7207 cat conftest.err
>&5
7208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7209 (exit $ac_status); } &&
7210 { ac_try
='test -z "$ac_c_werror_flag"
7211 || test ! -s conftest.err'
7212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7216 (exit $ac_status); }; } &&
7217 { ac_try
='test -s conftest$ac_exeext'
7218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7222 (exit $ac_status); }; }; then
7223 ac_cv_lib_m_acosf
=yes
7225 echo "$as_me: failed program was:" >&5
7226 sed 's/^/| /' conftest.
$ac_ext >&5
7228 ac_cv_lib_m_acosf
=no
7230 rm -f conftest.err conftest.
$ac_objext \
7231 conftest
$ac_exeext conftest.
$ac_ext
7232 LIBS
=$ac_check_lib_save_LIBS
7234 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
7235 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
7236 if test $ac_cv_lib_m_acosf = yes; then
7238 cat >>confdefs.h
<<\_ACEOF
7239 #define HAVE_ACOSF 1
7244 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
7245 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
7246 if test "${ac_cv_lib_m_asinf+set}" = set; then
7247 echo $ECHO_N "(cached) $ECHO_C" >&6
7249 ac_check_lib_save_LIBS
=$LIBS
7251 if test x
$gcc_no_link = xyes
; then
7252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7254 { (exit 1); exit 1; }; }
7256 cat >conftest.
$ac_ext <<_ACEOF
7259 cat confdefs.h
>>conftest.
$ac_ext
7260 cat >>conftest.
$ac_ext <<_ACEOF
7261 /* end confdefs.h. */
7263 /* Override any gcc2 internal prototype to avoid an error. */
7267 /* We use char because int might match the return type of a gcc2
7268 builtin and then its argument prototype would still apply. */
7278 rm -f conftest.
$ac_objext conftest
$ac_exeext
7279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7280 (eval $ac_link) 2>conftest.er1
7282 grep -v '^ *+' conftest.er1
>conftest.err
7284 cat conftest.err
>&5
7285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7286 (exit $ac_status); } &&
7287 { ac_try
='test -z "$ac_c_werror_flag"
7288 || test ! -s conftest.err'
7289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7293 (exit $ac_status); }; } &&
7294 { ac_try
='test -s conftest$ac_exeext'
7295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7299 (exit $ac_status); }; }; then
7300 ac_cv_lib_m_asinf
=yes
7302 echo "$as_me: failed program was:" >&5
7303 sed 's/^/| /' conftest.
$ac_ext >&5
7305 ac_cv_lib_m_asinf
=no
7307 rm -f conftest.err conftest.
$ac_objext \
7308 conftest
$ac_exeext conftest.
$ac_ext
7309 LIBS
=$ac_check_lib_save_LIBS
7311 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
7312 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
7313 if test $ac_cv_lib_m_asinf = yes; then
7315 cat >>confdefs.h
<<\_ACEOF
7316 #define HAVE_ASINF 1
7321 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
7322 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
7323 if test "${ac_cv_lib_m_atan2f+set}" = set; then
7324 echo $ECHO_N "(cached) $ECHO_C" >&6
7326 ac_check_lib_save_LIBS
=$LIBS
7328 if test x
$gcc_no_link = xyes
; then
7329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7331 { (exit 1); exit 1; }; }
7333 cat >conftest.
$ac_ext <<_ACEOF
7336 cat confdefs.h
>>conftest.
$ac_ext
7337 cat >>conftest.
$ac_ext <<_ACEOF
7338 /* end confdefs.h. */
7340 /* Override any gcc2 internal prototype to avoid an error. */
7344 /* We use char because int might match the return type of a gcc2
7345 builtin and then its argument prototype would still apply. */
7355 rm -f conftest.
$ac_objext conftest
$ac_exeext
7356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7357 (eval $ac_link) 2>conftest.er1
7359 grep -v '^ *+' conftest.er1
>conftest.err
7361 cat conftest.err
>&5
7362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7363 (exit $ac_status); } &&
7364 { ac_try
='test -z "$ac_c_werror_flag"
7365 || test ! -s conftest.err'
7366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370 (exit $ac_status); }; } &&
7371 { ac_try
='test -s conftest$ac_exeext'
7372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7376 (exit $ac_status); }; }; then
7377 ac_cv_lib_m_atan2f
=yes
7379 echo "$as_me: failed program was:" >&5
7380 sed 's/^/| /' conftest.
$ac_ext >&5
7382 ac_cv_lib_m_atan2f
=no
7384 rm -f conftest.err conftest.
$ac_objext \
7385 conftest
$ac_exeext conftest.
$ac_ext
7386 LIBS
=$ac_check_lib_save_LIBS
7388 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
7389 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
7390 if test $ac_cv_lib_m_atan2f = yes; then
7392 cat >>confdefs.h
<<\_ACEOF
7393 #define HAVE_ATAN2F 1
7398 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
7399 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
7400 if test "${ac_cv_lib_m_atanf+set}" = set; then
7401 echo $ECHO_N "(cached) $ECHO_C" >&6
7403 ac_check_lib_save_LIBS
=$LIBS
7405 if test x
$gcc_no_link = xyes
; then
7406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7408 { (exit 1); exit 1; }; }
7410 cat >conftest.
$ac_ext <<_ACEOF
7413 cat confdefs.h
>>conftest.
$ac_ext
7414 cat >>conftest.
$ac_ext <<_ACEOF
7415 /* end confdefs.h. */
7417 /* Override any gcc2 internal prototype to avoid an error. */
7421 /* We use char because int might match the return type of a gcc2
7422 builtin and then its argument prototype would still apply. */
7432 rm -f conftest.
$ac_objext conftest
$ac_exeext
7433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7434 (eval $ac_link) 2>conftest.er1
7436 grep -v '^ *+' conftest.er1
>conftest.err
7438 cat conftest.err
>&5
7439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7440 (exit $ac_status); } &&
7441 { ac_try
='test -z "$ac_c_werror_flag"
7442 || test ! -s conftest.err'
7443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7447 (exit $ac_status); }; } &&
7448 { ac_try
='test -s conftest$ac_exeext'
7449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7453 (exit $ac_status); }; }; then
7454 ac_cv_lib_m_atanf
=yes
7456 echo "$as_me: failed program was:" >&5
7457 sed 's/^/| /' conftest.
$ac_ext >&5
7459 ac_cv_lib_m_atanf
=no
7461 rm -f conftest.err conftest.
$ac_objext \
7462 conftest
$ac_exeext conftest.
$ac_ext
7463 LIBS
=$ac_check_lib_save_LIBS
7465 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
7466 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
7467 if test $ac_cv_lib_m_atanf = yes; then
7469 cat >>confdefs.h
<<\_ACEOF
7470 #define HAVE_ATANF 1
7475 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
7476 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
7477 if test "${ac_cv_lib_m_ceilf+set}" = set; then
7478 echo $ECHO_N "(cached) $ECHO_C" >&6
7480 ac_check_lib_save_LIBS
=$LIBS
7482 if test x
$gcc_no_link = xyes
; then
7483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7485 { (exit 1); exit 1; }; }
7487 cat >conftest.
$ac_ext <<_ACEOF
7490 cat confdefs.h
>>conftest.
$ac_ext
7491 cat >>conftest.
$ac_ext <<_ACEOF
7492 /* end confdefs.h. */
7494 /* Override any gcc2 internal prototype to avoid an error. */
7498 /* We use char because int might match the return type of a gcc2
7499 builtin and then its argument prototype would still apply. */
7509 rm -f conftest.
$ac_objext conftest
$ac_exeext
7510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7511 (eval $ac_link) 2>conftest.er1
7513 grep -v '^ *+' conftest.er1
>conftest.err
7515 cat conftest.err
>&5
7516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7517 (exit $ac_status); } &&
7518 { ac_try
='test -z "$ac_c_werror_flag"
7519 || test ! -s conftest.err'
7520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7524 (exit $ac_status); }; } &&
7525 { ac_try
='test -s conftest$ac_exeext'
7526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7530 (exit $ac_status); }; }; then
7531 ac_cv_lib_m_ceilf
=yes
7533 echo "$as_me: failed program was:" >&5
7534 sed 's/^/| /' conftest.
$ac_ext >&5
7536 ac_cv_lib_m_ceilf
=no
7538 rm -f conftest.err conftest.
$ac_objext \
7539 conftest
$ac_exeext conftest.
$ac_ext
7540 LIBS
=$ac_check_lib_save_LIBS
7542 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
7543 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
7544 if test $ac_cv_lib_m_ceilf = yes; then
7546 cat >>confdefs.h
<<\_ACEOF
7547 #define HAVE_CEILF 1
7552 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
7553 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
7554 if test "${ac_cv_lib_m_copysignf+set}" = set; then
7555 echo $ECHO_N "(cached) $ECHO_C" >&6
7557 ac_check_lib_save_LIBS
=$LIBS
7559 if test x
$gcc_no_link = xyes
; then
7560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7562 { (exit 1); exit 1; }; }
7564 cat >conftest.
$ac_ext <<_ACEOF
7567 cat confdefs.h
>>conftest.
$ac_ext
7568 cat >>conftest.
$ac_ext <<_ACEOF
7569 /* end confdefs.h. */
7571 /* Override any gcc2 internal prototype to avoid an error. */
7575 /* We use char because int might match the return type of a gcc2
7576 builtin and then its argument prototype would still apply. */
7586 rm -f conftest.
$ac_objext conftest
$ac_exeext
7587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7588 (eval $ac_link) 2>conftest.er1
7590 grep -v '^ *+' conftest.er1
>conftest.err
7592 cat conftest.err
>&5
7593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7594 (exit $ac_status); } &&
7595 { ac_try
='test -z "$ac_c_werror_flag"
7596 || test ! -s conftest.err'
7597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7601 (exit $ac_status); }; } &&
7602 { ac_try
='test -s conftest$ac_exeext'
7603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7607 (exit $ac_status); }; }; then
7608 ac_cv_lib_m_copysignf
=yes
7610 echo "$as_me: failed program was:" >&5
7611 sed 's/^/| /' conftest.
$ac_ext >&5
7613 ac_cv_lib_m_copysignf
=no
7615 rm -f conftest.err conftest.
$ac_objext \
7616 conftest
$ac_exeext conftest.
$ac_ext
7617 LIBS
=$ac_check_lib_save_LIBS
7619 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
7620 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
7621 if test $ac_cv_lib_m_copysignf = yes; then
7623 cat >>confdefs.h
<<\_ACEOF
7624 #define HAVE_COPYSIGNF 1
7629 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
7630 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
7631 if test "${ac_cv_lib_m_cosf+set}" = set; then
7632 echo $ECHO_N "(cached) $ECHO_C" >&6
7634 ac_check_lib_save_LIBS
=$LIBS
7636 if test x
$gcc_no_link = xyes
; then
7637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7639 { (exit 1); exit 1; }; }
7641 cat >conftest.
$ac_ext <<_ACEOF
7644 cat confdefs.h
>>conftest.
$ac_ext
7645 cat >>conftest.
$ac_ext <<_ACEOF
7646 /* end confdefs.h. */
7648 /* Override any gcc2 internal prototype to avoid an error. */
7652 /* We use char because int might match the return type of a gcc2
7653 builtin and then its argument prototype would still apply. */
7663 rm -f conftest.
$ac_objext conftest
$ac_exeext
7664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7665 (eval $ac_link) 2>conftest.er1
7667 grep -v '^ *+' conftest.er1
>conftest.err
7669 cat conftest.err
>&5
7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7671 (exit $ac_status); } &&
7672 { ac_try
='test -z "$ac_c_werror_flag"
7673 || test ! -s conftest.err'
7674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7678 (exit $ac_status); }; } &&
7679 { ac_try
='test -s conftest$ac_exeext'
7680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7684 (exit $ac_status); }; }; then
7685 ac_cv_lib_m_cosf
=yes
7687 echo "$as_me: failed program was:" >&5
7688 sed 's/^/| /' conftest.
$ac_ext >&5
7692 rm -f conftest.err conftest.
$ac_objext \
7693 conftest
$ac_exeext conftest.
$ac_ext
7694 LIBS
=$ac_check_lib_save_LIBS
7696 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
7697 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
7698 if test $ac_cv_lib_m_cosf = yes; then
7700 cat >>confdefs.h
<<\_ACEOF
7706 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
7707 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
7708 if test "${ac_cv_lib_m_coshf+set}" = set; then
7709 echo $ECHO_N "(cached) $ECHO_C" >&6
7711 ac_check_lib_save_LIBS
=$LIBS
7713 if test x
$gcc_no_link = xyes
; then
7714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7716 { (exit 1); exit 1; }; }
7718 cat >conftest.
$ac_ext <<_ACEOF
7721 cat confdefs.h
>>conftest.
$ac_ext
7722 cat >>conftest.
$ac_ext <<_ACEOF
7723 /* end confdefs.h. */
7725 /* Override any gcc2 internal prototype to avoid an error. */
7729 /* We use char because int might match the return type of a gcc2
7730 builtin and then its argument prototype would still apply. */
7740 rm -f conftest.
$ac_objext conftest
$ac_exeext
7741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7742 (eval $ac_link) 2>conftest.er1
7744 grep -v '^ *+' conftest.er1
>conftest.err
7746 cat conftest.err
>&5
7747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7748 (exit $ac_status); } &&
7749 { ac_try
='test -z "$ac_c_werror_flag"
7750 || test ! -s conftest.err'
7751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7755 (exit $ac_status); }; } &&
7756 { ac_try
='test -s conftest$ac_exeext'
7757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7761 (exit $ac_status); }; }; then
7762 ac_cv_lib_m_coshf
=yes
7764 echo "$as_me: failed program was:" >&5
7765 sed 's/^/| /' conftest.
$ac_ext >&5
7767 ac_cv_lib_m_coshf
=no
7769 rm -f conftest.err conftest.
$ac_objext \
7770 conftest
$ac_exeext conftest.
$ac_ext
7771 LIBS
=$ac_check_lib_save_LIBS
7773 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
7774 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
7775 if test $ac_cv_lib_m_coshf = yes; then
7777 cat >>confdefs.h
<<\_ACEOF
7778 #define HAVE_COSHF 1
7783 echo "$as_me:$LINENO: checking for expf in -lm" >&5
7784 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
7785 if test "${ac_cv_lib_m_expf+set}" = set; then
7786 echo $ECHO_N "(cached) $ECHO_C" >&6
7788 ac_check_lib_save_LIBS
=$LIBS
7790 if test x
$gcc_no_link = xyes
; then
7791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7793 { (exit 1); exit 1; }; }
7795 cat >conftest.
$ac_ext <<_ACEOF
7798 cat confdefs.h
>>conftest.
$ac_ext
7799 cat >>conftest.
$ac_ext <<_ACEOF
7800 /* end confdefs.h. */
7802 /* Override any gcc2 internal prototype to avoid an error. */
7806 /* We use char because int might match the return type of a gcc2
7807 builtin and then its argument prototype would still apply. */
7817 rm -f conftest.
$ac_objext conftest
$ac_exeext
7818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7819 (eval $ac_link) 2>conftest.er1
7821 grep -v '^ *+' conftest.er1
>conftest.err
7823 cat conftest.err
>&5
7824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7825 (exit $ac_status); } &&
7826 { ac_try
='test -z "$ac_c_werror_flag"
7827 || test ! -s conftest.err'
7828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7832 (exit $ac_status); }; } &&
7833 { ac_try
='test -s conftest$ac_exeext'
7834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7838 (exit $ac_status); }; }; then
7839 ac_cv_lib_m_expf
=yes
7841 echo "$as_me: failed program was:" >&5
7842 sed 's/^/| /' conftest.
$ac_ext >&5
7846 rm -f conftest.err conftest.
$ac_objext \
7847 conftest
$ac_exeext conftest.
$ac_ext
7848 LIBS
=$ac_check_lib_save_LIBS
7850 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
7851 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
7852 if test $ac_cv_lib_m_expf = yes; then
7854 cat >>confdefs.h
<<\_ACEOF
7860 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
7861 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
7862 if test "${ac_cv_lib_m_floorf+set}" = set; then
7863 echo $ECHO_N "(cached) $ECHO_C" >&6
7865 ac_check_lib_save_LIBS
=$LIBS
7867 if test x
$gcc_no_link = xyes
; then
7868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7870 { (exit 1); exit 1; }; }
7872 cat >conftest.
$ac_ext <<_ACEOF
7875 cat confdefs.h
>>conftest.
$ac_ext
7876 cat >>conftest.
$ac_ext <<_ACEOF
7877 /* end confdefs.h. */
7879 /* Override any gcc2 internal prototype to avoid an error. */
7883 /* We use char because int might match the return type of a gcc2
7884 builtin and then its argument prototype would still apply. */
7894 rm -f conftest.
$ac_objext conftest
$ac_exeext
7895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7896 (eval $ac_link) 2>conftest.er1
7898 grep -v '^ *+' conftest.er1
>conftest.err
7900 cat conftest.err
>&5
7901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7902 (exit $ac_status); } &&
7903 { ac_try
='test -z "$ac_c_werror_flag"
7904 || test ! -s conftest.err'
7905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7909 (exit $ac_status); }; } &&
7910 { ac_try
='test -s conftest$ac_exeext'
7911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7915 (exit $ac_status); }; }; then
7916 ac_cv_lib_m_floorf
=yes
7918 echo "$as_me: failed program was:" >&5
7919 sed 's/^/| /' conftest.
$ac_ext >&5
7921 ac_cv_lib_m_floorf
=no
7923 rm -f conftest.err conftest.
$ac_objext \
7924 conftest
$ac_exeext conftest.
$ac_ext
7925 LIBS
=$ac_check_lib_save_LIBS
7927 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
7928 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
7929 if test $ac_cv_lib_m_floorf = yes; then
7931 cat >>confdefs.h
<<\_ACEOF
7932 #define HAVE_FLOORF 1
7937 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
7938 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
7939 if test "${ac_cv_lib_m_frexpf+set}" = set; then
7940 echo $ECHO_N "(cached) $ECHO_C" >&6
7942 ac_check_lib_save_LIBS
=$LIBS
7944 if test x
$gcc_no_link = xyes
; then
7945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7947 { (exit 1); exit 1; }; }
7949 cat >conftest.
$ac_ext <<_ACEOF
7952 cat confdefs.h
>>conftest.
$ac_ext
7953 cat >>conftest.
$ac_ext <<_ACEOF
7954 /* end confdefs.h. */
7956 /* Override any gcc2 internal prototype to avoid an error. */
7960 /* We use char because int might match the return type of a gcc2
7961 builtin and then its argument prototype would still apply. */
7971 rm -f conftest.
$ac_objext conftest
$ac_exeext
7972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7973 (eval $ac_link) 2>conftest.er1
7975 grep -v '^ *+' conftest.er1
>conftest.err
7977 cat conftest.err
>&5
7978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7979 (exit $ac_status); } &&
7980 { ac_try
='test -z "$ac_c_werror_flag"
7981 || test ! -s conftest.err'
7982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7986 (exit $ac_status); }; } &&
7987 { ac_try
='test -s conftest$ac_exeext'
7988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7992 (exit $ac_status); }; }; then
7993 ac_cv_lib_m_frexpf
=yes
7995 echo "$as_me: failed program was:" >&5
7996 sed 's/^/| /' conftest.
$ac_ext >&5
7998 ac_cv_lib_m_frexpf
=no
8000 rm -f conftest.err conftest.
$ac_objext \
8001 conftest
$ac_exeext conftest.
$ac_ext
8002 LIBS
=$ac_check_lib_save_LIBS
8004 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
8005 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
8006 if test $ac_cv_lib_m_frexpf = yes; then
8008 cat >>confdefs.h
<<\_ACEOF
8009 #define HAVE_FREXPF 1
8014 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
8015 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
8016 if test "${ac_cv_lib_m_hypotf+set}" = set; then
8017 echo $ECHO_N "(cached) $ECHO_C" >&6
8019 ac_check_lib_save_LIBS
=$LIBS
8021 if test x
$gcc_no_link = xyes
; then
8022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8024 { (exit 1); exit 1; }; }
8026 cat >conftest.
$ac_ext <<_ACEOF
8029 cat confdefs.h
>>conftest.
$ac_ext
8030 cat >>conftest.
$ac_ext <<_ACEOF
8031 /* end confdefs.h. */
8033 /* Override any gcc2 internal prototype to avoid an error. */
8037 /* We use char because int might match the return type of a gcc2
8038 builtin and then its argument prototype would still apply. */
8048 rm -f conftest.
$ac_objext conftest
$ac_exeext
8049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8050 (eval $ac_link) 2>conftest.er1
8052 grep -v '^ *+' conftest.er1
>conftest.err
8054 cat conftest.err
>&5
8055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8056 (exit $ac_status); } &&
8057 { ac_try
='test -z "$ac_c_werror_flag"
8058 || test ! -s conftest.err'
8059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8063 (exit $ac_status); }; } &&
8064 { ac_try
='test -s conftest$ac_exeext'
8065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8069 (exit $ac_status); }; }; then
8070 ac_cv_lib_m_hypotf
=yes
8072 echo "$as_me: failed program was:" >&5
8073 sed 's/^/| /' conftest.
$ac_ext >&5
8075 ac_cv_lib_m_hypotf
=no
8077 rm -f conftest.err conftest.
$ac_objext \
8078 conftest
$ac_exeext conftest.
$ac_ext
8079 LIBS
=$ac_check_lib_save_LIBS
8081 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
8082 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
8083 if test $ac_cv_lib_m_hypotf = yes; then
8085 cat >>confdefs.h
<<\_ACEOF
8086 #define HAVE_HYPOTF 1
8091 echo "$as_me:$LINENO: checking for logf in -lm" >&5
8092 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
8093 if test "${ac_cv_lib_m_logf+set}" = set; then
8094 echo $ECHO_N "(cached) $ECHO_C" >&6
8096 ac_check_lib_save_LIBS
=$LIBS
8098 if test x
$gcc_no_link = xyes
; then
8099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8101 { (exit 1); exit 1; }; }
8103 cat >conftest.
$ac_ext <<_ACEOF
8106 cat confdefs.h
>>conftest.
$ac_ext
8107 cat >>conftest.
$ac_ext <<_ACEOF
8108 /* end confdefs.h. */
8110 /* Override any gcc2 internal prototype to avoid an error. */
8114 /* We use char because int might match the return type of a gcc2
8115 builtin and then its argument prototype would still apply. */
8125 rm -f conftest.
$ac_objext conftest
$ac_exeext
8126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8127 (eval $ac_link) 2>conftest.er1
8129 grep -v '^ *+' conftest.er1
>conftest.err
8131 cat conftest.err
>&5
8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 (exit $ac_status); } &&
8134 { ac_try
='test -z "$ac_c_werror_flag"
8135 || test ! -s conftest.err'
8136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8140 (exit $ac_status); }; } &&
8141 { ac_try
='test -s conftest$ac_exeext'
8142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146 (exit $ac_status); }; }; then
8147 ac_cv_lib_m_logf
=yes
8149 echo "$as_me: failed program was:" >&5
8150 sed 's/^/| /' conftest.
$ac_ext >&5
8154 rm -f conftest.err conftest.
$ac_objext \
8155 conftest
$ac_exeext conftest.
$ac_ext
8156 LIBS
=$ac_check_lib_save_LIBS
8158 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
8159 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
8160 if test $ac_cv_lib_m_logf = yes; then
8162 cat >>confdefs.h
<<\_ACEOF
8168 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
8169 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
8170 if test "${ac_cv_lib_m_log10f+set}" = set; then
8171 echo $ECHO_N "(cached) $ECHO_C" >&6
8173 ac_check_lib_save_LIBS
=$LIBS
8175 if test x
$gcc_no_link = xyes
; then
8176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8178 { (exit 1); exit 1; }; }
8180 cat >conftest.
$ac_ext <<_ACEOF
8183 cat confdefs.h
>>conftest.
$ac_ext
8184 cat >>conftest.
$ac_ext <<_ACEOF
8185 /* end confdefs.h. */
8187 /* Override any gcc2 internal prototype to avoid an error. */
8191 /* We use char because int might match the return type of a gcc2
8192 builtin and then its argument prototype would still apply. */
8202 rm -f conftest.
$ac_objext conftest
$ac_exeext
8203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8204 (eval $ac_link) 2>conftest.er1
8206 grep -v '^ *+' conftest.er1
>conftest.err
8208 cat conftest.err
>&5
8209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8210 (exit $ac_status); } &&
8211 { ac_try
='test -z "$ac_c_werror_flag"
8212 || test ! -s conftest.err'
8213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8217 (exit $ac_status); }; } &&
8218 { ac_try
='test -s conftest$ac_exeext'
8219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8223 (exit $ac_status); }; }; then
8224 ac_cv_lib_m_log10f
=yes
8226 echo "$as_me: failed program was:" >&5
8227 sed 's/^/| /' conftest.
$ac_ext >&5
8229 ac_cv_lib_m_log10f
=no
8231 rm -f conftest.err conftest.
$ac_objext \
8232 conftest
$ac_exeext conftest.
$ac_ext
8233 LIBS
=$ac_check_lib_save_LIBS
8235 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
8236 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
8237 if test $ac_cv_lib_m_log10f = yes; then
8239 cat >>confdefs.h
<<\_ACEOF
8240 #define HAVE_LOG10F 1
8245 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
8246 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
8247 if test "${ac_cv_lib_m_nextafter+set}" = set; then
8248 echo $ECHO_N "(cached) $ECHO_C" >&6
8250 ac_check_lib_save_LIBS
=$LIBS
8252 if test x
$gcc_no_link = xyes
; then
8253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8255 { (exit 1); exit 1; }; }
8257 cat >conftest.
$ac_ext <<_ACEOF
8260 cat confdefs.h
>>conftest.
$ac_ext
8261 cat >>conftest.
$ac_ext <<_ACEOF
8262 /* end confdefs.h. */
8264 /* Override any gcc2 internal prototype to avoid an error. */
8268 /* We use char because int might match the return type of a gcc2
8269 builtin and then its argument prototype would still apply. */
8279 rm -f conftest.
$ac_objext conftest
$ac_exeext
8280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8281 (eval $ac_link) 2>conftest.er1
8283 grep -v '^ *+' conftest.er1
>conftest.err
8285 cat conftest.err
>&5
8286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8287 (exit $ac_status); } &&
8288 { ac_try
='test -z "$ac_c_werror_flag"
8289 || test ! -s conftest.err'
8290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8294 (exit $ac_status); }; } &&
8295 { ac_try
='test -s conftest$ac_exeext'
8296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8300 (exit $ac_status); }; }; then
8301 ac_cv_lib_m_nextafter
=yes
8303 echo "$as_me: failed program was:" >&5
8304 sed 's/^/| /' conftest.
$ac_ext >&5
8306 ac_cv_lib_m_nextafter
=no
8308 rm -f conftest.err conftest.
$ac_objext \
8309 conftest
$ac_exeext conftest.
$ac_ext
8310 LIBS
=$ac_check_lib_save_LIBS
8312 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
8313 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
8314 if test $ac_cv_lib_m_nextafter = yes; then
8316 cat >>confdefs.h
<<\_ACEOF
8317 #define HAVE_NEXTAFTER 1
8322 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
8323 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
8324 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
8325 echo $ECHO_N "(cached) $ECHO_C" >&6
8327 ac_check_lib_save_LIBS
=$LIBS
8329 if test x
$gcc_no_link = xyes
; then
8330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8332 { (exit 1); exit 1; }; }
8334 cat >conftest.
$ac_ext <<_ACEOF
8337 cat confdefs.h
>>conftest.
$ac_ext
8338 cat >>conftest.
$ac_ext <<_ACEOF
8339 /* end confdefs.h. */
8341 /* Override any gcc2 internal prototype to avoid an error. */
8345 /* We use char because int might match the return type of a gcc2
8346 builtin and then its argument prototype would still apply. */
8356 rm -f conftest.
$ac_objext conftest
$ac_exeext
8357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8358 (eval $ac_link) 2>conftest.er1
8360 grep -v '^ *+' conftest.er1
>conftest.err
8362 cat conftest.err
>&5
8363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8364 (exit $ac_status); } &&
8365 { ac_try
='test -z "$ac_c_werror_flag"
8366 || test ! -s conftest.err'
8367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8371 (exit $ac_status); }; } &&
8372 { ac_try
='test -s conftest$ac_exeext'
8373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8377 (exit $ac_status); }; }; then
8378 ac_cv_lib_m_nextafterf
=yes
8380 echo "$as_me: failed program was:" >&5
8381 sed 's/^/| /' conftest.
$ac_ext >&5
8383 ac_cv_lib_m_nextafterf
=no
8385 rm -f conftest.err conftest.
$ac_objext \
8386 conftest
$ac_exeext conftest.
$ac_ext
8387 LIBS
=$ac_check_lib_save_LIBS
8389 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
8390 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
8391 if test $ac_cv_lib_m_nextafterf = yes; then
8393 cat >>confdefs.h
<<\_ACEOF
8394 #define HAVE_NEXTAFTERF 1
8399 echo "$as_me:$LINENO: checking for powf in -lm" >&5
8400 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
8401 if test "${ac_cv_lib_m_powf+set}" = set; then
8402 echo $ECHO_N "(cached) $ECHO_C" >&6
8404 ac_check_lib_save_LIBS
=$LIBS
8406 if test x
$gcc_no_link = xyes
; then
8407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8409 { (exit 1); exit 1; }; }
8411 cat >conftest.
$ac_ext <<_ACEOF
8414 cat confdefs.h
>>conftest.
$ac_ext
8415 cat >>conftest.
$ac_ext <<_ACEOF
8416 /* end confdefs.h. */
8418 /* Override any gcc2 internal prototype to avoid an error. */
8422 /* We use char because int might match the return type of a gcc2
8423 builtin and then its argument prototype would still apply. */
8433 rm -f conftest.
$ac_objext conftest
$ac_exeext
8434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8435 (eval $ac_link) 2>conftest.er1
8437 grep -v '^ *+' conftest.er1
>conftest.err
8439 cat conftest.err
>&5
8440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8441 (exit $ac_status); } &&
8442 { ac_try
='test -z "$ac_c_werror_flag"
8443 || test ! -s conftest.err'
8444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8448 (exit $ac_status); }; } &&
8449 { ac_try
='test -s conftest$ac_exeext'
8450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8454 (exit $ac_status); }; }; then
8455 ac_cv_lib_m_powf
=yes
8457 echo "$as_me: failed program was:" >&5
8458 sed 's/^/| /' conftest.
$ac_ext >&5
8462 rm -f conftest.err conftest.
$ac_objext \
8463 conftest
$ac_exeext conftest.
$ac_ext
8464 LIBS
=$ac_check_lib_save_LIBS
8466 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
8467 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
8468 if test $ac_cv_lib_m_powf = yes; then
8470 cat >>confdefs.h
<<\_ACEOF
8476 echo "$as_me:$LINENO: checking for round in -lm" >&5
8477 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
8478 if test "${ac_cv_lib_m_round+set}" = set; then
8479 echo $ECHO_N "(cached) $ECHO_C" >&6
8481 ac_check_lib_save_LIBS
=$LIBS
8483 if test x
$gcc_no_link = xyes
; then
8484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8486 { (exit 1); exit 1; }; }
8488 cat >conftest.
$ac_ext <<_ACEOF
8491 cat confdefs.h
>>conftest.
$ac_ext
8492 cat >>conftest.
$ac_ext <<_ACEOF
8493 /* end confdefs.h. */
8495 /* Override any gcc2 internal prototype to avoid an error. */
8499 /* We use char because int might match the return type of a gcc2
8500 builtin and then its argument prototype would still apply. */
8510 rm -f conftest.
$ac_objext conftest
$ac_exeext
8511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8512 (eval $ac_link) 2>conftest.er1
8514 grep -v '^ *+' conftest.er1
>conftest.err
8516 cat conftest.err
>&5
8517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8518 (exit $ac_status); } &&
8519 { ac_try
='test -z "$ac_c_werror_flag"
8520 || test ! -s conftest.err'
8521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525 (exit $ac_status); }; } &&
8526 { ac_try
='test -s conftest$ac_exeext'
8527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8531 (exit $ac_status); }; }; then
8532 ac_cv_lib_m_round
=yes
8534 echo "$as_me: failed program was:" >&5
8535 sed 's/^/| /' conftest.
$ac_ext >&5
8537 ac_cv_lib_m_round
=no
8539 rm -f conftest.err conftest.
$ac_objext \
8540 conftest
$ac_exeext conftest.
$ac_ext
8541 LIBS
=$ac_check_lib_save_LIBS
8543 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
8544 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
8545 if test $ac_cv_lib_m_round = yes; then
8547 cat >>confdefs.h
<<\_ACEOF
8548 #define HAVE_ROUND 1
8553 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
8554 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
8555 if test "${ac_cv_lib_m_roundf+set}" = set; then
8556 echo $ECHO_N "(cached) $ECHO_C" >&6
8558 ac_check_lib_save_LIBS
=$LIBS
8560 if test x
$gcc_no_link = xyes
; then
8561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8563 { (exit 1); exit 1; }; }
8565 cat >conftest.
$ac_ext <<_ACEOF
8568 cat confdefs.h
>>conftest.
$ac_ext
8569 cat >>conftest.
$ac_ext <<_ACEOF
8570 /* end confdefs.h. */
8572 /* Override any gcc2 internal prototype to avoid an error. */
8576 /* We use char because int might match the return type of a gcc2
8577 builtin and then its argument prototype would still apply. */
8587 rm -f conftest.
$ac_objext conftest
$ac_exeext
8588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8589 (eval $ac_link) 2>conftest.er1
8591 grep -v '^ *+' conftest.er1
>conftest.err
8593 cat conftest.err
>&5
8594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8595 (exit $ac_status); } &&
8596 { ac_try
='test -z "$ac_c_werror_flag"
8597 || test ! -s conftest.err'
8598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8602 (exit $ac_status); }; } &&
8603 { ac_try
='test -s conftest$ac_exeext'
8604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8608 (exit $ac_status); }; }; then
8609 ac_cv_lib_m_roundf
=yes
8611 echo "$as_me: failed program was:" >&5
8612 sed 's/^/| /' conftest.
$ac_ext >&5
8614 ac_cv_lib_m_roundf
=no
8616 rm -f conftest.err conftest.
$ac_objext \
8617 conftest
$ac_exeext conftest.
$ac_ext
8618 LIBS
=$ac_check_lib_save_LIBS
8620 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
8621 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
8622 if test $ac_cv_lib_m_roundf = yes; then
8624 cat >>confdefs.h
<<\_ACEOF
8625 #define HAVE_ROUNDF 1
8630 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
8631 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
8632 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
8633 echo $ECHO_N "(cached) $ECHO_C" >&6
8635 ac_check_lib_save_LIBS
=$LIBS
8637 if test x
$gcc_no_link = xyes
; then
8638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8640 { (exit 1); exit 1; }; }
8642 cat >conftest.
$ac_ext <<_ACEOF
8645 cat confdefs.h
>>conftest.
$ac_ext
8646 cat >>conftest.
$ac_ext <<_ACEOF
8647 /* end confdefs.h. */
8649 /* Override any gcc2 internal prototype to avoid an error. */
8653 /* We use char because int might match the return type of a gcc2
8654 builtin and then its argument prototype would still apply. */
8664 rm -f conftest.
$ac_objext conftest
$ac_exeext
8665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8666 (eval $ac_link) 2>conftest.er1
8668 grep -v '^ *+' conftest.er1
>conftest.err
8670 cat conftest.err
>&5
8671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8672 (exit $ac_status); } &&
8673 { ac_try
='test -z "$ac_c_werror_flag"
8674 || test ! -s conftest.err'
8675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679 (exit $ac_status); }; } &&
8680 { ac_try
='test -s conftest$ac_exeext'
8681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8685 (exit $ac_status); }; }; then
8686 ac_cv_lib_m_scalbnf
=yes
8688 echo "$as_me: failed program was:" >&5
8689 sed 's/^/| /' conftest.
$ac_ext >&5
8691 ac_cv_lib_m_scalbnf
=no
8693 rm -f conftest.err conftest.
$ac_objext \
8694 conftest
$ac_exeext conftest.
$ac_ext
8695 LIBS
=$ac_check_lib_save_LIBS
8697 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
8698 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
8699 if test $ac_cv_lib_m_scalbnf = yes; then
8701 cat >>confdefs.h
<<\_ACEOF
8702 #define HAVE_SCALBNF 1
8707 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
8708 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
8709 if test "${ac_cv_lib_m_sinf+set}" = set; then
8710 echo $ECHO_N "(cached) $ECHO_C" >&6
8712 ac_check_lib_save_LIBS
=$LIBS
8714 if test x
$gcc_no_link = xyes
; then
8715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8717 { (exit 1); exit 1; }; }
8719 cat >conftest.
$ac_ext <<_ACEOF
8722 cat confdefs.h
>>conftest.
$ac_ext
8723 cat >>conftest.
$ac_ext <<_ACEOF
8724 /* end confdefs.h. */
8726 /* Override any gcc2 internal prototype to avoid an error. */
8730 /* We use char because int might match the return type of a gcc2
8731 builtin and then its argument prototype would still apply. */
8741 rm -f conftest.
$ac_objext conftest
$ac_exeext
8742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8743 (eval $ac_link) 2>conftest.er1
8745 grep -v '^ *+' conftest.er1
>conftest.err
8747 cat conftest.err
>&5
8748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8749 (exit $ac_status); } &&
8750 { ac_try
='test -z "$ac_c_werror_flag"
8751 || test ! -s conftest.err'
8752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8756 (exit $ac_status); }; } &&
8757 { ac_try
='test -s conftest$ac_exeext'
8758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8762 (exit $ac_status); }; }; then
8763 ac_cv_lib_m_sinf
=yes
8765 echo "$as_me: failed program was:" >&5
8766 sed 's/^/| /' conftest.
$ac_ext >&5
8770 rm -f conftest.err conftest.
$ac_objext \
8771 conftest
$ac_exeext conftest.
$ac_ext
8772 LIBS
=$ac_check_lib_save_LIBS
8774 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
8775 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
8776 if test $ac_cv_lib_m_sinf = yes; then
8778 cat >>confdefs.h
<<\_ACEOF
8784 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
8785 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
8786 if test "${ac_cv_lib_m_sinhf+set}" = set; then
8787 echo $ECHO_N "(cached) $ECHO_C" >&6
8789 ac_check_lib_save_LIBS
=$LIBS
8791 if test x
$gcc_no_link = xyes
; then
8792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8794 { (exit 1); exit 1; }; }
8796 cat >conftest.
$ac_ext <<_ACEOF
8799 cat confdefs.h
>>conftest.
$ac_ext
8800 cat >>conftest.
$ac_ext <<_ACEOF
8801 /* end confdefs.h. */
8803 /* Override any gcc2 internal prototype to avoid an error. */
8807 /* We use char because int might match the return type of a gcc2
8808 builtin and then its argument prototype would still apply. */
8818 rm -f conftest.
$ac_objext conftest
$ac_exeext
8819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8820 (eval $ac_link) 2>conftest.er1
8822 grep -v '^ *+' conftest.er1
>conftest.err
8824 cat conftest.err
>&5
8825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8826 (exit $ac_status); } &&
8827 { ac_try
='test -z "$ac_c_werror_flag"
8828 || test ! -s conftest.err'
8829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8833 (exit $ac_status); }; } &&
8834 { ac_try
='test -s conftest$ac_exeext'
8835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8839 (exit $ac_status); }; }; then
8840 ac_cv_lib_m_sinhf
=yes
8842 echo "$as_me: failed program was:" >&5
8843 sed 's/^/| /' conftest.
$ac_ext >&5
8845 ac_cv_lib_m_sinhf
=no
8847 rm -f conftest.err conftest.
$ac_objext \
8848 conftest
$ac_exeext conftest.
$ac_ext
8849 LIBS
=$ac_check_lib_save_LIBS
8851 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
8852 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
8853 if test $ac_cv_lib_m_sinhf = yes; then
8855 cat >>confdefs.h
<<\_ACEOF
8856 #define HAVE_SINHF 1
8861 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
8862 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
8863 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
8864 echo $ECHO_N "(cached) $ECHO_C" >&6
8866 ac_check_lib_save_LIBS
=$LIBS
8868 if test x
$gcc_no_link = xyes
; then
8869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8871 { (exit 1); exit 1; }; }
8873 cat >conftest.
$ac_ext <<_ACEOF
8876 cat confdefs.h
>>conftest.
$ac_ext
8877 cat >>conftest.
$ac_ext <<_ACEOF
8878 /* end confdefs.h. */
8880 /* Override any gcc2 internal prototype to avoid an error. */
8884 /* We use char because int might match the return type of a gcc2
8885 builtin and then its argument prototype would still apply. */
8895 rm -f conftest.
$ac_objext conftest
$ac_exeext
8896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8897 (eval $ac_link) 2>conftest.er1
8899 grep -v '^ *+' conftest.er1
>conftest.err
8901 cat conftest.err
>&5
8902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903 (exit $ac_status); } &&
8904 { ac_try
='test -z "$ac_c_werror_flag"
8905 || test ! -s conftest.err'
8906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8910 (exit $ac_status); }; } &&
8911 { ac_try
='test -s conftest$ac_exeext'
8912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8916 (exit $ac_status); }; }; then
8917 ac_cv_lib_m_sqrtf
=yes
8919 echo "$as_me: failed program was:" >&5
8920 sed 's/^/| /' conftest.
$ac_ext >&5
8922 ac_cv_lib_m_sqrtf
=no
8924 rm -f conftest.err conftest.
$ac_objext \
8925 conftest
$ac_exeext conftest.
$ac_ext
8926 LIBS
=$ac_check_lib_save_LIBS
8928 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
8929 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
8930 if test $ac_cv_lib_m_sqrtf = yes; then
8932 cat >>confdefs.h
<<\_ACEOF
8933 #define HAVE_SQRTF 1
8938 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
8939 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
8940 if test "${ac_cv_lib_m_tanf+set}" = set; then
8941 echo $ECHO_N "(cached) $ECHO_C" >&6
8943 ac_check_lib_save_LIBS
=$LIBS
8945 if test x
$gcc_no_link = xyes
; then
8946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8948 { (exit 1); exit 1; }; }
8950 cat >conftest.
$ac_ext <<_ACEOF
8953 cat confdefs.h
>>conftest.
$ac_ext
8954 cat >>conftest.
$ac_ext <<_ACEOF
8955 /* end confdefs.h. */
8957 /* Override any gcc2 internal prototype to avoid an error. */
8961 /* We use char because int might match the return type of a gcc2
8962 builtin and then its argument prototype would still apply. */
8972 rm -f conftest.
$ac_objext conftest
$ac_exeext
8973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8974 (eval $ac_link) 2>conftest.er1
8976 grep -v '^ *+' conftest.er1
>conftest.err
8978 cat conftest.err
>&5
8979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980 (exit $ac_status); } &&
8981 { ac_try
='test -z "$ac_c_werror_flag"
8982 || test ! -s conftest.err'
8983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8987 (exit $ac_status); }; } &&
8988 { ac_try
='test -s conftest$ac_exeext'
8989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8993 (exit $ac_status); }; }; then
8994 ac_cv_lib_m_tanf
=yes
8996 echo "$as_me: failed program was:" >&5
8997 sed 's/^/| /' conftest.
$ac_ext >&5
9001 rm -f conftest.err conftest.
$ac_objext \
9002 conftest
$ac_exeext conftest.
$ac_ext
9003 LIBS
=$ac_check_lib_save_LIBS
9005 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
9006 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
9007 if test $ac_cv_lib_m_tanf = yes; then
9009 cat >>confdefs.h
<<\_ACEOF
9015 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
9016 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
9017 if test "${ac_cv_lib_m_tanhf+set}" = set; then
9018 echo $ECHO_N "(cached) $ECHO_C" >&6
9020 ac_check_lib_save_LIBS
=$LIBS
9022 if test x
$gcc_no_link = xyes
; then
9023 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9025 { (exit 1); exit 1; }; }
9027 cat >conftest.
$ac_ext <<_ACEOF
9030 cat confdefs.h
>>conftest.
$ac_ext
9031 cat >>conftest.
$ac_ext <<_ACEOF
9032 /* end confdefs.h. */
9034 /* Override any gcc2 internal prototype to avoid an error. */
9038 /* We use char because int might match the return type of a gcc2
9039 builtin and then its argument prototype would still apply. */
9049 rm -f conftest.
$ac_objext conftest
$ac_exeext
9050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9051 (eval $ac_link) 2>conftest.er1
9053 grep -v '^ *+' conftest.er1
>conftest.err
9055 cat conftest.err
>&5
9056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9057 (exit $ac_status); } &&
9058 { ac_try
='test -z "$ac_c_werror_flag"
9059 || test ! -s conftest.err'
9060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9064 (exit $ac_status); }; } &&
9065 { ac_try
='test -s conftest$ac_exeext'
9066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9070 (exit $ac_status); }; }; then
9071 ac_cv_lib_m_tanhf
=yes
9073 echo "$as_me: failed program was:" >&5
9074 sed 's/^/| /' conftest.
$ac_ext >&5
9076 ac_cv_lib_m_tanhf
=no
9078 rm -f conftest.err conftest.
$ac_objext \
9079 conftest
$ac_exeext conftest.
$ac_ext
9080 LIBS
=$ac_check_lib_save_LIBS
9082 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
9083 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
9084 if test $ac_cv_lib_m_tanhf = yes; then
9086 cat >>confdefs.h
<<\_ACEOF
9087 #define HAVE_TANHF 1
9092 echo "$as_me:$LINENO: checking for erf in -lm" >&5
9093 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
9094 if test "${ac_cv_lib_m_erf+set}" = set; then
9095 echo $ECHO_N "(cached) $ECHO_C" >&6
9097 ac_check_lib_save_LIBS
=$LIBS
9099 if test x
$gcc_no_link = xyes
; then
9100 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9102 { (exit 1); exit 1; }; }
9104 cat >conftest.
$ac_ext <<_ACEOF
9107 cat confdefs.h
>>conftest.
$ac_ext
9108 cat >>conftest.
$ac_ext <<_ACEOF
9109 /* end confdefs.h. */
9111 /* Override any gcc2 internal prototype to avoid an error. */
9115 /* We use char because int might match the return type of a gcc2
9116 builtin and then its argument prototype would still apply. */
9126 rm -f conftest.
$ac_objext conftest
$ac_exeext
9127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9128 (eval $ac_link) 2>conftest.er1
9130 grep -v '^ *+' conftest.er1
>conftest.err
9132 cat conftest.err
>&5
9133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9134 (exit $ac_status); } &&
9135 { ac_try
='test -z "$ac_c_werror_flag"
9136 || test ! -s conftest.err'
9137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9141 (exit $ac_status); }; } &&
9142 { ac_try
='test -s conftest$ac_exeext'
9143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147 (exit $ac_status); }; }; then
9150 echo "$as_me: failed program was:" >&5
9151 sed 's/^/| /' conftest.
$ac_ext >&5
9155 rm -f conftest.err conftest.
$ac_objext \
9156 conftest
$ac_exeext conftest.
$ac_ext
9157 LIBS
=$ac_check_lib_save_LIBS
9159 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
9160 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
9161 if test $ac_cv_lib_m_erf = yes; then
9163 cat >>confdefs.h
<<\_ACEOF
9169 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
9170 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
9171 if test "${ac_cv_lib_m_erfc+set}" = set; then
9172 echo $ECHO_N "(cached) $ECHO_C" >&6
9174 ac_check_lib_save_LIBS
=$LIBS
9176 if test x
$gcc_no_link = xyes
; then
9177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9179 { (exit 1); exit 1; }; }
9181 cat >conftest.
$ac_ext <<_ACEOF
9184 cat confdefs.h
>>conftest.
$ac_ext
9185 cat >>conftest.
$ac_ext <<_ACEOF
9186 /* end confdefs.h. */
9188 /* Override any gcc2 internal prototype to avoid an error. */
9192 /* We use char because int might match the return type of a gcc2
9193 builtin and then its argument prototype would still apply. */
9203 rm -f conftest.
$ac_objext conftest
$ac_exeext
9204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9205 (eval $ac_link) 2>conftest.er1
9207 grep -v '^ *+' conftest.er1
>conftest.err
9209 cat conftest.err
>&5
9210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9211 (exit $ac_status); } &&
9212 { ac_try
='test -z "$ac_c_werror_flag"
9213 || test ! -s conftest.err'
9214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9218 (exit $ac_status); }; } &&
9219 { ac_try
='test -s conftest$ac_exeext'
9220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9224 (exit $ac_status); }; }; then
9225 ac_cv_lib_m_erfc
=yes
9227 echo "$as_me: failed program was:" >&5
9228 sed 's/^/| /' conftest.
$ac_ext >&5
9232 rm -f conftest.err conftest.
$ac_objext \
9233 conftest
$ac_exeext conftest.
$ac_ext
9234 LIBS
=$ac_check_lib_save_LIBS
9236 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
9237 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
9238 if test $ac_cv_lib_m_erfc = yes; then
9240 cat >>confdefs.h
<<\_ACEOF
9246 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
9247 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
9248 if test "${ac_cv_lib_m_erfcf+set}" = set; then
9249 echo $ECHO_N "(cached) $ECHO_C" >&6
9251 ac_check_lib_save_LIBS
=$LIBS
9253 if test x
$gcc_no_link = xyes
; then
9254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9256 { (exit 1); exit 1; }; }
9258 cat >conftest.
$ac_ext <<_ACEOF
9261 cat confdefs.h
>>conftest.
$ac_ext
9262 cat >>conftest.
$ac_ext <<_ACEOF
9263 /* end confdefs.h. */
9265 /* Override any gcc2 internal prototype to avoid an error. */
9269 /* We use char because int might match the return type of a gcc2
9270 builtin and then its argument prototype would still apply. */
9280 rm -f conftest.
$ac_objext conftest
$ac_exeext
9281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9282 (eval $ac_link) 2>conftest.er1
9284 grep -v '^ *+' conftest.er1
>conftest.err
9286 cat conftest.err
>&5
9287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9288 (exit $ac_status); } &&
9289 { ac_try
='test -z "$ac_c_werror_flag"
9290 || test ! -s conftest.err'
9291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9295 (exit $ac_status); }; } &&
9296 { ac_try
='test -s conftest$ac_exeext'
9297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301 (exit $ac_status); }; }; then
9302 ac_cv_lib_m_erfcf
=yes
9304 echo "$as_me: failed program was:" >&5
9305 sed 's/^/| /' conftest.
$ac_ext >&5
9307 ac_cv_lib_m_erfcf
=no
9309 rm -f conftest.err conftest.
$ac_objext \
9310 conftest
$ac_exeext conftest.
$ac_ext
9311 LIBS
=$ac_check_lib_save_LIBS
9313 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
9314 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
9315 if test $ac_cv_lib_m_erfcf = yes; then
9317 cat >>confdefs.h
<<\_ACEOF
9318 #define HAVE_ERFCF 1
9323 echo "$as_me:$LINENO: checking for erff in -lm" >&5
9324 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
9325 if test "${ac_cv_lib_m_erff+set}" = set; then
9326 echo $ECHO_N "(cached) $ECHO_C" >&6
9328 ac_check_lib_save_LIBS
=$LIBS
9330 if test x
$gcc_no_link = xyes
; then
9331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9333 { (exit 1); exit 1; }; }
9335 cat >conftest.
$ac_ext <<_ACEOF
9338 cat confdefs.h
>>conftest.
$ac_ext
9339 cat >>conftest.
$ac_ext <<_ACEOF
9340 /* end confdefs.h. */
9342 /* Override any gcc2 internal prototype to avoid an error. */
9346 /* We use char because int might match the return type of a gcc2
9347 builtin and then its argument prototype would still apply. */
9357 rm -f conftest.
$ac_objext conftest
$ac_exeext
9358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9359 (eval $ac_link) 2>conftest.er1
9361 grep -v '^ *+' conftest.er1
>conftest.err
9363 cat conftest.err
>&5
9364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9365 (exit $ac_status); } &&
9366 { ac_try
='test -z "$ac_c_werror_flag"
9367 || test ! -s conftest.err'
9368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9372 (exit $ac_status); }; } &&
9373 { ac_try
='test -s conftest$ac_exeext'
9374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9378 (exit $ac_status); }; }; then
9379 ac_cv_lib_m_erff
=yes
9381 echo "$as_me: failed program was:" >&5
9382 sed 's/^/| /' conftest.
$ac_ext >&5
9386 rm -f conftest.err conftest.
$ac_objext \
9387 conftest
$ac_exeext conftest.
$ac_ext
9388 LIBS
=$ac_check_lib_save_LIBS
9390 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
9391 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
9392 if test $ac_cv_lib_m_erff = yes; then
9394 cat >>confdefs.h
<<\_ACEOF
9400 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
9401 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
9402 if test "${ac_cv_lib_m_j0+set}" = set; then
9403 echo $ECHO_N "(cached) $ECHO_C" >&6
9405 ac_check_lib_save_LIBS
=$LIBS
9407 if test x
$gcc_no_link = xyes
; then
9408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9410 { (exit 1); exit 1; }; }
9412 cat >conftest.
$ac_ext <<_ACEOF
9415 cat confdefs.h
>>conftest.
$ac_ext
9416 cat >>conftest.
$ac_ext <<_ACEOF
9417 /* end confdefs.h. */
9419 /* Override any gcc2 internal prototype to avoid an error. */
9423 /* We use char because int might match the return type of a gcc2
9424 builtin and then its argument prototype would still apply. */
9434 rm -f conftest.
$ac_objext conftest
$ac_exeext
9435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9436 (eval $ac_link) 2>conftest.er1
9438 grep -v '^ *+' conftest.er1
>conftest.err
9440 cat conftest.err
>&5
9441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9442 (exit $ac_status); } &&
9443 { ac_try
='test -z "$ac_c_werror_flag"
9444 || test ! -s conftest.err'
9445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9449 (exit $ac_status); }; } &&
9450 { ac_try
='test -s conftest$ac_exeext'
9451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9455 (exit $ac_status); }; }; then
9458 echo "$as_me: failed program was:" >&5
9459 sed 's/^/| /' conftest.
$ac_ext >&5
9463 rm -f conftest.err conftest.
$ac_objext \
9464 conftest
$ac_exeext conftest.
$ac_ext
9465 LIBS
=$ac_check_lib_save_LIBS
9467 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
9468 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
9469 if test $ac_cv_lib_m_j0 = yes; then
9471 cat >>confdefs.h
<<\_ACEOF
9477 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
9478 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
9479 if test "${ac_cv_lib_m_j0f+set}" = set; then
9480 echo $ECHO_N "(cached) $ECHO_C" >&6
9482 ac_check_lib_save_LIBS
=$LIBS
9484 if test x
$gcc_no_link = xyes
; then
9485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9487 { (exit 1); exit 1; }; }
9489 cat >conftest.
$ac_ext <<_ACEOF
9492 cat confdefs.h
>>conftest.
$ac_ext
9493 cat >>conftest.
$ac_ext <<_ACEOF
9494 /* end confdefs.h. */
9496 /* Override any gcc2 internal prototype to avoid an error. */
9500 /* We use char because int might match the return type of a gcc2
9501 builtin and then its argument prototype would still apply. */
9511 rm -f conftest.
$ac_objext conftest
$ac_exeext
9512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9513 (eval $ac_link) 2>conftest.er1
9515 grep -v '^ *+' conftest.er1
>conftest.err
9517 cat conftest.err
>&5
9518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9519 (exit $ac_status); } &&
9520 { ac_try
='test -z "$ac_c_werror_flag"
9521 || test ! -s conftest.err'
9522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9526 (exit $ac_status); }; } &&
9527 { ac_try
='test -s conftest$ac_exeext'
9528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9532 (exit $ac_status); }; }; then
9535 echo "$as_me: failed program was:" >&5
9536 sed 's/^/| /' conftest.
$ac_ext >&5
9540 rm -f conftest.err conftest.
$ac_objext \
9541 conftest
$ac_exeext conftest.
$ac_ext
9542 LIBS
=$ac_check_lib_save_LIBS
9544 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
9545 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
9546 if test $ac_cv_lib_m_j0f = yes; then
9548 cat >>confdefs.h
<<\_ACEOF
9554 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
9555 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
9556 if test "${ac_cv_lib_m_j1+set}" = set; then
9557 echo $ECHO_N "(cached) $ECHO_C" >&6
9559 ac_check_lib_save_LIBS
=$LIBS
9561 if test x
$gcc_no_link = xyes
; then
9562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9564 { (exit 1); exit 1; }; }
9566 cat >conftest.
$ac_ext <<_ACEOF
9569 cat confdefs.h
>>conftest.
$ac_ext
9570 cat >>conftest.
$ac_ext <<_ACEOF
9571 /* end confdefs.h. */
9573 /* Override any gcc2 internal prototype to avoid an error. */
9577 /* We use char because int might match the return type of a gcc2
9578 builtin and then its argument prototype would still apply. */
9588 rm -f conftest.
$ac_objext conftest
$ac_exeext
9589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9590 (eval $ac_link) 2>conftest.er1
9592 grep -v '^ *+' conftest.er1
>conftest.err
9594 cat conftest.err
>&5
9595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9596 (exit $ac_status); } &&
9597 { ac_try
='test -z "$ac_c_werror_flag"
9598 || test ! -s conftest.err'
9599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9603 (exit $ac_status); }; } &&
9604 { ac_try
='test -s conftest$ac_exeext'
9605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9609 (exit $ac_status); }; }; then
9612 echo "$as_me: failed program was:" >&5
9613 sed 's/^/| /' conftest.
$ac_ext >&5
9617 rm -f conftest.err conftest.
$ac_objext \
9618 conftest
$ac_exeext conftest.
$ac_ext
9619 LIBS
=$ac_check_lib_save_LIBS
9621 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
9622 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
9623 if test $ac_cv_lib_m_j1 = yes; then
9625 cat >>confdefs.h
<<\_ACEOF
9631 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
9632 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
9633 if test "${ac_cv_lib_m_j1f+set}" = set; then
9634 echo $ECHO_N "(cached) $ECHO_C" >&6
9636 ac_check_lib_save_LIBS
=$LIBS
9638 if test x
$gcc_no_link = xyes
; then
9639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9641 { (exit 1); exit 1; }; }
9643 cat >conftest.
$ac_ext <<_ACEOF
9646 cat confdefs.h
>>conftest.
$ac_ext
9647 cat >>conftest.
$ac_ext <<_ACEOF
9648 /* end confdefs.h. */
9650 /* Override any gcc2 internal prototype to avoid an error. */
9654 /* We use char because int might match the return type of a gcc2
9655 builtin and then its argument prototype would still apply. */
9665 rm -f conftest.
$ac_objext conftest
$ac_exeext
9666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9667 (eval $ac_link) 2>conftest.er1
9669 grep -v '^ *+' conftest.er1
>conftest.err
9671 cat conftest.err
>&5
9672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9673 (exit $ac_status); } &&
9674 { ac_try
='test -z "$ac_c_werror_flag"
9675 || test ! -s conftest.err'
9676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9680 (exit $ac_status); }; } &&
9681 { ac_try
='test -s conftest$ac_exeext'
9682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9686 (exit $ac_status); }; }; then
9689 echo "$as_me: failed program was:" >&5
9690 sed 's/^/| /' conftest.
$ac_ext >&5
9694 rm -f conftest.err conftest.
$ac_objext \
9695 conftest
$ac_exeext conftest.
$ac_ext
9696 LIBS
=$ac_check_lib_save_LIBS
9698 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
9699 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
9700 if test $ac_cv_lib_m_j1f = yes; then
9702 cat >>confdefs.h
<<\_ACEOF
9708 echo "$as_me:$LINENO: checking for jn in -lm" >&5
9709 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
9710 if test "${ac_cv_lib_m_jn+set}" = set; then
9711 echo $ECHO_N "(cached) $ECHO_C" >&6
9713 ac_check_lib_save_LIBS
=$LIBS
9715 if test x
$gcc_no_link = xyes
; then
9716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9718 { (exit 1); exit 1; }; }
9720 cat >conftest.
$ac_ext <<_ACEOF
9723 cat confdefs.h
>>conftest.
$ac_ext
9724 cat >>conftest.
$ac_ext <<_ACEOF
9725 /* end confdefs.h. */
9727 /* Override any gcc2 internal prototype to avoid an error. */
9731 /* We use char because int might match the return type of a gcc2
9732 builtin and then its argument prototype would still apply. */
9742 rm -f conftest.
$ac_objext conftest
$ac_exeext
9743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9744 (eval $ac_link) 2>conftest.er1
9746 grep -v '^ *+' conftest.er1
>conftest.err
9748 cat conftest.err
>&5
9749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9750 (exit $ac_status); } &&
9751 { ac_try
='test -z "$ac_c_werror_flag"
9752 || test ! -s conftest.err'
9753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9757 (exit $ac_status); }; } &&
9758 { ac_try
='test -s conftest$ac_exeext'
9759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9763 (exit $ac_status); }; }; then
9766 echo "$as_me: failed program was:" >&5
9767 sed 's/^/| /' conftest.
$ac_ext >&5
9771 rm -f conftest.err conftest.
$ac_objext \
9772 conftest
$ac_exeext conftest.
$ac_ext
9773 LIBS
=$ac_check_lib_save_LIBS
9775 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
9776 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
9777 if test $ac_cv_lib_m_jn = yes; then
9779 cat >>confdefs.h
<<\_ACEOF
9785 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
9786 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
9787 if test "${ac_cv_lib_m_jnf+set}" = set; then
9788 echo $ECHO_N "(cached) $ECHO_C" >&6
9790 ac_check_lib_save_LIBS
=$LIBS
9792 if test x
$gcc_no_link = xyes
; then
9793 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9795 { (exit 1); exit 1; }; }
9797 cat >conftest.
$ac_ext <<_ACEOF
9800 cat confdefs.h
>>conftest.
$ac_ext
9801 cat >>conftest.
$ac_ext <<_ACEOF
9802 /* end confdefs.h. */
9804 /* Override any gcc2 internal prototype to avoid an error. */
9808 /* We use char because int might match the return type of a gcc2
9809 builtin and then its argument prototype would still apply. */
9819 rm -f conftest.
$ac_objext conftest
$ac_exeext
9820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9821 (eval $ac_link) 2>conftest.er1
9823 grep -v '^ *+' conftest.er1
>conftest.err
9825 cat conftest.err
>&5
9826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9827 (exit $ac_status); } &&
9828 { ac_try
='test -z "$ac_c_werror_flag"
9829 || test ! -s conftest.err'
9830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9834 (exit $ac_status); }; } &&
9835 { ac_try
='test -s conftest$ac_exeext'
9836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840 (exit $ac_status); }; }; then
9843 echo "$as_me: failed program was:" >&5
9844 sed 's/^/| /' conftest.
$ac_ext >&5
9848 rm -f conftest.err conftest.
$ac_objext \
9849 conftest
$ac_exeext conftest.
$ac_ext
9850 LIBS
=$ac_check_lib_save_LIBS
9852 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
9853 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
9854 if test $ac_cv_lib_m_jnf = yes; then
9856 cat >>confdefs.h
<<\_ACEOF
9862 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
9863 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
9864 if test "${ac_cv_lib_m_y0+set}" = set; then
9865 echo $ECHO_N "(cached) $ECHO_C" >&6
9867 ac_check_lib_save_LIBS
=$LIBS
9869 if test x
$gcc_no_link = xyes
; then
9870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9872 { (exit 1); exit 1; }; }
9874 cat >conftest.
$ac_ext <<_ACEOF
9877 cat confdefs.h
>>conftest.
$ac_ext
9878 cat >>conftest.
$ac_ext <<_ACEOF
9879 /* end confdefs.h. */
9881 /* Override any gcc2 internal prototype to avoid an error. */
9885 /* We use char because int might match the return type of a gcc2
9886 builtin and then its argument prototype would still apply. */
9896 rm -f conftest.
$ac_objext conftest
$ac_exeext
9897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9898 (eval $ac_link) 2>conftest.er1
9900 grep -v '^ *+' conftest.er1
>conftest.err
9902 cat conftest.err
>&5
9903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9904 (exit $ac_status); } &&
9905 { ac_try
='test -z "$ac_c_werror_flag"
9906 || test ! -s conftest.err'
9907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9911 (exit $ac_status); }; } &&
9912 { ac_try
='test -s conftest$ac_exeext'
9913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9917 (exit $ac_status); }; }; then
9920 echo "$as_me: failed program was:" >&5
9921 sed 's/^/| /' conftest.
$ac_ext >&5
9925 rm -f conftest.err conftest.
$ac_objext \
9926 conftest
$ac_exeext conftest.
$ac_ext
9927 LIBS
=$ac_check_lib_save_LIBS
9929 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
9930 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
9931 if test $ac_cv_lib_m_y0 = yes; then
9933 cat >>confdefs.h
<<\_ACEOF
9939 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
9940 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
9941 if test "${ac_cv_lib_m_y0f+set}" = set; then
9942 echo $ECHO_N "(cached) $ECHO_C" >&6
9944 ac_check_lib_save_LIBS
=$LIBS
9946 if test x
$gcc_no_link = xyes
; then
9947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9949 { (exit 1); exit 1; }; }
9951 cat >conftest.
$ac_ext <<_ACEOF
9954 cat confdefs.h
>>conftest.
$ac_ext
9955 cat >>conftest.
$ac_ext <<_ACEOF
9956 /* end confdefs.h. */
9958 /* Override any gcc2 internal prototype to avoid an error. */
9962 /* We use char because int might match the return type of a gcc2
9963 builtin and then its argument prototype would still apply. */
9973 rm -f conftest.
$ac_objext conftest
$ac_exeext
9974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9975 (eval $ac_link) 2>conftest.er1
9977 grep -v '^ *+' conftest.er1
>conftest.err
9979 cat conftest.err
>&5
9980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9981 (exit $ac_status); } &&
9982 { ac_try
='test -z "$ac_c_werror_flag"
9983 || test ! -s conftest.err'
9984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9988 (exit $ac_status); }; } &&
9989 { ac_try
='test -s conftest$ac_exeext'
9990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9994 (exit $ac_status); }; }; then
9997 echo "$as_me: failed program was:" >&5
9998 sed 's/^/| /' conftest.
$ac_ext >&5
10002 rm -f conftest.err conftest.
$ac_objext \
10003 conftest
$ac_exeext conftest.
$ac_ext
10004 LIBS
=$ac_check_lib_save_LIBS
10006 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
10007 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
10008 if test $ac_cv_lib_m_y0f = yes; then
10010 cat >>confdefs.h
<<\_ACEOF
10016 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
10017 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
10018 if test "${ac_cv_lib_m_y1+set}" = set; then
10019 echo $ECHO_N "(cached) $ECHO_C" >&6
10021 ac_check_lib_save_LIBS
=$LIBS
10023 if test x
$gcc_no_link = xyes
; then
10024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10026 { (exit 1); exit 1; }; }
10028 cat >conftest.
$ac_ext <<_ACEOF
10031 cat confdefs.h
>>conftest.
$ac_ext
10032 cat >>conftest.
$ac_ext <<_ACEOF
10033 /* end confdefs.h. */
10035 /* Override any gcc2 internal prototype to avoid an error. */
10039 /* We use char because int might match the return type of a gcc2
10040 builtin and then its argument prototype would still apply. */
10050 rm -f conftest.
$ac_objext conftest
$ac_exeext
10051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10052 (eval $ac_link) 2>conftest.er1
10054 grep -v '^ *+' conftest.er1
>conftest.err
10056 cat conftest.err
>&5
10057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10058 (exit $ac_status); } &&
10059 { ac_try
='test -z "$ac_c_werror_flag"
10060 || test ! -s conftest.err'
10061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10062 (eval $ac_try) 2>&5
10064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10065 (exit $ac_status); }; } &&
10066 { ac_try
='test -s conftest$ac_exeext'
10067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10068 (eval $ac_try) 2>&5
10070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10071 (exit $ac_status); }; }; then
10074 echo "$as_me: failed program was:" >&5
10075 sed 's/^/| /' conftest.
$ac_ext >&5
10079 rm -f conftest.err conftest.
$ac_objext \
10080 conftest
$ac_exeext conftest.
$ac_ext
10081 LIBS
=$ac_check_lib_save_LIBS
10083 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
10084 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
10085 if test $ac_cv_lib_m_y1 = yes; then
10087 cat >>confdefs.h
<<\_ACEOF
10093 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
10094 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
10095 if test "${ac_cv_lib_m_y1f+set}" = set; then
10096 echo $ECHO_N "(cached) $ECHO_C" >&6
10098 ac_check_lib_save_LIBS
=$LIBS
10100 if test x
$gcc_no_link = xyes
; then
10101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10103 { (exit 1); exit 1; }; }
10105 cat >conftest.
$ac_ext <<_ACEOF
10108 cat confdefs.h
>>conftest.
$ac_ext
10109 cat >>conftest.
$ac_ext <<_ACEOF
10110 /* end confdefs.h. */
10112 /* Override any gcc2 internal prototype to avoid an error. */
10116 /* We use char because int might match the return type of a gcc2
10117 builtin and then its argument prototype would still apply. */
10127 rm -f conftest.
$ac_objext conftest
$ac_exeext
10128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10129 (eval $ac_link) 2>conftest.er1
10131 grep -v '^ *+' conftest.er1
>conftest.err
10133 cat conftest.err
>&5
10134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10135 (exit $ac_status); } &&
10136 { ac_try
='test -z "$ac_c_werror_flag"
10137 || test ! -s conftest.err'
10138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10139 (eval $ac_try) 2>&5
10141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10142 (exit $ac_status); }; } &&
10143 { ac_try
='test -s conftest$ac_exeext'
10144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10145 (eval $ac_try) 2>&5
10147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10148 (exit $ac_status); }; }; then
10149 ac_cv_lib_m_y1f
=yes
10151 echo "$as_me: failed program was:" >&5
10152 sed 's/^/| /' conftest.
$ac_ext >&5
10156 rm -f conftest.err conftest.
$ac_objext \
10157 conftest
$ac_exeext conftest.
$ac_ext
10158 LIBS
=$ac_check_lib_save_LIBS
10160 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
10161 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
10162 if test $ac_cv_lib_m_y1f = yes; then
10164 cat >>confdefs.h
<<\_ACEOF
10170 echo "$as_me:$LINENO: checking for yn in -lm" >&5
10171 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
10172 if test "${ac_cv_lib_m_yn+set}" = set; then
10173 echo $ECHO_N "(cached) $ECHO_C" >&6
10175 ac_check_lib_save_LIBS
=$LIBS
10177 if test x
$gcc_no_link = xyes
; then
10178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10180 { (exit 1); exit 1; }; }
10182 cat >conftest.
$ac_ext <<_ACEOF
10185 cat confdefs.h
>>conftest.
$ac_ext
10186 cat >>conftest.
$ac_ext <<_ACEOF
10187 /* end confdefs.h. */
10189 /* Override any gcc2 internal prototype to avoid an error. */
10193 /* We use char because int might match the return type of a gcc2
10194 builtin and then its argument prototype would still apply. */
10204 rm -f conftest.
$ac_objext conftest
$ac_exeext
10205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10206 (eval $ac_link) 2>conftest.er1
10208 grep -v '^ *+' conftest.er1
>conftest.err
10210 cat conftest.err
>&5
10211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10212 (exit $ac_status); } &&
10213 { ac_try
='test -z "$ac_c_werror_flag"
10214 || test ! -s conftest.err'
10215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10216 (eval $ac_try) 2>&5
10218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10219 (exit $ac_status); }; } &&
10220 { ac_try
='test -s conftest$ac_exeext'
10221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10222 (eval $ac_try) 2>&5
10224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10225 (exit $ac_status); }; }; then
10228 echo "$as_me: failed program was:" >&5
10229 sed 's/^/| /' conftest.
$ac_ext >&5
10233 rm -f conftest.err conftest.
$ac_objext \
10234 conftest
$ac_exeext conftest.
$ac_ext
10235 LIBS
=$ac_check_lib_save_LIBS
10237 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
10238 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
10239 if test $ac_cv_lib_m_yn = yes; then
10241 cat >>confdefs.h
<<\_ACEOF
10247 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
10248 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
10249 if test "${ac_cv_lib_m_ynf+set}" = set; then
10250 echo $ECHO_N "(cached) $ECHO_C" >&6
10252 ac_check_lib_save_LIBS
=$LIBS
10254 if test x
$gcc_no_link = xyes
; then
10255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10257 { (exit 1); exit 1; }; }
10259 cat >conftest.
$ac_ext <<_ACEOF
10262 cat confdefs.h
>>conftest.
$ac_ext
10263 cat >>conftest.
$ac_ext <<_ACEOF
10264 /* end confdefs.h. */
10266 /* Override any gcc2 internal prototype to avoid an error. */
10270 /* We use char because int might match the return type of a gcc2
10271 builtin and then its argument prototype would still apply. */
10281 rm -f conftest.
$ac_objext conftest
$ac_exeext
10282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10283 (eval $ac_link) 2>conftest.er1
10285 grep -v '^ *+' conftest.er1
>conftest.err
10287 cat conftest.err
>&5
10288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10289 (exit $ac_status); } &&
10290 { ac_try
='test -z "$ac_c_werror_flag"
10291 || test ! -s conftest.err'
10292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10293 (eval $ac_try) 2>&5
10295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10296 (exit $ac_status); }; } &&
10297 { ac_try
='test -s conftest$ac_exeext'
10298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10299 (eval $ac_try) 2>&5
10301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10302 (exit $ac_status); }; }; then
10303 ac_cv_lib_m_ynf
=yes
10305 echo "$as_me: failed program was:" >&5
10306 sed 's/^/| /' conftest.
$ac_ext >&5
10310 rm -f conftest.err conftest.
$ac_objext \
10311 conftest
$ac_exeext conftest.
$ac_ext
10312 LIBS
=$ac_check_lib_save_LIBS
10314 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
10315 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
10316 if test $ac_cv_lib_m_ynf = yes; then
10318 cat >>confdefs.h
<<\_ACEOF
10325 # Let the user override this
10326 # Check whether --enable-cmath or --disable-cmath was given.
10327 if test "${enable_cmath+set}" = set; then
10328 enableval
="$enable_cmath"
10329 need_math
=$enableval
10331 if test "$need_math" = "yes"; then
10332 { echo "$as_me:$LINENO: Including complex math functions in libgfor" >&5
10333 echo "$as_me: Including complex math functions in libgfor" >&6;};
10334 extra_math_obj
='$(gfor_cmath_obj)'
10337 MATH_OBJ
="$extra_math_obj"
10340 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
10341 # for struct timezone, as you might think. We also need to check how
10342 # to call gettimeofday if we have it.
10343 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10344 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
10345 if test "${ac_cv_header_time+set}" = set; then
10346 echo $ECHO_N "(cached) $ECHO_C" >&6
10348 cat >conftest.
$ac_ext <<_ACEOF
10351 cat confdefs.h
>>conftest.
$ac_ext
10352 cat >>conftest.
$ac_ext <<_ACEOF
10353 /* end confdefs.h. */
10354 #include <sys/types.h>
10355 #include <sys/time.h>
10361 if ((struct tm *) 0)
10367 rm -f conftest.
$ac_objext
10368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10369 (eval $ac_compile) 2>conftest.er1
10371 grep -v '^ *+' conftest.er1
>conftest.err
10373 cat conftest.err
>&5
10374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10375 (exit $ac_status); } &&
10376 { ac_try
='test -z "$ac_c_werror_flag"
10377 || test ! -s conftest.err'
10378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10379 (eval $ac_try) 2>&5
10381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10382 (exit $ac_status); }; } &&
10383 { ac_try
='test -s conftest.$ac_objext'
10384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10385 (eval $ac_try) 2>&5
10387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10388 (exit $ac_status); }; }; then
10389 ac_cv_header_time
=yes
10391 echo "$as_me: failed program was:" >&5
10392 sed 's/^/| /' conftest.
$ac_ext >&5
10394 ac_cv_header_time
=no
10396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10398 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10399 echo "${ECHO_T}$ac_cv_header_time" >&6
10400 if test $ac_cv_header_time = yes; then
10402 cat >>confdefs.h
<<\_ACEOF
10403 #define TIME_WITH_SYS_TIME 1
10410 for ac_func
in gettimeofday
10412 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10413 echo "$as_me:$LINENO: checking for $ac_func" >&5
10414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10415 if eval "test \"\${$as_ac_var+set}\" = set"; then
10416 echo $ECHO_N "(cached) $ECHO_C" >&6
10418 if test x
$gcc_no_link = xyes
; then
10419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10421 { (exit 1); exit 1; }; }
10423 cat >conftest.
$ac_ext <<_ACEOF
10426 cat confdefs.h
>>conftest.
$ac_ext
10427 cat >>conftest.
$ac_ext <<_ACEOF
10428 /* end confdefs.h. */
10429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10431 #define $ac_func innocuous_$ac_func
10433 /* System header to define __stub macros and hopefully few prototypes,
10434 which can conflict with char $ac_func (); below.
10435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10436 <limits.h> exists even on freestanding compilers. */
10439 # include <limits.h>
10441 # include <assert.h>
10446 /* Override any gcc2 internal prototype to avoid an error. */
10451 /* We use char because int might match the return type of a gcc2
10452 builtin and then its argument prototype would still apply. */
10454 /* The GNU C library defines this for functions which it implements
10455 to always fail with ENOSYS. Some functions are actually named
10456 something starting with __ and the normal name is an alias. */
10457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10460 char (*f) () = $ac_func;
10469 return f != $ac_func;
10474 rm -f conftest.
$ac_objext conftest
$ac_exeext
10475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10476 (eval $ac_link) 2>conftest.er1
10478 grep -v '^ *+' conftest.er1
>conftest.err
10480 cat conftest.err
>&5
10481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10482 (exit $ac_status); } &&
10483 { ac_try
='test -z "$ac_c_werror_flag"
10484 || test ! -s conftest.err'
10485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10486 (eval $ac_try) 2>&5
10488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10489 (exit $ac_status); }; } &&
10490 { ac_try
='test -s conftest$ac_exeext'
10491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10492 (eval $ac_try) 2>&5
10494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10495 (exit $ac_status); }; }; then
10496 eval "$as_ac_var=yes"
10498 echo "$as_me: failed program was:" >&5
10499 sed 's/^/| /' conftest.
$ac_ext >&5
10501 eval "$as_ac_var=no"
10503 rm -f conftest.err conftest.
$ac_objext \
10504 conftest
$ac_exeext conftest.
$ac_ext
10506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10508 if test `eval echo '${'$as_ac_var'}'` = yes; then
10509 cat >>confdefs.h
<<_ACEOF
10510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10516 if test "$ac_cv_func_gettimeofday" = yes; then
10517 echo "$as_me:$LINENO: checking for struct timezone" >&5
10518 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
10519 if test "${gfor_cv_struct_timezone+set}" = set; then
10520 echo $ECHO_N "(cached) $ECHO_C" >&6
10522 cat >conftest.
$ac_ext <<_ACEOF
10525 cat confdefs.h
>>conftest.
$ac_ext
10526 cat >>conftest.
$ac_ext <<_ACEOF
10527 /* end confdefs.h. */
10528 #include <sys/time.h>
10532 struct timezone tz;
10537 rm -f conftest.
$ac_objext
10538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10539 (eval $ac_compile) 2>conftest.er1
10541 grep -v '^ *+' conftest.er1
>conftest.err
10543 cat conftest.err
>&5
10544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10545 (exit $ac_status); } &&
10546 { ac_try
='test -z "$ac_c_werror_flag"
10547 || test ! -s conftest.err'
10548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10549 (eval $ac_try) 2>&5
10551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10552 (exit $ac_status); }; } &&
10553 { ac_try
='test -s conftest.$ac_objext'
10554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10555 (eval $ac_try) 2>&5
10557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558 (exit $ac_status); }; }; then
10559 gfor_cv_struct_timezone
=yes
10561 echo "$as_me: failed program was:" >&5
10562 sed 's/^/| /' conftest.
$ac_ext >&5
10564 gfor_cv_struct_timezone
=no
10566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10568 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
10569 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
10570 if test $gfor_cv_struct_timezone = yes; then
10571 if test "$cross_compiling" = yes; then
10572 gfor_have_struct_timezone
=yes
10574 cat >conftest.
$ac_ext <<_ACEOF
10577 cat confdefs.h
>>conftest.
$ac_ext
10578 cat >>conftest.
$ac_ext <<_ACEOF
10579 /* end confdefs.h. */
10581 #ifdef TIME_WITH_SYS_TIME
10582 #include <sys/time.h>
10585 #ifdef HAVE_SYS_TIME_H
10586 #include <sys/time.h>
10593 struct timeval time;
10594 struct timezone dummy;
10595 if (gettimeofday (&time, &dummy))
10601 rm -f conftest
$ac_exeext
10602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10603 (eval $ac_link) 2>&5
10605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10606 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10608 (eval $ac_try) 2>&5
10610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10611 (exit $ac_status); }; }; then
10612 gfor_have_struct_timezone
=yes
10614 echo "$as_me: program exited with status $ac_status" >&5
10615 echo "$as_me: failed program was:" >&5
10616 sed 's/^/| /' conftest.
$ac_ext >&5
10618 ( exit $ac_status )
10619 gfor_have_struct_timezone
=no
10621 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10623 if test $gfor_have_struct_timezone = yes; then
10625 cat >>confdefs.h
<<\_ACEOF
10626 #define HAVE_TIMEZONE 1
10632 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
10633 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
10634 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
10635 echo $ECHO_N "(cached) $ECHO_C" >&6
10637 if test x
$gcc_no_link = xyes
; then
10638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10640 { (exit 1); exit 1; }; }
10642 cat >conftest.
$ac_ext <<_ACEOF
10645 cat confdefs.h
>>conftest.
$ac_ext
10646 cat >>conftest.
$ac_ext <<_ACEOF
10647 /* end confdefs.h. */
10649 #ifdef TIME_WITH_SYS_TIME
10650 #include <sys/time.h>
10653 #ifdef HAVE_SYS_TIME_H
10654 #include <sys/time.h>
10664 struct timeval time;
10665 #ifdef HAVE_TIMEZONE
10666 struct timezone dummy;
10667 #define DUMMY &dummy
10671 gettimeofday (&time, DUMMY);
10676 rm -f conftest.
$ac_objext conftest
$ac_exeext
10677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10678 (eval $ac_link) 2>conftest.er1
10680 grep -v '^ *+' conftest.er1
>conftest.err
10682 cat conftest.err
>&5
10683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10684 (exit $ac_status); } &&
10685 { ac_try
='test -z "$ac_c_werror_flag"
10686 || test ! -s conftest.err'
10687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10688 (eval $ac_try) 2>&5
10690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10691 (exit $ac_status); }; } &&
10692 { ac_try
='test -s conftest$ac_exeext'
10693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10694 (eval $ac_try) 2>&5
10696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10697 (exit $ac_status); }; }; then
10698 emacs_cv_gettimeofday_two_arguments
=yes
10700 echo "$as_me: failed program was:" >&5
10701 sed 's/^/| /' conftest.
$ac_ext >&5
10703 emacs_cv_gettimeofday_two_arguments
=no
10705 rm -f conftest.err conftest.
$ac_objext \
10706 conftest
$ac_exeext conftest.
$ac_ext
10708 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
10709 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
10710 if test $emacs_cv_gettimeofday_two_arguments = no
; then
10712 cat >>confdefs.h
<<\_ACEOF
10713 #define GETTIMEOFDAY_ONE_ARGUMENT 1
10719 cat >confcache
<<\_ACEOF
10720 # This file is a shell script that caches the results of configure
10721 # tests run on this system so they can be shared between configure
10722 # scripts and configure runs, see configure's option --config-cache.
10723 # It is not useful on other systems. If it contains results you don't
10724 # want to keep, you may remove or edit it.
10726 # config.status only pays attention to the cache file if you give it
10727 # the --recheck option to rerun configure.
10729 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10730 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10731 # following values.
10735 # The following way of writing the cache mishandles newlines in values,
10736 # but we know of no workaround that is simple, portable, and efficient.
10737 # So, don't put newlines in cache variables' values.
10738 # Ultrix sh set writes to stderr and can't be redirected directly,
10739 # and sets the high bit in the cache file unless we assign to the vars.
10742 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10744 # `set' does not quote correctly, so add quotes (double-quote
10745 # substitution turns \\\\ into \\, and sed turns \\ into \).
10748 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10751 # `set' quotes correctly as required by POSIX, so do not add quotes.
10753 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10760 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10762 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10764 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10765 if test -w $cache_file; then
10766 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10767 cat confcache
>$cache_file
10769 echo "not updating unwritable cache $cache_file"
10774 if test ${multilib} = yes; then
10775 multilib_arg
="--enable-multilib"
10780 # Write our Makefile.
10781 ac_config_files
="$ac_config_files Makefile"
10783 cat >confcache
<<\_ACEOF
10784 # This file is a shell script that caches the results of configure
10785 # tests run on this system so they can be shared between configure
10786 # scripts and configure runs, see configure's option --config-cache.
10787 # It is not useful on other systems. If it contains results you don't
10788 # want to keep, you may remove or edit it.
10790 # config.status only pays attention to the cache file if you give it
10791 # the --recheck option to rerun configure.
10793 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10794 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10795 # following values.
10799 # The following way of writing the cache mishandles newlines in values,
10800 # but we know of no workaround that is simple, portable, and efficient.
10801 # So, don't put newlines in cache variables' values.
10802 # Ultrix sh set writes to stderr and can't be redirected directly,
10803 # and sets the high bit in the cache file unless we assign to the vars.
10806 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10808 # `set' does not quote correctly, so add quotes (double-quote
10809 # substitution turns \\\\ into \\, and sed turns \\ into \).
10812 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10815 # `set' quotes correctly as required by POSIX, so do not add quotes.
10817 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10824 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10826 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10828 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10829 if test -w $cache_file; then
10830 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10831 cat confcache
>$cache_file
10833 echo "not updating unwritable cache $cache_file"
10838 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10839 # Let make expand exec_prefix.
10840 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10842 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10843 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10844 # trailing colons and then remove the whole line if VPATH becomes empty
10845 # (actually we leave an empty line to preserve line numbers).
10846 if test "x$srcdir" = x.
; then
10847 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
10848 s/:*\$(srcdir):*/:/;
10849 s/:*\${srcdir}:*/:/;
10851 s/^\([^=]*=[ ]*\):*/\1/;
10857 DEFS
=-DHAVE_CONFIG_H
10861 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10862 # 1. Remove the extension, and $U if already installed.
10863 ac_i
=`echo "$ac_i" |
10864 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
10866 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
10867 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
10869 LIBOBJS
=$ac_libobjs
10871 LTLIBOBJS
=$ac_ltlibobjs
10874 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
10875 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
10876 Usually this means the macro was only invoked conditionally." >&5
10877 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
10878 Usually this means the macro was only invoked conditionally." >&2;}
10879 { (exit 1); exit 1; }; }
10882 : ${CONFIG_STATUS=./config.status}
10883 ac_clean_files_save
=$ac_clean_files
10884 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10885 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10886 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10887 cat >$CONFIG_STATUS <<_ACEOF
10889 # Generated by $as_me.
10890 # Run this file to recreate the current configuration.
10891 # Compiler output produced by configure, useful for debugging
10892 # configure, is in config.log if it exists.
10895 ac_cs_recheck=false
10897 SHELL=\${CONFIG_SHELL-$SHELL}
10900 cat >>$CONFIG_STATUS <<\_ACEOF
10901 ## --------------------- ##
10902 ## M4sh Initialization. ##
10903 ## --------------------- ##
10905 # Be Bourne compatible
10906 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
10909 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10910 # is contrary to our usage. Disable this feature.
10911 alias -g '${1+"$@"}'='"$@"'
10912 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
10915 DUALCASE
=1; export DUALCASE
# for MKS sh
10917 # Support unset when possible.
10918 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
10925 # Work around bugs in pre-3.0 UWIN ksh.
10926 $as_unset ENV MAIL MAILPATH
10933 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10934 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10935 LC_TELEPHONE LC_TIME
10937 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10938 eval $as_var=C
; export $as_var
10944 # Required to use basename.
10945 if expr a
: '\(a\)' >/dev
/null
2>&1; then
10951 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
10952 as_basename
=basename
10958 # Name of the executable.
10959 as_me
=`$as_basename "$0" ||
10960 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10961 X"$0" : 'X\(//\)$' \| \
10962 X"$0" : 'X\(/\)$' \| \
10963 . : '\(.\)' 2>/dev/null ||
10965 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
10966 /^X\/\(\/\/\)$/{ s//\1/; q; }
10967 /^X\/\(\/\).*/{ s//\1/; q; }
10971 # PATH needs CR, and LINENO needs CR and PATH.
10972 # Avoid depending upon Character Ranges.
10973 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
10974 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10975 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
10976 as_cr_digits
='0123456789'
10977 as_cr_alnum
=$as_cr_Letters$as_cr_digits
10979 # The user is always right.
10980 if test "${PATH_SEPARATOR+set}" != set; then
10981 echo "#! /bin/sh" >conf$$.sh
10982 echo "exit 0" >>conf$$.sh
10984 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10993 as_lineno_1
=$LINENO
10994 as_lineno_2
=$LINENO
10995 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
10996 test "x$as_lineno_1" != "x$as_lineno_2" &&
10997 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
10998 # Find who we are. Look in the path if we contain no path at all
11001 *[\\/]* ) as_myself
=$0 ;;
11002 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11003 for as_dir
in $PATH
11006 test -z "$as_dir" && as_dir
=.
11007 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
11012 # We did not find ourselves, most probably we were run as `sh COMMAND'
11013 # in which case we are not to be found in the path.
11014 if test "x$as_myself" = x
; then
11017 if test ! -f "$as_myself"; then
11018 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11019 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11020 { (exit 1); exit 1; }; }
11022 case $CONFIG_SHELL in
11024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11025 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
11028 test -z "$as_dir" && as_dir
=.
11029 for as_base
in sh bash ksh sh5
; do
11032 if ("$as_dir/$as_base" -c '
11033 as_lineno_1=$LINENO
11034 as_lineno_2=$LINENO
11035 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11036 test "x$as_lineno_1" != "x$as_lineno_2" &&
11037 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
11038 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
11039 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
11040 CONFIG_SHELL
=$as_dir/$as_base
11041 export CONFIG_SHELL
11042 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11050 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11051 # uniformly replaced by the line number. The first 'sed' inserts a
11052 # line-number line before each line; the second 'sed' does the real
11053 # work. The second script uses 'N' to pair each line-number line
11054 # with the numbered line, and appends trailing '-' during
11055 # substitution so that $LINENO is not a special case at line end.
11056 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11057 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11058 sed '=' <$as_myself |
11063 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11066 s,^['$as_cr_digits']*\n,,
11067 ' >$as_me.lineno
&&
11068 chmod +x
$as_me.lineno ||
11069 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11070 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11071 { (exit 1); exit 1; }; }
11073 # Don't try to exec as it changes $[0], causing all sort of problems
11074 # (the dirname of $[0] is not the place where we might find the
11075 # original and so on. Autoconf is especially sensible to this).
11077 # Exit status is that of the last command.
11082 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11083 *c
*,-n*) ECHO_N
= ECHO_C
='
11085 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
11086 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
11089 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11095 rm -f conf$$ conf$$.exe conf$$.
file
11097 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11098 # We could just check for DJGPP; but this test a) works b) is more generic
11099 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11100 if test -f conf$$.exe
; then
11101 # Don't use ln at all; we don't have any links
11106 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11111 rm -f conf$$ conf$$.exe conf$$.
file
11113 if mkdir
-p .
2>/dev
/null
; then
11116 test -d .
/-p && rmdir .
/-p
11120 as_executable_p
="test -f"
11122 # Sed expression to map a string onto a valid CPP name.
11123 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11125 # Sed expression to map a string onto a valid variable name.
11126 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11130 # We need space, tab and new line, in precisely that order.
11140 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11141 # report actual input values of CONFIG_FILES etc. instead of their
11142 # values after options handling. Logging --version etc. is OK.
11146 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11147 ## Running $as_me. ##
11152 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
11153 generated by GNU Autoconf 2.59. Invocation command line was
11155 CONFIG_FILES = $CONFIG_FILES
11156 CONFIG_HEADERS = $CONFIG_HEADERS
11157 CONFIG_LINKS = $CONFIG_LINKS
11158 CONFIG_COMMANDS = $CONFIG_COMMANDS
11162 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11166 # Files that config.status was made for.
11167 if test -n "$ac_config_files"; then
11168 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11171 if test -n "$ac_config_headers"; then
11172 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11175 if test -n "$ac_config_links"; then
11176 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11179 if test -n "$ac_config_commands"; then
11180 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11183 cat >>$CONFIG_STATUS <<\_ACEOF
11186 \`$as_me' instantiates files from templates according to the
11187 current configuration.
11189 Usage: $0 [OPTIONS] [FILE]...
11191 -h, --help print this help, then exit
11192 -V, --version print version number, then exit
11193 -q, --quiet do not print progress messages
11194 -d, --debug don't remove temporary files
11195 --recheck update $as_me by reconfiguring in the same conditions
11196 --file=FILE[:TEMPLATE]
11197 instantiate the configuration file FILE
11198 --header=FILE[:TEMPLATE]
11199 instantiate the configuration header FILE
11201 Configuration files:
11204 Configuration headers:
11207 Configuration commands:
11210 Report bugs to <bug-autoconf@gnu.org>."
11213 cat >>$CONFIG_STATUS <<_ACEOF
11215 GNU Fortran Runtime Library config.status 0.2
11216 configured by $0, generated by GNU Autoconf 2.59,
11217 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11219 Copyright (C) 2003 Free Software Foundation, Inc.
11220 This config.status script is free software; the Free Software Foundation
11221 gives unlimited permission to copy, distribute and modify it."
11226 cat >>$CONFIG_STATUS <<\_ACEOF
11227 # If no file are specified by the user, then we need to provide default
11228 # value. By we need to know if files were specified by the user.
11234 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
11235 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
11243 *) # This is not an option, so the user has probably given explicit
11246 ac_need_defaults
=false
;;
11250 # Handling of the options.
11252 cat >>$CONFIG_STATUS <<\_ACEOF
11253 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11255 --version |
--vers* |
-V )
11256 echo "$ac_cs_version"; exit 0 ;;
11258 # Conflict between --help and --header
11259 { { echo "$as_me:$LINENO: error: ambiguous option: $1
11260 Try \`$0 --help' for more information." >&5
11261 echo "$as_me: error: ambiguous option: $1
11262 Try \`$0 --help' for more information." >&2;}
11263 { (exit 1); exit 1; }; };;
11264 --help |
--hel |
-h )
11265 echo "$ac_cs_usage"; exit 0 ;;
11266 --debug |
--d* |
-d )
11268 --file |
--fil |
--fi |
--f )
11270 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
11271 ac_need_defaults
=false
;;
11272 --header |
--heade |
--head |
--hea )
11274 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
11275 ac_need_defaults
=false
;;
11276 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11277 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11280 # This is an error.
11281 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11282 Try \`$0 --help' for more information." >&5
11283 echo "$as_me: error: unrecognized option: $1
11284 Try \`$0 --help' for more information." >&2;}
11285 { (exit 1); exit 1; }; } ;;
11287 *) ac_config_targets
="$ac_config_targets $1" ;;
11293 ac_configure_extra_args
=
11295 if $ac_cs_silent; then
11297 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11301 cat >>$CONFIG_STATUS <<_ACEOF
11302 if \$ac_cs_recheck; then
11303 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11304 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11309 cat >>$CONFIG_STATUS <<_ACEOF
11311 # INIT-COMMANDS section.
11318 with_multisubdir="$with_multisubdir"
11319 with_multisrctop="$with_multisrctop"
11320 with_target_subdir="$with_target_subdir"
11321 ac_configure_args="${multilib_arg} ${ac_configure_args}"
11322 multi_basedir="$multi_basedir"
11323 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
11330 cat >>$CONFIG_STATUS <<\_ACEOF
11331 for ac_config_target
in $ac_config_targets
11333 case "$ac_config_target" in
11334 # Handling of arguments.
11335 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11336 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
11337 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
11338 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11339 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11340 { (exit 1); exit 1; }; };;
11344 # If the user did not use the arguments to specify the items to instantiate,
11345 # then the envvar interface is used. Set only those that are not.
11346 # We use the long form for the default assignment because of an extremely
11347 # bizarre bug on SunOS 4.1.3.
11348 if $ac_need_defaults; then
11349 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11350 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11351 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11354 # Have a temporary directory for convenience. Make it in the build tree
11355 # simply because there is no reason to put it here, and in addition,
11356 # creating and moving files from /tmp can sometimes cause problems.
11357 # Create a temporary directory, and hook for its removal unless debugging.
11360 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11361 trap '{ (exit 1); exit 1; }' 1 2 13 15
11364 # Create a (secure) tmp directory for tmp files.
11367 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11368 test -n "$tmp" && test -d "$tmp"
11371 tmp
=.
/confstat$$
-$RANDOM
11372 (umask 077 && mkdir
$tmp)
11375 echo "$me: cannot create a temporary directory in ." >&2
11376 { (exit 1); exit 1; }
11381 cat >>$CONFIG_STATUS <<_ACEOF
11384 # CONFIG_FILES section.
11387 # No need to generate the scripts if there are no CONFIG_FILES.
11388 # This happens for instance when ./config.status config.h
11389 if test -n "\$CONFIG_FILES"; then
11390 # Protect against being on the right side of a sed subst in config.status.
11391 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11392 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11393 s,@SHELL@,$SHELL,;t t
11394 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11395 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11396 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11397 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11398 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11399 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11400 s,@exec_prefix@,$exec_prefix,;t t
11401 s,@prefix@,$prefix,;t t
11402 s,@program_transform_name@,$program_transform_name,;t t
11403 s,@bindir@,$bindir,;t t
11404 s,@sbindir@,$sbindir,;t t
11405 s,@libexecdir@,$libexecdir,;t t
11406 s,@datadir@,$datadir,;t t
11407 s,@sysconfdir@,$sysconfdir,;t t
11408 s,@sharedstatedir@,$sharedstatedir,;t t
11409 s,@localstatedir@,$localstatedir,;t t
11410 s,@libdir@,$libdir,;t t
11411 s,@includedir@,$includedir,;t t
11412 s,@oldincludedir@,$oldincludedir,;t t
11413 s,@infodir@,$infodir,;t t
11414 s,@mandir@,$mandir,;t t
11415 s,@build_alias@,$build_alias,;t t
11416 s,@host_alias@,$host_alias,;t t
11417 s,@target_alias@,$target_alias,;t t
11418 s,@DEFS@,$DEFS,;t t
11419 s,@ECHO_C@,$ECHO_C,;t t
11420 s,@ECHO_N@,$ECHO_N,;t t
11421 s,@ECHO_T@,$ECHO_T,;t t
11422 s,@LIBS@,$LIBS,;t t
11423 s,@build@,$build,;t t
11424 s,@build_cpu@,$build_cpu,;t t
11425 s,@build_vendor@,$build_vendor,;t t
11426 s,@build_os@,$build_os,;t t
11427 s,@host@,$host,;t t
11428 s,@host_cpu@,$host_cpu,;t t
11429 s,@host_vendor@,$host_vendor,;t t
11430 s,@host_os@,$host_os,;t t
11431 s,@target@,$target,;t t
11432 s,@target_cpu@,$target_cpu,;t t
11433 s,@target_vendor@,$target_vendor,;t t
11434 s,@target_os@,$target_os,;t t
11435 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11436 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
11437 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
11438 s,@CYGPATH_W@,$CYGPATH_W,;t t
11439 s,@PACKAGE@,$PACKAGE,;t t
11440 s,@VERSION@,$VERSION,;t t
11441 s,@ACLOCAL@,$ACLOCAL,;t t
11442 s,@AUTOCONF@,$AUTOCONF,;t t
11443 s,@AUTOMAKE@,$AUTOMAKE,;t t
11444 s,@AUTOHEADER@,$AUTOHEADER,;t t
11445 s,@MAKEINFO@,$MAKEINFO,;t t
11446 s,@install_sh@,$install_sh,;t t
11447 s,@STRIP@,$STRIP,;t t
11448 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
11449 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
11450 s,@mkdir_p@,$mkdir_p,;t t
11452 s,@SET_MAKE@,$SET_MAKE,;t t
11453 s,@am__leading_dot@,$am__leading_dot,;t t
11454 s,@AMTAR@,$AMTAR,;t t
11455 s,@am__tar@,$am__tar,;t t
11456 s,@am__untar@,$am__untar,;t t
11457 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
11458 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
11459 s,@MAINT@,$MAINT,;t t
11460 s,@multi_basedir@,$multi_basedir,;t t
11461 s,@gcc_version@,$gcc_version,;t t
11462 s,@toolexecdir@,$toolexecdir,;t t
11463 s,@toolexeclibdir@,$toolexeclibdir,;t t
11465 s,@ac_ct_CC@,$ac_ct_CC,;t t
11466 s,@EXEEXT@,$EXEEXT,;t t
11467 s,@OBJEXT@,$OBJEXT,;t t
11468 s,@CFLAGS@,$CFLAGS,;t t
11470 s,@ac_ct_AS@,$ac_ct_AS,;t t
11472 s,@ac_ct_AR@,$ac_ct_AR,;t t
11473 s,@RANLIB@,$RANLIB,;t t
11474 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
11475 s,@LN_S@,$LN_S,;t t
11476 s,@LIBTOOL@,$LIBTOOL,;t t
11477 s,@enable_shared@,$enable_shared,;t t
11478 s,@enable_static@,$enable_static,;t t
11480 s,@FCFLAGS@,$FCFLAGS,;t t
11481 s,@LDFLAGS@,$LDFLAGS,;t t
11482 s,@ac_ct_FC@,$ac_ct_FC,;t t
11484 s,@CPPFLAGS@,$CPPFLAGS,;t t
11485 s,@EGREP@,$EGREP,;t t
11486 s,@MATH_OBJ@,$MATH_OBJ,;t t
11487 s,@LIBOBJS@,$LIBOBJS,;t t
11488 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
11493 cat >>$CONFIG_STATUS <<\_ACEOF
11494 # Split the substitutions into bite-sized pieces for seds with
11495 # small command number limits, like on Digital OSF/1 and HP-UX.
11496 ac_max_sed_lines
=48
11497 ac_sed_frag
=1 # Number of current file.
11498 ac_beg
=1 # First line for current file.
11499 ac_end
=$ac_max_sed_lines # Line after last line for current file.
11502 while $ac_more_lines; do
11503 if test $ac_beg -gt 1; then
11504 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
11506 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
11508 if test ! -s $tmp/subs.frag
; then
11509 ac_more_lines
=false
11511 # The purpose of the label and of the branching condition is to
11512 # speed up the sed processing (if there are no `@' at all, there
11513 # is no need to browse any of the substitutions).
11514 # These are the two extra sed commands mentioned above.
11516 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
11517 if test -z "$ac_sed_cmds"; then
11518 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
11520 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11522 ac_sed_frag
=`expr $ac_sed_frag + 1`
11524 ac_end
=`expr $ac_end + $ac_max_sed_lines`
11527 if test -z "$ac_sed_cmds"; then
11530 fi # test -n "$CONFIG_FILES"
11533 cat >>$CONFIG_STATUS <<\_ACEOF
11534 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
11535 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11537 - |
*:- |
*:-:* ) # input from stdin
11539 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11540 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11541 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11542 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11543 * ) ac_file_in
=$ac_file.
in ;;
11546 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11547 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
11548 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11549 X"$ac_file" : 'X\(//\)[^/]' \| \
11550 X"$ac_file" : 'X\(//\)$' \| \
11551 X"$ac_file" : 'X\(/\)' \| \
11552 . : '\(.\)' 2>/dev/null ||
11554 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11555 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11556 /^X\(\/\/\)$/{ s//\1/; q; }
11557 /^X\(\/\).*/{ s//\1/; q; }
11559 { if $as_mkdir_p; then
11564 while test ! -d "$as_dir"; do
11565 as_dirs
="$as_dir $as_dirs"
11566 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11567 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11568 X"$as_dir" : 'X\(//\)[^/]' \| \
11569 X"$as_dir" : 'X\(//\)$' \| \
11570 X"$as_dir" : 'X\(/\)' \| \
11571 . : '\(.\)' 2>/dev/null ||
11573 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11574 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11575 /^X\(\/\/\)$/{ s//\1/; q; }
11576 /^X\(\/\).*/{ s//\1/; q; }
11579 test ! -n "$as_dirs" || mkdir
$as_dirs
11580 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11581 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11582 { (exit 1); exit 1; }; }; }
11586 if test "$ac_dir" != .
; then
11587 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11588 # A "../" for each directory in $ac_dir_suffix.
11589 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11591 ac_dir_suffix
= ac_top_builddir
=
11595 .
) # No --srcdir option. We are building in place.
11597 if test -z "$ac_top_builddir"; then
11600 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
11602 [\\/]* | ?
:[\\/]* ) # Absolute path.
11603 ac_srcdir
=$srcdir$ac_dir_suffix;
11604 ac_top_srcdir
=$srcdir ;;
11605 *) # Relative path.
11606 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
11607 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
11610 # Do not use `cd foo && pwd` to compute absolute paths, because
11611 # the directories may not exist.
11613 .
) ac_abs_builddir
="$ac_dir";;
11616 .
) ac_abs_builddir
=`pwd`;;
11617 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
11618 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
11621 case $ac_abs_builddir in
11622 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11624 case ${ac_top_builddir}.
in
11625 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
11626 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11627 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
11630 case $ac_abs_builddir in
11631 .
) ac_abs_srcdir
=$ac_srcdir;;
11634 .
) ac_abs_srcdir
=$ac_abs_builddir;;
11635 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
11636 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
11639 case $ac_abs_builddir in
11640 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
11642 case $ac_top_srcdir in
11643 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
11644 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
11645 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
11651 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
11652 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
11655 if test x
"$ac_file" != x-
; then
11656 { echo "$as_me:$LINENO: creating $ac_file" >&5
11657 echo "$as_me: creating $ac_file" >&6;}
11660 # Let's still pretend it is `configure' which instantiates (i.e., don't
11661 # use $as_me), people would be surprised to read:
11662 # /* config.h. Generated by config.status. */
11663 if test x
"$ac_file" = x-
; then
11666 configure_input
="$ac_file. "
11668 configure_input
=$configure_input"Generated from `echo $ac_file_in |
11669 sed 's,.*/,,'` by configure."
11671 # First look for the input files in the build tree, otherwise in the
11673 ac_file_inputs
=`IFS=:
11674 for f in $ac_file_in; do
11676 -) echo $tmp/stdin ;;
11678 # Absolute (can't be DOS-style, as IFS=:)
11679 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11680 echo "$as_me: error: cannot find input file: $f" >&2;}
11681 { (exit 1); exit 1; }; }
11684 if test -f "$f"; then
11687 elif test -f "$srcdir/$f"; then
11692 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11693 echo "$as_me: error: cannot find input file: $f" >&2;}
11694 { (exit 1); exit 1; }; }
11697 done` ||
{ (exit 1); exit 1; }
11699 cat >>$CONFIG_STATUS <<_ACEOF
11703 cat >>$CONFIG_STATUS <<\_ACEOF
11705 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
11706 s
,@configure_input@
,$configure_input,;t t
11707 s
,@srcdir@
,$ac_srcdir,;t t
11708 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
11709 s
,@top_srcdir@
,$ac_top_srcdir,;t t
11710 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
11711 s
,@builddir@
,$ac_builddir,;t t
11712 s
,@abs_builddir@
,$ac_abs_builddir,;t t
11713 s
,@top_builddir@
,$ac_top_builddir,;t t
11714 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
11715 s
,@INSTALL@
,$ac_INSTALL,;t t
11716 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11718 if test x"$ac_file" != x-; then
11719 mv $tmp/out $ac_file
11727 cat >>$CONFIG_STATUS <<\_ACEOF
11730 # CONFIG_HEADER section.
11733 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
11734 # NAME is the cpp macro being defined and VALUE is the value it is being given.
11736 # ac_d sets the value in "#define NAME VALUE" lines.
11737 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
11738 ac_dB
='[ ].*$,\1#\2'
11741 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11742 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
11743 ac_uB
='$,\1#\2define\3'
11747 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
11748 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11750 - |
*:- |
*:-:* ) # input from stdin
11752 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11753 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11754 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11755 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11756 * ) ac_file_in
=$ac_file.
in ;;
11759 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
11760 echo "$as_me: creating $ac_file" >&6;}
11762 # First look for the input files in the build tree, otherwise in the
11764 ac_file_inputs
=`IFS=:
11765 for f in $ac_file_in; do
11767 -) echo $tmp/stdin ;;
11769 # Absolute (can't be DOS-style, as IFS=:)
11770 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11771 echo "$as_me: error: cannot find input file: $f" >&2;}
11772 { (exit 1); exit 1; }; }
11773 # Do quote $f, to prevent DOS paths from being IFS'd.
11776 if test -f "$f"; then
11779 elif test -f "$srcdir/$f"; then
11784 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11785 echo "$as_me: error: cannot find input file: $f" >&2;}
11786 { (exit 1); exit 1; }; }
11789 done` ||
{ (exit 1); exit 1; }
11790 # Remove the trailing spaces.
11791 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
11795 # Transform confdefs.h into two sed scripts, `conftest.defines' and
11796 # `conftest.undefs', that substitutes the proper values into
11797 # config.h.in to produce config.h. The first handles `#define'
11798 # templates, and the second `#undef' templates.
11799 # And first: Protect against being on the right side of a sed subst in
11800 # config.status. Protect against being in an unquoted here document
11801 # in config.status.
11802 rm -f conftest.defines conftest.undefs
11803 # Using a here document instead of a string reduces the quoting nightmare.
11804 # Putting comments in sed scripts is not portable.
11806 # `end' is used to avoid that the second main sed command (meant for
11807 # 0-ary CPP macros) applies to n-ary macro definitions.
11808 # See the Autoconf documentation for `clear'.
11809 cat >confdef2sed.
sed <<\_ACEOF
11814 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
11816 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
11819 # If some macros were called several times there might be several times
11820 # the same #defines, which is useless. Nevertheless, we may not want to
11821 # sort them, since we want the *last* AC-DEFINE to be honored.
11822 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
11823 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
11824 rm -f confdef2sed.sed
11826 # This sed command replaces #undef with comments. This is necessary, for
11827 # example, in the case of _POSIX_SOURCE, which is predefined and required
11828 # on some systems where configure will not decide to define it.
11829 cat >>conftest.undefs <<\_ACEOF
11830 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
11833 # Break up conftest.defines because some shells have a limit on the size
11834 # of here documents, and old seds have small limits too (100 cmds).
11835 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
11836 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11837 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
11838 echo ' :' >>$CONFIG_STATUS
11839 rm -f conftest.tail
11840 while grep . conftest.defines >/dev/null
11842 # Write a limited-size here document to $tmp/defines.sed.
11843 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
11844 # Speed up: don't consider the non `#define' lines.
11845 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
11846 # Work around the forget-to-reset-the-flag bug.
11847 echo 't clr' >>$CONFIG_STATUS
11848 echo ': clr' >>$CONFIG_STATUS
11849 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
11851 sed -f $tmp/defines.sed $tmp/in >$tmp/out
11853 mv $tmp/out $tmp/in
11855 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
11856 rm -f conftest.defines
11857 mv conftest.
tail conftest.defines
11859 rm -f conftest.defines
11860 echo ' fi # grep' >>$CONFIG_STATUS
11861 echo >>$CONFIG_STATUS
11863 # Break up conftest.undefs because some shells have a limit on the size
11864 # of here documents, and old seds have small limits too (100 cmds).
11865 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
11866 rm -f conftest.
tail
11867 while grep . conftest.undefs
>/dev
/null
11869 # Write a limited-size here document to $tmp/undefs.sed.
11870 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
11871 # Speed up: don't consider the non
`#undef'
11872 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
11873 # Work around the forget-to-reset-the-flag bug.
11874 echo 't clr' >>$CONFIG_STATUS
11875 echo ': clr' >>$CONFIG_STATUS
11876 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
11878 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
11880 mv $tmp/out $tmp/in
11882 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
11883 rm -f conftest.undefs
11884 mv conftest.tail conftest.undefs
11886 rm -f conftest.undefs
11888 cat >>$CONFIG_STATUS <<\_ACEOF
11889 # Let's still pretend it is `configure
' which instantiates (i.e., don't
11890 # use $as_me), people would be surprised to read:
11891 # /* config.h. Generated by config.status. */
11892 if test x
"$ac_file" = x-
; then
11893 echo "/* Generated by configure. */" >$tmp/config.h
11895 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
11897 cat $tmp/in >>$tmp/config.h
11899 if test x
"$ac_file" != x-
; then
11900 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
11901 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11902 echo "$as_me: $ac_file is unchanged" >&6;}
11904 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
11905 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11906 X"$ac_file" : 'X\(//\)[^/]' \| \
11907 X"$ac_file" : 'X\(//\)$' \| \
11908 X"$ac_file" : 'X\(/\)' \| \
11909 . : '\(.\)' 2>/dev/null ||
11911 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11912 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11913 /^X\(\/\/\)$/{ s//\1/; q; }
11914 /^X\(\/\).*/{ s//\1/; q; }
11916 { if $as_mkdir_p; then
11921 while test ! -d "$as_dir"; do
11922 as_dirs
="$as_dir $as_dirs"
11923 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11924 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11925 X"$as_dir" : 'X\(//\)[^/]' \| \
11926 X"$as_dir" : 'X\(//\)$' \| \
11927 X"$as_dir" : 'X\(/\)' \| \
11928 . : '\(.\)' 2>/dev/null ||
11930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11931 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11932 /^X\(\/\/\)$/{ s//\1/; q; }
11933 /^X\(\/\).*/{ s//\1/; q; }
11936 test ! -n "$as_dirs" || mkdir
$as_dirs
11937 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11938 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11939 { (exit 1); exit 1; }; }; }
11942 mv $tmp/config.h
$ac_file
11946 rm -f $tmp/config.h
11948 # Compute $ac_file's index in $config_headers.
11950 for _am_header
in $config_headers :; do
11951 case $_am_header in
11952 $ac_file |
$ac_file:* )
11955 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
11958 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
11959 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11960 X$ac_file : 'X\(//\)[^/]' \| \
11961 X$ac_file : 'X\(//\)$' \| \
11962 X$ac_file : 'X\(/\)' \| \
11963 . : '\(.\)' 2>/dev/null ||
11965 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11966 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11967 /^X\(\/\/\)$/{ s//\1/; q; }
11968 /^X\(\/\).*/{ s//\1/; q; }
11969 s/.*/./; q'`/stamp-h
$_am_stamp_count
11972 cat >>$CONFIG_STATUS <<\_ACEOF
11975 # CONFIG_COMMANDS section.
11977 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
11978 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
11979 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11980 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
11981 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11982 X"$ac_dest" : 'X\(//\)[^/]' \| \
11983 X"$ac_dest" : 'X\(//\)$' \| \
11984 X"$ac_dest" : 'X\(/\)' \| \
11985 . : '\(.\)' 2>/dev/null ||
11987 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11988 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11989 /^X\(\/\/\)$/{ s//\1/; q; }
11990 /^X\(\/\).*/{ s//\1/; q; }
11992 { if $as_mkdir_p; then
11997 while test ! -d "$as_dir"; do
11998 as_dirs
="$as_dir $as_dirs"
11999 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12000 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12001 X"$as_dir" : 'X\(//\)[^/]' \| \
12002 X"$as_dir" : 'X\(//\)$' \| \
12003 X"$as_dir" : 'X\(/\)' \| \
12004 . : '\(.\)' 2>/dev/null ||
12006 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12007 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12008 /^X\(\/\/\)$/{ s//\1/; q; }
12009 /^X\(\/\).*/{ s//\1/; q; }
12012 test ! -n "$as_dirs" || mkdir
$as_dirs
12013 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12014 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12015 { (exit 1); exit 1; }; }; }
12019 if test "$ac_dir" != .
; then
12020 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12021 # A "../" for each directory in $ac_dir_suffix.
12022 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12024 ac_dir_suffix
= ac_top_builddir
=
12028 .
) # No --srcdir option. We are building in place.
12030 if test -z "$ac_top_builddir"; then
12033 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12035 [\\/]* | ?
:[\\/]* ) # Absolute path.
12036 ac_srcdir
=$srcdir$ac_dir_suffix;
12037 ac_top_srcdir
=$srcdir ;;
12038 *) # Relative path.
12039 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12040 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12043 # Do not use `cd foo && pwd` to compute absolute paths, because
12044 # the directories may not exist.
12046 .
) ac_abs_builddir
="$ac_dir";;
12049 .
) ac_abs_builddir
=`pwd`;;
12050 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12051 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12054 case $ac_abs_builddir in
12055 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12057 case ${ac_top_builddir}.
in
12058 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12059 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12060 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12063 case $ac_abs_builddir in
12064 .
) ac_abs_srcdir
=$ac_srcdir;;
12067 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12068 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12069 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12072 case $ac_abs_builddir in
12073 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12075 case $ac_top_srcdir in
12076 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12077 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12078 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12083 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12084 echo "$as_me: executing $ac_dest commands" >&6;}
12087 # Only add multilib support code if we just rebuilt the top-level
12089 case " $CONFIG_FILES " in
12091 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
12098 cat >>$CONFIG_STATUS <<\_ACEOF
12100 { (exit 0); exit 0; }
12102 chmod +x
$CONFIG_STATUS
12103 ac_clean_files
=$ac_clean_files_save
12106 # configure is writing to config.log, and then calls config.status.
12107 # config.status does its own redirection, appending to config.log.
12108 # Unfortunately, on DOS this fails, as config.log is still kept open
12109 # by configure, so config.status won't be able to write to it; its
12110 # output is simply discarded. So we exec the FD to /dev/null,
12111 # effectively closing config.log, so it can be properly (re)opened and
12112 # appended to by config.status. When coming back to configure, we
12113 # need to make the FD available again.
12114 if test "$no_create" != yes; then
12116 ac_config_status_args
=
12117 test "$silent" = yes &&
12118 ac_config_status_args
="$ac_config_status_args --quiet"
12120 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
12122 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12123 # would make configure fail if this is the last instruction.
12124 $ac_cs_success ||
{ (exit 1); exit 1; }