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 AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot 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 F77 FFLAGS LDFLAGS ac_ct_F77 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_F77_set
=${F77+set}
753 ac_env_F77_value
=$F77
754 ac_cv_env_F77_set
=${F77+set}
755 ac_cv_env_F77_value
=$F77
756 ac_env_FFLAGS_set
=${FFLAGS+set}
757 ac_env_FFLAGS_value
=$FFLAGS
758 ac_cv_env_FFLAGS_set
=${FFLAGS+set}
759 ac_cv_env_FFLAGS_value
=$FFLAGS
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 F77 Fortran
77 compiler
command
879 FFLAGS Fortran
77 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.8"
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 # Keeping the `.' argument allows $(mkdir_p) to be used without
1644 # argument. Indeed, we sometimes output rules like
1645 # $(mkdir_p) $(somedir)
1646 # where $(somedir) is conditionally defined.
1647 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1648 # expensive solution, as it forces Make to start a sub-shell.)
1649 mkdir_p
='mkdir -p -- .'
1651 # On NextStep and OpenStep, the `mkdir' command does not
1652 # recognize any option. It will interpret all options as
1653 # directories to create, and then abort because `.' already
1655 for d
in .
/-p .
/--version;
1657 test -d $d && rmdir $d
1659 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1660 if test -f "$ac_aux_dir/mkinstalldirs"; then
1661 mkdir_p
='$(mkinstalldirs)'
1663 mkdir_p
='$(install_sh) -d'
1667 for ac_prog
in gawk mawk nawk
awk
1669 # Extract the first word of "$ac_prog", so it can be a program name with args.
1670 set dummy
$ac_prog; ac_word
=$2
1671 echo "$as_me:$LINENO: checking for $ac_word" >&5
1672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1673 if test "${ac_cv_prog_AWK+set}" = set; then
1674 echo $ECHO_N "(cached) $ECHO_C" >&6
1676 if test -n "$AWK"; then
1677 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1683 test -z "$as_dir" && as_dir
=.
1684 for ac_exec_ext
in '' $ac_executable_extensions; do
1685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1686 ac_cv_prog_AWK
="$ac_prog"
1687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1696 if test -n "$AWK"; then
1697 echo "$as_me:$LINENO: result: $AWK" >&5
1698 echo "${ECHO_T}$AWK" >&6
1700 echo "$as_me:$LINENO: result: no" >&5
1701 echo "${ECHO_T}no" >&6
1704 test -n "$AWK" && break
1707 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1708 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1709 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1710 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1711 echo $ECHO_N "(cached) $ECHO_C" >&6
1713 cat >conftest.
make <<\_ACEOF
1715 @
echo 'ac_maketemp="$(MAKE)"'
1717 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1718 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1719 if test -n "$ac_maketemp"; then
1720 eval ac_cv_prog_make_
${ac_make}_set
=yes
1722 eval ac_cv_prog_make_
${ac_make}_set
=no
1726 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1727 echo "$as_me:$LINENO: result: yes" >&5
1728 echo "${ECHO_T}yes" >&6
1731 echo "$as_me:$LINENO: result: no" >&5
1732 echo "${ECHO_T}no" >&6
1733 SET_MAKE
="MAKE=${MAKE-make}"
1736 rm -rf .tst
2>/dev
/null
1737 mkdir .tst
2>/dev
/null
1738 if test -d .tst
; then
1743 rmdir .tst
2>/dev
/null
1745 # test to see if srcdir already configured
1746 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1747 test -f $srcdir/config.status
; then
1748 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1749 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1750 { (exit 1); exit 1; }; }
1753 # test whether we have cygpath
1754 if test -z "$CYGPATH_W"; then
1755 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1756 CYGPATH_W
='cygpath -w'
1763 # Define the identity of the package.
1764 PACKAGE
='libgfortran'
1768 # Some tools Automake needs.
1770 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1773 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1776 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1779 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1782 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1785 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1787 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1789 # Installed binaries are usually stripped using `strip' when the user
1790 # run `make install-strip'. However `strip' might not be the right
1791 # tool to use in cross-compilation environments, therefore Automake
1792 # will honor the `STRIP' environment variable to overrule this program.
1793 if test "$cross_compiling" != no
; then
1794 if test -n "$ac_tool_prefix"; then
1795 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1796 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1797 echo "$as_me:$LINENO: checking for $ac_word" >&5
1798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1799 if test "${ac_cv_prog_STRIP+set}" = set; then
1800 echo $ECHO_N "(cached) $ECHO_C" >&6
1802 if test -n "$STRIP"; then
1803 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1809 test -z "$as_dir" && as_dir
=.
1810 for ac_exec_ext
in '' $ac_executable_extensions; do
1811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1812 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1821 STRIP
=$ac_cv_prog_STRIP
1822 if test -n "$STRIP"; then
1823 echo "$as_me:$LINENO: result: $STRIP" >&5
1824 echo "${ECHO_T}$STRIP" >&6
1826 echo "$as_me:$LINENO: result: no" >&5
1827 echo "${ECHO_T}no" >&6
1831 if test -z "$ac_cv_prog_STRIP"; then
1833 # Extract the first word of "strip", so it can be a program name with args.
1834 set dummy strip
; ac_word
=$2
1835 echo "$as_me:$LINENO: checking for $ac_word" >&5
1836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1837 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1838 echo $ECHO_N "(cached) $ECHO_C" >&6
1840 if test -n "$ac_ct_STRIP"; then
1841 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1847 test -z "$as_dir" && as_dir
=.
1848 for ac_exec_ext
in '' $ac_executable_extensions; do
1849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1850 ac_cv_prog_ac_ct_STRIP
="strip"
1851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1857 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1860 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1861 if test -n "$ac_ct_STRIP"; then
1862 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1863 echo "${ECHO_T}$ac_ct_STRIP" >&6
1865 echo "$as_me:$LINENO: result: no" >&5
1866 echo "${ECHO_T}no" >&6
1871 STRIP
="$ac_cv_prog_STRIP"
1875 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1877 # We need awk for the "check" target. The system "awk" is bad on
1883 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1884 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1885 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1886 if test "${enable_maintainer_mode+set}" = set; then
1887 enableval
="$enable_maintainer_mode"
1888 USE_MAINTAINER_MODE
=$enableval
1890 USE_MAINTAINER_MODE
=no
1892 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1893 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1896 if test $USE_MAINTAINER_MODE = yes; then
1897 MAINTAINER_MODE_TRUE
=
1898 MAINTAINER_MODE_FALSE
='#'
1900 MAINTAINER_MODE_TRUE
='#'
1901 MAINTAINER_MODE_FALSE
=
1904 MAINT
=$MAINTAINER_MODE_TRUE
1907 # Default to --enable-multilib
1908 # Check whether --enable-multilib or --disable-multilib was given.
1909 if test "${enable_multilib+set}" = set; then
1910 enableval
="$enable_multilib"
1911 case "$enableval" in
1912 yes) multilib
=yes ;;
1914 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1915 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1916 { (exit 1); exit 1; }; } ;;
1922 # We may get other options which we leave undocumented:
1923 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1924 # See config-ml.in if you want the gory details.
1926 if test "$srcdir" = "."; then
1927 if test "$with_target_subdir" != "."; then
1928 multi_basedir
="$srcdir/$with_multisrctop../.."
1930 multi_basedir
="$srcdir/$with_multisrctop.."
1933 multi_basedir
="$srcdir/.."
1937 ac_config_commands
="$ac_config_commands default-1"
1940 # Handy for debugging:
1941 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1943 # Are we being configured with some form of cross compiler?
1944 # NB: We don't actually need to know this just now, but when, say, a test
1945 # suite is included, we'll have to know.
1946 if test "$build" != "$host"; then
1947 LIBGFOR_IS_NATIVE
=false
1950 LIBGFOR_IS_NATIVE
=true
1953 # Process the option "--enable-version-specific-runtime-libs"
1954 gcc_version_trigger
=${srcdir}/..
/gcc
/version.c
1955 gcc_version_full
=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/'`
1956 gcc_version
=`echo ${gcc_version_full} | sed -e 's/\(^ *\) .*/\1/'`
1959 # Calculate toolexeclibdir
1960 # Also toolexecdir, though it's only used in toolexeclibdir
1961 case ${version_specific_libs} in
1963 # Need the gcc compiler version to know where to install libraries
1964 # and header files if --enable-version-specific-runtime-libs option
1966 toolexecdir
='$(libdir)/gcc/$(target_alias)'
1967 toolexeclibdir
='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
1970 if test -n "$with_cross_host" &&
1971 test x
"$with_cross_host" != x
"no"; then
1972 # Install a library built with a cross compiler in tooldir, not libdir.
1973 toolexecdir
='$(exec_prefix)/$(target_alias)'
1974 toolexeclibdir
='$(toolexecdir)/lib'
1976 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
1977 toolexeclibdir
='$(libdir)'
1979 multi_os_directory
=`$CC -print-multi-os-directory`
1980 case $multi_os_directory in
1981 .
) ;; # Avoid trailing /.
1982 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
1989 # Check the compiler.
1990 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1991 # We must force CC to /not/ be precious variables; otherwise
1992 # the wrong, non-multilib-adjusted value will be used in multilibs.
1993 # As a side effect, we have to subst CFLAGS ourselves.
1998 ac_cpp
='$CPP $CPPFLAGS'
1999 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2000 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2001 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2002 if test -n "$ac_tool_prefix"; then
2003 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2004 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2005 echo "$as_me:$LINENO: checking for $ac_word" >&5
2006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2007 if test "${ac_cv_prog_CC+set}" = set; then
2008 echo $ECHO_N "(cached) $ECHO_C" >&6
2010 if test -n "$CC"; then
2011 ac_cv_prog_CC
="$CC" # Let the user override the test.
2013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2017 test -z "$as_dir" && as_dir
=.
2018 for ac_exec_ext
in '' $ac_executable_extensions; do
2019 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2020 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2030 if test -n "$CC"; then
2031 echo "$as_me:$LINENO: result: $CC" >&5
2032 echo "${ECHO_T}$CC" >&6
2034 echo "$as_me:$LINENO: result: no" >&5
2035 echo "${ECHO_T}no" >&6
2039 if test -z "$ac_cv_prog_CC"; then
2041 # Extract the first word of "gcc", so it can be a program name with args.
2042 set dummy gcc
; ac_word
=$2
2043 echo "$as_me:$LINENO: checking for $ac_word" >&5
2044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2045 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2046 echo $ECHO_N "(cached) $ECHO_C" >&6
2048 if test -n "$ac_ct_CC"; then
2049 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2055 test -z "$as_dir" && as_dir
=.
2056 for ac_exec_ext
in '' $ac_executable_extensions; do
2057 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2058 ac_cv_prog_ac_ct_CC
="gcc"
2059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2067 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2068 if test -n "$ac_ct_CC"; then
2069 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2070 echo "${ECHO_T}$ac_ct_CC" >&6
2072 echo "$as_me:$LINENO: result: no" >&5
2073 echo "${ECHO_T}no" >&6
2081 if test -z "$CC"; then
2082 if test -n "$ac_tool_prefix"; then
2083 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2084 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2085 echo "$as_me:$LINENO: checking for $ac_word" >&5
2086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2087 if test "${ac_cv_prog_CC+set}" = set; then
2088 echo $ECHO_N "(cached) $ECHO_C" >&6
2090 if test -n "$CC"; then
2091 ac_cv_prog_CC
="$CC" # Let the user override the test.
2093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2097 test -z "$as_dir" && as_dir
=.
2098 for ac_exec_ext
in '' $ac_executable_extensions; do
2099 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2100 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2110 if test -n "$CC"; then
2111 echo "$as_me:$LINENO: result: $CC" >&5
2112 echo "${ECHO_T}$CC" >&6
2114 echo "$as_me:$LINENO: result: no" >&5
2115 echo "${ECHO_T}no" >&6
2119 if test -z "$ac_cv_prog_CC"; then
2121 # Extract the first word of "cc", so it can be a program name with args.
2122 set dummy cc
; ac_word
=$2
2123 echo "$as_me:$LINENO: checking for $ac_word" >&5
2124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2125 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2126 echo $ECHO_N "(cached) $ECHO_C" >&6
2128 if test -n "$ac_ct_CC"; then
2129 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2135 test -z "$as_dir" && as_dir
=.
2136 for ac_exec_ext
in '' $ac_executable_extensions; do
2137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2138 ac_cv_prog_ac_ct_CC
="cc"
2139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2147 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2148 if test -n "$ac_ct_CC"; then
2149 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2150 echo "${ECHO_T}$ac_ct_CC" >&6
2152 echo "$as_me:$LINENO: result: no" >&5
2153 echo "${ECHO_T}no" >&6
2162 if test -z "$CC"; then
2163 # Extract the first word of "cc", so it can be a program name with args.
2164 set dummy cc
; ac_word
=$2
2165 echo "$as_me:$LINENO: checking for $ac_word" >&5
2166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2167 if test "${ac_cv_prog_CC+set}" = set; then
2168 echo $ECHO_N "(cached) $ECHO_C" >&6
2170 if test -n "$CC"; then
2171 ac_cv_prog_CC
="$CC" # Let the user override the test.
2174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2178 test -z "$as_dir" && as_dir
=.
2179 for ac_exec_ext
in '' $ac_executable_extensions; do
2180 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2181 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2182 ac_prog_rejected
=yes
2186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2192 if test $ac_prog_rejected = yes; then
2193 # We found a bogon in the path, so make sure we never use it.
2194 set dummy
$ac_cv_prog_CC
2196 if test $# != 0; then
2197 # We chose a different compiler from the bogus one.
2198 # However, it has the same basename, so the bogon will be chosen
2199 # first if we set CC to just the basename; use the full file name.
2201 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2207 if test -n "$CC"; then
2208 echo "$as_me:$LINENO: result: $CC" >&5
2209 echo "${ECHO_T}$CC" >&6
2211 echo "$as_me:$LINENO: result: no" >&5
2212 echo "${ECHO_T}no" >&6
2216 if test -z "$CC"; then
2217 if test -n "$ac_tool_prefix"; then
2220 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2221 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2222 echo "$as_me:$LINENO: checking for $ac_word" >&5
2223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2224 if test "${ac_cv_prog_CC+set}" = set; then
2225 echo $ECHO_N "(cached) $ECHO_C" >&6
2227 if test -n "$CC"; then
2228 ac_cv_prog_CC
="$CC" # Let the user override the test.
2230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2234 test -z "$as_dir" && as_dir
=.
2235 for ac_exec_ext
in '' $ac_executable_extensions; do
2236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2237 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2247 if test -n "$CC"; then
2248 echo "$as_me:$LINENO: result: $CC" >&5
2249 echo "${ECHO_T}$CC" >&6
2251 echo "$as_me:$LINENO: result: no" >&5
2252 echo "${ECHO_T}no" >&6
2255 test -n "$CC" && break
2258 if test -z "$CC"; then
2262 # Extract the first word of "$ac_prog", so it can be a program name with args.
2263 set dummy
$ac_prog; ac_word
=$2
2264 echo "$as_me:$LINENO: checking for $ac_word" >&5
2265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2266 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2267 echo $ECHO_N "(cached) $ECHO_C" >&6
2269 if test -n "$ac_ct_CC"; then
2270 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2276 test -z "$as_dir" && as_dir
=.
2277 for ac_exec_ext
in '' $ac_executable_extensions; do
2278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2279 ac_cv_prog_ac_ct_CC
="$ac_prog"
2280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2288 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2289 if test -n "$ac_ct_CC"; then
2290 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2291 echo "${ECHO_T}$ac_ct_CC" >&6
2293 echo "$as_me:$LINENO: result: no" >&5
2294 echo "${ECHO_T}no" >&6
2297 test -n "$ac_ct_CC" && break
2306 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2307 See \`config.log' for more details." >&5
2308 echo "$as_me: error: no acceptable C compiler found in \$PATH
2309 See \`config.log' for more details." >&2;}
2310 { (exit 1); exit 1; }; }
2312 # Provide some information about the compiler.
2313 echo "$as_me:$LINENO:" \
2314 "checking for C compiler version" >&5
2315 ac_compiler
=`set X $ac_compile; echo $2`
2316 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2317 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2320 (exit $ac_status); }
2321 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2322 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); }
2326 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2327 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); }
2332 cat >conftest.
$ac_ext <<_ACEOF
2335 cat confdefs.h
>>conftest.
$ac_ext
2336 cat >>conftest.
$ac_ext <<_ACEOF
2337 /* end confdefs.h. */
2347 ac_clean_files_save
=$ac_clean_files
2348 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2349 # Try to create an executable without -o first, disregard a.out.
2350 # It will help us diagnose broken compilers, and finding out an intuition
2352 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2353 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2354 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2355 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2356 (eval $ac_link_default) 2>&5
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); }; then
2360 # Find the output, starting from the most likely. This scheme is
2361 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2364 # Be careful to initialize this variable, since it used to be cached.
2365 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2367 # b.out is created by i960 compilers.
2368 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2370 test -f "$ac_file" ||
continue
2372 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2375 # This is the source file.
2378 # We found the default executable, but exeext='' is most
2382 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2383 # FIXME: I believe we export ac_cv_exeext for Libtool,
2384 # but it would be cool to find out if it's true. Does anybody
2385 # maintain Libtool? --akim.
2393 echo "$as_me: failed program was:" >&5
2394 sed 's/^/| /' conftest.
$ac_ext >&5
2396 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2397 See \`config.log' for more details." >&5
2398 echo "$as_me: error: C compiler cannot create executables
2399 See \`config.log' for more details." >&2;}
2400 { (exit 77); exit 77; }; }
2403 ac_exeext
=$ac_cv_exeext
2404 echo "$as_me:$LINENO: result: $ac_file" >&5
2405 echo "${ECHO_T}$ac_file" >&6
2407 # Check the compiler produces executables we can run. If not, either
2408 # the compiler is broken, or we cross compile.
2409 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2410 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2411 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2412 # If not cross compiling, check that we can run a simple program.
2413 if test "$cross_compiling" != yes; then
2414 if { ac_try
='./$ac_file'
2415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); }; }; then
2422 if test "$cross_compiling" = maybe
; then
2425 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2426 If you meant to cross compile, use \`--host'.
2427 See \`config.log' for more details." >&5
2428 echo "$as_me: error: cannot run C compiled programs.
2429 If you meant to cross compile, use \`--host'.
2430 See \`config.log' for more details." >&2;}
2431 { (exit 1); exit 1; }; }
2435 echo "$as_me:$LINENO: result: yes" >&5
2436 echo "${ECHO_T}yes" >&6
2438 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2439 ac_clean_files
=$ac_clean_files_save
2440 # Check the compiler produces executables we can run. If not, either
2441 # the compiler is broken, or we cross compile.
2442 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2443 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2444 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2445 echo "${ECHO_T}$cross_compiling" >&6
2447 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2448 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2450 (eval $ac_link) 2>&5
2452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2453 (exit $ac_status); }; then
2454 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2455 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2456 # work properly (i.e., refer to `conftest.exe'), while it won't with
2458 for ac_file
in conftest.exe conftest conftest.
*; do
2459 test -f "$ac_file" ||
continue
2461 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2462 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2469 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2470 See \`config.log' for more details." >&5
2471 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2472 See \`config.log' for more details." >&2;}
2473 { (exit 1); exit 1; }; }
2476 rm -f conftest
$ac_cv_exeext
2477 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2478 echo "${ECHO_T}$ac_cv_exeext" >&6
2480 rm -f conftest.
$ac_ext
2481 EXEEXT
=$ac_cv_exeext
2483 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2484 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2485 if test "${ac_cv_objext+set}" = set; then
2486 echo $ECHO_N "(cached) $ECHO_C" >&6
2488 cat >conftest.
$ac_ext <<_ACEOF
2491 cat confdefs.h
>>conftest.
$ac_ext
2492 cat >>conftest.
$ac_ext <<_ACEOF
2493 /* end confdefs.h. */
2503 rm -f conftest.o conftest.obj
2504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2505 (eval $ac_compile) 2>&5
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); }; then
2509 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2511 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2512 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2517 echo "$as_me: failed program was:" >&5
2518 sed 's/^/| /' conftest.
$ac_ext >&5
2520 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2521 See \`config.log' for more details." >&5
2522 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2523 See \`config.log' for more details." >&2;}
2524 { (exit 1); exit 1; }; }
2527 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2529 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2530 echo "${ECHO_T}$ac_cv_objext" >&6
2531 OBJEXT
=$ac_cv_objext
2533 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2534 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2535 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2536 echo $ECHO_N "(cached) $ECHO_C" >&6
2538 cat >conftest.
$ac_ext <<_ACEOF
2541 cat confdefs.h
>>conftest.
$ac_ext
2542 cat >>conftest.
$ac_ext <<_ACEOF
2543 /* end confdefs.h. */
2556 rm -f conftest.
$ac_objext
2557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2558 (eval $ac_compile) 2>conftest.er1
2560 grep -v '^ *+' conftest.er1
>conftest.err
2562 cat conftest.err
>&5
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); } &&
2565 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570 (exit $ac_status); }; } &&
2571 { ac_try
='test -s conftest.$ac_objext'
2572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576 (exit $ac_status); }; }; then
2579 echo "$as_me: failed program was:" >&5
2580 sed 's/^/| /' conftest.
$ac_ext >&5
2584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2585 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2588 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2589 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2590 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2591 ac_test_CFLAGS
=${CFLAGS+set}
2592 ac_save_CFLAGS
=$CFLAGS
2594 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2595 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2596 if test "${ac_cv_prog_cc_g+set}" = set; then
2597 echo $ECHO_N "(cached) $ECHO_C" >&6
2599 cat >conftest.
$ac_ext <<_ACEOF
2602 cat confdefs.h
>>conftest.
$ac_ext
2603 cat >>conftest.
$ac_ext <<_ACEOF
2604 /* end confdefs.h. */
2614 rm -f conftest.
$ac_objext
2615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2616 (eval $ac_compile) 2>conftest.er1
2618 grep -v '^ *+' conftest.er1
>conftest.err
2620 cat conftest.err
>&5
2621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2622 (exit $ac_status); } &&
2623 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); }; } &&
2629 { ac_try
='test -s conftest.$ac_objext'
2630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634 (exit $ac_status); }; }; then
2637 echo "$as_me: failed program was:" >&5
2638 sed 's/^/| /' conftest.
$ac_ext >&5
2642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2644 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2645 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2646 if test "$ac_test_CFLAGS" = set; then
2647 CFLAGS
=$ac_save_CFLAGS
2648 elif test $ac_cv_prog_cc_g = yes; then
2649 if test "$GCC" = yes; then
2655 if test "$GCC" = yes; then
2661 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2662 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2663 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2664 echo $ECHO_N "(cached) $ECHO_C" >&6
2666 ac_cv_prog_cc_stdc
=no
2668 cat >conftest.
$ac_ext <<_ACEOF
2671 cat confdefs.h
>>conftest.
$ac_ext
2672 cat >>conftest.
$ac_ext <<_ACEOF
2673 /* end confdefs.h. */
2676 #include <sys/types.h>
2677 #include <sys/stat.h>
2678 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2679 struct buf { int x; };
2680 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2681 static char *e (p, i)
2687 static char *f (char * (*g) (char **, int), char **p, ...)
2692 s = g (p, va_arg (v,int));
2697 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2698 function prototypes and stuff, but not '\xHH' hex character constants.
2699 These don't provoke an error unfortunately, instead are silently treated
2700 as 'x'. The following induces an error, until -std1 is added to get
2701 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2702 array size at least. It's necessary to write '\x00'==0 to get something
2703 that's true only with -std1. */
2704 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2706 int test (int i, double x);
2707 struct s1 {int (*f) (int a);};
2708 struct s2 {int (*f) (double a);};
2709 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2715 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2720 # Don't try gcc -ansi; that turns off useful extensions and
2721 # breaks some systems' header files.
2722 # AIX -qlanglvl=ansi
2723 # Ultrix and OSF/1 -std1
2724 # HP-UX 10.20 and later -Ae
2725 # HP-UX older versions -Aa -D_HPUX_SOURCE
2726 # SVR4 -Xc -D__EXTENSIONS__
2727 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2729 CC
="$ac_save_CC $ac_arg"
2730 rm -f conftest.
$ac_objext
2731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2732 (eval $ac_compile) 2>conftest.er1
2734 grep -v '^ *+' conftest.er1
>conftest.err
2736 cat conftest.err
>&5
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); } &&
2739 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); }; } &&
2745 { ac_try
='test -s conftest.$ac_objext'
2746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750 (exit $ac_status); }; }; then
2751 ac_cv_prog_cc_stdc
=$ac_arg
2754 echo "$as_me: failed program was:" >&5
2755 sed 's/^/| /' conftest.
$ac_ext >&5
2758 rm -f conftest.err conftest.
$ac_objext
2760 rm -f conftest.
$ac_ext conftest.
$ac_objext
2765 case "x$ac_cv_prog_cc_stdc" in
2767 echo "$as_me:$LINENO: result: none needed" >&5
2768 echo "${ECHO_T}none needed" >&6 ;;
2770 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2771 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2772 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2775 # Some people use a C++ compiler to compile C. Since we use `exit',
2776 # in C++ we need to declare it. In case someone uses the same compiler
2777 # for both compiling C and C++ we need to have the C++ compiler decide
2778 # the declaration of exit, since it's the most demanding environment.
2779 cat >conftest.
$ac_ext <<_ACEOF
2784 rm -f conftest.
$ac_objext
2785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2786 (eval $ac_compile) 2>conftest.er1
2788 grep -v '^ *+' conftest.er1
>conftest.err
2790 cat conftest.err
>&5
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); } &&
2793 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); }; } &&
2799 { ac_try
='test -s conftest.$ac_objext'
2800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); }; }; then
2805 for ac_declaration
in \
2807 'extern "C" void std::exit (int) throw (); using std::exit;' \
2808 'extern "C" void std::exit (int); using std::exit;' \
2809 'extern "C" void exit (int) throw ();' \
2810 'extern "C" void exit (int);' \
2813 cat >conftest.
$ac_ext <<_ACEOF
2816 cat confdefs.h
>>conftest.
$ac_ext
2817 cat >>conftest.
$ac_ext <<_ACEOF
2818 /* end confdefs.h. */
2829 rm -f conftest.
$ac_objext
2830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2831 (eval $ac_compile) 2>conftest.er1
2833 grep -v '^ *+' conftest.er1
>conftest.err
2835 cat conftest.err
>&5
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); } &&
2838 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); }; } &&
2844 { ac_try
='test -s conftest.$ac_objext'
2845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); }; }; then
2852 echo "$as_me: failed program was:" >&5
2853 sed 's/^/| /' conftest.
$ac_ext >&5
2857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2858 cat >conftest.
$ac_ext <<_ACEOF
2861 cat confdefs.h
>>conftest.
$ac_ext
2862 cat >>conftest.
$ac_ext <<_ACEOF
2863 /* end confdefs.h. */
2873 rm -f conftest.
$ac_objext
2874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2875 (eval $ac_compile) 2>conftest.er1
2877 grep -v '^ *+' conftest.er1
>conftest.err
2879 cat conftest.err
>&5
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); } &&
2882 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); }; } &&
2888 { ac_try
='test -s conftest.$ac_objext'
2889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); }; }; then
2896 echo "$as_me: failed program was:" >&5
2897 sed 's/^/| /' conftest.
$ac_ext >&5
2900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2903 if test -n "$ac_declaration"; then
2904 echo '#ifdef __cplusplus' >>confdefs.h
2905 echo $ac_declaration >>confdefs.h
2906 echo '#endif' >>confdefs.h
2910 echo "$as_me: failed program was:" >&5
2911 sed 's/^/| /' conftest.
$ac_ext >&5
2914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2916 ac_cpp
='$CPP $CPPFLAGS'
2917 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2918 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2919 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2925 # Add -Wall if we are using GCC.
2926 if test "x$GCC" = "xyes"; then
2927 CFLAGS
="$CFLAGS -Wall"
2930 # Find other programs we need.
2931 if test -n "$ac_tool_prefix"; then
2932 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2933 set dummy
${ac_tool_prefix}as
; ac_word
=$2
2934 echo "$as_me:$LINENO: checking for $ac_word" >&5
2935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2936 if test "${ac_cv_prog_AS+set}" = set; then
2937 echo $ECHO_N "(cached) $ECHO_C" >&6
2939 if test -n "$AS"; then
2940 ac_cv_prog_AS
="$AS" # Let the user override the test.
2942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2946 test -z "$as_dir" && as_dir
=.
2947 for ac_exec_ext
in '' $ac_executable_extensions; do
2948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2949 ac_cv_prog_AS
="${ac_tool_prefix}as"
2950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2959 if test -n "$AS"; then
2960 echo "$as_me:$LINENO: result: $AS" >&5
2961 echo "${ECHO_T}$AS" >&6
2963 echo "$as_me:$LINENO: result: no" >&5
2964 echo "${ECHO_T}no" >&6
2968 if test -z "$ac_cv_prog_AS"; then
2970 # Extract the first word of "as", so it can be a program name with args.
2971 set dummy as
; ac_word
=$2
2972 echo "$as_me:$LINENO: checking for $ac_word" >&5
2973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2974 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2975 echo $ECHO_N "(cached) $ECHO_C" >&6
2977 if test -n "$ac_ct_AS"; then
2978 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
2980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2984 test -z "$as_dir" && as_dir
=.
2985 for ac_exec_ext
in '' $ac_executable_extensions; do
2986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2987 ac_cv_prog_ac_ct_AS
="as"
2988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2996 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
2997 if test -n "$ac_ct_AS"; then
2998 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
2999 echo "${ECHO_T}$ac_ct_AS" >&6
3001 echo "$as_me:$LINENO: result: no" >&5
3002 echo "${ECHO_T}no" >&6
3010 if test -n "$ac_tool_prefix"; then
3011 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3012 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3013 echo "$as_me:$LINENO: checking for $ac_word" >&5
3014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3015 if test "${ac_cv_prog_AR+set}" = set; then
3016 echo $ECHO_N "(cached) $ECHO_C" >&6
3018 if test -n "$AR"; then
3019 ac_cv_prog_AR
="$AR" # Let the user override the test.
3021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3025 test -z "$as_dir" && as_dir
=.
3026 for ac_exec_ext
in '' $ac_executable_extensions; do
3027 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3028 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3038 if test -n "$AR"; then
3039 echo "$as_me:$LINENO: result: $AR" >&5
3040 echo "${ECHO_T}$AR" >&6
3042 echo "$as_me:$LINENO: result: no" >&5
3043 echo "${ECHO_T}no" >&6
3047 if test -z "$ac_cv_prog_AR"; then
3049 # Extract the first word of "ar", so it can be a program name with args.
3050 set dummy
ar; ac_word
=$2
3051 echo "$as_me:$LINENO: checking for $ac_word" >&5
3052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3053 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3054 echo $ECHO_N "(cached) $ECHO_C" >&6
3056 if test -n "$ac_ct_AR"; then
3057 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3063 test -z "$as_dir" && as_dir
=.
3064 for ac_exec_ext
in '' $ac_executable_extensions; do
3065 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3066 ac_cv_prog_ac_ct_AR
="ar"
3067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3075 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3076 if test -n "$ac_ct_AR"; then
3077 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3078 echo "${ECHO_T}$ac_ct_AR" >&6
3080 echo "$as_me:$LINENO: result: no" >&5
3081 echo "${ECHO_T}no" >&6
3089 if test -n "$ac_tool_prefix"; then
3090 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3091 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3092 echo "$as_me:$LINENO: checking for $ac_word" >&5
3093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3094 if test "${ac_cv_prog_RANLIB+set}" = set; then
3095 echo $ECHO_N "(cached) $ECHO_C" >&6
3097 if test -n "$RANLIB"; then
3098 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3104 test -z "$as_dir" && as_dir
=.
3105 for ac_exec_ext
in '' $ac_executable_extensions; do
3106 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3107 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3116 RANLIB
=$ac_cv_prog_RANLIB
3117 if test -n "$RANLIB"; then
3118 echo "$as_me:$LINENO: result: $RANLIB" >&5
3119 echo "${ECHO_T}$RANLIB" >&6
3121 echo "$as_me:$LINENO: result: no" >&5
3122 echo "${ECHO_T}no" >&6
3126 if test -z "$ac_cv_prog_RANLIB"; then
3127 ac_ct_RANLIB
=$RANLIB
3128 # Extract the first word of "ranlib", so it can be a program name with args.
3129 set dummy ranlib
; ac_word
=$2
3130 echo "$as_me:$LINENO: checking for $ac_word" >&5
3131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3132 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3133 echo $ECHO_N "(cached) $ECHO_C" >&6
3135 if test -n "$ac_ct_RANLIB"; then
3136 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3142 test -z "$as_dir" && as_dir
=.
3143 for ac_exec_ext
in '' $ac_executable_extensions; do
3144 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3145 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3152 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
="ranlib-not-found-in-path-error"
3155 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3156 if test -n "$ac_ct_RANLIB"; then
3157 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3158 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3160 echo "$as_me:$LINENO: result: no" >&5
3161 echo "${ECHO_T}no" >&6
3164 RANLIB
=$ac_ct_RANLIB
3166 RANLIB
="$ac_cv_prog_RANLIB"
3169 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3170 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3171 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3172 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3173 echo $ECHO_N "(cached) $ECHO_C" >&6
3175 cat >conftest.
make <<\_ACEOF
3177 @
echo 'ac_maketemp="$(MAKE)"'
3179 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3180 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3181 if test -n "$ac_maketemp"; then
3182 eval ac_cv_prog_make_
${ac_make}_set
=yes
3184 eval ac_cv_prog_make_
${ac_make}_set
=no
3188 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3189 echo "$as_me:$LINENO: result: yes" >&5
3190 echo "${ECHO_T}yes" >&6
3193 echo "$as_me:$LINENO: result: no" >&5
3194 echo "${ECHO_T}no" >&6
3195 SET_MAKE
="MAKE=${MAKE-make}"
3198 # Find a good install program. We prefer a C program (faster),
3199 # so one script is as good as another. But avoid the broken or
3200 # incompatible versions:
3201 # SysV /etc/install, /usr/sbin/install
3202 # SunOS /usr/etc/install
3203 # IRIX /sbin/install
3205 # AmigaOS /C/install, which installs bootblocks on floppy discs
3206 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3207 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3208 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3209 # OS/2's system install, which has a completely different semantic
3210 # ./install, which can be erroneously created by make from ./install.sh.
3211 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3212 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3213 if test -z "$INSTALL"; then
3214 if test "${ac_cv_path_install+set}" = set; then
3215 echo $ECHO_N "(cached) $ECHO_C" >&6
3217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3221 test -z "$as_dir" && as_dir
=.
3222 # Account for people who put trailing slashes in PATH elements.
3224 .
/ | .
// |
/cC
/* | \
3225 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3226 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3229 # OSF1 and SCO ODT 3.0 have their own names for install.
3230 # Don't use installbsd from OSF since it installs stuff as root
3232 for ac_prog
in ginstall scoinst
install; do
3233 for ac_exec_ext
in '' $ac_executable_extensions; do
3234 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3235 if test $ac_prog = install &&
3236 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3237 # AIX install. It has an incompatible calling convention.
3239 elif test $ac_prog = install &&
3240 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3241 # program-specific install script used by HP pwplus--don't use.
3244 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3256 if test "${ac_cv_path_install+set}" = set; then
3257 INSTALL
=$ac_cv_path_install
3259 # As a last resort, use the slow shell script. We don't cache a
3260 # path for INSTALL within a source directory, because that will
3261 # break other packages using the cache if that directory is
3262 # removed, or if the path is relative.
3263 INSTALL
=$ac_install_sh
3266 echo "$as_me:$LINENO: result: $INSTALL" >&5
3267 echo "${ECHO_T}$INSTALL" >&6
3269 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3270 # It thinks the first close brace ends the variable substitution.
3271 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3273 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3275 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3279 #AC_MSG_NOTICE([====== Starting libtool configuration])
3281 # Check whether --enable-shared or --disable-shared was given.
3282 if test "${enable_shared+set}" = set; then
3283 enableval
="$enable_shared"
3284 p
=${PACKAGE-default}
3286 yes) enable_shared
=yes ;;
3287 no
) enable_shared
=no
;;
3290 # Look at the argument we got. We use all the common list separators.
3291 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3292 for pkg
in $enableval; do
3293 if test "X$pkg" = "X$p"; then
3303 # Check whether --enable-static or --disable-static was given.
3304 if test "${enable_static+set}" = set; then
3305 enableval
="$enable_static"
3306 p
=${PACKAGE-default}
3308 yes) enable_static
=yes ;;
3309 no
) enable_static
=no
;;
3312 # Look at the argument we got. We use all the common list separators.
3313 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3314 for pkg
in $enableval; do
3315 if test "X$pkg" = "X$p"; then
3325 # Check whether --enable-fast-install or --disable-fast-install was given.
3326 if test "${enable_fast_install+set}" = set; then
3327 enableval
="$enable_fast_install"
3328 p
=${PACKAGE-default}
3330 yes) enable_fast_install
=yes ;;
3331 no
) enable_fast_install
=no
;;
3333 enable_fast_install
=no
3334 # Look at the argument we got. We use all the common list separators.
3335 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3336 for pkg
in $enableval; do
3337 if test "X$pkg" = "X$p"; then
3338 enable_fast_install
=yes
3345 enable_fast_install
=yes
3348 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3349 if test "${with_gnu_ld+set}" = set; then
3350 withval
="$with_gnu_ld"
3351 test "$withval" = no || with_gnu_ld
=yes
3356 if test "$GCC" = yes; then
3357 # Check if gcc -print-prog-name=ld gives a path.
3358 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3359 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3362 # gcc leaves a trailing carriage return which upsets mingw
3363 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3365 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3368 # Accept absolute paths.
3369 [\\/]* |
[A-Za-z
]:[\\/]*)
3370 re_direlt
='/[^/][^/]*/\.\./'
3371 # Canonicalize the path of ld
3372 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3373 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3374 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3376 test -z "$LD" && LD
="$ac_prog"
3379 # If it fails, then pretend we aren't using GCC.
3383 # If it is relative, then search for the first ld in PATH.
3387 elif test "$with_gnu_ld" = yes; then
3388 echo "$as_me:$LINENO: checking for GNU ld" >&5
3389 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3391 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3392 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3394 if test "${lt_cv_path_LD+set}" = set; then
3395 echo $ECHO_N "(cached) $ECHO_C" >&6
3397 if test -z "$LD"; then
3398 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3399 for ac_dir
in $PATH; do
3400 test -z "$ac_dir" && ac_dir
=.
3401 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3402 lt_cv_path_LD
="$ac_dir/$ac_prog"
3403 # Check to see if the program is GNU ld. I'd rather use --version,
3404 # but apparently some GNU ld's only accept -v.
3405 # Break only if it was the GNU/non-GNU ld that we prefer.
3406 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3407 test "$with_gnu_ld" != no
&& break
3409 test "$with_gnu_ld" != yes && break
3415 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3420 if test -n "$LD"; then
3421 echo "$as_me:$LINENO: result: $LD" >&5
3422 echo "${ECHO_T}$LD" >&6
3424 echo "$as_me:$LINENO: result: no" >&5
3425 echo "${ECHO_T}no" >&6
3427 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3428 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3429 { (exit 1); exit 1; }; }
3430 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3431 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3432 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3433 echo $ECHO_N "(cached) $ECHO_C" >&6
3435 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3436 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3437 lt_cv_prog_gnu_ld
=yes
3439 lt_cv_prog_gnu_ld
=no
3442 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3443 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3444 with_gnu_ld
=$lt_cv_prog_gnu_ld
3447 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3448 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3449 if test "${lt_cv_ld_reload_flag+set}" = set; then
3450 echo $ECHO_N "(cached) $ECHO_C" >&6
3452 lt_cv_ld_reload_flag
='-r'
3454 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3455 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3456 reload_flag
=$lt_cv_ld_reload_flag
3457 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3459 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3460 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3461 if test "${lt_cv_path_NM+set}" = set; then
3462 echo $ECHO_N "(cached) $ECHO_C" >&6
3464 if test -n "$NM"; then
3465 # Let the user override the test.
3468 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3469 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3470 test -z "$ac_dir" && ac_dir
=.
3471 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3472 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3473 # Check to see if the nm accepts a BSD-compat flag.
3474 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3475 # nm: unknown option "B" ignored
3476 # Tru64's nm complains that /dev/null is an invalid object file
3477 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3478 lt_cv_path_NM
="$tmp_nm -B"
3480 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3481 lt_cv_path_NM
="$tmp_nm -p"
3484 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3485 continue # so that we can try to find one that supports BSD flags
3490 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3495 echo "$as_me:$LINENO: result: $NM" >&5
3496 echo "${ECHO_T}$NM" >&6
3498 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3499 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3501 if test "$LN_S" = "ln -s"; then
3502 echo "$as_me:$LINENO: result: yes" >&5
3503 echo "${ECHO_T}yes" >&6
3505 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3506 echo "${ECHO_T}no, using $LN_S" >&6
3509 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3510 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3511 if test "${lt_cv_deplibs_check_method+set}" = set; then
3512 echo $ECHO_N "(cached) $ECHO_C" >&6
3514 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3515 lt_cv_file_magic_test_file
=
3516 lt_cv_deplibs_check_method
='unknown'
3517 # Need to set the preceding variable on all platforms that support
3518 # interlibrary dependencies.
3519 # 'none' -- dependencies not supported.
3520 # `unknown' -- same as none, but documents that we really don't know.
3521 # 'pass_all' -- all dependencies passed with no checks.
3522 # 'test_compile' -- check by making test program.
3523 # 'file_magic [regex]' -- check by looking for files in library path
3524 # which responds to the $file_magic_cmd with a given egrep regex.
3525 # If you have `file' or equivalent on your system and you're not sure
3526 # whether `pass_all' will *always* work, you probably want this one.
3530 lt_cv_deplibs_check_method
=pass_all
3534 lt_cv_deplibs_check_method
=pass_all
3538 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3539 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3540 lt_cv_file_magic_test_file
=/shlib
/libc.so
3543 cygwin
* | mingw
* |pw32
*)
3544 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3545 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3548 darwin
* | rhapsody
*)
3549 # this will be overwritten by pass_all, but leave it in just in case
3550 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3551 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3553 rhapsody
* | darwin1.012
)
3554 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3557 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3560 lt_cv_deplibs_check_method
=pass_all
3563 freebsd
* | kfreebsd
*-gnu)
3564 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3567 # Not sure whether the presence of OpenBSD here was a mistake.
3568 # Let's accept both of them until this is cleared up.
3569 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3570 lt_cv_file_magic_cmd
=/usr
/bin
/file
3571 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3575 lt_cv_deplibs_check_method
=pass_all
3580 lt_cv_deplibs_check_method
=pass_all
3586 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3587 lt_cv_file_magic_cmd
=/usr
/bin
/file
3588 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3591 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3592 lt_cv_file_magic_cmd
=/usr
/bin
/file
3593 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3601 # this will be overridden with pass_all, but let us keep it just in case
3602 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3606 *-32|
*"-32 ") libmagic
=32-bit;;
3607 *-n32|
*"-n32 ") libmagic
=N32
;;
3608 *-64|
*"-64 ") libmagic
=64-bit;;
3609 *) libmagic
=never-match
;;
3611 # this will be overridden with pass_all, but let us keep it just in case
3612 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3615 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3616 lt_cv_deplibs_check_method
=pass_all
3619 # This must be Linux ELF.
3622 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* | sh
* )
3623 lt_cv_deplibs_check_method
=pass_all
;;
3625 # glibc up to 2.1.1 does not perform some relocations on ARM
3626 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3628 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3631 netbsd
* | knetbsd
*-gnu)
3632 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3633 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3635 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3640 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3641 lt_cv_file_magic_cmd
=/usr
/bin
/file
3642 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3645 osf3
* | osf4
* | osf5
*)
3646 # this will be overridden with pass_all, but let us keep it just in case
3647 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3648 lt_cv_file_magic_test_file
=/shlib
/libc.so
3649 lt_cv_deplibs_check_method
=pass_all
3653 lt_cv_deplibs_check_method
=pass_all
3657 lt_cv_deplibs_check_method
=pass_all
3658 lt_cv_file_magic_test_file
=/lib
/libc.so
3661 sysv5uw
[78]* | sysv4
*uw2
*)
3662 lt_cv_deplibs_check_method
=pass_all
3665 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3666 case $host_vendor in
3668 lt_cv_deplibs_check_method
=pass_all
3671 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]'
3672 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3679 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3680 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3681 file_magic_cmd
=$lt_cv_file_magic_cmd
3682 deplibs_check_method
=$lt_cv_deplibs_check_method
3688 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3690 # Only perform the check for file, if the check method requires it
3691 case $deplibs_check_method in
3693 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3694 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3695 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3696 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3697 echo $ECHO_N "(cached) $ECHO_C" >&6
3701 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3704 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3707 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3708 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3709 ac_dummy
="/usr/bin:$PATH"
3710 for ac_dir
in $ac_dummy; do
3711 test -z "$ac_dir" && ac_dir
=.
3712 if test -f $ac_dir/${ac_tool_prefix}file; then
3713 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3714 if test -n "$file_magic_test_file"; then
3715 case $deplibs_check_method in
3717 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3718 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3719 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3720 egrep "$file_magic_regex" > /dev
/null
; then
3725 *** Warning: the command libtool uses to detect shared libraries,
3726 *** $file_magic_cmd, produces output that libtool cannot recognize.
3727 *** The result is that libtool may fail to recognize shared libraries
3728 *** as such. This will affect the creation of libtool libraries that
3729 *** depend on shared libraries, but programs linked with such libtool
3730 *** libraries will work regardless of this problem. Nevertheless, you
3731 *** may want to report the problem to your system manager and/or to
3732 *** bug-libtool@gnu.org
3742 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3747 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3748 if test -n "$MAGIC_CMD"; then
3749 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3750 echo "${ECHO_T}$MAGIC_CMD" >&6
3752 echo "$as_me:$LINENO: result: no" >&5
3753 echo "${ECHO_T}no" >&6
3756 if test -z "$lt_cv_path_MAGIC_CMD"; then
3757 if test -n "$ac_tool_prefix"; then
3758 echo "$as_me:$LINENO: checking for file" >&5
3759 echo $ECHO_N "checking for file... $ECHO_C" >&6
3760 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3761 echo $ECHO_N "(cached) $ECHO_C" >&6
3765 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3768 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3771 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3772 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3773 ac_dummy
="/usr/bin:$PATH"
3774 for ac_dir
in $ac_dummy; do
3775 test -z "$ac_dir" && ac_dir
=.
3776 if test -f $ac_dir/file; then
3777 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3778 if test -n "$file_magic_test_file"; then
3779 case $deplibs_check_method in
3781 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3782 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3783 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3784 egrep "$file_magic_regex" > /dev
/null
; then
3789 *** Warning: the command libtool uses to detect shared libraries,
3790 *** $file_magic_cmd, produces output that libtool cannot recognize.
3791 *** The result is that libtool may fail to recognize shared libraries
3792 *** as such. This will affect the creation of libtool libraries that
3793 *** depend on shared libraries, but programs linked with such libtool
3794 *** libraries will work regardless of this problem. Nevertheless, you
3795 *** may want to report the problem to your system manager and/or to
3796 *** bug-libtool@gnu.org
3806 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3811 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3812 if test -n "$MAGIC_CMD"; then
3813 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3814 echo "${ECHO_T}$MAGIC_CMD" >&6
3816 echo "$as_me:$LINENO: result: no" >&5
3817 echo "${ECHO_T}no" >&6
3829 if test -n "$ac_tool_prefix"; then
3830 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3831 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3832 echo "$as_me:$LINENO: checking for $ac_word" >&5
3833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3834 if test "${ac_cv_prog_RANLIB+set}" = set; then
3835 echo $ECHO_N "(cached) $ECHO_C" >&6
3837 if test -n "$RANLIB"; then
3838 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3844 test -z "$as_dir" && as_dir
=.
3845 for ac_exec_ext
in '' $ac_executable_extensions; do
3846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3847 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3856 RANLIB
=$ac_cv_prog_RANLIB
3857 if test -n "$RANLIB"; then
3858 echo "$as_me:$LINENO: result: $RANLIB" >&5
3859 echo "${ECHO_T}$RANLIB" >&6
3861 echo "$as_me:$LINENO: result: no" >&5
3862 echo "${ECHO_T}no" >&6
3866 if test -z "$ac_cv_prog_RANLIB"; then
3867 ac_ct_RANLIB
=$RANLIB
3868 # Extract the first word of "ranlib", so it can be a program name with args.
3869 set dummy ranlib
; ac_word
=$2
3870 echo "$as_me:$LINENO: checking for $ac_word" >&5
3871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3872 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3873 echo $ECHO_N "(cached) $ECHO_C" >&6
3875 if test -n "$ac_ct_RANLIB"; then
3876 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3882 test -z "$as_dir" && as_dir
=.
3883 for ac_exec_ext
in '' $ac_executable_extensions; do
3884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3885 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3892 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3895 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3896 if test -n "$ac_ct_RANLIB"; then
3897 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3898 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3900 echo "$as_me:$LINENO: result: no" >&5
3901 echo "${ECHO_T}no" >&6
3904 RANLIB
=$ac_ct_RANLIB
3906 RANLIB
="$ac_cv_prog_RANLIB"
3909 if test -n "$ac_tool_prefix"; then
3910 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3911 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3912 echo "$as_me:$LINENO: checking for $ac_word" >&5
3913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3914 if test "${ac_cv_prog_STRIP+set}" = set; then
3915 echo $ECHO_N "(cached) $ECHO_C" >&6
3917 if test -n "$STRIP"; then
3918 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3924 test -z "$as_dir" && as_dir
=.
3925 for ac_exec_ext
in '' $ac_executable_extensions; do
3926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3927 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3936 STRIP
=$ac_cv_prog_STRIP
3937 if test -n "$STRIP"; then
3938 echo "$as_me:$LINENO: result: $STRIP" >&5
3939 echo "${ECHO_T}$STRIP" >&6
3941 echo "$as_me:$LINENO: result: no" >&5
3942 echo "${ECHO_T}no" >&6
3946 if test -z "$ac_cv_prog_STRIP"; then
3948 # Extract the first word of "strip", so it can be a program name with args.
3949 set dummy strip
; ac_word
=$2
3950 echo "$as_me:$LINENO: checking for $ac_word" >&5
3951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3952 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3953 echo $ECHO_N "(cached) $ECHO_C" >&6
3955 if test -n "$ac_ct_STRIP"; then
3956 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3962 test -z "$as_dir" && as_dir
=.
3963 for ac_exec_ext
in '' $ac_executable_extensions; do
3964 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3965 ac_cv_prog_ac_ct_STRIP
="strip"
3966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3972 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3975 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3976 if test -n "$ac_ct_STRIP"; then
3977 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3978 echo "${ECHO_T}$ac_ct_STRIP" >&6
3980 echo "$as_me:$LINENO: result: no" >&5
3981 echo "${ECHO_T}no" >&6
3986 STRIP
="$ac_cv_prog_STRIP"
3990 # Check for any special flags to pass to ltconfig.
3991 libtool_flags
="--cache-file=$cache_file"
3992 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
3993 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
3994 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
3995 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
3996 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
3999 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4000 if test "${enable_libtool_lock+set}" = set; then
4001 enableval
="$enable_libtool_lock"
4004 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4005 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4008 # Check whether --with-pic or --without-pic was given.
4009 if test "${with_pic+set}" = set; then
4015 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4016 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4018 # Some flags need to be propagated to the compiler or linker for good
4022 # Find out which ABI we are using.
4023 echo '#line 4023 "configure"' > conftest.
$ac_ext
4024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4025 (eval $ac_compile) 2>&5
4027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4028 (exit $ac_status); }; then
4029 if test "$lt_cv_prog_gnu_ld" = yes; then
4030 case `/usr/bin/file conftest.$ac_objext` in
4032 LD
="${LD-ld} -melf32bsmip"
4035 LD
="${LD-ld} -melf32bmipn32"
4038 LD
="${LD-ld} -melf64bmip"
4042 case `/usr/bin/file conftest.$ac_objext` in
4059 # Find out which ABI we are using.
4060 echo 'int i;' > conftest.
$ac_ext
4061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4062 (eval $ac_compile) 2>&5
4064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4065 (exit $ac_status); }; then
4066 case "`/usr/bin/file conftest.o`" in
4078 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4079 # Find out which ABI we are using.
4080 echo 'int i;' > conftest.
$ac_ext
4081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4082 (eval $ac_compile) 2>&5
4084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4085 (exit $ac_status); }; then
4086 case "`/usr/bin/file conftest.o`" in
4090 LD
="${LD-ld} -m elf_i386"
4092 ppc64-
*linux
*|powerpc64-
*linux
*)
4093 LD
="${LD-ld} -m elf32ppclinux"
4096 LD
="${LD-ld} -m elf_s390"
4099 LD
="${LD-ld} -m elf32_sparc"
4106 LD
="${LD-ld} -m elf_x86_64"
4108 ppc
*-*linux
*|powerpc
*-*linux
*)
4109 LD
="${LD-ld} -m elf64ppc"
4112 LD
="${LD-ld} -m elf64_s390"
4115 LD
="${LD-ld} -m elf64_sparc"
4125 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4126 SAVE_CFLAGS
="$CFLAGS"
4127 CFLAGS
="$CFLAGS -belf"
4128 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4129 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4130 if test "${lt_cv_cc_needs_belf+set}" = set; then
4131 echo $ECHO_N "(cached) $ECHO_C" >&6
4136 ac_cpp
='$CPP $CPPFLAGS'
4137 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4138 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4139 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4141 cat >conftest.
$ac_ext <<_ACEOF
4144 cat confdefs.h
>>conftest.
$ac_ext
4145 cat >>conftest.
$ac_ext <<_ACEOF
4146 /* end confdefs.h. */
4156 rm -f conftest.
$ac_objext conftest
$ac_exeext
4157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4158 (eval $ac_link) 2>conftest.er1
4160 grep -v '^ *+' conftest.er1
>conftest.err
4162 cat conftest.err
>&5
4163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164 (exit $ac_status); } &&
4165 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170 (exit $ac_status); }; } &&
4171 { ac_try
='test -s conftest$ac_exeext'
4172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4176 (exit $ac_status); }; }; then
4177 lt_cv_cc_needs_belf
=yes
4179 echo "$as_me: failed program was:" >&5
4180 sed 's/^/| /' conftest.
$ac_ext >&5
4182 lt_cv_cc_needs_belf
=no
4184 rm -f conftest.err conftest.
$ac_objext \
4185 conftest
$ac_exeext conftest.
$ac_ext
4187 ac_cpp
='$CPP $CPPFLAGS'
4188 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4189 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4190 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4193 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4194 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4195 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4196 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4197 CFLAGS
="$SAVE_CFLAGS"
4205 # Save cache, so that ltconfig can load it
4206 cat >confcache
<<\_ACEOF
4207 # This file is a shell script that caches the results of configure
4208 # tests run on this system so they can be shared between configure
4209 # scripts and configure runs, see configure's option --config-cache.
4210 # It is not useful on other systems. If it contains results you don't
4211 # want to keep, you may remove or edit it.
4213 # config.status only pays attention to the cache file if you give it
4214 # the --recheck option to rerun configure.
4216 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4217 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4222 # The following way of writing the cache mishandles newlines in values,
4223 # but we know of no workaround that is simple, portable, and efficient.
4224 # So, don't put newlines in cache variables' values.
4225 # Ultrix sh set writes to stderr and can't be redirected directly,
4226 # and sets the high bit in the cache file unless we assign to the vars.
4229 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4231 # `set' does not quote correctly, so add quotes (double-quote
4232 # substitution turns \\\\ into \\, and sed turns \\ into \).
4235 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4238 # `set' quotes correctly as required by POSIX, so do not add quotes.
4240 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4247 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4249 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4251 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4252 if test -w $cache_file; then
4253 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4254 cat confcache
>$cache_file
4256 echo "not updating unwritable cache $cache_file"
4261 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4262 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4263 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4264 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4265 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4266 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4267 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4268 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4269 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4270 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4271 echo "$as_me: error: libtool configure failed" >&2;}
4272 { (exit 1); exit 1; }; }
4274 # Reload cache, that may have been modified by ltconfig
4275 if test -r "$cache_file"; then
4276 # Some versions of bash will fail to source /dev/null (special
4277 # files actually), so we avoid doing that.
4278 if test -f "$cache_file"; then
4279 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4280 echo "$as_me: loading cache $cache_file" >&6;}
4282 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4283 *) . .
/$cache_file;;
4287 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4288 echo "$as_me: creating cache $cache_file" >&6;}
4293 # This can be used to rebuild libtool when needed
4294 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4296 # Always use our own libtool.
4297 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4299 # Redirect the config.log output again, so that the ltconfig log is not
4300 # clobbered by the next message.
4301 exec 5>>.
/config.log
4310 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4312 # We need gfortran to compile parts of the library
4313 # We can't use AC_PROG_F77 because it expects a fully working gfortran.
4314 #AC_PROG_F77(gfortran)
4317 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
4318 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4319 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
4320 if test -n "$ac_tool_prefix"; then
4321 for ac_prog
in gfortran
4323 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4324 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4325 echo "$as_me:$LINENO: checking for $ac_word" >&5
4326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4327 if test "${ac_cv_prog_F77+set}" = set; then
4328 echo $ECHO_N "(cached) $ECHO_C" >&6
4330 if test -n "$F77"; then
4331 ac_cv_prog_F77
="$F77" # Let the user override the test.
4333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4337 test -z "$as_dir" && as_dir
=.
4338 for ac_exec_ext
in '' $ac_executable_extensions; do
4339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4340 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
4341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4350 if test -n "$F77"; then
4351 echo "$as_me:$LINENO: result: $F77" >&5
4352 echo "${ECHO_T}$F77" >&6
4354 echo "$as_me:$LINENO: result: no" >&5
4355 echo "${ECHO_T}no" >&6
4358 test -n "$F77" && break
4361 if test -z "$F77"; then
4363 for ac_prog
in gfortran
4365 # Extract the first word of "$ac_prog", so it can be a program name with args.
4366 set dummy
$ac_prog; ac_word
=$2
4367 echo "$as_me:$LINENO: checking for $ac_word" >&5
4368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4369 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
4370 echo $ECHO_N "(cached) $ECHO_C" >&6
4372 if test -n "$ac_ct_F77"; then
4373 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
4375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4379 test -z "$as_dir" && as_dir
=.
4380 for ac_exec_ext
in '' $ac_executable_extensions; do
4381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4382 ac_cv_prog_ac_ct_F77
="$ac_prog"
4383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4391 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
4392 if test -n "$ac_ct_F77"; then
4393 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
4394 echo "${ECHO_T}$ac_ct_F77" >&6
4396 echo "$as_me:$LINENO: result: no" >&5
4397 echo "${ECHO_T}no" >&6
4400 test -n "$ac_ct_F77" && break
4407 # Provide some information about the compiler.
4408 echo "$as_me:4408:" \
4409 "checking for Fortran 77 compiler version" >&5
4410 ac_compiler
=`set X $ac_compile; echo $2`
4411 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4412 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4415 (exit $ac_status); }
4416 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4417 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4420 (exit $ac_status); }
4421 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4422 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425 (exit $ac_status); }
4428 # If we don't use `.F' as extension, the preprocessor is not run on the
4429 # input file. (Note that this only needs to work for GNU compilers.)
4432 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
4433 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
4434 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
4435 echo $ECHO_N "(cached) $ECHO_C" >&6
4437 cat >conftest.
$ac_ext <<_ACEOF
4445 rm -f conftest.
$ac_objext
4446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4447 (eval $ac_compile) 2>conftest.er1
4449 grep -v '^ *+' conftest.er1
>conftest.err
4451 cat conftest.err
>&5
4452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4453 (exit $ac_status); } &&
4454 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
4455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459 (exit $ac_status); }; } &&
4460 { ac_try
='test -s conftest.$ac_objext'
4461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 (exit $ac_status); }; }; then
4468 echo "$as_me: failed program was:" >&5
4469 sed 's/^/| /' conftest.
$ac_ext >&5
4473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4474 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
4477 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
4478 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
4480 ac_test_FFLAGS
=${FFLAGS+set}
4481 ac_save_FFLAGS
=$FFLAGS
4483 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
4484 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
4485 if test "${ac_cv_prog_f77_g+set}" = set; then
4486 echo $ECHO_N "(cached) $ECHO_C" >&6
4489 cat >conftest.
$ac_ext <<_ACEOF
4494 rm -f conftest.
$ac_objext
4495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4496 (eval $ac_compile) 2>conftest.er1
4498 grep -v '^ *+' conftest.er1
>conftest.err
4500 cat conftest.err
>&5
4501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502 (exit $ac_status); } &&
4503 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
4504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4508 (exit $ac_status); }; } &&
4509 { ac_try
='test -s conftest.$ac_objext'
4510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4514 (exit $ac_status); }; }; then
4515 ac_cv_prog_f77_g
=yes
4517 echo "$as_me: failed program was:" >&5
4518 sed 's/^/| /' conftest.
$ac_ext >&5
4522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4525 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
4526 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
4527 if test "$ac_test_FFLAGS" = set; then
4528 FFLAGS
=$ac_save_FFLAGS
4529 elif test $ac_cv_prog_f77_g = yes; then
4530 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
4536 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
4543 G77
=`test $ac_compiler_gnu = yes && echo yes`
4545 ac_cpp
='$CPP $CPPFLAGS'
4546 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4547 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4548 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4550 FFLAGS
="$FFLAGS -Wall -fno-repack-arrays -fno-underscoring"
4552 # Check whether --enable-largefile or --disable-largefile was given.
4553 if test "${enable_largefile+set}" = set; then
4554 enableval
="$enable_largefile"
4557 if test "$enable_largefile" != no
; then
4559 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4560 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4561 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4562 echo $ECHO_N "(cached) $ECHO_C" >&6
4564 ac_cv_sys_largefile_CC
=no
4565 if test "$GCC" != yes; then
4568 # IRIX 6.2 and later do not support large files by default,
4569 # so use the C compiler's -n32 option if that helps.
4570 cat >conftest.
$ac_ext <<_ACEOF
4573 cat confdefs.h
>>conftest.
$ac_ext
4574 cat >>conftest.
$ac_ext <<_ACEOF
4575 /* end confdefs.h. */
4576 #include <sys/types.h>
4577 /* Check that off_t can represent 2**63 - 1 correctly.
4578 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4579 since some C++ compilers masquerading as C compilers
4580 incorrectly reject 9223372036854775807. */
4581 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4582 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4583 && LARGE_OFF_T % 2147483647 == 1)
4593 rm -f conftest.
$ac_objext
4594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4595 (eval $ac_compile) 2>conftest.er1
4597 grep -v '^ *+' conftest.er1
>conftest.err
4599 cat conftest.err
>&5
4600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601 (exit $ac_status); } &&
4602 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 (exit $ac_status); }; } &&
4608 { ac_try
='test -s conftest.$ac_objext'
4609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4613 (exit $ac_status); }; }; then
4616 echo "$as_me: failed program was:" >&5
4617 sed 's/^/| /' conftest.
$ac_ext >&5
4620 rm -f conftest.err conftest.
$ac_objext
4622 rm -f conftest.
$ac_objext
4623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4624 (eval $ac_compile) 2>conftest.er1
4626 grep -v '^ *+' conftest.er1
>conftest.err
4628 cat conftest.err
>&5
4629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630 (exit $ac_status); } &&
4631 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4636 (exit $ac_status); }; } &&
4637 { ac_try
='test -s conftest.$ac_objext'
4638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4642 (exit $ac_status); }; }; then
4643 ac_cv_sys_largefile_CC
=' -n32'; break
4645 echo "$as_me: failed program was:" >&5
4646 sed 's/^/| /' conftest.
$ac_ext >&5
4649 rm -f conftest.err conftest.
$ac_objext
4653 rm -f conftest.
$ac_ext
4656 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4657 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4658 if test "$ac_cv_sys_largefile_CC" != no
; then
4659 CC
=$CC$ac_cv_sys_largefile_CC
4662 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4663 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4664 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4665 echo $ECHO_N "(cached) $ECHO_C" >&6
4668 ac_cv_sys_file_offset_bits
=no
4669 cat >conftest.
$ac_ext <<_ACEOF
4672 cat confdefs.h
>>conftest.
$ac_ext
4673 cat >>conftest.
$ac_ext <<_ACEOF
4674 /* end confdefs.h. */
4675 #include <sys/types.h>
4676 /* Check that off_t can represent 2**63 - 1 correctly.
4677 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4678 since some C++ compilers masquerading as C compilers
4679 incorrectly reject 9223372036854775807. */
4680 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4681 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4682 && LARGE_OFF_T % 2147483647 == 1)
4692 rm -f conftest.
$ac_objext
4693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4694 (eval $ac_compile) 2>conftest.er1
4696 grep -v '^ *+' conftest.er1
>conftest.err
4698 cat conftest.err
>&5
4699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4700 (exit $ac_status); } &&
4701 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4706 (exit $ac_status); }; } &&
4707 { ac_try
='test -s conftest.$ac_objext'
4708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4712 (exit $ac_status); }; }; then
4715 echo "$as_me: failed program was:" >&5
4716 sed 's/^/| /' conftest.
$ac_ext >&5
4719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4720 cat >conftest.
$ac_ext <<_ACEOF
4723 cat confdefs.h
>>conftest.
$ac_ext
4724 cat >>conftest.
$ac_ext <<_ACEOF
4725 /* end confdefs.h. */
4726 #define _FILE_OFFSET_BITS 64
4727 #include <sys/types.h>
4728 /* Check that off_t can represent 2**63 - 1 correctly.
4729 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4730 since some C++ compilers masquerading as C compilers
4731 incorrectly reject 9223372036854775807. */
4732 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4733 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4734 && LARGE_OFF_T % 2147483647 == 1)
4744 rm -f conftest.
$ac_objext
4745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4746 (eval $ac_compile) 2>conftest.er1
4748 grep -v '^ *+' conftest.er1
>conftest.err
4750 cat conftest.err
>&5
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); } &&
4753 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); }; } &&
4759 { ac_try
='test -s conftest.$ac_objext'
4760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764 (exit $ac_status); }; }; then
4765 ac_cv_sys_file_offset_bits
=64; break
4767 echo "$as_me: failed program was:" >&5
4768 sed 's/^/| /' conftest.
$ac_ext >&5
4771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4775 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4776 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4777 if test "$ac_cv_sys_file_offset_bits" != no
; then
4779 cat >>confdefs.h
<<_ACEOF
4780 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4785 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4786 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4787 if test "${ac_cv_sys_large_files+set}" = set; then
4788 echo $ECHO_N "(cached) $ECHO_C" >&6
4791 ac_cv_sys_large_files
=no
4792 cat >conftest.
$ac_ext <<_ACEOF
4795 cat confdefs.h
>>conftest.
$ac_ext
4796 cat >>conftest.
$ac_ext <<_ACEOF
4797 /* end confdefs.h. */
4798 #include <sys/types.h>
4799 /* Check that off_t can represent 2**63 - 1 correctly.
4800 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4801 since some C++ compilers masquerading as C compilers
4802 incorrectly reject 9223372036854775807. */
4803 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4804 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4805 && LARGE_OFF_T % 2147483647 == 1)
4815 rm -f conftest.
$ac_objext
4816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4817 (eval $ac_compile) 2>conftest.er1
4819 grep -v '^ *+' conftest.er1
>conftest.err
4821 cat conftest.err
>&5
4822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823 (exit $ac_status); } &&
4824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4829 (exit $ac_status); }; } &&
4830 { ac_try
='test -s conftest.$ac_objext'
4831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4835 (exit $ac_status); }; }; then
4838 echo "$as_me: failed program was:" >&5
4839 sed 's/^/| /' conftest.
$ac_ext >&5
4842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4843 cat >conftest.
$ac_ext <<_ACEOF
4846 cat confdefs.h
>>conftest.
$ac_ext
4847 cat >>conftest.
$ac_ext <<_ACEOF
4848 /* end confdefs.h. */
4849 #define _LARGE_FILES 1
4850 #include <sys/types.h>
4851 /* Check that off_t can represent 2**63 - 1 correctly.
4852 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4853 since some C++ compilers masquerading as C compilers
4854 incorrectly reject 9223372036854775807. */
4855 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4856 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4857 && LARGE_OFF_T % 2147483647 == 1)
4867 rm -f conftest.
$ac_objext
4868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4869 (eval $ac_compile) 2>conftest.er1
4871 grep -v '^ *+' conftest.er1
>conftest.err
4873 cat conftest.err
>&5
4874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4875 (exit $ac_status); } &&
4876 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4881 (exit $ac_status); }; } &&
4882 { ac_try
='test -s conftest.$ac_objext'
4883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887 (exit $ac_status); }; }; then
4888 ac_cv_sys_large_files
=1; break
4890 echo "$as_me: failed program was:" >&5
4891 sed 's/^/| /' conftest.
$ac_ext >&5
4894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4898 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4899 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4900 if test "$ac_cv_sys_large_files" != no
; then
4902 cat >>confdefs.h
<<_ACEOF
4903 #define _LARGE_FILES $ac_cv_sys_large_files
4911 ac_cpp
='$CPP $CPPFLAGS'
4912 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4913 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4914 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4915 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4916 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4917 # On Suns, sometimes $CPP names a directory.
4918 if test -n "$CPP" && test -d "$CPP"; then
4921 if test -z "$CPP"; then
4922 if test "${ac_cv_prog_CPP+set}" = set; then
4923 echo $ECHO_N "(cached) $ECHO_C" >&6
4925 # Double quotes because CPP needs to be expanded
4926 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4929 for ac_c_preproc_warn_flag
in '' yes
4931 # Use a header file that comes with gcc, so configuring glibc
4932 # with a fresh cross-compiler works.
4933 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4934 # <limits.h> exists even on freestanding compilers.
4935 # On the NeXT, cc -E runs the code through the compiler's parser,
4936 # not just through cpp. "Syntax error" is here to catch this case.
4937 cat >conftest.
$ac_ext <<_ACEOF
4940 cat confdefs.h
>>conftest.
$ac_ext
4941 cat >>conftest.
$ac_ext <<_ACEOF
4942 /* end confdefs.h. */
4944 # include <limits.h>
4946 # include <assert.h>
4950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4951 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4953 grep -v '^ *+' conftest.er1
>conftest.err
4955 cat conftest.err
>&5
4956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4957 (exit $ac_status); } >/dev
/null
; then
4958 if test -s conftest.err
; then
4959 ac_cpp_err
=$ac_c_preproc_warn_flag
4960 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4967 if test -z "$ac_cpp_err"; then
4970 echo "$as_me: failed program was:" >&5
4971 sed 's/^/| /' conftest.
$ac_ext >&5
4973 # Broken: fails on valid input.
4976 rm -f conftest.err conftest.
$ac_ext
4978 # OK, works on sane cases. Now check whether non-existent headers
4979 # can be detected and how.
4980 cat >conftest.
$ac_ext <<_ACEOF
4983 cat confdefs.h
>>conftest.
$ac_ext
4984 cat >>conftest.
$ac_ext <<_ACEOF
4985 /* end confdefs.h. */
4986 #include <ac_nonexistent.h>
4988 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4989 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4991 grep -v '^ *+' conftest.er1
>conftest.err
4993 cat conftest.err
>&5
4994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4995 (exit $ac_status); } >/dev
/null
; then
4996 if test -s conftest.err
; then
4997 ac_cpp_err
=$ac_c_preproc_warn_flag
4998 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5005 if test -z "$ac_cpp_err"; then
5006 # Broken: success on invalid input.
5009 echo "$as_me: failed program was:" >&5
5010 sed 's/^/| /' conftest.
$ac_ext >&5
5012 # Passes both tests.
5016 rm -f conftest.err conftest.
$ac_ext
5019 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5020 rm -f conftest.err conftest.
$ac_ext
5021 if $ac_preproc_ok; then
5033 echo "$as_me:$LINENO: result: $CPP" >&5
5034 echo "${ECHO_T}$CPP" >&6
5036 for ac_c_preproc_warn_flag
in '' yes
5038 # Use a header file that comes with gcc, so configuring glibc
5039 # with a fresh cross-compiler works.
5040 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5041 # <limits.h> exists even on freestanding compilers.
5042 # On the NeXT, cc -E runs the code through the compiler's parser,
5043 # not just through cpp. "Syntax error" is here to catch this case.
5044 cat >conftest.
$ac_ext <<_ACEOF
5047 cat confdefs.h
>>conftest.
$ac_ext
5048 cat >>conftest.
$ac_ext <<_ACEOF
5049 /* end confdefs.h. */
5051 # include <limits.h>
5053 # include <assert.h>
5057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5058 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5060 grep -v '^ *+' conftest.er1
>conftest.err
5062 cat conftest.err
>&5
5063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5064 (exit $ac_status); } >/dev
/null
; then
5065 if test -s conftest.err
; then
5066 ac_cpp_err
=$ac_c_preproc_warn_flag
5067 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5074 if test -z "$ac_cpp_err"; then
5077 echo "$as_me: failed program was:" >&5
5078 sed 's/^/| /' conftest.
$ac_ext >&5
5080 # Broken: fails on valid input.
5083 rm -f conftest.err conftest.
$ac_ext
5085 # OK, works on sane cases. Now check whether non-existent headers
5086 # can be detected and how.
5087 cat >conftest.
$ac_ext <<_ACEOF
5090 cat confdefs.h
>>conftest.
$ac_ext
5091 cat >>conftest.
$ac_ext <<_ACEOF
5092 /* end confdefs.h. */
5093 #include <ac_nonexistent.h>
5095 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5096 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5098 grep -v '^ *+' conftest.er1
>conftest.err
5100 cat conftest.err
>&5
5101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5102 (exit $ac_status); } >/dev
/null
; then
5103 if test -s conftest.err
; then
5104 ac_cpp_err
=$ac_c_preproc_warn_flag
5105 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5112 if test -z "$ac_cpp_err"; then
5113 # Broken: success on invalid input.
5116 echo "$as_me: failed program was:" >&5
5117 sed 's/^/| /' conftest.
$ac_ext >&5
5119 # Passes both tests.
5123 rm -f conftest.err conftest.
$ac_ext
5126 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5127 rm -f conftest.err conftest.
$ac_ext
5128 if $ac_preproc_ok; then
5131 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5132 See \`config.log' for more details." >&5
5133 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5134 See \`config.log' for more details." >&2;}
5135 { (exit 1); exit 1; }; }
5139 ac_cpp
='$CPP $CPPFLAGS'
5140 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5141 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5142 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5145 echo "$as_me:$LINENO: checking for egrep" >&5
5146 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5147 if test "${ac_cv_prog_egrep+set}" = set; then
5148 echo $ECHO_N "(cached) $ECHO_C" >&6
5150 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5151 then ac_cv_prog_egrep
='grep -E'
5152 else ac_cv_prog_egrep
='egrep'
5155 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5156 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5157 EGREP
=$ac_cv_prog_egrep
5160 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5161 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5162 if test "${ac_cv_header_stdc+set}" = set; then
5163 echo $ECHO_N "(cached) $ECHO_C" >&6
5165 cat >conftest.
$ac_ext <<_ACEOF
5168 cat confdefs.h
>>conftest.
$ac_ext
5169 cat >>conftest.
$ac_ext <<_ACEOF
5170 /* end confdefs.h. */
5184 rm -f conftest.
$ac_objext
5185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5186 (eval $ac_compile) 2>conftest.er1
5188 grep -v '^ *+' conftest.er1
>conftest.err
5190 cat conftest.err
>&5
5191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5192 (exit $ac_status); } &&
5193 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5198 (exit $ac_status); }; } &&
5199 { ac_try
='test -s conftest.$ac_objext'
5200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5204 (exit $ac_status); }; }; then
5205 ac_cv_header_stdc
=yes
5207 echo "$as_me: failed program was:" >&5
5208 sed 's/^/| /' conftest.
$ac_ext >&5
5210 ac_cv_header_stdc
=no
5212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5214 if test $ac_cv_header_stdc = yes; then
5215 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5216 cat >conftest.
$ac_ext <<_ACEOF
5219 cat confdefs.h
>>conftest.
$ac_ext
5220 cat >>conftest.
$ac_ext <<_ACEOF
5221 /* end confdefs.h. */
5225 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5226 $EGREP "memchr" >/dev
/null
2>&1; then
5229 ac_cv_header_stdc
=no
5235 if test $ac_cv_header_stdc = yes; then
5236 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5237 cat >conftest.
$ac_ext <<_ACEOF
5240 cat confdefs.h
>>conftest.
$ac_ext
5241 cat >>conftest.
$ac_ext <<_ACEOF
5242 /* end confdefs.h. */
5246 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5247 $EGREP "free" >/dev
/null
2>&1; then
5250 ac_cv_header_stdc
=no
5256 if test $ac_cv_header_stdc = yes; then
5257 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5258 if test "$cross_compiling" = yes; then
5261 cat >conftest.
$ac_ext <<_ACEOF
5264 cat confdefs.h
>>conftest.
$ac_ext
5265 cat >>conftest.
$ac_ext <<_ACEOF
5266 /* end confdefs.h. */
5268 #if ((' ' & 0x0FF) == 0x020)
5269 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5270 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5272 # define ISLOWER(c) \
5273 (('a' <= (c) && (c) <= 'i') \
5274 || ('j' <= (c) && (c) <= 'r') \
5275 || ('s' <= (c) && (c) <= 'z'))
5276 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5279 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5284 for (i = 0; i < 256; i++)
5285 if (XOR (islower (i), ISLOWER (i))
5286 || toupper (i) != TOUPPER (i))
5291 rm -f conftest
$ac_exeext
5292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5293 (eval $ac_link) 2>&5
5295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5301 (exit $ac_status); }; }; then
5304 echo "$as_me: program exited with status $ac_status" >&5
5305 echo "$as_me: failed program was:" >&5
5306 sed 's/^/| /' conftest.
$ac_ext >&5
5309 ac_cv_header_stdc
=no
5311 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5315 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5316 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5317 if test $ac_cv_header_stdc = yes; then
5319 cat >>confdefs.h
<<\_ACEOF
5320 #define STDC_HEADERS 1
5325 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5335 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5336 inttypes.h stdint.h unistd.h
5338 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5339 echo "$as_me:$LINENO: checking for $ac_header" >&5
5340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5342 echo $ECHO_N "(cached) $ECHO_C" >&6
5344 cat >conftest.
$ac_ext <<_ACEOF
5347 cat confdefs.h
>>conftest.
$ac_ext
5348 cat >>conftest.
$ac_ext <<_ACEOF
5349 /* end confdefs.h. */
5350 $ac_includes_default
5352 #include <$ac_header>
5354 rm -f conftest.
$ac_objext
5355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5356 (eval $ac_compile) 2>conftest.er1
5358 grep -v '^ *+' conftest.er1
>conftest.err
5360 cat conftest.err
>&5
5361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5362 (exit $ac_status); } &&
5363 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5368 (exit $ac_status); }; } &&
5369 { ac_try
='test -s conftest.$ac_objext'
5370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5374 (exit $ac_status); }; }; then
5375 eval "$as_ac_Header=yes"
5377 echo "$as_me: failed program was:" >&5
5378 sed 's/^/| /' conftest.
$ac_ext >&5
5380 eval "$as_ac_Header=no"
5382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5385 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5386 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5387 cat >>confdefs.h
<<_ACEOF
5388 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5398 for ac_header
in stdlib.h unistd.h
5400 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5401 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5402 echo "$as_me:$LINENO: checking for $ac_header" >&5
5403 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5405 echo $ECHO_N "(cached) $ECHO_C" >&6
5407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5408 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5410 # Is the header compilable?
5411 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5412 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5413 cat >conftest.
$ac_ext <<_ACEOF
5416 cat confdefs.h
>>conftest.
$ac_ext
5417 cat >>conftest.
$ac_ext <<_ACEOF
5418 /* end confdefs.h. */
5419 $ac_includes_default
5420 #include <$ac_header>
5422 rm -f conftest.
$ac_objext
5423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5424 (eval $ac_compile) 2>conftest.er1
5426 grep -v '^ *+' conftest.er1
>conftest.err
5428 cat conftest.err
>&5
5429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5430 (exit $ac_status); } &&
5431 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5436 (exit $ac_status); }; } &&
5437 { ac_try
='test -s conftest.$ac_objext'
5438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5442 (exit $ac_status); }; }; then
5443 ac_header_compiler
=yes
5445 echo "$as_me: failed program was:" >&5
5446 sed 's/^/| /' conftest.
$ac_ext >&5
5448 ac_header_compiler
=no
5450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5451 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5452 echo "${ECHO_T}$ac_header_compiler" >&6
5454 # Is the header present?
5455 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5456 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5457 cat >conftest.
$ac_ext <<_ACEOF
5460 cat confdefs.h
>>conftest.
$ac_ext
5461 cat >>conftest.
$ac_ext <<_ACEOF
5462 /* end confdefs.h. */
5463 #include <$ac_header>
5465 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5466 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5468 grep -v '^ *+' conftest.er1
>conftest.err
5470 cat conftest.err
>&5
5471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5472 (exit $ac_status); } >/dev
/null
; then
5473 if test -s conftest.err
; then
5474 ac_cpp_err
=$ac_c_preproc_warn_flag
5475 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5482 if test -z "$ac_cpp_err"; then
5483 ac_header_preproc
=yes
5485 echo "$as_me: failed program was:" >&5
5486 sed 's/^/| /' conftest.
$ac_ext >&5
5488 ac_header_preproc
=no
5490 rm -f conftest.err conftest.
$ac_ext
5491 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5492 echo "${ECHO_T}$ac_header_preproc" >&6
5494 # So? What about this header?
5495 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5497 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5498 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5500 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5501 ac_header_preproc
=yes
5504 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5505 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5506 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5507 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5508 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5509 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5510 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5511 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5513 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5514 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5515 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5518 ## ------------------------------------------------------ ##
5519 ## Report this to the GNU Fortran Runtime Library lists. ##
5520 ## ------------------------------------------------------ ##
5523 sed "s/^/$as_me: WARNING: /" >&2
5526 echo "$as_me:$LINENO: checking for $ac_header" >&5
5527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5529 echo $ECHO_N "(cached) $ECHO_C" >&6
5531 eval "$as_ac_Header=\$ac_header_preproc"
5533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5538 cat >>confdefs.h
<<_ACEOF
5539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5547 for ac_func
in getpagesize
5549 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5550 echo "$as_me:$LINENO: checking for $ac_func" >&5
5551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5552 if eval "test \"\${$as_ac_var+set}\" = set"; then
5553 echo $ECHO_N "(cached) $ECHO_C" >&6
5555 cat >conftest.
$ac_ext <<_ACEOF
5558 cat confdefs.h
>>conftest.
$ac_ext
5559 cat >>conftest.
$ac_ext <<_ACEOF
5560 /* end confdefs.h. */
5561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5563 #define $ac_func innocuous_$ac_func
5565 /* System header to define __stub macros and hopefully few prototypes,
5566 which can conflict with char $ac_func (); below.
5567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5568 <limits.h> exists even on freestanding compilers. */
5571 # include <limits.h>
5573 # include <assert.h>
5578 /* Override any gcc2 internal prototype to avoid an error. */
5583 /* We use char because int might match the return type of a gcc2
5584 builtin and then its argument prototype would still apply. */
5586 /* The GNU C library defines this for functions which it implements
5587 to always fail with ENOSYS. Some functions are actually named
5588 something starting with __ and the normal name is an alias. */
5589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5592 char (*f) () = $ac_func;
5601 return f != $ac_func;
5606 rm -f conftest.
$ac_objext conftest
$ac_exeext
5607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5608 (eval $ac_link) 2>conftest.er1
5610 grep -v '^ *+' conftest.er1
>conftest.err
5612 cat conftest.err
>&5
5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614 (exit $ac_status); } &&
5615 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5620 (exit $ac_status); }; } &&
5621 { ac_try
='test -s conftest$ac_exeext'
5622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5626 (exit $ac_status); }; }; then
5627 eval "$as_ac_var=yes"
5629 echo "$as_me: failed program was:" >&5
5630 sed 's/^/| /' conftest.
$ac_ext >&5
5632 eval "$as_ac_var=no"
5634 rm -f conftest.err conftest.
$ac_objext \
5635 conftest
$ac_exeext conftest.
$ac_ext
5637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5639 if test `eval echo '${'$as_ac_var'}'` = yes; then
5640 cat >>confdefs.h
<<_ACEOF
5641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5647 echo "$as_me:$LINENO: checking for working mmap" >&5
5648 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5649 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5650 echo $ECHO_N "(cached) $ECHO_C" >&6
5652 if test "$cross_compiling" = yes; then
5653 ac_cv_func_mmap_fixed_mapped
=no
5655 cat >conftest.
$ac_ext <<_ACEOF
5658 cat confdefs.h
>>conftest.
$ac_ext
5659 cat >>conftest.
$ac_ext <<_ACEOF
5660 /* end confdefs.h. */
5661 $ac_includes_default
5662 /* malloc might have been renamed as rpl_malloc. */
5665 /* Thanks to Mike Haertel and Jim Avera for this test.
5666 Here is a matrix of mmap possibilities:
5667 mmap private not fixed
5668 mmap private fixed at somewhere currently unmapped
5669 mmap private fixed at somewhere already mapped
5670 mmap shared not fixed
5671 mmap shared fixed at somewhere currently unmapped
5672 mmap shared fixed at somewhere already mapped
5673 For private mappings, we should verify that changes cannot be read()
5674 back from the file, nor mmap's back from the file at a different
5675 address. (There have been systems where private was not correctly
5676 implemented like the infamous i386 svr4.0, and systems where the
5677 VM page cache was not coherent with the file system buffer cache
5678 like early versions of FreeBSD and possibly contemporary NetBSD.)
5679 For shared mappings, we should conversely verify that changes get
5680 propagated back to all the places they're supposed to be.
5682 Grep wants private fixed already mapped.
5683 The main things grep needs to know about mmap are:
5684 * does it exist and is it safe to write into the mmap'd area
5685 * how to use it (BSD variants) */
5688 #include <sys/mman.h>
5690 #if !STDC_HEADERS && !HAVE_STDLIB_H
5694 /* This mess was copied from the GNU getpagesize.h. */
5695 #if !HAVE_GETPAGESIZE
5696 /* Assume that all systems that can run configure have sys/param.h. */
5697 # if !HAVE_SYS_PARAM_H
5698 # define HAVE_SYS_PARAM_H 1
5701 # ifdef _SC_PAGESIZE
5702 # define getpagesize() sysconf(_SC_PAGESIZE)
5703 # else /* no _SC_PAGESIZE */
5704 # if HAVE_SYS_PARAM_H
5705 # include <sys/param.h>
5706 # ifdef EXEC_PAGESIZE
5707 # define getpagesize() EXEC_PAGESIZE
5708 # else /* no EXEC_PAGESIZE */
5710 # define getpagesize() NBPG * CLSIZE
5713 # endif /* no CLSIZE */
5714 # else /* no NBPG */
5716 # define getpagesize() NBPC
5717 # else /* no NBPC */
5719 # define getpagesize() PAGESIZE
5720 # endif /* PAGESIZE */
5721 # endif /* no NBPC */
5722 # endif /* no NBPG */
5723 # endif /* no EXEC_PAGESIZE */
5724 # else /* no HAVE_SYS_PARAM_H */
5725 # define getpagesize() 8192 /* punt totally */
5726 # endif /* no HAVE_SYS_PARAM_H */
5727 # endif /* no _SC_PAGESIZE */
5729 #endif /* no HAVE_GETPAGESIZE */
5734 char *data, *data2, *data3;
5738 pagesize = getpagesize ();
5740 /* First, make a file with some known garbage in it. */
5741 data = (char *) malloc (pagesize);
5744 for (i = 0; i < pagesize; ++i)
5745 *(data + i) = rand ();
5747 fd = creat ("conftest.mmap", 0600);
5750 if (write (fd, data, pagesize) != pagesize)
5754 /* Next, try to mmap the file at a fixed address which already has
5755 something else allocated at it. If we can, also make sure that
5756 we see the same garbage. */
5757 fd = open ("conftest.mmap", O_RDWR);
5760 data2 = (char *) malloc (2 * pagesize);
5763 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5764 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5765 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5767 for (i = 0; i < pagesize; ++i)
5768 if (*(data + i) != *(data2 + i))
5771 /* Finally, make sure that changes to the mapped area do not
5772 percolate back to the file as seen by read(). (This is a bug on
5773 some variants of i386 svr4.0.) */
5774 for (i = 0; i < pagesize; ++i)
5775 *(data2 + i) = *(data2 + i) + 1;
5776 data3 = (char *) malloc (pagesize);
5779 if (read (fd, data3, pagesize) != pagesize)
5781 for (i = 0; i < pagesize; ++i)
5782 if (*(data + i) != *(data3 + i))
5788 rm -f conftest
$ac_exeext
5789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5790 (eval $ac_link) 2>&5
5792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5793 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5798 (exit $ac_status); }; }; then
5799 ac_cv_func_mmap_fixed_mapped
=yes
5801 echo "$as_me: program exited with status $ac_status" >&5
5802 echo "$as_me: failed program was:" >&5
5803 sed 's/^/| /' conftest.
$ac_ext >&5
5806 ac_cv_func_mmap_fixed_mapped
=no
5808 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5811 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5812 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5813 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5815 cat >>confdefs.h
<<\_ACEOF
5822 echo "$as_me:$LINENO: checking for off_t" >&5
5823 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5824 if test "${ac_cv_type_off_t+set}" = set; then
5825 echo $ECHO_N "(cached) $ECHO_C" >&6
5827 cat >conftest.
$ac_ext <<_ACEOF
5830 cat confdefs.h
>>conftest.
$ac_ext
5831 cat >>conftest.
$ac_ext <<_ACEOF
5832 /* end confdefs.h. */
5833 $ac_includes_default
5845 rm -f conftest.
$ac_objext
5846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5847 (eval $ac_compile) 2>conftest.er1
5849 grep -v '^ *+' conftest.er1
>conftest.err
5851 cat conftest.err
>&5
5852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5853 (exit $ac_status); } &&
5854 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859 (exit $ac_status); }; } &&
5860 { ac_try
='test -s conftest.$ac_objext'
5861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5865 (exit $ac_status); }; }; then
5866 ac_cv_type_off_t
=yes
5868 echo "$as_me: failed program was:" >&5
5869 sed 's/^/| /' conftest.
$ac_ext >&5
5873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5875 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5876 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5877 if test $ac_cv_type_off_t = yes; then
5881 cat >>confdefs.h
<<_ACEOF
5888 # check header files
5889 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5890 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5891 if test "${ac_cv_header_stdc+set}" = set; then
5892 echo $ECHO_N "(cached) $ECHO_C" >&6
5894 cat >conftest.
$ac_ext <<_ACEOF
5897 cat confdefs.h
>>conftest.
$ac_ext
5898 cat >>conftest.
$ac_ext <<_ACEOF
5899 /* end confdefs.h. */
5913 rm -f conftest.
$ac_objext
5914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5915 (eval $ac_compile) 2>conftest.er1
5917 grep -v '^ *+' conftest.er1
>conftest.err
5919 cat conftest.err
>&5
5920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5921 (exit $ac_status); } &&
5922 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5927 (exit $ac_status); }; } &&
5928 { ac_try
='test -s conftest.$ac_objext'
5929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5933 (exit $ac_status); }; }; then
5934 ac_cv_header_stdc
=yes
5936 echo "$as_me: failed program was:" >&5
5937 sed 's/^/| /' conftest.
$ac_ext >&5
5939 ac_cv_header_stdc
=no
5941 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5943 if test $ac_cv_header_stdc = yes; then
5944 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5945 cat >conftest.
$ac_ext <<_ACEOF
5948 cat confdefs.h
>>conftest.
$ac_ext
5949 cat >>conftest.
$ac_ext <<_ACEOF
5950 /* end confdefs.h. */
5954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5955 $EGREP "memchr" >/dev
/null
2>&1; then
5958 ac_cv_header_stdc
=no
5964 if test $ac_cv_header_stdc = yes; then
5965 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5966 cat >conftest.
$ac_ext <<_ACEOF
5969 cat confdefs.h
>>conftest.
$ac_ext
5970 cat >>conftest.
$ac_ext <<_ACEOF
5971 /* end confdefs.h. */
5975 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5976 $EGREP "free" >/dev
/null
2>&1; then
5979 ac_cv_header_stdc
=no
5985 if test $ac_cv_header_stdc = yes; then
5986 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5987 if test "$cross_compiling" = yes; then
5990 cat >conftest.
$ac_ext <<_ACEOF
5993 cat confdefs.h
>>conftest.
$ac_ext
5994 cat >>conftest.
$ac_ext <<_ACEOF
5995 /* end confdefs.h. */
5997 #if ((' ' & 0x0FF) == 0x020)
5998 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5999 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6001 # define ISLOWER(c) \
6002 (('a' <= (c) && (c) <= 'i') \
6003 || ('j' <= (c) && (c) <= 'r') \
6004 || ('s' <= (c) && (c) <= 'z'))
6005 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6008 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6013 for (i = 0; i < 256; i++)
6014 if (XOR (islower (i), ISLOWER (i))
6015 || toupper (i) != TOUPPER (i))
6020 rm -f conftest
$ac_exeext
6021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6022 (eval $ac_link) 2>&5
6024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6030 (exit $ac_status); }; }; then
6033 echo "$as_me: program exited with status $ac_status" >&5
6034 echo "$as_me: failed program was:" >&5
6035 sed 's/^/| /' conftest.
$ac_ext >&5
6038 ac_cv_header_stdc
=no
6040 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6044 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6045 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6046 if test $ac_cv_header_stdc = yes; then
6048 cat >>confdefs.h
<<\_ACEOF
6049 #define STDC_HEADERS 1
6060 for ac_header
in stdlib.h stdio.h string.h stddef.h math.h unistd.h
6062 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6064 echo "$as_me:$LINENO: checking for $ac_header" >&5
6065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6067 echo $ECHO_N "(cached) $ECHO_C" >&6
6069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6070 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6072 # Is the header compilable?
6073 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6074 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6075 cat >conftest.
$ac_ext <<_ACEOF
6078 cat confdefs.h
>>conftest.
$ac_ext
6079 cat >>conftest.
$ac_ext <<_ACEOF
6080 /* end confdefs.h. */
6081 $ac_includes_default
6082 #include <$ac_header>
6084 rm -f conftest.
$ac_objext
6085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6086 (eval $ac_compile) 2>conftest.er1
6088 grep -v '^ *+' conftest.er1
>conftest.err
6090 cat conftest.err
>&5
6091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6092 (exit $ac_status); } &&
6093 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6098 (exit $ac_status); }; } &&
6099 { ac_try
='test -s conftest.$ac_objext'
6100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6104 (exit $ac_status); }; }; then
6105 ac_header_compiler
=yes
6107 echo "$as_me: failed program was:" >&5
6108 sed 's/^/| /' conftest.
$ac_ext >&5
6110 ac_header_compiler
=no
6112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6113 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6114 echo "${ECHO_T}$ac_header_compiler" >&6
6116 # Is the header present?
6117 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6118 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6119 cat >conftest.
$ac_ext <<_ACEOF
6122 cat confdefs.h
>>conftest.
$ac_ext
6123 cat >>conftest.
$ac_ext <<_ACEOF
6124 /* end confdefs.h. */
6125 #include <$ac_header>
6127 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6128 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6130 grep -v '^ *+' conftest.er1
>conftest.err
6132 cat conftest.err
>&5
6133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6134 (exit $ac_status); } >/dev
/null
; then
6135 if test -s conftest.err
; then
6136 ac_cpp_err
=$ac_c_preproc_warn_flag
6137 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6144 if test -z "$ac_cpp_err"; then
6145 ac_header_preproc
=yes
6147 echo "$as_me: failed program was:" >&5
6148 sed 's/^/| /' conftest.
$ac_ext >&5
6150 ac_header_preproc
=no
6152 rm -f conftest.err conftest.
$ac_ext
6153 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6154 echo "${ECHO_T}$ac_header_preproc" >&6
6156 # So? What about this header?
6157 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6159 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6160 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6161 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6162 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6163 ac_header_preproc
=yes
6166 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6167 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6168 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6169 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6170 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6171 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6172 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6173 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6175 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6176 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6177 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6180 ## ------------------------------------------------------ ##
6181 ## Report this to the GNU Fortran Runtime Library lists. ##
6182 ## ------------------------------------------------------ ##
6185 sed "s/^/$as_me: WARNING: /" >&2
6188 echo "$as_me:$LINENO: checking for $ac_header" >&5
6189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6191 echo $ECHO_N "(cached) $ECHO_C" >&6
6193 eval "$as_ac_Header=\$ac_header_preproc"
6195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6196 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6199 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6200 cat >>confdefs.h
<<_ACEOF
6201 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6213 for ac_header
in time.h sys
/params.h sys
/time.h sys
/times.h sys
/resource.h
6215 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6217 echo "$as_me:$LINENO: checking for $ac_header" >&5
6218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6219 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6220 echo $ECHO_N "(cached) $ECHO_C" >&6
6222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6223 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6225 # Is the header compilable?
6226 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6227 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6228 cat >conftest.
$ac_ext <<_ACEOF
6231 cat confdefs.h
>>conftest.
$ac_ext
6232 cat >>conftest.
$ac_ext <<_ACEOF
6233 /* end confdefs.h. */
6234 $ac_includes_default
6235 #include <$ac_header>
6237 rm -f conftest.
$ac_objext
6238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6239 (eval $ac_compile) 2>conftest.er1
6241 grep -v '^ *+' conftest.er1
>conftest.err
6243 cat conftest.err
>&5
6244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6245 (exit $ac_status); } &&
6246 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6251 (exit $ac_status); }; } &&
6252 { ac_try
='test -s conftest.$ac_objext'
6253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6257 (exit $ac_status); }; }; then
6258 ac_header_compiler
=yes
6260 echo "$as_me: failed program was:" >&5
6261 sed 's/^/| /' conftest.
$ac_ext >&5
6263 ac_header_compiler
=no
6265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6266 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6267 echo "${ECHO_T}$ac_header_compiler" >&6
6269 # Is the header present?
6270 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6271 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6272 cat >conftest.
$ac_ext <<_ACEOF
6275 cat confdefs.h
>>conftest.
$ac_ext
6276 cat >>conftest.
$ac_ext <<_ACEOF
6277 /* end confdefs.h. */
6278 #include <$ac_header>
6280 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6281 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6283 grep -v '^ *+' conftest.er1
>conftest.err
6285 cat conftest.err
>&5
6286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6287 (exit $ac_status); } >/dev
/null
; then
6288 if test -s conftest.err
; then
6289 ac_cpp_err
=$ac_c_preproc_warn_flag
6290 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6297 if test -z "$ac_cpp_err"; then
6298 ac_header_preproc
=yes
6300 echo "$as_me: failed program was:" >&5
6301 sed 's/^/| /' conftest.
$ac_ext >&5
6303 ac_header_preproc
=no
6305 rm -f conftest.err conftest.
$ac_ext
6306 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6307 echo "${ECHO_T}$ac_header_preproc" >&6
6309 # So? What about this header?
6310 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6312 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6313 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6314 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6315 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6316 ac_header_preproc
=yes
6319 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6320 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6321 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6322 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6323 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6324 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6325 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6326 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6327 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6328 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6329 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6330 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6333 ## ------------------------------------------------------ ##
6334 ## Report this to the GNU Fortran Runtime Library lists. ##
6335 ## ------------------------------------------------------ ##
6338 sed "s/^/$as_me: WARNING: /" >&2
6341 echo "$as_me:$LINENO: checking for $ac_header" >&5
6342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6344 echo $ECHO_N "(cached) $ECHO_C" >&6
6346 eval "$as_ac_Header=\$ac_header_preproc"
6348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6349 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6352 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6353 cat >>confdefs.h
<<_ACEOF
6354 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6361 if test "${ac_cv_header_complex_h+set}" = set; then
6362 echo "$as_me:$LINENO: checking for complex.h" >&5
6363 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6364 if test "${ac_cv_header_complex_h+set}" = set; then
6365 echo $ECHO_N "(cached) $ECHO_C" >&6
6367 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6368 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6370 # Is the header compilable?
6371 echo "$as_me:$LINENO: checking complex.h usability" >&5
6372 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6373 cat >conftest.
$ac_ext <<_ACEOF
6376 cat confdefs.h
>>conftest.
$ac_ext
6377 cat >>conftest.
$ac_ext <<_ACEOF
6378 /* end confdefs.h. */
6379 $ac_includes_default
6380 #include <complex.h>
6382 rm -f conftest.
$ac_objext
6383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6384 (eval $ac_compile) 2>conftest.er1
6386 grep -v '^ *+' conftest.er1
>conftest.err
6388 cat conftest.err
>&5
6389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6390 (exit $ac_status); } &&
6391 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6396 (exit $ac_status); }; } &&
6397 { ac_try
='test -s conftest.$ac_objext'
6398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6402 (exit $ac_status); }; }; then
6403 ac_header_compiler
=yes
6405 echo "$as_me: failed program was:" >&5
6406 sed 's/^/| /' conftest.
$ac_ext >&5
6408 ac_header_compiler
=no
6410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6411 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6412 echo "${ECHO_T}$ac_header_compiler" >&6
6414 # Is the header present?
6415 echo "$as_me:$LINENO: checking complex.h presence" >&5
6416 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6417 cat >conftest.
$ac_ext <<_ACEOF
6420 cat confdefs.h
>>conftest.
$ac_ext
6421 cat >>conftest.
$ac_ext <<_ACEOF
6422 /* end confdefs.h. */
6423 #include <complex.h>
6425 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6426 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6428 grep -v '^ *+' conftest.er1
>conftest.err
6430 cat conftest.err
>&5
6431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432 (exit $ac_status); } >/dev
/null
; then
6433 if test -s conftest.err
; then
6434 ac_cpp_err
=$ac_c_preproc_warn_flag
6435 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6442 if test -z "$ac_cpp_err"; then
6443 ac_header_preproc
=yes
6445 echo "$as_me: failed program was:" >&5
6446 sed 's/^/| /' conftest.
$ac_ext >&5
6448 ac_header_preproc
=no
6450 rm -f conftest.err conftest.
$ac_ext
6451 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6452 echo "${ECHO_T}$ac_header_preproc" >&6
6454 # So? What about this header?
6455 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6457 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6458 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6459 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6460 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6461 ac_header_preproc
=yes
6464 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6465 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6466 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6467 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6468 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6469 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6470 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6471 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6472 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6473 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6474 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6475 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6478 ## ------------------------------------------------------ ##
6479 ## Report this to the GNU Fortran Runtime Library lists. ##
6480 ## ------------------------------------------------------ ##
6483 sed "s/^/$as_me: WARNING: /" >&2
6486 echo "$as_me:$LINENO: checking for complex.h" >&5
6487 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6488 if test "${ac_cv_header_complex_h+set}" = set; then
6489 echo $ECHO_N "(cached) $ECHO_C" >&6
6491 ac_cv_header_complex_h
=$ac_header_preproc
6493 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6494 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6497 if test $ac_cv_header_complex_h = yes; then
6499 cat >>confdefs.h
<<\_ACEOF
6500 #define HAVE_COMPLEX_H 1
6507 # Check for complex math functions
6508 echo "$as_me:$LINENO: checking for csin in -lm" >&5
6509 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
6510 if test "${ac_cv_lib_m_csin+set}" = set; then
6511 echo $ECHO_N "(cached) $ECHO_C" >&6
6513 ac_check_lib_save_LIBS
=$LIBS
6515 cat >conftest.
$ac_ext <<_ACEOF
6518 cat confdefs.h
>>conftest.
$ac_ext
6519 cat >>conftest.
$ac_ext <<_ACEOF
6520 /* end confdefs.h. */
6522 /* Override any gcc2 internal prototype to avoid an error. */
6526 /* We use char because int might match the return type of a gcc2
6527 builtin and then its argument prototype would still apply. */
6537 rm -f conftest.
$ac_objext conftest
$ac_exeext
6538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6539 (eval $ac_link) 2>conftest.er1
6541 grep -v '^ *+' conftest.er1
>conftest.err
6543 cat conftest.err
>&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); } &&
6546 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6551 (exit $ac_status); }; } &&
6552 { ac_try
='test -s conftest$ac_exeext'
6553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6557 (exit $ac_status); }; }; then
6558 ac_cv_lib_m_csin
=yes
6560 echo "$as_me: failed program was:" >&5
6561 sed 's/^/| /' conftest.
$ac_ext >&5
6565 rm -f conftest.err conftest.
$ac_objext \
6566 conftest
$ac_exeext conftest.
$ac_ext
6567 LIBS
=$ac_check_lib_save_LIBS
6569 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
6570 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
6571 if test $ac_cv_lib_m_csin = yes; then
6578 # Check for library functions.
6581 for ac_func
in getrusage
times
6583 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6584 echo "$as_me:$LINENO: checking for $ac_func" >&5
6585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6586 if eval "test \"\${$as_ac_var+set}\" = set"; then
6587 echo $ECHO_N "(cached) $ECHO_C" >&6
6589 cat >conftest.
$ac_ext <<_ACEOF
6592 cat confdefs.h
>>conftest.
$ac_ext
6593 cat >>conftest.
$ac_ext <<_ACEOF
6594 /* end confdefs.h. */
6595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6597 #define $ac_func innocuous_$ac_func
6599 /* System header to define __stub macros and hopefully few prototypes,
6600 which can conflict with char $ac_func (); below.
6601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6602 <limits.h> exists even on freestanding compilers. */
6605 # include <limits.h>
6607 # include <assert.h>
6612 /* Override any gcc2 internal prototype to avoid an error. */
6617 /* We use char because int might match the return type of a gcc2
6618 builtin and then its argument prototype would still apply. */
6620 /* The GNU C library defines this for functions which it implements
6621 to always fail with ENOSYS. Some functions are actually named
6622 something starting with __ and the normal name is an alias. */
6623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6626 char (*f) () = $ac_func;
6635 return f != $ac_func;
6640 rm -f conftest.
$ac_objext conftest
$ac_exeext
6641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6642 (eval $ac_link) 2>conftest.er1
6644 grep -v '^ *+' conftest.er1
>conftest.err
6646 cat conftest.err
>&5
6647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648 (exit $ac_status); } &&
6649 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6654 (exit $ac_status); }; } &&
6655 { ac_try
='test -s conftest$ac_exeext'
6656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6660 (exit $ac_status); }; }; then
6661 eval "$as_ac_var=yes"
6663 echo "$as_me: failed program was:" >&5
6664 sed 's/^/| /' conftest.
$ac_ext >&5
6666 eval "$as_ac_var=no"
6668 rm -f conftest.err conftest.
$ac_objext \
6669 conftest
$ac_exeext conftest.
$ac_ext
6671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6673 if test `eval echo '${'$as_ac_var'}'` = yes; then
6674 cat >>confdefs.h
<<_ACEOF
6675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6682 # Check libc for getgid, getpid, getuid
6683 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
6684 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
6685 if test "${ac_cv_lib_c_getgid+set}" = set; then
6686 echo $ECHO_N "(cached) $ECHO_C" >&6
6688 ac_check_lib_save_LIBS
=$LIBS
6690 cat >conftest.
$ac_ext <<_ACEOF
6693 cat confdefs.h
>>conftest.
$ac_ext
6694 cat >>conftest.
$ac_ext <<_ACEOF
6695 /* end confdefs.h. */
6697 /* Override any gcc2 internal prototype to avoid an error. */
6701 /* We use char because int might match the return type of a gcc2
6702 builtin and then its argument prototype would still apply. */
6712 rm -f conftest.
$ac_objext conftest
$ac_exeext
6713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6714 (eval $ac_link) 2>conftest.er1
6716 grep -v '^ *+' conftest.er1
>conftest.err
6718 cat conftest.err
>&5
6719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6720 (exit $ac_status); } &&
6721 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6726 (exit $ac_status); }; } &&
6727 { ac_try
='test -s conftest$ac_exeext'
6728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6732 (exit $ac_status); }; }; then
6733 ac_cv_lib_c_getgid
=yes
6735 echo "$as_me: failed program was:" >&5
6736 sed 's/^/| /' conftest.
$ac_ext >&5
6738 ac_cv_lib_c_getgid
=no
6740 rm -f conftest.err conftest.
$ac_objext \
6741 conftest
$ac_exeext conftest.
$ac_ext
6742 LIBS
=$ac_check_lib_save_LIBS
6744 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
6745 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
6746 if test $ac_cv_lib_c_getgid = yes; then
6748 cat >>confdefs.h
<<\_ACEOF
6749 #define HAVE_GETGID 1
6754 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
6755 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
6756 if test "${ac_cv_lib_c_getpid+set}" = set; then
6757 echo $ECHO_N "(cached) $ECHO_C" >&6
6759 ac_check_lib_save_LIBS
=$LIBS
6761 cat >conftest.
$ac_ext <<_ACEOF
6764 cat confdefs.h
>>conftest.
$ac_ext
6765 cat >>conftest.
$ac_ext <<_ACEOF
6766 /* end confdefs.h. */
6768 /* Override any gcc2 internal prototype to avoid an error. */
6772 /* We use char because int might match the return type of a gcc2
6773 builtin and then its argument prototype would still apply. */
6783 rm -f conftest.
$ac_objext conftest
$ac_exeext
6784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6785 (eval $ac_link) 2>conftest.er1
6787 grep -v '^ *+' conftest.er1
>conftest.err
6789 cat conftest.err
>&5
6790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6791 (exit $ac_status); } &&
6792 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6797 (exit $ac_status); }; } &&
6798 { ac_try
='test -s conftest$ac_exeext'
6799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6803 (exit $ac_status); }; }; then
6804 ac_cv_lib_c_getpid
=yes
6806 echo "$as_me: failed program was:" >&5
6807 sed 's/^/| /' conftest.
$ac_ext >&5
6809 ac_cv_lib_c_getpid
=no
6811 rm -f conftest.err conftest.
$ac_objext \
6812 conftest
$ac_exeext conftest.
$ac_ext
6813 LIBS
=$ac_check_lib_save_LIBS
6815 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
6816 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
6817 if test $ac_cv_lib_c_getpid = yes; then
6819 cat >>confdefs.h
<<\_ACEOF
6820 #define HAVE_GETPID 1
6825 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
6826 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
6827 if test "${ac_cv_lib_c_getuid+set}" = set; then
6828 echo $ECHO_N "(cached) $ECHO_C" >&6
6830 ac_check_lib_save_LIBS
=$LIBS
6832 cat >conftest.
$ac_ext <<_ACEOF
6835 cat confdefs.h
>>conftest.
$ac_ext
6836 cat >>conftest.
$ac_ext <<_ACEOF
6837 /* end confdefs.h. */
6839 /* Override any gcc2 internal prototype to avoid an error. */
6843 /* We use char because int might match the return type of a gcc2
6844 builtin and then its argument prototype would still apply. */
6854 rm -f conftest.
$ac_objext conftest
$ac_exeext
6855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6856 (eval $ac_link) 2>conftest.er1
6858 grep -v '^ *+' conftest.er1
>conftest.err
6860 cat conftest.err
>&5
6861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6862 (exit $ac_status); } &&
6863 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6868 (exit $ac_status); }; } &&
6869 { ac_try
='test -s conftest$ac_exeext'
6870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6874 (exit $ac_status); }; }; then
6875 ac_cv_lib_c_getuid
=yes
6877 echo "$as_me: failed program was:" >&5
6878 sed 's/^/| /' conftest.
$ac_ext >&5
6880 ac_cv_lib_c_getuid
=no
6882 rm -f conftest.err conftest.
$ac_objext \
6883 conftest
$ac_exeext conftest.
$ac_ext
6884 LIBS
=$ac_check_lib_save_LIBS
6886 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
6887 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
6888 if test $ac_cv_lib_c_getuid = yes; then
6890 cat >>confdefs.h
<<\_ACEOF
6891 #define HAVE_GETUID 1
6897 # Check for C99 (and other IEEE) math functions
6898 # ??? This list seems awful long. Is there a better way to test for these?
6899 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
6900 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
6901 if test "${ac_cv_lib_m_acosf+set}" = set; then
6902 echo $ECHO_N "(cached) $ECHO_C" >&6
6904 ac_check_lib_save_LIBS
=$LIBS
6906 cat >conftest.
$ac_ext <<_ACEOF
6909 cat confdefs.h
>>conftest.
$ac_ext
6910 cat >>conftest.
$ac_ext <<_ACEOF
6911 /* end confdefs.h. */
6913 /* Override any gcc2 internal prototype to avoid an error. */
6917 /* We use char because int might match the return type of a gcc2
6918 builtin and then its argument prototype would still apply. */
6928 rm -f conftest.
$ac_objext conftest
$ac_exeext
6929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6930 (eval $ac_link) 2>conftest.er1
6932 grep -v '^ *+' conftest.er1
>conftest.err
6934 cat conftest.err
>&5
6935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6936 (exit $ac_status); } &&
6937 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6942 (exit $ac_status); }; } &&
6943 { ac_try
='test -s conftest$ac_exeext'
6944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6948 (exit $ac_status); }; }; then
6949 ac_cv_lib_m_acosf
=yes
6951 echo "$as_me: failed program was:" >&5
6952 sed 's/^/| /' conftest.
$ac_ext >&5
6954 ac_cv_lib_m_acosf
=no
6956 rm -f conftest.err conftest.
$ac_objext \
6957 conftest
$ac_exeext conftest.
$ac_ext
6958 LIBS
=$ac_check_lib_save_LIBS
6960 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
6961 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
6962 if test $ac_cv_lib_m_acosf = yes; then
6964 cat >>confdefs.h
<<\_ACEOF
6965 #define HAVE_ACOSF 1
6970 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
6971 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
6972 if test "${ac_cv_lib_m_asinf+set}" = set; then
6973 echo $ECHO_N "(cached) $ECHO_C" >&6
6975 ac_check_lib_save_LIBS
=$LIBS
6977 cat >conftest.
$ac_ext <<_ACEOF
6980 cat confdefs.h
>>conftest.
$ac_ext
6981 cat >>conftest.
$ac_ext <<_ACEOF
6982 /* end confdefs.h. */
6984 /* Override any gcc2 internal prototype to avoid an error. */
6988 /* We use char because int might match the return type of a gcc2
6989 builtin and then its argument prototype would still apply. */
6999 rm -f conftest.
$ac_objext conftest
$ac_exeext
7000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7001 (eval $ac_link) 2>conftest.er1
7003 grep -v '^ *+' conftest.er1
>conftest.err
7005 cat conftest.err
>&5
7006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7007 (exit $ac_status); } &&
7008 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7013 (exit $ac_status); }; } &&
7014 { ac_try
='test -s conftest$ac_exeext'
7015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7019 (exit $ac_status); }; }; then
7020 ac_cv_lib_m_asinf
=yes
7022 echo "$as_me: failed program was:" >&5
7023 sed 's/^/| /' conftest.
$ac_ext >&5
7025 ac_cv_lib_m_asinf
=no
7027 rm -f conftest.err conftest.
$ac_objext \
7028 conftest
$ac_exeext conftest.
$ac_ext
7029 LIBS
=$ac_check_lib_save_LIBS
7031 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
7032 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
7033 if test $ac_cv_lib_m_asinf = yes; then
7035 cat >>confdefs.h
<<\_ACEOF
7036 #define HAVE_ASINF 1
7041 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
7042 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
7043 if test "${ac_cv_lib_m_atan2f+set}" = set; then
7044 echo $ECHO_N "(cached) $ECHO_C" >&6
7046 ac_check_lib_save_LIBS
=$LIBS
7048 cat >conftest.
$ac_ext <<_ACEOF
7051 cat confdefs.h
>>conftest.
$ac_ext
7052 cat >>conftest.
$ac_ext <<_ACEOF
7053 /* end confdefs.h. */
7055 /* Override any gcc2 internal prototype to avoid an error. */
7059 /* We use char because int might match the return type of a gcc2
7060 builtin and then its argument prototype would still apply. */
7070 rm -f conftest.
$ac_objext conftest
$ac_exeext
7071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7072 (eval $ac_link) 2>conftest.er1
7074 grep -v '^ *+' conftest.er1
>conftest.err
7076 cat conftest.err
>&5
7077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078 (exit $ac_status); } &&
7079 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7084 (exit $ac_status); }; } &&
7085 { ac_try
='test -s conftest$ac_exeext'
7086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7090 (exit $ac_status); }; }; then
7091 ac_cv_lib_m_atan2f
=yes
7093 echo "$as_me: failed program was:" >&5
7094 sed 's/^/| /' conftest.
$ac_ext >&5
7096 ac_cv_lib_m_atan2f
=no
7098 rm -f conftest.err conftest.
$ac_objext \
7099 conftest
$ac_exeext conftest.
$ac_ext
7100 LIBS
=$ac_check_lib_save_LIBS
7102 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
7103 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
7104 if test $ac_cv_lib_m_atan2f = yes; then
7106 cat >>confdefs.h
<<\_ACEOF
7107 #define HAVE_ATAN2F 1
7112 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
7113 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
7114 if test "${ac_cv_lib_m_atanf+set}" = set; then
7115 echo $ECHO_N "(cached) $ECHO_C" >&6
7117 ac_check_lib_save_LIBS
=$LIBS
7119 cat >conftest.
$ac_ext <<_ACEOF
7122 cat confdefs.h
>>conftest.
$ac_ext
7123 cat >>conftest.
$ac_ext <<_ACEOF
7124 /* end confdefs.h. */
7126 /* Override any gcc2 internal prototype to avoid an error. */
7130 /* We use char because int might match the return type of a gcc2
7131 builtin and then its argument prototype would still apply. */
7141 rm -f conftest.
$ac_objext conftest
$ac_exeext
7142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7143 (eval $ac_link) 2>conftest.er1
7145 grep -v '^ *+' conftest.er1
>conftest.err
7147 cat conftest.err
>&5
7148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7149 (exit $ac_status); } &&
7150 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7155 (exit $ac_status); }; } &&
7156 { ac_try
='test -s conftest$ac_exeext'
7157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7161 (exit $ac_status); }; }; then
7162 ac_cv_lib_m_atanf
=yes
7164 echo "$as_me: failed program was:" >&5
7165 sed 's/^/| /' conftest.
$ac_ext >&5
7167 ac_cv_lib_m_atanf
=no
7169 rm -f conftest.err conftest.
$ac_objext \
7170 conftest
$ac_exeext conftest.
$ac_ext
7171 LIBS
=$ac_check_lib_save_LIBS
7173 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
7174 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
7175 if test $ac_cv_lib_m_atanf = yes; then
7177 cat >>confdefs.h
<<\_ACEOF
7178 #define HAVE_ATANF 1
7183 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
7184 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
7185 if test "${ac_cv_lib_m_ceilf+set}" = set; then
7186 echo $ECHO_N "(cached) $ECHO_C" >&6
7188 ac_check_lib_save_LIBS
=$LIBS
7190 cat >conftest.
$ac_ext <<_ACEOF
7193 cat confdefs.h
>>conftest.
$ac_ext
7194 cat >>conftest.
$ac_ext <<_ACEOF
7195 /* end confdefs.h. */
7197 /* Override any gcc2 internal prototype to avoid an error. */
7201 /* We use char because int might match the return type of a gcc2
7202 builtin and then its argument prototype would still apply. */
7212 rm -f conftest.
$ac_objext conftest
$ac_exeext
7213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7214 (eval $ac_link) 2>conftest.er1
7216 grep -v '^ *+' conftest.er1
>conftest.err
7218 cat conftest.err
>&5
7219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7220 (exit $ac_status); } &&
7221 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7226 (exit $ac_status); }; } &&
7227 { ac_try
='test -s conftest$ac_exeext'
7228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7232 (exit $ac_status); }; }; then
7233 ac_cv_lib_m_ceilf
=yes
7235 echo "$as_me: failed program was:" >&5
7236 sed 's/^/| /' conftest.
$ac_ext >&5
7238 ac_cv_lib_m_ceilf
=no
7240 rm -f conftest.err conftest.
$ac_objext \
7241 conftest
$ac_exeext conftest.
$ac_ext
7242 LIBS
=$ac_check_lib_save_LIBS
7244 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
7245 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
7246 if test $ac_cv_lib_m_ceilf = yes; then
7248 cat >>confdefs.h
<<\_ACEOF
7249 #define HAVE_CEILF 1
7254 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
7255 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
7256 if test "${ac_cv_lib_m_copysignf+set}" = set; then
7257 echo $ECHO_N "(cached) $ECHO_C" >&6
7259 ac_check_lib_save_LIBS
=$LIBS
7261 cat >conftest.
$ac_ext <<_ACEOF
7264 cat confdefs.h
>>conftest.
$ac_ext
7265 cat >>conftest.
$ac_ext <<_ACEOF
7266 /* end confdefs.h. */
7268 /* Override any gcc2 internal prototype to avoid an error. */
7272 /* We use char because int might match the return type of a gcc2
7273 builtin and then its argument prototype would still apply. */
7283 rm -f conftest.
$ac_objext conftest
$ac_exeext
7284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7285 (eval $ac_link) 2>conftest.er1
7287 grep -v '^ *+' conftest.er1
>conftest.err
7289 cat conftest.err
>&5
7290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7291 (exit $ac_status); } &&
7292 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7297 (exit $ac_status); }; } &&
7298 { ac_try
='test -s conftest$ac_exeext'
7299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7303 (exit $ac_status); }; }; then
7304 ac_cv_lib_m_copysignf
=yes
7306 echo "$as_me: failed program was:" >&5
7307 sed 's/^/| /' conftest.
$ac_ext >&5
7309 ac_cv_lib_m_copysignf
=no
7311 rm -f conftest.err conftest.
$ac_objext \
7312 conftest
$ac_exeext conftest.
$ac_ext
7313 LIBS
=$ac_check_lib_save_LIBS
7315 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
7316 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
7317 if test $ac_cv_lib_m_copysignf = yes; then
7319 cat >>confdefs.h
<<\_ACEOF
7320 #define HAVE_COPYSIGNF 1
7325 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
7326 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
7327 if test "${ac_cv_lib_m_cosf+set}" = set; then
7328 echo $ECHO_N "(cached) $ECHO_C" >&6
7330 ac_check_lib_save_LIBS
=$LIBS
7332 cat >conftest.
$ac_ext <<_ACEOF
7335 cat confdefs.h
>>conftest.
$ac_ext
7336 cat >>conftest.
$ac_ext <<_ACEOF
7337 /* end confdefs.h. */
7339 /* Override any gcc2 internal prototype to avoid an error. */
7343 /* We use char because int might match the return type of a gcc2
7344 builtin and then its argument prototype would still apply. */
7354 rm -f conftest.
$ac_objext conftest
$ac_exeext
7355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7356 (eval $ac_link) 2>conftest.er1
7358 grep -v '^ *+' conftest.er1
>conftest.err
7360 cat conftest.err
>&5
7361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7362 (exit $ac_status); } &&
7363 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7368 (exit $ac_status); }; } &&
7369 { ac_try
='test -s conftest$ac_exeext'
7370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7374 (exit $ac_status); }; }; then
7375 ac_cv_lib_m_cosf
=yes
7377 echo "$as_me: failed program was:" >&5
7378 sed 's/^/| /' conftest.
$ac_ext >&5
7382 rm -f conftest.err conftest.
$ac_objext \
7383 conftest
$ac_exeext conftest.
$ac_ext
7384 LIBS
=$ac_check_lib_save_LIBS
7386 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
7387 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
7388 if test $ac_cv_lib_m_cosf = yes; then
7390 cat >>confdefs.h
<<\_ACEOF
7396 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
7397 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
7398 if test "${ac_cv_lib_m_coshf+set}" = set; then
7399 echo $ECHO_N "(cached) $ECHO_C" >&6
7401 ac_check_lib_save_LIBS
=$LIBS
7403 cat >conftest.
$ac_ext <<_ACEOF
7406 cat confdefs.h
>>conftest.
$ac_ext
7407 cat >>conftest.
$ac_ext <<_ACEOF
7408 /* end confdefs.h. */
7410 /* Override any gcc2 internal prototype to avoid an error. */
7414 /* We use char because int might match the return type of a gcc2
7415 builtin and then its argument prototype would still apply. */
7425 rm -f conftest.
$ac_objext conftest
$ac_exeext
7426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7427 (eval $ac_link) 2>conftest.er1
7429 grep -v '^ *+' conftest.er1
>conftest.err
7431 cat conftest.err
>&5
7432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7433 (exit $ac_status); } &&
7434 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7439 (exit $ac_status); }; } &&
7440 { ac_try
='test -s conftest$ac_exeext'
7441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7445 (exit $ac_status); }; }; then
7446 ac_cv_lib_m_coshf
=yes
7448 echo "$as_me: failed program was:" >&5
7449 sed 's/^/| /' conftest.
$ac_ext >&5
7451 ac_cv_lib_m_coshf
=no
7453 rm -f conftest.err conftest.
$ac_objext \
7454 conftest
$ac_exeext conftest.
$ac_ext
7455 LIBS
=$ac_check_lib_save_LIBS
7457 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
7458 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
7459 if test $ac_cv_lib_m_coshf = yes; then
7461 cat >>confdefs.h
<<\_ACEOF
7462 #define HAVE_COSHF 1
7467 echo "$as_me:$LINENO: checking for expf in -lm" >&5
7468 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
7469 if test "${ac_cv_lib_m_expf+set}" = set; then
7470 echo $ECHO_N "(cached) $ECHO_C" >&6
7472 ac_check_lib_save_LIBS
=$LIBS
7474 cat >conftest.
$ac_ext <<_ACEOF
7477 cat confdefs.h
>>conftest.
$ac_ext
7478 cat >>conftest.
$ac_ext <<_ACEOF
7479 /* end confdefs.h. */
7481 /* Override any gcc2 internal prototype to avoid an error. */
7485 /* We use char because int might match the return type of a gcc2
7486 builtin and then its argument prototype would still apply. */
7496 rm -f conftest.
$ac_objext conftest
$ac_exeext
7497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7498 (eval $ac_link) 2>conftest.er1
7500 grep -v '^ *+' conftest.er1
>conftest.err
7502 cat conftest.err
>&5
7503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7504 (exit $ac_status); } &&
7505 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7510 (exit $ac_status); }; } &&
7511 { ac_try
='test -s conftest$ac_exeext'
7512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7516 (exit $ac_status); }; }; then
7517 ac_cv_lib_m_expf
=yes
7519 echo "$as_me: failed program was:" >&5
7520 sed 's/^/| /' conftest.
$ac_ext >&5
7524 rm -f conftest.err conftest.
$ac_objext \
7525 conftest
$ac_exeext conftest.
$ac_ext
7526 LIBS
=$ac_check_lib_save_LIBS
7528 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
7529 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
7530 if test $ac_cv_lib_m_expf = yes; then
7532 cat >>confdefs.h
<<\_ACEOF
7538 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
7539 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
7540 if test "${ac_cv_lib_m_floorf+set}" = set; then
7541 echo $ECHO_N "(cached) $ECHO_C" >&6
7543 ac_check_lib_save_LIBS
=$LIBS
7545 cat >conftest.
$ac_ext <<_ACEOF
7548 cat confdefs.h
>>conftest.
$ac_ext
7549 cat >>conftest.
$ac_ext <<_ACEOF
7550 /* end confdefs.h. */
7552 /* Override any gcc2 internal prototype to avoid an error. */
7556 /* We use char because int might match the return type of a gcc2
7557 builtin and then its argument prototype would still apply. */
7567 rm -f conftest.
$ac_objext conftest
$ac_exeext
7568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7569 (eval $ac_link) 2>conftest.er1
7571 grep -v '^ *+' conftest.er1
>conftest.err
7573 cat conftest.err
>&5
7574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7575 (exit $ac_status); } &&
7576 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7581 (exit $ac_status); }; } &&
7582 { ac_try
='test -s conftest$ac_exeext'
7583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7587 (exit $ac_status); }; }; then
7588 ac_cv_lib_m_floorf
=yes
7590 echo "$as_me: failed program was:" >&5
7591 sed 's/^/| /' conftest.
$ac_ext >&5
7593 ac_cv_lib_m_floorf
=no
7595 rm -f conftest.err conftest.
$ac_objext \
7596 conftest
$ac_exeext conftest.
$ac_ext
7597 LIBS
=$ac_check_lib_save_LIBS
7599 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
7600 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
7601 if test $ac_cv_lib_m_floorf = yes; then
7603 cat >>confdefs.h
<<\_ACEOF
7604 #define HAVE_FLOORF 1
7609 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
7610 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
7611 if test "${ac_cv_lib_m_frexpf+set}" = set; then
7612 echo $ECHO_N "(cached) $ECHO_C" >&6
7614 ac_check_lib_save_LIBS
=$LIBS
7616 cat >conftest.
$ac_ext <<_ACEOF
7619 cat confdefs.h
>>conftest.
$ac_ext
7620 cat >>conftest.
$ac_ext <<_ACEOF
7621 /* end confdefs.h. */
7623 /* Override any gcc2 internal prototype to avoid an error. */
7627 /* We use char because int might match the return type of a gcc2
7628 builtin and then its argument prototype would still apply. */
7638 rm -f conftest.
$ac_objext conftest
$ac_exeext
7639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7640 (eval $ac_link) 2>conftest.er1
7642 grep -v '^ *+' conftest.er1
>conftest.err
7644 cat conftest.err
>&5
7645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7646 (exit $ac_status); } &&
7647 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7652 (exit $ac_status); }; } &&
7653 { ac_try
='test -s conftest$ac_exeext'
7654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7658 (exit $ac_status); }; }; then
7659 ac_cv_lib_m_frexpf
=yes
7661 echo "$as_me: failed program was:" >&5
7662 sed 's/^/| /' conftest.
$ac_ext >&5
7664 ac_cv_lib_m_frexpf
=no
7666 rm -f conftest.err conftest.
$ac_objext \
7667 conftest
$ac_exeext conftest.
$ac_ext
7668 LIBS
=$ac_check_lib_save_LIBS
7670 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
7671 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
7672 if test $ac_cv_lib_m_frexpf = yes; then
7674 cat >>confdefs.h
<<\_ACEOF
7675 #define HAVE_FREXPF 1
7680 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
7681 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
7682 if test "${ac_cv_lib_m_hypotf+set}" = set; then
7683 echo $ECHO_N "(cached) $ECHO_C" >&6
7685 ac_check_lib_save_LIBS
=$LIBS
7687 cat >conftest.
$ac_ext <<_ACEOF
7690 cat confdefs.h
>>conftest.
$ac_ext
7691 cat >>conftest.
$ac_ext <<_ACEOF
7692 /* end confdefs.h. */
7694 /* Override any gcc2 internal prototype to avoid an error. */
7698 /* We use char because int might match the return type of a gcc2
7699 builtin and then its argument prototype would still apply. */
7709 rm -f conftest.
$ac_objext conftest
$ac_exeext
7710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7711 (eval $ac_link) 2>conftest.er1
7713 grep -v '^ *+' conftest.er1
>conftest.err
7715 cat conftest.err
>&5
7716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7717 (exit $ac_status); } &&
7718 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7723 (exit $ac_status); }; } &&
7724 { ac_try
='test -s conftest$ac_exeext'
7725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7729 (exit $ac_status); }; }; then
7730 ac_cv_lib_m_hypotf
=yes
7732 echo "$as_me: failed program was:" >&5
7733 sed 's/^/| /' conftest.
$ac_ext >&5
7735 ac_cv_lib_m_hypotf
=no
7737 rm -f conftest.err conftest.
$ac_objext \
7738 conftest
$ac_exeext conftest.
$ac_ext
7739 LIBS
=$ac_check_lib_save_LIBS
7741 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
7742 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
7743 if test $ac_cv_lib_m_hypotf = yes; then
7745 cat >>confdefs.h
<<\_ACEOF
7746 #define HAVE_HYPOTF 1
7751 echo "$as_me:$LINENO: checking for logf in -lm" >&5
7752 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
7753 if test "${ac_cv_lib_m_logf+set}" = set; then
7754 echo $ECHO_N "(cached) $ECHO_C" >&6
7756 ac_check_lib_save_LIBS
=$LIBS
7758 cat >conftest.
$ac_ext <<_ACEOF
7761 cat confdefs.h
>>conftest.
$ac_ext
7762 cat >>conftest.
$ac_ext <<_ACEOF
7763 /* end confdefs.h. */
7765 /* Override any gcc2 internal prototype to avoid an error. */
7769 /* We use char because int might match the return type of a gcc2
7770 builtin and then its argument prototype would still apply. */
7780 rm -f conftest.
$ac_objext conftest
$ac_exeext
7781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7782 (eval $ac_link) 2>conftest.er1
7784 grep -v '^ *+' conftest.er1
>conftest.err
7786 cat conftest.err
>&5
7787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7788 (exit $ac_status); } &&
7789 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7794 (exit $ac_status); }; } &&
7795 { ac_try
='test -s conftest$ac_exeext'
7796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7800 (exit $ac_status); }; }; then
7801 ac_cv_lib_m_logf
=yes
7803 echo "$as_me: failed program was:" >&5
7804 sed 's/^/| /' conftest.
$ac_ext >&5
7808 rm -f conftest.err conftest.
$ac_objext \
7809 conftest
$ac_exeext conftest.
$ac_ext
7810 LIBS
=$ac_check_lib_save_LIBS
7812 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
7813 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
7814 if test $ac_cv_lib_m_logf = yes; then
7816 cat >>confdefs.h
<<\_ACEOF
7822 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
7823 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
7824 if test "${ac_cv_lib_m_log10f+set}" = set; then
7825 echo $ECHO_N "(cached) $ECHO_C" >&6
7827 ac_check_lib_save_LIBS
=$LIBS
7829 cat >conftest.
$ac_ext <<_ACEOF
7832 cat confdefs.h
>>conftest.
$ac_ext
7833 cat >>conftest.
$ac_ext <<_ACEOF
7834 /* end confdefs.h. */
7836 /* Override any gcc2 internal prototype to avoid an error. */
7840 /* We use char because int might match the return type of a gcc2
7841 builtin and then its argument prototype would still apply. */
7851 rm -f conftest.
$ac_objext conftest
$ac_exeext
7852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7853 (eval $ac_link) 2>conftest.er1
7855 grep -v '^ *+' conftest.er1
>conftest.err
7857 cat conftest.err
>&5
7858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7859 (exit $ac_status); } &&
7860 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7865 (exit $ac_status); }; } &&
7866 { ac_try
='test -s conftest$ac_exeext'
7867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7871 (exit $ac_status); }; }; then
7872 ac_cv_lib_m_log10f
=yes
7874 echo "$as_me: failed program was:" >&5
7875 sed 's/^/| /' conftest.
$ac_ext >&5
7877 ac_cv_lib_m_log10f
=no
7879 rm -f conftest.err conftest.
$ac_objext \
7880 conftest
$ac_exeext conftest.
$ac_ext
7881 LIBS
=$ac_check_lib_save_LIBS
7883 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
7884 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
7885 if test $ac_cv_lib_m_log10f = yes; then
7887 cat >>confdefs.h
<<\_ACEOF
7888 #define HAVE_LOG10F 1
7893 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
7894 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
7895 if test "${ac_cv_lib_m_nextafter+set}" = set; then
7896 echo $ECHO_N "(cached) $ECHO_C" >&6
7898 ac_check_lib_save_LIBS
=$LIBS
7900 cat >conftest.
$ac_ext <<_ACEOF
7903 cat confdefs.h
>>conftest.
$ac_ext
7904 cat >>conftest.
$ac_ext <<_ACEOF
7905 /* end confdefs.h. */
7907 /* Override any gcc2 internal prototype to avoid an error. */
7911 /* We use char because int might match the return type of a gcc2
7912 builtin and then its argument prototype would still apply. */
7922 rm -f conftest.
$ac_objext conftest
$ac_exeext
7923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7924 (eval $ac_link) 2>conftest.er1
7926 grep -v '^ *+' conftest.er1
>conftest.err
7928 cat conftest.err
>&5
7929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7930 (exit $ac_status); } &&
7931 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7936 (exit $ac_status); }; } &&
7937 { ac_try
='test -s conftest$ac_exeext'
7938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7942 (exit $ac_status); }; }; then
7943 ac_cv_lib_m_nextafter
=yes
7945 echo "$as_me: failed program was:" >&5
7946 sed 's/^/| /' conftest.
$ac_ext >&5
7948 ac_cv_lib_m_nextafter
=no
7950 rm -f conftest.err conftest.
$ac_objext \
7951 conftest
$ac_exeext conftest.
$ac_ext
7952 LIBS
=$ac_check_lib_save_LIBS
7954 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
7955 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
7956 if test $ac_cv_lib_m_nextafter = yes; then
7958 cat >>confdefs.h
<<\_ACEOF
7959 #define HAVE_NEXTAFTER 1
7964 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
7965 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
7966 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
7967 echo $ECHO_N "(cached) $ECHO_C" >&6
7969 ac_check_lib_save_LIBS
=$LIBS
7971 cat >conftest.
$ac_ext <<_ACEOF
7974 cat confdefs.h
>>conftest.
$ac_ext
7975 cat >>conftest.
$ac_ext <<_ACEOF
7976 /* end confdefs.h. */
7978 /* Override any gcc2 internal prototype to avoid an error. */
7982 /* We use char because int might match the return type of a gcc2
7983 builtin and then its argument prototype would still apply. */
7993 rm -f conftest.
$ac_objext conftest
$ac_exeext
7994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7995 (eval $ac_link) 2>conftest.er1
7997 grep -v '^ *+' conftest.er1
>conftest.err
7999 cat conftest.err
>&5
8000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8001 (exit $ac_status); } &&
8002 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8007 (exit $ac_status); }; } &&
8008 { ac_try
='test -s conftest$ac_exeext'
8009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8013 (exit $ac_status); }; }; then
8014 ac_cv_lib_m_nextafterf
=yes
8016 echo "$as_me: failed program was:" >&5
8017 sed 's/^/| /' conftest.
$ac_ext >&5
8019 ac_cv_lib_m_nextafterf
=no
8021 rm -f conftest.err conftest.
$ac_objext \
8022 conftest
$ac_exeext conftest.
$ac_ext
8023 LIBS
=$ac_check_lib_save_LIBS
8025 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
8026 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
8027 if test $ac_cv_lib_m_nextafterf = yes; then
8029 cat >>confdefs.h
<<\_ACEOF
8030 #define HAVE_NEXTAFTERF 1
8035 echo "$as_me:$LINENO: checking for round in -lm" >&5
8036 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
8037 if test "${ac_cv_lib_m_round+set}" = set; then
8038 echo $ECHO_N "(cached) $ECHO_C" >&6
8040 ac_check_lib_save_LIBS
=$LIBS
8042 cat >conftest.
$ac_ext <<_ACEOF
8045 cat confdefs.h
>>conftest.
$ac_ext
8046 cat >>conftest.
$ac_ext <<_ACEOF
8047 /* end confdefs.h. */
8049 /* Override any gcc2 internal prototype to avoid an error. */
8053 /* We use char because int might match the return type of a gcc2
8054 builtin and then its argument prototype would still apply. */
8064 rm -f conftest.
$ac_objext conftest
$ac_exeext
8065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8066 (eval $ac_link) 2>conftest.er1
8068 grep -v '^ *+' conftest.er1
>conftest.err
8070 cat conftest.err
>&5
8071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8072 (exit $ac_status); } &&
8073 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8078 (exit $ac_status); }; } &&
8079 { ac_try
='test -s conftest$ac_exeext'
8080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8084 (exit $ac_status); }; }; then
8085 ac_cv_lib_m_round
=yes
8087 echo "$as_me: failed program was:" >&5
8088 sed 's/^/| /' conftest.
$ac_ext >&5
8090 ac_cv_lib_m_round
=no
8092 rm -f conftest.err conftest.
$ac_objext \
8093 conftest
$ac_exeext conftest.
$ac_ext
8094 LIBS
=$ac_check_lib_save_LIBS
8096 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
8097 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
8098 if test $ac_cv_lib_m_round = yes; then
8100 cat >>confdefs.h
<<\_ACEOF
8101 #define HAVE_ROUND 1
8106 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
8107 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
8108 if test "${ac_cv_lib_m_roundf+set}" = set; then
8109 echo $ECHO_N "(cached) $ECHO_C" >&6
8111 ac_check_lib_save_LIBS
=$LIBS
8113 cat >conftest.
$ac_ext <<_ACEOF
8116 cat confdefs.h
>>conftest.
$ac_ext
8117 cat >>conftest.
$ac_ext <<_ACEOF
8118 /* end confdefs.h. */
8120 /* Override any gcc2 internal prototype to avoid an error. */
8124 /* We use char because int might match the return type of a gcc2
8125 builtin and then its argument prototype would still apply. */
8135 rm -f conftest.
$ac_objext conftest
$ac_exeext
8136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8137 (eval $ac_link) 2>conftest.er1
8139 grep -v '^ *+' conftest.er1
>conftest.err
8141 cat conftest.err
>&5
8142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8143 (exit $ac_status); } &&
8144 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8149 (exit $ac_status); }; } &&
8150 { ac_try
='test -s conftest$ac_exeext'
8151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8155 (exit $ac_status); }; }; then
8156 ac_cv_lib_m_roundf
=yes
8158 echo "$as_me: failed program was:" >&5
8159 sed 's/^/| /' conftest.
$ac_ext >&5
8161 ac_cv_lib_m_roundf
=no
8163 rm -f conftest.err conftest.
$ac_objext \
8164 conftest
$ac_exeext conftest.
$ac_ext
8165 LIBS
=$ac_check_lib_save_LIBS
8167 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
8168 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
8169 if test $ac_cv_lib_m_roundf = yes; then
8171 cat >>confdefs.h
<<\_ACEOF
8172 #define HAVE_ROUNDF 1
8177 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
8178 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
8179 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
8180 echo $ECHO_N "(cached) $ECHO_C" >&6
8182 ac_check_lib_save_LIBS
=$LIBS
8184 cat >conftest.
$ac_ext <<_ACEOF
8187 cat confdefs.h
>>conftest.
$ac_ext
8188 cat >>conftest.
$ac_ext <<_ACEOF
8189 /* end confdefs.h. */
8191 /* Override any gcc2 internal prototype to avoid an error. */
8195 /* We use char because int might match the return type of a gcc2
8196 builtin and then its argument prototype would still apply. */
8206 rm -f conftest.
$ac_objext conftest
$ac_exeext
8207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8208 (eval $ac_link) 2>conftest.er1
8210 grep -v '^ *+' conftest.er1
>conftest.err
8212 cat conftest.err
>&5
8213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8214 (exit $ac_status); } &&
8215 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8220 (exit $ac_status); }; } &&
8221 { ac_try
='test -s conftest$ac_exeext'
8222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8226 (exit $ac_status); }; }; then
8227 ac_cv_lib_m_scalbnf
=yes
8229 echo "$as_me: failed program was:" >&5
8230 sed 's/^/| /' conftest.
$ac_ext >&5
8232 ac_cv_lib_m_scalbnf
=no
8234 rm -f conftest.err conftest.
$ac_objext \
8235 conftest
$ac_exeext conftest.
$ac_ext
8236 LIBS
=$ac_check_lib_save_LIBS
8238 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
8239 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
8240 if test $ac_cv_lib_m_scalbnf = yes; then
8242 cat >>confdefs.h
<<\_ACEOF
8243 #define HAVE_SCALBNF 1
8248 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
8249 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
8250 if test "${ac_cv_lib_m_sinf+set}" = set; then
8251 echo $ECHO_N "(cached) $ECHO_C" >&6
8253 ac_check_lib_save_LIBS
=$LIBS
8255 cat >conftest.
$ac_ext <<_ACEOF
8258 cat confdefs.h
>>conftest.
$ac_ext
8259 cat >>conftest.
$ac_ext <<_ACEOF
8260 /* end confdefs.h. */
8262 /* Override any gcc2 internal prototype to avoid an error. */
8266 /* We use char because int might match the return type of a gcc2
8267 builtin and then its argument prototype would still apply. */
8277 rm -f conftest.
$ac_objext conftest
$ac_exeext
8278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8279 (eval $ac_link) 2>conftest.er1
8281 grep -v '^ *+' conftest.er1
>conftest.err
8283 cat conftest.err
>&5
8284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8285 (exit $ac_status); } &&
8286 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8291 (exit $ac_status); }; } &&
8292 { ac_try
='test -s conftest$ac_exeext'
8293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8297 (exit $ac_status); }; }; then
8298 ac_cv_lib_m_sinf
=yes
8300 echo "$as_me: failed program was:" >&5
8301 sed 's/^/| /' conftest.
$ac_ext >&5
8305 rm -f conftest.err conftest.
$ac_objext \
8306 conftest
$ac_exeext conftest.
$ac_ext
8307 LIBS
=$ac_check_lib_save_LIBS
8309 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
8310 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
8311 if test $ac_cv_lib_m_sinf = yes; then
8313 cat >>confdefs.h
<<\_ACEOF
8319 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
8320 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
8321 if test "${ac_cv_lib_m_sinhf+set}" = set; then
8322 echo $ECHO_N "(cached) $ECHO_C" >&6
8324 ac_check_lib_save_LIBS
=$LIBS
8326 cat >conftest.
$ac_ext <<_ACEOF
8329 cat confdefs.h
>>conftest.
$ac_ext
8330 cat >>conftest.
$ac_ext <<_ACEOF
8331 /* end confdefs.h. */
8333 /* Override any gcc2 internal prototype to avoid an error. */
8337 /* We use char because int might match the return type of a gcc2
8338 builtin and then its argument prototype would still apply. */
8348 rm -f conftest.
$ac_objext conftest
$ac_exeext
8349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8350 (eval $ac_link) 2>conftest.er1
8352 grep -v '^ *+' conftest.er1
>conftest.err
8354 cat conftest.err
>&5
8355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8356 (exit $ac_status); } &&
8357 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8362 (exit $ac_status); }; } &&
8363 { ac_try
='test -s conftest$ac_exeext'
8364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8368 (exit $ac_status); }; }; then
8369 ac_cv_lib_m_sinhf
=yes
8371 echo "$as_me: failed program was:" >&5
8372 sed 's/^/| /' conftest.
$ac_ext >&5
8374 ac_cv_lib_m_sinhf
=no
8376 rm -f conftest.err conftest.
$ac_objext \
8377 conftest
$ac_exeext conftest.
$ac_ext
8378 LIBS
=$ac_check_lib_save_LIBS
8380 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
8381 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
8382 if test $ac_cv_lib_m_sinhf = yes; then
8384 cat >>confdefs.h
<<\_ACEOF
8385 #define HAVE_SINHF 1
8390 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
8391 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
8392 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
8393 echo $ECHO_N "(cached) $ECHO_C" >&6
8395 ac_check_lib_save_LIBS
=$LIBS
8397 cat >conftest.
$ac_ext <<_ACEOF
8400 cat confdefs.h
>>conftest.
$ac_ext
8401 cat >>conftest.
$ac_ext <<_ACEOF
8402 /* end confdefs.h. */
8404 /* Override any gcc2 internal prototype to avoid an error. */
8408 /* We use char because int might match the return type of a gcc2
8409 builtin and then its argument prototype would still apply. */
8419 rm -f conftest.
$ac_objext conftest
$ac_exeext
8420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8421 (eval $ac_link) 2>conftest.er1
8423 grep -v '^ *+' conftest.er1
>conftest.err
8425 cat conftest.err
>&5
8426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8427 (exit $ac_status); } &&
8428 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8433 (exit $ac_status); }; } &&
8434 { ac_try
='test -s conftest$ac_exeext'
8435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8439 (exit $ac_status); }; }; then
8440 ac_cv_lib_m_sqrtf
=yes
8442 echo "$as_me: failed program was:" >&5
8443 sed 's/^/| /' conftest.
$ac_ext >&5
8445 ac_cv_lib_m_sqrtf
=no
8447 rm -f conftest.err conftest.
$ac_objext \
8448 conftest
$ac_exeext conftest.
$ac_ext
8449 LIBS
=$ac_check_lib_save_LIBS
8451 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
8452 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
8453 if test $ac_cv_lib_m_sqrtf = yes; then
8455 cat >>confdefs.h
<<\_ACEOF
8456 #define HAVE_SQRTF 1
8461 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
8462 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
8463 if test "${ac_cv_lib_m_tanf+set}" = set; then
8464 echo $ECHO_N "(cached) $ECHO_C" >&6
8466 ac_check_lib_save_LIBS
=$LIBS
8468 cat >conftest.
$ac_ext <<_ACEOF
8471 cat confdefs.h
>>conftest.
$ac_ext
8472 cat >>conftest.
$ac_ext <<_ACEOF
8473 /* end confdefs.h. */
8475 /* Override any gcc2 internal prototype to avoid an error. */
8479 /* We use char because int might match the return type of a gcc2
8480 builtin and then its argument prototype would still apply. */
8490 rm -f conftest.
$ac_objext conftest
$ac_exeext
8491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8492 (eval $ac_link) 2>conftest.er1
8494 grep -v '^ *+' conftest.er1
>conftest.err
8496 cat conftest.err
>&5
8497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8498 (exit $ac_status); } &&
8499 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8504 (exit $ac_status); }; } &&
8505 { ac_try
='test -s conftest$ac_exeext'
8506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8510 (exit $ac_status); }; }; then
8511 ac_cv_lib_m_tanf
=yes
8513 echo "$as_me: failed program was:" >&5
8514 sed 's/^/| /' conftest.
$ac_ext >&5
8518 rm -f conftest.err conftest.
$ac_objext \
8519 conftest
$ac_exeext conftest.
$ac_ext
8520 LIBS
=$ac_check_lib_save_LIBS
8522 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
8523 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
8524 if test $ac_cv_lib_m_tanf = yes; then
8526 cat >>confdefs.h
<<\_ACEOF
8532 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
8533 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
8534 if test "${ac_cv_lib_m_tanhf+set}" = set; then
8535 echo $ECHO_N "(cached) $ECHO_C" >&6
8537 ac_check_lib_save_LIBS
=$LIBS
8539 cat >conftest.
$ac_ext <<_ACEOF
8542 cat confdefs.h
>>conftest.
$ac_ext
8543 cat >>conftest.
$ac_ext <<_ACEOF
8544 /* end confdefs.h. */
8546 /* Override any gcc2 internal prototype to avoid an error. */
8550 /* We use char because int might match the return type of a gcc2
8551 builtin and then its argument prototype would still apply. */
8561 rm -f conftest.
$ac_objext conftest
$ac_exeext
8562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8563 (eval $ac_link) 2>conftest.er1
8565 grep -v '^ *+' conftest.er1
>conftest.err
8567 cat conftest.err
>&5
8568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8569 (exit $ac_status); } &&
8570 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8575 (exit $ac_status); }; } &&
8576 { ac_try
='test -s conftest$ac_exeext'
8577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8581 (exit $ac_status); }; }; then
8582 ac_cv_lib_m_tanhf
=yes
8584 echo "$as_me: failed program was:" >&5
8585 sed 's/^/| /' conftest.
$ac_ext >&5
8587 ac_cv_lib_m_tanhf
=no
8589 rm -f conftest.err conftest.
$ac_objext \
8590 conftest
$ac_exeext conftest.
$ac_ext
8591 LIBS
=$ac_check_lib_save_LIBS
8593 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
8594 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
8595 if test $ac_cv_lib_m_tanhf = yes; then
8597 cat >>confdefs.h
<<\_ACEOF
8598 #define HAVE_TANHF 1
8603 echo "$as_me:$LINENO: checking for erf in -lm" >&5
8604 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
8605 if test "${ac_cv_lib_m_erf+set}" = set; then
8606 echo $ECHO_N "(cached) $ECHO_C" >&6
8608 ac_check_lib_save_LIBS
=$LIBS
8610 cat >conftest.
$ac_ext <<_ACEOF
8613 cat confdefs.h
>>conftest.
$ac_ext
8614 cat >>conftest.
$ac_ext <<_ACEOF
8615 /* end confdefs.h. */
8617 /* Override any gcc2 internal prototype to avoid an error. */
8621 /* We use char because int might match the return type of a gcc2
8622 builtin and then its argument prototype would still apply. */
8632 rm -f conftest.
$ac_objext conftest
$ac_exeext
8633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8634 (eval $ac_link) 2>conftest.er1
8636 grep -v '^ *+' conftest.er1
>conftest.err
8638 cat conftest.err
>&5
8639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8640 (exit $ac_status); } &&
8641 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8646 (exit $ac_status); }; } &&
8647 { ac_try
='test -s conftest$ac_exeext'
8648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8652 (exit $ac_status); }; }; then
8655 echo "$as_me: failed program was:" >&5
8656 sed 's/^/| /' conftest.
$ac_ext >&5
8660 rm -f conftest.err conftest.
$ac_objext \
8661 conftest
$ac_exeext conftest.
$ac_ext
8662 LIBS
=$ac_check_lib_save_LIBS
8664 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
8665 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
8666 if test $ac_cv_lib_m_erf = yes; then
8668 cat >>confdefs.h
<<\_ACEOF
8674 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
8675 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
8676 if test "${ac_cv_lib_m_erfc+set}" = set; then
8677 echo $ECHO_N "(cached) $ECHO_C" >&6
8679 ac_check_lib_save_LIBS
=$LIBS
8681 cat >conftest.
$ac_ext <<_ACEOF
8684 cat confdefs.h
>>conftest.
$ac_ext
8685 cat >>conftest.
$ac_ext <<_ACEOF
8686 /* end confdefs.h. */
8688 /* Override any gcc2 internal prototype to avoid an error. */
8692 /* We use char because int might match the return type of a gcc2
8693 builtin and then its argument prototype would still apply. */
8703 rm -f conftest.
$ac_objext conftest
$ac_exeext
8704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8705 (eval $ac_link) 2>conftest.er1
8707 grep -v '^ *+' conftest.er1
>conftest.err
8709 cat conftest.err
>&5
8710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711 (exit $ac_status); } &&
8712 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); }; } &&
8718 { ac_try
='test -s conftest$ac_exeext'
8719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8723 (exit $ac_status); }; }; then
8724 ac_cv_lib_m_erfc
=yes
8726 echo "$as_me: failed program was:" >&5
8727 sed 's/^/| /' conftest.
$ac_ext >&5
8731 rm -f conftest.err conftest.
$ac_objext \
8732 conftest
$ac_exeext conftest.
$ac_ext
8733 LIBS
=$ac_check_lib_save_LIBS
8735 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
8736 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
8737 if test $ac_cv_lib_m_erfc = yes; then
8739 cat >>confdefs.h
<<\_ACEOF
8745 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
8746 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
8747 if test "${ac_cv_lib_m_erfcf+set}" = set; then
8748 echo $ECHO_N "(cached) $ECHO_C" >&6
8750 ac_check_lib_save_LIBS
=$LIBS
8752 cat >conftest.
$ac_ext <<_ACEOF
8755 cat confdefs.h
>>conftest.
$ac_ext
8756 cat >>conftest.
$ac_ext <<_ACEOF
8757 /* end confdefs.h. */
8759 /* Override any gcc2 internal prototype to avoid an error. */
8763 /* We use char because int might match the return type of a gcc2
8764 builtin and then its argument prototype would still apply. */
8774 rm -f conftest.
$ac_objext conftest
$ac_exeext
8775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8776 (eval $ac_link) 2>conftest.er1
8778 grep -v '^ *+' conftest.er1
>conftest.err
8780 cat conftest.err
>&5
8781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8782 (exit $ac_status); } &&
8783 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8788 (exit $ac_status); }; } &&
8789 { ac_try
='test -s conftest$ac_exeext'
8790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8794 (exit $ac_status); }; }; then
8795 ac_cv_lib_m_erfcf
=yes
8797 echo "$as_me: failed program was:" >&5
8798 sed 's/^/| /' conftest.
$ac_ext >&5
8800 ac_cv_lib_m_erfcf
=no
8802 rm -f conftest.err conftest.
$ac_objext \
8803 conftest
$ac_exeext conftest.
$ac_ext
8804 LIBS
=$ac_check_lib_save_LIBS
8806 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
8807 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
8808 if test $ac_cv_lib_m_erfcf = yes; then
8810 cat >>confdefs.h
<<\_ACEOF
8811 #define HAVE_ERFCF 1
8816 echo "$as_me:$LINENO: checking for erff in -lm" >&5
8817 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
8818 if test "${ac_cv_lib_m_erff+set}" = set; then
8819 echo $ECHO_N "(cached) $ECHO_C" >&6
8821 ac_check_lib_save_LIBS
=$LIBS
8823 cat >conftest.
$ac_ext <<_ACEOF
8826 cat confdefs.h
>>conftest.
$ac_ext
8827 cat >>conftest.
$ac_ext <<_ACEOF
8828 /* end confdefs.h. */
8830 /* Override any gcc2 internal prototype to avoid an error. */
8834 /* We use char because int might match the return type of a gcc2
8835 builtin and then its argument prototype would still apply. */
8845 rm -f conftest.
$ac_objext conftest
$ac_exeext
8846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8847 (eval $ac_link) 2>conftest.er1
8849 grep -v '^ *+' conftest.er1
>conftest.err
8851 cat conftest.err
>&5
8852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8853 (exit $ac_status); } &&
8854 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8859 (exit $ac_status); }; } &&
8860 { ac_try
='test -s conftest$ac_exeext'
8861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8865 (exit $ac_status); }; }; then
8866 ac_cv_lib_m_erff
=yes
8868 echo "$as_me: failed program was:" >&5
8869 sed 's/^/| /' conftest.
$ac_ext >&5
8873 rm -f conftest.err conftest.
$ac_objext \
8874 conftest
$ac_exeext conftest.
$ac_ext
8875 LIBS
=$ac_check_lib_save_LIBS
8877 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
8878 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
8879 if test $ac_cv_lib_m_erff = yes; then
8881 cat >>confdefs.h
<<\_ACEOF
8887 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
8888 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
8889 if test "${ac_cv_lib_m_j0+set}" = set; then
8890 echo $ECHO_N "(cached) $ECHO_C" >&6
8892 ac_check_lib_save_LIBS
=$LIBS
8894 cat >conftest.
$ac_ext <<_ACEOF
8897 cat confdefs.h
>>conftest.
$ac_ext
8898 cat >>conftest.
$ac_ext <<_ACEOF
8899 /* end confdefs.h. */
8901 /* Override any gcc2 internal prototype to avoid an error. */
8905 /* We use char because int might match the return type of a gcc2
8906 builtin and then its argument prototype would still apply. */
8916 rm -f conftest.
$ac_objext conftest
$ac_exeext
8917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8918 (eval $ac_link) 2>conftest.er1
8920 grep -v '^ *+' conftest.er1
>conftest.err
8922 cat conftest.err
>&5
8923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8924 (exit $ac_status); } &&
8925 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930 (exit $ac_status); }; } &&
8931 { ac_try
='test -s conftest$ac_exeext'
8932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8936 (exit $ac_status); }; }; then
8939 echo "$as_me: failed program was:" >&5
8940 sed 's/^/| /' conftest.
$ac_ext >&5
8944 rm -f conftest.err conftest.
$ac_objext \
8945 conftest
$ac_exeext conftest.
$ac_ext
8946 LIBS
=$ac_check_lib_save_LIBS
8948 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
8949 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
8950 if test $ac_cv_lib_m_j0 = yes; then
8952 cat >>confdefs.h
<<\_ACEOF
8958 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
8959 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
8960 if test "${ac_cv_lib_m_j0f+set}" = set; then
8961 echo $ECHO_N "(cached) $ECHO_C" >&6
8963 ac_check_lib_save_LIBS
=$LIBS
8965 cat >conftest.
$ac_ext <<_ACEOF
8968 cat confdefs.h
>>conftest.
$ac_ext
8969 cat >>conftest.
$ac_ext <<_ACEOF
8970 /* end confdefs.h. */
8972 /* Override any gcc2 internal prototype to avoid an error. */
8976 /* We use char because int might match the return type of a gcc2
8977 builtin and then its argument prototype would still apply. */
8987 rm -f conftest.
$ac_objext conftest
$ac_exeext
8988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8989 (eval $ac_link) 2>conftest.er1
8991 grep -v '^ *+' conftest.er1
>conftest.err
8993 cat conftest.err
>&5
8994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8995 (exit $ac_status); } &&
8996 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9001 (exit $ac_status); }; } &&
9002 { ac_try
='test -s conftest$ac_exeext'
9003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9007 (exit $ac_status); }; }; then
9010 echo "$as_me: failed program was:" >&5
9011 sed 's/^/| /' conftest.
$ac_ext >&5
9015 rm -f conftest.err conftest.
$ac_objext \
9016 conftest
$ac_exeext conftest.
$ac_ext
9017 LIBS
=$ac_check_lib_save_LIBS
9019 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
9020 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
9021 if test $ac_cv_lib_m_j0f = yes; then
9023 cat >>confdefs.h
<<\_ACEOF
9029 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
9030 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
9031 if test "${ac_cv_lib_m_j1+set}" = set; then
9032 echo $ECHO_N "(cached) $ECHO_C" >&6
9034 ac_check_lib_save_LIBS
=$LIBS
9036 cat >conftest.
$ac_ext <<_ACEOF
9039 cat confdefs.h
>>conftest.
$ac_ext
9040 cat >>conftest.
$ac_ext <<_ACEOF
9041 /* end confdefs.h. */
9043 /* Override any gcc2 internal prototype to avoid an error. */
9047 /* We use char because int might match the return type of a gcc2
9048 builtin and then its argument prototype would still apply. */
9058 rm -f conftest.
$ac_objext conftest
$ac_exeext
9059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9060 (eval $ac_link) 2>conftest.er1
9062 grep -v '^ *+' conftest.er1
>conftest.err
9064 cat conftest.err
>&5
9065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9066 (exit $ac_status); } &&
9067 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9072 (exit $ac_status); }; } &&
9073 { ac_try
='test -s conftest$ac_exeext'
9074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9078 (exit $ac_status); }; }; then
9081 echo "$as_me: failed program was:" >&5
9082 sed 's/^/| /' conftest.
$ac_ext >&5
9086 rm -f conftest.err conftest.
$ac_objext \
9087 conftest
$ac_exeext conftest.
$ac_ext
9088 LIBS
=$ac_check_lib_save_LIBS
9090 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
9091 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
9092 if test $ac_cv_lib_m_j1 = yes; then
9094 cat >>confdefs.h
<<\_ACEOF
9100 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
9101 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
9102 if test "${ac_cv_lib_m_j1f+set}" = set; then
9103 echo $ECHO_N "(cached) $ECHO_C" >&6
9105 ac_check_lib_save_LIBS
=$LIBS
9107 cat >conftest.
$ac_ext <<_ACEOF
9110 cat confdefs.h
>>conftest.
$ac_ext
9111 cat >>conftest.
$ac_ext <<_ACEOF
9112 /* end confdefs.h. */
9114 /* Override any gcc2 internal prototype to avoid an error. */
9118 /* We use char because int might match the return type of a gcc2
9119 builtin and then its argument prototype would still apply. */
9129 rm -f conftest.
$ac_objext conftest
$ac_exeext
9130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9131 (eval $ac_link) 2>conftest.er1
9133 grep -v '^ *+' conftest.er1
>conftest.err
9135 cat conftest.err
>&5
9136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9137 (exit $ac_status); } &&
9138 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9143 (exit $ac_status); }; } &&
9144 { ac_try
='test -s conftest$ac_exeext'
9145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9149 (exit $ac_status); }; }; then
9152 echo "$as_me: failed program was:" >&5
9153 sed 's/^/| /' conftest.
$ac_ext >&5
9157 rm -f conftest.err conftest.
$ac_objext \
9158 conftest
$ac_exeext conftest.
$ac_ext
9159 LIBS
=$ac_check_lib_save_LIBS
9161 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
9162 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
9163 if test $ac_cv_lib_m_j1f = yes; then
9165 cat >>confdefs.h
<<\_ACEOF
9171 echo "$as_me:$LINENO: checking for jn in -lm" >&5
9172 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
9173 if test "${ac_cv_lib_m_jn+set}" = set; then
9174 echo $ECHO_N "(cached) $ECHO_C" >&6
9176 ac_check_lib_save_LIBS
=$LIBS
9178 cat >conftest.
$ac_ext <<_ACEOF
9181 cat confdefs.h
>>conftest.
$ac_ext
9182 cat >>conftest.
$ac_ext <<_ACEOF
9183 /* end confdefs.h. */
9185 /* Override any gcc2 internal prototype to avoid an error. */
9189 /* We use char because int might match the return type of a gcc2
9190 builtin and then its argument prototype would still apply. */
9200 rm -f conftest.
$ac_objext conftest
$ac_exeext
9201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9202 (eval $ac_link) 2>conftest.er1
9204 grep -v '^ *+' conftest.er1
>conftest.err
9206 cat conftest.err
>&5
9207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9208 (exit $ac_status); } &&
9209 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9214 (exit $ac_status); }; } &&
9215 { ac_try
='test -s conftest$ac_exeext'
9216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9220 (exit $ac_status); }; }; then
9223 echo "$as_me: failed program was:" >&5
9224 sed 's/^/| /' conftest.
$ac_ext >&5
9228 rm -f conftest.err conftest.
$ac_objext \
9229 conftest
$ac_exeext conftest.
$ac_ext
9230 LIBS
=$ac_check_lib_save_LIBS
9232 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
9233 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
9234 if test $ac_cv_lib_m_jn = yes; then
9236 cat >>confdefs.h
<<\_ACEOF
9242 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
9243 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
9244 if test "${ac_cv_lib_m_jnf+set}" = set; then
9245 echo $ECHO_N "(cached) $ECHO_C" >&6
9247 ac_check_lib_save_LIBS
=$LIBS
9249 cat >conftest.
$ac_ext <<_ACEOF
9252 cat confdefs.h
>>conftest.
$ac_ext
9253 cat >>conftest.
$ac_ext <<_ACEOF
9254 /* end confdefs.h. */
9256 /* Override any gcc2 internal prototype to avoid an error. */
9260 /* We use char because int might match the return type of a gcc2
9261 builtin and then its argument prototype would still apply. */
9271 rm -f conftest.
$ac_objext conftest
$ac_exeext
9272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9273 (eval $ac_link) 2>conftest.er1
9275 grep -v '^ *+' conftest.er1
>conftest.err
9277 cat conftest.err
>&5
9278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9279 (exit $ac_status); } &&
9280 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9285 (exit $ac_status); }; } &&
9286 { ac_try
='test -s conftest$ac_exeext'
9287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9291 (exit $ac_status); }; }; then
9294 echo "$as_me: failed program was:" >&5
9295 sed 's/^/| /' conftest.
$ac_ext >&5
9299 rm -f conftest.err conftest.
$ac_objext \
9300 conftest
$ac_exeext conftest.
$ac_ext
9301 LIBS
=$ac_check_lib_save_LIBS
9303 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
9304 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
9305 if test $ac_cv_lib_m_jnf = yes; then
9307 cat >>confdefs.h
<<\_ACEOF
9313 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
9314 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
9315 if test "${ac_cv_lib_m_y0+set}" = set; then
9316 echo $ECHO_N "(cached) $ECHO_C" >&6
9318 ac_check_lib_save_LIBS
=$LIBS
9320 cat >conftest.
$ac_ext <<_ACEOF
9323 cat confdefs.h
>>conftest.
$ac_ext
9324 cat >>conftest.
$ac_ext <<_ACEOF
9325 /* end confdefs.h. */
9327 /* Override any gcc2 internal prototype to avoid an error. */
9331 /* We use char because int might match the return type of a gcc2
9332 builtin and then its argument prototype would still apply. */
9342 rm -f conftest.
$ac_objext conftest
$ac_exeext
9343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9344 (eval $ac_link) 2>conftest.er1
9346 grep -v '^ *+' conftest.er1
>conftest.err
9348 cat conftest.err
>&5
9349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9350 (exit $ac_status); } &&
9351 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9356 (exit $ac_status); }; } &&
9357 { ac_try
='test -s conftest$ac_exeext'
9358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9362 (exit $ac_status); }; }; then
9365 echo "$as_me: failed program was:" >&5
9366 sed 's/^/| /' conftest.
$ac_ext >&5
9370 rm -f conftest.err conftest.
$ac_objext \
9371 conftest
$ac_exeext conftest.
$ac_ext
9372 LIBS
=$ac_check_lib_save_LIBS
9374 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
9375 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
9376 if test $ac_cv_lib_m_y0 = yes; then
9378 cat >>confdefs.h
<<\_ACEOF
9384 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
9385 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
9386 if test "${ac_cv_lib_m_y0f+set}" = set; then
9387 echo $ECHO_N "(cached) $ECHO_C" >&6
9389 ac_check_lib_save_LIBS
=$LIBS
9391 cat >conftest.
$ac_ext <<_ACEOF
9394 cat confdefs.h
>>conftest.
$ac_ext
9395 cat >>conftest.
$ac_ext <<_ACEOF
9396 /* end confdefs.h. */
9398 /* Override any gcc2 internal prototype to avoid an error. */
9402 /* We use char because int might match the return type of a gcc2
9403 builtin and then its argument prototype would still apply. */
9413 rm -f conftest.
$ac_objext conftest
$ac_exeext
9414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9415 (eval $ac_link) 2>conftest.er1
9417 grep -v '^ *+' conftest.er1
>conftest.err
9419 cat conftest.err
>&5
9420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9421 (exit $ac_status); } &&
9422 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9427 (exit $ac_status); }; } &&
9428 { ac_try
='test -s conftest$ac_exeext'
9429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9433 (exit $ac_status); }; }; then
9436 echo "$as_me: failed program was:" >&5
9437 sed 's/^/| /' conftest.
$ac_ext >&5
9441 rm -f conftest.err conftest.
$ac_objext \
9442 conftest
$ac_exeext conftest.
$ac_ext
9443 LIBS
=$ac_check_lib_save_LIBS
9445 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
9446 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
9447 if test $ac_cv_lib_m_y0f = yes; then
9449 cat >>confdefs.h
<<\_ACEOF
9455 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
9456 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
9457 if test "${ac_cv_lib_m_y1+set}" = set; then
9458 echo $ECHO_N "(cached) $ECHO_C" >&6
9460 ac_check_lib_save_LIBS
=$LIBS
9462 cat >conftest.
$ac_ext <<_ACEOF
9465 cat confdefs.h
>>conftest.
$ac_ext
9466 cat >>conftest.
$ac_ext <<_ACEOF
9467 /* end confdefs.h. */
9469 /* Override any gcc2 internal prototype to avoid an error. */
9473 /* We use char because int might match the return type of a gcc2
9474 builtin and then its argument prototype would still apply. */
9484 rm -f conftest.
$ac_objext conftest
$ac_exeext
9485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9486 (eval $ac_link) 2>conftest.er1
9488 grep -v '^ *+' conftest.er1
>conftest.err
9490 cat conftest.err
>&5
9491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9492 (exit $ac_status); } &&
9493 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9498 (exit $ac_status); }; } &&
9499 { ac_try
='test -s conftest$ac_exeext'
9500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9504 (exit $ac_status); }; }; then
9507 echo "$as_me: failed program was:" >&5
9508 sed 's/^/| /' conftest.
$ac_ext >&5
9512 rm -f conftest.err conftest.
$ac_objext \
9513 conftest
$ac_exeext conftest.
$ac_ext
9514 LIBS
=$ac_check_lib_save_LIBS
9516 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
9517 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
9518 if test $ac_cv_lib_m_y1 = yes; then
9520 cat >>confdefs.h
<<\_ACEOF
9526 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
9527 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
9528 if test "${ac_cv_lib_m_y1f+set}" = set; then
9529 echo $ECHO_N "(cached) $ECHO_C" >&6
9531 ac_check_lib_save_LIBS
=$LIBS
9533 cat >conftest.
$ac_ext <<_ACEOF
9536 cat confdefs.h
>>conftest.
$ac_ext
9537 cat >>conftest.
$ac_ext <<_ACEOF
9538 /* end confdefs.h. */
9540 /* Override any gcc2 internal prototype to avoid an error. */
9544 /* We use char because int might match the return type of a gcc2
9545 builtin and then its argument prototype would still apply. */
9555 rm -f conftest.
$ac_objext conftest
$ac_exeext
9556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9557 (eval $ac_link) 2>conftest.er1
9559 grep -v '^ *+' conftest.er1
>conftest.err
9561 cat conftest.err
>&5
9562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9563 (exit $ac_status); } &&
9564 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9569 (exit $ac_status); }; } &&
9570 { ac_try
='test -s conftest$ac_exeext'
9571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9575 (exit $ac_status); }; }; then
9578 echo "$as_me: failed program was:" >&5
9579 sed 's/^/| /' conftest.
$ac_ext >&5
9583 rm -f conftest.err conftest.
$ac_objext \
9584 conftest
$ac_exeext conftest.
$ac_ext
9585 LIBS
=$ac_check_lib_save_LIBS
9587 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
9588 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
9589 if test $ac_cv_lib_m_y1f = yes; then
9591 cat >>confdefs.h
<<\_ACEOF
9597 echo "$as_me:$LINENO: checking for yn in -lm" >&5
9598 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
9599 if test "${ac_cv_lib_m_yn+set}" = set; then
9600 echo $ECHO_N "(cached) $ECHO_C" >&6
9602 ac_check_lib_save_LIBS
=$LIBS
9604 cat >conftest.
$ac_ext <<_ACEOF
9607 cat confdefs.h
>>conftest.
$ac_ext
9608 cat >>conftest.
$ac_ext <<_ACEOF
9609 /* end confdefs.h. */
9611 /* Override any gcc2 internal prototype to avoid an error. */
9615 /* We use char because int might match the return type of a gcc2
9616 builtin and then its argument prototype would still apply. */
9626 rm -f conftest.
$ac_objext conftest
$ac_exeext
9627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9628 (eval $ac_link) 2>conftest.er1
9630 grep -v '^ *+' conftest.er1
>conftest.err
9632 cat conftest.err
>&5
9633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9634 (exit $ac_status); } &&
9635 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9640 (exit $ac_status); }; } &&
9641 { ac_try
='test -s conftest$ac_exeext'
9642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9646 (exit $ac_status); }; }; then
9649 echo "$as_me: failed program was:" >&5
9650 sed 's/^/| /' conftest.
$ac_ext >&5
9654 rm -f conftest.err conftest.
$ac_objext \
9655 conftest
$ac_exeext conftest.
$ac_ext
9656 LIBS
=$ac_check_lib_save_LIBS
9658 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
9659 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
9660 if test $ac_cv_lib_m_yn = yes; then
9662 cat >>confdefs.h
<<\_ACEOF
9668 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
9669 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
9670 if test "${ac_cv_lib_m_ynf+set}" = set; then
9671 echo $ECHO_N "(cached) $ECHO_C" >&6
9673 ac_check_lib_save_LIBS
=$LIBS
9675 cat >conftest.
$ac_ext <<_ACEOF
9678 cat confdefs.h
>>conftest.
$ac_ext
9679 cat >>conftest.
$ac_ext <<_ACEOF
9680 /* end confdefs.h. */
9682 /* Override any gcc2 internal prototype to avoid an error. */
9686 /* We use char because int might match the return type of a gcc2
9687 builtin and then its argument prototype would still apply. */
9697 rm -f conftest.
$ac_objext conftest
$ac_exeext
9698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9699 (eval $ac_link) 2>conftest.er1
9701 grep -v '^ *+' conftest.er1
>conftest.err
9703 cat conftest.err
>&5
9704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9705 (exit $ac_status); } &&
9706 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9711 (exit $ac_status); }; } &&
9712 { ac_try
='test -s conftest$ac_exeext'
9713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9717 (exit $ac_status); }; }; then
9720 echo "$as_me: failed program was:" >&5
9721 sed 's/^/| /' conftest.
$ac_ext >&5
9725 rm -f conftest.err conftest.
$ac_objext \
9726 conftest
$ac_exeext conftest.
$ac_ext
9727 LIBS
=$ac_check_lib_save_LIBS
9729 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
9730 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
9731 if test $ac_cv_lib_m_ynf = yes; then
9733 cat >>confdefs.h
<<\_ACEOF
9740 # Let the user override this
9741 # Check whether --enable-cmath or --disable-cmath was given.
9742 if test "${enable_cmath+set}" = set; then
9743 enableval
="$enable_cmath"
9744 need_math
=$enableval
9746 if test "$need_math" = "yes"; then
9747 { echo "$as_me:$LINENO: Including complex math functions in libgfor" >&5
9748 echo "$as_me: Including complex math functions in libgfor" >&6;};
9749 extra_math_obj
='$(gfor_cmath_obj)'
9752 MATH_OBJ
="$extra_math_obj"
9755 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
9756 # for struct timezone, as you might think. We also need to check how
9757 # to call gettimeofday if we have it.
9758 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
9759 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
9760 if test "${ac_cv_header_time+set}" = set; then
9761 echo $ECHO_N "(cached) $ECHO_C" >&6
9763 cat >conftest.
$ac_ext <<_ACEOF
9766 cat confdefs.h
>>conftest.
$ac_ext
9767 cat >>conftest.
$ac_ext <<_ACEOF
9768 /* end confdefs.h. */
9769 #include <sys/types.h>
9770 #include <sys/time.h>
9776 if ((struct tm *) 0)
9782 rm -f conftest.
$ac_objext
9783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9784 (eval $ac_compile) 2>conftest.er1
9786 grep -v '^ *+' conftest.er1
>conftest.err
9788 cat conftest.err
>&5
9789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9790 (exit $ac_status); } &&
9791 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9796 (exit $ac_status); }; } &&
9797 { ac_try
='test -s conftest.$ac_objext'
9798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9802 (exit $ac_status); }; }; then
9803 ac_cv_header_time
=yes
9805 echo "$as_me: failed program was:" >&5
9806 sed 's/^/| /' conftest.
$ac_ext >&5
9808 ac_cv_header_time
=no
9810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9812 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
9813 echo "${ECHO_T}$ac_cv_header_time" >&6
9814 if test $ac_cv_header_time = yes; then
9816 cat >>confdefs.h
<<\_ACEOF
9817 #define TIME_WITH_SYS_TIME 1
9824 for ac_func
in gettimeofday
9826 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9827 echo "$as_me:$LINENO: checking for $ac_func" >&5
9828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9829 if eval "test \"\${$as_ac_var+set}\" = set"; then
9830 echo $ECHO_N "(cached) $ECHO_C" >&6
9832 cat >conftest.
$ac_ext <<_ACEOF
9835 cat confdefs.h
>>conftest.
$ac_ext
9836 cat >>conftest.
$ac_ext <<_ACEOF
9837 /* end confdefs.h. */
9838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9840 #define $ac_func innocuous_$ac_func
9842 /* System header to define __stub macros and hopefully few prototypes,
9843 which can conflict with char $ac_func (); below.
9844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9845 <limits.h> exists even on freestanding compilers. */
9848 # include <limits.h>
9850 # include <assert.h>
9855 /* Override any gcc2 internal prototype to avoid an error. */
9860 /* We use char because int might match the return type of a gcc2
9861 builtin and then its argument prototype would still apply. */
9863 /* The GNU C library defines this for functions which it implements
9864 to always fail with ENOSYS. Some functions are actually named
9865 something starting with __ and the normal name is an alias. */
9866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9869 char (*f) () = $ac_func;
9878 return f != $ac_func;
9883 rm -f conftest.
$ac_objext conftest
$ac_exeext
9884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9885 (eval $ac_link) 2>conftest.er1
9887 grep -v '^ *+' conftest.er1
>conftest.err
9889 cat conftest.err
>&5
9890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9891 (exit $ac_status); } &&
9892 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9897 (exit $ac_status); }; } &&
9898 { ac_try
='test -s conftest$ac_exeext'
9899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9903 (exit $ac_status); }; }; then
9904 eval "$as_ac_var=yes"
9906 echo "$as_me: failed program was:" >&5
9907 sed 's/^/| /' conftest.
$ac_ext >&5
9909 eval "$as_ac_var=no"
9911 rm -f conftest.err conftest.
$ac_objext \
9912 conftest
$ac_exeext conftest.
$ac_ext
9914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9916 if test `eval echo '${'$as_ac_var'}'` = yes; then
9917 cat >>confdefs.h
<<_ACEOF
9918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9924 if test "$ac_cv_func_gettimeofday" = yes; then
9925 echo "$as_me:$LINENO: checking for struct timezone" >&5
9926 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
9927 if test "${gfor_cv_struct_timezone+set}" = set; then
9928 echo $ECHO_N "(cached) $ECHO_C" >&6
9930 cat >conftest.
$ac_ext <<_ACEOF
9933 cat confdefs.h
>>conftest.
$ac_ext
9934 cat >>conftest.
$ac_ext <<_ACEOF
9935 /* end confdefs.h. */
9936 #include <sys/time.h>
9945 rm -f conftest.
$ac_objext
9946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9947 (eval $ac_compile) 2>conftest.er1
9949 grep -v '^ *+' conftest.er1
>conftest.err
9951 cat conftest.err
>&5
9952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9953 (exit $ac_status); } &&
9954 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9959 (exit $ac_status); }; } &&
9960 { ac_try
='test -s conftest.$ac_objext'
9961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9965 (exit $ac_status); }; }; then
9966 gfor_cv_struct_timezone
=yes
9968 echo "$as_me: failed program was:" >&5
9969 sed 's/^/| /' conftest.
$ac_ext >&5
9971 gfor_cv_struct_timezone
=no
9973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9975 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
9976 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
9977 if test $gfor_cv_struct_timezone = yes; then
9978 if test "$cross_compiling" = yes; then
9979 gfor_have_struct_timezone
=yes
9981 cat >conftest.
$ac_ext <<_ACEOF
9984 cat confdefs.h
>>conftest.
$ac_ext
9985 cat >>conftest.
$ac_ext <<_ACEOF
9986 /* end confdefs.h. */
9988 #ifdef TIME_WITH_SYS_TIME
9989 #include <sys/time.h>
9992 #ifdef HAVE_SYS_TIME_H
9993 #include <sys/time.h>
10000 struct timeval time;
10001 struct timezone dummy;
10002 if (gettimeofday (&time, &dummy))
10008 rm -f conftest
$ac_exeext
10009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10010 (eval $ac_link) 2>&5
10012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10013 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10015 (eval $ac_try) 2>&5
10017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10018 (exit $ac_status); }; }; then
10019 gfor_have_struct_timezone
=yes
10021 echo "$as_me: program exited with status $ac_status" >&5
10022 echo "$as_me: failed program was:" >&5
10023 sed 's/^/| /' conftest.
$ac_ext >&5
10025 ( exit $ac_status )
10026 gfor_have_struct_timezone
=no
10028 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10030 if test $gfor_have_struct_timezone = yes; then
10032 cat >>confdefs.h
<<\_ACEOF
10033 #define HAVE_TIMEZONE 1
10039 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
10040 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
10041 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
10042 echo $ECHO_N "(cached) $ECHO_C" >&6
10044 cat >conftest.
$ac_ext <<_ACEOF
10047 cat confdefs.h
>>conftest.
$ac_ext
10048 cat >>conftest.
$ac_ext <<_ACEOF
10049 /* end confdefs.h. */
10051 #ifdef TIME_WITH_SYS_TIME
10052 #include <sys/time.h>
10055 #ifdef HAVE_SYS_TIME_H
10056 #include <sys/time.h>
10066 struct timeval time;
10067 #ifdef HAVE_TIMEZONE
10068 struct timezone dummy;
10069 #define DUMMY &dummy
10073 gettimeofday (&time, DUMMY);
10078 rm -f conftest.
$ac_objext conftest
$ac_exeext
10079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10080 (eval $ac_link) 2>conftest.er1
10082 grep -v '^ *+' conftest.er1
>conftest.err
10084 cat conftest.err
>&5
10085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10086 (exit $ac_status); } &&
10087 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10089 (eval $ac_try) 2>&5
10091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10092 (exit $ac_status); }; } &&
10093 { ac_try
='test -s conftest$ac_exeext'
10094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10095 (eval $ac_try) 2>&5
10097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10098 (exit $ac_status); }; }; then
10099 emacs_cv_gettimeofday_two_arguments
=yes
10101 echo "$as_me: failed program was:" >&5
10102 sed 's/^/| /' conftest.
$ac_ext >&5
10104 emacs_cv_gettimeofday_two_arguments
=no
10106 rm -f conftest.err conftest.
$ac_objext \
10107 conftest
$ac_exeext conftest.
$ac_ext
10109 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
10110 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
10111 if test $emacs_cv_gettimeofday_two_arguments = no
; then
10113 cat >>confdefs.h
<<\_ACEOF
10114 #define GETTIMEOFDAY_ONE_ARGUMENT 1
10120 cat >confcache
<<\_ACEOF
10121 # This file is a shell script that caches the results of configure
10122 # tests run on this system so they can be shared between configure
10123 # scripts and configure runs, see configure's option --config-cache.
10124 # It is not useful on other systems. If it contains results you don't
10125 # want to keep, you may remove or edit it.
10127 # config.status only pays attention to the cache file if you give it
10128 # the --recheck option to rerun configure.
10130 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10131 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10132 # following values.
10136 # The following way of writing the cache mishandles newlines in values,
10137 # but we know of no workaround that is simple, portable, and efficient.
10138 # So, don't put newlines in cache variables' values.
10139 # Ultrix sh set writes to stderr and can't be redirected directly,
10140 # and sets the high bit in the cache file unless we assign to the vars.
10143 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10145 # `set' does not quote correctly, so add quotes (double-quote
10146 # substitution turns \\\\ into \\, and sed turns \\ into \).
10149 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10152 # `set' quotes correctly as required by POSIX, so do not add quotes.
10154 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10161 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10163 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10165 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10166 if test -w $cache_file; then
10167 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10168 cat confcache
>$cache_file
10170 echo "not updating unwritable cache $cache_file"
10175 if test ${multilib} = yes; then
10176 multilib_arg
="--enable-multilib"
10181 # Write our Makefile.
10182 ac_config_files
="$ac_config_files Makefile"
10184 cat >confcache
<<\_ACEOF
10185 # This file is a shell script that caches the results of configure
10186 # tests run on this system so they can be shared between configure
10187 # scripts and configure runs, see configure's option --config-cache.
10188 # It is not useful on other systems. If it contains results you don't
10189 # want to keep, you may remove or edit it.
10191 # config.status only pays attention to the cache file if you give it
10192 # the --recheck option to rerun configure.
10194 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10195 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10196 # following values.
10200 # The following way of writing the cache mishandles newlines in values,
10201 # but we know of no workaround that is simple, portable, and efficient.
10202 # So, don't put newlines in cache variables' values.
10203 # Ultrix sh set writes to stderr and can't be redirected directly,
10204 # and sets the high bit in the cache file unless we assign to the vars.
10207 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10209 # `set' does not quote correctly, so add quotes (double-quote
10210 # substitution turns \\\\ into \\, and sed turns \\ into \).
10213 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10216 # `set' quotes correctly as required by POSIX, so do not add quotes.
10218 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10225 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10227 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10229 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10230 if test -w $cache_file; then
10231 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10232 cat confcache
>$cache_file
10234 echo "not updating unwritable cache $cache_file"
10239 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10240 # Let make expand exec_prefix.
10241 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10243 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10244 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10245 # trailing colons and then remove the whole line if VPATH becomes empty
10246 # (actually we leave an empty line to preserve line numbers).
10247 if test "x$srcdir" = x.
; then
10248 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
10249 s/:*\$(srcdir):*/:/;
10250 s/:*\${srcdir}:*/:/;
10252 s/^\([^=]*=[ ]*\):*/\1/;
10258 DEFS
=-DHAVE_CONFIG_H
10262 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10263 # 1. Remove the extension, and $U if already installed.
10264 ac_i
=`echo "$ac_i" |
10265 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
10267 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
10268 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
10270 LIBOBJS
=$ac_libobjs
10272 LTLIBOBJS
=$ac_ltlibobjs
10275 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
10276 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
10277 Usually this means the macro was only invoked conditionally." >&5
10278 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
10279 Usually this means the macro was only invoked conditionally." >&2;}
10280 { (exit 1); exit 1; }; }
10283 : ${CONFIG_STATUS=./config.status}
10284 ac_clean_files_save
=$ac_clean_files
10285 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10286 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10287 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10288 cat >$CONFIG_STATUS <<_ACEOF
10290 # Generated by $as_me.
10291 # Run this file to recreate the current configuration.
10292 # Compiler output produced by configure, useful for debugging
10293 # configure, is in config.log if it exists.
10296 ac_cs_recheck=false
10298 SHELL=\${CONFIG_SHELL-$SHELL}
10301 cat >>$CONFIG_STATUS <<\_ACEOF
10302 ## --------------------- ##
10303 ## M4sh Initialization. ##
10304 ## --------------------- ##
10306 # Be Bourne compatible
10307 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
10310 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10311 # is contrary to our usage. Disable this feature.
10312 alias -g '${1+"$@"}'='"$@"'
10313 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
10316 DUALCASE
=1; export DUALCASE
# for MKS sh
10318 # Support unset when possible.
10319 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
10326 # Work around bugs in pre-3.0 UWIN ksh.
10327 $as_unset ENV MAIL MAILPATH
10334 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10335 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10336 LC_TELEPHONE LC_TIME
10338 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10339 eval $as_var=C
; export $as_var
10345 # Required to use basename.
10346 if expr a
: '\(a\)' >/dev
/null
2>&1; then
10352 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
10353 as_basename
=basename
10359 # Name of the executable.
10360 as_me
=`$as_basename "$0" ||
10361 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10362 X"$0" : 'X\(//\)$' \| \
10363 X"$0" : 'X\(/\)$' \| \
10364 . : '\(.\)' 2>/dev/null ||
10366 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
10367 /^X\/\(\/\/\)$/{ s//\1/; q; }
10368 /^X\/\(\/\).*/{ s//\1/; q; }
10372 # PATH needs CR, and LINENO needs CR and PATH.
10373 # Avoid depending upon Character Ranges.
10374 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
10375 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10376 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
10377 as_cr_digits
='0123456789'
10378 as_cr_alnum
=$as_cr_Letters$as_cr_digits
10380 # The user is always right.
10381 if test "${PATH_SEPARATOR+set}" != set; then
10382 echo "#! /bin/sh" >conf$$.sh
10383 echo "exit 0" >>conf$$.sh
10385 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10394 as_lineno_1
=$LINENO
10395 as_lineno_2
=$LINENO
10396 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
10397 test "x$as_lineno_1" != "x$as_lineno_2" &&
10398 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
10399 # Find who we are. Look in the path if we contain no path at all
10402 *[\\/]* ) as_myself
=$0 ;;
10403 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10404 for as_dir
in $PATH
10407 test -z "$as_dir" && as_dir
=.
10408 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
10413 # We did not find ourselves, most probably we were run as `sh COMMAND'
10414 # in which case we are not to be found in the path.
10415 if test "x$as_myself" = x
; then
10418 if test ! -f "$as_myself"; then
10419 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
10420 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
10421 { (exit 1); exit 1; }; }
10423 case $CONFIG_SHELL in
10425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10426 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
10429 test -z "$as_dir" && as_dir
=.
10430 for as_base
in sh bash ksh sh5
; do
10433 if ("$as_dir/$as_base" -c '
10434 as_lineno_1=$LINENO
10435 as_lineno_2=$LINENO
10436 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10437 test "x$as_lineno_1" != "x$as_lineno_2" &&
10438 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
10439 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
10440 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
10441 CONFIG_SHELL
=$as_dir/$as_base
10442 export CONFIG_SHELL
10443 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
10451 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10452 # uniformly replaced by the line number. The first 'sed' inserts a
10453 # line-number line before each line; the second 'sed' does the real
10454 # work. The second script uses 'N' to pair each line-number line
10455 # with the numbered line, and appends trailing '-' during
10456 # substitution so that $LINENO is not a special case at line end.
10457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10458 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
10459 sed '=' <$as_myself |
10464 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
10467 s,^['$as_cr_digits']*\n,,
10468 ' >$as_me.lineno
&&
10469 chmod +x
$as_me.lineno ||
10470 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
10471 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
10472 { (exit 1); exit 1; }; }
10474 # Don't try to exec as it changes $[0], causing all sort of problems
10475 # (the dirname of $[0] is not the place where we might find the
10476 # original and so on. Autoconf is especially sensible to this).
10478 # Exit status is that of the last command.
10483 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
10484 *c
*,-n*) ECHO_N
= ECHO_C
='
10486 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
10487 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
10490 if expr a
: '\(a\)' >/dev
/null
2>&1; then
10496 rm -f conf$$ conf$$.exe conf$$.
file
10498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10499 # We could just check for DJGPP; but this test a) works b) is more generic
10500 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
10501 if test -f conf$$.exe
; then
10502 # Don't use ln at all; we don't have any links
10507 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10512 rm -f conf$$ conf$$.exe conf$$.
file
10514 if mkdir
-p .
2>/dev
/null
; then
10517 test -d .
/-p && rmdir .
/-p
10521 as_executable_p
="test -f"
10523 # Sed expression to map a string onto a valid CPP name.
10524 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10526 # Sed expression to map a string onto a valid variable name.
10527 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10531 # We need space, tab and new line, in precisely that order.
10541 # Open the log real soon, to keep \$[0] and so on meaningful, and to
10542 # report actual input values of CONFIG_FILES etc. instead of their
10543 # values after options handling. Logging --version etc. is OK.
10547 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10548 ## Running $as_me. ##
10553 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
10554 generated by GNU Autoconf 2.59. Invocation command line was
10556 CONFIG_FILES = $CONFIG_FILES
10557 CONFIG_HEADERS = $CONFIG_HEADERS
10558 CONFIG_LINKS = $CONFIG_LINKS
10559 CONFIG_COMMANDS = $CONFIG_COMMANDS
10563 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
10567 # Files that config.status was made for.
10568 if test -n "$ac_config_files"; then
10569 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
10572 if test -n "$ac_config_headers"; then
10573 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
10576 if test -n "$ac_config_links"; then
10577 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
10580 if test -n "$ac_config_commands"; then
10581 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
10584 cat >>$CONFIG_STATUS <<\_ACEOF
10587 \`$as_me' instantiates files from templates according to the
10588 current configuration.
10590 Usage: $0 [OPTIONS] [FILE]...
10592 -h, --help print this help, then exit
10593 -V, --version print version number, then exit
10594 -q, --quiet do not print progress messages
10595 -d, --debug don't remove temporary files
10596 --recheck update $as_me by reconfiguring in the same conditions
10597 --file=FILE[:TEMPLATE]
10598 instantiate the configuration file FILE
10599 --header=FILE[:TEMPLATE]
10600 instantiate the configuration header FILE
10602 Configuration files:
10605 Configuration headers:
10608 Configuration commands:
10611 Report bugs to <bug-autoconf@gnu.org>."
10614 cat >>$CONFIG_STATUS <<_ACEOF
10616 GNU Fortran Runtime Library config.status 0.2
10617 configured by $0, generated by GNU Autoconf 2.59,
10618 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
10620 Copyright (C) 2003 Free Software Foundation, Inc.
10621 This config.status script is free software; the Free Software Foundation
10622 gives unlimited permission to copy, distribute and modify it."
10627 cat >>$CONFIG_STATUS <<\_ACEOF
10628 # If no file are specified by the user, then we need to provide default
10629 # value. By we need to know if files were specified by the user.
10635 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
10636 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
10644 *) # This is not an option, so the user has probably given explicit
10647 ac_need_defaults
=false
;;
10651 # Handling of the options.
10653 cat >>$CONFIG_STATUS <<\_ACEOF
10654 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
10656 --version |
--vers* |
-V )
10657 echo "$ac_cs_version"; exit 0 ;;
10659 # Conflict between --help and --header
10660 { { echo "$as_me:$LINENO: error: ambiguous option: $1
10661 Try \`$0 --help' for more information." >&5
10662 echo "$as_me: error: ambiguous option: $1
10663 Try \`$0 --help' for more information." >&2;}
10664 { (exit 1); exit 1; }; };;
10665 --help |
--hel |
-h )
10666 echo "$ac_cs_usage"; exit 0 ;;
10667 --debug |
--d* |
-d )
10669 --file |
--fil |
--fi |
--f )
10671 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
10672 ac_need_defaults
=false
;;
10673 --header |
--heade |
--head |
--hea )
10675 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
10676 ac_need_defaults
=false
;;
10677 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
10678 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
10681 # This is an error.
10682 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
10683 Try \`$0 --help' for more information." >&5
10684 echo "$as_me: error: unrecognized option: $1
10685 Try \`$0 --help' for more information." >&2;}
10686 { (exit 1); exit 1; }; } ;;
10688 *) ac_config_targets
="$ac_config_targets $1" ;;
10694 ac_configure_extra_args
=
10696 if $ac_cs_silent; then
10698 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10702 cat >>$CONFIG_STATUS <<_ACEOF
10703 if \$ac_cs_recheck; then
10704 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10705 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10710 cat >>$CONFIG_STATUS <<_ACEOF
10712 # INIT-COMMANDS section.
10719 with_multisubdir="$with_multisubdir"
10720 with_multisrctop="$with_multisrctop"
10721 with_target_subdir="$with_target_subdir"
10722 ac_configure_args="${multilib_arg} ${ac_configure_args}"
10723 multi_basedir="$multi_basedir"
10724 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
10731 cat >>$CONFIG_STATUS <<\_ACEOF
10732 for ac_config_target
in $ac_config_targets
10734 case "$ac_config_target" in
10735 # Handling of arguments.
10736 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
10737 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
10738 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
10739 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10740 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10741 { (exit 1); exit 1; }; };;
10745 # If the user did not use the arguments to specify the items to instantiate,
10746 # then the envvar interface is used. Set only those that are not.
10747 # We use the long form for the default assignment because of an extremely
10748 # bizarre bug on SunOS 4.1.3.
10749 if $ac_need_defaults; then
10750 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10751 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
10752 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
10755 # Have a temporary directory for convenience. Make it in the build tree
10756 # simply because there is no reason to put it here, and in addition,
10757 # creating and moving files from /tmp can sometimes cause problems.
10758 # Create a temporary directory, and hook for its removal unless debugging.
10761 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
10762 trap '{ (exit 1); exit 1; }' 1 2 13 15
10765 # Create a (secure) tmp directory for tmp files.
10768 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
10769 test -n "$tmp" && test -d "$tmp"
10772 tmp
=.
/confstat$$
-$RANDOM
10773 (umask 077 && mkdir
$tmp)
10776 echo "$me: cannot create a temporary directory in ." >&2
10777 { (exit 1); exit 1; }
10782 cat >>$CONFIG_STATUS <<_ACEOF
10785 # CONFIG_FILES section.
10788 # No need to generate the scripts if there are no CONFIG_FILES.
10789 # This happens for instance when ./config.status config.h
10790 if test -n "\$CONFIG_FILES"; then
10791 # Protect against being on the right side of a sed subst in config.status.
10792 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
10793 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
10794 s,@SHELL@,$SHELL,;t t
10795 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
10796 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
10797 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
10798 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
10799 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
10800 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
10801 s,@exec_prefix@,$exec_prefix,;t t
10802 s,@prefix@,$prefix,;t t
10803 s,@program_transform_name@,$program_transform_name,;t t
10804 s,@bindir@,$bindir,;t t
10805 s,@sbindir@,$sbindir,;t t
10806 s,@libexecdir@,$libexecdir,;t t
10807 s,@datadir@,$datadir,;t t
10808 s,@sysconfdir@,$sysconfdir,;t t
10809 s,@sharedstatedir@,$sharedstatedir,;t t
10810 s,@localstatedir@,$localstatedir,;t t
10811 s,@libdir@,$libdir,;t t
10812 s,@includedir@,$includedir,;t t
10813 s,@oldincludedir@,$oldincludedir,;t t
10814 s,@infodir@,$infodir,;t t
10815 s,@mandir@,$mandir,;t t
10816 s,@build_alias@,$build_alias,;t t
10817 s,@host_alias@,$host_alias,;t t
10818 s,@target_alias@,$target_alias,;t t
10819 s,@DEFS@,$DEFS,;t t
10820 s,@ECHO_C@,$ECHO_C,;t t
10821 s,@ECHO_N@,$ECHO_N,;t t
10822 s,@ECHO_T@,$ECHO_T,;t t
10823 s,@LIBS@,$LIBS,;t t
10824 s,@build@,$build,;t t
10825 s,@build_cpu@,$build_cpu,;t t
10826 s,@build_vendor@,$build_vendor,;t t
10827 s,@build_os@,$build_os,;t t
10828 s,@host@,$host,;t t
10829 s,@host_cpu@,$host_cpu,;t t
10830 s,@host_vendor@,$host_vendor,;t t
10831 s,@host_os@,$host_os,;t t
10832 s,@target@,$target,;t t
10833 s,@target_cpu@,$target_cpu,;t t
10834 s,@target_vendor@,$target_vendor,;t t
10835 s,@target_os@,$target_os,;t t
10836 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
10837 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
10838 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
10839 s,@CYGPATH_W@,$CYGPATH_W,;t t
10840 s,@PACKAGE@,$PACKAGE,;t t
10841 s,@VERSION@,$VERSION,;t t
10842 s,@ACLOCAL@,$ACLOCAL,;t t
10843 s,@AUTOCONF@,$AUTOCONF,;t t
10844 s,@AUTOMAKE@,$AUTOMAKE,;t t
10845 s,@AUTOHEADER@,$AUTOHEADER,;t t
10846 s,@MAKEINFO@,$MAKEINFO,;t t
10847 s,@AMTAR@,$AMTAR,;t t
10848 s,@install_sh@,$install_sh,;t t
10849 s,@STRIP@,$STRIP,;t t
10850 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
10851 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
10852 s,@mkdir_p@,$mkdir_p,;t t
10854 s,@SET_MAKE@,$SET_MAKE,;t t
10855 s,@am__leading_dot@,$am__leading_dot,;t t
10856 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
10857 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
10858 s,@MAINT@,$MAINT,;t t
10859 s,@multi_basedir@,$multi_basedir,;t t
10860 s,@gcc_version@,$gcc_version,;t t
10861 s,@toolexecdir@,$toolexecdir,;t t
10862 s,@toolexeclibdir@,$toolexeclibdir,;t t
10864 s,@ac_ct_CC@,$ac_ct_CC,;t t
10865 s,@EXEEXT@,$EXEEXT,;t t
10866 s,@OBJEXT@,$OBJEXT,;t t
10867 s,@CFLAGS@,$CFLAGS,;t t
10869 s,@ac_ct_AS@,$ac_ct_AS,;t t
10871 s,@ac_ct_AR@,$ac_ct_AR,;t t
10872 s,@RANLIB@,$RANLIB,;t t
10873 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
10874 s,@LN_S@,$LN_S,;t t
10875 s,@LIBTOOL@,$LIBTOOL,;t t
10876 s,@enable_shared@,$enable_shared,;t t
10877 s,@enable_static@,$enable_static,;t t
10879 s,@FFLAGS@,$FFLAGS,;t t
10880 s,@LDFLAGS@,$LDFLAGS,;t t
10881 s,@ac_ct_F77@,$ac_ct_F77,;t t
10883 s,@CPPFLAGS@,$CPPFLAGS,;t t
10884 s,@EGREP@,$EGREP,;t t
10885 s,@MATH_OBJ@,$MATH_OBJ,;t t
10886 s,@LIBOBJS@,$LIBOBJS,;t t
10887 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10892 cat >>$CONFIG_STATUS <<\_ACEOF
10893 # Split the substitutions into bite-sized pieces for seds with
10894 # small command number limits, like on Digital OSF/1 and HP-UX.
10895 ac_max_sed_lines
=48
10896 ac_sed_frag
=1 # Number of current file.
10897 ac_beg
=1 # First line for current file.
10898 ac_end
=$ac_max_sed_lines # Line after last line for current file.
10901 while $ac_more_lines; do
10902 if test $ac_beg -gt 1; then
10903 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
10905 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
10907 if test ! -s $tmp/subs.frag
; then
10908 ac_more_lines
=false
10910 # The purpose of the label and of the branching condition is to
10911 # speed up the sed processing (if there are no `@' at all, there
10912 # is no need to browse any of the substitutions).
10913 # These are the two extra sed commands mentioned above.
10915 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
10916 if test -z "$ac_sed_cmds"; then
10917 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
10919 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
10921 ac_sed_frag
=`expr $ac_sed_frag + 1`
10923 ac_end
=`expr $ac_end + $ac_max_sed_lines`
10926 if test -z "$ac_sed_cmds"; then
10929 fi # test -n "$CONFIG_FILES"
10932 cat >>$CONFIG_STATUS <<\_ACEOF
10933 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
10934 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10936 - |
*:- |
*:-:* ) # input from stdin
10938 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10939 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10940 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10941 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10942 * ) ac_file_in
=$ac_file.
in ;;
10945 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10946 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
10947 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10948 X"$ac_file" : 'X\(//\)[^/]' \| \
10949 X"$ac_file" : 'X\(//\)$' \| \
10950 X"$ac_file" : 'X\(/\)' \| \
10951 . : '\(.\)' 2>/dev/null ||
10953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10954 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10955 /^X\(\/\/\)$/{ s//\1/; q; }
10956 /^X\(\/\).*/{ s//\1/; q; }
10958 { if $as_mkdir_p; then
10963 while test ! -d "$as_dir"; do
10964 as_dirs
="$as_dir $as_dirs"
10965 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10966 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10967 X"$as_dir" : 'X\(//\)[^/]' \| \
10968 X"$as_dir" : 'X\(//\)$' \| \
10969 X"$as_dir" : 'X\(/\)' \| \
10970 . : '\(.\)' 2>/dev/null ||
10972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10973 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10974 /^X\(\/\/\)$/{ s//\1/; q; }
10975 /^X\(\/\).*/{ s//\1/; q; }
10978 test ! -n "$as_dirs" || mkdir
$as_dirs
10979 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10980 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10981 { (exit 1); exit 1; }; }; }
10985 if test "$ac_dir" != .
; then
10986 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10987 # A "../" for each directory in $ac_dir_suffix.
10988 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10990 ac_dir_suffix
= ac_top_builddir
=
10994 .
) # No --srcdir option. We are building in place.
10996 if test -z "$ac_top_builddir"; then
10999 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
11001 [\\/]* | ?
:[\\/]* ) # Absolute path.
11002 ac_srcdir
=$srcdir$ac_dir_suffix;
11003 ac_top_srcdir
=$srcdir ;;
11004 *) # Relative path.
11005 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
11006 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
11009 # Do not use `cd foo && pwd` to compute absolute paths, because
11010 # the directories may not exist.
11012 .
) ac_abs_builddir
="$ac_dir";;
11015 .
) ac_abs_builddir
=`pwd`;;
11016 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
11017 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
11020 case $ac_abs_builddir in
11021 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11023 case ${ac_top_builddir}.
in
11024 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
11025 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11026 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
11029 case $ac_abs_builddir in
11030 .
) ac_abs_srcdir
=$ac_srcdir;;
11033 .
) ac_abs_srcdir
=$ac_abs_builddir;;
11034 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
11035 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
11038 case $ac_abs_builddir in
11039 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
11041 case $ac_top_srcdir in
11042 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
11043 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
11044 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
11050 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
11051 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
11054 # Let's still pretend it is `configure' which instantiates (i.e., don't
11055 # use $as_me), people would be surprised to read:
11056 # /* config.h. Generated by config.status. */
11057 if test x
"$ac_file" = x-
; then
11060 configure_input
="$ac_file. "
11062 configure_input
=$configure_input"Generated from `echo $ac_file_in |
11063 sed 's,.*/,,'` by configure."
11065 # First look for the input files in the build tree, otherwise in the
11067 ac_file_inputs
=`IFS=:
11068 for f in $ac_file_in; do
11070 -) echo $tmp/stdin ;;
11072 # Absolute (can't be DOS-style, as IFS=:)
11073 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11074 echo "$as_me: error: cannot find input file: $f" >&2;}
11075 { (exit 1); exit 1; }; }
11078 if test -f "$f"; then
11081 elif test -f "$srcdir/$f"; then
11086 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11087 echo "$as_me: error: cannot find input file: $f" >&2;}
11088 { (exit 1); exit 1; }; }
11091 done` ||
{ (exit 1); exit 1; }
11093 if test x
"$ac_file" != x-
; then
11094 { echo "$as_me:$LINENO: creating $ac_file" >&5
11095 echo "$as_me: creating $ac_file" >&6;}
11099 cat >>$CONFIG_STATUS <<_ACEOF
11103 cat >>$CONFIG_STATUS <<\_ACEOF
11105 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
11106 s
,@configure_input@
,$configure_input,;t t
11107 s
,@srcdir@
,$ac_srcdir,;t t
11108 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
11109 s
,@top_srcdir@
,$ac_top_srcdir,;t t
11110 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
11111 s
,@builddir@
,$ac_builddir,;t t
11112 s
,@abs_builddir@
,$ac_abs_builddir,;t t
11113 s
,@top_builddir@
,$ac_top_builddir,;t t
11114 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
11115 s
,@INSTALL@
,$ac_INSTALL,;t t
11116 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11118 if test x"$ac_file" != x-; then
11119 mv $tmp/out $ac_file
11127 cat >>$CONFIG_STATUS <<\_ACEOF
11130 # CONFIG_HEADER section.
11133 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
11134 # NAME is the cpp macro being defined and VALUE is the value it is being given.
11136 # ac_d sets the value in "#define NAME VALUE" lines.
11137 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
11138 ac_dB
='[ ].*$,\1#\2'
11141 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11142 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
11143 ac_uB
='$,\1#\2define\3'
11147 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
11148 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11150 - |
*:- |
*:-:* ) # input from stdin
11152 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11153 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11154 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11155 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11156 * ) ac_file_in
=$ac_file.
in ;;
11159 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
11160 echo "$as_me: creating $ac_file" >&6;}
11162 # First look for the input files in the build tree, otherwise in the
11164 ac_file_inputs
=`IFS=:
11165 for f in $ac_file_in; do
11167 -) echo $tmp/stdin ;;
11169 # Absolute (can't be DOS-style, as IFS=:)
11170 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11171 echo "$as_me: error: cannot find input file: $f" >&2;}
11172 { (exit 1); exit 1; }; }
11173 # Do quote $f, to prevent DOS paths from being IFS'd.
11176 if test -f "$f"; then
11179 elif test -f "$srcdir/$f"; then
11184 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11185 echo "$as_me: error: cannot find input file: $f" >&2;}
11186 { (exit 1); exit 1; }; }
11189 done` ||
{ (exit 1); exit 1; }
11190 # Remove the trailing spaces.
11191 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
11195 # Transform confdefs.h into two sed scripts, `conftest.defines' and
11196 # `conftest.undefs', that substitutes the proper values into
11197 # config.h.in to produce config.h. The first handles `#define'
11198 # templates, and the second `#undef' templates.
11199 # And first: Protect against being on the right side of a sed subst in
11200 # config.status. Protect against being in an unquoted here document
11201 # in config.status.
11202 rm -f conftest.defines conftest.undefs
11203 # Using a here document instead of a string reduces the quoting nightmare.
11204 # Putting comments in sed scripts is not portable.
11206 # `end' is used to avoid that the second main sed command (meant for
11207 # 0-ary CPP macros) applies to n-ary macro definitions.
11208 # See the Autoconf documentation for `clear'.
11209 cat >confdef2sed.
sed <<\_ACEOF
11214 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
11216 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
11219 # If some macros were called several times there might be several times
11220 # the same #defines, which is useless. Nevertheless, we may not want to
11221 # sort them, since we want the *last* AC-DEFINE to be honored.
11222 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
11223 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
11224 rm -f confdef2sed.sed
11226 # This sed command replaces #undef with comments. This is necessary, for
11227 # example, in the case of _POSIX_SOURCE, which is predefined and required
11228 # on some systems where configure will not decide to define it.
11229 cat >>conftest.undefs <<\_ACEOF
11230 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
11233 # Break up conftest.defines because some shells have a limit on the size
11234 # of here documents, and old seds have small limits too (100 cmds).
11235 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
11236 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11237 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
11238 echo ' :' >>$CONFIG_STATUS
11239 rm -f conftest.tail
11240 while grep . conftest.defines >/dev/null
11242 # Write a limited-size here document to $tmp/defines.sed.
11243 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
11244 # Speed up: don't consider the non `#define' lines.
11245 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
11246 # Work around the forget-to-reset-the-flag bug.
11247 echo 't clr' >>$CONFIG_STATUS
11248 echo ': clr' >>$CONFIG_STATUS
11249 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
11251 sed -f $tmp/defines.sed $tmp/in >$tmp/out
11253 mv $tmp/out $tmp/in
11255 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
11256 rm -f conftest.defines
11257 mv conftest.
tail conftest.defines
11259 rm -f conftest.defines
11260 echo ' fi # grep' >>$CONFIG_STATUS
11261 echo >>$CONFIG_STATUS
11263 # Break up conftest.undefs because some shells have a limit on the size
11264 # of here documents, and old seds have small limits too (100 cmds).
11265 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
11266 rm -f conftest.
tail
11267 while grep . conftest.undefs
>/dev
/null
11269 # Write a limited-size here document to $tmp/undefs.sed.
11270 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
11271 # Speed up: don't consider the non
`#undef'
11272 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
11273 # Work around the forget-to-reset-the-flag bug.
11274 echo 't clr' >>$CONFIG_STATUS
11275 echo ': clr' >>$CONFIG_STATUS
11276 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
11278 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
11280 mv $tmp/out $tmp/in
11282 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
11283 rm -f conftest.undefs
11284 mv conftest.tail conftest.undefs
11286 rm -f conftest.undefs
11288 cat >>$CONFIG_STATUS <<\_ACEOF
11289 # Let's still pretend it is `configure
' which instantiates (i.e., don't
11290 # use $as_me), people would be surprised to read:
11291 # /* config.h. Generated by config.status. */
11292 if test x
"$ac_file" = x-
; then
11293 echo "/* Generated by configure. */" >$tmp/config.h
11295 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
11297 cat $tmp/in >>$tmp/config.h
11299 if test x
"$ac_file" != x-
; then
11300 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
11301 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11302 echo "$as_me: $ac_file is unchanged" >&6;}
11304 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
11305 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11306 X"$ac_file" : 'X\(//\)[^/]' \| \
11307 X"$ac_file" : 'X\(//\)$' \| \
11308 X"$ac_file" : 'X\(/\)' \| \
11309 . : '\(.\)' 2>/dev/null ||
11311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11312 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11313 /^X\(\/\/\)$/{ s//\1/; q; }
11314 /^X\(\/\).*/{ s//\1/; q; }
11316 { if $as_mkdir_p; then
11321 while test ! -d "$as_dir"; do
11322 as_dirs
="$as_dir $as_dirs"
11323 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11324 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11325 X"$as_dir" : 'X\(//\)[^/]' \| \
11326 X"$as_dir" : 'X\(//\)$' \| \
11327 X"$as_dir" : 'X\(/\)' \| \
11328 . : '\(.\)' 2>/dev/null ||
11330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11331 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11332 /^X\(\/\/\)$/{ s//\1/; q; }
11333 /^X\(\/\).*/{ s//\1/; q; }
11336 test ! -n "$as_dirs" || mkdir
$as_dirs
11337 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11338 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11339 { (exit 1); exit 1; }; }; }
11342 mv $tmp/config.h
$ac_file
11346 rm -f $tmp/config.h
11348 # Compute $ac_file's index in $config_headers.
11350 for _am_header
in $config_headers :; do
11351 case $_am_header in
11352 $ac_file |
$ac_file:* )
11355 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
11358 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
11359 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11360 X$ac_file : 'X\(//\)[^/]' \| \
11361 X$ac_file : 'X\(//\)$' \| \
11362 X$ac_file : 'X\(/\)' \| \
11363 . : '\(.\)' 2>/dev/null ||
11365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11366 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11367 /^X\(\/\/\)$/{ s//\1/; q; }
11368 /^X\(\/\).*/{ s//\1/; q; }
11369 s/.*/./; q'`/stamp-h
$_am_stamp_count
11372 cat >>$CONFIG_STATUS <<\_ACEOF
11375 # CONFIG_COMMANDS section.
11377 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
11378 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
11379 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11380 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
11381 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11382 X"$ac_dest" : 'X\(//\)[^/]' \| \
11383 X"$ac_dest" : 'X\(//\)$' \| \
11384 X"$ac_dest" : 'X\(/\)' \| \
11385 . : '\(.\)' 2>/dev/null ||
11387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11388 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11389 /^X\(\/\/\)$/{ s//\1/; q; }
11390 /^X\(\/\).*/{ s//\1/; q; }
11392 { if $as_mkdir_p; then
11397 while test ! -d "$as_dir"; do
11398 as_dirs
="$as_dir $as_dirs"
11399 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11400 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11401 X"$as_dir" : 'X\(//\)[^/]' \| \
11402 X"$as_dir" : 'X\(//\)$' \| \
11403 X"$as_dir" : 'X\(/\)' \| \
11404 . : '\(.\)' 2>/dev/null ||
11406 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11407 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11408 /^X\(\/\/\)$/{ s//\1/; q; }
11409 /^X\(\/\).*/{ s//\1/; q; }
11412 test ! -n "$as_dirs" || mkdir
$as_dirs
11413 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11414 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11415 { (exit 1); exit 1; }; }; }
11419 if test "$ac_dir" != .
; then
11420 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11421 # A "../" for each directory in $ac_dir_suffix.
11422 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11424 ac_dir_suffix
= ac_top_builddir
=
11428 .
) # No --srcdir option. We are building in place.
11430 if test -z "$ac_top_builddir"; then
11433 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
11435 [\\/]* | ?
:[\\/]* ) # Absolute path.
11436 ac_srcdir
=$srcdir$ac_dir_suffix;
11437 ac_top_srcdir
=$srcdir ;;
11438 *) # Relative path.
11439 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
11440 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
11443 # Do not use `cd foo && pwd` to compute absolute paths, because
11444 # the directories may not exist.
11446 .
) ac_abs_builddir
="$ac_dir";;
11449 .
) ac_abs_builddir
=`pwd`;;
11450 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
11451 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
11454 case $ac_abs_builddir in
11455 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11457 case ${ac_top_builddir}.
in
11458 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
11459 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11460 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
11463 case $ac_abs_builddir in
11464 .
) ac_abs_srcdir
=$ac_srcdir;;
11467 .
) ac_abs_srcdir
=$ac_abs_builddir;;
11468 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
11469 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
11472 case $ac_abs_builddir in
11473 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
11475 case $ac_top_srcdir in
11476 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
11477 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
11478 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
11483 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
11484 echo "$as_me: executing $ac_dest commands" >&6;}
11487 # Only add multilib support code if we just rebuilt the top-level
11489 case " $CONFIG_FILES " in
11491 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
11498 cat >>$CONFIG_STATUS <<\_ACEOF
11500 { (exit 0); exit 0; }
11502 chmod +x
$CONFIG_STATUS
11503 ac_clean_files
=$ac_clean_files_save
11506 # configure is writing to config.log, and then calls config.status.
11507 # config.status does its own redirection, appending to config.log.
11508 # Unfortunately, on DOS this fails, as config.log is still kept open
11509 # by configure, so config.status won't be able to write to it; its
11510 # output is simply discarded. So we exec the FD to /dev/null,
11511 # effectively closing config.log, so it can be properly (re)opened and
11512 # appended to by config.status. When coming back to configure, we
11513 # need to make the FD available again.
11514 if test "$no_create" != yes; then
11516 ac_config_status_args
=
11517 test "$silent" = yes &&
11518 ac_config_status_args
="$ac_config_status_args --quiet"
11520 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11522 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11523 # would make configure fail if this is the last instruction.
11524 $ac_cs_success ||
{ (exit 1); exit 1; }