2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.2.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='GNU Fortran Runtime Library'
269 PACKAGE_TARNAME='libgfortran'
270 PACKAGE_VERSION='0.2'
271 PACKAGE_STRING='GNU Fortran Runtime Library 0.2'
274 # Factoring default headers for most tests.
275 ac_includes_default="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir gcc_version toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC CPP CPPFLAGS EGREP MATH_OBJ LIBOBJS LTLIBOBJS'
314 # Initialize some variables set by options.
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name=s,x,x,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
378 -cache-file | --cache-file | --cache-fil | --cache-fi \
379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380 ac_prev=cache_file ;;
381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383 cache_file=$ac_optarg ;;
386 cache_file=config.cache ;;
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 datadir=$ac_optarg ;;
394 -disable-* | --disable-*)
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* | --enable-*)
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418 | --exec | --exe | --ex)
419 ac_prev=exec_prefix ;;
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422 | --exec=* | --exe=* | --ex=*)
423 exec_prefix=$ac_optarg ;;
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
429 -help | --help | --hel | --he | -h)
431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432 ac_init_help=recursive ;;
433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434 ac_init_help=short ;;
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
441 -includedir | --includedir | --includedi | --included | --include \
442 | --includ | --inclu | --incl | --inc)
443 ac_prev=includedir ;;
444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445 | --includ=* | --inclu=* | --incl=* | --inc=*)
446 includedir=$ac_optarg ;;
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
453 -libdir | --libdir | --libdi | --libd)
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459 | --libexe | --libex | --libe)
460 ac_prev=libexecdir ;;
461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462 | --libexe=* | --libex=* | --libe=*)
463 libexecdir=$ac_optarg ;;
465 -localstatedir | --localstatedir | --localstatedi | --localstated \
466 | --localstate | --localstat | --localsta | --localst \
467 | --locals | --local | --loca | --loc | --lo)
468 ac_prev=localstatedir ;;
469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472 localstatedir=$ac_optarg ;;
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480 # Obsolete; use --without-fp.
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493 | --oldin | --oldi | --old | --ol | --o)
494 ac_prev=oldincludedir ;;
495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498 oldincludedir=$ac_optarg ;;
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
505 -program-prefix | --program-prefix | --program-prefi | --program-pref \
506 | --program-pre | --program-pr | --program-p)
507 ac_prev=program_prefix ;;
508 -program-prefix=* | --program-prefix=* | --program-prefi=* \
509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510 program_prefix=$ac_optarg ;;
512 -program-suffix | --program-suffix | --program-suffi | --program-suff \
513 | --program-suf | --program-su | --program-s)
514 ac_prev=program_suffix ;;
515 -program-suffix=* | --program-suffix=* | --program-suffi=* \
516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517 program_suffix=$ac_optarg ;;
519 -program-transform-name | --program-transform-name \
520 | --program-transform-nam | --program-transform-na \
521 | --program-transform-n | --program-transform- \
522 | --program-transform | --program-transfor \
523 | --program-transfo | --program-transf \
524 | --program-trans | --program-tran \
525 | --progr-tra | --program-tr | --program-t)
526 ac_prev=program_transform_name ;;
527 -program-transform-name=* | --program-transform-name=* \
528 | --program-transform-nam=* | --program-transform-na=* \
529 | --program-transform-n=* | --program-transform-=* \
530 | --program-transform=* | --program-transfor=* \
531 | --program-transfo=* | --program-transf=* \
532 | --program-trans=* | --program-tran=* \
533 | --progr-tra=* | --program-tr=* | --program-t=*)
534 program_transform_name=$ac_optarg ;;
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 sbindir=$ac_optarg ;;
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548 | --sharedst | --shareds | --shared | --share | --shar \
550 ac_prev=sharedstatedir ;;
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 sharedstatedir=$ac_optarg ;;
557 -site | --site | --sit)
559 -site=* | --site=* | --sit=*)
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568 | --syscon | --sysco | --sysc | --sys | --sy)
569 ac_prev=sysconfdir ;;
570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572 sysconfdir=$ac_optarg ;;
574 -target | --target | --targe | --targ | --tar | --ta | --t)
575 ac_prev=target_alias ;;
576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577 target_alias=$ac_optarg ;;
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
582 -version | --version | --versio | --versi | --vers | -V)
586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* | --without-*)
599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612 | --x-incl | --x-inc | --x-in | --x-i)
613 ac_prev=x_includes ;;
614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616 x_includes=$ac_optarg ;;
618 -x-libraries | --x-libraries | --x-librarie | --x-librari \
619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620 ac_prev=x_libraries ;;
621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623 x_libraries=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
660 eval ac_val=$`echo $ac_var`
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val=$`echo $ac_var`
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689 if test "x$build_alias" = x; then
690 cross_compiling=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701 test "$silent" = yes && exec 6>/dev/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_FC_set=${FC+set}
754 ac_cv_env_FC_set=${FC+set}
755 ac_cv_env_FC_value=$FC
756 ac_env_FCFLAGS_set=${FCFLAGS+set}
757 ac_env_FCFLAGS_value=$FCFLAGS
758 ac_cv_env_FCFLAGS_set=${FCFLAGS+set}
759 ac_cv_env_FCFLAGS_value=$FCFLAGS
760 ac_env_LDFLAGS_set=${LDFLAGS+set}
761 ac_env_LDFLAGS_value=$LDFLAGS
762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value=$LDFLAGS
764 ac_env_CPP_set=${CPP+set}
765 ac_env_CPP_value=$CPP
766 ac_cv_env_CPP_set=${CPP+set}
767 ac_cv_env_CPP_value=$CPP
768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
774 # Report the --help message.
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
780 \`configure' configures GNU Fortran Runtime Library 0.2 to adapt to many kinds of systems.
782 Usage: $0 [OPTION]... [VAR=VALUE]...
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
787 Defaults for the options are specified in brackets.
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
814 For better control, use the options below.
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
834 --program-prefix=PREFIX prepend PREFIX to installed program names
835 --program-suffix=SUFFIX append SUFFIX to installed program names
836 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
839 --build=BUILD configure for building on BUILD [guessed]
840 --host=HOST cross-compile to build programs to run on HOST [BUILD]
841 --target=TARGET configure for building compilers for TARGET [HOST]
845 if test -n "$ac_init_help"; then
846 case $ac_init_help in
847 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.2:";;
852 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
853 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
854 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
855 --enable-maintainer-mode enable make rules and dependencies not useful
856 (and sometimes confusing) to the casual installer
857 --enable-multilib build many library versions (default)
858 --enable-shared=PKGS build shared libraries default=yes
859 --enable-static=PKGS build static libraries default=yes
860 --enable-fast-install=PKGS optimize for fast installation default=yes
861 --disable-libtool-lock avoid locking (might break parallel builds)
862 --disable-largefile omit support for large files
863 --enable-cmath Include complex math functions
866 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
867 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
868 --with-gnu-ld assume the C compiler uses GNU ld default=no
869 --with-pic try to use only PIC/non-PIC objects default=use both
871 Some influential environment variables:
872 CC C compiler command
873 CFLAGS C compiler flags
874 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
875 nonstandard directory <lib dir>
876 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
877 headers in a nonstandard directory <include dir>
878 FC Fortran compiler command
879 FCFLAGS Fortran compiler flags
882 Use these variables to override the choices made by `configure' or to help
883 it to find libraries and programs with nonstandard names/locations.
888 if test "$ac_init_help" = "recursive"; then
889 # If there are subdirs, report their specific --help.
891 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
892 test -d $ac_dir || continue
895 if test "$ac_dir" != .; then
896 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
897 # A "../" for each directory in $ac_dir_suffix.
898 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
900 ac_dir_suffix= ac_top_builddir=
904 .) # No --srcdir option. We are building in place.
906 if test -z "$ac_top_builddir"; then
909 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
911 [\\/]* | ?:[\\/]* ) # Absolute path.
912 ac_srcdir=$srcdir$ac_dir_suffix;
913 ac_top_srcdir=$srcdir ;;
915 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
916 ac_top_srcdir=$ac_top_builddir$srcdir ;;
919 # Do not use `cd foo && pwd` to compute absolute paths, because
920 # the directories may not exist.
922 .) ac_abs_builddir="$ac_dir";;
925 .) ac_abs_builddir=`pwd`;;
926 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
927 *) ac_abs_builddir=`pwd`/"$ac_dir";;
930 case $ac_abs_builddir in
931 .) ac_abs_top_builddir=${ac_top_builddir}.;;
933 case ${ac_top_builddir}. in
934 .) ac_abs_top_builddir=$ac_abs_builddir;;
935 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
936 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
939 case $ac_abs_builddir in
940 .) ac_abs_srcdir=$ac_srcdir;;
943 .) ac_abs_srcdir=$ac_abs_builddir;;
944 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
945 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
948 case $ac_abs_builddir in
949 .) ac_abs_top_srcdir=$ac_top_srcdir;;
951 case $ac_top_srcdir in
952 .) ac_abs_top_srcdir=$ac_abs_builddir;;
953 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
954 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
959 # Check for guested configure; otherwise get Cygnus style configure.
960 if test -f $ac_srcdir/configure.gnu; then
962 $SHELL $ac_srcdir/configure.gnu --help=recursive
963 elif test -f $ac_srcdir/configure; then
965 $SHELL $ac_srcdir/configure --help=recursive
966 elif test -f $ac_srcdir/configure.ac ||
967 test -f $ac_srcdir/configure.in; then
971 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
977 test -n "$ac_init_help" && exit 0
978 if $ac_init_version; then
980 GNU Fortran Runtime Library configure 0.2
981 generated by GNU Autoconf 2.59
983 Copyright (C) 2003 Free Software Foundation, Inc.
984 This configure script is free software; the Free Software Foundation
985 gives unlimited permission to copy, distribute and modify it.
991 This file contains any messages produced by compilers while
992 running configure, to aid debugging if configure makes a mistake.
994 It was created by GNU Fortran Runtime Library $as_me 0.2, which was
995 generated by GNU Autoconf 2.59. Invocation command line was
1006 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1007 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1008 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1009 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1010 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1012 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1013 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1015 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1016 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1017 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1018 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1019 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1020 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1021 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1029 test -z "$as_dir" && as_dir=.
1030 echo "PATH: $as_dir"
1045 # Keep a trace of the command line.
1046 # Strip out --no-create and --no-recursion so they do not pile up.
1047 # Strip out --silent because we don't want to record it for future runs.
1048 # Also quote any args containing shell meta-characters.
1049 # Make two passes to allow for proper duplicate-argument suppression.
1054 ac_must_keep_next=false
1060 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1064 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1065 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1068 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1070 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1071 if test $ac_must_keep_next = true; then
1072 ac_must_keep_next=false # Got value, back to normal.
1075 *=* | --config-cache | -C | -disable-* | --disable-* \
1076 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1077 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1078 | -with-* | --with-* | -without-* | --without-* | --x)
1079 case "$ac_configure_args0 " in
1080 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1083 -* ) ac_must_keep_next=true ;;
1086 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1087 # Get rid of the leading space.
1093 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1094 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1096 # When interrupted or exit'd, cleanup temporary files, and complete
1097 # config.log. We remove comments because anyway the quotes in there
1098 # would cause problems or look ugly.
1099 # WARNING: Be sure not to use single quotes in there, as some shells,
1100 # such as our DU 5.0 friend, will then `close' the trap.
1101 trap 'exit_status=$?
1102 # Save into config.log some information that might help in debugging.
1107 ## ---------------- ##
1108 ## Cache variables. ##
1109 ## ---------------- ##
1112 # The following way of writing the cache mishandles newlines in values,
1115 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1118 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1123 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1130 ## ----------------- ##
1131 ## Output variables. ##
1132 ## ----------------- ##
1135 for ac_var in $ac_subst_vars
1137 eval ac_val=$`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1142 if test -n "$ac_subst_files"; then
1149 for ac_var in $ac_subst_files
1151 eval ac_val=$`echo $ac_var`
1152 echo "$ac_var='"'"'$ac_val'"'"'"
1157 if test -s confdefs.h; then
1164 sed "/^$/d" confdefs.h | sort
1167 test "$ac_signal" != 0 &&
1168 echo "$as_me: caught signal $ac_signal"
1169 echo "$as_me: exit $exit_status"
1171 rm -f core *.core &&
1172 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1175 for ac_signal in 1 2 13 15; do
1176 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1180 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1181 rm -rf conftest* confdefs.h
1182 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1185 # Predefined preprocessor variables.
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_NAME "$PACKAGE_NAME"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_STRING "$PACKAGE_STRING"
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1212 # Let the site file select an alternate cache file if it wants to.
1213 # Prefer explicitly selected file to automatically selected ones.
1214 if test -z "$CONFIG_SITE"; then
1215 if test "x$prefix" != xNONE; then
1216 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1218 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1221 for ac_site_file in $CONFIG_SITE; do
1222 if test -r "$ac_site_file"; then
1223 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1224 echo "$as_me: loading site script $ac_site_file" >&6;}
1225 sed 's/^/| /' "$ac_site_file" >&5
1230 if test -r "$cache_file"; then
1231 # Some versions of bash will fail to source /dev/null (special
1232 # files actually), so we avoid doing that.
1233 if test -f "$cache_file"; then
1234 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1235 echo "$as_me: loading cache $cache_file" >&6;}
1237 [\\/]* | ?:[\\/]* ) . $cache_file;;
1238 *) . ./$cache_file;;
1242 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1243 echo "$as_me: creating cache $cache_file" >&6;}
1247 # Check that the precious variables saved in the cache have kept the same
1249 ac_cache_corrupted=false
1250 for ac_var in `(set) 2>&1 |
1251 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1252 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1253 eval ac_new_set=\$ac_env_${ac_var}_set
1254 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1255 eval ac_new_val="\$ac_env_${ac_var}_value"
1256 case $ac_old_set,$ac_new_set in
1258 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1260 ac_cache_corrupted=: ;;
1262 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1263 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1264 ac_cache_corrupted=: ;;
1267 if test "x$ac_old_val" != "x$ac_new_val"; then
1268 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1269 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1270 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1271 echo "$as_me: former value: $ac_old_val" >&2;}
1272 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1273 echo "$as_me: current value: $ac_new_val" >&2;}
1274 ac_cache_corrupted=:
1277 # Pass precious variables to config.status.
1278 if test "$ac_new_set" = set; then
1280 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1282 *) ac_arg=$ac_var=$ac_new_val ;;
1284 case " $ac_configure_args " in
1285 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1286 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1290 if $ac_cache_corrupted; then
1291 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1292 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1293 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1294 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1295 { (exit 1); exit 1; }; }
1299 ac_cpp='$CPP $CPPFLAGS'
1300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1330 ac_config_headers="$ac_config_headers config.h"
1337 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1338 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1339 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1340 if test "${enable_version_specific_runtime_libs+set}" = set; then
1341 enableval="$enable_version_specific_runtime_libs"
1342 case "$enableval" in
1343 yes) version_specific_libs=yes ;;
1344 no) version_specific_libs=no ;;
1345 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1346 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1347 { (exit 1); exit 1; }; };;
1350 version_specific_libs=no
1352 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1353 echo "${ECHO_T}$version_specific_libs" >&6
1356 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1358 # You will slowly go insane if you do not grok the following fact: when
1359 # building this library, the top-level /target/ becomes the library's /host/.
1361 # configure then causes --target to default to --host, exactly like any
1362 # other package using autoconf. Therefore, 'target' and 'host' will
1363 # always be the same. This makes sense both for native and cross compilers
1364 # just think about it for a little while. :-)
1366 # Also, if this library is being configured as part of a cross compiler, the
1367 # top-level configure script will pass the "real" host as $with_cross_host.
1369 # Do not delete or change the following two lines. For why, see
1370 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1372 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1373 if test -f $ac_dir/install-sh; then
1375 ac_install_sh="$ac_aux_dir/install-sh -c"
1377 elif test -f $ac_dir/install.sh; then
1379 ac_install_sh="$ac_aux_dir/install.sh -c"
1381 elif test -f $ac_dir/shtool; then
1383 ac_install_sh="$ac_aux_dir/shtool install -c"
1387 if test -z "$ac_aux_dir"; then
1388 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1389 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1390 { (exit 1); exit 1; }; }
1392 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1393 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1394 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1396 # Make sure we can run config.sub.
1397 $ac_config_sub sun4 >/dev/null 2>&1 ||
1398 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1399 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1400 { (exit 1); exit 1; }; }
1402 echo "$as_me:$LINENO: checking build system type" >&5
1403 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1404 if test "${ac_cv_build+set}" = set; then
1405 echo $ECHO_N "(cached) $ECHO_C" >&6
1407 ac_cv_build_alias=$build_alias
1408 test -z "$ac_cv_build_alias" &&
1409 ac_cv_build_alias=`$ac_config_guess`
1410 test -z "$ac_cv_build_alias" &&
1411 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1412 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1413 { (exit 1); exit 1; }; }
1414 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1415 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1416 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1417 { (exit 1); exit 1; }; }
1420 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1421 echo "${ECHO_T}$ac_cv_build" >&6
1423 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1424 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1425 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1428 echo "$as_me:$LINENO: checking host system type" >&5
1429 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1430 if test "${ac_cv_host+set}" = set; then
1431 echo $ECHO_N "(cached) $ECHO_C" >&6
1433 ac_cv_host_alias=$host_alias
1434 test -z "$ac_cv_host_alias" &&
1435 ac_cv_host_alias=$ac_cv_build_alias
1436 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1437 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1438 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1439 { (exit 1); exit 1; }; }
1442 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1443 echo "${ECHO_T}$ac_cv_host" >&6
1445 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1446 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1447 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1450 echo "$as_me:$LINENO: checking target system type" >&5
1451 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1452 if test "${ac_cv_target+set}" = set; then
1453 echo $ECHO_N "(cached) $ECHO_C" >&6
1455 ac_cv_target_alias=$target_alias
1456 test "x$ac_cv_target_alias" = "x" &&
1457 ac_cv_target_alias=$ac_cv_host_alias
1458 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1459 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1460 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1461 { (exit 1); exit 1; }; }
1464 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1465 echo "${ECHO_T}$ac_cv_target" >&6
1466 target=$ac_cv_target
1467 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1468 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1469 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1472 # The aliases save the names the user supplied, while $host etc.
1473 # will get canonicalized.
1474 test -n "$target_alias" &&
1475 test "$program_prefix$program_suffix$program_transform_name" = \
1477 program_prefix=${target_alias}-
1478 target_alias=${target_alias-$host_alias}
1480 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1481 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1482 # 1.8.2: minimum required version
1483 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1484 # of other PACKAGE_* variables will, however, and there's nothing
1485 # we can do about that; they come from AC_INIT).
1486 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1487 # file in the top srcdir, etc, etc), so stop complaining.
1488 # no-dependencies: turns off auto dependency generation (just for now)
1489 # -Wall: turns on all automake warnings...
1490 # -Wno-portability: ...except this one, since GNU make is required.
1491 am__api_version="1.9"
1492 # Find a good install program. We prefer a C program (faster),
1493 # so one script is as good as another. But avoid the broken or
1494 # incompatible versions:
1495 # SysV /etc/install, /usr/sbin/install
1496 # SunOS /usr/etc/install
1497 # IRIX /sbin/install
1499 # AmigaOS /C/install, which installs bootblocks on floppy discs
1500 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1501 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1502 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1503 # OS/2's system install, which has a completely different semantic
1504 # ./install, which can be erroneously created by make from ./install.sh.
1505 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1506 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1507 if test -z "$INSTALL"; then
1508 if test "${ac_cv_path_install+set}" = set; then
1509 echo $ECHO_N "(cached) $ECHO_C" >&6
1511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1515 test -z "$as_dir" && as_dir=.
1516 # Account for people who put trailing slashes in PATH elements.
1518 ./ | .// | /cC/* | \
1519 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1520 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1523 # OSF1 and SCO ODT 3.0 have their own names for install.
1524 # Don't use installbsd from OSF since it installs stuff as root
1526 for ac_prog in ginstall scoinst install; do
1527 for ac_exec_ext in '' $ac_executable_extensions; do
1528 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1529 if test $ac_prog = install &&
1530 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1531 # AIX install. It has an incompatible calling convention.
1533 elif test $ac_prog = install &&
1534 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1535 # program-specific install script used by HP pwplus--don't use.
1538 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1550 if test "${ac_cv_path_install+set}" = set; then
1551 INSTALL=$ac_cv_path_install
1553 # As a last resort, use the slow shell script. We don't cache a
1554 # path for INSTALL within a source directory, because that will
1555 # break other packages using the cache if that directory is
1556 # removed, or if the path is relative.
1557 INSTALL=$ac_install_sh
1560 echo "$as_me:$LINENO: result: $INSTALL" >&5
1561 echo "${ECHO_T}$INSTALL" >&6
1563 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1564 # It thinks the first close brace ends the variable substitution.
1565 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1567 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1569 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1571 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1572 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1575 echo timestamp > conftest.file
1576 # Do `set' in a subshell so we don't clobber the current shell's
1577 # arguments. Must try -L first in case configure is actually a
1578 # symlink; some systems play weird games with the mod time of symlinks
1579 # (eg FreeBSD returns the mod time of the symlink's containing
1582 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1583 if test "$*" = "X"; then
1585 set X `ls -t $srcdir/configure conftest.file`
1588 if test "$*" != "X $srcdir/configure conftest.file" \
1589 && test "$*" != "X conftest.file $srcdir/configure"; then
1591 # If neither matched, then we have a broken ls. This can happen
1592 # if, for instance, CONFIG_SHELL is bash and it inherits a
1593 # broken ls alias from the environment. This has actually
1594 # happened. Such a system could not be considered "sane".
1595 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1596 alias in your environment" >&5
1597 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1598 alias in your environment" >&2;}
1599 { (exit 1); exit 1; }; }
1602 test "$2" = conftest.file
1608 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1609 Check your system clock" >&5
1610 echo "$as_me: error: newly created file is older than distributed files!
1611 Check your system clock" >&2;}
1612 { (exit 1); exit 1; }; }
1614 echo "$as_me:$LINENO: result: yes" >&5
1615 echo "${ECHO_T}yes" >&6
1616 test "$program_prefix" != NONE &&
1617 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1618 # Use a double $ so make ignores it.
1619 test "$program_suffix" != NONE &&
1620 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1621 # Double any \ or $. echo might interpret backslashes.
1622 # By default was `s,x,x', remove it if useless.
1623 cat <<\_ACEOF >conftest.sed
1624 s/[\\$]/&&/g;s/;s,x,x,$//
1626 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1629 # expand $ac_aux_dir to an absolute path
1630 am_aux_dir=`cd $ac_aux_dir && pwd`
1632 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1633 # Use eval to expand $SHELL
1634 if eval "$MISSING --run true"; then
1635 am_missing_run="$MISSING --run "
1638 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1639 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1642 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1643 # We used to keeping the `.' as first argument, in order to
1644 # allow $(mkdir_p) to be used without argument. As in
1645 # $(mkdir_p) $(somedir)
1646 # where $(somedir) is conditionally defined. However this is wrong
1648 # 1. if the package is installed by a user who cannot write `.'
1649 # make install will fail,
1650 # 2. the above comment should most certainly read
1651 # $(mkdir_p) $(DESTDIR)$(somedir)
1652 # so it does not work when $(somedir) is undefined and
1653 # $(DESTDIR) is not.
1654 # To support the latter case, we have to write
1655 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1656 # so the `.' trick is pointless.
1657 mkdir_p='mkdir -p --'
1659 # On NextStep and OpenStep, the `mkdir' command does not
1660 # recognize any option. It will interpret all options as
1661 # directories to create, and then abort because `.' already
1663 for d in ./-p ./--version;
1665 test -d $d && rmdir $d
1667 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1668 if test -f "$ac_aux_dir/mkinstalldirs"; then
1669 mkdir_p='$(mkinstalldirs)'
1671 mkdir_p='$(install_sh) -d'
1675 for ac_prog in gawk mawk nawk awk
1677 # Extract the first word of "$ac_prog", so it can be a program name with args.
1678 set dummy $ac_prog; ac_word=$2
1679 echo "$as_me:$LINENO: checking for $ac_word" >&5
1680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1681 if test "${ac_cv_prog_AWK+set}" = set; then
1682 echo $ECHO_N "(cached) $ECHO_C" >&6
1684 if test -n "$AWK"; then
1685 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1691 test -z "$as_dir" && as_dir=.
1692 for ac_exec_ext in '' $ac_executable_extensions; do
1693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1694 ac_cv_prog_AWK="$ac_prog"
1695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1704 if test -n "$AWK"; then
1705 echo "$as_me:$LINENO: result: $AWK" >&5
1706 echo "${ECHO_T}$AWK" >&6
1708 echo "$as_me:$LINENO: result: no" >&5
1709 echo "${ECHO_T}no" >&6
1712 test -n "$AWK" && break
1715 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1716 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1717 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1718 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1719 echo $ECHO_N "(cached) $ECHO_C" >&6
1721 cat >conftest.make <<\_ACEOF
1723 @echo 'ac_maketemp="$(MAKE)"'
1725 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1726 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1727 if test -n "$ac_maketemp"; then
1728 eval ac_cv_prog_make_${ac_make}_set=yes
1730 eval ac_cv_prog_make_${ac_make}_set=no
1734 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1735 echo "$as_me:$LINENO: result: yes" >&5
1736 echo "${ECHO_T}yes" >&6
1739 echo "$as_me:$LINENO: result: no" >&5
1740 echo "${ECHO_T}no" >&6
1741 SET_MAKE="MAKE=${MAKE-make}"
1744 rm -rf .tst 2>/dev/null
1745 mkdir .tst 2>/dev/null
1746 if test -d .tst; then
1751 rmdir .tst 2>/dev/null
1753 # test to see if srcdir already configured
1754 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1755 test -f $srcdir/config.status; then
1756 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1757 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1758 { (exit 1); exit 1; }; }
1761 # test whether we have cygpath
1762 if test -z "$CYGPATH_W"; then
1763 if (cygpath --version) >/dev/null 2>/dev/null; then
1764 CYGPATH_W='cygpath -w'
1771 # Define the identity of the package.
1772 PACKAGE='libgfortran'
1776 # Some tools Automake needs.
1778 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1781 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1784 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1787 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1790 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1792 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1794 # Installed binaries are usually stripped using `strip' when the user
1795 # run `make install-strip'. However `strip' might not be the right
1796 # tool to use in cross-compilation environments, therefore Automake
1797 # will honor the `STRIP' environment variable to overrule this program.
1798 if test "$cross_compiling" != no; then
1799 if test -n "$ac_tool_prefix"; then
1800 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1801 set dummy ${ac_tool_prefix}strip; ac_word=$2
1802 echo "$as_me:$LINENO: checking for $ac_word" >&5
1803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1804 if test "${ac_cv_prog_STRIP+set}" = set; then
1805 echo $ECHO_N "(cached) $ECHO_C" >&6
1807 if test -n "$STRIP"; then
1808 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1814 test -z "$as_dir" && as_dir=.
1815 for ac_exec_ext in '' $ac_executable_extensions; do
1816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1817 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1826 STRIP=$ac_cv_prog_STRIP
1827 if test -n "$STRIP"; then
1828 echo "$as_me:$LINENO: result: $STRIP" >&5
1829 echo "${ECHO_T}$STRIP" >&6
1831 echo "$as_me:$LINENO: result: no" >&5
1832 echo "${ECHO_T}no" >&6
1836 if test -z "$ac_cv_prog_STRIP"; then
1838 # Extract the first word of "strip", so it can be a program name with args.
1839 set dummy strip; ac_word=$2
1840 echo "$as_me:$LINENO: checking for $ac_word" >&5
1841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1842 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1843 echo $ECHO_N "(cached) $ECHO_C" >&6
1845 if test -n "$ac_ct_STRIP"; then
1846 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1852 test -z "$as_dir" && as_dir=.
1853 for ac_exec_ext in '' $ac_executable_extensions; do
1854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1855 ac_cv_prog_ac_ct_STRIP="strip"
1856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1862 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1865 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1866 if test -n "$ac_ct_STRIP"; then
1867 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1868 echo "${ECHO_T}$ac_ct_STRIP" >&6
1870 echo "$as_me:$LINENO: result: no" >&5
1871 echo "${ECHO_T}no" >&6
1876 STRIP="$ac_cv_prog_STRIP"
1880 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1882 # We need awk for the "check" target. The system "awk" is bad on
1884 # Always define AMTAR for backward compatibility.
1886 AMTAR=${AMTAR-"${am_missing_run}tar"}
1888 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1895 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1896 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1897 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1898 if test "${enable_maintainer_mode+set}" = set; then
1899 enableval="$enable_maintainer_mode"
1900 USE_MAINTAINER_MODE=$enableval
1902 USE_MAINTAINER_MODE=no
1904 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1905 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1908 if test $USE_MAINTAINER_MODE = yes; then
1909 MAINTAINER_MODE_TRUE=
1910 MAINTAINER_MODE_FALSE='#'
1912 MAINTAINER_MODE_TRUE='#'
1913 MAINTAINER_MODE_FALSE=
1916 MAINT=$MAINTAINER_MODE_TRUE
1919 # Default to --enable-multilib
1920 # Check whether --enable-multilib or --disable-multilib was given.
1921 if test "${enable_multilib+set}" = set; then
1922 enableval="$enable_multilib"
1923 case "$enableval" in
1924 yes) multilib=yes ;;
1926 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1927 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1928 { (exit 1); exit 1; }; } ;;
1934 # We may get other options which we leave undocumented:
1935 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1936 # See config-ml.in if you want the gory details.
1938 if test "$srcdir" = "."; then
1939 if test "$with_target_subdir" != "."; then
1940 multi_basedir="$srcdir/$with_multisrctop../.."
1942 multi_basedir="$srcdir/$with_multisrctop.."
1945 multi_basedir="$srcdir/.."
1949 ac_config_commands="$ac_config_commands default-1"
1952 # Handy for debugging:
1953 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1955 # Are we being configured with some form of cross compiler?
1956 # NB: We don't actually need to know this just now, but when, say, a test
1957 # suite is included, we'll have to know.
1958 if test "$build" != "$host"; then
1959 LIBGFOR_IS_NATIVE=false
1962 LIBGFOR_IS_NATIVE=true
1965 # Process the option "--enable-version-specific-runtime-libs"
1966 gcc_version_trigger=${srcdir}/../gcc/version.c
1967 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/'`
1968 gcc_version=`echo ${gcc_version_full} | sed -e 's/\(^ *\) .*/\1/'`
1971 # Calculate toolexeclibdir
1972 # Also toolexecdir, though it's only used in toolexeclibdir
1973 case ${version_specific_libs} in
1975 # Need the gcc compiler version to know where to install libraries
1976 # and header files if --enable-version-specific-runtime-libs option
1978 toolexecdir='$(libdir)/gcc/$(target_alias)'
1979 toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
1982 if test -n "$with_cross_host" &&
1983 test x"$with_cross_host" != x"no"; then
1984 # Install a library built with a cross compiler in tooldir, not libdir.
1985 toolexecdir='$(exec_prefix)/$(target_alias)'
1986 toolexeclibdir='$(toolexecdir)/lib'
1988 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
1989 toolexeclibdir='$(libdir)'
1991 multi_os_directory=`$CC -print-multi-os-directory`
1992 case $multi_os_directory in
1993 .) ;; # Avoid trailing /.
1994 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2001 # Check the compiler.
2002 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2003 # We must force CC to /not/ be precious variables; otherwise
2004 # the wrong, non-multilib-adjusted value will be used in multilibs.
2005 # As a side effect, we have to subst CFLAGS ourselves.
2010 ac_cpp='$CPP $CPPFLAGS'
2011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2014 if test -n "$ac_tool_prefix"; then
2015 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2016 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2017 echo "$as_me:$LINENO: checking for $ac_word" >&5
2018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2019 if test "${ac_cv_prog_CC+set}" = set; then
2020 echo $ECHO_N "(cached) $ECHO_C" >&6
2022 if test -n "$CC"; then
2023 ac_cv_prog_CC="$CC" # Let the user override the test.
2025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2029 test -z "$as_dir" && as_dir=.
2030 for ac_exec_ext in '' $ac_executable_extensions; do
2031 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2032 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2042 if test -n "$CC"; then
2043 echo "$as_me:$LINENO: result: $CC" >&5
2044 echo "${ECHO_T}$CC" >&6
2046 echo "$as_me:$LINENO: result: no" >&5
2047 echo "${ECHO_T}no" >&6
2051 if test -z "$ac_cv_prog_CC"; then
2053 # Extract the first word of "gcc", so it can be a program name with args.
2054 set dummy gcc; ac_word=$2
2055 echo "$as_me:$LINENO: checking for $ac_word" >&5
2056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2057 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2058 echo $ECHO_N "(cached) $ECHO_C" >&6
2060 if test -n "$ac_ct_CC"; then
2061 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2067 test -z "$as_dir" && as_dir=.
2068 for ac_exec_ext in '' $ac_executable_extensions; do
2069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2070 ac_cv_prog_ac_ct_CC="gcc"
2071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2079 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2080 if test -n "$ac_ct_CC"; then
2081 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2082 echo "${ECHO_T}$ac_ct_CC" >&6
2084 echo "$as_me:$LINENO: result: no" >&5
2085 echo "${ECHO_T}no" >&6
2093 if test -z "$CC"; then
2094 if test -n "$ac_tool_prefix"; then
2095 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2096 set dummy ${ac_tool_prefix}cc; ac_word=$2
2097 echo "$as_me:$LINENO: checking for $ac_word" >&5
2098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2099 if test "${ac_cv_prog_CC+set}" = set; then
2100 echo $ECHO_N "(cached) $ECHO_C" >&6
2102 if test -n "$CC"; then
2103 ac_cv_prog_CC="$CC" # Let the user override the test.
2105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2109 test -z "$as_dir" && as_dir=.
2110 for ac_exec_ext in '' $ac_executable_extensions; do
2111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2112 ac_cv_prog_CC="${ac_tool_prefix}cc"
2113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2122 if test -n "$CC"; then
2123 echo "$as_me:$LINENO: result: $CC" >&5
2124 echo "${ECHO_T}$CC" >&6
2126 echo "$as_me:$LINENO: result: no" >&5
2127 echo "${ECHO_T}no" >&6
2131 if test -z "$ac_cv_prog_CC"; then
2133 # Extract the first word of "cc", so it can be a program name with args.
2134 set dummy cc; ac_word=$2
2135 echo "$as_me:$LINENO: checking for $ac_word" >&5
2136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2137 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2138 echo $ECHO_N "(cached) $ECHO_C" >&6
2140 if test -n "$ac_ct_CC"; then
2141 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2147 test -z "$as_dir" && as_dir=.
2148 for ac_exec_ext in '' $ac_executable_extensions; do
2149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2150 ac_cv_prog_ac_ct_CC="cc"
2151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2159 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2160 if test -n "$ac_ct_CC"; then
2161 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2162 echo "${ECHO_T}$ac_ct_CC" >&6
2164 echo "$as_me:$LINENO: result: no" >&5
2165 echo "${ECHO_T}no" >&6
2174 if test -z "$CC"; then
2175 # Extract the first word of "cc", so it can be a program name with args.
2176 set dummy cc; ac_word=$2
2177 echo "$as_me:$LINENO: checking for $ac_word" >&5
2178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2179 if test "${ac_cv_prog_CC+set}" = set; then
2180 echo $ECHO_N "(cached) $ECHO_C" >&6
2182 if test -n "$CC"; then
2183 ac_cv_prog_CC="$CC" # Let the user override the test.
2186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2190 test -z "$as_dir" && as_dir=.
2191 for ac_exec_ext in '' $ac_executable_extensions; do
2192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2193 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2194 ac_prog_rejected=yes
2198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2204 if test $ac_prog_rejected = yes; then
2205 # We found a bogon in the path, so make sure we never use it.
2206 set dummy $ac_cv_prog_CC
2208 if test $# != 0; then
2209 # We chose a different compiler from the bogus one.
2210 # However, it has the same basename, so the bogon will be chosen
2211 # first if we set CC to just the basename; use the full file name.
2213 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2219 if test -n "$CC"; then
2220 echo "$as_me:$LINENO: result: $CC" >&5
2221 echo "${ECHO_T}$CC" >&6
2223 echo "$as_me:$LINENO: result: no" >&5
2224 echo "${ECHO_T}no" >&6
2228 if test -z "$CC"; then
2229 if test -n "$ac_tool_prefix"; then
2232 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2233 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2234 echo "$as_me:$LINENO: checking for $ac_word" >&5
2235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2236 if test "${ac_cv_prog_CC+set}" = set; then
2237 echo $ECHO_N "(cached) $ECHO_C" >&6
2239 if test -n "$CC"; then
2240 ac_cv_prog_CC="$CC" # Let the user override the test.
2242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2246 test -z "$as_dir" && as_dir=.
2247 for ac_exec_ext in '' $ac_executable_extensions; do
2248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2249 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2259 if test -n "$CC"; then
2260 echo "$as_me:$LINENO: result: $CC" >&5
2261 echo "${ECHO_T}$CC" >&6
2263 echo "$as_me:$LINENO: result: no" >&5
2264 echo "${ECHO_T}no" >&6
2267 test -n "$CC" && break
2270 if test -z "$CC"; then
2274 # Extract the first word of "$ac_prog", so it can be a program name with args.
2275 set dummy $ac_prog; ac_word=$2
2276 echo "$as_me:$LINENO: checking for $ac_word" >&5
2277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2278 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2279 echo $ECHO_N "(cached) $ECHO_C" >&6
2281 if test -n "$ac_ct_CC"; then
2282 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2288 test -z "$as_dir" && as_dir=.
2289 for ac_exec_ext in '' $ac_executable_extensions; do
2290 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2291 ac_cv_prog_ac_ct_CC="$ac_prog"
2292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2300 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2301 if test -n "$ac_ct_CC"; then
2302 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2303 echo "${ECHO_T}$ac_ct_CC" >&6
2305 echo "$as_me:$LINENO: result: no" >&5
2306 echo "${ECHO_T}no" >&6
2309 test -n "$ac_ct_CC" && break
2318 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2319 See \`config.log' for more details." >&5
2320 echo "$as_me: error: no acceptable C compiler found in \$PATH
2321 See \`config.log' for more details." >&2;}
2322 { (exit 1); exit 1; }; }
2324 # Provide some information about the compiler.
2325 echo "$as_me:$LINENO:" \
2326 "checking for C compiler version" >&5
2327 ac_compiler=`set X $ac_compile; echo $2`
2328 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2329 (eval $ac_compiler --version </dev/null >&5) 2>&5
2331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2332 (exit $ac_status); }
2333 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2334 (eval $ac_compiler -v </dev/null >&5) 2>&5
2336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2337 (exit $ac_status); }
2338 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2339 (eval $ac_compiler -V </dev/null >&5) 2>&5
2341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2342 (exit $ac_status); }
2344 cat >conftest.$ac_ext <<_ACEOF
2347 cat confdefs.h >>conftest.$ac_ext
2348 cat >>conftest.$ac_ext <<_ACEOF
2349 /* end confdefs.h. */
2360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2361 (eval $ac_link) 2>&5
2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364 (exit $ac_status); }; then
2370 if test x$gcc_no_link = xyes; then
2371 # Setting cross_compile will disable run tests; it will
2372 # also disable AC_CHECK_FILE but that's generally
2373 # correct if we can't link.
2377 cat >conftest.$ac_ext <<_ACEOF
2380 cat confdefs.h >>conftest.$ac_ext
2381 cat >>conftest.$ac_ext <<_ACEOF
2382 /* end confdefs.h. */
2392 ac_clean_files_save=$ac_clean_files
2393 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2394 # Try to create an executable without -o first, disregard a.out.
2395 # It will help us diagnose broken compilers, and finding out an intuition
2397 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2398 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2399 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2400 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2401 (eval $ac_link_default) 2>&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); }; then
2405 # Find the output, starting from the most likely. This scheme is
2406 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2409 # Be careful to initialize this variable, since it used to be cached.
2410 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2412 # b.out is created by i960 compilers.
2413 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2415 test -f "$ac_file" || continue
2417 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2420 # This is the source file.
2423 # We found the default executable, but exeext='' is most
2427 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2428 # FIXME: I believe we export ac_cv_exeext for Libtool,
2429 # but it would be cool to find out if it's true. Does anybody
2430 # maintain Libtool? --akim.
2438 echo "$as_me: failed program was:" >&5
2439 sed 's/^/| /' conftest.$ac_ext >&5
2441 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2442 See \`config.log' for more details." >&5
2443 echo "$as_me: error: C compiler cannot create executables
2444 See \`config.log' for more details." >&2;}
2445 { (exit 77); exit 77; }; }
2448 ac_exeext=$ac_cv_exeext
2449 echo "$as_me:$LINENO: result: $ac_file" >&5
2450 echo "${ECHO_T}$ac_file" >&6
2452 # Check the compiler produces executables we can run. If not, either
2453 # the compiler is broken, or we cross compile.
2454 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2455 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2456 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2457 # If not cross compiling, check that we can run a simple program.
2458 if test "$cross_compiling" != yes; then
2459 if { ac_try='./$ac_file'
2460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464 (exit $ac_status); }; }; then
2467 if test "$cross_compiling" = maybe; then
2470 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2471 If you meant to cross compile, use \`--host'.
2472 See \`config.log' for more details." >&5
2473 echo "$as_me: error: cannot run C compiled programs.
2474 If you meant to cross compile, use \`--host'.
2475 See \`config.log' for more details." >&2;}
2476 { (exit 1); exit 1; }; }
2480 echo "$as_me:$LINENO: result: yes" >&5
2481 echo "${ECHO_T}yes" >&6
2483 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2484 ac_clean_files=$ac_clean_files_save
2485 # Check the compiler produces executables we can run. If not, either
2486 # the compiler is broken, or we cross compile.
2487 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2488 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2489 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2490 echo "${ECHO_T}$cross_compiling" >&6
2492 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2493 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2495 (eval $ac_link) 2>&5
2497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2498 (exit $ac_status); }; then
2499 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2500 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2501 # work properly (i.e., refer to `conftest.exe'), while it won't with
2503 for ac_file in conftest.exe conftest conftest.*; do
2504 test -f "$ac_file" || continue
2506 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2507 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2514 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2515 See \`config.log' for more details." >&5
2516 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2517 See \`config.log' for more details." >&2;}
2518 { (exit 1); exit 1; }; }
2521 rm -f conftest$ac_cv_exeext
2522 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2523 echo "${ECHO_T}$ac_cv_exeext" >&6
2525 rm -f conftest.$ac_ext
2526 EXEEXT=$ac_cv_exeext
2529 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2530 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2531 if test "${ac_cv_objext+set}" = set; then
2532 echo $ECHO_N "(cached) $ECHO_C" >&6
2534 cat >conftest.$ac_ext <<_ACEOF
2537 cat confdefs.h >>conftest.$ac_ext
2538 cat >>conftest.$ac_ext <<_ACEOF
2539 /* end confdefs.h. */
2549 rm -f conftest.o conftest.obj
2550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2551 (eval $ac_compile) 2>&5
2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554 (exit $ac_status); }; then
2555 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2557 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2558 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2563 echo "$as_me: failed program was:" >&5
2564 sed 's/^/| /' conftest.$ac_ext >&5
2566 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2567 See \`config.log' for more details." >&5
2568 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2569 See \`config.log' for more details." >&2;}
2570 { (exit 1); exit 1; }; }
2573 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2575 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2576 echo "${ECHO_T}$ac_cv_objext" >&6
2577 OBJEXT=$ac_cv_objext
2579 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2580 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2581 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2582 echo $ECHO_N "(cached) $ECHO_C" >&6
2584 cat >conftest.$ac_ext <<_ACEOF
2587 cat confdefs.h >>conftest.$ac_ext
2588 cat >>conftest.$ac_ext <<_ACEOF
2589 /* end confdefs.h. */
2602 rm -f conftest.$ac_objext
2603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2604 (eval $ac_compile) 2>conftest.er1
2606 grep -v '^ *+' conftest.er1 >conftest.err
2608 cat conftest.err >&5
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); } &&
2611 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616 (exit $ac_status); }; } &&
2617 { ac_try='test -s conftest.$ac_objext'
2618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2622 (exit $ac_status); }; }; then
2625 echo "$as_me: failed program was:" >&5
2626 sed 's/^/| /' conftest.$ac_ext >&5
2630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2631 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2634 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2635 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2636 GCC=`test $ac_compiler_gnu = yes && echo yes`
2637 ac_test_CFLAGS=${CFLAGS+set}
2638 ac_save_CFLAGS=$CFLAGS
2640 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2641 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2642 if test "${ac_cv_prog_cc_g+set}" = set; then
2643 echo $ECHO_N "(cached) $ECHO_C" >&6
2645 cat >conftest.$ac_ext <<_ACEOF
2648 cat confdefs.h >>conftest.$ac_ext
2649 cat >>conftest.$ac_ext <<_ACEOF
2650 /* end confdefs.h. */
2660 rm -f conftest.$ac_objext
2661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2662 (eval $ac_compile) 2>conftest.er1
2664 grep -v '^ *+' conftest.er1 >conftest.err
2666 cat conftest.err >&5
2667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668 (exit $ac_status); } &&
2669 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2674 (exit $ac_status); }; } &&
2675 { ac_try='test -s conftest.$ac_objext'
2676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); }; }; then
2683 echo "$as_me: failed program was:" >&5
2684 sed 's/^/| /' conftest.$ac_ext >&5
2688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2690 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2691 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2692 if test "$ac_test_CFLAGS" = set; then
2693 CFLAGS=$ac_save_CFLAGS
2694 elif test $ac_cv_prog_cc_g = yes; then
2695 if test "$GCC" = yes; then
2701 if test "$GCC" = yes; then
2707 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2708 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2709 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2710 echo $ECHO_N "(cached) $ECHO_C" >&6
2712 ac_cv_prog_cc_stdc=no
2714 cat >conftest.$ac_ext <<_ACEOF
2717 cat confdefs.h >>conftest.$ac_ext
2718 cat >>conftest.$ac_ext <<_ACEOF
2719 /* end confdefs.h. */
2722 #include <sys/types.h>
2723 #include <sys/stat.h>
2724 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2725 struct buf { int x; };
2726 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2727 static char *e (p, i)
2733 static char *f (char * (*g) (char **, int), char **p, ...)
2738 s = g (p, va_arg (v,int));
2743 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2744 function prototypes and stuff, but not '\xHH' hex character constants.
2745 These don't provoke an error unfortunately, instead are silently treated
2746 as 'x'. The following induces an error, until -std1 is added to get
2747 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2748 array size at least. It's necessary to write '\x00'==0 to get something
2749 that's true only with -std1. */
2750 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2752 int test (int i, double x);
2753 struct s1 {int (*f) (int a);};
2754 struct s2 {int (*f) (double a);};
2755 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2761 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2766 # Don't try gcc -ansi; that turns off useful extensions and
2767 # breaks some systems' header files.
2768 # AIX -qlanglvl=ansi
2769 # Ultrix and OSF/1 -std1
2770 # HP-UX 10.20 and later -Ae
2771 # HP-UX older versions -Aa -D_HPUX_SOURCE
2772 # SVR4 -Xc -D__EXTENSIONS__
2773 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2775 CC="$ac_save_CC $ac_arg"
2776 rm -f conftest.$ac_objext
2777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2778 (eval $ac_compile) 2>conftest.er1
2780 grep -v '^ *+' conftest.er1 >conftest.err
2782 cat conftest.err >&5
2783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784 (exit $ac_status); } &&
2785 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); }; } &&
2791 { ac_try='test -s conftest.$ac_objext'
2792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796 (exit $ac_status); }; }; then
2797 ac_cv_prog_cc_stdc=$ac_arg
2800 echo "$as_me: failed program was:" >&5
2801 sed 's/^/| /' conftest.$ac_ext >&5
2804 rm -f conftest.err conftest.$ac_objext
2806 rm -f conftest.$ac_ext conftest.$ac_objext
2811 case "x$ac_cv_prog_cc_stdc" in
2813 echo "$as_me:$LINENO: result: none needed" >&5
2814 echo "${ECHO_T}none needed" >&6 ;;
2816 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2817 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2818 CC="$CC $ac_cv_prog_cc_stdc" ;;
2821 # Some people use a C++ compiler to compile C. Since we use `exit',
2822 # in C++ we need to declare it. In case someone uses the same compiler
2823 # for both compiling C and C++ we need to have the C++ compiler decide
2824 # the declaration of exit, since it's the most demanding environment.
2825 cat >conftest.$ac_ext <<_ACEOF
2830 rm -f conftest.$ac_objext
2831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2832 (eval $ac_compile) 2>conftest.er1
2834 grep -v '^ *+' conftest.er1 >conftest.err
2836 cat conftest.err >&5
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); } &&
2839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); }; } &&
2845 { ac_try='test -s conftest.$ac_objext'
2846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); }; }; then
2851 for ac_declaration in \
2853 'extern "C" void std::exit (int) throw (); using std::exit;' \
2854 'extern "C" void std::exit (int); using std::exit;' \
2855 'extern "C" void exit (int) throw ();' \
2856 'extern "C" void exit (int);' \
2859 cat >conftest.$ac_ext <<_ACEOF
2862 cat confdefs.h >>conftest.$ac_ext
2863 cat >>conftest.$ac_ext <<_ACEOF
2864 /* end confdefs.h. */
2875 rm -f conftest.$ac_objext
2876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2877 (eval $ac_compile) 2>conftest.er1
2879 grep -v '^ *+' conftest.er1 >conftest.err
2881 cat conftest.err >&5
2882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883 (exit $ac_status); } &&
2884 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2889 (exit $ac_status); }; } &&
2890 { ac_try='test -s conftest.$ac_objext'
2891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 (exit $ac_status); }; }; then
2898 echo "$as_me: failed program was:" >&5
2899 sed 's/^/| /' conftest.$ac_ext >&5
2903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2904 cat >conftest.$ac_ext <<_ACEOF
2907 cat confdefs.h >>conftest.$ac_ext
2908 cat >>conftest.$ac_ext <<_ACEOF
2909 /* end confdefs.h. */
2919 rm -f conftest.$ac_objext
2920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2921 (eval $ac_compile) 2>conftest.er1
2923 grep -v '^ *+' conftest.er1 >conftest.err
2925 cat conftest.err >&5
2926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); } &&
2928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); }; } &&
2934 { ac_try='test -s conftest.$ac_objext'
2935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); }; }; then
2942 echo "$as_me: failed program was:" >&5
2943 sed 's/^/| /' conftest.$ac_ext >&5
2946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2949 if test -n "$ac_declaration"; then
2950 echo '#ifdef __cplusplus' >>confdefs.h
2951 echo $ac_declaration >>confdefs.h
2952 echo '#endif' >>confdefs.h
2956 echo "$as_me: failed program was:" >&5
2957 sed 's/^/| /' conftest.$ac_ext >&5
2960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2962 ac_cpp='$CPP $CPPFLAGS'
2963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2971 # Add -Wall if we are using GCC.
2972 if test "x$GCC" = "xyes"; then
2973 CFLAGS="$CFLAGS -Wall"
2976 # Find other programs we need.
2977 if test -n "$ac_tool_prefix"; then
2978 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2979 set dummy ${ac_tool_prefix}as; ac_word=$2
2980 echo "$as_me:$LINENO: checking for $ac_word" >&5
2981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2982 if test "${ac_cv_prog_AS+set}" = set; then
2983 echo $ECHO_N "(cached) $ECHO_C" >&6
2985 if test -n "$AS"; then
2986 ac_cv_prog_AS="$AS" # Let the user override the test.
2988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2992 test -z "$as_dir" && as_dir=.
2993 for ac_exec_ext in '' $ac_executable_extensions; do
2994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2995 ac_cv_prog_AS="${ac_tool_prefix}as"
2996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3005 if test -n "$AS"; then
3006 echo "$as_me:$LINENO: result: $AS" >&5
3007 echo "${ECHO_T}$AS" >&6
3009 echo "$as_me:$LINENO: result: no" >&5
3010 echo "${ECHO_T}no" >&6
3014 if test -z "$ac_cv_prog_AS"; then
3016 # Extract the first word of "as", so it can be a program name with args.
3017 set dummy as; ac_word=$2
3018 echo "$as_me:$LINENO: checking for $ac_word" >&5
3019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3020 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3021 echo $ECHO_N "(cached) $ECHO_C" >&6
3023 if test -n "$ac_ct_AS"; then
3024 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3030 test -z "$as_dir" && as_dir=.
3031 for ac_exec_ext in '' $ac_executable_extensions; do
3032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3033 ac_cv_prog_ac_ct_AS="as"
3034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3042 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3043 if test -n "$ac_ct_AS"; then
3044 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3045 echo "${ECHO_T}$ac_ct_AS" >&6
3047 echo "$as_me:$LINENO: result: no" >&5
3048 echo "${ECHO_T}no" >&6
3056 if test -n "$ac_tool_prefix"; then
3057 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3058 set dummy ${ac_tool_prefix}ar; ac_word=$2
3059 echo "$as_me:$LINENO: checking for $ac_word" >&5
3060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3061 if test "${ac_cv_prog_AR+set}" = set; then
3062 echo $ECHO_N "(cached) $ECHO_C" >&6
3064 if test -n "$AR"; then
3065 ac_cv_prog_AR="$AR" # Let the user override the test.
3067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3071 test -z "$as_dir" && as_dir=.
3072 for ac_exec_ext in '' $ac_executable_extensions; do
3073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3074 ac_cv_prog_AR="${ac_tool_prefix}ar"
3075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3084 if test -n "$AR"; then
3085 echo "$as_me:$LINENO: result: $AR" >&5
3086 echo "${ECHO_T}$AR" >&6
3088 echo "$as_me:$LINENO: result: no" >&5
3089 echo "${ECHO_T}no" >&6
3093 if test -z "$ac_cv_prog_AR"; then
3095 # Extract the first word of "ar", so it can be a program name with args.
3096 set dummy ar; ac_word=$2
3097 echo "$as_me:$LINENO: checking for $ac_word" >&5
3098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3099 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3100 echo $ECHO_N "(cached) $ECHO_C" >&6
3102 if test -n "$ac_ct_AR"; then
3103 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3109 test -z "$as_dir" && as_dir=.
3110 for ac_exec_ext in '' $ac_executable_extensions; do
3111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3112 ac_cv_prog_ac_ct_AR="ar"
3113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3121 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3122 if test -n "$ac_ct_AR"; then
3123 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3124 echo "${ECHO_T}$ac_ct_AR" >&6
3126 echo "$as_me:$LINENO: result: no" >&5
3127 echo "${ECHO_T}no" >&6
3135 if test -n "$ac_tool_prefix"; then
3136 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3137 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3138 echo "$as_me:$LINENO: checking for $ac_word" >&5
3139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3140 if test "${ac_cv_prog_RANLIB+set}" = set; then
3141 echo $ECHO_N "(cached) $ECHO_C" >&6
3143 if test -n "$RANLIB"; then
3144 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3150 test -z "$as_dir" && as_dir=.
3151 for ac_exec_ext in '' $ac_executable_extensions; do
3152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3153 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3162 RANLIB=$ac_cv_prog_RANLIB
3163 if test -n "$RANLIB"; then
3164 echo "$as_me:$LINENO: result: $RANLIB" >&5
3165 echo "${ECHO_T}$RANLIB" >&6
3167 echo "$as_me:$LINENO: result: no" >&5
3168 echo "${ECHO_T}no" >&6
3172 if test -z "$ac_cv_prog_RANLIB"; then
3173 ac_ct_RANLIB=$RANLIB
3174 # Extract the first word of "ranlib", so it can be a program name with args.
3175 set dummy ranlib; ac_word=$2
3176 echo "$as_me:$LINENO: checking for $ac_word" >&5
3177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3178 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3179 echo $ECHO_N "(cached) $ECHO_C" >&6
3181 if test -n "$ac_ct_RANLIB"; then
3182 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3188 test -z "$as_dir" && as_dir=.
3189 for ac_exec_ext in '' $ac_executable_extensions; do
3190 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3191 ac_cv_prog_ac_ct_RANLIB="ranlib"
3192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3198 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3201 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3202 if test -n "$ac_ct_RANLIB"; then
3203 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3204 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3206 echo "$as_me:$LINENO: result: no" >&5
3207 echo "${ECHO_T}no" >&6
3210 RANLIB=$ac_ct_RANLIB
3212 RANLIB="$ac_cv_prog_RANLIB"
3215 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3216 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3217 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3218 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3219 echo $ECHO_N "(cached) $ECHO_C" >&6
3221 cat >conftest.make <<\_ACEOF
3223 @echo 'ac_maketemp="$(MAKE)"'
3225 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3226 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3227 if test -n "$ac_maketemp"; then
3228 eval ac_cv_prog_make_${ac_make}_set=yes
3230 eval ac_cv_prog_make_${ac_make}_set=no
3234 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3235 echo "$as_me:$LINENO: result: yes" >&5
3236 echo "${ECHO_T}yes" >&6
3239 echo "$as_me:$LINENO: result: no" >&5
3240 echo "${ECHO_T}no" >&6
3241 SET_MAKE="MAKE=${MAKE-make}"
3244 # Find a good install program. We prefer a C program (faster),
3245 # so one script is as good as another. But avoid the broken or
3246 # incompatible versions:
3247 # SysV /etc/install, /usr/sbin/install
3248 # SunOS /usr/etc/install
3249 # IRIX /sbin/install
3251 # AmigaOS /C/install, which installs bootblocks on floppy discs
3252 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3253 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3254 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3255 # OS/2's system install, which has a completely different semantic
3256 # ./install, which can be erroneously created by make from ./install.sh.
3257 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3258 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3259 if test -z "$INSTALL"; then
3260 if test "${ac_cv_path_install+set}" = set; then
3261 echo $ECHO_N "(cached) $ECHO_C" >&6
3263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3267 test -z "$as_dir" && as_dir=.
3268 # Account for people who put trailing slashes in PATH elements.
3270 ./ | .// | /cC/* | \
3271 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3272 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3275 # OSF1 and SCO ODT 3.0 have their own names for install.
3276 # Don't use installbsd from OSF since it installs stuff as root
3278 for ac_prog in ginstall scoinst install; do
3279 for ac_exec_ext in '' $ac_executable_extensions; do
3280 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3281 if test $ac_prog = install &&
3282 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3283 # AIX install. It has an incompatible calling convention.
3285 elif test $ac_prog = install &&
3286 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3287 # program-specific install script used by HP pwplus--don't use.
3290 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3302 if test "${ac_cv_path_install+set}" = set; then
3303 INSTALL=$ac_cv_path_install
3305 # As a last resort, use the slow shell script. We don't cache a
3306 # path for INSTALL within a source directory, because that will
3307 # break other packages using the cache if that directory is
3308 # removed, or if the path is relative.
3309 INSTALL=$ac_install_sh
3312 echo "$as_me:$LINENO: result: $INSTALL" >&5
3313 echo "${ECHO_T}$INSTALL" >&6
3315 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3316 # It thinks the first close brace ends the variable substitution.
3317 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3319 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3321 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3325 #AC_MSG_NOTICE([====== Starting libtool configuration])
3327 # Check whether --enable-shared or --disable-shared was given.
3328 if test "${enable_shared+set}" = set; then
3329 enableval="$enable_shared"
3330 p=${PACKAGE-default}
3332 yes) enable_shared=yes ;;
3333 no) enable_shared=no ;;
3336 # Look at the argument we got. We use all the common list separators.
3337 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3338 for pkg in $enableval; do
3339 if test "X$pkg" = "X$p"; then
3349 # Check whether --enable-static or --disable-static was given.
3350 if test "${enable_static+set}" = set; then
3351 enableval="$enable_static"
3352 p=${PACKAGE-default}
3354 yes) enable_static=yes ;;
3355 no) enable_static=no ;;
3358 # Look at the argument we got. We use all the common list separators.
3359 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3360 for pkg in $enableval; do
3361 if test "X$pkg" = "X$p"; then
3371 # Check whether --enable-fast-install or --disable-fast-install was given.
3372 if test "${enable_fast_install+set}" = set; then
3373 enableval="$enable_fast_install"
3374 p=${PACKAGE-default}
3376 yes) enable_fast_install=yes ;;
3377 no) enable_fast_install=no ;;
3379 enable_fast_install=no
3380 # Look at the argument we got. We use all the common list separators.
3381 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3382 for pkg in $enableval; do
3383 if test "X$pkg" = "X$p"; then
3384 enable_fast_install=yes
3391 enable_fast_install=yes
3394 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3395 if test "${with_gnu_ld+set}" = set; then
3396 withval="$with_gnu_ld"
3397 test "$withval" = no || with_gnu_ld=yes
3402 if test "$GCC" = yes; then
3403 # Check if gcc -print-prog-name=ld gives a path.
3404 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3405 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3408 # gcc leaves a trailing carriage return which upsets mingw
3409 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3411 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3414 # Accept absolute paths.
3415 [\\/]* | [A-Za-z]:[\\/]*)
3416 re_direlt='/[^/][^/]*/\.\./'
3417 # Canonicalize the path of ld
3418 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3419 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3420 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3422 test -z "$LD" && LD="$ac_prog"
3425 # If it fails, then pretend we aren't using GCC.
3429 # If it is relative, then search for the first ld in PATH.
3433 elif test "$with_gnu_ld" = yes; then
3434 echo "$as_me:$LINENO: checking for GNU ld" >&5
3435 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3437 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3438 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3440 if test "${lt_cv_path_LD+set}" = set; then
3441 echo $ECHO_N "(cached) $ECHO_C" >&6
3443 if test -z "$LD"; then
3444 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3445 for ac_dir in $PATH; do
3446 test -z "$ac_dir" && ac_dir=.
3447 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3448 lt_cv_path_LD="$ac_dir/$ac_prog"
3449 # Check to see if the program is GNU ld. I'd rather use --version,
3450 # but apparently some GNU ld's only accept -v.
3451 # Break only if it was the GNU/non-GNU ld that we prefer.
3452 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3453 test "$with_gnu_ld" != no && break
3455 test "$with_gnu_ld" != yes && break
3461 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3466 if test -n "$LD"; then
3467 echo "$as_me:$LINENO: result: $LD" >&5
3468 echo "${ECHO_T}$LD" >&6
3470 echo "$as_me:$LINENO: result: no" >&5
3471 echo "${ECHO_T}no" >&6
3473 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3474 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3475 { (exit 1); exit 1; }; }
3476 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3477 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3478 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3479 echo $ECHO_N "(cached) $ECHO_C" >&6
3481 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3482 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3483 lt_cv_prog_gnu_ld=yes
3485 lt_cv_prog_gnu_ld=no
3488 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3489 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3490 with_gnu_ld=$lt_cv_prog_gnu_ld
3493 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3494 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3495 if test "${lt_cv_ld_reload_flag+set}" = set; then
3496 echo $ECHO_N "(cached) $ECHO_C" >&6
3498 lt_cv_ld_reload_flag='-r'
3500 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3501 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3502 reload_flag=$lt_cv_ld_reload_flag
3503 test -n "$reload_flag" && reload_flag=" $reload_flag"
3505 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3506 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3507 if test "${lt_cv_path_NM+set}" = set; then
3508 echo $ECHO_N "(cached) $ECHO_C" >&6
3510 if test -n "$NM"; then
3511 # Let the user override the test.
3514 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3515 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3516 test -z "$ac_dir" && ac_dir=.
3517 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3518 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3519 # Check to see if the nm accepts a BSD-compat flag.
3520 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3521 # nm: unknown option "B" ignored
3522 # Tru64's nm complains that /dev/null is an invalid object file
3523 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3524 lt_cv_path_NM="$tmp_nm -B"
3526 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3527 lt_cv_path_NM="$tmp_nm -p"
3530 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3531 continue # so that we can try to find one that supports BSD flags
3536 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3541 echo "$as_me:$LINENO: result: $NM" >&5
3542 echo "${ECHO_T}$NM" >&6
3544 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3545 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3547 if test "$LN_S" = "ln -s"; then
3548 echo "$as_me:$LINENO: result: yes" >&5
3549 echo "${ECHO_T}yes" >&6
3551 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3552 echo "${ECHO_T}no, using $LN_S" >&6
3555 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3556 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3557 if test "${lt_cv_deplibs_check_method+set}" = set; then
3558 echo $ECHO_N "(cached) $ECHO_C" >&6
3560 lt_cv_file_magic_cmd='$MAGIC_CMD'
3561 lt_cv_file_magic_test_file=
3562 lt_cv_deplibs_check_method='unknown'
3563 # Need to set the preceding variable on all platforms that support
3564 # interlibrary dependencies.
3565 # 'none' -- dependencies not supported.
3566 # `unknown' -- same as none, but documents that we really don't know.
3567 # 'pass_all' -- all dependencies passed with no checks.
3568 # 'test_compile' -- check by making test program.
3569 # 'file_magic [regex]' -- check by looking for files in library path
3570 # which responds to the $file_magic_cmd with a given egrep regex.
3571 # If you have `file' or equivalent on your system and you're not sure
3572 # whether `pass_all' will *always* work, you probably want this one.
3576 lt_cv_deplibs_check_method=pass_all
3580 lt_cv_deplibs_check_method=pass_all
3584 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3585 lt_cv_file_magic_cmd='/usr/bin/file -L'
3586 lt_cv_file_magic_test_file=/shlib/libc.so
3589 cygwin* | mingw* |pw32*)
3590 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3591 lt_cv_file_magic_cmd='$OBJDUMP -f'
3594 darwin* | rhapsody*)
3595 # this will be overwritten by pass_all, but leave it in just in case
3596 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3597 lt_cv_file_magic_cmd='/usr/bin/file -L'
3599 rhapsody* | darwin1.012)
3600 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3603 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3606 lt_cv_deplibs_check_method=pass_all
3609 freebsd* | kfreebsd*-gnu)
3610 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3613 # Not sure whether the presence of OpenBSD here was a mistake.
3614 # Let's accept both of them until this is cleared up.
3615 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3616 lt_cv_file_magic_cmd=/usr/bin/file
3617 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3621 lt_cv_deplibs_check_method=pass_all
3626 lt_cv_deplibs_check_method=pass_all
3632 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3633 lt_cv_file_magic_cmd=/usr/bin/file
3634 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3637 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3638 lt_cv_file_magic_cmd=/usr/bin/file
3639 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3647 # this will be overridden with pass_all, but let us keep it just in case
3648 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3652 *-32|*"-32 ") libmagic=32-bit;;
3653 *-n32|*"-n32 ") libmagic=N32;;
3654 *-64|*"-64 ") libmagic=64-bit;;
3655 *) libmagic=never-match;;
3657 # this will be overridden with pass_all, but let us keep it just in case
3658 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3661 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3662 lt_cv_deplibs_check_method=pass_all
3665 # This must be Linux ELF.
3667 lt_cv_deplibs_check_method=pass_all
3670 netbsd* | knetbsd*-gnu)
3671 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3672 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3674 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3679 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3680 lt_cv_file_magic_cmd=/usr/bin/file
3681 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3684 osf3* | osf4* | osf5*)
3685 # this will be overridden with pass_all, but let us keep it just in case
3686 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3687 lt_cv_file_magic_test_file=/shlib/libc.so
3688 lt_cv_deplibs_check_method=pass_all
3692 lt_cv_deplibs_check_method=pass_all
3696 lt_cv_deplibs_check_method=pass_all
3697 lt_cv_file_magic_test_file=/lib/libc.so
3700 sysv5uw[78]* | sysv4*uw2*)
3701 lt_cv_deplibs_check_method=pass_all
3704 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3705 case $host_vendor in
3707 lt_cv_deplibs_check_method=pass_all
3710 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]'
3711 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3718 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3719 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3720 file_magic_cmd=$lt_cv_file_magic_cmd
3721 deplibs_check_method=$lt_cv_deplibs_check_method
3727 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3729 # Only perform the check for file, if the check method requires it
3730 case $deplibs_check_method in
3732 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3733 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3734 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3735 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3736 echo $ECHO_N "(cached) $ECHO_C" >&6
3740 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3743 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3746 ac_save_MAGIC_CMD="$MAGIC_CMD"
3747 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3748 ac_dummy="/usr/bin:$PATH"
3749 for ac_dir in $ac_dummy; do
3750 test -z "$ac_dir" && ac_dir=.
3751 if test -f $ac_dir/${ac_tool_prefix}file; then
3752 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3753 if test -n "$file_magic_test_file"; then
3754 case $deplibs_check_method in
3756 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3757 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3758 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3759 egrep "$file_magic_regex" > /dev/null; then
3764 *** Warning: the command libtool uses to detect shared libraries,
3765 *** $file_magic_cmd, produces output that libtool cannot recognize.
3766 *** The result is that libtool may fail to recognize shared libraries
3767 *** as such. This will affect the creation of libtool libraries that
3768 *** depend on shared libraries, but programs linked with such libtool
3769 *** libraries will work regardless of this problem. Nevertheless, you
3770 *** may want to report the problem to your system manager and/or to
3771 *** bug-libtool@gnu.org
3781 MAGIC_CMD="$ac_save_MAGIC_CMD"
3786 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3787 if test -n "$MAGIC_CMD"; then
3788 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3789 echo "${ECHO_T}$MAGIC_CMD" >&6
3791 echo "$as_me:$LINENO: result: no" >&5
3792 echo "${ECHO_T}no" >&6
3795 if test -z "$lt_cv_path_MAGIC_CMD"; then
3796 if test -n "$ac_tool_prefix"; then
3797 echo "$as_me:$LINENO: checking for file" >&5
3798 echo $ECHO_N "checking for file... $ECHO_C" >&6
3799 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3800 echo $ECHO_N "(cached) $ECHO_C" >&6
3804 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3807 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3810 ac_save_MAGIC_CMD="$MAGIC_CMD"
3811 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3812 ac_dummy="/usr/bin:$PATH"
3813 for ac_dir in $ac_dummy; do
3814 test -z "$ac_dir" && ac_dir=.
3815 if test -f $ac_dir/file; then
3816 lt_cv_path_MAGIC_CMD="$ac_dir/file"
3817 if test -n "$file_magic_test_file"; then
3818 case $deplibs_check_method in
3820 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3821 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3822 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3823 egrep "$file_magic_regex" > /dev/null; then
3828 *** Warning: the command libtool uses to detect shared libraries,
3829 *** $file_magic_cmd, produces output that libtool cannot recognize.
3830 *** The result is that libtool may fail to recognize shared libraries
3831 *** as such. This will affect the creation of libtool libraries that
3832 *** depend on shared libraries, but programs linked with such libtool
3833 *** libraries will work regardless of this problem. Nevertheless, you
3834 *** may want to report the problem to your system manager and/or to
3835 *** bug-libtool@gnu.org
3845 MAGIC_CMD="$ac_save_MAGIC_CMD"
3850 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3851 if test -n "$MAGIC_CMD"; then
3852 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3853 echo "${ECHO_T}$MAGIC_CMD" >&6
3855 echo "$as_me:$LINENO: result: no" >&5
3856 echo "${ECHO_T}no" >&6
3868 if test -n "$ac_tool_prefix"; then
3869 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3870 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3871 echo "$as_me:$LINENO: checking for $ac_word" >&5
3872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3873 if test "${ac_cv_prog_RANLIB+set}" = set; then
3874 echo $ECHO_N "(cached) $ECHO_C" >&6
3876 if test -n "$RANLIB"; then
3877 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3883 test -z "$as_dir" && as_dir=.
3884 for ac_exec_ext in '' $ac_executable_extensions; do
3885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3886 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3895 RANLIB=$ac_cv_prog_RANLIB
3896 if test -n "$RANLIB"; then
3897 echo "$as_me:$LINENO: result: $RANLIB" >&5
3898 echo "${ECHO_T}$RANLIB" >&6
3900 echo "$as_me:$LINENO: result: no" >&5
3901 echo "${ECHO_T}no" >&6
3905 if test -z "$ac_cv_prog_RANLIB"; then
3906 ac_ct_RANLIB=$RANLIB
3907 # Extract the first word of "ranlib", so it can be a program name with args.
3908 set dummy ranlib; ac_word=$2
3909 echo "$as_me:$LINENO: checking for $ac_word" >&5
3910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3911 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3912 echo $ECHO_N "(cached) $ECHO_C" >&6
3914 if test -n "$ac_ct_RANLIB"; then
3915 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3921 test -z "$as_dir" && as_dir=.
3922 for ac_exec_ext in '' $ac_executable_extensions; do
3923 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3924 ac_cv_prog_ac_ct_RANLIB="ranlib"
3925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3931 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3934 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3935 if test -n "$ac_ct_RANLIB"; then
3936 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3937 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3939 echo "$as_me:$LINENO: result: no" >&5
3940 echo "${ECHO_T}no" >&6
3943 RANLIB=$ac_ct_RANLIB
3945 RANLIB="$ac_cv_prog_RANLIB"
3948 if test -n "$ac_tool_prefix"; then
3949 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3950 set dummy ${ac_tool_prefix}strip; ac_word=$2
3951 echo "$as_me:$LINENO: checking for $ac_word" >&5
3952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3953 if test "${ac_cv_prog_STRIP+set}" = set; then
3954 echo $ECHO_N "(cached) $ECHO_C" >&6
3956 if test -n "$STRIP"; then
3957 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3963 test -z "$as_dir" && as_dir=.
3964 for ac_exec_ext in '' $ac_executable_extensions; do
3965 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3966 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3975 STRIP=$ac_cv_prog_STRIP
3976 if test -n "$STRIP"; then
3977 echo "$as_me:$LINENO: result: $STRIP" >&5
3978 echo "${ECHO_T}$STRIP" >&6
3980 echo "$as_me:$LINENO: result: no" >&5
3981 echo "${ECHO_T}no" >&6
3985 if test -z "$ac_cv_prog_STRIP"; then
3987 # Extract the first word of "strip", so it can be a program name with args.
3988 set dummy strip; ac_word=$2
3989 echo "$as_me:$LINENO: checking for $ac_word" >&5
3990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3991 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3992 echo $ECHO_N "(cached) $ECHO_C" >&6
3994 if test -n "$ac_ct_STRIP"; then
3995 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4001 test -z "$as_dir" && as_dir=.
4002 for ac_exec_ext in '' $ac_executable_extensions; do
4003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4004 ac_cv_prog_ac_ct_STRIP="strip"
4005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4011 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4014 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4015 if test -n "$ac_ct_STRIP"; then
4016 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4017 echo "${ECHO_T}$ac_ct_STRIP" >&6
4019 echo "$as_me:$LINENO: result: no" >&5
4020 echo "${ECHO_T}no" >&6
4025 STRIP="$ac_cv_prog_STRIP"
4029 # Check for any special flags to pass to ltconfig.
4030 libtool_flags="--cache-file=$cache_file"
4031 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4032 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4033 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4034 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4035 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4038 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4039 if test "${enable_libtool_lock+set}" = set; then
4040 enableval="$enable_libtool_lock"
4043 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4044 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4047 # Check whether --with-pic or --without-pic was given.
4048 if test "${with_pic+set}" = set; then
4054 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4055 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4057 # Some flags need to be propagated to the compiler or linker for good
4061 # Find out which ABI we are using.
4062 echo '#line 4062 "configure"' > conftest.$ac_ext
4063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4064 (eval $ac_compile) 2>&5
4066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4067 (exit $ac_status); }; then
4068 if test "$lt_cv_prog_gnu_ld" = yes; then
4069 case `/usr/bin/file conftest.$ac_objext` in
4071 LD="${LD-ld} -melf32bsmip"
4074 LD="${LD-ld} -melf32bmipn32"
4077 LD="${LD-ld} -melf64bmip"
4081 case `/usr/bin/file conftest.$ac_objext` in
4098 # Find out which ABI we are using.
4099 echo 'int i;' > conftest.$ac_ext
4100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4101 (eval $ac_compile) 2>&5
4103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4104 (exit $ac_status); }; then
4105 case "`/usr/bin/file conftest.o`" in
4117 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4118 # Find out which ABI we are using.
4119 echo 'int i;' > conftest.$ac_ext
4120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4121 (eval $ac_compile) 2>&5
4123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4124 (exit $ac_status); }; then
4125 case "`/usr/bin/file conftest.o`" in
4129 LD="${LD-ld} -m elf_i386"
4131 ppc64-*linux*|powerpc64-*linux*)
4132 LD="${LD-ld} -m elf32ppclinux"
4135 LD="${LD-ld} -m elf_s390"
4138 LD="${LD-ld} -m elf32_sparc"
4145 LD="${LD-ld} -m elf_x86_64"
4147 ppc*-*linux*|powerpc*-*linux*)
4148 LD="${LD-ld} -m elf64ppc"
4151 LD="${LD-ld} -m elf64_s390"
4154 LD="${LD-ld} -m elf64_sparc"
4164 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4165 SAVE_CFLAGS="$CFLAGS"
4166 CFLAGS="$CFLAGS -belf"
4167 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4168 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4169 if test "${lt_cv_cc_needs_belf+set}" = set; then
4170 echo $ECHO_N "(cached) $ECHO_C" >&6
4175 ac_cpp='$CPP $CPPFLAGS'
4176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4180 if test x$gcc_no_link = xyes; then
4181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4183 { (exit 1); exit 1; }; }
4185 cat >conftest.$ac_ext <<_ACEOF
4188 cat confdefs.h >>conftest.$ac_ext
4189 cat >>conftest.$ac_ext <<_ACEOF
4190 /* end confdefs.h. */
4200 rm -f conftest.$ac_objext conftest$ac_exeext
4201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4202 (eval $ac_link) 2>conftest.er1
4204 grep -v '^ *+' conftest.er1 >conftest.err
4206 cat conftest.err >&5
4207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4208 (exit $ac_status); } &&
4209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); }; } &&
4215 { ac_try='test -s conftest$ac_exeext'
4216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4220 (exit $ac_status); }; }; then
4221 lt_cv_cc_needs_belf=yes
4223 echo "$as_me: failed program was:" >&5
4224 sed 's/^/| /' conftest.$ac_ext >&5
4226 lt_cv_cc_needs_belf=no
4228 rm -f conftest.err conftest.$ac_objext \
4229 conftest$ac_exeext conftest.$ac_ext
4231 ac_cpp='$CPP $CPPFLAGS'
4232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4237 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4238 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4239 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4240 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4241 CFLAGS="$SAVE_CFLAGS"
4249 # Save cache, so that ltconfig can load it
4250 cat >confcache <<\_ACEOF
4251 # This file is a shell script that caches the results of configure
4252 # tests run on this system so they can be shared between configure
4253 # scripts and configure runs, see configure's option --config-cache.
4254 # It is not useful on other systems. If it contains results you don't
4255 # want to keep, you may remove or edit it.
4257 # config.status only pays attention to the cache file if you give it
4258 # the --recheck option to rerun configure.
4260 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4261 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4266 # The following way of writing the cache mishandles newlines in values,
4267 # but we know of no workaround that is simple, portable, and efficient.
4268 # So, don't put newlines in cache variables' values.
4269 # Ultrix sh set writes to stderr and can't be redirected directly,
4270 # and sets the high bit in the cache file unless we assign to the vars.
4273 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4275 # `set' does not quote correctly, so add quotes (double-quote
4276 # substitution turns \\\\ into \\, and sed turns \\ into \).
4279 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4282 # `set' quotes correctly as required by POSIX, so do not add quotes.
4284 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4291 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4293 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4295 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4296 if test -w $cache_file; then
4297 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4298 cat confcache >$cache_file
4300 echo "not updating unwritable cache $cache_file"
4305 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4306 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4307 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4308 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4309 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4310 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4311 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4312 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4313 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4314 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4315 echo "$as_me: error: libtool configure failed" >&2;}
4316 { (exit 1); exit 1; }; }
4318 # Reload cache, that may have been modified by ltconfig
4319 if test -r "$cache_file"; then
4320 # Some versions of bash will fail to source /dev/null (special
4321 # files actually), so we avoid doing that.
4322 if test -f "$cache_file"; then
4323 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4324 echo "$as_me: loading cache $cache_file" >&6;}
4326 [\\/]* | ?:[\\/]* ) . $cache_file;;
4327 *) . ./$cache_file;;
4331 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4332 echo "$as_me: creating cache $cache_file" >&6;}
4337 # This can be used to rebuild libtool when needed
4338 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4340 # Always use our own libtool.
4341 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4343 # Redirect the config.log output again, so that the ltconfig log is not
4344 # clobbered by the next message.
4345 exec 5>>./config.log
4354 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4356 # We need gfortran to compile parts of the library
4357 # We can't use AC_PROG_FC because it expects a fully working gfortran.
4358 #AC_PROG_FC(gfortran)
4360 ac_ext=${FC_SRCEXT-f}
4361 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4362 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4363 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4364 if test -n "$ac_tool_prefix"; then
4365 for ac_prog in gfortran
4367 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4368 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4369 echo "$as_me:$LINENO: checking for $ac_word" >&5
4370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4371 if test "${ac_cv_prog_FC+set}" = set; then
4372 echo $ECHO_N "(cached) $ECHO_C" >&6
4374 if test -n "$FC"; then
4375 ac_cv_prog_FC="$FC" # Let the user override the test.
4377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4381 test -z "$as_dir" && as_dir=.
4382 for ac_exec_ext in '' $ac_executable_extensions; do
4383 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4384 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4394 if test -n "$FC"; then
4395 echo "$as_me:$LINENO: result: $FC" >&5
4396 echo "${ECHO_T}$FC" >&6
4398 echo "$as_me:$LINENO: result: no" >&5
4399 echo "${ECHO_T}no" >&6
4402 test -n "$FC" && break
4405 if test -z "$FC"; then
4407 for ac_prog in gfortran
4409 # Extract the first word of "$ac_prog", so it can be a program name with args.
4410 set dummy $ac_prog; ac_word=$2
4411 echo "$as_me:$LINENO: checking for $ac_word" >&5
4412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4413 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4414 echo $ECHO_N "(cached) $ECHO_C" >&6
4416 if test -n "$ac_ct_FC"; then
4417 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4423 test -z "$as_dir" && as_dir=.
4424 for ac_exec_ext in '' $ac_executable_extensions; do
4425 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4426 ac_cv_prog_ac_ct_FC="$ac_prog"
4427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4435 ac_ct_FC=$ac_cv_prog_ac_ct_FC
4436 if test -n "$ac_ct_FC"; then
4437 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4438 echo "${ECHO_T}$ac_ct_FC" >&6
4440 echo "$as_me:$LINENO: result: no" >&5
4441 echo "${ECHO_T}no" >&6
4444 test -n "$ac_ct_FC" && break
4451 # Provide some information about the compiler.
4452 echo "$as_me:4452:" \
4453 "checking for Fortran compiler version" >&5
4454 ac_compiler=`set X $ac_compile; echo $2`
4455 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4456 (eval $ac_compiler --version </dev/null >&5) 2>&5
4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459 (exit $ac_status); }
4460 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4461 (eval $ac_compiler -v </dev/null >&5) 2>&5
4463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); }
4465 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4466 (eval $ac_compiler -V </dev/null >&5) 2>&5
4468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4469 (exit $ac_status); }
4472 # If we don't use `.F' as extension, the preprocessor is not run on the
4473 # input file. (Note that this only needs to work for GNU compilers.)
4476 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4477 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4478 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4479 echo $ECHO_N "(cached) $ECHO_C" >&6
4481 cat >conftest.$ac_ext <<_ACEOF
4489 rm -f conftest.$ac_objext
4490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4491 (eval $ac_compile) 2>conftest.er1
4493 grep -v '^ *+' conftest.er1 >conftest.err
4495 cat conftest.err >&5
4496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4497 (exit $ac_status); } &&
4498 { ac_try='test -z "$ac_fc_werror_flag" || test ! -s conftest.err'
4499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503 (exit $ac_status); }; } &&
4504 { ac_try='test -s conftest.$ac_objext'
4505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4509 (exit $ac_status); }; }; then
4512 echo "$as_me: failed program was:" >&5
4513 sed 's/^/| /' conftest.$ac_ext >&5
4517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4518 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4521 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4522 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4524 ac_test_FFLAGS=${FCFLAGS+set}
4525 ac_save_FFLAGS=$FCFLAGS
4527 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4528 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4529 if test "${ac_cv_prog_fc_g+set}" = set; then
4530 echo $ECHO_N "(cached) $ECHO_C" >&6
4533 cat >conftest.$ac_ext <<_ACEOF
4538 rm -f conftest.$ac_objext
4539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4540 (eval $ac_compile) 2>conftest.er1
4542 grep -v '^ *+' conftest.er1 >conftest.err
4544 cat conftest.err >&5
4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); } &&
4547 { ac_try='test -z "$ac_fc_werror_flag" || test ! -s conftest.err'
4548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4552 (exit $ac_status); }; } &&
4553 { ac_try='test -s conftest.$ac_objext'
4554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4558 (exit $ac_status); }; }; then
4561 echo "$as_me: failed program was:" >&5
4562 sed 's/^/| /' conftest.$ac_ext >&5
4566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4569 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4570 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4571 if test "$ac_test_FFLAGS" = set; then
4572 FCFLAGS=$ac_save_FFLAGS
4573 elif test $ac_cv_prog_fc_g = yes; then
4574 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4580 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4588 ac_cpp='$CPP $CPPFLAGS'
4589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4593 FCFLAGS="$FCFLAGS -Wall -fno-repack-arrays -fno-underscoring"
4595 # Check whether --enable-largefile or --disable-largefile was given.
4596 if test "${enable_largefile+set}" = set; then
4597 enableval="$enable_largefile"
4600 if test "$enable_largefile" != no; then
4602 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4603 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4604 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4605 echo $ECHO_N "(cached) $ECHO_C" >&6
4607 ac_cv_sys_largefile_CC=no
4608 if test "$GCC" != yes; then
4611 # IRIX 6.2 and later do not support large files by default,
4612 # so use the C compiler's -n32 option if that helps.
4613 cat >conftest.$ac_ext <<_ACEOF
4616 cat confdefs.h >>conftest.$ac_ext
4617 cat >>conftest.$ac_ext <<_ACEOF
4618 /* end confdefs.h. */
4619 #include <sys/types.h>
4620 /* Check that off_t can represent 2**63 - 1 correctly.
4621 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4622 since some C++ compilers masquerading as C compilers
4623 incorrectly reject 9223372036854775807. */
4624 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4625 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4626 && LARGE_OFF_T % 2147483647 == 1)
4636 rm -f conftest.$ac_objext
4637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4638 (eval $ac_compile) 2>conftest.er1
4640 grep -v '^ *+' conftest.er1 >conftest.err
4642 cat conftest.err >&5
4643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644 (exit $ac_status); } &&
4645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4650 (exit $ac_status); }; } &&
4651 { ac_try='test -s conftest.$ac_objext'
4652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4656 (exit $ac_status); }; }; then
4659 echo "$as_me: failed program was:" >&5
4660 sed 's/^/| /' conftest.$ac_ext >&5
4663 rm -f conftest.err conftest.$ac_objext
4665 rm -f conftest.$ac_objext
4666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4667 (eval $ac_compile) 2>conftest.er1
4669 grep -v '^ *+' conftest.er1 >conftest.err
4671 cat conftest.err >&5
4672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673 (exit $ac_status); } &&
4674 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679 (exit $ac_status); }; } &&
4680 { ac_try='test -s conftest.$ac_objext'
4681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4685 (exit $ac_status); }; }; then
4686 ac_cv_sys_largefile_CC=' -n32'; break
4688 echo "$as_me: failed program was:" >&5
4689 sed 's/^/| /' conftest.$ac_ext >&5
4692 rm -f conftest.err conftest.$ac_objext
4696 rm -f conftest.$ac_ext
4699 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4700 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4701 if test "$ac_cv_sys_largefile_CC" != no; then
4702 CC=$CC$ac_cv_sys_largefile_CC
4705 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4706 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4707 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4708 echo $ECHO_N "(cached) $ECHO_C" >&6
4711 ac_cv_sys_file_offset_bits=no
4712 cat >conftest.$ac_ext <<_ACEOF
4715 cat confdefs.h >>conftest.$ac_ext
4716 cat >>conftest.$ac_ext <<_ACEOF
4717 /* end confdefs.h. */
4718 #include <sys/types.h>
4719 /* Check that off_t can represent 2**63 - 1 correctly.
4720 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4721 since some C++ compilers masquerading as C compilers
4722 incorrectly reject 9223372036854775807. */
4723 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4724 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4725 && LARGE_OFF_T % 2147483647 == 1)
4735 rm -f conftest.$ac_objext
4736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4737 (eval $ac_compile) 2>conftest.er1
4739 grep -v '^ *+' conftest.er1 >conftest.err
4741 cat conftest.err >&5
4742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4743 (exit $ac_status); } &&
4744 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749 (exit $ac_status); }; } &&
4750 { ac_try='test -s conftest.$ac_objext'
4751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4755 (exit $ac_status); }; }; then
4758 echo "$as_me: failed program was:" >&5
4759 sed 's/^/| /' conftest.$ac_ext >&5
4762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4763 cat >conftest.$ac_ext <<_ACEOF
4766 cat confdefs.h >>conftest.$ac_ext
4767 cat >>conftest.$ac_ext <<_ACEOF
4768 /* end confdefs.h. */
4769 #define _FILE_OFFSET_BITS 64
4770 #include <sys/types.h>
4771 /* Check that off_t can represent 2**63 - 1 correctly.
4772 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4773 since some C++ compilers masquerading as C compilers
4774 incorrectly reject 9223372036854775807. */
4775 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4776 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4777 && LARGE_OFF_T % 2147483647 == 1)
4787 rm -f conftest.$ac_objext
4788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4789 (eval $ac_compile) 2>conftest.er1
4791 grep -v '^ *+' conftest.er1 >conftest.err
4793 cat conftest.err >&5
4794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4795 (exit $ac_status); } &&
4796 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4801 (exit $ac_status); }; } &&
4802 { ac_try='test -s conftest.$ac_objext'
4803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); }; }; then
4808 ac_cv_sys_file_offset_bits=64; break
4810 echo "$as_me: failed program was:" >&5
4811 sed 's/^/| /' conftest.$ac_ext >&5
4814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4818 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4819 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4820 if test "$ac_cv_sys_file_offset_bits" != no; then
4822 cat >>confdefs.h <<_ACEOF
4823 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4828 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4829 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4830 if test "${ac_cv_sys_large_files+set}" = set; then
4831 echo $ECHO_N "(cached) $ECHO_C" >&6
4834 ac_cv_sys_large_files=no
4835 cat >conftest.$ac_ext <<_ACEOF
4838 cat confdefs.h >>conftest.$ac_ext
4839 cat >>conftest.$ac_ext <<_ACEOF
4840 /* end confdefs.h. */
4841 #include <sys/types.h>
4842 /* Check that off_t can represent 2**63 - 1 correctly.
4843 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4844 since some C++ compilers masquerading as C compilers
4845 incorrectly reject 9223372036854775807. */
4846 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4847 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4848 && LARGE_OFF_T % 2147483647 == 1)
4858 rm -f conftest.$ac_objext
4859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4860 (eval $ac_compile) 2>conftest.er1
4862 grep -v '^ *+' conftest.er1 >conftest.err
4864 cat conftest.err >&5
4865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4866 (exit $ac_status); } &&
4867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4872 (exit $ac_status); }; } &&
4873 { ac_try='test -s conftest.$ac_objext'
4874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4878 (exit $ac_status); }; }; then
4881 echo "$as_me: failed program was:" >&5
4882 sed 's/^/| /' conftest.$ac_ext >&5
4885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4886 cat >conftest.$ac_ext <<_ACEOF
4889 cat confdefs.h >>conftest.$ac_ext
4890 cat >>conftest.$ac_ext <<_ACEOF
4891 /* end confdefs.h. */
4892 #define _LARGE_FILES 1
4893 #include <sys/types.h>
4894 /* Check that off_t can represent 2**63 - 1 correctly.
4895 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4896 since some C++ compilers masquerading as C compilers
4897 incorrectly reject 9223372036854775807. */
4898 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4899 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4900 && LARGE_OFF_T % 2147483647 == 1)
4910 rm -f conftest.$ac_objext
4911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4912 (eval $ac_compile) 2>conftest.er1
4914 grep -v '^ *+' conftest.er1 >conftest.err
4916 cat conftest.err >&5
4917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4918 (exit $ac_status); } &&
4919 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924 (exit $ac_status); }; } &&
4925 { ac_try='test -s conftest.$ac_objext'
4926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4930 (exit $ac_status); }; }; then
4931 ac_cv_sys_large_files=1; break
4933 echo "$as_me: failed program was:" >&5
4934 sed 's/^/| /' conftest.$ac_ext >&5
4937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4941 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4942 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4943 if test "$ac_cv_sys_large_files" != no; then
4945 cat >>confdefs.h <<_ACEOF
4946 #define _LARGE_FILES $ac_cv_sys_large_files
4953 if test x$gcc_no_link = xyes; then
4954 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
4955 ac_cv_func_mmap_fixed_mapped=no
4958 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
4960 ac_cpp='$CPP $CPPFLAGS'
4961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4964 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4965 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4966 # On Suns, sometimes $CPP names a directory.
4967 if test -n "$CPP" && test -d "$CPP"; then
4970 if test -z "$CPP"; then
4971 if test "${ac_cv_prog_CPP+set}" = set; then
4972 echo $ECHO_N "(cached) $ECHO_C" >&6
4974 # Double quotes because CPP needs to be expanded
4975 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4978 for ac_c_preproc_warn_flag in '' yes
4980 # Use a header file that comes with gcc, so configuring glibc
4981 # with a fresh cross-compiler works.
4982 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4983 # <limits.h> exists even on freestanding compilers.
4984 # On the NeXT, cc -E runs the code through the compiler's parser,
4985 # not just through cpp. "Syntax error" is here to catch this case.
4986 cat >conftest.$ac_ext <<_ACEOF
4989 cat confdefs.h >>conftest.$ac_ext
4990 cat >>conftest.$ac_ext <<_ACEOF
4991 /* end confdefs.h. */
4993 # include <limits.h>
4995 # include <assert.h>
4999 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5000 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5002 grep -v '^ *+' conftest.er1 >conftest.err
5004 cat conftest.err >&5
5005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5006 (exit $ac_status); } >/dev/null; then
5007 if test -s conftest.err; then
5008 ac_cpp_err=$ac_c_preproc_warn_flag
5009 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5016 if test -z "$ac_cpp_err"; then
5019 echo "$as_me: failed program was:" >&5
5020 sed 's/^/| /' conftest.$ac_ext >&5
5022 # Broken: fails on valid input.
5025 rm -f conftest.err conftest.$ac_ext
5027 # OK, works on sane cases. Now check whether non-existent headers
5028 # can be detected and how.
5029 cat >conftest.$ac_ext <<_ACEOF
5032 cat confdefs.h >>conftest.$ac_ext
5033 cat >>conftest.$ac_ext <<_ACEOF
5034 /* end confdefs.h. */
5035 #include <ac_nonexistent.h>
5037 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5038 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5040 grep -v '^ *+' conftest.er1 >conftest.err
5042 cat conftest.err >&5
5043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5044 (exit $ac_status); } >/dev/null; then
5045 if test -s conftest.err; then
5046 ac_cpp_err=$ac_c_preproc_warn_flag
5047 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5054 if test -z "$ac_cpp_err"; then
5055 # Broken: success on invalid input.
5058 echo "$as_me: failed program was:" >&5
5059 sed 's/^/| /' conftest.$ac_ext >&5
5061 # Passes both tests.
5065 rm -f conftest.err conftest.$ac_ext
5068 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5069 rm -f conftest.err conftest.$ac_ext
5070 if $ac_preproc_ok; then
5082 echo "$as_me:$LINENO: result: $CPP" >&5
5083 echo "${ECHO_T}$CPP" >&6
5085 for ac_c_preproc_warn_flag in '' yes
5087 # Use a header file that comes with gcc, so configuring glibc
5088 # with a fresh cross-compiler works.
5089 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5090 # <limits.h> exists even on freestanding compilers.
5091 # On the NeXT, cc -E runs the code through the compiler's parser,
5092 # not just through cpp. "Syntax error" is here to catch this case.
5093 cat >conftest.$ac_ext <<_ACEOF
5096 cat confdefs.h >>conftest.$ac_ext
5097 cat >>conftest.$ac_ext <<_ACEOF
5098 /* end confdefs.h. */
5100 # include <limits.h>
5102 # include <assert.h>
5106 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5107 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5109 grep -v '^ *+' conftest.er1 >conftest.err
5111 cat conftest.err >&5
5112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5113 (exit $ac_status); } >/dev/null; then
5114 if test -s conftest.err; then
5115 ac_cpp_err=$ac_c_preproc_warn_flag
5116 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5123 if test -z "$ac_cpp_err"; then
5126 echo "$as_me: failed program was:" >&5
5127 sed 's/^/| /' conftest.$ac_ext >&5
5129 # Broken: fails on valid input.
5132 rm -f conftest.err conftest.$ac_ext
5134 # OK, works on sane cases. Now check whether non-existent headers
5135 # can be detected and how.
5136 cat >conftest.$ac_ext <<_ACEOF
5139 cat confdefs.h >>conftest.$ac_ext
5140 cat >>conftest.$ac_ext <<_ACEOF
5141 /* end confdefs.h. */
5142 #include <ac_nonexistent.h>
5144 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5145 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5147 grep -v '^ *+' conftest.er1 >conftest.err
5149 cat conftest.err >&5
5150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5151 (exit $ac_status); } >/dev/null; then
5152 if test -s conftest.err; then
5153 ac_cpp_err=$ac_c_preproc_warn_flag
5154 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5161 if test -z "$ac_cpp_err"; then
5162 # Broken: success on invalid input.
5165 echo "$as_me: failed program was:" >&5
5166 sed 's/^/| /' conftest.$ac_ext >&5
5168 # Passes both tests.
5172 rm -f conftest.err conftest.$ac_ext
5175 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5176 rm -f conftest.err conftest.$ac_ext
5177 if $ac_preproc_ok; then
5180 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5181 See \`config.log' for more details." >&5
5182 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5183 See \`config.log' for more details." >&2;}
5184 { (exit 1); exit 1; }; }
5188 ac_cpp='$CPP $CPPFLAGS'
5189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5194 echo "$as_me:$LINENO: checking for egrep" >&5
5195 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5196 if test "${ac_cv_prog_egrep+set}" = set; then
5197 echo $ECHO_N "(cached) $ECHO_C" >&6
5199 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5200 then ac_cv_prog_egrep='grep -E'
5201 else ac_cv_prog_egrep='egrep'
5204 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5205 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5206 EGREP=$ac_cv_prog_egrep
5209 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5210 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5211 if test "${ac_cv_header_stdc+set}" = set; then
5212 echo $ECHO_N "(cached) $ECHO_C" >&6
5214 cat >conftest.$ac_ext <<_ACEOF
5217 cat confdefs.h >>conftest.$ac_ext
5218 cat >>conftest.$ac_ext <<_ACEOF
5219 /* end confdefs.h. */
5233 rm -f conftest.$ac_objext
5234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5235 (eval $ac_compile) 2>conftest.er1
5237 grep -v '^ *+' conftest.er1 >conftest.err
5239 cat conftest.err >&5
5240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5241 (exit $ac_status); } &&
5242 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5247 (exit $ac_status); }; } &&
5248 { ac_try='test -s conftest.$ac_objext'
5249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5253 (exit $ac_status); }; }; then
5254 ac_cv_header_stdc=yes
5256 echo "$as_me: failed program was:" >&5
5257 sed 's/^/| /' conftest.$ac_ext >&5
5259 ac_cv_header_stdc=no
5261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5263 if test $ac_cv_header_stdc = yes; then
5264 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5265 cat >conftest.$ac_ext <<_ACEOF
5268 cat confdefs.h >>conftest.$ac_ext
5269 cat >>conftest.$ac_ext <<_ACEOF
5270 /* end confdefs.h. */
5274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5275 $EGREP "memchr" >/dev/null 2>&1; then
5278 ac_cv_header_stdc=no
5284 if test $ac_cv_header_stdc = yes; then
5285 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5286 cat >conftest.$ac_ext <<_ACEOF
5289 cat confdefs.h >>conftest.$ac_ext
5290 cat >>conftest.$ac_ext <<_ACEOF
5291 /* end confdefs.h. */
5295 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5296 $EGREP "free" >/dev/null 2>&1; then
5299 ac_cv_header_stdc=no
5305 if test $ac_cv_header_stdc = yes; then
5306 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5307 if test "$cross_compiling" = yes; then
5310 cat >conftest.$ac_ext <<_ACEOF
5313 cat confdefs.h >>conftest.$ac_ext
5314 cat >>conftest.$ac_ext <<_ACEOF
5315 /* end confdefs.h. */
5317 #if ((' ' & 0x0FF) == 0x020)
5318 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5319 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5321 # define ISLOWER(c) \
5322 (('a' <= (c) && (c) <= 'i') \
5323 || ('j' <= (c) && (c) <= 'r') \
5324 || ('s' <= (c) && (c) <= 'z'))
5325 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5328 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5333 for (i = 0; i < 256; i++)
5334 if (XOR (islower (i), ISLOWER (i))
5335 || toupper (i) != TOUPPER (i))
5340 rm -f conftest$ac_exeext
5341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5342 (eval $ac_link) 2>&5
5344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5345 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5350 (exit $ac_status); }; }; then
5353 echo "$as_me: program exited with status $ac_status" >&5
5354 echo "$as_me: failed program was:" >&5
5355 sed 's/^/| /' conftest.$ac_ext >&5
5358 ac_cv_header_stdc=no
5360 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5364 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5365 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5366 if test $ac_cv_header_stdc = yes; then
5368 cat >>confdefs.h <<\_ACEOF
5369 #define STDC_HEADERS 1
5374 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5384 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5385 inttypes.h stdint.h unistd.h
5387 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5388 echo "$as_me:$LINENO: checking for $ac_header" >&5
5389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5390 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5391 echo $ECHO_N "(cached) $ECHO_C" >&6
5393 cat >conftest.$ac_ext <<_ACEOF
5396 cat confdefs.h >>conftest.$ac_ext
5397 cat >>conftest.$ac_ext <<_ACEOF
5398 /* end confdefs.h. */
5399 $ac_includes_default
5401 #include <$ac_header>
5403 rm -f conftest.$ac_objext
5404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5405 (eval $ac_compile) 2>conftest.er1
5407 grep -v '^ *+' conftest.er1 >conftest.err
5409 cat conftest.err >&5
5410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5411 (exit $ac_status); } &&
5412 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417 (exit $ac_status); }; } &&
5418 { ac_try='test -s conftest.$ac_objext'
5419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5423 (exit $ac_status); }; }; then
5424 eval "$as_ac_Header=yes"
5426 echo "$as_me: failed program was:" >&5
5427 sed 's/^/| /' conftest.$ac_ext >&5
5429 eval "$as_ac_Header=no"
5431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5434 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5435 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5436 cat >>confdefs.h <<_ACEOF
5437 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5447 for ac_header in stdlib.h unistd.h
5449 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5451 echo "$as_me:$LINENO: checking for $ac_header" >&5
5452 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5454 echo $ECHO_N "(cached) $ECHO_C" >&6
5456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5457 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5459 # Is the header compilable?
5460 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5461 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5462 cat >conftest.$ac_ext <<_ACEOF
5465 cat confdefs.h >>conftest.$ac_ext
5466 cat >>conftest.$ac_ext <<_ACEOF
5467 /* end confdefs.h. */
5468 $ac_includes_default
5469 #include <$ac_header>
5471 rm -f conftest.$ac_objext
5472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5473 (eval $ac_compile) 2>conftest.er1
5475 grep -v '^ *+' conftest.er1 >conftest.err
5477 cat conftest.err >&5
5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479 (exit $ac_status); } &&
5480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5485 (exit $ac_status); }; } &&
5486 { ac_try='test -s conftest.$ac_objext'
5487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5491 (exit $ac_status); }; }; then
5492 ac_header_compiler=yes
5494 echo "$as_me: failed program was:" >&5
5495 sed 's/^/| /' conftest.$ac_ext >&5
5497 ac_header_compiler=no
5499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5500 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5501 echo "${ECHO_T}$ac_header_compiler" >&6
5503 # Is the header present?
5504 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5505 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5506 cat >conftest.$ac_ext <<_ACEOF
5509 cat confdefs.h >>conftest.$ac_ext
5510 cat >>conftest.$ac_ext <<_ACEOF
5511 /* end confdefs.h. */
5512 #include <$ac_header>
5514 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5515 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5517 grep -v '^ *+' conftest.er1 >conftest.err
5519 cat conftest.err >&5
5520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5521 (exit $ac_status); } >/dev/null; then
5522 if test -s conftest.err; then
5523 ac_cpp_err=$ac_c_preproc_warn_flag
5524 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5531 if test -z "$ac_cpp_err"; then
5532 ac_header_preproc=yes
5534 echo "$as_me: failed program was:" >&5
5535 sed 's/^/| /' conftest.$ac_ext >&5
5537 ac_header_preproc=no
5539 rm -f conftest.err conftest.$ac_ext
5540 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5541 echo "${ECHO_T}$ac_header_preproc" >&6
5543 # So? What about this header?
5544 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5546 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5547 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5548 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5549 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5550 ac_header_preproc=yes
5553 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5554 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5555 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5556 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5557 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5558 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5559 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5560 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5561 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5562 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5563 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5564 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5567 ## ------------------------------------------------------ ##
5568 ## Report this to the GNU Fortran Runtime Library lists. ##
5569 ## ------------------------------------------------------ ##
5572 sed "s/^/$as_me: WARNING: /" >&2
5575 echo "$as_me:$LINENO: checking for $ac_header" >&5
5576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5578 echo $ECHO_N "(cached) $ECHO_C" >&6
5580 eval "$as_ac_Header=\$ac_header_preproc"
5582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5583 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5586 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5587 cat >>confdefs.h <<_ACEOF
5588 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5596 for ac_func in getpagesize
5598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5599 echo "$as_me:$LINENO: checking for $ac_func" >&5
5600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5601 if eval "test \"\${$as_ac_var+set}\" = set"; then
5602 echo $ECHO_N "(cached) $ECHO_C" >&6
5604 if test x$gcc_no_link = xyes; then
5605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5607 { (exit 1); exit 1; }; }
5609 cat >conftest.$ac_ext <<_ACEOF
5612 cat confdefs.h >>conftest.$ac_ext
5613 cat >>conftest.$ac_ext <<_ACEOF
5614 /* end confdefs.h. */
5615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5617 #define $ac_func innocuous_$ac_func
5619 /* System header to define __stub macros and hopefully few prototypes,
5620 which can conflict with char $ac_func (); below.
5621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5622 <limits.h> exists even on freestanding compilers. */
5625 # include <limits.h>
5627 # include <assert.h>
5632 /* Override any gcc2 internal prototype to avoid an error. */
5637 /* We use char because int might match the return type of a gcc2
5638 builtin and then its argument prototype would still apply. */
5640 /* The GNU C library defines this for functions which it implements
5641 to always fail with ENOSYS. Some functions are actually named
5642 something starting with __ and the normal name is an alias. */
5643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5646 char (*f) () = $ac_func;
5655 return f != $ac_func;
5660 rm -f conftest.$ac_objext conftest$ac_exeext
5661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5662 (eval $ac_link) 2>conftest.er1
5664 grep -v '^ *+' conftest.er1 >conftest.err
5666 cat conftest.err >&5
5667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5668 (exit $ac_status); } &&
5669 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5674 (exit $ac_status); }; } &&
5675 { ac_try='test -s conftest$ac_exeext'
5676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5680 (exit $ac_status); }; }; then
5681 eval "$as_ac_var=yes"
5683 echo "$as_me: failed program was:" >&5
5684 sed 's/^/| /' conftest.$ac_ext >&5
5686 eval "$as_ac_var=no"
5688 rm -f conftest.err conftest.$ac_objext \
5689 conftest$ac_exeext conftest.$ac_ext
5691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5693 if test `eval echo '${'$as_ac_var'}'` = yes; then
5694 cat >>confdefs.h <<_ACEOF
5695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5701 echo "$as_me:$LINENO: checking for working mmap" >&5
5702 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5703 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5704 echo $ECHO_N "(cached) $ECHO_C" >&6
5706 if test "$cross_compiling" = yes; then
5707 ac_cv_func_mmap_fixed_mapped=no
5709 cat >conftest.$ac_ext <<_ACEOF
5712 cat confdefs.h >>conftest.$ac_ext
5713 cat >>conftest.$ac_ext <<_ACEOF
5714 /* end confdefs.h. */
5715 $ac_includes_default
5716 /* malloc might have been renamed as rpl_malloc. */
5719 /* Thanks to Mike Haertel and Jim Avera for this test.
5720 Here is a matrix of mmap possibilities:
5721 mmap private not fixed
5722 mmap private fixed at somewhere currently unmapped
5723 mmap private fixed at somewhere already mapped
5724 mmap shared not fixed
5725 mmap shared fixed at somewhere currently unmapped
5726 mmap shared fixed at somewhere already mapped
5727 For private mappings, we should verify that changes cannot be read()
5728 back from the file, nor mmap's back from the file at a different
5729 address. (There have been systems where private was not correctly
5730 implemented like the infamous i386 svr4.0, and systems where the
5731 VM page cache was not coherent with the file system buffer cache
5732 like early versions of FreeBSD and possibly contemporary NetBSD.)
5733 For shared mappings, we should conversely verify that changes get
5734 propagated back to all the places they're supposed to be.
5736 Grep wants private fixed already mapped.
5737 The main things grep needs to know about mmap are:
5738 * does it exist and is it safe to write into the mmap'd area
5739 * how to use it (BSD variants) */
5742 #include <sys/mman.h>
5744 #if !STDC_HEADERS && !HAVE_STDLIB_H
5748 /* This mess was copied from the GNU getpagesize.h. */
5749 #if !HAVE_GETPAGESIZE
5750 /* Assume that all systems that can run configure have sys/param.h. */
5751 # if !HAVE_SYS_PARAM_H
5752 # define HAVE_SYS_PARAM_H 1
5755 # ifdef _SC_PAGESIZE
5756 # define getpagesize() sysconf(_SC_PAGESIZE)
5757 # else /* no _SC_PAGESIZE */
5758 # if HAVE_SYS_PARAM_H
5759 # include <sys/param.h>
5760 # ifdef EXEC_PAGESIZE
5761 # define getpagesize() EXEC_PAGESIZE
5762 # else /* no EXEC_PAGESIZE */
5764 # define getpagesize() NBPG * CLSIZE
5767 # endif /* no CLSIZE */
5768 # else /* no NBPG */
5770 # define getpagesize() NBPC
5771 # else /* no NBPC */
5773 # define getpagesize() PAGESIZE
5774 # endif /* PAGESIZE */
5775 # endif /* no NBPC */
5776 # endif /* no NBPG */
5777 # endif /* no EXEC_PAGESIZE */
5778 # else /* no HAVE_SYS_PARAM_H */
5779 # define getpagesize() 8192 /* punt totally */
5780 # endif /* no HAVE_SYS_PARAM_H */
5781 # endif /* no _SC_PAGESIZE */
5783 #endif /* no HAVE_GETPAGESIZE */
5788 char *data, *data2, *data3;
5792 pagesize = getpagesize ();
5794 /* First, make a file with some known garbage in it. */
5795 data = (char *) malloc (pagesize);
5798 for (i = 0; i < pagesize; ++i)
5799 *(data + i) = rand ();
5801 fd = creat ("conftest.mmap", 0600);
5804 if (write (fd, data, pagesize) != pagesize)
5808 /* Next, try to mmap the file at a fixed address which already has
5809 something else allocated at it. If we can, also make sure that
5810 we see the same garbage. */
5811 fd = open ("conftest.mmap", O_RDWR);
5814 data2 = (char *) malloc (2 * pagesize);
5817 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5818 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5819 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5821 for (i = 0; i < pagesize; ++i)
5822 if (*(data + i) != *(data2 + i))
5825 /* Finally, make sure that changes to the mapped area do not
5826 percolate back to the file as seen by read(). (This is a bug on
5827 some variants of i386 svr4.0.) */
5828 for (i = 0; i < pagesize; ++i)
5829 *(data2 + i) = *(data2 + i) + 1;
5830 data3 = (char *) malloc (pagesize);
5833 if (read (fd, data3, pagesize) != pagesize)
5835 for (i = 0; i < pagesize; ++i)
5836 if (*(data + i) != *(data3 + i))
5842 rm -f conftest$ac_exeext
5843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5844 (eval $ac_link) 2>&5
5846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5847 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5852 (exit $ac_status); }; }; then
5853 ac_cv_func_mmap_fixed_mapped=yes
5855 echo "$as_me: program exited with status $ac_status" >&5
5856 echo "$as_me: failed program was:" >&5
5857 sed 's/^/| /' conftest.$ac_ext >&5
5860 ac_cv_func_mmap_fixed_mapped=no
5862 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5865 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5866 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5867 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5869 cat >>confdefs.h <<\_ACEOF
5877 echo "$as_me:$LINENO: checking for off_t" >&5
5878 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5879 if test "${ac_cv_type_off_t+set}" = set; then
5880 echo $ECHO_N "(cached) $ECHO_C" >&6
5882 cat >conftest.$ac_ext <<_ACEOF
5885 cat confdefs.h >>conftest.$ac_ext
5886 cat >>conftest.$ac_ext <<_ACEOF
5887 /* end confdefs.h. */
5888 $ac_includes_default
5900 rm -f conftest.$ac_objext
5901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5902 (eval $ac_compile) 2>conftest.er1
5904 grep -v '^ *+' conftest.er1 >conftest.err
5906 cat conftest.err >&5
5907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5908 (exit $ac_status); } &&
5909 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5914 (exit $ac_status); }; } &&
5915 { ac_try='test -s conftest.$ac_objext'
5916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5920 (exit $ac_status); }; }; then
5921 ac_cv_type_off_t=yes
5923 echo "$as_me: failed program was:" >&5
5924 sed 's/^/| /' conftest.$ac_ext >&5
5928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5930 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5931 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5932 if test $ac_cv_type_off_t = yes; then
5936 cat >>confdefs.h <<_ACEOF
5943 # check header files
5944 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5945 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5946 if test "${ac_cv_header_stdc+set}" = set; then
5947 echo $ECHO_N "(cached) $ECHO_C" >&6
5949 cat >conftest.$ac_ext <<_ACEOF
5952 cat confdefs.h >>conftest.$ac_ext
5953 cat >>conftest.$ac_ext <<_ACEOF
5954 /* end confdefs.h. */
5968 rm -f conftest.$ac_objext
5969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5970 (eval $ac_compile) 2>conftest.er1
5972 grep -v '^ *+' conftest.er1 >conftest.err
5974 cat conftest.err >&5
5975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5976 (exit $ac_status); } &&
5977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982 (exit $ac_status); }; } &&
5983 { ac_try='test -s conftest.$ac_objext'
5984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5988 (exit $ac_status); }; }; then
5989 ac_cv_header_stdc=yes
5991 echo "$as_me: failed program was:" >&5
5992 sed 's/^/| /' conftest.$ac_ext >&5
5994 ac_cv_header_stdc=no
5996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5998 if test $ac_cv_header_stdc = yes; then
5999 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6000 cat >conftest.$ac_ext <<_ACEOF
6003 cat confdefs.h >>conftest.$ac_ext
6004 cat >>conftest.$ac_ext <<_ACEOF
6005 /* end confdefs.h. */
6009 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6010 $EGREP "memchr" >/dev/null 2>&1; then
6013 ac_cv_header_stdc=no
6019 if test $ac_cv_header_stdc = yes; then
6020 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6021 cat >conftest.$ac_ext <<_ACEOF
6024 cat confdefs.h >>conftest.$ac_ext
6025 cat >>conftest.$ac_ext <<_ACEOF
6026 /* end confdefs.h. */
6030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6031 $EGREP "free" >/dev/null 2>&1; then
6034 ac_cv_header_stdc=no
6040 if test $ac_cv_header_stdc = yes; then
6041 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6042 if test "$cross_compiling" = yes; then
6045 cat >conftest.$ac_ext <<_ACEOF
6048 cat confdefs.h >>conftest.$ac_ext
6049 cat >>conftest.$ac_ext <<_ACEOF
6050 /* end confdefs.h. */
6052 #if ((' ' & 0x0FF) == 0x020)
6053 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6054 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6056 # define ISLOWER(c) \
6057 (('a' <= (c) && (c) <= 'i') \
6058 || ('j' <= (c) && (c) <= 'r') \
6059 || ('s' <= (c) && (c) <= 'z'))
6060 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6063 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6068 for (i = 0; i < 256; i++)
6069 if (XOR (islower (i), ISLOWER (i))
6070 || toupper (i) != TOUPPER (i))
6075 rm -f conftest$ac_exeext
6076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6077 (eval $ac_link) 2>&5
6079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6080 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6085 (exit $ac_status); }; }; then
6088 echo "$as_me: program exited with status $ac_status" >&5
6089 echo "$as_me: failed program was:" >&5
6090 sed 's/^/| /' conftest.$ac_ext >&5
6093 ac_cv_header_stdc=no
6095 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6099 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6100 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6101 if test $ac_cv_header_stdc = yes; then
6103 cat >>confdefs.h <<\_ACEOF
6104 #define STDC_HEADERS 1
6115 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h
6117 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6119 echo "$as_me:$LINENO: checking for $ac_header" >&5
6120 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6122 echo $ECHO_N "(cached) $ECHO_C" >&6
6124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6125 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6127 # Is the header compilable?
6128 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6129 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6130 cat >conftest.$ac_ext <<_ACEOF
6133 cat confdefs.h >>conftest.$ac_ext
6134 cat >>conftest.$ac_ext <<_ACEOF
6135 /* end confdefs.h. */
6136 $ac_includes_default
6137 #include <$ac_header>
6139 rm -f conftest.$ac_objext
6140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6141 (eval $ac_compile) 2>conftest.er1
6143 grep -v '^ *+' conftest.er1 >conftest.err
6145 cat conftest.err >&5
6146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6147 (exit $ac_status); } &&
6148 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6153 (exit $ac_status); }; } &&
6154 { ac_try='test -s conftest.$ac_objext'
6155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6159 (exit $ac_status); }; }; then
6160 ac_header_compiler=yes
6162 echo "$as_me: failed program was:" >&5
6163 sed 's/^/| /' conftest.$ac_ext >&5
6165 ac_header_compiler=no
6167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6168 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6169 echo "${ECHO_T}$ac_header_compiler" >&6
6171 # Is the header present?
6172 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6173 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6174 cat >conftest.$ac_ext <<_ACEOF
6177 cat confdefs.h >>conftest.$ac_ext
6178 cat >>conftest.$ac_ext <<_ACEOF
6179 /* end confdefs.h. */
6180 #include <$ac_header>
6182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6183 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6185 grep -v '^ *+' conftest.er1 >conftest.err
6187 cat conftest.err >&5
6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189 (exit $ac_status); } >/dev/null; then
6190 if test -s conftest.err; then
6191 ac_cpp_err=$ac_c_preproc_warn_flag
6192 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6199 if test -z "$ac_cpp_err"; then
6200 ac_header_preproc=yes
6202 echo "$as_me: failed program was:" >&5
6203 sed 's/^/| /' conftest.$ac_ext >&5
6205 ac_header_preproc=no
6207 rm -f conftest.err conftest.$ac_ext
6208 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6209 echo "${ECHO_T}$ac_header_preproc" >&6
6211 # So? What about this header?
6212 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6214 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6215 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6216 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6217 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6218 ac_header_preproc=yes
6221 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6222 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6223 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6224 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6225 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6226 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6227 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6228 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6230 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6231 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6232 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6235 ## ------------------------------------------------------ ##
6236 ## Report this to the GNU Fortran Runtime Library lists. ##
6237 ## ------------------------------------------------------ ##
6240 sed "s/^/$as_me: WARNING: /" >&2
6243 echo "$as_me:$LINENO: checking for $ac_header" >&5
6244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6246 echo $ECHO_N "(cached) $ECHO_C" >&6
6248 eval "$as_ac_Header=\$ac_header_preproc"
6250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6251 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6254 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6255 cat >>confdefs.h <<_ACEOF
6256 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6268 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
6270 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6271 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6272 echo "$as_me:$LINENO: checking for $ac_header" >&5
6273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6275 echo $ECHO_N "(cached) $ECHO_C" >&6
6277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6278 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6280 # Is the header compilable?
6281 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6282 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6283 cat >conftest.$ac_ext <<_ACEOF
6286 cat confdefs.h >>conftest.$ac_ext
6287 cat >>conftest.$ac_ext <<_ACEOF
6288 /* end confdefs.h. */
6289 $ac_includes_default
6290 #include <$ac_header>
6292 rm -f conftest.$ac_objext
6293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6294 (eval $ac_compile) 2>conftest.er1
6296 grep -v '^ *+' conftest.er1 >conftest.err
6298 cat conftest.err >&5
6299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6300 (exit $ac_status); } &&
6301 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6306 (exit $ac_status); }; } &&
6307 { ac_try='test -s conftest.$ac_objext'
6308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6312 (exit $ac_status); }; }; then
6313 ac_header_compiler=yes
6315 echo "$as_me: failed program was:" >&5
6316 sed 's/^/| /' conftest.$ac_ext >&5
6318 ac_header_compiler=no
6320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6321 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6322 echo "${ECHO_T}$ac_header_compiler" >&6
6324 # Is the header present?
6325 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6326 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6327 cat >conftest.$ac_ext <<_ACEOF
6330 cat confdefs.h >>conftest.$ac_ext
6331 cat >>conftest.$ac_ext <<_ACEOF
6332 /* end confdefs.h. */
6333 #include <$ac_header>
6335 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6336 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6338 grep -v '^ *+' conftest.er1 >conftest.err
6340 cat conftest.err >&5
6341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6342 (exit $ac_status); } >/dev/null; then
6343 if test -s conftest.err; then
6344 ac_cpp_err=$ac_c_preproc_warn_flag
6345 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6352 if test -z "$ac_cpp_err"; then
6353 ac_header_preproc=yes
6355 echo "$as_me: failed program was:" >&5
6356 sed 's/^/| /' conftest.$ac_ext >&5
6358 ac_header_preproc=no
6360 rm -f conftest.err conftest.$ac_ext
6361 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6362 echo "${ECHO_T}$ac_header_preproc" >&6
6364 # So? What about this header?
6365 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6367 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6368 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6369 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6370 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6371 ac_header_preproc=yes
6374 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6375 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6376 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6377 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6378 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6379 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6380 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6381 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6383 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6384 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6385 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6388 ## ------------------------------------------------------ ##
6389 ## Report this to the GNU Fortran Runtime Library lists. ##
6390 ## ------------------------------------------------------ ##
6393 sed "s/^/$as_me: WARNING: /" >&2
6396 echo "$as_me:$LINENO: checking for $ac_header" >&5
6397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6399 echo $ECHO_N "(cached) $ECHO_C" >&6
6401 eval "$as_ac_Header=\$ac_header_preproc"
6403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6404 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6407 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6408 cat >>confdefs.h <<_ACEOF
6409 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6419 for ac_header in sys/mman.h sys/types.h sys/stat.h
6421 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6422 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6423 echo "$as_me:$LINENO: checking for $ac_header" >&5
6424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6426 echo $ECHO_N "(cached) $ECHO_C" >&6
6428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6429 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6431 # Is the header compilable?
6432 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6433 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6434 cat >conftest.$ac_ext <<_ACEOF
6437 cat confdefs.h >>conftest.$ac_ext
6438 cat >>conftest.$ac_ext <<_ACEOF
6439 /* end confdefs.h. */
6440 $ac_includes_default
6441 #include <$ac_header>
6443 rm -f conftest.$ac_objext
6444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6445 (eval $ac_compile) 2>conftest.er1
6447 grep -v '^ *+' conftest.er1 >conftest.err
6449 cat conftest.err >&5
6450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6451 (exit $ac_status); } &&
6452 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457 (exit $ac_status); }; } &&
6458 { ac_try='test -s conftest.$ac_objext'
6459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463 (exit $ac_status); }; }; then
6464 ac_header_compiler=yes
6466 echo "$as_me: failed program was:" >&5
6467 sed 's/^/| /' conftest.$ac_ext >&5
6469 ac_header_compiler=no
6471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6472 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6473 echo "${ECHO_T}$ac_header_compiler" >&6
6475 # Is the header present?
6476 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6477 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6478 cat >conftest.$ac_ext <<_ACEOF
6481 cat confdefs.h >>conftest.$ac_ext
6482 cat >>conftest.$ac_ext <<_ACEOF
6483 /* end confdefs.h. */
6484 #include <$ac_header>
6486 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6487 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6489 grep -v '^ *+' conftest.er1 >conftest.err
6491 cat conftest.err >&5
6492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6493 (exit $ac_status); } >/dev/null; then
6494 if test -s conftest.err; then
6495 ac_cpp_err=$ac_c_preproc_warn_flag
6496 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6503 if test -z "$ac_cpp_err"; then
6504 ac_header_preproc=yes
6506 echo "$as_me: failed program was:" >&5
6507 sed 's/^/| /' conftest.$ac_ext >&5
6509 ac_header_preproc=no
6511 rm -f conftest.err conftest.$ac_ext
6512 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6513 echo "${ECHO_T}$ac_header_preproc" >&6
6515 # So? What about this header?
6516 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6518 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6519 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6520 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6521 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6522 ac_header_preproc=yes
6525 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6526 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6527 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6528 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6529 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6530 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6531 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6532 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6533 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6534 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6535 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6536 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6539 ## ------------------------------------------------------ ##
6540 ## Report this to the GNU Fortran Runtime Library lists. ##
6541 ## ------------------------------------------------------ ##
6544 sed "s/^/$as_me: WARNING: /" >&2
6547 echo "$as_me:$LINENO: checking for $ac_header" >&5
6548 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6549 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6550 echo $ECHO_N "(cached) $ECHO_C" >&6
6552 eval "$as_ac_Header=\$ac_header_preproc"
6554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6555 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6558 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6559 cat >>confdefs.h <<_ACEOF
6560 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6567 if test "${ac_cv_header_complex_h+set}" = set; then
6568 echo "$as_me:$LINENO: checking for complex.h" >&5
6569 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6570 if test "${ac_cv_header_complex_h+set}" = set; then
6571 echo $ECHO_N "(cached) $ECHO_C" >&6
6573 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6574 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6576 # Is the header compilable?
6577 echo "$as_me:$LINENO: checking complex.h usability" >&5
6578 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6579 cat >conftest.$ac_ext <<_ACEOF
6582 cat confdefs.h >>conftest.$ac_ext
6583 cat >>conftest.$ac_ext <<_ACEOF
6584 /* end confdefs.h. */
6585 $ac_includes_default
6586 #include <complex.h>
6588 rm -f conftest.$ac_objext
6589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6590 (eval $ac_compile) 2>conftest.er1
6592 grep -v '^ *+' conftest.er1 >conftest.err
6594 cat conftest.err >&5
6595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6596 (exit $ac_status); } &&
6597 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6602 (exit $ac_status); }; } &&
6603 { ac_try='test -s conftest.$ac_objext'
6604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6608 (exit $ac_status); }; }; then
6609 ac_header_compiler=yes
6611 echo "$as_me: failed program was:" >&5
6612 sed 's/^/| /' conftest.$ac_ext >&5
6614 ac_header_compiler=no
6616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6617 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6618 echo "${ECHO_T}$ac_header_compiler" >&6
6620 # Is the header present?
6621 echo "$as_me:$LINENO: checking complex.h presence" >&5
6622 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6623 cat >conftest.$ac_ext <<_ACEOF
6626 cat confdefs.h >>conftest.$ac_ext
6627 cat >>conftest.$ac_ext <<_ACEOF
6628 /* end confdefs.h. */
6629 #include <complex.h>
6631 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6632 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6634 grep -v '^ *+' conftest.er1 >conftest.err
6636 cat conftest.err >&5
6637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6638 (exit $ac_status); } >/dev/null; then
6639 if test -s conftest.err; then
6640 ac_cpp_err=$ac_c_preproc_warn_flag
6641 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6648 if test -z "$ac_cpp_err"; then
6649 ac_header_preproc=yes
6651 echo "$as_me: failed program was:" >&5
6652 sed 's/^/| /' conftest.$ac_ext >&5
6654 ac_header_preproc=no
6656 rm -f conftest.err conftest.$ac_ext
6657 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6658 echo "${ECHO_T}$ac_header_preproc" >&6
6660 # So? What about this header?
6661 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6663 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6664 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6665 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6666 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6667 ac_header_preproc=yes
6670 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6671 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6672 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6673 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6674 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6675 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6676 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6677 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6678 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6679 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6680 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6681 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6684 ## ------------------------------------------------------ ##
6685 ## Report this to the GNU Fortran Runtime Library lists. ##
6686 ## ------------------------------------------------------ ##
6689 sed "s/^/$as_me: WARNING: /" >&2
6692 echo "$as_me:$LINENO: checking for complex.h" >&5
6693 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6694 if test "${ac_cv_header_complex_h+set}" = set; then
6695 echo $ECHO_N "(cached) $ECHO_C" >&6
6697 ac_cv_header_complex_h=$ac_header_preproc
6699 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6700 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6703 if test $ac_cv_header_complex_h = yes; then
6705 cat >>confdefs.h <<\_ACEOF
6706 #define HAVE_COMPLEX_H 1
6713 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6714 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
6715 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6716 echo $ECHO_N "(cached) $ECHO_C" >&6
6718 cat >conftest.$ac_ext <<_ACEOF
6721 cat confdefs.h >>conftest.$ac_ext
6722 cat >>conftest.$ac_ext <<_ACEOF
6723 /* end confdefs.h. */
6724 $ac_includes_default
6728 static struct stat ac_aggr;
6729 if (ac_aggr.st_blksize)
6735 rm -f conftest.$ac_objext
6736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6737 (eval $ac_compile) 2>conftest.er1
6739 grep -v '^ *+' conftest.er1 >conftest.err
6741 cat conftest.err >&5
6742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6743 (exit $ac_status); } &&
6744 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6749 (exit $ac_status); }; } &&
6750 { ac_try='test -s conftest.$ac_objext'
6751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6755 (exit $ac_status); }; }; then
6756 ac_cv_member_struct_stat_st_blksize=yes
6758 echo "$as_me: failed program was:" >&5
6759 sed 's/^/| /' conftest.$ac_ext >&5
6761 cat >conftest.$ac_ext <<_ACEOF
6764 cat confdefs.h >>conftest.$ac_ext
6765 cat >>conftest.$ac_ext <<_ACEOF
6766 /* end confdefs.h. */
6767 $ac_includes_default
6771 static struct stat ac_aggr;
6772 if (sizeof ac_aggr.st_blksize)
6778 rm -f conftest.$ac_objext
6779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6780 (eval $ac_compile) 2>conftest.er1
6782 grep -v '^ *+' conftest.er1 >conftest.err
6784 cat conftest.err >&5
6785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6786 (exit $ac_status); } &&
6787 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6792 (exit $ac_status); }; } &&
6793 { ac_try='test -s conftest.$ac_objext'
6794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6798 (exit $ac_status); }; }; then
6799 ac_cv_member_struct_stat_st_blksize=yes
6801 echo "$as_me: failed program was:" >&5
6802 sed 's/^/| /' conftest.$ac_ext >&5
6804 ac_cv_member_struct_stat_st_blksize=no
6806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6810 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6811 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
6812 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6814 cat >>confdefs.h <<_ACEOF
6815 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6821 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6822 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
6823 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6824 echo $ECHO_N "(cached) $ECHO_C" >&6
6826 cat >conftest.$ac_ext <<_ACEOF
6829 cat confdefs.h >>conftest.$ac_ext
6830 cat >>conftest.$ac_ext <<_ACEOF
6831 /* end confdefs.h. */
6832 $ac_includes_default
6836 static struct stat ac_aggr;
6837 if (ac_aggr.st_blocks)
6843 rm -f conftest.$ac_objext
6844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6845 (eval $ac_compile) 2>conftest.er1
6847 grep -v '^ *+' conftest.er1 >conftest.err
6849 cat conftest.err >&5
6850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6851 (exit $ac_status); } &&
6852 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6857 (exit $ac_status); }; } &&
6858 { ac_try='test -s conftest.$ac_objext'
6859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6863 (exit $ac_status); }; }; then
6864 ac_cv_member_struct_stat_st_blocks=yes
6866 echo "$as_me: failed program was:" >&5
6867 sed 's/^/| /' conftest.$ac_ext >&5
6869 cat >conftest.$ac_ext <<_ACEOF
6872 cat confdefs.h >>conftest.$ac_ext
6873 cat >>conftest.$ac_ext <<_ACEOF
6874 /* end confdefs.h. */
6875 $ac_includes_default
6879 static struct stat ac_aggr;
6880 if (sizeof ac_aggr.st_blocks)
6886 rm -f conftest.$ac_objext
6887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6888 (eval $ac_compile) 2>conftest.er1
6890 grep -v '^ *+' conftest.er1 >conftest.err
6892 cat conftest.err >&5
6893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6894 (exit $ac_status); } &&
6895 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6900 (exit $ac_status); }; } &&
6901 { ac_try='test -s conftest.$ac_objext'
6902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6906 (exit $ac_status); }; }; then
6907 ac_cv_member_struct_stat_st_blocks=yes
6909 echo "$as_me: failed program was:" >&5
6910 sed 's/^/| /' conftest.$ac_ext >&5
6912 ac_cv_member_struct_stat_st_blocks=no
6914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6918 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6919 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
6920 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6922 cat >>confdefs.h <<_ACEOF
6923 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6929 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6930 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
6931 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6932 echo $ECHO_N "(cached) $ECHO_C" >&6
6934 cat >conftest.$ac_ext <<_ACEOF
6937 cat confdefs.h >>conftest.$ac_ext
6938 cat >>conftest.$ac_ext <<_ACEOF
6939 /* end confdefs.h. */
6940 $ac_includes_default
6944 static struct stat ac_aggr;
6945 if (ac_aggr.st_rdev)
6951 rm -f conftest.$ac_objext
6952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6953 (eval $ac_compile) 2>conftest.er1
6955 grep -v '^ *+' conftest.er1 >conftest.err
6957 cat conftest.err >&5
6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959 (exit $ac_status); } &&
6960 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6965 (exit $ac_status); }; } &&
6966 { ac_try='test -s conftest.$ac_objext'
6967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6971 (exit $ac_status); }; }; then
6972 ac_cv_member_struct_stat_st_rdev=yes
6974 echo "$as_me: failed program was:" >&5
6975 sed 's/^/| /' conftest.$ac_ext >&5
6977 cat >conftest.$ac_ext <<_ACEOF
6980 cat confdefs.h >>conftest.$ac_ext
6981 cat >>conftest.$ac_ext <<_ACEOF
6982 /* end confdefs.h. */
6983 $ac_includes_default
6987 static struct stat ac_aggr;
6988 if (sizeof ac_aggr.st_rdev)
6994 rm -f conftest.$ac_objext
6995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6996 (eval $ac_compile) 2>conftest.er1
6998 grep -v '^ *+' conftest.er1 >conftest.err
7000 cat conftest.err >&5
7001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7002 (exit $ac_status); } &&
7003 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7008 (exit $ac_status); }; } &&
7009 { ac_try='test -s conftest.$ac_objext'
7010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7014 (exit $ac_status); }; }; then
7015 ac_cv_member_struct_stat_st_rdev=yes
7017 echo "$as_me: failed program was:" >&5
7018 sed 's/^/| /' conftest.$ac_ext >&5
7020 ac_cv_member_struct_stat_st_rdev=no
7022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7026 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
7027 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
7028 if test $ac_cv_member_struct_stat_st_rdev = yes; then
7030 cat >>confdefs.h <<_ACEOF
7031 #define HAVE_STRUCT_STAT_ST_RDEV 1
7038 # Check for complex math functions
7039 echo "$as_me:$LINENO: checking for csin in -lm" >&5
7040 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
7041 if test "${ac_cv_lib_m_csin+set}" = set; then
7042 echo $ECHO_N "(cached) $ECHO_C" >&6
7044 ac_check_lib_save_LIBS=$LIBS
7046 if test x$gcc_no_link = xyes; then
7047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7049 { (exit 1); exit 1; }; }
7051 cat >conftest.$ac_ext <<_ACEOF
7054 cat confdefs.h >>conftest.$ac_ext
7055 cat >>conftest.$ac_ext <<_ACEOF
7056 /* end confdefs.h. */
7058 /* Override any gcc2 internal prototype to avoid an error. */
7062 /* We use char because int might match the return type of a gcc2
7063 builtin and then its argument prototype would still apply. */
7073 rm -f conftest.$ac_objext conftest$ac_exeext
7074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7075 (eval $ac_link) 2>conftest.er1
7077 grep -v '^ *+' conftest.er1 >conftest.err
7079 cat conftest.err >&5
7080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7081 (exit $ac_status); } &&
7082 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7087 (exit $ac_status); }; } &&
7088 { ac_try='test -s conftest$ac_exeext'
7089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7093 (exit $ac_status); }; }; then
7094 ac_cv_lib_m_csin=yes
7096 echo "$as_me: failed program was:" >&5
7097 sed 's/^/| /' conftest.$ac_ext >&5
7101 rm -f conftest.err conftest.$ac_objext \
7102 conftest$ac_exeext conftest.$ac_ext
7103 LIBS=$ac_check_lib_save_LIBS
7105 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
7106 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
7107 if test $ac_cv_lib_m_csin = yes; then
7114 # Check for library functions.
7120 for ac_func in getrusage times mkstemp strtof snprintf
7122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7123 echo "$as_me:$LINENO: checking for $ac_func" >&5
7124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7125 if eval "test \"\${$as_ac_var+set}\" = set"; then
7126 echo $ECHO_N "(cached) $ECHO_C" >&6
7128 if test x$gcc_no_link = xyes; then
7129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7131 { (exit 1); exit 1; }; }
7133 cat >conftest.$ac_ext <<_ACEOF
7136 cat confdefs.h >>conftest.$ac_ext
7137 cat >>conftest.$ac_ext <<_ACEOF
7138 /* end confdefs.h. */
7139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7141 #define $ac_func innocuous_$ac_func
7143 /* System header to define __stub macros and hopefully few prototypes,
7144 which can conflict with char $ac_func (); below.
7145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7146 <limits.h> exists even on freestanding compilers. */
7149 # include <limits.h>
7151 # include <assert.h>
7156 /* Override any gcc2 internal prototype to avoid an error. */
7161 /* We use char because int might match the return type of a gcc2
7162 builtin and then its argument prototype would still apply. */
7164 /* The GNU C library defines this for functions which it implements
7165 to always fail with ENOSYS. Some functions are actually named
7166 something starting with __ and the normal name is an alias. */
7167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7170 char (*f) () = $ac_func;
7179 return f != $ac_func;
7184 rm -f conftest.$ac_objext conftest$ac_exeext
7185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7186 (eval $ac_link) 2>conftest.er1
7188 grep -v '^ *+' conftest.er1 >conftest.err
7190 cat conftest.err >&5
7191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7192 (exit $ac_status); } &&
7193 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7198 (exit $ac_status); }; } &&
7199 { ac_try='test -s conftest$ac_exeext'
7200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7204 (exit $ac_status); }; }; then
7205 eval "$as_ac_var=yes"
7207 echo "$as_me: failed program was:" >&5
7208 sed 's/^/| /' conftest.$ac_ext >&5
7210 eval "$as_ac_var=no"
7212 rm -f conftest.err conftest.$ac_objext \
7213 conftest$ac_exeext conftest.$ac_ext
7215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7217 if test `eval echo '${'$as_ac_var'}'` = yes; then
7218 cat >>confdefs.h <<_ACEOF
7219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7226 # Check libc for getgid, getpid, getuid
7227 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
7228 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
7229 if test "${ac_cv_lib_c_getgid+set}" = set; then
7230 echo $ECHO_N "(cached) $ECHO_C" >&6
7232 ac_check_lib_save_LIBS=$LIBS
7234 if test x$gcc_no_link = xyes; then
7235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7237 { (exit 1); exit 1; }; }
7239 cat >conftest.$ac_ext <<_ACEOF
7242 cat confdefs.h >>conftest.$ac_ext
7243 cat >>conftest.$ac_ext <<_ACEOF
7244 /* end confdefs.h. */
7246 /* Override any gcc2 internal prototype to avoid an error. */
7250 /* We use char because int might match the return type of a gcc2
7251 builtin and then its argument prototype would still apply. */
7261 rm -f conftest.$ac_objext conftest$ac_exeext
7262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7263 (eval $ac_link) 2>conftest.er1
7265 grep -v '^ *+' conftest.er1 >conftest.err
7267 cat conftest.err >&5
7268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7269 (exit $ac_status); } &&
7270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7275 (exit $ac_status); }; } &&
7276 { ac_try='test -s conftest$ac_exeext'
7277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7281 (exit $ac_status); }; }; then
7282 ac_cv_lib_c_getgid=yes
7284 echo "$as_me: failed program was:" >&5
7285 sed 's/^/| /' conftest.$ac_ext >&5
7287 ac_cv_lib_c_getgid=no
7289 rm -f conftest.err conftest.$ac_objext \
7290 conftest$ac_exeext conftest.$ac_ext
7291 LIBS=$ac_check_lib_save_LIBS
7293 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
7294 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
7295 if test $ac_cv_lib_c_getgid = yes; then
7297 cat >>confdefs.h <<\_ACEOF
7298 #define HAVE_GETGID 1
7303 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
7304 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
7305 if test "${ac_cv_lib_c_getpid+set}" = set; then
7306 echo $ECHO_N "(cached) $ECHO_C" >&6
7308 ac_check_lib_save_LIBS=$LIBS
7310 if test x$gcc_no_link = xyes; then
7311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7313 { (exit 1); exit 1; }; }
7315 cat >conftest.$ac_ext <<_ACEOF
7318 cat confdefs.h >>conftest.$ac_ext
7319 cat >>conftest.$ac_ext <<_ACEOF
7320 /* end confdefs.h. */
7322 /* Override any gcc2 internal prototype to avoid an error. */
7326 /* We use char because int might match the return type of a gcc2
7327 builtin and then its argument prototype would still apply. */
7337 rm -f conftest.$ac_objext conftest$ac_exeext
7338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7339 (eval $ac_link) 2>conftest.er1
7341 grep -v '^ *+' conftest.er1 >conftest.err
7343 cat conftest.err >&5
7344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7345 (exit $ac_status); } &&
7346 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7351 (exit $ac_status); }; } &&
7352 { ac_try='test -s conftest$ac_exeext'
7353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7357 (exit $ac_status); }; }; then
7358 ac_cv_lib_c_getpid=yes
7360 echo "$as_me: failed program was:" >&5
7361 sed 's/^/| /' conftest.$ac_ext >&5
7363 ac_cv_lib_c_getpid=no
7365 rm -f conftest.err conftest.$ac_objext \
7366 conftest$ac_exeext conftest.$ac_ext
7367 LIBS=$ac_check_lib_save_LIBS
7369 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
7370 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
7371 if test $ac_cv_lib_c_getpid = yes; then
7373 cat >>confdefs.h <<\_ACEOF
7374 #define HAVE_GETPID 1
7379 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
7380 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
7381 if test "${ac_cv_lib_c_getuid+set}" = set; then
7382 echo $ECHO_N "(cached) $ECHO_C" >&6
7384 ac_check_lib_save_LIBS=$LIBS
7386 if test x$gcc_no_link = xyes; then
7387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7389 { (exit 1); exit 1; }; }
7391 cat >conftest.$ac_ext <<_ACEOF
7394 cat confdefs.h >>conftest.$ac_ext
7395 cat >>conftest.$ac_ext <<_ACEOF
7396 /* end confdefs.h. */
7398 /* Override any gcc2 internal prototype to avoid an error. */
7402 /* We use char because int might match the return type of a gcc2
7403 builtin and then its argument prototype would still apply. */
7413 rm -f conftest.$ac_objext conftest$ac_exeext
7414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7415 (eval $ac_link) 2>conftest.er1
7417 grep -v '^ *+' conftest.er1 >conftest.err
7419 cat conftest.err >&5
7420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7421 (exit $ac_status); } &&
7422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7427 (exit $ac_status); }; } &&
7428 { ac_try='test -s conftest$ac_exeext'
7429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7433 (exit $ac_status); }; }; then
7434 ac_cv_lib_c_getuid=yes
7436 echo "$as_me: failed program was:" >&5
7437 sed 's/^/| /' conftest.$ac_ext >&5
7439 ac_cv_lib_c_getuid=no
7441 rm -f conftest.err conftest.$ac_objext \
7442 conftest$ac_exeext conftest.$ac_ext
7443 LIBS=$ac_check_lib_save_LIBS
7445 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
7446 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
7447 if test $ac_cv_lib_c_getuid = yes; then
7449 cat >>confdefs.h <<\_ACEOF
7450 #define HAVE_GETUID 1
7456 # Check for C99 (and other IEEE) math functions
7457 # ??? This list seems awful long. Is there a better way to test for these?
7458 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
7459 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
7460 if test "${ac_cv_lib_m_acosf+set}" = set; then
7461 echo $ECHO_N "(cached) $ECHO_C" >&6
7463 ac_check_lib_save_LIBS=$LIBS
7465 if test x$gcc_no_link = xyes; then
7466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7468 { (exit 1); exit 1; }; }
7470 cat >conftest.$ac_ext <<_ACEOF
7473 cat confdefs.h >>conftest.$ac_ext
7474 cat >>conftest.$ac_ext <<_ACEOF
7475 /* end confdefs.h. */
7477 /* Override any gcc2 internal prototype to avoid an error. */
7481 /* We use char because int might match the return type of a gcc2
7482 builtin and then its argument prototype would still apply. */
7492 rm -f conftest.$ac_objext conftest$ac_exeext
7493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7494 (eval $ac_link) 2>conftest.er1
7496 grep -v '^ *+' conftest.er1 >conftest.err
7498 cat conftest.err >&5
7499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7500 (exit $ac_status); } &&
7501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7506 (exit $ac_status); }; } &&
7507 { ac_try='test -s conftest$ac_exeext'
7508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512 (exit $ac_status); }; }; then
7513 ac_cv_lib_m_acosf=yes
7515 echo "$as_me: failed program was:" >&5
7516 sed 's/^/| /' conftest.$ac_ext >&5
7518 ac_cv_lib_m_acosf=no
7520 rm -f conftest.err conftest.$ac_objext \
7521 conftest$ac_exeext conftest.$ac_ext
7522 LIBS=$ac_check_lib_save_LIBS
7524 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
7525 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
7526 if test $ac_cv_lib_m_acosf = yes; then
7528 cat >>confdefs.h <<\_ACEOF
7529 #define HAVE_ACOSF 1
7534 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
7535 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
7536 if test "${ac_cv_lib_m_asinf+set}" = set; then
7537 echo $ECHO_N "(cached) $ECHO_C" >&6
7539 ac_check_lib_save_LIBS=$LIBS
7541 if test x$gcc_no_link = xyes; then
7542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7544 { (exit 1); exit 1; }; }
7546 cat >conftest.$ac_ext <<_ACEOF
7549 cat confdefs.h >>conftest.$ac_ext
7550 cat >>conftest.$ac_ext <<_ACEOF
7551 /* end confdefs.h. */
7553 /* Override any gcc2 internal prototype to avoid an error. */
7557 /* We use char because int might match the return type of a gcc2
7558 builtin and then its argument prototype would still apply. */
7568 rm -f conftest.$ac_objext conftest$ac_exeext
7569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7570 (eval $ac_link) 2>conftest.er1
7572 grep -v '^ *+' conftest.er1 >conftest.err
7574 cat conftest.err >&5
7575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7576 (exit $ac_status); } &&
7577 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7582 (exit $ac_status); }; } &&
7583 { ac_try='test -s conftest$ac_exeext'
7584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7588 (exit $ac_status); }; }; then
7589 ac_cv_lib_m_asinf=yes
7591 echo "$as_me: failed program was:" >&5
7592 sed 's/^/| /' conftest.$ac_ext >&5
7594 ac_cv_lib_m_asinf=no
7596 rm -f conftest.err conftest.$ac_objext \
7597 conftest$ac_exeext conftest.$ac_ext
7598 LIBS=$ac_check_lib_save_LIBS
7600 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
7601 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
7602 if test $ac_cv_lib_m_asinf = yes; then
7604 cat >>confdefs.h <<\_ACEOF
7605 #define HAVE_ASINF 1
7610 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
7611 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
7612 if test "${ac_cv_lib_m_atan2f+set}" = set; then
7613 echo $ECHO_N "(cached) $ECHO_C" >&6
7615 ac_check_lib_save_LIBS=$LIBS
7617 if test x$gcc_no_link = xyes; then
7618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7620 { (exit 1); exit 1; }; }
7622 cat >conftest.$ac_ext <<_ACEOF
7625 cat confdefs.h >>conftest.$ac_ext
7626 cat >>conftest.$ac_ext <<_ACEOF
7627 /* end confdefs.h. */
7629 /* Override any gcc2 internal prototype to avoid an error. */
7633 /* We use char because int might match the return type of a gcc2
7634 builtin and then its argument prototype would still apply. */
7644 rm -f conftest.$ac_objext conftest$ac_exeext
7645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7646 (eval $ac_link) 2>conftest.er1
7648 grep -v '^ *+' conftest.er1 >conftest.err
7650 cat conftest.err >&5
7651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7652 (exit $ac_status); } &&
7653 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7658 (exit $ac_status); }; } &&
7659 { ac_try='test -s conftest$ac_exeext'
7660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7664 (exit $ac_status); }; }; then
7665 ac_cv_lib_m_atan2f=yes
7667 echo "$as_me: failed program was:" >&5
7668 sed 's/^/| /' conftest.$ac_ext >&5
7670 ac_cv_lib_m_atan2f=no
7672 rm -f conftest.err conftest.$ac_objext \
7673 conftest$ac_exeext conftest.$ac_ext
7674 LIBS=$ac_check_lib_save_LIBS
7676 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
7677 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
7678 if test $ac_cv_lib_m_atan2f = yes; then
7680 cat >>confdefs.h <<\_ACEOF
7681 #define HAVE_ATAN2F 1
7686 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
7687 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
7688 if test "${ac_cv_lib_m_atanf+set}" = set; then
7689 echo $ECHO_N "(cached) $ECHO_C" >&6
7691 ac_check_lib_save_LIBS=$LIBS
7693 if test x$gcc_no_link = xyes; then
7694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7696 { (exit 1); exit 1; }; }
7698 cat >conftest.$ac_ext <<_ACEOF
7701 cat confdefs.h >>conftest.$ac_ext
7702 cat >>conftest.$ac_ext <<_ACEOF
7703 /* end confdefs.h. */
7705 /* Override any gcc2 internal prototype to avoid an error. */
7709 /* We use char because int might match the return type of a gcc2
7710 builtin and then its argument prototype would still apply. */
7720 rm -f conftest.$ac_objext conftest$ac_exeext
7721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7722 (eval $ac_link) 2>conftest.er1
7724 grep -v '^ *+' conftest.er1 >conftest.err
7726 cat conftest.err >&5
7727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7728 (exit $ac_status); } &&
7729 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7734 (exit $ac_status); }; } &&
7735 { ac_try='test -s conftest$ac_exeext'
7736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7740 (exit $ac_status); }; }; then
7741 ac_cv_lib_m_atanf=yes
7743 echo "$as_me: failed program was:" >&5
7744 sed 's/^/| /' conftest.$ac_ext >&5
7746 ac_cv_lib_m_atanf=no
7748 rm -f conftest.err conftest.$ac_objext \
7749 conftest$ac_exeext conftest.$ac_ext
7750 LIBS=$ac_check_lib_save_LIBS
7752 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
7753 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
7754 if test $ac_cv_lib_m_atanf = yes; then
7756 cat >>confdefs.h <<\_ACEOF
7757 #define HAVE_ATANF 1
7762 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
7763 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
7764 if test "${ac_cv_lib_m_ceilf+set}" = set; then
7765 echo $ECHO_N "(cached) $ECHO_C" >&6
7767 ac_check_lib_save_LIBS=$LIBS
7769 if test x$gcc_no_link = xyes; then
7770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7772 { (exit 1); exit 1; }; }
7774 cat >conftest.$ac_ext <<_ACEOF
7777 cat confdefs.h >>conftest.$ac_ext
7778 cat >>conftest.$ac_ext <<_ACEOF
7779 /* end confdefs.h. */
7781 /* Override any gcc2 internal prototype to avoid an error. */
7785 /* We use char because int might match the return type of a gcc2
7786 builtin and then its argument prototype would still apply. */
7796 rm -f conftest.$ac_objext conftest$ac_exeext
7797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7798 (eval $ac_link) 2>conftest.er1
7800 grep -v '^ *+' conftest.er1 >conftest.err
7802 cat conftest.err >&5
7803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7804 (exit $ac_status); } &&
7805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7810 (exit $ac_status); }; } &&
7811 { ac_try='test -s conftest$ac_exeext'
7812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7816 (exit $ac_status); }; }; then
7817 ac_cv_lib_m_ceilf=yes
7819 echo "$as_me: failed program was:" >&5
7820 sed 's/^/| /' conftest.$ac_ext >&5
7822 ac_cv_lib_m_ceilf=no
7824 rm -f conftest.err conftest.$ac_objext \
7825 conftest$ac_exeext conftest.$ac_ext
7826 LIBS=$ac_check_lib_save_LIBS
7828 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
7829 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
7830 if test $ac_cv_lib_m_ceilf = yes; then
7832 cat >>confdefs.h <<\_ACEOF
7833 #define HAVE_CEILF 1
7838 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
7839 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
7840 if test "${ac_cv_lib_m_copysignf+set}" = set; then
7841 echo $ECHO_N "(cached) $ECHO_C" >&6
7843 ac_check_lib_save_LIBS=$LIBS
7845 if test x$gcc_no_link = xyes; then
7846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7848 { (exit 1); exit 1; }; }
7850 cat >conftest.$ac_ext <<_ACEOF
7853 cat confdefs.h >>conftest.$ac_ext
7854 cat >>conftest.$ac_ext <<_ACEOF
7855 /* end confdefs.h. */
7857 /* Override any gcc2 internal prototype to avoid an error. */
7861 /* We use char because int might match the return type of a gcc2
7862 builtin and then its argument prototype would still apply. */
7872 rm -f conftest.$ac_objext conftest$ac_exeext
7873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7874 (eval $ac_link) 2>conftest.er1
7876 grep -v '^ *+' conftest.er1 >conftest.err
7878 cat conftest.err >&5
7879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7880 (exit $ac_status); } &&
7881 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7886 (exit $ac_status); }; } &&
7887 { ac_try='test -s conftest$ac_exeext'
7888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7892 (exit $ac_status); }; }; then
7893 ac_cv_lib_m_copysignf=yes
7895 echo "$as_me: failed program was:" >&5
7896 sed 's/^/| /' conftest.$ac_ext >&5
7898 ac_cv_lib_m_copysignf=no
7900 rm -f conftest.err conftest.$ac_objext \
7901 conftest$ac_exeext conftest.$ac_ext
7902 LIBS=$ac_check_lib_save_LIBS
7904 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
7905 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
7906 if test $ac_cv_lib_m_copysignf = yes; then
7908 cat >>confdefs.h <<\_ACEOF
7909 #define HAVE_COPYSIGNF 1
7914 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
7915 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
7916 if test "${ac_cv_lib_m_cosf+set}" = set; then
7917 echo $ECHO_N "(cached) $ECHO_C" >&6
7919 ac_check_lib_save_LIBS=$LIBS
7921 if test x$gcc_no_link = xyes; then
7922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7924 { (exit 1); exit 1; }; }
7926 cat >conftest.$ac_ext <<_ACEOF
7929 cat confdefs.h >>conftest.$ac_ext
7930 cat >>conftest.$ac_ext <<_ACEOF
7931 /* end confdefs.h. */
7933 /* Override any gcc2 internal prototype to avoid an error. */
7937 /* We use char because int might match the return type of a gcc2
7938 builtin and then its argument prototype would still apply. */
7948 rm -f conftest.$ac_objext conftest$ac_exeext
7949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7950 (eval $ac_link) 2>conftest.er1
7952 grep -v '^ *+' conftest.er1 >conftest.err
7954 cat conftest.err >&5
7955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7956 (exit $ac_status); } &&
7957 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7962 (exit $ac_status); }; } &&
7963 { ac_try='test -s conftest$ac_exeext'
7964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7968 (exit $ac_status); }; }; then
7969 ac_cv_lib_m_cosf=yes
7971 echo "$as_me: failed program was:" >&5
7972 sed 's/^/| /' conftest.$ac_ext >&5
7976 rm -f conftest.err conftest.$ac_objext \
7977 conftest$ac_exeext conftest.$ac_ext
7978 LIBS=$ac_check_lib_save_LIBS
7980 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
7981 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
7982 if test $ac_cv_lib_m_cosf = yes; then
7984 cat >>confdefs.h <<\_ACEOF
7990 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
7991 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
7992 if test "${ac_cv_lib_m_coshf+set}" = set; then
7993 echo $ECHO_N "(cached) $ECHO_C" >&6
7995 ac_check_lib_save_LIBS=$LIBS
7997 if test x$gcc_no_link = xyes; then
7998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8000 { (exit 1); exit 1; }; }
8002 cat >conftest.$ac_ext <<_ACEOF
8005 cat confdefs.h >>conftest.$ac_ext
8006 cat >>conftest.$ac_ext <<_ACEOF
8007 /* end confdefs.h. */
8009 /* Override any gcc2 internal prototype to avoid an error. */
8013 /* We use char because int might match the return type of a gcc2
8014 builtin and then its argument prototype would still apply. */
8024 rm -f conftest.$ac_objext conftest$ac_exeext
8025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8026 (eval $ac_link) 2>conftest.er1
8028 grep -v '^ *+' conftest.er1 >conftest.err
8030 cat conftest.err >&5
8031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8032 (exit $ac_status); } &&
8033 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8038 (exit $ac_status); }; } &&
8039 { ac_try='test -s conftest$ac_exeext'
8040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8044 (exit $ac_status); }; }; then
8045 ac_cv_lib_m_coshf=yes
8047 echo "$as_me: failed program was:" >&5
8048 sed 's/^/| /' conftest.$ac_ext >&5
8050 ac_cv_lib_m_coshf=no
8052 rm -f conftest.err conftest.$ac_objext \
8053 conftest$ac_exeext conftest.$ac_ext
8054 LIBS=$ac_check_lib_save_LIBS
8056 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
8057 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
8058 if test $ac_cv_lib_m_coshf = yes; then
8060 cat >>confdefs.h <<\_ACEOF
8061 #define HAVE_COSHF 1
8066 echo "$as_me:$LINENO: checking for expf in -lm" >&5
8067 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
8068 if test "${ac_cv_lib_m_expf+set}" = set; then
8069 echo $ECHO_N "(cached) $ECHO_C" >&6
8071 ac_check_lib_save_LIBS=$LIBS
8073 if test x$gcc_no_link = xyes; then
8074 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8076 { (exit 1); exit 1; }; }
8078 cat >conftest.$ac_ext <<_ACEOF
8081 cat confdefs.h >>conftest.$ac_ext
8082 cat >>conftest.$ac_ext <<_ACEOF
8083 /* end confdefs.h. */
8085 /* Override any gcc2 internal prototype to avoid an error. */
8089 /* We use char because int might match the return type of a gcc2
8090 builtin and then its argument prototype would still apply. */
8100 rm -f conftest.$ac_objext conftest$ac_exeext
8101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8102 (eval $ac_link) 2>conftest.er1
8104 grep -v '^ *+' conftest.er1 >conftest.err
8106 cat conftest.err >&5
8107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8108 (exit $ac_status); } &&
8109 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8114 (exit $ac_status); }; } &&
8115 { ac_try='test -s conftest$ac_exeext'
8116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8120 (exit $ac_status); }; }; then
8121 ac_cv_lib_m_expf=yes
8123 echo "$as_me: failed program was:" >&5
8124 sed 's/^/| /' conftest.$ac_ext >&5
8128 rm -f conftest.err conftest.$ac_objext \
8129 conftest$ac_exeext conftest.$ac_ext
8130 LIBS=$ac_check_lib_save_LIBS
8132 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
8133 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
8134 if test $ac_cv_lib_m_expf = yes; then
8136 cat >>confdefs.h <<\_ACEOF
8142 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
8143 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
8144 if test "${ac_cv_lib_m_floorf+set}" = set; then
8145 echo $ECHO_N "(cached) $ECHO_C" >&6
8147 ac_check_lib_save_LIBS=$LIBS
8149 if test x$gcc_no_link = xyes; then
8150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8152 { (exit 1); exit 1; }; }
8154 cat >conftest.$ac_ext <<_ACEOF
8157 cat confdefs.h >>conftest.$ac_ext
8158 cat >>conftest.$ac_ext <<_ACEOF
8159 /* end confdefs.h. */
8161 /* Override any gcc2 internal prototype to avoid an error. */
8165 /* We use char because int might match the return type of a gcc2
8166 builtin and then its argument prototype would still apply. */
8176 rm -f conftest.$ac_objext conftest$ac_exeext
8177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8178 (eval $ac_link) 2>conftest.er1
8180 grep -v '^ *+' conftest.er1 >conftest.err
8182 cat conftest.err >&5
8183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184 (exit $ac_status); } &&
8185 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8190 (exit $ac_status); }; } &&
8191 { ac_try='test -s conftest$ac_exeext'
8192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8196 (exit $ac_status); }; }; then
8197 ac_cv_lib_m_floorf=yes
8199 echo "$as_me: failed program was:" >&5
8200 sed 's/^/| /' conftest.$ac_ext >&5
8202 ac_cv_lib_m_floorf=no
8204 rm -f conftest.err conftest.$ac_objext \
8205 conftest$ac_exeext conftest.$ac_ext
8206 LIBS=$ac_check_lib_save_LIBS
8208 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
8209 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
8210 if test $ac_cv_lib_m_floorf = yes; then
8212 cat >>confdefs.h <<\_ACEOF
8213 #define HAVE_FLOORF 1
8218 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
8219 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
8220 if test "${ac_cv_lib_m_frexpf+set}" = set; then
8221 echo $ECHO_N "(cached) $ECHO_C" >&6
8223 ac_check_lib_save_LIBS=$LIBS
8225 if test x$gcc_no_link = xyes; then
8226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8228 { (exit 1); exit 1; }; }
8230 cat >conftest.$ac_ext <<_ACEOF
8233 cat confdefs.h >>conftest.$ac_ext
8234 cat >>conftest.$ac_ext <<_ACEOF
8235 /* end confdefs.h. */
8237 /* Override any gcc2 internal prototype to avoid an error. */
8241 /* We use char because int might match the return type of a gcc2
8242 builtin and then its argument prototype would still apply. */
8252 rm -f conftest.$ac_objext conftest$ac_exeext
8253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8254 (eval $ac_link) 2>conftest.er1
8256 grep -v '^ *+' conftest.er1 >conftest.err
8258 cat conftest.err >&5
8259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8260 (exit $ac_status); } &&
8261 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8266 (exit $ac_status); }; } &&
8267 { ac_try='test -s conftest$ac_exeext'
8268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8272 (exit $ac_status); }; }; then
8273 ac_cv_lib_m_frexpf=yes
8275 echo "$as_me: failed program was:" >&5
8276 sed 's/^/| /' conftest.$ac_ext >&5
8278 ac_cv_lib_m_frexpf=no
8280 rm -f conftest.err conftest.$ac_objext \
8281 conftest$ac_exeext conftest.$ac_ext
8282 LIBS=$ac_check_lib_save_LIBS
8284 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
8285 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
8286 if test $ac_cv_lib_m_frexpf = yes; then
8288 cat >>confdefs.h <<\_ACEOF
8289 #define HAVE_FREXPF 1
8294 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
8295 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
8296 if test "${ac_cv_lib_m_hypotf+set}" = set; then
8297 echo $ECHO_N "(cached) $ECHO_C" >&6
8299 ac_check_lib_save_LIBS=$LIBS
8301 if test x$gcc_no_link = xyes; then
8302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8304 { (exit 1); exit 1; }; }
8306 cat >conftest.$ac_ext <<_ACEOF
8309 cat confdefs.h >>conftest.$ac_ext
8310 cat >>conftest.$ac_ext <<_ACEOF
8311 /* end confdefs.h. */
8313 /* Override any gcc2 internal prototype to avoid an error. */
8317 /* We use char because int might match the return type of a gcc2
8318 builtin and then its argument prototype would still apply. */
8328 rm -f conftest.$ac_objext conftest$ac_exeext
8329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8330 (eval $ac_link) 2>conftest.er1
8332 grep -v '^ *+' conftest.er1 >conftest.err
8334 cat conftest.err >&5
8335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8336 (exit $ac_status); } &&
8337 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8342 (exit $ac_status); }; } &&
8343 { ac_try='test -s conftest$ac_exeext'
8344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8348 (exit $ac_status); }; }; then
8349 ac_cv_lib_m_hypotf=yes
8351 echo "$as_me: failed program was:" >&5
8352 sed 's/^/| /' conftest.$ac_ext >&5
8354 ac_cv_lib_m_hypotf=no
8356 rm -f conftest.err conftest.$ac_objext \
8357 conftest$ac_exeext conftest.$ac_ext
8358 LIBS=$ac_check_lib_save_LIBS
8360 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
8361 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
8362 if test $ac_cv_lib_m_hypotf = yes; then
8364 cat >>confdefs.h <<\_ACEOF
8365 #define HAVE_HYPOTF 1
8370 echo "$as_me:$LINENO: checking for logf in -lm" >&5
8371 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
8372 if test "${ac_cv_lib_m_logf+set}" = set; then
8373 echo $ECHO_N "(cached) $ECHO_C" >&6
8375 ac_check_lib_save_LIBS=$LIBS
8377 if test x$gcc_no_link = xyes; then
8378 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8380 { (exit 1); exit 1; }; }
8382 cat >conftest.$ac_ext <<_ACEOF
8385 cat confdefs.h >>conftest.$ac_ext
8386 cat >>conftest.$ac_ext <<_ACEOF
8387 /* end confdefs.h. */
8389 /* Override any gcc2 internal prototype to avoid an error. */
8393 /* We use char because int might match the return type of a gcc2
8394 builtin and then its argument prototype would still apply. */
8404 rm -f conftest.$ac_objext conftest$ac_exeext
8405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8406 (eval $ac_link) 2>conftest.er1
8408 grep -v '^ *+' conftest.er1 >conftest.err
8410 cat conftest.err >&5
8411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8412 (exit $ac_status); } &&
8413 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8418 (exit $ac_status); }; } &&
8419 { ac_try='test -s conftest$ac_exeext'
8420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8424 (exit $ac_status); }; }; then
8425 ac_cv_lib_m_logf=yes
8427 echo "$as_me: failed program was:" >&5
8428 sed 's/^/| /' conftest.$ac_ext >&5
8432 rm -f conftest.err conftest.$ac_objext \
8433 conftest$ac_exeext conftest.$ac_ext
8434 LIBS=$ac_check_lib_save_LIBS
8436 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
8437 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
8438 if test $ac_cv_lib_m_logf = yes; then
8440 cat >>confdefs.h <<\_ACEOF
8446 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
8447 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
8448 if test "${ac_cv_lib_m_log10f+set}" = set; then
8449 echo $ECHO_N "(cached) $ECHO_C" >&6
8451 ac_check_lib_save_LIBS=$LIBS
8453 if test x$gcc_no_link = xyes; then
8454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8456 { (exit 1); exit 1; }; }
8458 cat >conftest.$ac_ext <<_ACEOF
8461 cat confdefs.h >>conftest.$ac_ext
8462 cat >>conftest.$ac_ext <<_ACEOF
8463 /* end confdefs.h. */
8465 /* Override any gcc2 internal prototype to avoid an error. */
8469 /* We use char because int might match the return type of a gcc2
8470 builtin and then its argument prototype would still apply. */
8480 rm -f conftest.$ac_objext conftest$ac_exeext
8481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8482 (eval $ac_link) 2>conftest.er1
8484 grep -v '^ *+' conftest.er1 >conftest.err
8486 cat conftest.err >&5
8487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8488 (exit $ac_status); } &&
8489 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8494 (exit $ac_status); }; } &&
8495 { ac_try='test -s conftest$ac_exeext'
8496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8500 (exit $ac_status); }; }; then
8501 ac_cv_lib_m_log10f=yes
8503 echo "$as_me: failed program was:" >&5
8504 sed 's/^/| /' conftest.$ac_ext >&5
8506 ac_cv_lib_m_log10f=no
8508 rm -f conftest.err conftest.$ac_objext \
8509 conftest$ac_exeext conftest.$ac_ext
8510 LIBS=$ac_check_lib_save_LIBS
8512 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
8513 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
8514 if test $ac_cv_lib_m_log10f = yes; then
8516 cat >>confdefs.h <<\_ACEOF
8517 #define HAVE_LOG10F 1
8522 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
8523 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
8524 if test "${ac_cv_lib_m_nextafter+set}" = set; then
8525 echo $ECHO_N "(cached) $ECHO_C" >&6
8527 ac_check_lib_save_LIBS=$LIBS
8529 if test x$gcc_no_link = xyes; then
8530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8532 { (exit 1); exit 1; }; }
8534 cat >conftest.$ac_ext <<_ACEOF
8537 cat confdefs.h >>conftest.$ac_ext
8538 cat >>conftest.$ac_ext <<_ACEOF
8539 /* end confdefs.h. */
8541 /* Override any gcc2 internal prototype to avoid an error. */
8545 /* We use char because int might match the return type of a gcc2
8546 builtin and then its argument prototype would still apply. */
8556 rm -f conftest.$ac_objext conftest$ac_exeext
8557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8558 (eval $ac_link) 2>conftest.er1
8560 grep -v '^ *+' conftest.er1 >conftest.err
8562 cat conftest.err >&5
8563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8564 (exit $ac_status); } &&
8565 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8570 (exit $ac_status); }; } &&
8571 { ac_try='test -s conftest$ac_exeext'
8572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8576 (exit $ac_status); }; }; then
8577 ac_cv_lib_m_nextafter=yes
8579 echo "$as_me: failed program was:" >&5
8580 sed 's/^/| /' conftest.$ac_ext >&5
8582 ac_cv_lib_m_nextafter=no
8584 rm -f conftest.err conftest.$ac_objext \
8585 conftest$ac_exeext conftest.$ac_ext
8586 LIBS=$ac_check_lib_save_LIBS
8588 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
8589 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
8590 if test $ac_cv_lib_m_nextafter = yes; then
8592 cat >>confdefs.h <<\_ACEOF
8593 #define HAVE_NEXTAFTER 1
8598 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
8599 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
8600 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
8601 echo $ECHO_N "(cached) $ECHO_C" >&6
8603 ac_check_lib_save_LIBS=$LIBS
8605 if test x$gcc_no_link = xyes; then
8606 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8608 { (exit 1); exit 1; }; }
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
8653 ac_cv_lib_m_nextafterf=yes
8655 echo "$as_me: failed program was:" >&5
8656 sed 's/^/| /' conftest.$ac_ext >&5
8658 ac_cv_lib_m_nextafterf=no
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_nextafterf" >&5
8665 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
8666 if test $ac_cv_lib_m_nextafterf = yes; then
8668 cat >>confdefs.h <<\_ACEOF
8669 #define HAVE_NEXTAFTERF 1
8674 echo "$as_me:$LINENO: checking for powf in -lm" >&5
8675 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
8676 if test "${ac_cv_lib_m_powf+set}" = set; then
8677 echo $ECHO_N "(cached) $ECHO_C" >&6
8679 ac_check_lib_save_LIBS=$LIBS
8681 if test x$gcc_no_link = xyes; then
8682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8684 { (exit 1); exit 1; }; }
8686 cat >conftest.$ac_ext <<_ACEOF
8689 cat confdefs.h >>conftest.$ac_ext
8690 cat >>conftest.$ac_ext <<_ACEOF
8691 /* end confdefs.h. */
8693 /* Override any gcc2 internal prototype to avoid an error. */
8697 /* We use char because int might match the return type of a gcc2
8698 builtin and then its argument prototype would still apply. */
8708 rm -f conftest.$ac_objext conftest$ac_exeext
8709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8710 (eval $ac_link) 2>conftest.er1
8712 grep -v '^ *+' conftest.er1 >conftest.err
8714 cat conftest.err >&5
8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 (exit $ac_status); } &&
8717 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8722 (exit $ac_status); }; } &&
8723 { ac_try='test -s conftest$ac_exeext'
8724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 (exit $ac_status); }; }; then
8729 ac_cv_lib_m_powf=yes
8731 echo "$as_me: failed program was:" >&5
8732 sed 's/^/| /' conftest.$ac_ext >&5
8736 rm -f conftest.err conftest.$ac_objext \
8737 conftest$ac_exeext conftest.$ac_ext
8738 LIBS=$ac_check_lib_save_LIBS
8740 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
8741 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
8742 if test $ac_cv_lib_m_powf = yes; then
8744 cat >>confdefs.h <<\_ACEOF
8750 echo "$as_me:$LINENO: checking for round in -lm" >&5
8751 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
8752 if test "${ac_cv_lib_m_round+set}" = set; then
8753 echo $ECHO_N "(cached) $ECHO_C" >&6
8755 ac_check_lib_save_LIBS=$LIBS
8757 if test x$gcc_no_link = xyes; then
8758 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8760 { (exit 1); exit 1; }; }
8762 cat >conftest.$ac_ext <<_ACEOF
8765 cat confdefs.h >>conftest.$ac_ext
8766 cat >>conftest.$ac_ext <<_ACEOF
8767 /* end confdefs.h. */
8769 /* Override any gcc2 internal prototype to avoid an error. */
8773 /* We use char because int might match the return type of a gcc2
8774 builtin and then its argument prototype would still apply. */
8784 rm -f conftest.$ac_objext conftest$ac_exeext
8785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8786 (eval $ac_link) 2>conftest.er1
8788 grep -v '^ *+' conftest.er1 >conftest.err
8790 cat conftest.err >&5
8791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8792 (exit $ac_status); } &&
8793 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8798 (exit $ac_status); }; } &&
8799 { ac_try='test -s conftest$ac_exeext'
8800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8804 (exit $ac_status); }; }; then
8805 ac_cv_lib_m_round=yes
8807 echo "$as_me: failed program was:" >&5
8808 sed 's/^/| /' conftest.$ac_ext >&5
8810 ac_cv_lib_m_round=no
8812 rm -f conftest.err conftest.$ac_objext \
8813 conftest$ac_exeext conftest.$ac_ext
8814 LIBS=$ac_check_lib_save_LIBS
8816 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
8817 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
8818 if test $ac_cv_lib_m_round = yes; then
8820 cat >>confdefs.h <<\_ACEOF
8821 #define HAVE_ROUND 1
8826 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
8827 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
8828 if test "${ac_cv_lib_m_roundf+set}" = set; then
8829 echo $ECHO_N "(cached) $ECHO_C" >&6
8831 ac_check_lib_save_LIBS=$LIBS
8833 if test x$gcc_no_link = xyes; then
8834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8836 { (exit 1); exit 1; }; }
8838 cat >conftest.$ac_ext <<_ACEOF
8841 cat confdefs.h >>conftest.$ac_ext
8842 cat >>conftest.$ac_ext <<_ACEOF
8843 /* end confdefs.h. */
8845 /* Override any gcc2 internal prototype to avoid an error. */
8849 /* We use char because int might match the return type of a gcc2
8850 builtin and then its argument prototype would still apply. */
8860 rm -f conftest.$ac_objext conftest$ac_exeext
8861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8862 (eval $ac_link) 2>conftest.er1
8864 grep -v '^ *+' conftest.er1 >conftest.err
8866 cat conftest.err >&5
8867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8868 (exit $ac_status); } &&
8869 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874 (exit $ac_status); }; } &&
8875 { ac_try='test -s conftest$ac_exeext'
8876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8880 (exit $ac_status); }; }; then
8881 ac_cv_lib_m_roundf=yes
8883 echo "$as_me: failed program was:" >&5
8884 sed 's/^/| /' conftest.$ac_ext >&5
8886 ac_cv_lib_m_roundf=no
8888 rm -f conftest.err conftest.$ac_objext \
8889 conftest$ac_exeext conftest.$ac_ext
8890 LIBS=$ac_check_lib_save_LIBS
8892 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
8893 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
8894 if test $ac_cv_lib_m_roundf = yes; then
8896 cat >>confdefs.h <<\_ACEOF
8897 #define HAVE_ROUNDF 1
8902 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
8903 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
8904 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
8905 echo $ECHO_N "(cached) $ECHO_C" >&6
8907 ac_check_lib_save_LIBS=$LIBS
8909 if test x$gcc_no_link = xyes; then
8910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8912 { (exit 1); exit 1; }; }
8914 cat >conftest.$ac_ext <<_ACEOF
8917 cat confdefs.h >>conftest.$ac_ext
8918 cat >>conftest.$ac_ext <<_ACEOF
8919 /* end confdefs.h. */
8921 /* Override any gcc2 internal prototype to avoid an error. */
8925 /* We use char because int might match the return type of a gcc2
8926 builtin and then its argument prototype would still apply. */
8936 rm -f conftest.$ac_objext conftest$ac_exeext
8937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8938 (eval $ac_link) 2>conftest.er1
8940 grep -v '^ *+' conftest.er1 >conftest.err
8942 cat conftest.err >&5
8943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8944 (exit $ac_status); } &&
8945 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8950 (exit $ac_status); }; } &&
8951 { ac_try='test -s conftest$ac_exeext'
8952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8956 (exit $ac_status); }; }; then
8957 ac_cv_lib_m_scalbnf=yes
8959 echo "$as_me: failed program was:" >&5
8960 sed 's/^/| /' conftest.$ac_ext >&5
8962 ac_cv_lib_m_scalbnf=no
8964 rm -f conftest.err conftest.$ac_objext \
8965 conftest$ac_exeext conftest.$ac_ext
8966 LIBS=$ac_check_lib_save_LIBS
8968 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
8969 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
8970 if test $ac_cv_lib_m_scalbnf = yes; then
8972 cat >>confdefs.h <<\_ACEOF
8973 #define HAVE_SCALBNF 1
8978 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
8979 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
8980 if test "${ac_cv_lib_m_sinf+set}" = set; then
8981 echo $ECHO_N "(cached) $ECHO_C" >&6
8983 ac_check_lib_save_LIBS=$LIBS
8985 if test x$gcc_no_link = xyes; then
8986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8988 { (exit 1); exit 1; }; }
8990 cat >conftest.$ac_ext <<_ACEOF
8993 cat confdefs.h >>conftest.$ac_ext
8994 cat >>conftest.$ac_ext <<_ACEOF
8995 /* end confdefs.h. */
8997 /* Override any gcc2 internal prototype to avoid an error. */
9001 /* We use char because int might match the return type of a gcc2
9002 builtin and then its argument prototype would still apply. */
9012 rm -f conftest.$ac_objext conftest$ac_exeext
9013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9014 (eval $ac_link) 2>conftest.er1
9016 grep -v '^ *+' conftest.er1 >conftest.err
9018 cat conftest.err >&5
9019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9020 (exit $ac_status); } &&
9021 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9026 (exit $ac_status); }; } &&
9027 { ac_try='test -s conftest$ac_exeext'
9028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9032 (exit $ac_status); }; }; then
9033 ac_cv_lib_m_sinf=yes
9035 echo "$as_me: failed program was:" >&5
9036 sed 's/^/| /' conftest.$ac_ext >&5
9040 rm -f conftest.err conftest.$ac_objext \
9041 conftest$ac_exeext conftest.$ac_ext
9042 LIBS=$ac_check_lib_save_LIBS
9044 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
9045 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
9046 if test $ac_cv_lib_m_sinf = yes; then
9048 cat >>confdefs.h <<\_ACEOF
9054 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
9055 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
9056 if test "${ac_cv_lib_m_sinhf+set}" = set; then
9057 echo $ECHO_N "(cached) $ECHO_C" >&6
9059 ac_check_lib_save_LIBS=$LIBS
9061 if test x$gcc_no_link = xyes; then
9062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9064 { (exit 1); exit 1; }; }
9066 cat >conftest.$ac_ext <<_ACEOF
9069 cat confdefs.h >>conftest.$ac_ext
9070 cat >>conftest.$ac_ext <<_ACEOF
9071 /* end confdefs.h. */
9073 /* Override any gcc2 internal prototype to avoid an error. */
9077 /* We use char because int might match the return type of a gcc2
9078 builtin and then its argument prototype would still apply. */
9088 rm -f conftest.$ac_objext conftest$ac_exeext
9089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9090 (eval $ac_link) 2>conftest.er1
9092 grep -v '^ *+' conftest.er1 >conftest.err
9094 cat conftest.err >&5
9095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9096 (exit $ac_status); } &&
9097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9102 (exit $ac_status); }; } &&
9103 { ac_try='test -s conftest$ac_exeext'
9104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9108 (exit $ac_status); }; }; then
9109 ac_cv_lib_m_sinhf=yes
9111 echo "$as_me: failed program was:" >&5
9112 sed 's/^/| /' conftest.$ac_ext >&5
9114 ac_cv_lib_m_sinhf=no
9116 rm -f conftest.err conftest.$ac_objext \
9117 conftest$ac_exeext conftest.$ac_ext
9118 LIBS=$ac_check_lib_save_LIBS
9120 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
9121 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
9122 if test $ac_cv_lib_m_sinhf = yes; then
9124 cat >>confdefs.h <<\_ACEOF
9125 #define HAVE_SINHF 1
9130 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
9131 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
9132 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
9133 echo $ECHO_N "(cached) $ECHO_C" >&6
9135 ac_check_lib_save_LIBS=$LIBS
9137 if test x$gcc_no_link = xyes; then
9138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9140 { (exit 1); exit 1; }; }
9142 cat >conftest.$ac_ext <<_ACEOF
9145 cat confdefs.h >>conftest.$ac_ext
9146 cat >>conftest.$ac_ext <<_ACEOF
9147 /* end confdefs.h. */
9149 /* Override any gcc2 internal prototype to avoid an error. */
9153 /* We use char because int might match the return type of a gcc2
9154 builtin and then its argument prototype would still apply. */
9164 rm -f conftest.$ac_objext conftest$ac_exeext
9165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9166 (eval $ac_link) 2>conftest.er1
9168 grep -v '^ *+' conftest.er1 >conftest.err
9170 cat conftest.err >&5
9171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9172 (exit $ac_status); } &&
9173 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9178 (exit $ac_status); }; } &&
9179 { ac_try='test -s conftest$ac_exeext'
9180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9184 (exit $ac_status); }; }; then
9185 ac_cv_lib_m_sqrtf=yes
9187 echo "$as_me: failed program was:" >&5
9188 sed 's/^/| /' conftest.$ac_ext >&5
9190 ac_cv_lib_m_sqrtf=no
9192 rm -f conftest.err conftest.$ac_objext \
9193 conftest$ac_exeext conftest.$ac_ext
9194 LIBS=$ac_check_lib_save_LIBS
9196 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
9197 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
9198 if test $ac_cv_lib_m_sqrtf = yes; then
9200 cat >>confdefs.h <<\_ACEOF
9201 #define HAVE_SQRTF 1
9206 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
9207 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
9208 if test "${ac_cv_lib_m_tanf+set}" = set; then
9209 echo $ECHO_N "(cached) $ECHO_C" >&6
9211 ac_check_lib_save_LIBS=$LIBS
9213 if test x$gcc_no_link = xyes; then
9214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9216 { (exit 1); exit 1; }; }
9218 cat >conftest.$ac_ext <<_ACEOF
9221 cat confdefs.h >>conftest.$ac_ext
9222 cat >>conftest.$ac_ext <<_ACEOF
9223 /* end confdefs.h. */
9225 /* Override any gcc2 internal prototype to avoid an error. */
9229 /* We use char because int might match the return type of a gcc2
9230 builtin and then its argument prototype would still apply. */
9240 rm -f conftest.$ac_objext conftest$ac_exeext
9241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9242 (eval $ac_link) 2>conftest.er1
9244 grep -v '^ *+' conftest.er1 >conftest.err
9246 cat conftest.err >&5
9247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9248 (exit $ac_status); } &&
9249 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9254 (exit $ac_status); }; } &&
9255 { ac_try='test -s conftest$ac_exeext'
9256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9260 (exit $ac_status); }; }; then
9261 ac_cv_lib_m_tanf=yes
9263 echo "$as_me: failed program was:" >&5
9264 sed 's/^/| /' conftest.$ac_ext >&5
9268 rm -f conftest.err conftest.$ac_objext \
9269 conftest$ac_exeext conftest.$ac_ext
9270 LIBS=$ac_check_lib_save_LIBS
9272 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
9273 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
9274 if test $ac_cv_lib_m_tanf = yes; then
9276 cat >>confdefs.h <<\_ACEOF
9282 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
9283 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
9284 if test "${ac_cv_lib_m_tanhf+set}" = set; then
9285 echo $ECHO_N "(cached) $ECHO_C" >&6
9287 ac_check_lib_save_LIBS=$LIBS
9289 if test x$gcc_no_link = xyes; then
9290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9292 { (exit 1); exit 1; }; }
9294 cat >conftest.$ac_ext <<_ACEOF
9297 cat confdefs.h >>conftest.$ac_ext
9298 cat >>conftest.$ac_ext <<_ACEOF
9299 /* end confdefs.h. */
9301 /* Override any gcc2 internal prototype to avoid an error. */
9305 /* We use char because int might match the return type of a gcc2
9306 builtin and then its argument prototype would still apply. */
9316 rm -f conftest.$ac_objext conftest$ac_exeext
9317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9318 (eval $ac_link) 2>conftest.er1
9320 grep -v '^ *+' conftest.er1 >conftest.err
9322 cat conftest.err >&5
9323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9324 (exit $ac_status); } &&
9325 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9330 (exit $ac_status); }; } &&
9331 { ac_try='test -s conftest$ac_exeext'
9332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9336 (exit $ac_status); }; }; then
9337 ac_cv_lib_m_tanhf=yes
9339 echo "$as_me: failed program was:" >&5
9340 sed 's/^/| /' conftest.$ac_ext >&5
9342 ac_cv_lib_m_tanhf=no
9344 rm -f conftest.err conftest.$ac_objext \
9345 conftest$ac_exeext conftest.$ac_ext
9346 LIBS=$ac_check_lib_save_LIBS
9348 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
9349 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
9350 if test $ac_cv_lib_m_tanhf = yes; then
9352 cat >>confdefs.h <<\_ACEOF
9353 #define HAVE_TANHF 1
9358 echo "$as_me:$LINENO: checking for erf in -lm" >&5
9359 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
9360 if test "${ac_cv_lib_m_erf+set}" = set; then
9361 echo $ECHO_N "(cached) $ECHO_C" >&6
9363 ac_check_lib_save_LIBS=$LIBS
9365 if test x$gcc_no_link = xyes; then
9366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9368 { (exit 1); exit 1; }; }
9370 cat >conftest.$ac_ext <<_ACEOF
9373 cat confdefs.h >>conftest.$ac_ext
9374 cat >>conftest.$ac_ext <<_ACEOF
9375 /* end confdefs.h. */
9377 /* Override any gcc2 internal prototype to avoid an error. */
9381 /* We use char because int might match the return type of a gcc2
9382 builtin and then its argument prototype would still apply. */
9392 rm -f conftest.$ac_objext conftest$ac_exeext
9393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9394 (eval $ac_link) 2>conftest.er1
9396 grep -v '^ *+' conftest.er1 >conftest.err
9398 cat conftest.err >&5
9399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9400 (exit $ac_status); } &&
9401 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9406 (exit $ac_status); }; } &&
9407 { ac_try='test -s conftest$ac_exeext'
9408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9412 (exit $ac_status); }; }; then
9415 echo "$as_me: failed program was:" >&5
9416 sed 's/^/| /' conftest.$ac_ext >&5
9420 rm -f conftest.err conftest.$ac_objext \
9421 conftest$ac_exeext conftest.$ac_ext
9422 LIBS=$ac_check_lib_save_LIBS
9424 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
9425 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
9426 if test $ac_cv_lib_m_erf = yes; then
9428 cat >>confdefs.h <<\_ACEOF
9434 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
9435 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
9436 if test "${ac_cv_lib_m_erfc+set}" = set; then
9437 echo $ECHO_N "(cached) $ECHO_C" >&6
9439 ac_check_lib_save_LIBS=$LIBS
9441 if test x$gcc_no_link = xyes; then
9442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9444 { (exit 1); exit 1; }; }
9446 cat >conftest.$ac_ext <<_ACEOF
9449 cat confdefs.h >>conftest.$ac_ext
9450 cat >>conftest.$ac_ext <<_ACEOF
9451 /* end confdefs.h. */
9453 /* Override any gcc2 internal prototype to avoid an error. */
9457 /* We use char because int might match the return type of a gcc2
9458 builtin and then its argument prototype would still apply. */
9468 rm -f conftest.$ac_objext conftest$ac_exeext
9469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9470 (eval $ac_link) 2>conftest.er1
9472 grep -v '^ *+' conftest.er1 >conftest.err
9474 cat conftest.err >&5
9475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9476 (exit $ac_status); } &&
9477 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9482 (exit $ac_status); }; } &&
9483 { ac_try='test -s conftest$ac_exeext'
9484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9488 (exit $ac_status); }; }; then
9489 ac_cv_lib_m_erfc=yes
9491 echo "$as_me: failed program was:" >&5
9492 sed 's/^/| /' conftest.$ac_ext >&5
9496 rm -f conftest.err conftest.$ac_objext \
9497 conftest$ac_exeext conftest.$ac_ext
9498 LIBS=$ac_check_lib_save_LIBS
9500 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
9501 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
9502 if test $ac_cv_lib_m_erfc = yes; then
9504 cat >>confdefs.h <<\_ACEOF
9510 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
9511 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
9512 if test "${ac_cv_lib_m_erfcf+set}" = set; then
9513 echo $ECHO_N "(cached) $ECHO_C" >&6
9515 ac_check_lib_save_LIBS=$LIBS
9517 if test x$gcc_no_link = xyes; then
9518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9520 { (exit 1); exit 1; }; }
9522 cat >conftest.$ac_ext <<_ACEOF
9525 cat confdefs.h >>conftest.$ac_ext
9526 cat >>conftest.$ac_ext <<_ACEOF
9527 /* end confdefs.h. */
9529 /* Override any gcc2 internal prototype to avoid an error. */
9533 /* We use char because int might match the return type of a gcc2
9534 builtin and then its argument prototype would still apply. */
9544 rm -f conftest.$ac_objext conftest$ac_exeext
9545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9546 (eval $ac_link) 2>conftest.er1
9548 grep -v '^ *+' conftest.er1 >conftest.err
9550 cat conftest.err >&5
9551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9552 (exit $ac_status); } &&
9553 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9558 (exit $ac_status); }; } &&
9559 { ac_try='test -s conftest$ac_exeext'
9560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9564 (exit $ac_status); }; }; then
9565 ac_cv_lib_m_erfcf=yes
9567 echo "$as_me: failed program was:" >&5
9568 sed 's/^/| /' conftest.$ac_ext >&5
9570 ac_cv_lib_m_erfcf=no
9572 rm -f conftest.err conftest.$ac_objext \
9573 conftest$ac_exeext conftest.$ac_ext
9574 LIBS=$ac_check_lib_save_LIBS
9576 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
9577 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
9578 if test $ac_cv_lib_m_erfcf = yes; then
9580 cat >>confdefs.h <<\_ACEOF
9581 #define HAVE_ERFCF 1
9586 echo "$as_me:$LINENO: checking for erff in -lm" >&5
9587 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
9588 if test "${ac_cv_lib_m_erff+set}" = set; then
9589 echo $ECHO_N "(cached) $ECHO_C" >&6
9591 ac_check_lib_save_LIBS=$LIBS
9593 if test x$gcc_no_link = xyes; then
9594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9596 { (exit 1); exit 1; }; }
9598 cat >conftest.$ac_ext <<_ACEOF
9601 cat confdefs.h >>conftest.$ac_ext
9602 cat >>conftest.$ac_ext <<_ACEOF
9603 /* end confdefs.h. */
9605 /* Override any gcc2 internal prototype to avoid an error. */
9609 /* We use char because int might match the return type of a gcc2
9610 builtin and then its argument prototype would still apply. */
9620 rm -f conftest.$ac_objext conftest$ac_exeext
9621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9622 (eval $ac_link) 2>conftest.er1
9624 grep -v '^ *+' conftest.er1 >conftest.err
9626 cat conftest.err >&5
9627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9628 (exit $ac_status); } &&
9629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9634 (exit $ac_status); }; } &&
9635 { ac_try='test -s conftest$ac_exeext'
9636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9640 (exit $ac_status); }; }; then
9641 ac_cv_lib_m_erff=yes
9643 echo "$as_me: failed program was:" >&5
9644 sed 's/^/| /' conftest.$ac_ext >&5
9648 rm -f conftest.err conftest.$ac_objext \
9649 conftest$ac_exeext conftest.$ac_ext
9650 LIBS=$ac_check_lib_save_LIBS
9652 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
9653 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
9654 if test $ac_cv_lib_m_erff = yes; then
9656 cat >>confdefs.h <<\_ACEOF
9662 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
9663 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
9664 if test "${ac_cv_lib_m_j0+set}" = set; then
9665 echo $ECHO_N "(cached) $ECHO_C" >&6
9667 ac_check_lib_save_LIBS=$LIBS
9669 if test x$gcc_no_link = xyes; then
9670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9672 { (exit 1); exit 1; }; }
9674 cat >conftest.$ac_ext <<_ACEOF
9677 cat confdefs.h >>conftest.$ac_ext
9678 cat >>conftest.$ac_ext <<_ACEOF
9679 /* end confdefs.h. */
9681 /* Override any gcc2 internal prototype to avoid an error. */
9685 /* We use char because int might match the return type of a gcc2
9686 builtin and then its argument prototype would still apply. */
9696 rm -f conftest.$ac_objext conftest$ac_exeext
9697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9698 (eval $ac_link) 2>conftest.er1
9700 grep -v '^ *+' conftest.er1 >conftest.err
9702 cat conftest.err >&5
9703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9704 (exit $ac_status); } &&
9705 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9710 (exit $ac_status); }; } &&
9711 { ac_try='test -s conftest$ac_exeext'
9712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9716 (exit $ac_status); }; }; then
9719 echo "$as_me: failed program was:" >&5
9720 sed 's/^/| /' conftest.$ac_ext >&5
9724 rm -f conftest.err conftest.$ac_objext \
9725 conftest$ac_exeext conftest.$ac_ext
9726 LIBS=$ac_check_lib_save_LIBS
9728 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
9729 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
9730 if test $ac_cv_lib_m_j0 = yes; then
9732 cat >>confdefs.h <<\_ACEOF
9738 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
9739 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
9740 if test "${ac_cv_lib_m_j0f+set}" = set; then
9741 echo $ECHO_N "(cached) $ECHO_C" >&6
9743 ac_check_lib_save_LIBS=$LIBS
9745 if test x$gcc_no_link = xyes; then
9746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9748 { (exit 1); exit 1; }; }
9750 cat >conftest.$ac_ext <<_ACEOF
9753 cat confdefs.h >>conftest.$ac_ext
9754 cat >>conftest.$ac_ext <<_ACEOF
9755 /* end confdefs.h. */
9757 /* Override any gcc2 internal prototype to avoid an error. */
9761 /* We use char because int might match the return type of a gcc2
9762 builtin and then its argument prototype would still apply. */
9772 rm -f conftest.$ac_objext conftest$ac_exeext
9773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9774 (eval $ac_link) 2>conftest.er1
9776 grep -v '^ *+' conftest.er1 >conftest.err
9778 cat conftest.err >&5
9779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9780 (exit $ac_status); } &&
9781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9786 (exit $ac_status); }; } &&
9787 { ac_try='test -s conftest$ac_exeext'
9788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9792 (exit $ac_status); }; }; then
9795 echo "$as_me: failed program was:" >&5
9796 sed 's/^/| /' conftest.$ac_ext >&5
9800 rm -f conftest.err conftest.$ac_objext \
9801 conftest$ac_exeext conftest.$ac_ext
9802 LIBS=$ac_check_lib_save_LIBS
9804 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
9805 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
9806 if test $ac_cv_lib_m_j0f = yes; then
9808 cat >>confdefs.h <<\_ACEOF
9814 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
9815 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
9816 if test "${ac_cv_lib_m_j1+set}" = set; then
9817 echo $ECHO_N "(cached) $ECHO_C" >&6
9819 ac_check_lib_save_LIBS=$LIBS
9821 if test x$gcc_no_link = xyes; then
9822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9824 { (exit 1); exit 1; }; }
9826 cat >conftest.$ac_ext <<_ACEOF
9829 cat confdefs.h >>conftest.$ac_ext
9830 cat >>conftest.$ac_ext <<_ACEOF
9831 /* end confdefs.h. */
9833 /* Override any gcc2 internal prototype to avoid an error. */
9837 /* We use char because int might match the return type of a gcc2
9838 builtin and then its argument prototype would still apply. */
9848 rm -f conftest.$ac_objext conftest$ac_exeext
9849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9850 (eval $ac_link) 2>conftest.er1
9852 grep -v '^ *+' conftest.er1 >conftest.err
9854 cat conftest.err >&5
9855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9856 (exit $ac_status); } &&
9857 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9862 (exit $ac_status); }; } &&
9863 { ac_try='test -s conftest$ac_exeext'
9864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9868 (exit $ac_status); }; }; then
9871 echo "$as_me: failed program was:" >&5
9872 sed 's/^/| /' conftest.$ac_ext >&5
9876 rm -f conftest.err conftest.$ac_objext \
9877 conftest$ac_exeext conftest.$ac_ext
9878 LIBS=$ac_check_lib_save_LIBS
9880 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
9881 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
9882 if test $ac_cv_lib_m_j1 = yes; then
9884 cat >>confdefs.h <<\_ACEOF
9890 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
9891 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
9892 if test "${ac_cv_lib_m_j1f+set}" = set; then
9893 echo $ECHO_N "(cached) $ECHO_C" >&6
9895 ac_check_lib_save_LIBS=$LIBS
9897 if test x$gcc_no_link = xyes; then
9898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9900 { (exit 1); exit 1; }; }
9902 cat >conftest.$ac_ext <<_ACEOF
9905 cat confdefs.h >>conftest.$ac_ext
9906 cat >>conftest.$ac_ext <<_ACEOF
9907 /* end confdefs.h. */
9909 /* Override any gcc2 internal prototype to avoid an error. */
9913 /* We use char because int might match the return type of a gcc2
9914 builtin and then its argument prototype would still apply. */
9924 rm -f conftest.$ac_objext conftest$ac_exeext
9925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9926 (eval $ac_link) 2>conftest.er1
9928 grep -v '^ *+' conftest.er1 >conftest.err
9930 cat conftest.err >&5
9931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9932 (exit $ac_status); } &&
9933 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9938 (exit $ac_status); }; } &&
9939 { ac_try='test -s conftest$ac_exeext'
9940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9944 (exit $ac_status); }; }; then
9947 echo "$as_me: failed program was:" >&5
9948 sed 's/^/| /' conftest.$ac_ext >&5
9952 rm -f conftest.err conftest.$ac_objext \
9953 conftest$ac_exeext conftest.$ac_ext
9954 LIBS=$ac_check_lib_save_LIBS
9956 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
9957 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
9958 if test $ac_cv_lib_m_j1f = yes; then
9960 cat >>confdefs.h <<\_ACEOF
9966 echo "$as_me:$LINENO: checking for jn in -lm" >&5
9967 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
9968 if test "${ac_cv_lib_m_jn+set}" = set; then
9969 echo $ECHO_N "(cached) $ECHO_C" >&6
9971 ac_check_lib_save_LIBS=$LIBS
9973 if test x$gcc_no_link = xyes; then
9974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9976 { (exit 1); exit 1; }; }
9978 cat >conftest.$ac_ext <<_ACEOF
9981 cat confdefs.h >>conftest.$ac_ext
9982 cat >>conftest.$ac_ext <<_ACEOF
9983 /* end confdefs.h. */
9985 /* Override any gcc2 internal prototype to avoid an error. */
9989 /* We use char because int might match the return type of a gcc2
9990 builtin and then its argument prototype would still apply. */
10000 rm -f conftest.$ac_objext conftest$ac_exeext
10001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10002 (eval $ac_link) 2>conftest.er1
10004 grep -v '^ *+' conftest.er1 >conftest.err
10006 cat conftest.err >&5
10007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10008 (exit $ac_status); } &&
10009 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10011 (eval $ac_try) 2>&5
10013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10014 (exit $ac_status); }; } &&
10015 { ac_try='test -s conftest$ac_exeext'
10016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10017 (eval $ac_try) 2>&5
10019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10020 (exit $ac_status); }; }; then
10023 echo "$as_me: failed program was:" >&5
10024 sed 's/^/| /' conftest.$ac_ext >&5
10028 rm -f conftest.err conftest.$ac_objext \
10029 conftest$ac_exeext conftest.$ac_ext
10030 LIBS=$ac_check_lib_save_LIBS
10032 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
10033 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
10034 if test $ac_cv_lib_m_jn = yes; then
10036 cat >>confdefs.h <<\_ACEOF
10042 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
10043 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
10044 if test "${ac_cv_lib_m_jnf+set}" = set; then
10045 echo $ECHO_N "(cached) $ECHO_C" >&6
10047 ac_check_lib_save_LIBS=$LIBS
10049 if test x$gcc_no_link = xyes; then
10050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10052 { (exit 1); exit 1; }; }
10054 cat >conftest.$ac_ext <<_ACEOF
10057 cat confdefs.h >>conftest.$ac_ext
10058 cat >>conftest.$ac_ext <<_ACEOF
10059 /* end confdefs.h. */
10061 /* Override any gcc2 internal prototype to avoid an error. */
10065 /* We use char because int might match the return type of a gcc2
10066 builtin and then its argument prototype would still apply. */
10076 rm -f conftest.$ac_objext conftest$ac_exeext
10077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10078 (eval $ac_link) 2>conftest.er1
10080 grep -v '^ *+' conftest.er1 >conftest.err
10082 cat conftest.err >&5
10083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10084 (exit $ac_status); } &&
10085 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10087 (eval $ac_try) 2>&5
10089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10090 (exit $ac_status); }; } &&
10091 { ac_try='test -s conftest$ac_exeext'
10092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10093 (eval $ac_try) 2>&5
10095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10096 (exit $ac_status); }; }; then
10097 ac_cv_lib_m_jnf=yes
10099 echo "$as_me: failed program was:" >&5
10100 sed 's/^/| /' conftest.$ac_ext >&5
10104 rm -f conftest.err conftest.$ac_objext \
10105 conftest$ac_exeext conftest.$ac_ext
10106 LIBS=$ac_check_lib_save_LIBS
10108 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
10109 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
10110 if test $ac_cv_lib_m_jnf = yes; then
10112 cat >>confdefs.h <<\_ACEOF
10118 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
10119 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
10120 if test "${ac_cv_lib_m_y0+set}" = set; then
10121 echo $ECHO_N "(cached) $ECHO_C" >&6
10123 ac_check_lib_save_LIBS=$LIBS
10125 if test x$gcc_no_link = xyes; then
10126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10128 { (exit 1); exit 1; }; }
10130 cat >conftest.$ac_ext <<_ACEOF
10133 cat confdefs.h >>conftest.$ac_ext
10134 cat >>conftest.$ac_ext <<_ACEOF
10135 /* end confdefs.h. */
10137 /* Override any gcc2 internal prototype to avoid an error. */
10141 /* We use char because int might match the return type of a gcc2
10142 builtin and then its argument prototype would still apply. */
10152 rm -f conftest.$ac_objext conftest$ac_exeext
10153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10154 (eval $ac_link) 2>conftest.er1
10156 grep -v '^ *+' conftest.er1 >conftest.err
10158 cat conftest.err >&5
10159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10160 (exit $ac_status); } &&
10161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10163 (eval $ac_try) 2>&5
10165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10166 (exit $ac_status); }; } &&
10167 { ac_try='test -s conftest$ac_exeext'
10168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10169 (eval $ac_try) 2>&5
10171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10172 (exit $ac_status); }; }; then
10175 echo "$as_me: failed program was:" >&5
10176 sed 's/^/| /' conftest.$ac_ext >&5
10180 rm -f conftest.err conftest.$ac_objext \
10181 conftest$ac_exeext conftest.$ac_ext
10182 LIBS=$ac_check_lib_save_LIBS
10184 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
10185 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
10186 if test $ac_cv_lib_m_y0 = yes; then
10188 cat >>confdefs.h <<\_ACEOF
10194 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
10195 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
10196 if test "${ac_cv_lib_m_y0f+set}" = set; then
10197 echo $ECHO_N "(cached) $ECHO_C" >&6
10199 ac_check_lib_save_LIBS=$LIBS
10201 if test x$gcc_no_link = xyes; then
10202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10204 { (exit 1); exit 1; }; }
10206 cat >conftest.$ac_ext <<_ACEOF
10209 cat confdefs.h >>conftest.$ac_ext
10210 cat >>conftest.$ac_ext <<_ACEOF
10211 /* end confdefs.h. */
10213 /* Override any gcc2 internal prototype to avoid an error. */
10217 /* We use char because int might match the return type of a gcc2
10218 builtin and then its argument prototype would still apply. */
10228 rm -f conftest.$ac_objext conftest$ac_exeext
10229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10230 (eval $ac_link) 2>conftest.er1
10232 grep -v '^ *+' conftest.er1 >conftest.err
10234 cat conftest.err >&5
10235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10236 (exit $ac_status); } &&
10237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10239 (eval $ac_try) 2>&5
10241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10242 (exit $ac_status); }; } &&
10243 { ac_try='test -s conftest$ac_exeext'
10244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10245 (eval $ac_try) 2>&5
10247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10248 (exit $ac_status); }; }; then
10249 ac_cv_lib_m_y0f=yes
10251 echo "$as_me: failed program was:" >&5
10252 sed 's/^/| /' conftest.$ac_ext >&5
10256 rm -f conftest.err conftest.$ac_objext \
10257 conftest$ac_exeext conftest.$ac_ext
10258 LIBS=$ac_check_lib_save_LIBS
10260 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
10261 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
10262 if test $ac_cv_lib_m_y0f = yes; then
10264 cat >>confdefs.h <<\_ACEOF
10270 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
10271 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
10272 if test "${ac_cv_lib_m_y1+set}" = set; then
10273 echo $ECHO_N "(cached) $ECHO_C" >&6
10275 ac_check_lib_save_LIBS=$LIBS
10277 if test x$gcc_no_link = xyes; then
10278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10280 { (exit 1); exit 1; }; }
10282 cat >conftest.$ac_ext <<_ACEOF
10285 cat confdefs.h >>conftest.$ac_ext
10286 cat >>conftest.$ac_ext <<_ACEOF
10287 /* end confdefs.h. */
10289 /* Override any gcc2 internal prototype to avoid an error. */
10293 /* We use char because int might match the return type of a gcc2
10294 builtin and then its argument prototype would still apply. */
10304 rm -f conftest.$ac_objext conftest$ac_exeext
10305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10306 (eval $ac_link) 2>conftest.er1
10308 grep -v '^ *+' conftest.er1 >conftest.err
10310 cat conftest.err >&5
10311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10312 (exit $ac_status); } &&
10313 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10315 (eval $ac_try) 2>&5
10317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10318 (exit $ac_status); }; } &&
10319 { ac_try='test -s conftest$ac_exeext'
10320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10321 (eval $ac_try) 2>&5
10323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10324 (exit $ac_status); }; }; then
10327 echo "$as_me: failed program was:" >&5
10328 sed 's/^/| /' conftest.$ac_ext >&5
10332 rm -f conftest.err conftest.$ac_objext \
10333 conftest$ac_exeext conftest.$ac_ext
10334 LIBS=$ac_check_lib_save_LIBS
10336 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
10337 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
10338 if test $ac_cv_lib_m_y1 = yes; then
10340 cat >>confdefs.h <<\_ACEOF
10346 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
10347 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
10348 if test "${ac_cv_lib_m_y1f+set}" = set; then
10349 echo $ECHO_N "(cached) $ECHO_C" >&6
10351 ac_check_lib_save_LIBS=$LIBS
10353 if test x$gcc_no_link = xyes; then
10354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10356 { (exit 1); exit 1; }; }
10358 cat >conftest.$ac_ext <<_ACEOF
10361 cat confdefs.h >>conftest.$ac_ext
10362 cat >>conftest.$ac_ext <<_ACEOF
10363 /* end confdefs.h. */
10365 /* Override any gcc2 internal prototype to avoid an error. */
10369 /* We use char because int might match the return type of a gcc2
10370 builtin and then its argument prototype would still apply. */
10380 rm -f conftest.$ac_objext conftest$ac_exeext
10381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10382 (eval $ac_link) 2>conftest.er1
10384 grep -v '^ *+' conftest.er1 >conftest.err
10386 cat conftest.err >&5
10387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10388 (exit $ac_status); } &&
10389 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10391 (eval $ac_try) 2>&5
10393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10394 (exit $ac_status); }; } &&
10395 { ac_try='test -s conftest$ac_exeext'
10396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10397 (eval $ac_try) 2>&5
10399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10400 (exit $ac_status); }; }; then
10401 ac_cv_lib_m_y1f=yes
10403 echo "$as_me: failed program was:" >&5
10404 sed 's/^/| /' conftest.$ac_ext >&5
10408 rm -f conftest.err conftest.$ac_objext \
10409 conftest$ac_exeext conftest.$ac_ext
10410 LIBS=$ac_check_lib_save_LIBS
10412 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
10413 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
10414 if test $ac_cv_lib_m_y1f = yes; then
10416 cat >>confdefs.h <<\_ACEOF
10422 echo "$as_me:$LINENO: checking for yn in -lm" >&5
10423 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
10424 if test "${ac_cv_lib_m_yn+set}" = set; then
10425 echo $ECHO_N "(cached) $ECHO_C" >&6
10427 ac_check_lib_save_LIBS=$LIBS
10429 if test x$gcc_no_link = xyes; then
10430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10432 { (exit 1); exit 1; }; }
10434 cat >conftest.$ac_ext <<_ACEOF
10437 cat confdefs.h >>conftest.$ac_ext
10438 cat >>conftest.$ac_ext <<_ACEOF
10439 /* end confdefs.h. */
10441 /* Override any gcc2 internal prototype to avoid an error. */
10445 /* We use char because int might match the return type of a gcc2
10446 builtin and then its argument prototype would still apply. */
10456 rm -f conftest.$ac_objext conftest$ac_exeext
10457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10458 (eval $ac_link) 2>conftest.er1
10460 grep -v '^ *+' conftest.er1 >conftest.err
10462 cat conftest.err >&5
10463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10464 (exit $ac_status); } &&
10465 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10467 (eval $ac_try) 2>&5
10469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10470 (exit $ac_status); }; } &&
10471 { ac_try='test -s conftest$ac_exeext'
10472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10473 (eval $ac_try) 2>&5
10475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10476 (exit $ac_status); }; }; then
10479 echo "$as_me: failed program was:" >&5
10480 sed 's/^/| /' conftest.$ac_ext >&5
10484 rm -f conftest.err conftest.$ac_objext \
10485 conftest$ac_exeext conftest.$ac_ext
10486 LIBS=$ac_check_lib_save_LIBS
10488 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
10489 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
10490 if test $ac_cv_lib_m_yn = yes; then
10492 cat >>confdefs.h <<\_ACEOF
10498 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
10499 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
10500 if test "${ac_cv_lib_m_ynf+set}" = set; then
10501 echo $ECHO_N "(cached) $ECHO_C" >&6
10503 ac_check_lib_save_LIBS=$LIBS
10505 if test x$gcc_no_link = xyes; then
10506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10508 { (exit 1); exit 1; }; }
10510 cat >conftest.$ac_ext <<_ACEOF
10513 cat confdefs.h >>conftest.$ac_ext
10514 cat >>conftest.$ac_ext <<_ACEOF
10515 /* end confdefs.h. */
10517 /* Override any gcc2 internal prototype to avoid an error. */
10521 /* We use char because int might match the return type of a gcc2
10522 builtin and then its argument prototype would still apply. */
10532 rm -f conftest.$ac_objext conftest$ac_exeext
10533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10534 (eval $ac_link) 2>conftest.er1
10536 grep -v '^ *+' conftest.er1 >conftest.err
10538 cat conftest.err >&5
10539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10540 (exit $ac_status); } &&
10541 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10543 (eval $ac_try) 2>&5
10545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10546 (exit $ac_status); }; } &&
10547 { ac_try='test -s conftest$ac_exeext'
10548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10549 (eval $ac_try) 2>&5
10551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10552 (exit $ac_status); }; }; then
10553 ac_cv_lib_m_ynf=yes
10555 echo "$as_me: failed program was:" >&5
10556 sed 's/^/| /' conftest.$ac_ext >&5
10560 rm -f conftest.err conftest.$ac_objext \
10561 conftest$ac_exeext conftest.$ac_ext
10562 LIBS=$ac_check_lib_save_LIBS
10564 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
10565 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
10566 if test $ac_cv_lib_m_ynf = yes; then
10568 cat >>confdefs.h <<\_ACEOF
10575 # Fallback in case isfinite is not available.
10576 echo "$as_me:$LINENO: checking for finite in -lm" >&5
10577 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
10578 if test "${ac_cv_lib_m_finite+set}" = set; then
10579 echo $ECHO_N "(cached) $ECHO_C" >&6
10581 ac_check_lib_save_LIBS=$LIBS
10583 if test x$gcc_no_link = xyes; then
10584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10586 { (exit 1); exit 1; }; }
10588 cat >conftest.$ac_ext <<_ACEOF
10591 cat confdefs.h >>conftest.$ac_ext
10592 cat >>conftest.$ac_ext <<_ACEOF
10593 /* end confdefs.h. */
10595 /* Override any gcc2 internal prototype to avoid an error. */
10599 /* We use char because int might match the return type of a gcc2
10600 builtin and then its argument prototype would still apply. */
10610 rm -f conftest.$ac_objext conftest$ac_exeext
10611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10612 (eval $ac_link) 2>conftest.er1
10614 grep -v '^ *+' conftest.er1 >conftest.err
10616 cat conftest.err >&5
10617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10618 (exit $ac_status); } &&
10619 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10621 (eval $ac_try) 2>&5
10623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10624 (exit $ac_status); }; } &&
10625 { ac_try='test -s conftest$ac_exeext'
10626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10627 (eval $ac_try) 2>&5
10629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630 (exit $ac_status); }; }; then
10631 ac_cv_lib_m_finite=yes
10633 echo "$as_me: failed program was:" >&5
10634 sed 's/^/| /' conftest.$ac_ext >&5
10636 ac_cv_lib_m_finite=no
10638 rm -f conftest.err conftest.$ac_objext \
10639 conftest$ac_exeext conftest.$ac_ext
10640 LIBS=$ac_check_lib_save_LIBS
10642 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
10643 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
10644 if test $ac_cv_lib_m_finite = yes; then
10646 cat >>confdefs.h <<\_ACEOF
10647 #define HAVE_FINITE 1
10653 # Let the user override this
10654 # Check whether --enable-cmath or --disable-cmath was given.
10655 if test "${enable_cmath+set}" = set; then
10656 enableval="$enable_cmath"
10657 need_math=$enableval
10659 if test "$need_math" = "yes"; then
10660 { echo "$as_me:$LINENO: Including complex math functions in libgfor" >&5
10661 echo "$as_me: Including complex math functions in libgfor" >&6;};
10662 extra_math_obj='$(gfor_cmath_obj)'
10665 MATH_OBJ="$extra_math_obj"
10668 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
10669 # for struct timezone, as you might think. We also need to check how
10670 # to call gettimeofday if we have it.
10671 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10672 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
10673 if test "${ac_cv_header_time+set}" = set; then
10674 echo $ECHO_N "(cached) $ECHO_C" >&6
10676 cat >conftest.$ac_ext <<_ACEOF
10679 cat confdefs.h >>conftest.$ac_ext
10680 cat >>conftest.$ac_ext <<_ACEOF
10681 /* end confdefs.h. */
10682 #include <sys/types.h>
10683 #include <sys/time.h>
10689 if ((struct tm *) 0)
10695 rm -f conftest.$ac_objext
10696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10697 (eval $ac_compile) 2>conftest.er1
10699 grep -v '^ *+' conftest.er1 >conftest.err
10701 cat conftest.err >&5
10702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10703 (exit $ac_status); } &&
10704 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10706 (eval $ac_try) 2>&5
10708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709 (exit $ac_status); }; } &&
10710 { ac_try='test -s conftest.$ac_objext'
10711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10712 (eval $ac_try) 2>&5
10714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10715 (exit $ac_status); }; }; then
10716 ac_cv_header_time=yes
10718 echo "$as_me: failed program was:" >&5
10719 sed 's/^/| /' conftest.$ac_ext >&5
10721 ac_cv_header_time=no
10723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10725 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10726 echo "${ECHO_T}$ac_cv_header_time" >&6
10727 if test $ac_cv_header_time = yes; then
10729 cat >>confdefs.h <<\_ACEOF
10730 #define TIME_WITH_SYS_TIME 1
10737 for ac_func in gettimeofday
10739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10740 echo "$as_me:$LINENO: checking for $ac_func" >&5
10741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10742 if eval "test \"\${$as_ac_var+set}\" = set"; then
10743 echo $ECHO_N "(cached) $ECHO_C" >&6
10745 if test x$gcc_no_link = xyes; then
10746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10748 { (exit 1); exit 1; }; }
10750 cat >conftest.$ac_ext <<_ACEOF
10753 cat confdefs.h >>conftest.$ac_ext
10754 cat >>conftest.$ac_ext <<_ACEOF
10755 /* end confdefs.h. */
10756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10758 #define $ac_func innocuous_$ac_func
10760 /* System header to define __stub macros and hopefully few prototypes,
10761 which can conflict with char $ac_func (); below.
10762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10763 <limits.h> exists even on freestanding compilers. */
10766 # include <limits.h>
10768 # include <assert.h>
10773 /* Override any gcc2 internal prototype to avoid an error. */
10778 /* We use char because int might match the return type of a gcc2
10779 builtin and then its argument prototype would still apply. */
10781 /* The GNU C library defines this for functions which it implements
10782 to always fail with ENOSYS. Some functions are actually named
10783 something starting with __ and the normal name is an alias. */
10784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10787 char (*f) () = $ac_func;
10796 return f != $ac_func;
10801 rm -f conftest.$ac_objext conftest$ac_exeext
10802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10803 (eval $ac_link) 2>conftest.er1
10805 grep -v '^ *+' conftest.er1 >conftest.err
10807 cat conftest.err >&5
10808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10809 (exit $ac_status); } &&
10810 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10812 (eval $ac_try) 2>&5
10814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10815 (exit $ac_status); }; } &&
10816 { ac_try='test -s conftest$ac_exeext'
10817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10818 (eval $ac_try) 2>&5
10820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10821 (exit $ac_status); }; }; then
10822 eval "$as_ac_var=yes"
10824 echo "$as_me: failed program was:" >&5
10825 sed 's/^/| /' conftest.$ac_ext >&5
10827 eval "$as_ac_var=no"
10829 rm -f conftest.err conftest.$ac_objext \
10830 conftest$ac_exeext conftest.$ac_ext
10832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10834 if test `eval echo '${'$as_ac_var'}'` = yes; then
10835 cat >>confdefs.h <<_ACEOF
10836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10842 if test "$ac_cv_func_gettimeofday" = yes; then
10843 echo "$as_me:$LINENO: checking for struct timezone" >&5
10844 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
10845 if test "${gfor_cv_struct_timezone+set}" = set; then
10846 echo $ECHO_N "(cached) $ECHO_C" >&6
10848 cat >conftest.$ac_ext <<_ACEOF
10851 cat confdefs.h >>conftest.$ac_ext
10852 cat >>conftest.$ac_ext <<_ACEOF
10853 /* end confdefs.h. */
10854 #include <sys/time.h>
10858 struct timezone tz;
10863 rm -f conftest.$ac_objext
10864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10865 (eval $ac_compile) 2>conftest.er1
10867 grep -v '^ *+' conftest.er1 >conftest.err
10869 cat conftest.err >&5
10870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10871 (exit $ac_status); } &&
10872 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10874 (eval $ac_try) 2>&5
10876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10877 (exit $ac_status); }; } &&
10878 { ac_try='test -s conftest.$ac_objext'
10879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10880 (eval $ac_try) 2>&5
10882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10883 (exit $ac_status); }; }; then
10884 gfor_cv_struct_timezone=yes
10886 echo "$as_me: failed program was:" >&5
10887 sed 's/^/| /' conftest.$ac_ext >&5
10889 gfor_cv_struct_timezone=no
10891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10893 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
10894 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
10895 if test $gfor_cv_struct_timezone = yes; then
10896 if test "$cross_compiling" = yes; then
10897 gfor_have_struct_timezone=yes
10899 cat >conftest.$ac_ext <<_ACEOF
10902 cat confdefs.h >>conftest.$ac_ext
10903 cat >>conftest.$ac_ext <<_ACEOF
10904 /* end confdefs.h. */
10906 #ifdef TIME_WITH_SYS_TIME
10907 #include <sys/time.h>
10910 #ifdef HAVE_SYS_TIME_H
10911 #include <sys/time.h>
10918 struct timeval time;
10919 struct timezone dummy;
10920 if (gettimeofday (&time, &dummy))
10926 rm -f conftest$ac_exeext
10927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10928 (eval $ac_link) 2>&5
10930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10931 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10933 (eval $ac_try) 2>&5
10935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10936 (exit $ac_status); }; }; then
10937 gfor_have_struct_timezone=yes
10939 echo "$as_me: program exited with status $ac_status" >&5
10940 echo "$as_me: failed program was:" >&5
10941 sed 's/^/| /' conftest.$ac_ext >&5
10943 ( exit $ac_status )
10944 gfor_have_struct_timezone=no
10946 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10948 if test $gfor_have_struct_timezone = yes; then
10950 cat >>confdefs.h <<\_ACEOF
10951 #define HAVE_TIMEZONE 1
10957 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
10958 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
10959 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
10960 echo $ECHO_N "(cached) $ECHO_C" >&6
10962 if test x$gcc_no_link = xyes; then
10963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10965 { (exit 1); exit 1; }; }
10967 cat >conftest.$ac_ext <<_ACEOF
10970 cat confdefs.h >>conftest.$ac_ext
10971 cat >>conftest.$ac_ext <<_ACEOF
10972 /* end confdefs.h. */
10974 #ifdef TIME_WITH_SYS_TIME
10975 #include <sys/time.h>
10978 #ifdef HAVE_SYS_TIME_H
10979 #include <sys/time.h>
10989 struct timeval time;
10990 #ifdef HAVE_TIMEZONE
10991 struct timezone dummy;
10992 #define DUMMY &dummy
10996 gettimeofday (&time, DUMMY);
11001 rm -f conftest.$ac_objext conftest$ac_exeext
11002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11003 (eval $ac_link) 2>conftest.er1
11005 grep -v '^ *+' conftest.er1 >conftest.err
11007 cat conftest.err >&5
11008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11009 (exit $ac_status); } &&
11010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11012 (eval $ac_try) 2>&5
11014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11015 (exit $ac_status); }; } &&
11016 { ac_try='test -s conftest$ac_exeext'
11017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11018 (eval $ac_try) 2>&5
11020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11021 (exit $ac_status); }; }; then
11022 emacs_cv_gettimeofday_two_arguments=yes
11024 echo "$as_me: failed program was:" >&5
11025 sed 's/^/| /' conftest.$ac_ext >&5
11027 emacs_cv_gettimeofday_two_arguments=no
11029 rm -f conftest.err conftest.$ac_objext \
11030 conftest$ac_exeext conftest.$ac_ext
11032 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
11033 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11034 if test $emacs_cv_gettimeofday_two_arguments = no; then
11036 cat >>confdefs.h <<\_ACEOF
11037 #define GETTIMEOFDAY_ONE_ARGUMENT 1
11043 # Attempt to assert that the target is of common type in case we don't
11044 # have C99 integer types at all.
11046 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
11047 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
11048 if test "${target_ilp32+set}" = set; then
11049 echo $ECHO_N "(cached) $ECHO_C" >&6
11052 save_CFLAGS="$CFLAGS"
11054 if test x$gcc_no_link = xyes; then
11055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11057 { (exit 1); exit 1; }; }
11059 cat >conftest.$ac_ext <<_ACEOF
11062 cat confdefs.h >>conftest.$ac_ext
11063 cat >>conftest.$ac_ext <<_ACEOF
11064 /* end confdefs.h. */
11070 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
11073 undefined_function ();
11079 rm -f conftest.$ac_objext conftest$ac_exeext
11080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11081 (eval $ac_link) 2>conftest.er1
11083 grep -v '^ *+' conftest.er1 >conftest.err
11085 cat conftest.err >&5
11086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11087 (exit $ac_status); } &&
11088 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11090 (eval $ac_try) 2>&5
11092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11093 (exit $ac_status); }; } &&
11094 { ac_try='test -s conftest$ac_exeext'
11095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11096 (eval $ac_try) 2>&5
11098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11099 (exit $ac_status); }; }; then
11102 echo "$as_me: failed program was:" >&5
11103 sed 's/^/| /' conftest.$ac_ext >&5
11107 rm -f conftest.err conftest.$ac_objext \
11108 conftest$ac_exeext conftest.$ac_ext
11109 CFLAGS="$save_CFLAGS"
11111 echo "$as_me:$LINENO: result: $target_ilp32" >&5
11112 echo "${ECHO_T}$target_ilp32" >&6
11113 if test $target_ilp32 = yes; then
11115 cat >>confdefs.h <<\_ACEOF
11116 #define TARGET_ILP32 1
11122 cat >confcache <<\_ACEOF
11123 # This file is a shell script that caches the results of configure
11124 # tests run on this system so they can be shared between configure
11125 # scripts and configure runs, see configure's option --config-cache.
11126 # It is not useful on other systems. If it contains results you don't
11127 # want to keep, you may remove or edit it.
11129 # config.status only pays attention to the cache file if you give it
11130 # the --recheck option to rerun configure.
11132 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11133 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11134 # following values.
11138 # The following way of writing the cache mishandles newlines in values,
11139 # but we know of no workaround that is simple, portable, and efficient.
11140 # So, don't put newlines in cache variables' values.
11141 # Ultrix sh set writes to stderr and can't be redirected directly,
11142 # and sets the high bit in the cache file unless we assign to the vars.
11145 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11147 # `set' does not quote correctly, so add quotes (double-quote
11148 # substitution turns \\\\ into \\, and sed turns \\ into \).
11151 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11154 # `set' quotes correctly as required by POSIX, so do not add quotes.
11156 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11163 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11165 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11167 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11168 if test -w $cache_file; then
11169 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11170 cat confcache >$cache_file
11172 echo "not updating unwritable cache $cache_file"
11177 if test ${multilib} = yes; then
11178 multilib_arg="--enable-multilib"
11183 # Write our Makefile.
11184 ac_config_files="$ac_config_files Makefile"
11186 cat >confcache <<\_ACEOF
11187 # This file is a shell script that caches the results of configure
11188 # tests run on this system so they can be shared between configure
11189 # scripts and configure runs, see configure's option --config-cache.
11190 # It is not useful on other systems. If it contains results you don't
11191 # want to keep, you may remove or edit it.
11193 # config.status only pays attention to the cache file if you give it
11194 # the --recheck option to rerun configure.
11196 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11197 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11198 # following values.
11202 # The following way of writing the cache mishandles newlines in values,
11203 # but we know of no workaround that is simple, portable, and efficient.
11204 # So, don't put newlines in cache variables' values.
11205 # Ultrix sh set writes to stderr and can't be redirected directly,
11206 # and sets the high bit in the cache file unless we assign to the vars.
11209 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11211 # `set' does not quote correctly, so add quotes (double-quote
11212 # substitution turns \\\\ into \\, and sed turns \\ into \).
11215 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11218 # `set' quotes correctly as required by POSIX, so do not add quotes.
11220 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11227 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11229 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11231 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11232 if test -w $cache_file; then
11233 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11234 cat confcache >$cache_file
11236 echo "not updating unwritable cache $cache_file"
11241 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11242 # Let make expand exec_prefix.
11243 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11245 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11246 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11247 # trailing colons and then remove the whole line if VPATH becomes empty
11248 # (actually we leave an empty line to preserve line numbers).
11249 if test "x$srcdir" = x.; then
11250 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11251 s/:*\$(srcdir):*/:/;
11252 s/:*\${srcdir}:*/:/;
11254 s/^\([^=]*=[ ]*\):*/\1/;
11260 DEFS=-DHAVE_CONFIG_H
11264 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11265 # 1. Remove the extension, and $U if already installed.
11266 ac_i=`echo "$ac_i" |
11267 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11269 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
11270 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
11272 LIBOBJS=$ac_libobjs
11274 LTLIBOBJS=$ac_ltlibobjs
11277 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11278 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11279 Usually this means the macro was only invoked conditionally." >&5
11280 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11281 Usually this means the macro was only invoked conditionally." >&2;}
11282 { (exit 1); exit 1; }; }
11285 : ${CONFIG_STATUS=./config.status}
11286 ac_clean_files_save=$ac_clean_files
11287 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11288 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11289 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11290 cat >$CONFIG_STATUS <<_ACEOF
11292 # Generated by $as_me.
11293 # Run this file to recreate the current configuration.
11294 # Compiler output produced by configure, useful for debugging
11295 # configure, is in config.log if it exists.
11298 ac_cs_recheck=false
11300 SHELL=\${CONFIG_SHELL-$SHELL}
11303 cat >>$CONFIG_STATUS <<\_ACEOF
11304 ## --------------------- ##
11305 ## M4sh Initialization. ##
11306 ## --------------------- ##
11308 # Be Bourne compatible
11309 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11312 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11313 # is contrary to our usage. Disable this feature.
11314 alias -g '${1+"$@"}'='"$@"'
11315 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
11318 DUALCASE=1; export DUALCASE # for MKS sh
11320 # Support unset when possible.
11321 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11328 # Work around bugs in pre-3.0 UWIN ksh.
11329 $as_unset ENV MAIL MAILPATH
11336 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11337 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11338 LC_TELEPHONE LC_TIME
11340 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11341 eval $as_var=C; export $as_var
11347 # Required to use basename.
11348 if expr a : '\(a\)' >/dev/null 2>&1; then
11354 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
11355 as_basename=basename
11361 # Name of the executable.
11362 as_me=`$as_basename "$0" ||
11363 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11364 X"$0" : 'X\(//\)$' \| \
11365 X"$0" : 'X\(/\)$' \| \
11366 . : '\(.\)' 2>/dev/null ||
11368 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11369 /^X\/\(\/\/\)$/{ s//\1/; q; }
11370 /^X\/\(\/\).*/{ s//\1/; q; }
11374 # PATH needs CR, and LINENO needs CR and PATH.
11375 # Avoid depending upon Character Ranges.
11376 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11377 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11378 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11379 as_cr_digits='0123456789'
11380 as_cr_alnum=$as_cr_Letters$as_cr_digits
11382 # The user is always right.
11383 if test "${PATH_SEPARATOR+set}" != set; then
11384 echo "#! /bin/sh" >conf$$.sh
11385 echo "exit 0" >>conf$$.sh
11387 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11396 as_lineno_1=$LINENO
11397 as_lineno_2=$LINENO
11398 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11399 test "x$as_lineno_1" != "x$as_lineno_2" &&
11400 test "x$as_lineno_3" = "x$as_lineno_2" || {
11401 # Find who we are. Look in the path if we contain no path at all
11404 *[\\/]* ) as_myself=$0 ;;
11405 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11406 for as_dir in $PATH
11409 test -z "$as_dir" && as_dir=.
11410 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11415 # We did not find ourselves, most probably we were run as `sh COMMAND'
11416 # in which case we are not to be found in the path.
11417 if test "x$as_myself" = x; then
11420 if test ! -f "$as_myself"; then
11421 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11422 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11423 { (exit 1); exit 1; }; }
11425 case $CONFIG_SHELL in
11427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11428 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
11431 test -z "$as_dir" && as_dir=.
11432 for as_base in sh bash ksh sh5; do
11435 if ("$as_dir/$as_base" -c '
11436 as_lineno_1=$LINENO
11437 as_lineno_2=$LINENO
11438 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11439 test "x$as_lineno_1" != "x$as_lineno_2" &&
11440 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
11441 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
11442 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
11443 CONFIG_SHELL=$as_dir/$as_base
11444 export CONFIG_SHELL
11445 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11453 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11454 # uniformly replaced by the line number. The first 'sed' inserts a
11455 # line-number line before each line; the second 'sed' does the real
11456 # work. The second script uses 'N' to pair each line-number line
11457 # with the numbered line, and appends trailing '-' during
11458 # substitution so that $LINENO is not a special case at line end.
11459 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11460 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11461 sed '=' <$as_myself |
11466 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11469 s,^['$as_cr_digits']*\n,,
11470 ' >$as_me.lineno &&
11471 chmod +x $as_me.lineno ||
11472 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11473 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11474 { (exit 1); exit 1; }; }
11476 # Don't try to exec as it changes $[0], causing all sort of problems
11477 # (the dirname of $[0] is not the place where we might find the
11478 # original and so on. Autoconf is especially sensible to this).
11480 # Exit status is that of the last command.
11485 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11486 *c*,-n*) ECHO_N= ECHO_C='
11488 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
11489 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
11492 if expr a : '\(a\)' >/dev/null 2>&1; then
11498 rm -f conf$$ conf$$.exe conf$$.file
11500 if ln -s conf$$.file conf$$ 2>/dev/null; then
11501 # We could just check for DJGPP; but this test a) works b) is more generic
11502 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11503 if test -f conf$$.exe; then
11504 # Don't use ln at all; we don't have any links
11509 elif ln conf$$.file conf$$ 2>/dev/null; then
11514 rm -f conf$$ conf$$.exe conf$$.file
11516 if mkdir -p . 2>/dev/null; then
11519 test -d ./-p && rmdir ./-p
11523 as_executable_p="test -f"
11525 # Sed expression to map a string onto a valid CPP name.
11526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11528 # Sed expression to map a string onto a valid variable name.
11529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11533 # We need space, tab and new line, in precisely that order.
11543 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11544 # report actual input values of CONFIG_FILES etc. instead of their
11545 # values after options handling. Logging --version etc. is OK.
11549 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11550 ## Running $as_me. ##
11555 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
11556 generated by GNU Autoconf 2.59. Invocation command line was
11558 CONFIG_FILES = $CONFIG_FILES
11559 CONFIG_HEADERS = $CONFIG_HEADERS
11560 CONFIG_LINKS = $CONFIG_LINKS
11561 CONFIG_COMMANDS = $CONFIG_COMMANDS
11565 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11569 # Files that config.status was made for.
11570 if test -n "$ac_config_files"; then
11571 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11574 if test -n "$ac_config_headers"; then
11575 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11578 if test -n "$ac_config_links"; then
11579 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11582 if test -n "$ac_config_commands"; then
11583 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11586 cat >>$CONFIG_STATUS <<\_ACEOF
11589 \`$as_me' instantiates files from templates according to the
11590 current configuration.
11592 Usage: $0 [OPTIONS] [FILE]...
11594 -h, --help print this help, then exit
11595 -V, --version print version number, then exit
11596 -q, --quiet do not print progress messages
11597 -d, --debug don't remove temporary files
11598 --recheck update $as_me by reconfiguring in the same conditions
11599 --file=FILE[:TEMPLATE]
11600 instantiate the configuration file FILE
11601 --header=FILE[:TEMPLATE]
11602 instantiate the configuration header FILE
11604 Configuration files:
11607 Configuration headers:
11610 Configuration commands:
11613 Report bugs to <bug-autoconf@gnu.org>."
11616 cat >>$CONFIG_STATUS <<_ACEOF
11618 GNU Fortran Runtime Library config.status 0.2
11619 configured by $0, generated by GNU Autoconf 2.59,
11620 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11622 Copyright (C) 2003 Free Software Foundation, Inc.
11623 This config.status script is free software; the Free Software Foundation
11624 gives unlimited permission to copy, distribute and modify it."
11629 cat >>$CONFIG_STATUS <<\_ACEOF
11630 # If no file are specified by the user, then we need to provide default
11631 # value. By we need to know if files were specified by the user.
11637 ac_option=`expr "x$1" : 'x\([^=]*\)='`
11638 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
11646 *) # This is not an option, so the user has probably given explicit
11649 ac_need_defaults=false;;
11653 # Handling of the options.
11655 cat >>$CONFIG_STATUS <<\_ACEOF
11656 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11658 --version | --vers* | -V )
11659 echo "$ac_cs_version"; exit 0 ;;
11661 # Conflict between --help and --header
11662 { { echo "$as_me:$LINENO: error: ambiguous option: $1
11663 Try \`$0 --help' for more information." >&5
11664 echo "$as_me: error: ambiguous option: $1
11665 Try \`$0 --help' for more information." >&2;}
11666 { (exit 1); exit 1; }; };;
11667 --help | --hel | -h )
11668 echo "$ac_cs_usage"; exit 0 ;;
11669 --debug | --d* | -d )
11671 --file | --fil | --fi | --f )
11673 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
11674 ac_need_defaults=false;;
11675 --header | --heade | --head | --hea )
11677 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
11678 ac_need_defaults=false;;
11679 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11680 | -silent | --silent | --silen | --sile | --sil | --si | --s)
11683 # This is an error.
11684 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11685 Try \`$0 --help' for more information." >&5
11686 echo "$as_me: error: unrecognized option: $1
11687 Try \`$0 --help' for more information." >&2;}
11688 { (exit 1); exit 1; }; } ;;
11690 *) ac_config_targets="$ac_config_targets $1" ;;
11696 ac_configure_extra_args=
11698 if $ac_cs_silent; then
11700 ac_configure_extra_args="$ac_configure_extra_args --silent"
11704 cat >>$CONFIG_STATUS <<_ACEOF
11705 if \$ac_cs_recheck; then
11706 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11707 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11712 cat >>$CONFIG_STATUS <<_ACEOF
11714 # INIT-COMMANDS section.
11721 with_multisubdir="$with_multisubdir"
11722 with_multisrctop="$with_multisrctop"
11723 with_target_subdir="$with_target_subdir"
11724 ac_configure_args="${multilib_arg} ${ac_configure_args}"
11725 multi_basedir="$multi_basedir"
11726 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
11733 cat >>$CONFIG_STATUS <<\_ACEOF
11734 for ac_config_target in $ac_config_targets
11736 case "$ac_config_target" in
11737 # Handling of arguments.
11738 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11739 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
11740 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
11741 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11742 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11743 { (exit 1); exit 1; }; };;
11747 # If the user did not use the arguments to specify the items to instantiate,
11748 # then the envvar interface is used. Set only those that are not.
11749 # We use the long form for the default assignment because of an extremely
11750 # bizarre bug on SunOS 4.1.3.
11751 if $ac_need_defaults; then
11752 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11753 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11754 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
11757 # Have a temporary directory for convenience. Make it in the build tree
11758 # simply because there is no reason to put it here, and in addition,
11759 # creating and moving files from /tmp can sometimes cause problems.
11760 # Create a temporary directory, and hook for its removal unless debugging.
11763 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11764 trap '{ (exit 1); exit 1; }' 1 2 13 15
11767 # Create a (secure) tmp directory for tmp files.
11770 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11771 test -n "$tmp" && test -d "$tmp"
11774 tmp=./confstat$$-$RANDOM
11775 (umask 077 && mkdir $tmp)
11778 echo "$me: cannot create a temporary directory in ." >&2
11779 { (exit 1); exit 1; }
11784 cat >>$CONFIG_STATUS <<_ACEOF
11787 # CONFIG_FILES section.
11790 # No need to generate the scripts if there are no CONFIG_FILES.
11791 # This happens for instance when ./config.status config.h
11792 if test -n "\$CONFIG_FILES"; then
11793 # Protect against being on the right side of a sed subst in config.status.
11794 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11795 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11796 s,@SHELL@,$SHELL,;t t
11797 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11798 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11799 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11800 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11801 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11802 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11803 s,@exec_prefix@,$exec_prefix,;t t
11804 s,@prefix@,$prefix,;t t
11805 s,@program_transform_name@,$program_transform_name,;t t
11806 s,@bindir@,$bindir,;t t
11807 s,@sbindir@,$sbindir,;t t
11808 s,@libexecdir@,$libexecdir,;t t
11809 s,@datadir@,$datadir,;t t
11810 s,@sysconfdir@,$sysconfdir,;t t
11811 s,@sharedstatedir@,$sharedstatedir,;t t
11812 s,@localstatedir@,$localstatedir,;t t
11813 s,@libdir@,$libdir,;t t
11814 s,@includedir@,$includedir,;t t
11815 s,@oldincludedir@,$oldincludedir,;t t
11816 s,@infodir@,$infodir,;t t
11817 s,@mandir@,$mandir,;t t
11818 s,@build_alias@,$build_alias,;t t
11819 s,@host_alias@,$host_alias,;t t
11820 s,@target_alias@,$target_alias,;t t
11821 s,@DEFS@,$DEFS,;t t
11822 s,@ECHO_C@,$ECHO_C,;t t
11823 s,@ECHO_N@,$ECHO_N,;t t
11824 s,@ECHO_T@,$ECHO_T,;t t
11825 s,@LIBS@,$LIBS,;t t
11826 s,@build@,$build,;t t
11827 s,@build_cpu@,$build_cpu,;t t
11828 s,@build_vendor@,$build_vendor,;t t
11829 s,@build_os@,$build_os,;t t
11830 s,@host@,$host,;t t
11831 s,@host_cpu@,$host_cpu,;t t
11832 s,@host_vendor@,$host_vendor,;t t
11833 s,@host_os@,$host_os,;t t
11834 s,@target@,$target,;t t
11835 s,@target_cpu@,$target_cpu,;t t
11836 s,@target_vendor@,$target_vendor,;t t
11837 s,@target_os@,$target_os,;t t
11838 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11839 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
11840 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
11841 s,@CYGPATH_W@,$CYGPATH_W,;t t
11842 s,@PACKAGE@,$PACKAGE,;t t
11843 s,@VERSION@,$VERSION,;t t
11844 s,@ACLOCAL@,$ACLOCAL,;t t
11845 s,@AUTOCONF@,$AUTOCONF,;t t
11846 s,@AUTOMAKE@,$AUTOMAKE,;t t
11847 s,@AUTOHEADER@,$AUTOHEADER,;t t
11848 s,@MAKEINFO@,$MAKEINFO,;t t
11849 s,@install_sh@,$install_sh,;t t
11850 s,@STRIP@,$STRIP,;t t
11851 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
11852 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
11853 s,@mkdir_p@,$mkdir_p,;t t
11855 s,@SET_MAKE@,$SET_MAKE,;t t
11856 s,@am__leading_dot@,$am__leading_dot,;t t
11857 s,@AMTAR@,$AMTAR,;t t
11858 s,@am__tar@,$am__tar,;t t
11859 s,@am__untar@,$am__untar,;t t
11860 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
11861 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
11862 s,@MAINT@,$MAINT,;t t
11863 s,@multi_basedir@,$multi_basedir,;t t
11864 s,@gcc_version@,$gcc_version,;t t
11865 s,@toolexecdir@,$toolexecdir,;t t
11866 s,@toolexeclibdir@,$toolexeclibdir,;t t
11868 s,@ac_ct_CC@,$ac_ct_CC,;t t
11869 s,@EXEEXT@,$EXEEXT,;t t
11870 s,@OBJEXT@,$OBJEXT,;t t
11871 s,@CFLAGS@,$CFLAGS,;t t
11873 s,@ac_ct_AS@,$ac_ct_AS,;t t
11875 s,@ac_ct_AR@,$ac_ct_AR,;t t
11876 s,@RANLIB@,$RANLIB,;t t
11877 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
11878 s,@LN_S@,$LN_S,;t t
11879 s,@LIBTOOL@,$LIBTOOL,;t t
11880 s,@enable_shared@,$enable_shared,;t t
11881 s,@enable_static@,$enable_static,;t t
11883 s,@FCFLAGS@,$FCFLAGS,;t t
11884 s,@LDFLAGS@,$LDFLAGS,;t t
11885 s,@ac_ct_FC@,$ac_ct_FC,;t t
11887 s,@CPPFLAGS@,$CPPFLAGS,;t t
11888 s,@EGREP@,$EGREP,;t t
11889 s,@MATH_OBJ@,$MATH_OBJ,;t t
11890 s,@LIBOBJS@,$LIBOBJS,;t t
11891 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
11896 cat >>$CONFIG_STATUS <<\_ACEOF
11897 # Split the substitutions into bite-sized pieces for seds with
11898 # small command number limits, like on Digital OSF/1 and HP-UX.
11899 ac_max_sed_lines=48
11900 ac_sed_frag=1 # Number of current file.
11901 ac_beg=1 # First line for current file.
11902 ac_end=$ac_max_sed_lines # Line after last line for current file.
11905 while $ac_more_lines; do
11906 if test $ac_beg -gt 1; then
11907 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11909 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11911 if test ! -s $tmp/subs.frag; then
11912 ac_more_lines=false
11914 # The purpose of the label and of the branching condition is to
11915 # speed up the sed processing (if there are no `@' at all, there
11916 # is no need to browse any of the substitutions).
11917 # These are the two extra sed commands mentioned above.
11919 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
11920 if test -z "$ac_sed_cmds"; then
11921 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11923 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11925 ac_sed_frag=`expr $ac_sed_frag + 1`
11927 ac_end=`expr $ac_end + $ac_max_sed_lines`
11930 if test -z "$ac_sed_cmds"; then
11933 fi # test -n "$CONFIG_FILES"
11936 cat >>$CONFIG_STATUS <<\_ACEOF
11937 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
11938 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11940 - | *:- | *:-:* ) # input from stdin
11942 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11943 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11944 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11945 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11946 * ) ac_file_in=$ac_file.in ;;
11949 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11950 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11951 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11952 X"$ac_file" : 'X\(//\)[^/]' \| \
11953 X"$ac_file" : 'X\(//\)$' \| \
11954 X"$ac_file" : 'X\(/\)' \| \
11955 . : '\(.\)' 2>/dev/null ||
11957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11958 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11959 /^X\(\/\/\)$/{ s//\1/; q; }
11960 /^X\(\/\).*/{ s//\1/; q; }
11962 { if $as_mkdir_p; then
11967 while test ! -d "$as_dir"; do
11968 as_dirs="$as_dir $as_dirs"
11969 as_dir=`(dirname "$as_dir") 2>/dev/null ||
11970 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11971 X"$as_dir" : 'X\(//\)[^/]' \| \
11972 X"$as_dir" : 'X\(//\)$' \| \
11973 X"$as_dir" : 'X\(/\)' \| \
11974 . : '\(.\)' 2>/dev/null ||
11976 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11977 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11978 /^X\(\/\/\)$/{ s//\1/; q; }
11979 /^X\(\/\).*/{ s//\1/; q; }
11982 test ! -n "$as_dirs" || mkdir $as_dirs
11983 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11984 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11985 { (exit 1); exit 1; }; }; }
11989 if test "$ac_dir" != .; then
11990 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11991 # A "../" for each directory in $ac_dir_suffix.
11992 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11994 ac_dir_suffix= ac_top_builddir=
11998 .) # No --srcdir option. We are building in place.
12000 if test -z "$ac_top_builddir"; then
12003 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12005 [\\/]* | ?:[\\/]* ) # Absolute path.
12006 ac_srcdir=$srcdir$ac_dir_suffix;
12007 ac_top_srcdir=$srcdir ;;
12008 *) # Relative path.
12009 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12010 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12013 # Do not use `cd foo && pwd` to compute absolute paths, because
12014 # the directories may not exist.
12016 .) ac_abs_builddir="$ac_dir";;
12019 .) ac_abs_builddir=`pwd`;;
12020 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12021 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12024 case $ac_abs_builddir in
12025 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12027 case ${ac_top_builddir}. in
12028 .) ac_abs_top_builddir=$ac_abs_builddir;;
12029 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12030 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12033 case $ac_abs_builddir in
12034 .) ac_abs_srcdir=$ac_srcdir;;
12037 .) ac_abs_srcdir=$ac_abs_builddir;;
12038 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12039 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12042 case $ac_abs_builddir in
12043 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12045 case $ac_top_srcdir in
12046 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12047 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12048 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12054 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12055 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
12058 # Let's still pretend it is `configure' which instantiates (i.e., don't
12059 # use $as_me), people would be surprised to read:
12060 # /* config.h. Generated by config.status. */
12061 if test x"$ac_file" = x-; then
12064 configure_input="$ac_file. "
12066 configure_input=$configure_input"Generated from `echo $ac_file_in |
12067 sed 's,.*/,,'` by configure."
12069 # First look for the input files in the build tree, otherwise in the
12071 ac_file_inputs=`IFS=:
12072 for f in $ac_file_in; do
12074 -) echo $tmp/stdin ;;
12076 # Absolute (can't be DOS-style, as IFS=:)
12077 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12078 echo "$as_me: error: cannot find input file: $f" >&2;}
12079 { (exit 1); exit 1; }; }
12082 if test -f "$f"; then
12085 elif test -f "$srcdir/$f"; then
12090 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12091 echo "$as_me: error: cannot find input file: $f" >&2;}
12092 { (exit 1); exit 1; }; }
12095 done` || { (exit 1); exit 1; }
12097 if test x"$ac_file" != x-; then
12098 { echo "$as_me:$LINENO: creating $ac_file" >&5
12099 echo "$as_me: creating $ac_file" >&6;}
12103 cat >>$CONFIG_STATUS <<_ACEOF
12107 cat >>$CONFIG_STATUS <<\_ACEOF
12109 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12110 s,@configure_input@,$configure_input,;t t
12111 s,@srcdir@,$ac_srcdir,;t t
12112 s,@abs_srcdir@,$ac_abs_srcdir,;t t
12113 s,@top_srcdir@,$ac_top_srcdir,;t t
12114 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
12115 s,@builddir@,$ac_builddir,;t t
12116 s,@abs_builddir@,$ac_abs_builddir,;t t
12117 s,@top_builddir@,$ac_top_builddir,;t t
12118 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
12119 s,@INSTALL@,$ac_INSTALL,;t t
12120 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12122 if test x"$ac_file" != x-; then
12123 mv $tmp/out $ac_file
12131 cat >>$CONFIG_STATUS <<\_ACEOF
12134 # CONFIG_HEADER section.
12137 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12138 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12140 # ac_d sets the value in "#define NAME VALUE" lines.
12141 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12142 ac_dB='[ ].*$,\1#\2'
12145 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12146 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12147 ac_uB='$,\1#\2define\3'
12151 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
12152 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12154 - | *:- | *:-:* ) # input from stdin
12156 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12157 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12158 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12159 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12160 * ) ac_file_in=$ac_file.in ;;
12163 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
12164 echo "$as_me: creating $ac_file" >&6;}
12166 # First look for the input files in the build tree, otherwise in the
12168 ac_file_inputs=`IFS=:
12169 for f in $ac_file_in; do
12171 -) echo $tmp/stdin ;;
12173 # Absolute (can't be DOS-style, as IFS=:)
12174 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12175 echo "$as_me: error: cannot find input file: $f" >&2;}
12176 { (exit 1); exit 1; }; }
12177 # Do quote $f, to prevent DOS paths from being IFS'd.
12180 if test -f "$f"; then
12183 elif test -f "$srcdir/$f"; then
12188 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12189 echo "$as_me: error: cannot find input file: $f" >&2;}
12190 { (exit 1); exit 1; }; }
12193 done` || { (exit 1); exit 1; }
12194 # Remove the trailing spaces.
12195 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12199 # Transform confdefs.h into two sed scripts, `conftest.defines' and
12200 # `conftest.undefs', that substitutes the proper values into
12201 # config.h.in to produce config.h. The first handles `#define'
12202 # templates, and the second `#undef' templates.
12203 # And first: Protect against being on the right side of a sed subst in
12204 # config.status. Protect against being in an unquoted here document
12205 # in config.status.
12206 rm -f conftest.defines conftest.undefs
12207 # Using a here document instead of a string reduces the quoting nightmare.
12208 # Putting comments in sed scripts is not portable.
12210 # `end' is used to avoid that the second main sed command (meant for
12211 # 0-ary CPP macros) applies to n-ary macro definitions.
12212 # See the Autoconf documentation for `clear'.
12213 cat >confdef2sed.sed <<\_ACEOF
12218 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12220 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12223 # If some macros were called several times there might be several times
12224 # the same #defines, which is useless. Nevertheless, we may not want to
12225 # sort them, since we want the *last* AC-DEFINE to be honored.
12226 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12227 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12228 rm -f confdef2sed.sed
12230 # This sed command replaces #undef with comments. This is necessary, for
12231 # example, in the case of _POSIX_SOURCE, which is predefined and required
12232 # on some systems where configure will not decide to define it.
12233 cat >>conftest.undefs <<\_ACEOF
12234 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12237 # Break up conftest.defines because some shells have a limit on the size
12238 # of here documents, and old seds have small limits too (100 cmds).
12239 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12240 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12241 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12242 echo ' :' >>$CONFIG_STATUS
12243 rm -f conftest.tail
12244 while grep . conftest.defines >/dev/null
12246 # Write a limited-size here document to $tmp/defines.sed.
12247 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12248 # Speed up: don't consider the non `#define' lines.
12249 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12250 # Work around the forget-to-reset-the-flag bug.
12251 echo 't clr' >>$CONFIG_STATUS
12252 echo ': clr' >>$CONFIG_STATUS
12253 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
12255 sed -f $tmp/defines.sed $tmp/in >$tmp/out
12257 mv $tmp/out $tmp/in
12259 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
12260 rm -f conftest.defines
12261 mv conftest.tail conftest.defines
12263 rm -f conftest.defines
12264 echo ' fi # grep' >>$CONFIG_STATUS
12265 echo >>$CONFIG_STATUS
12267 # Break up conftest.undefs because some shells have a limit on the size
12268 # of here documents, and old seds have small limits too (100 cmds).
12269 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12270 rm -f conftest.tail
12271 while grep . conftest.undefs >/dev/null
12273 # Write a limited-size here document to $tmp/undefs.sed.
12274 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12275 # Speed up: don't consider the non `#undef'
12276 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12277 # Work around the forget-to-reset-the-flag bug.
12278 echo 't clr' >>$CONFIG_STATUS
12279 echo ': clr' >>$CONFIG_STATUS
12280 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12282 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12284 mv $tmp/out $tmp/in
12286 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12287 rm -f conftest.undefs
12288 mv conftest.tail conftest.undefs
12290 rm -f conftest.undefs
12292 cat >>$CONFIG_STATUS <<\_ACEOF
12293 # Let's still pretend it is `configure' which instantiates (i.e., don't
12294 # use $as_me), people would be surprised to read:
12295 # /* config.h. Generated by config.status. */
12296 if test x"$ac_file" = x-; then
12297 echo "/* Generated by configure. */" >$tmp/config.h
12299 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12301 cat $tmp/in >>$tmp/config.h
12303 if test x"$ac_file" != x-; then
12304 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
12305 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12306 echo "$as_me: $ac_file is unchanged" >&6;}
12308 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12309 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12310 X"$ac_file" : 'X\(//\)[^/]' \| \
12311 X"$ac_file" : 'X\(//\)$' \| \
12312 X"$ac_file" : 'X\(/\)' \| \
12313 . : '\(.\)' 2>/dev/null ||
12315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12316 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12317 /^X\(\/\/\)$/{ s//\1/; q; }
12318 /^X\(\/\).*/{ s//\1/; q; }
12320 { if $as_mkdir_p; then
12325 while test ! -d "$as_dir"; do
12326 as_dirs="$as_dir $as_dirs"
12327 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12328 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12329 X"$as_dir" : 'X\(//\)[^/]' \| \
12330 X"$as_dir" : 'X\(//\)$' \| \
12331 X"$as_dir" : 'X\(/\)' \| \
12332 . : '\(.\)' 2>/dev/null ||
12334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12335 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12336 /^X\(\/\/\)$/{ s//\1/; q; }
12337 /^X\(\/\).*/{ s//\1/; q; }
12340 test ! -n "$as_dirs" || mkdir $as_dirs
12341 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12342 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12343 { (exit 1); exit 1; }; }; }
12346 mv $tmp/config.h $ac_file
12350 rm -f $tmp/config.h
12352 # Compute $ac_file's index in $config_headers.
12354 for _am_header in $config_headers :; do
12355 case $_am_header in
12356 $ac_file | $ac_file:* )
12359 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12362 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
12363 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12364 X$ac_file : 'X\(//\)[^/]' \| \
12365 X$ac_file : 'X\(//\)$' \| \
12366 X$ac_file : 'X\(/\)' \| \
12367 . : '\(.\)' 2>/dev/null ||
12369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12370 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12371 /^X\(\/\/\)$/{ s//\1/; q; }
12372 /^X\(\/\).*/{ s//\1/; q; }
12373 s/.*/./; q'`/stamp-h$_am_stamp_count
12376 cat >>$CONFIG_STATUS <<\_ACEOF
12379 # CONFIG_COMMANDS section.
12381 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
12382 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
12383 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
12384 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
12385 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12386 X"$ac_dest" : 'X\(//\)[^/]' \| \
12387 X"$ac_dest" : 'X\(//\)$' \| \
12388 X"$ac_dest" : 'X\(/\)' \| \
12389 . : '\(.\)' 2>/dev/null ||
12391 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12392 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12393 /^X\(\/\/\)$/{ s//\1/; q; }
12394 /^X\(\/\).*/{ s//\1/; q; }
12396 { if $as_mkdir_p; then
12401 while test ! -d "$as_dir"; do
12402 as_dirs="$as_dir $as_dirs"
12403 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12404 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12405 X"$as_dir" : 'X\(//\)[^/]' \| \
12406 X"$as_dir" : 'X\(//\)$' \| \
12407 X"$as_dir" : 'X\(/\)' \| \
12408 . : '\(.\)' 2>/dev/null ||
12410 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12411 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12412 /^X\(\/\/\)$/{ s//\1/; q; }
12413 /^X\(\/\).*/{ s//\1/; q; }
12416 test ! -n "$as_dirs" || mkdir $as_dirs
12417 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12418 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12419 { (exit 1); exit 1; }; }; }
12423 if test "$ac_dir" != .; then
12424 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12425 # A "../" for each directory in $ac_dir_suffix.
12426 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12428 ac_dir_suffix= ac_top_builddir=
12432 .) # No --srcdir option. We are building in place.
12434 if test -z "$ac_top_builddir"; then
12437 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12439 [\\/]* | ?:[\\/]* ) # Absolute path.
12440 ac_srcdir=$srcdir$ac_dir_suffix;
12441 ac_top_srcdir=$srcdir ;;
12442 *) # Relative path.
12443 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12444 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12447 # Do not use `cd foo && pwd` to compute absolute paths, because
12448 # the directories may not exist.
12450 .) ac_abs_builddir="$ac_dir";;
12453 .) ac_abs_builddir=`pwd`;;
12454 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12455 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12458 case $ac_abs_builddir in
12459 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12461 case ${ac_top_builddir}. in
12462 .) ac_abs_top_builddir=$ac_abs_builddir;;
12463 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12464 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12467 case $ac_abs_builddir in
12468 .) ac_abs_srcdir=$ac_srcdir;;
12471 .) ac_abs_srcdir=$ac_abs_builddir;;
12472 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12473 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12476 case $ac_abs_builddir in
12477 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12479 case $ac_top_srcdir in
12480 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12481 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12482 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12487 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12488 echo "$as_me: executing $ac_dest commands" >&6;}
12491 # Only add multilib support code if we just rebuilt the top-level
12493 case " $CONFIG_FILES " in
12495 ac_file=Makefile . ${multi_basedir}/config-ml.in
12502 cat >>$CONFIG_STATUS <<\_ACEOF
12504 { (exit 0); exit 0; }
12506 chmod +x $CONFIG_STATUS
12507 ac_clean_files=$ac_clean_files_save
12510 # configure is writing to config.log, and then calls config.status.
12511 # config.status does its own redirection, appending to config.log.
12512 # Unfortunately, on DOS this fails, as config.log is still kept open
12513 # by configure, so config.status won't be able to write to it; its
12514 # output is simply discarded. So we exec the FD to /dev/null,
12515 # effectively closing config.log, so it can be properly (re)opened and
12516 # appended to by config.status. When coming back to configure, we
12517 # need to make the FD available again.
12518 if test "$no_create" != yes; then
12520 ac_config_status_args=
12521 test "$silent" = yes &&
12522 ac_config_status_args="$ac_config_status_args --quiet"
12524 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12526 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12527 # would make configure fail if this is the last instruction.
12528 $ac_cs_success || { (exit 1); exit 1; }