2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.2.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='GNU Fortran Runtime Library'
269 PACKAGE_TARNAME='libgfortran'
270 PACKAGE_VERSION='0.2'
271 PACKAGE_STRING='GNU Fortran Runtime Library 0.2'
274 # Factoring default headers for most tests.
275 ac_includes_default="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC CPP CPPFLAGS EGREP MATH_OBJ LIBOBJS LTLIBOBJS'
314 # Initialize some variables set by options.
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name=s,x,x,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
378 -cache-file | --cache-file | --cache-fil | --cache-fi \
379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380 ac_prev=cache_file ;;
381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383 cache_file=$ac_optarg ;;
386 cache_file=config.cache ;;
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 datadir=$ac_optarg ;;
394 -disable-* | --disable-*)
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* | --enable-*)
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418 | --exec | --exe | --ex)
419 ac_prev=exec_prefix ;;
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422 | --exec=* | --exe=* | --ex=*)
423 exec_prefix=$ac_optarg ;;
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
429 -help | --help | --hel | --he | -h)
431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432 ac_init_help=recursive ;;
433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434 ac_init_help=short ;;
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
441 -includedir | --includedir | --includedi | --included | --include \
442 | --includ | --inclu | --incl | --inc)
443 ac_prev=includedir ;;
444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445 | --includ=* | --inclu=* | --incl=* | --inc=*)
446 includedir=$ac_optarg ;;
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
453 -libdir | --libdir | --libdi | --libd)
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459 | --libexe | --libex | --libe)
460 ac_prev=libexecdir ;;
461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462 | --libexe=* | --libex=* | --libe=*)
463 libexecdir=$ac_optarg ;;
465 -localstatedir | --localstatedir | --localstatedi | --localstated \
466 | --localstate | --localstat | --localsta | --localst \
467 | --locals | --local | --loca | --loc | --lo)
468 ac_prev=localstatedir ;;
469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472 localstatedir=$ac_optarg ;;
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480 # Obsolete; use --without-fp.
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493 | --oldin | --oldi | --old | --ol | --o)
494 ac_prev=oldincludedir ;;
495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498 oldincludedir=$ac_optarg ;;
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
505 -program-prefix | --program-prefix | --program-prefi | --program-pref \
506 | --program-pre | --program-pr | --program-p)
507 ac_prev=program_prefix ;;
508 -program-prefix=* | --program-prefix=* | --program-prefi=* \
509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510 program_prefix=$ac_optarg ;;
512 -program-suffix | --program-suffix | --program-suffi | --program-suff \
513 | --program-suf | --program-su | --program-s)
514 ac_prev=program_suffix ;;
515 -program-suffix=* | --program-suffix=* | --program-suffi=* \
516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517 program_suffix=$ac_optarg ;;
519 -program-transform-name | --program-transform-name \
520 | --program-transform-nam | --program-transform-na \
521 | --program-transform-n | --program-transform- \
522 | --program-transform | --program-transfor \
523 | --program-transfo | --program-transf \
524 | --program-trans | --program-tran \
525 | --progr-tra | --program-tr | --program-t)
526 ac_prev=program_transform_name ;;
527 -program-transform-name=* | --program-transform-name=* \
528 | --program-transform-nam=* | --program-transform-na=* \
529 | --program-transform-n=* | --program-transform-=* \
530 | --program-transform=* | --program-transfor=* \
531 | --program-transfo=* | --program-transf=* \
532 | --program-trans=* | --program-tran=* \
533 | --progr-tra=* | --program-tr=* | --program-t=*)
534 program_transform_name=$ac_optarg ;;
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 sbindir=$ac_optarg ;;
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548 | --sharedst | --shareds | --shared | --share | --shar \
550 ac_prev=sharedstatedir ;;
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 sharedstatedir=$ac_optarg ;;
557 -site | --site | --sit)
559 -site=* | --site=* | --sit=*)
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568 | --syscon | --sysco | --sysc | --sys | --sy)
569 ac_prev=sysconfdir ;;
570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572 sysconfdir=$ac_optarg ;;
574 -target | --target | --targe | --targ | --tar | --ta | --t)
575 ac_prev=target_alias ;;
576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577 target_alias=$ac_optarg ;;
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
582 -version | --version | --versio | --versi | --vers | -V)
586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* | --without-*)
599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612 | --x-incl | --x-inc | --x-in | --x-i)
613 ac_prev=x_includes ;;
614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616 x_includes=$ac_optarg ;;
618 -x-libraries | --x-libraries | --x-librarie | --x-librari \
619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620 ac_prev=x_libraries ;;
621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623 x_libraries=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
660 eval ac_val=$`echo $ac_var`
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val=$`echo $ac_var`
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689 if test "x$build_alias" = x; then
690 cross_compiling=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701 test "$silent" = yes && exec 6>/dev/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_FC_set=${FC+set}
754 ac_cv_env_FC_set=${FC+set}
755 ac_cv_env_FC_value=$FC
756 ac_env_FCFLAGS_set=${FCFLAGS+set}
757 ac_env_FCFLAGS_value=$FCFLAGS
758 ac_cv_env_FCFLAGS_set=${FCFLAGS+set}
759 ac_cv_env_FCFLAGS_value=$FCFLAGS
760 ac_env_LDFLAGS_set=${LDFLAGS+set}
761 ac_env_LDFLAGS_value=$LDFLAGS
762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value=$LDFLAGS
764 ac_env_CPP_set=${CPP+set}
765 ac_env_CPP_value=$CPP
766 ac_cv_env_CPP_set=${CPP+set}
767 ac_cv_env_CPP_value=$CPP
768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
774 # Report the --help message.
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
780 \`configure' configures GNU Fortran Runtime Library 0.2 to adapt to many kinds of systems.
782 Usage: $0 [OPTION]... [VAR=VALUE]...
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
787 Defaults for the options are specified in brackets.
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
814 For better control, use the options below.
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
834 --program-prefix=PREFIX prepend PREFIX to installed program names
835 --program-suffix=SUFFIX append SUFFIX to installed program names
836 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
839 --build=BUILD configure for building on BUILD [guessed]
840 --host=HOST cross-compile to build programs to run on HOST [BUILD]
841 --target=TARGET configure for building compilers for TARGET [HOST]
845 if test -n "$ac_init_help"; then
846 case $ac_init_help in
847 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.2:";;
852 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
853 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
854 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
855 --enable-maintainer-mode enable make rules and dependencies not useful
856 (and sometimes confusing) to the casual installer
857 --enable-multilib build many library versions (default)
858 --enable-shared=PKGS build shared libraries default=yes
859 --enable-static=PKGS build static libraries default=yes
860 --enable-fast-install=PKGS optimize for fast installation default=yes
861 --disable-libtool-lock avoid locking (might break parallel builds)
862 --disable-largefile omit support for large files
863 --enable-cmath Include complex math functions
866 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
867 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
868 --with-gnu-ld assume the C compiler uses GNU ld default=no
869 --with-pic try to use only PIC/non-PIC objects default=use both
871 Some influential environment variables:
872 CC C compiler command
873 CFLAGS C compiler flags
874 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
875 nonstandard directory <lib dir>
876 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
877 headers in a nonstandard directory <include dir>
878 FC Fortran compiler command
879 FCFLAGS Fortran compiler flags
882 Use these variables to override the choices made by `configure' or to help
883 it to find libraries and programs with nonstandard names/locations.
888 if test "$ac_init_help" = "recursive"; then
889 # If there are subdirs, report their specific --help.
891 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
892 test -d $ac_dir || continue
895 if test "$ac_dir" != .; then
896 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
897 # A "../" for each directory in $ac_dir_suffix.
898 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
900 ac_dir_suffix= ac_top_builddir=
904 .) # No --srcdir option. We are building in place.
906 if test -z "$ac_top_builddir"; then
909 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
911 [\\/]* | ?:[\\/]* ) # Absolute path.
912 ac_srcdir=$srcdir$ac_dir_suffix;
913 ac_top_srcdir=$srcdir ;;
915 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
916 ac_top_srcdir=$ac_top_builddir$srcdir ;;
919 # Do not use `cd foo && pwd` to compute absolute paths, because
920 # the directories may not exist.
922 .) ac_abs_builddir="$ac_dir";;
925 .) ac_abs_builddir=`pwd`;;
926 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
927 *) ac_abs_builddir=`pwd`/"$ac_dir";;
930 case $ac_abs_builddir in
931 .) ac_abs_top_builddir=${ac_top_builddir}.;;
933 case ${ac_top_builddir}. in
934 .) ac_abs_top_builddir=$ac_abs_builddir;;
935 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
936 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
939 case $ac_abs_builddir in
940 .) ac_abs_srcdir=$ac_srcdir;;
943 .) ac_abs_srcdir=$ac_abs_builddir;;
944 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
945 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
948 case $ac_abs_builddir in
949 .) ac_abs_top_srcdir=$ac_top_srcdir;;
951 case $ac_top_srcdir in
952 .) ac_abs_top_srcdir=$ac_abs_builddir;;
953 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
954 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
959 # Check for guested configure; otherwise get Cygnus style configure.
960 if test -f $ac_srcdir/configure.gnu; then
962 $SHELL $ac_srcdir/configure.gnu --help=recursive
963 elif test -f $ac_srcdir/configure; then
965 $SHELL $ac_srcdir/configure --help=recursive
966 elif test -f $ac_srcdir/configure.ac ||
967 test -f $ac_srcdir/configure.in; then
971 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
977 test -n "$ac_init_help" && exit 0
978 if $ac_init_version; then
980 GNU Fortran Runtime Library configure 0.2
981 generated by GNU Autoconf 2.59
983 Copyright (C) 2003 Free Software Foundation, Inc.
984 This configure script is free software; the Free Software Foundation
985 gives unlimited permission to copy, distribute and modify it.
991 This file contains any messages produced by compilers while
992 running configure, to aid debugging if configure makes a mistake.
994 It was created by GNU Fortran Runtime Library $as_me 0.2, which was
995 generated by GNU Autoconf 2.59. Invocation command line was
1006 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1007 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1008 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1009 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1010 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1012 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1013 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1015 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1016 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1017 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1018 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1019 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1020 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1021 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1029 test -z "$as_dir" && as_dir=.
1030 echo "PATH: $as_dir"
1045 # Keep a trace of the command line.
1046 # Strip out --no-create and --no-recursion so they do not pile up.
1047 # Strip out --silent because we don't want to record it for future runs.
1048 # Also quote any args containing shell meta-characters.
1049 # Make two passes to allow for proper duplicate-argument suppression.
1054 ac_must_keep_next=false
1060 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1064 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1065 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1068 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1070 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1071 if test $ac_must_keep_next = true; then
1072 ac_must_keep_next=false # Got value, back to normal.
1075 *=* | --config-cache | -C | -disable-* | --disable-* \
1076 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1077 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1078 | -with-* | --with-* | -without-* | --without-* | --x)
1079 case "$ac_configure_args0 " in
1080 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1083 -* ) ac_must_keep_next=true ;;
1086 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1087 # Get rid of the leading space.
1093 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1094 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1096 # When interrupted or exit'd, cleanup temporary files, and complete
1097 # config.log. We remove comments because anyway the quotes in there
1098 # would cause problems or look ugly.
1099 # WARNING: Be sure not to use single quotes in there, as some shells,
1100 # such as our DU 5.0 friend, will then `close' the trap.
1101 trap 'exit_status=$?
1102 # Save into config.log some information that might help in debugging.
1107 ## ---------------- ##
1108 ## Cache variables. ##
1109 ## ---------------- ##
1112 # The following way of writing the cache mishandles newlines in values,
1115 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1118 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1123 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1130 ## ----------------- ##
1131 ## Output variables. ##
1132 ## ----------------- ##
1135 for ac_var in $ac_subst_vars
1137 eval ac_val=$`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1142 if test -n "$ac_subst_files"; then
1149 for ac_var in $ac_subst_files
1151 eval ac_val=$`echo $ac_var`
1152 echo "$ac_var='"'"'$ac_val'"'"'"
1157 if test -s confdefs.h; then
1164 sed "/^$/d" confdefs.h | sort
1167 test "$ac_signal" != 0 &&
1168 echo "$as_me: caught signal $ac_signal"
1169 echo "$as_me: exit $exit_status"
1171 rm -f core *.core &&
1172 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1175 for ac_signal in 1 2 13 15; do
1176 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1180 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1181 rm -rf conftest* confdefs.h
1182 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1185 # Predefined preprocessor variables.
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_NAME "$PACKAGE_NAME"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_STRING "$PACKAGE_STRING"
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1212 # Let the site file select an alternate cache file if it wants to.
1213 # Prefer explicitly selected file to automatically selected ones.
1214 if test -z "$CONFIG_SITE"; then
1215 if test "x$prefix" != xNONE; then
1216 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1218 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1221 for ac_site_file in $CONFIG_SITE; do
1222 if test -r "$ac_site_file"; then
1223 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1224 echo "$as_me: loading site script $ac_site_file" >&6;}
1225 sed 's/^/| /' "$ac_site_file" >&5
1230 if test -r "$cache_file"; then
1231 # Some versions of bash will fail to source /dev/null (special
1232 # files actually), so we avoid doing that.
1233 if test -f "$cache_file"; then
1234 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1235 echo "$as_me: loading cache $cache_file" >&6;}
1237 [\\/]* | ?:[\\/]* ) . $cache_file;;
1238 *) . ./$cache_file;;
1242 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1243 echo "$as_me: creating cache $cache_file" >&6;}
1247 # Check that the precious variables saved in the cache have kept the same
1249 ac_cache_corrupted=false
1250 for ac_var in `(set) 2>&1 |
1251 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1252 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1253 eval ac_new_set=\$ac_env_${ac_var}_set
1254 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1255 eval ac_new_val="\$ac_env_${ac_var}_value"
1256 case $ac_old_set,$ac_new_set in
1258 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1260 ac_cache_corrupted=: ;;
1262 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1263 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1264 ac_cache_corrupted=: ;;
1267 if test "x$ac_old_val" != "x$ac_new_val"; then
1268 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1269 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1270 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1271 echo "$as_me: former value: $ac_old_val" >&2;}
1272 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1273 echo "$as_me: current value: $ac_new_val" >&2;}
1274 ac_cache_corrupted=:
1277 # Pass precious variables to config.status.
1278 if test "$ac_new_set" = set; then
1280 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1282 *) ac_arg=$ac_var=$ac_new_val ;;
1284 case " $ac_configure_args " in
1285 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1286 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1290 if $ac_cache_corrupted; then
1291 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1292 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1293 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1294 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1295 { (exit 1); exit 1; }; }
1299 ac_cpp='$CPP $CPPFLAGS'
1300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1330 ac_config_headers="$ac_config_headers config.h"
1337 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1338 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1339 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1340 if test "${enable_version_specific_runtime_libs+set}" = set; then
1341 enableval="$enable_version_specific_runtime_libs"
1342 case "$enableval" in
1343 yes) version_specific_libs=yes ;;
1344 no) version_specific_libs=no ;;
1345 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1346 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1347 { (exit 1); exit 1; }; };;
1350 version_specific_libs=no
1352 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1353 echo "${ECHO_T}$version_specific_libs" >&6
1356 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1358 # You will slowly go insane if you do not grok the following fact: when
1359 # building this library, the top-level /target/ becomes the library's /host/.
1361 # configure then causes --target to default to --host, exactly like any
1362 # other package using autoconf. Therefore, 'target' and 'host' will
1363 # always be the same. This makes sense both for native and cross compilers
1364 # just think about it for a little while. :-)
1366 # Also, if this library is being configured as part of a cross compiler, the
1367 # top-level configure script will pass the "real" host as $with_cross_host.
1369 # Do not delete or change the following two lines. For why, see
1370 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1372 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1373 if test -f $ac_dir/install-sh; then
1375 ac_install_sh="$ac_aux_dir/install-sh -c"
1377 elif test -f $ac_dir/install.sh; then
1379 ac_install_sh="$ac_aux_dir/install.sh -c"
1381 elif test -f $ac_dir/shtool; then
1383 ac_install_sh="$ac_aux_dir/shtool install -c"
1387 if test -z "$ac_aux_dir"; then
1388 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1389 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1390 { (exit 1); exit 1; }; }
1392 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1393 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1394 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1396 # Make sure we can run config.sub.
1397 $ac_config_sub sun4 >/dev/null 2>&1 ||
1398 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1399 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1400 { (exit 1); exit 1; }; }
1402 echo "$as_me:$LINENO: checking build system type" >&5
1403 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1404 if test "${ac_cv_build+set}" = set; then
1405 echo $ECHO_N "(cached) $ECHO_C" >&6
1407 ac_cv_build_alias=$build_alias
1408 test -z "$ac_cv_build_alias" &&
1409 ac_cv_build_alias=`$ac_config_guess`
1410 test -z "$ac_cv_build_alias" &&
1411 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1412 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1413 { (exit 1); exit 1; }; }
1414 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1415 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1416 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1417 { (exit 1); exit 1; }; }
1420 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1421 echo "${ECHO_T}$ac_cv_build" >&6
1423 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1424 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1425 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1428 echo "$as_me:$LINENO: checking host system type" >&5
1429 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1430 if test "${ac_cv_host+set}" = set; then
1431 echo $ECHO_N "(cached) $ECHO_C" >&6
1433 ac_cv_host_alias=$host_alias
1434 test -z "$ac_cv_host_alias" &&
1435 ac_cv_host_alias=$ac_cv_build_alias
1436 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1437 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1438 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1439 { (exit 1); exit 1; }; }
1442 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1443 echo "${ECHO_T}$ac_cv_host" >&6
1445 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1446 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1447 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1450 echo "$as_me:$LINENO: checking target system type" >&5
1451 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1452 if test "${ac_cv_target+set}" = set; then
1453 echo $ECHO_N "(cached) $ECHO_C" >&6
1455 ac_cv_target_alias=$target_alias
1456 test "x$ac_cv_target_alias" = "x" &&
1457 ac_cv_target_alias=$ac_cv_host_alias
1458 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1459 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1460 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1461 { (exit 1); exit 1; }; }
1464 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1465 echo "${ECHO_T}$ac_cv_target" >&6
1466 target=$ac_cv_target
1467 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1468 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1469 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1472 # The aliases save the names the user supplied, while $host etc.
1473 # will get canonicalized.
1474 test -n "$target_alias" &&
1475 test "$program_prefix$program_suffix$program_transform_name" = \
1477 program_prefix=${target_alias}-
1478 target_alias=${target_alias-$host_alias}
1480 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1481 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1482 # 1.8.2: minimum required version
1483 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1484 # of other PACKAGE_* variables will, however, and there's nothing
1485 # we can do about that; they come from AC_INIT).
1486 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1487 # file in the top srcdir, etc, etc), so stop complaining.
1488 # no-dependencies: turns off auto dependency generation (just for now)
1489 # -Wall: turns on all automake warnings...
1490 # -Wno-portability: ...except this one, since GNU make is required.
1491 am__api_version="1.9"
1492 # Find a good install program. We prefer a C program (faster),
1493 # so one script is as good as another. But avoid the broken or
1494 # incompatible versions:
1495 # SysV /etc/install, /usr/sbin/install
1496 # SunOS /usr/etc/install
1497 # IRIX /sbin/install
1499 # AmigaOS /C/install, which installs bootblocks on floppy discs
1500 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1501 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1502 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1503 # OS/2's system install, which has a completely different semantic
1504 # ./install, which can be erroneously created by make from ./install.sh.
1505 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1506 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1507 if test -z "$INSTALL"; then
1508 if test "${ac_cv_path_install+set}" = set; then
1509 echo $ECHO_N "(cached) $ECHO_C" >&6
1511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1515 test -z "$as_dir" && as_dir=.
1516 # Account for people who put trailing slashes in PATH elements.
1518 ./ | .// | /cC/* | \
1519 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1520 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1523 # OSF1 and SCO ODT 3.0 have their own names for install.
1524 # Don't use installbsd from OSF since it installs stuff as root
1526 for ac_prog in ginstall scoinst install; do
1527 for ac_exec_ext in '' $ac_executable_extensions; do
1528 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1529 if test $ac_prog = install &&
1530 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1531 # AIX install. It has an incompatible calling convention.
1533 elif test $ac_prog = install &&
1534 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1535 # program-specific install script used by HP pwplus--don't use.
1538 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1550 if test "${ac_cv_path_install+set}" = set; then
1551 INSTALL=$ac_cv_path_install
1553 # As a last resort, use the slow shell script. We don't cache a
1554 # path for INSTALL within a source directory, because that will
1555 # break other packages using the cache if that directory is
1556 # removed, or if the path is relative.
1557 INSTALL=$ac_install_sh
1560 echo "$as_me:$LINENO: result: $INSTALL" >&5
1561 echo "${ECHO_T}$INSTALL" >&6
1563 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1564 # It thinks the first close brace ends the variable substitution.
1565 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1567 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1569 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1571 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1572 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1575 echo timestamp > conftest.file
1576 # Do `set' in a subshell so we don't clobber the current shell's
1577 # arguments. Must try -L first in case configure is actually a
1578 # symlink; some systems play weird games with the mod time of symlinks
1579 # (eg FreeBSD returns the mod time of the symlink's containing
1582 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1583 if test "$*" = "X"; then
1585 set X `ls -t $srcdir/configure conftest.file`
1588 if test "$*" != "X $srcdir/configure conftest.file" \
1589 && test "$*" != "X conftest.file $srcdir/configure"; then
1591 # If neither matched, then we have a broken ls. This can happen
1592 # if, for instance, CONFIG_SHELL is bash and it inherits a
1593 # broken ls alias from the environment. This has actually
1594 # happened. Such a system could not be considered "sane".
1595 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1596 alias in your environment" >&5
1597 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1598 alias in your environment" >&2;}
1599 { (exit 1); exit 1; }; }
1602 test "$2" = conftest.file
1608 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1609 Check your system clock" >&5
1610 echo "$as_me: error: newly created file is older than distributed files!
1611 Check your system clock" >&2;}
1612 { (exit 1); exit 1; }; }
1614 echo "$as_me:$LINENO: result: yes" >&5
1615 echo "${ECHO_T}yes" >&6
1616 test "$program_prefix" != NONE &&
1617 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1618 # Use a double $ so make ignores it.
1619 test "$program_suffix" != NONE &&
1620 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1621 # Double any \ or $. echo might interpret backslashes.
1622 # By default was `s,x,x', remove it if useless.
1623 cat <<\_ACEOF >conftest.sed
1624 s/[\\$]/&&/g;s/;s,x,x,$//
1626 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1629 # expand $ac_aux_dir to an absolute path
1630 am_aux_dir=`cd $ac_aux_dir && pwd`
1632 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1633 # Use eval to expand $SHELL
1634 if eval "$MISSING --run true"; then
1635 am_missing_run="$MISSING --run "
1638 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1639 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1642 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1643 # We used to keeping the `.' as first argument, in order to
1644 # allow $(mkdir_p) to be used without argument. As in
1645 # $(mkdir_p) $(somedir)
1646 # where $(somedir) is conditionally defined. However this is wrong
1648 # 1. if the package is installed by a user who cannot write `.'
1649 # make install will fail,
1650 # 2. the above comment should most certainly read
1651 # $(mkdir_p) $(DESTDIR)$(somedir)
1652 # so it does not work when $(somedir) is undefined and
1653 # $(DESTDIR) is not.
1654 # To support the latter case, we have to write
1655 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1656 # so the `.' trick is pointless.
1657 mkdir_p='mkdir -p --'
1659 # On NextStep and OpenStep, the `mkdir' command does not
1660 # recognize any option. It will interpret all options as
1661 # directories to create, and then abort because `.' already
1663 for d in ./-p ./--version;
1665 test -d $d && rmdir $d
1667 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1668 if test -f "$ac_aux_dir/mkinstalldirs"; then
1669 mkdir_p='$(mkinstalldirs)'
1671 mkdir_p='$(install_sh) -d'
1675 for ac_prog in gawk mawk nawk awk
1677 # Extract the first word of "$ac_prog", so it can be a program name with args.
1678 set dummy $ac_prog; ac_word=$2
1679 echo "$as_me:$LINENO: checking for $ac_word" >&5
1680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1681 if test "${ac_cv_prog_AWK+set}" = set; then
1682 echo $ECHO_N "(cached) $ECHO_C" >&6
1684 if test -n "$AWK"; then
1685 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1691 test -z "$as_dir" && as_dir=.
1692 for ac_exec_ext in '' $ac_executable_extensions; do
1693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1694 ac_cv_prog_AWK="$ac_prog"
1695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1704 if test -n "$AWK"; then
1705 echo "$as_me:$LINENO: result: $AWK" >&5
1706 echo "${ECHO_T}$AWK" >&6
1708 echo "$as_me:$LINENO: result: no" >&5
1709 echo "${ECHO_T}no" >&6
1712 test -n "$AWK" && break
1715 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1716 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1717 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1718 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1719 echo $ECHO_N "(cached) $ECHO_C" >&6
1721 cat >conftest.make <<\_ACEOF
1723 @echo 'ac_maketemp="$(MAKE)"'
1725 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1726 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1727 if test -n "$ac_maketemp"; then
1728 eval ac_cv_prog_make_${ac_make}_set=yes
1730 eval ac_cv_prog_make_${ac_make}_set=no
1734 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1735 echo "$as_me:$LINENO: result: yes" >&5
1736 echo "${ECHO_T}yes" >&6
1739 echo "$as_me:$LINENO: result: no" >&5
1740 echo "${ECHO_T}no" >&6
1741 SET_MAKE="MAKE=${MAKE-make}"
1744 rm -rf .tst 2>/dev/null
1745 mkdir .tst 2>/dev/null
1746 if test -d .tst; then
1751 rmdir .tst 2>/dev/null
1753 # test to see if srcdir already configured
1754 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1755 test -f $srcdir/config.status; then
1756 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1757 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1758 { (exit 1); exit 1; }; }
1761 # test whether we have cygpath
1762 if test -z "$CYGPATH_W"; then
1763 if (cygpath --version) >/dev/null 2>/dev/null; then
1764 CYGPATH_W='cygpath -w'
1771 # Define the identity of the package.
1772 PACKAGE='libgfortran'
1776 # Some tools Automake needs.
1778 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1781 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1784 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1787 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1790 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1792 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1794 # Installed binaries are usually stripped using `strip' when the user
1795 # run `make install-strip'. However `strip' might not be the right
1796 # tool to use in cross-compilation environments, therefore Automake
1797 # will honor the `STRIP' environment variable to overrule this program.
1798 if test "$cross_compiling" != no; then
1799 if test -n "$ac_tool_prefix"; then
1800 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1801 set dummy ${ac_tool_prefix}strip; ac_word=$2
1802 echo "$as_me:$LINENO: checking for $ac_word" >&5
1803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1804 if test "${ac_cv_prog_STRIP+set}" = set; then
1805 echo $ECHO_N "(cached) $ECHO_C" >&6
1807 if test -n "$STRIP"; then
1808 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1814 test -z "$as_dir" && as_dir=.
1815 for ac_exec_ext in '' $ac_executable_extensions; do
1816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1817 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1826 STRIP=$ac_cv_prog_STRIP
1827 if test -n "$STRIP"; then
1828 echo "$as_me:$LINENO: result: $STRIP" >&5
1829 echo "${ECHO_T}$STRIP" >&6
1831 echo "$as_me:$LINENO: result: no" >&5
1832 echo "${ECHO_T}no" >&6
1836 if test -z "$ac_cv_prog_STRIP"; then
1838 # Extract the first word of "strip", so it can be a program name with args.
1839 set dummy strip; ac_word=$2
1840 echo "$as_me:$LINENO: checking for $ac_word" >&5
1841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1842 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1843 echo $ECHO_N "(cached) $ECHO_C" >&6
1845 if test -n "$ac_ct_STRIP"; then
1846 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1852 test -z "$as_dir" && as_dir=.
1853 for ac_exec_ext in '' $ac_executable_extensions; do
1854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1855 ac_cv_prog_ac_ct_STRIP="strip"
1856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1862 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1865 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1866 if test -n "$ac_ct_STRIP"; then
1867 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1868 echo "${ECHO_T}$ac_ct_STRIP" >&6
1870 echo "$as_me:$LINENO: result: no" >&5
1871 echo "${ECHO_T}no" >&6
1876 STRIP="$ac_cv_prog_STRIP"
1880 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1882 # We need awk for the "check" target. The system "awk" is bad on
1884 # Always define AMTAR for backward compatibility.
1886 AMTAR=${AMTAR-"${am_missing_run}tar"}
1888 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1895 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1896 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1897 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1898 if test "${enable_maintainer_mode+set}" = set; then
1899 enableval="$enable_maintainer_mode"
1900 USE_MAINTAINER_MODE=$enableval
1902 USE_MAINTAINER_MODE=no
1904 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1905 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1908 if test $USE_MAINTAINER_MODE = yes; then
1909 MAINTAINER_MODE_TRUE=
1910 MAINTAINER_MODE_FALSE='#'
1912 MAINTAINER_MODE_TRUE='#'
1913 MAINTAINER_MODE_FALSE=
1916 MAINT=$MAINTAINER_MODE_TRUE
1919 # Default to --enable-multilib
1920 # Check whether --enable-multilib or --disable-multilib was given.
1921 if test "${enable_multilib+set}" = set; then
1922 enableval="$enable_multilib"
1923 case "$enableval" in
1924 yes) multilib=yes ;;
1926 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1927 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1928 { (exit 1); exit 1; }; } ;;
1934 # We may get other options which we leave undocumented:
1935 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1936 # See config-ml.in if you want the gory details.
1938 if test "$srcdir" = "."; then
1939 if test "$with_target_subdir" != "."; then
1940 multi_basedir="$srcdir/$with_multisrctop../.."
1942 multi_basedir="$srcdir/$with_multisrctop.."
1945 multi_basedir="$srcdir/.."
1949 ac_config_commands="$ac_config_commands default-1"
1952 # Handy for debugging:
1953 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1955 # Are we being configured with some form of cross compiler?
1956 # NB: We don't actually need to know this just now, but when, say, a test
1957 # suite is included, we'll have to know.
1958 if test "$build" != "$host"; then
1959 LIBGFOR_IS_NATIVE=false
1962 LIBGFOR_IS_NATIVE=true
1965 # Calculate toolexeclibdir
1966 # Also toolexecdir, though it's only used in toolexeclibdir
1967 case ${version_specific_libs} in
1969 # Need the gcc compiler version to know where to install libraries
1970 # and header files if --enable-version-specific-runtime-libs option
1972 toolexecdir='$(libdir)/gcc/$(target_alias)'
1973 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
1976 if test -n "$with_cross_host" &&
1977 test x"$with_cross_host" != x"no"; then
1978 # Install a library built with a cross compiler in tooldir, not libdir.
1979 toolexecdir='$(exec_prefix)/$(target_alias)'
1980 toolexeclibdir='$(toolexecdir)/lib'
1982 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
1983 toolexeclibdir='$(libdir)'
1985 multi_os_directory=`$CC -print-multi-os-directory`
1986 case $multi_os_directory in
1987 .) ;; # Avoid trailing /.
1988 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
1995 # Check the compiler.
1996 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1997 # We must force CC to /not/ be precious variables; otherwise
1998 # the wrong, non-multilib-adjusted value will be used in multilibs.
1999 # As a side effect, we have to subst CFLAGS ourselves.
2004 ac_cpp='$CPP $CPPFLAGS'
2005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2008 if test -n "$ac_tool_prefix"; then
2009 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2010 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2011 echo "$as_me:$LINENO: checking for $ac_word" >&5
2012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2013 if test "${ac_cv_prog_CC+set}" = set; then
2014 echo $ECHO_N "(cached) $ECHO_C" >&6
2016 if test -n "$CC"; then
2017 ac_cv_prog_CC="$CC" # Let the user override the test.
2019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2023 test -z "$as_dir" && as_dir=.
2024 for ac_exec_ext in '' $ac_executable_extensions; do
2025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2026 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2036 if test -n "$CC"; then
2037 echo "$as_me:$LINENO: result: $CC" >&5
2038 echo "${ECHO_T}$CC" >&6
2040 echo "$as_me:$LINENO: result: no" >&5
2041 echo "${ECHO_T}no" >&6
2045 if test -z "$ac_cv_prog_CC"; then
2047 # Extract the first word of "gcc", so it can be a program name with args.
2048 set dummy gcc; ac_word=$2
2049 echo "$as_me:$LINENO: checking for $ac_word" >&5
2050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2051 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2052 echo $ECHO_N "(cached) $ECHO_C" >&6
2054 if test -n "$ac_ct_CC"; then
2055 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2061 test -z "$as_dir" && as_dir=.
2062 for ac_exec_ext in '' $ac_executable_extensions; do
2063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2064 ac_cv_prog_ac_ct_CC="gcc"
2065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2073 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2074 if test -n "$ac_ct_CC"; then
2075 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2076 echo "${ECHO_T}$ac_ct_CC" >&6
2078 echo "$as_me:$LINENO: result: no" >&5
2079 echo "${ECHO_T}no" >&6
2087 if test -z "$CC"; then
2088 if test -n "$ac_tool_prefix"; then
2089 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2090 set dummy ${ac_tool_prefix}cc; ac_word=$2
2091 echo "$as_me:$LINENO: checking for $ac_word" >&5
2092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2093 if test "${ac_cv_prog_CC+set}" = set; then
2094 echo $ECHO_N "(cached) $ECHO_C" >&6
2096 if test -n "$CC"; then
2097 ac_cv_prog_CC="$CC" # Let the user override the test.
2099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2103 test -z "$as_dir" && as_dir=.
2104 for ac_exec_ext in '' $ac_executable_extensions; do
2105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2106 ac_cv_prog_CC="${ac_tool_prefix}cc"
2107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2116 if test -n "$CC"; then
2117 echo "$as_me:$LINENO: result: $CC" >&5
2118 echo "${ECHO_T}$CC" >&6
2120 echo "$as_me:$LINENO: result: no" >&5
2121 echo "${ECHO_T}no" >&6
2125 if test -z "$ac_cv_prog_CC"; then
2127 # Extract the first word of "cc", so it can be a program name with args.
2128 set dummy cc; ac_word=$2
2129 echo "$as_me:$LINENO: checking for $ac_word" >&5
2130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2131 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2132 echo $ECHO_N "(cached) $ECHO_C" >&6
2134 if test -n "$ac_ct_CC"; then
2135 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2141 test -z "$as_dir" && as_dir=.
2142 for ac_exec_ext in '' $ac_executable_extensions; do
2143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2144 ac_cv_prog_ac_ct_CC="cc"
2145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2153 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2154 if test -n "$ac_ct_CC"; then
2155 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2156 echo "${ECHO_T}$ac_ct_CC" >&6
2158 echo "$as_me:$LINENO: result: no" >&5
2159 echo "${ECHO_T}no" >&6
2168 if test -z "$CC"; then
2169 # Extract the first word of "cc", so it can be a program name with args.
2170 set dummy cc; ac_word=$2
2171 echo "$as_me:$LINENO: checking for $ac_word" >&5
2172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2173 if test "${ac_cv_prog_CC+set}" = set; then
2174 echo $ECHO_N "(cached) $ECHO_C" >&6
2176 if test -n "$CC"; then
2177 ac_cv_prog_CC="$CC" # Let the user override the test.
2180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2184 test -z "$as_dir" && as_dir=.
2185 for ac_exec_ext in '' $ac_executable_extensions; do
2186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2187 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2188 ac_prog_rejected=yes
2192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2198 if test $ac_prog_rejected = yes; then
2199 # We found a bogon in the path, so make sure we never use it.
2200 set dummy $ac_cv_prog_CC
2202 if test $# != 0; then
2203 # We chose a different compiler from the bogus one.
2204 # However, it has the same basename, so the bogon will be chosen
2205 # first if we set CC to just the basename; use the full file name.
2207 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2213 if test -n "$CC"; then
2214 echo "$as_me:$LINENO: result: $CC" >&5
2215 echo "${ECHO_T}$CC" >&6
2217 echo "$as_me:$LINENO: result: no" >&5
2218 echo "${ECHO_T}no" >&6
2222 if test -z "$CC"; then
2223 if test -n "$ac_tool_prefix"; then
2226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2227 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2228 echo "$as_me:$LINENO: checking for $ac_word" >&5
2229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2230 if test "${ac_cv_prog_CC+set}" = set; then
2231 echo $ECHO_N "(cached) $ECHO_C" >&6
2233 if test -n "$CC"; then
2234 ac_cv_prog_CC="$CC" # Let the user override the test.
2236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2240 test -z "$as_dir" && as_dir=.
2241 for ac_exec_ext in '' $ac_executable_extensions; do
2242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2243 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2253 if test -n "$CC"; then
2254 echo "$as_me:$LINENO: result: $CC" >&5
2255 echo "${ECHO_T}$CC" >&6
2257 echo "$as_me:$LINENO: result: no" >&5
2258 echo "${ECHO_T}no" >&6
2261 test -n "$CC" && break
2264 if test -z "$CC"; then
2268 # Extract the first word of "$ac_prog", so it can be a program name with args.
2269 set dummy $ac_prog; ac_word=$2
2270 echo "$as_me:$LINENO: checking for $ac_word" >&5
2271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2272 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2273 echo $ECHO_N "(cached) $ECHO_C" >&6
2275 if test -n "$ac_ct_CC"; then
2276 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2282 test -z "$as_dir" && as_dir=.
2283 for ac_exec_ext in '' $ac_executable_extensions; do
2284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2285 ac_cv_prog_ac_ct_CC="$ac_prog"
2286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2294 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2295 if test -n "$ac_ct_CC"; then
2296 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2297 echo "${ECHO_T}$ac_ct_CC" >&6
2299 echo "$as_me:$LINENO: result: no" >&5
2300 echo "${ECHO_T}no" >&6
2303 test -n "$ac_ct_CC" && break
2312 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2313 See \`config.log' for more details." >&5
2314 echo "$as_me: error: no acceptable C compiler found in \$PATH
2315 See \`config.log' for more details." >&2;}
2316 { (exit 1); exit 1; }; }
2318 # Provide some information about the compiler.
2319 echo "$as_me:$LINENO:" \
2320 "checking for C compiler version" >&5
2321 ac_compiler=`set X $ac_compile; echo $2`
2322 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2323 (eval $ac_compiler --version </dev/null >&5) 2>&5
2325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2326 (exit $ac_status); }
2327 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2328 (eval $ac_compiler -v </dev/null >&5) 2>&5
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); }
2332 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2333 (eval $ac_compiler -V </dev/null >&5) 2>&5
2335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336 (exit $ac_status); }
2338 cat >conftest.$ac_ext <<_ACEOF
2341 cat confdefs.h >>conftest.$ac_ext
2342 cat >>conftest.$ac_ext <<_ACEOF
2343 /* end confdefs.h. */
2353 ac_clean_files_save=$ac_clean_files
2354 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2355 # Try to create an executable without -o first, disregard a.out.
2356 # It will help us diagnose broken compilers, and finding out an intuition
2358 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2359 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2360 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2361 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2362 (eval $ac_link_default) 2>&5
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }; then
2366 # Find the output, starting from the most likely. This scheme is
2367 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2370 # Be careful to initialize this variable, since it used to be cached.
2371 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2373 # b.out is created by i960 compilers.
2374 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2376 test -f "$ac_file" || continue
2378 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2381 # This is the source file.
2384 # We found the default executable, but exeext='' is most
2388 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2389 # FIXME: I believe we export ac_cv_exeext for Libtool,
2390 # but it would be cool to find out if it's true. Does anybody
2391 # maintain Libtool? --akim.
2399 echo "$as_me: failed program was:" >&5
2400 sed 's/^/| /' conftest.$ac_ext >&5
2402 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2403 See \`config.log' for more details." >&5
2404 echo "$as_me: error: C compiler cannot create executables
2405 See \`config.log' for more details." >&2;}
2406 { (exit 77); exit 77; }; }
2409 ac_exeext=$ac_cv_exeext
2410 echo "$as_me:$LINENO: result: $ac_file" >&5
2411 echo "${ECHO_T}$ac_file" >&6
2413 # Check the compiler produces executables we can run. If not, either
2414 # the compiler is broken, or we cross compile.
2415 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2416 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2417 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2418 # If not cross compiling, check that we can run a simple program.
2419 if test "$cross_compiling" != yes; then
2420 if { ac_try='./$ac_file'
2421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2425 (exit $ac_status); }; }; then
2428 if test "$cross_compiling" = maybe; then
2431 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2432 If you meant to cross compile, use \`--host'.
2433 See \`config.log' for more details." >&5
2434 echo "$as_me: error: cannot run C compiled programs.
2435 If you meant to cross compile, use \`--host'.
2436 See \`config.log' for more details." >&2;}
2437 { (exit 1); exit 1; }; }
2441 echo "$as_me:$LINENO: result: yes" >&5
2442 echo "${ECHO_T}yes" >&6
2444 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2445 ac_clean_files=$ac_clean_files_save
2446 # Check the compiler produces executables we can run. If not, either
2447 # the compiler is broken, or we cross compile.
2448 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2449 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2450 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2451 echo "${ECHO_T}$cross_compiling" >&6
2453 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2454 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2456 (eval $ac_link) 2>&5
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); }; then
2460 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2461 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2462 # work properly (i.e., refer to `conftest.exe'), while it won't with
2464 for ac_file in conftest.exe conftest conftest.*; do
2465 test -f "$ac_file" || continue
2467 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2468 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2475 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2476 See \`config.log' for more details." >&5
2477 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2478 See \`config.log' for more details." >&2;}
2479 { (exit 1); exit 1; }; }
2482 rm -f conftest$ac_cv_exeext
2483 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2484 echo "${ECHO_T}$ac_cv_exeext" >&6
2486 rm -f conftest.$ac_ext
2487 EXEEXT=$ac_cv_exeext
2489 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2490 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2491 if test "${ac_cv_objext+set}" = set; then
2492 echo $ECHO_N "(cached) $ECHO_C" >&6
2494 cat >conftest.$ac_ext <<_ACEOF
2497 cat confdefs.h >>conftest.$ac_ext
2498 cat >>conftest.$ac_ext <<_ACEOF
2499 /* end confdefs.h. */
2509 rm -f conftest.o conftest.obj
2510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2511 (eval $ac_compile) 2>&5
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; then
2515 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2517 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2518 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2523 echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.$ac_ext >&5
2526 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2527 See \`config.log' for more details." >&5
2528 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2529 See \`config.log' for more details." >&2;}
2530 { (exit 1); exit 1; }; }
2533 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2535 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2536 echo "${ECHO_T}$ac_cv_objext" >&6
2537 OBJEXT=$ac_cv_objext
2539 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2540 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2541 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2542 echo $ECHO_N "(cached) $ECHO_C" >&6
2544 cat >conftest.$ac_ext <<_ACEOF
2547 cat confdefs.h >>conftest.$ac_ext
2548 cat >>conftest.$ac_ext <<_ACEOF
2549 /* end confdefs.h. */
2562 rm -f conftest.$ac_objext
2563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2564 (eval $ac_compile) 2>conftest.er1
2566 grep -v '^ *+' conftest.er1 >conftest.err
2568 cat conftest.err >&5
2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570 (exit $ac_status); } &&
2571 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576 (exit $ac_status); }; } &&
2577 { ac_try='test -s conftest.$ac_objext'
2578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2582 (exit $ac_status); }; }; then
2585 echo "$as_me: failed program was:" >&5
2586 sed 's/^/| /' conftest.$ac_ext >&5
2590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2591 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2594 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2595 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2596 GCC=`test $ac_compiler_gnu = yes && echo yes`
2597 ac_test_CFLAGS=${CFLAGS+set}
2598 ac_save_CFLAGS=$CFLAGS
2600 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2601 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2602 if test "${ac_cv_prog_cc_g+set}" = set; then
2603 echo $ECHO_N "(cached) $ECHO_C" >&6
2605 cat >conftest.$ac_ext <<_ACEOF
2608 cat confdefs.h >>conftest.$ac_ext
2609 cat >>conftest.$ac_ext <<_ACEOF
2610 /* end confdefs.h. */
2620 rm -f conftest.$ac_objext
2621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2622 (eval $ac_compile) 2>conftest.er1
2624 grep -v '^ *+' conftest.er1 >conftest.err
2626 cat conftest.err >&5
2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); } &&
2629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634 (exit $ac_status); }; } &&
2635 { ac_try='test -s conftest.$ac_objext'
2636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }; }; then
2643 echo "$as_me: failed program was:" >&5
2644 sed 's/^/| /' conftest.$ac_ext >&5
2648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2650 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2651 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2652 if test "$ac_test_CFLAGS" = set; then
2653 CFLAGS=$ac_save_CFLAGS
2654 elif test $ac_cv_prog_cc_g = yes; then
2655 if test "$GCC" = yes; then
2661 if test "$GCC" = yes; then
2667 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2668 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2669 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2670 echo $ECHO_N "(cached) $ECHO_C" >&6
2672 ac_cv_prog_cc_stdc=no
2674 cat >conftest.$ac_ext <<_ACEOF
2677 cat confdefs.h >>conftest.$ac_ext
2678 cat >>conftest.$ac_ext <<_ACEOF
2679 /* end confdefs.h. */
2682 #include <sys/types.h>
2683 #include <sys/stat.h>
2684 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2685 struct buf { int x; };
2686 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2687 static char *e (p, i)
2693 static char *f (char * (*g) (char **, int), char **p, ...)
2698 s = g (p, va_arg (v,int));
2703 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2704 function prototypes and stuff, but not '\xHH' hex character constants.
2705 These don't provoke an error unfortunately, instead are silently treated
2706 as 'x'. The following induces an error, until -std1 is added to get
2707 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2708 array size at least. It's necessary to write '\x00'==0 to get something
2709 that's true only with -std1. */
2710 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2712 int test (int i, double x);
2713 struct s1 {int (*f) (int a);};
2714 struct s2 {int (*f) (double a);};
2715 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2721 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2726 # Don't try gcc -ansi; that turns off useful extensions and
2727 # breaks some systems' header files.
2728 # AIX -qlanglvl=ansi
2729 # Ultrix and OSF/1 -std1
2730 # HP-UX 10.20 and later -Ae
2731 # HP-UX older versions -Aa -D_HPUX_SOURCE
2732 # SVR4 -Xc -D__EXTENSIONS__
2733 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2735 CC="$ac_save_CC $ac_arg"
2736 rm -f conftest.$ac_objext
2737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2738 (eval $ac_compile) 2>conftest.er1
2740 grep -v '^ *+' conftest.er1 >conftest.err
2742 cat conftest.err >&5
2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); } &&
2745 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750 (exit $ac_status); }; } &&
2751 { ac_try='test -s conftest.$ac_objext'
2752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756 (exit $ac_status); }; }; then
2757 ac_cv_prog_cc_stdc=$ac_arg
2760 echo "$as_me: failed program was:" >&5
2761 sed 's/^/| /' conftest.$ac_ext >&5
2764 rm -f conftest.err conftest.$ac_objext
2766 rm -f conftest.$ac_ext conftest.$ac_objext
2771 case "x$ac_cv_prog_cc_stdc" in
2773 echo "$as_me:$LINENO: result: none needed" >&5
2774 echo "${ECHO_T}none needed" >&6 ;;
2776 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2777 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2778 CC="$CC $ac_cv_prog_cc_stdc" ;;
2781 # Some people use a C++ compiler to compile C. Since we use `exit',
2782 # in C++ we need to declare it. In case someone uses the same compiler
2783 # for both compiling C and C++ we need to have the C++ compiler decide
2784 # the declaration of exit, since it's the most demanding environment.
2785 cat >conftest.$ac_ext <<_ACEOF
2790 rm -f conftest.$ac_objext
2791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2792 (eval $ac_compile) 2>conftest.er1
2794 grep -v '^ *+' conftest.er1 >conftest.err
2796 cat conftest.err >&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); } &&
2799 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); }; } &&
2805 { ac_try='test -s conftest.$ac_objext'
2806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); }; }; then
2811 for ac_declaration in \
2813 'extern "C" void std::exit (int) throw (); using std::exit;' \
2814 'extern "C" void std::exit (int); using std::exit;' \
2815 'extern "C" void exit (int) throw ();' \
2816 'extern "C" void exit (int);' \
2819 cat >conftest.$ac_ext <<_ACEOF
2822 cat confdefs.h >>conftest.$ac_ext
2823 cat >>conftest.$ac_ext <<_ACEOF
2824 /* end confdefs.h. */
2835 rm -f conftest.$ac_objext
2836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2837 (eval $ac_compile) 2>conftest.er1
2839 grep -v '^ *+' conftest.er1 >conftest.err
2841 cat conftest.err >&5
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); } &&
2844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); }; } &&
2850 { ac_try='test -s conftest.$ac_objext'
2851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855 (exit $ac_status); }; }; then
2858 echo "$as_me: failed program was:" >&5
2859 sed 's/^/| /' conftest.$ac_ext >&5
2863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2864 cat >conftest.$ac_ext <<_ACEOF
2867 cat confdefs.h >>conftest.$ac_ext
2868 cat >>conftest.$ac_ext <<_ACEOF
2869 /* end confdefs.h. */
2879 rm -f conftest.$ac_objext
2880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2881 (eval $ac_compile) 2>conftest.er1
2883 grep -v '^ *+' conftest.er1 >conftest.err
2885 cat conftest.err >&5
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); } &&
2888 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); }; } &&
2894 { ac_try='test -s conftest.$ac_objext'
2895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899 (exit $ac_status); }; }; then
2902 echo "$as_me: failed program was:" >&5
2903 sed 's/^/| /' conftest.$ac_ext >&5
2906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2909 if test -n "$ac_declaration"; then
2910 echo '#ifdef __cplusplus' >>confdefs.h
2911 echo $ac_declaration >>confdefs.h
2912 echo '#endif' >>confdefs.h
2916 echo "$as_me: failed program was:" >&5
2917 sed 's/^/| /' conftest.$ac_ext >&5
2920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2922 ac_cpp='$CPP $CPPFLAGS'
2923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2931 # Add -Wall if we are using GCC.
2932 if test "x$GCC" = "xyes"; then
2933 CFLAGS="$CFLAGS -Wall"
2936 # Find other programs we need.
2937 if test -n "$ac_tool_prefix"; then
2938 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2939 set dummy ${ac_tool_prefix}as; ac_word=$2
2940 echo "$as_me:$LINENO: checking for $ac_word" >&5
2941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2942 if test "${ac_cv_prog_AS+set}" = set; then
2943 echo $ECHO_N "(cached) $ECHO_C" >&6
2945 if test -n "$AS"; then
2946 ac_cv_prog_AS="$AS" # Let the user override the test.
2948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2952 test -z "$as_dir" && as_dir=.
2953 for ac_exec_ext in '' $ac_executable_extensions; do
2954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2955 ac_cv_prog_AS="${ac_tool_prefix}as"
2956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2965 if test -n "$AS"; then
2966 echo "$as_me:$LINENO: result: $AS" >&5
2967 echo "${ECHO_T}$AS" >&6
2969 echo "$as_me:$LINENO: result: no" >&5
2970 echo "${ECHO_T}no" >&6
2974 if test -z "$ac_cv_prog_AS"; then
2976 # Extract the first word of "as", so it can be a program name with args.
2977 set dummy as; ac_word=$2
2978 echo "$as_me:$LINENO: checking for $ac_word" >&5
2979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2980 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2981 echo $ECHO_N "(cached) $ECHO_C" >&6
2983 if test -n "$ac_ct_AS"; then
2984 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2990 test -z "$as_dir" && as_dir=.
2991 for ac_exec_ext in '' $ac_executable_extensions; do
2992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2993 ac_cv_prog_ac_ct_AS="as"
2994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3002 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3003 if test -n "$ac_ct_AS"; then
3004 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3005 echo "${ECHO_T}$ac_ct_AS" >&6
3007 echo "$as_me:$LINENO: result: no" >&5
3008 echo "${ECHO_T}no" >&6
3016 if test -n "$ac_tool_prefix"; then
3017 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3018 set dummy ${ac_tool_prefix}ar; ac_word=$2
3019 echo "$as_me:$LINENO: checking for $ac_word" >&5
3020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3021 if test "${ac_cv_prog_AR+set}" = set; then
3022 echo $ECHO_N "(cached) $ECHO_C" >&6
3024 if test -n "$AR"; then
3025 ac_cv_prog_AR="$AR" # Let the user override the test.
3027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3031 test -z "$as_dir" && as_dir=.
3032 for ac_exec_ext in '' $ac_executable_extensions; do
3033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3034 ac_cv_prog_AR="${ac_tool_prefix}ar"
3035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3044 if test -n "$AR"; then
3045 echo "$as_me:$LINENO: result: $AR" >&5
3046 echo "${ECHO_T}$AR" >&6
3048 echo "$as_me:$LINENO: result: no" >&5
3049 echo "${ECHO_T}no" >&6
3053 if test -z "$ac_cv_prog_AR"; then
3055 # Extract the first word of "ar", so it can be a program name with args.
3056 set dummy ar; ac_word=$2
3057 echo "$as_me:$LINENO: checking for $ac_word" >&5
3058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3059 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3060 echo $ECHO_N "(cached) $ECHO_C" >&6
3062 if test -n "$ac_ct_AR"; then
3063 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3069 test -z "$as_dir" && as_dir=.
3070 for ac_exec_ext in '' $ac_executable_extensions; do
3071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3072 ac_cv_prog_ac_ct_AR="ar"
3073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3081 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3082 if test -n "$ac_ct_AR"; then
3083 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3084 echo "${ECHO_T}$ac_ct_AR" >&6
3086 echo "$as_me:$LINENO: result: no" >&5
3087 echo "${ECHO_T}no" >&6
3095 if test -n "$ac_tool_prefix"; then
3096 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3097 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3098 echo "$as_me:$LINENO: checking for $ac_word" >&5
3099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3100 if test "${ac_cv_prog_RANLIB+set}" = set; then
3101 echo $ECHO_N "(cached) $ECHO_C" >&6
3103 if test -n "$RANLIB"; then
3104 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3110 test -z "$as_dir" && as_dir=.
3111 for ac_exec_ext in '' $ac_executable_extensions; do
3112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3113 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3122 RANLIB=$ac_cv_prog_RANLIB
3123 if test -n "$RANLIB"; then
3124 echo "$as_me:$LINENO: result: $RANLIB" >&5
3125 echo "${ECHO_T}$RANLIB" >&6
3127 echo "$as_me:$LINENO: result: no" >&5
3128 echo "${ECHO_T}no" >&6
3132 if test -z "$ac_cv_prog_RANLIB"; then
3133 ac_ct_RANLIB=$RANLIB
3134 # Extract the first word of "ranlib", so it can be a program name with args.
3135 set dummy ranlib; ac_word=$2
3136 echo "$as_me:$LINENO: checking for $ac_word" >&5
3137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3138 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3139 echo $ECHO_N "(cached) $ECHO_C" >&6
3141 if test -n "$ac_ct_RANLIB"; then
3142 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3148 test -z "$as_dir" && as_dir=.
3149 for ac_exec_ext in '' $ac_executable_extensions; do
3150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3151 ac_cv_prog_ac_ct_RANLIB="ranlib"
3152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3158 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3161 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3162 if test -n "$ac_ct_RANLIB"; then
3163 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3164 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3166 echo "$as_me:$LINENO: result: no" >&5
3167 echo "${ECHO_T}no" >&6
3170 RANLIB=$ac_ct_RANLIB
3172 RANLIB="$ac_cv_prog_RANLIB"
3175 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3176 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3177 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3178 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3179 echo $ECHO_N "(cached) $ECHO_C" >&6
3181 cat >conftest.make <<\_ACEOF
3183 @echo 'ac_maketemp="$(MAKE)"'
3185 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3186 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3187 if test -n "$ac_maketemp"; then
3188 eval ac_cv_prog_make_${ac_make}_set=yes
3190 eval ac_cv_prog_make_${ac_make}_set=no
3194 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3195 echo "$as_me:$LINENO: result: yes" >&5
3196 echo "${ECHO_T}yes" >&6
3199 echo "$as_me:$LINENO: result: no" >&5
3200 echo "${ECHO_T}no" >&6
3201 SET_MAKE="MAKE=${MAKE-make}"
3204 # Find a good install program. We prefer a C program (faster),
3205 # so one script is as good as another. But avoid the broken or
3206 # incompatible versions:
3207 # SysV /etc/install, /usr/sbin/install
3208 # SunOS /usr/etc/install
3209 # IRIX /sbin/install
3211 # AmigaOS /C/install, which installs bootblocks on floppy discs
3212 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3213 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3214 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3215 # OS/2's system install, which has a completely different semantic
3216 # ./install, which can be erroneously created by make from ./install.sh.
3217 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3218 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3219 if test -z "$INSTALL"; then
3220 if test "${ac_cv_path_install+set}" = set; then
3221 echo $ECHO_N "(cached) $ECHO_C" >&6
3223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3227 test -z "$as_dir" && as_dir=.
3228 # Account for people who put trailing slashes in PATH elements.
3230 ./ | .// | /cC/* | \
3231 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3232 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3235 # OSF1 and SCO ODT 3.0 have their own names for install.
3236 # Don't use installbsd from OSF since it installs stuff as root
3238 for ac_prog in ginstall scoinst install; do
3239 for ac_exec_ext in '' $ac_executable_extensions; do
3240 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3241 if test $ac_prog = install &&
3242 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3243 # AIX install. It has an incompatible calling convention.
3245 elif test $ac_prog = install &&
3246 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3247 # program-specific install script used by HP pwplus--don't use.
3250 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3262 if test "${ac_cv_path_install+set}" = set; then
3263 INSTALL=$ac_cv_path_install
3265 # As a last resort, use the slow shell script. We don't cache a
3266 # path for INSTALL within a source directory, because that will
3267 # break other packages using the cache if that directory is
3268 # removed, or if the path is relative.
3269 INSTALL=$ac_install_sh
3272 echo "$as_me:$LINENO: result: $INSTALL" >&5
3273 echo "${ECHO_T}$INSTALL" >&6
3275 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3276 # It thinks the first close brace ends the variable substitution.
3277 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3279 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3281 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3285 #AC_MSG_NOTICE([====== Starting libtool configuration])
3287 # Check whether --enable-shared or --disable-shared was given.
3288 if test "${enable_shared+set}" = set; then
3289 enableval="$enable_shared"
3290 p=${PACKAGE-default}
3292 yes) enable_shared=yes ;;
3293 no) enable_shared=no ;;
3296 # Look at the argument we got. We use all the common list separators.
3297 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3298 for pkg in $enableval; do
3299 if test "X$pkg" = "X$p"; then
3309 # Check whether --enable-static or --disable-static was given.
3310 if test "${enable_static+set}" = set; then
3311 enableval="$enable_static"
3312 p=${PACKAGE-default}
3314 yes) enable_static=yes ;;
3315 no) enable_static=no ;;
3318 # Look at the argument we got. We use all the common list separators.
3319 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3320 for pkg in $enableval; do
3321 if test "X$pkg" = "X$p"; then
3331 # Check whether --enable-fast-install or --disable-fast-install was given.
3332 if test "${enable_fast_install+set}" = set; then
3333 enableval="$enable_fast_install"
3334 p=${PACKAGE-default}
3336 yes) enable_fast_install=yes ;;
3337 no) enable_fast_install=no ;;
3339 enable_fast_install=no
3340 # Look at the argument we got. We use all the common list separators.
3341 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3342 for pkg in $enableval; do
3343 if test "X$pkg" = "X$p"; then
3344 enable_fast_install=yes
3351 enable_fast_install=yes
3354 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3355 if test "${with_gnu_ld+set}" = set; then
3356 withval="$with_gnu_ld"
3357 test "$withval" = no || with_gnu_ld=yes
3362 if test "$GCC" = yes; then
3363 # Check if gcc -print-prog-name=ld gives a path.
3364 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3365 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3368 # gcc leaves a trailing carriage return which upsets mingw
3369 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3371 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3374 # Accept absolute paths.
3375 [\\/]* | [A-Za-z]:[\\/]*)
3376 re_direlt='/[^/][^/]*/\.\./'
3377 # Canonicalize the path of ld
3378 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3379 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3380 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3382 test -z "$LD" && LD="$ac_prog"
3385 # If it fails, then pretend we aren't using GCC.
3389 # If it is relative, then search for the first ld in PATH.
3393 elif test "$with_gnu_ld" = yes; then
3394 echo "$as_me:$LINENO: checking for GNU ld" >&5
3395 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3397 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3398 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3400 if test "${lt_cv_path_LD+set}" = set; then
3401 echo $ECHO_N "(cached) $ECHO_C" >&6
3403 if test -z "$LD"; then
3404 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3405 for ac_dir in $PATH; do
3406 test -z "$ac_dir" && ac_dir=.
3407 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3408 lt_cv_path_LD="$ac_dir/$ac_prog"
3409 # Check to see if the program is GNU ld. I'd rather use --version,
3410 # but apparently some GNU ld's only accept -v.
3411 # Break only if it was the GNU/non-GNU ld that we prefer.
3412 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3413 test "$with_gnu_ld" != no && break
3415 test "$with_gnu_ld" != yes && break
3421 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3426 if test -n "$LD"; then
3427 echo "$as_me:$LINENO: result: $LD" >&5
3428 echo "${ECHO_T}$LD" >&6
3430 echo "$as_me:$LINENO: result: no" >&5
3431 echo "${ECHO_T}no" >&6
3433 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3434 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3435 { (exit 1); exit 1; }; }
3436 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3437 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3438 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3439 echo $ECHO_N "(cached) $ECHO_C" >&6
3441 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3442 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3443 lt_cv_prog_gnu_ld=yes
3445 lt_cv_prog_gnu_ld=no
3448 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3449 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3450 with_gnu_ld=$lt_cv_prog_gnu_ld
3453 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3454 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3455 if test "${lt_cv_ld_reload_flag+set}" = set; then
3456 echo $ECHO_N "(cached) $ECHO_C" >&6
3458 lt_cv_ld_reload_flag='-r'
3460 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3461 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3462 reload_flag=$lt_cv_ld_reload_flag
3463 test -n "$reload_flag" && reload_flag=" $reload_flag"
3465 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3466 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3467 if test "${lt_cv_path_NM+set}" = set; then
3468 echo $ECHO_N "(cached) $ECHO_C" >&6
3470 if test -n "$NM"; then
3471 # Let the user override the test.
3474 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3475 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3476 test -z "$ac_dir" && ac_dir=.
3477 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3478 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3479 # Check to see if the nm accepts a BSD-compat flag.
3480 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3481 # nm: unknown option "B" ignored
3482 # Tru64's nm complains that /dev/null is an invalid object file
3483 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3484 lt_cv_path_NM="$tmp_nm -B"
3486 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3487 lt_cv_path_NM="$tmp_nm -p"
3490 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3491 continue # so that we can try to find one that supports BSD flags
3496 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3501 echo "$as_me:$LINENO: result: $NM" >&5
3502 echo "${ECHO_T}$NM" >&6
3504 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3505 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3507 if test "$LN_S" = "ln -s"; then
3508 echo "$as_me:$LINENO: result: yes" >&5
3509 echo "${ECHO_T}yes" >&6
3511 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3512 echo "${ECHO_T}no, using $LN_S" >&6
3515 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3516 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3517 if test "${lt_cv_deplibs_check_method+set}" = set; then
3518 echo $ECHO_N "(cached) $ECHO_C" >&6
3520 lt_cv_file_magic_cmd='$MAGIC_CMD'
3521 lt_cv_file_magic_test_file=
3522 lt_cv_deplibs_check_method='unknown'
3523 # Need to set the preceding variable on all platforms that support
3524 # interlibrary dependencies.
3525 # 'none' -- dependencies not supported.
3526 # `unknown' -- same as none, but documents that we really don't know.
3527 # 'pass_all' -- all dependencies passed with no checks.
3528 # 'test_compile' -- check by making test program.
3529 # 'file_magic [regex]' -- check by looking for files in library path
3530 # which responds to the $file_magic_cmd with a given egrep regex.
3531 # If you have `file' or equivalent on your system and you're not sure
3532 # whether `pass_all' will *always* work, you probably want this one.
3536 lt_cv_deplibs_check_method=pass_all
3540 lt_cv_deplibs_check_method=pass_all
3544 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3545 lt_cv_file_magic_cmd='/usr/bin/file -L'
3546 lt_cv_file_magic_test_file=/shlib/libc.so
3549 cygwin* | mingw* |pw32*)
3550 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3551 lt_cv_file_magic_cmd='$OBJDUMP -f'
3554 darwin* | rhapsody*)
3555 # this will be overwritten by pass_all, but leave it in just in case
3556 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3557 lt_cv_file_magic_cmd='/usr/bin/file -L'
3559 rhapsody* | darwin1.012)
3560 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3563 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3566 lt_cv_deplibs_check_method=pass_all
3569 freebsd* | kfreebsd*-gnu)
3570 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3573 # Not sure whether the presence of OpenBSD here was a mistake.
3574 # Let's accept both of them until this is cleared up.
3575 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3576 lt_cv_file_magic_cmd=/usr/bin/file
3577 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3581 lt_cv_deplibs_check_method=pass_all
3586 lt_cv_deplibs_check_method=pass_all
3592 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3593 lt_cv_file_magic_cmd=/usr/bin/file
3594 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3597 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3598 lt_cv_file_magic_cmd=/usr/bin/file
3599 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3607 # this will be overridden with pass_all, but let us keep it just in case
3608 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3612 *-32|*"-32 ") libmagic=32-bit;;
3613 *-n32|*"-n32 ") libmagic=N32;;
3614 *-64|*"-64 ") libmagic=64-bit;;
3615 *) libmagic=never-match;;
3617 # this will be overridden with pass_all, but let us keep it just in case
3618 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3621 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3622 lt_cv_deplibs_check_method=pass_all
3625 # This must be Linux ELF.
3627 lt_cv_deplibs_check_method=pass_all
3630 netbsd* | knetbsd*-gnu)
3631 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3632 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3634 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3639 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3640 lt_cv_file_magic_cmd=/usr/bin/file
3641 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3644 osf3* | osf4* | osf5*)
3645 # this will be overridden with pass_all, but let us keep it just in case
3646 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3647 lt_cv_file_magic_test_file=/shlib/libc.so
3648 lt_cv_deplibs_check_method=pass_all
3652 lt_cv_deplibs_check_method=pass_all
3656 lt_cv_deplibs_check_method=pass_all
3657 lt_cv_file_magic_test_file=/lib/libc.so
3660 sysv5uw[78]* | sysv4*uw2*)
3661 lt_cv_deplibs_check_method=pass_all
3664 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3665 case $host_vendor in
3667 lt_cv_deplibs_check_method=pass_all
3670 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]'
3671 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3678 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3679 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3680 file_magic_cmd=$lt_cv_file_magic_cmd
3681 deplibs_check_method=$lt_cv_deplibs_check_method
3687 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3689 # Only perform the check for file, if the check method requires it
3690 case $deplibs_check_method in
3692 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3693 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3694 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3695 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3696 echo $ECHO_N "(cached) $ECHO_C" >&6
3700 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3703 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3706 ac_save_MAGIC_CMD="$MAGIC_CMD"
3707 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3708 ac_dummy="/usr/bin:$PATH"
3709 for ac_dir in $ac_dummy; do
3710 test -z "$ac_dir" && ac_dir=.
3711 if test -f $ac_dir/${ac_tool_prefix}file; then
3712 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3713 if test -n "$file_magic_test_file"; then
3714 case $deplibs_check_method in
3716 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3717 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3718 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3719 egrep "$file_magic_regex" > /dev/null; then
3724 *** Warning: the command libtool uses to detect shared libraries,
3725 *** $file_magic_cmd, produces output that libtool cannot recognize.
3726 *** The result is that libtool may fail to recognize shared libraries
3727 *** as such. This will affect the creation of libtool libraries that
3728 *** depend on shared libraries, but programs linked with such libtool
3729 *** libraries will work regardless of this problem. Nevertheless, you
3730 *** may want to report the problem to your system manager and/or to
3731 *** bug-libtool@gnu.org
3741 MAGIC_CMD="$ac_save_MAGIC_CMD"
3746 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3747 if test -n "$MAGIC_CMD"; then
3748 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3749 echo "${ECHO_T}$MAGIC_CMD" >&6
3751 echo "$as_me:$LINENO: result: no" >&5
3752 echo "${ECHO_T}no" >&6
3755 if test -z "$lt_cv_path_MAGIC_CMD"; then
3756 if test -n "$ac_tool_prefix"; then
3757 echo "$as_me:$LINENO: checking for file" >&5
3758 echo $ECHO_N "checking for file... $ECHO_C" >&6
3759 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3760 echo $ECHO_N "(cached) $ECHO_C" >&6
3764 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3767 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3770 ac_save_MAGIC_CMD="$MAGIC_CMD"
3771 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3772 ac_dummy="/usr/bin:$PATH"
3773 for ac_dir in $ac_dummy; do
3774 test -z "$ac_dir" && ac_dir=.
3775 if test -f $ac_dir/file; then
3776 lt_cv_path_MAGIC_CMD="$ac_dir/file"
3777 if test -n "$file_magic_test_file"; then
3778 case $deplibs_check_method in
3780 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3781 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3782 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3783 egrep "$file_magic_regex" > /dev/null; then
3788 *** Warning: the command libtool uses to detect shared libraries,
3789 *** $file_magic_cmd, produces output that libtool cannot recognize.
3790 *** The result is that libtool may fail to recognize shared libraries
3791 *** as such. This will affect the creation of libtool libraries that
3792 *** depend on shared libraries, but programs linked with such libtool
3793 *** libraries will work regardless of this problem. Nevertheless, you
3794 *** may want to report the problem to your system manager and/or to
3795 *** bug-libtool@gnu.org
3805 MAGIC_CMD="$ac_save_MAGIC_CMD"
3810 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3811 if test -n "$MAGIC_CMD"; then
3812 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3813 echo "${ECHO_T}$MAGIC_CMD" >&6
3815 echo "$as_me:$LINENO: result: no" >&5
3816 echo "${ECHO_T}no" >&6
3828 if test -n "$ac_tool_prefix"; then
3829 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3830 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3831 echo "$as_me:$LINENO: checking for $ac_word" >&5
3832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3833 if test "${ac_cv_prog_RANLIB+set}" = set; then
3834 echo $ECHO_N "(cached) $ECHO_C" >&6
3836 if test -n "$RANLIB"; then
3837 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3843 test -z "$as_dir" && as_dir=.
3844 for ac_exec_ext in '' $ac_executable_extensions; do
3845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3846 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3855 RANLIB=$ac_cv_prog_RANLIB
3856 if test -n "$RANLIB"; then
3857 echo "$as_me:$LINENO: result: $RANLIB" >&5
3858 echo "${ECHO_T}$RANLIB" >&6
3860 echo "$as_me:$LINENO: result: no" >&5
3861 echo "${ECHO_T}no" >&6
3865 if test -z "$ac_cv_prog_RANLIB"; then
3866 ac_ct_RANLIB=$RANLIB
3867 # Extract the first word of "ranlib", so it can be a program name with args.
3868 set dummy ranlib; ac_word=$2
3869 echo "$as_me:$LINENO: checking for $ac_word" >&5
3870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3871 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3872 echo $ECHO_N "(cached) $ECHO_C" >&6
3874 if test -n "$ac_ct_RANLIB"; then
3875 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3881 test -z "$as_dir" && as_dir=.
3882 for ac_exec_ext in '' $ac_executable_extensions; do
3883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3884 ac_cv_prog_ac_ct_RANLIB="ranlib"
3885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3891 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3894 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3895 if test -n "$ac_ct_RANLIB"; then
3896 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3897 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3899 echo "$as_me:$LINENO: result: no" >&5
3900 echo "${ECHO_T}no" >&6
3903 RANLIB=$ac_ct_RANLIB
3905 RANLIB="$ac_cv_prog_RANLIB"
3908 if test -n "$ac_tool_prefix"; then
3909 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3910 set dummy ${ac_tool_prefix}strip; ac_word=$2
3911 echo "$as_me:$LINENO: checking for $ac_word" >&5
3912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3913 if test "${ac_cv_prog_STRIP+set}" = set; then
3914 echo $ECHO_N "(cached) $ECHO_C" >&6
3916 if test -n "$STRIP"; then
3917 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3923 test -z "$as_dir" && as_dir=.
3924 for ac_exec_ext in '' $ac_executable_extensions; do
3925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3926 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3935 STRIP=$ac_cv_prog_STRIP
3936 if test -n "$STRIP"; then
3937 echo "$as_me:$LINENO: result: $STRIP" >&5
3938 echo "${ECHO_T}$STRIP" >&6
3940 echo "$as_me:$LINENO: result: no" >&5
3941 echo "${ECHO_T}no" >&6
3945 if test -z "$ac_cv_prog_STRIP"; then
3947 # Extract the first word of "strip", so it can be a program name with args.
3948 set dummy strip; ac_word=$2
3949 echo "$as_me:$LINENO: checking for $ac_word" >&5
3950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3951 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3952 echo $ECHO_N "(cached) $ECHO_C" >&6
3954 if test -n "$ac_ct_STRIP"; then
3955 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3961 test -z "$as_dir" && as_dir=.
3962 for ac_exec_ext in '' $ac_executable_extensions; do
3963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3964 ac_cv_prog_ac_ct_STRIP="strip"
3965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3971 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
3974 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3975 if test -n "$ac_ct_STRIP"; then
3976 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3977 echo "${ECHO_T}$ac_ct_STRIP" >&6
3979 echo "$as_me:$LINENO: result: no" >&5
3980 echo "${ECHO_T}no" >&6
3985 STRIP="$ac_cv_prog_STRIP"
3989 # Check for any special flags to pass to ltconfig.
3990 libtool_flags="--cache-file=$cache_file"
3991 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
3992 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
3993 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
3994 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
3995 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
3998 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3999 if test "${enable_libtool_lock+set}" = set; then
4000 enableval="$enable_libtool_lock"
4003 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4004 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4007 # Check whether --with-pic or --without-pic was given.
4008 if test "${with_pic+set}" = set; then
4014 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4015 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4017 # Some flags need to be propagated to the compiler or linker for good
4021 # Find out which ABI we are using.
4022 echo '#line 4022 "configure"' > conftest.$ac_ext
4023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4024 (eval $ac_compile) 2>&5
4026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4027 (exit $ac_status); }; then
4028 if test "$lt_cv_prog_gnu_ld" = yes; then
4029 case `/usr/bin/file conftest.$ac_objext` in
4031 LD="${LD-ld} -melf32bsmip"
4034 LD="${LD-ld} -melf32bmipn32"
4037 LD="${LD-ld} -melf64bmip"
4041 case `/usr/bin/file conftest.$ac_objext` in
4058 # Find out which ABI we are using.
4059 echo 'int i;' > conftest.$ac_ext
4060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4061 (eval $ac_compile) 2>&5
4063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4064 (exit $ac_status); }; then
4065 case "`/usr/bin/file conftest.o`" in
4077 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4078 # Find out which ABI we are using.
4079 echo 'int i;' > conftest.$ac_ext
4080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4081 (eval $ac_compile) 2>&5
4083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4084 (exit $ac_status); }; then
4085 case "`/usr/bin/file conftest.o`" in
4089 LD="${LD-ld} -m elf_i386"
4091 ppc64-*linux*|powerpc64-*linux*)
4092 LD="${LD-ld} -m elf32ppclinux"
4095 LD="${LD-ld} -m elf_s390"
4098 LD="${LD-ld} -m elf32_sparc"
4105 LD="${LD-ld} -m elf_x86_64"
4107 ppc*-*linux*|powerpc*-*linux*)
4108 LD="${LD-ld} -m elf64ppc"
4111 LD="${LD-ld} -m elf64_s390"
4114 LD="${LD-ld} -m elf64_sparc"
4124 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4125 SAVE_CFLAGS="$CFLAGS"
4126 CFLAGS="$CFLAGS -belf"
4127 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4128 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4129 if test "${lt_cv_cc_needs_belf+set}" = set; then
4130 echo $ECHO_N "(cached) $ECHO_C" >&6
4135 ac_cpp='$CPP $CPPFLAGS'
4136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4140 cat >conftest.$ac_ext <<_ACEOF
4143 cat confdefs.h >>conftest.$ac_ext
4144 cat >>conftest.$ac_ext <<_ACEOF
4145 /* end confdefs.h. */
4155 rm -f conftest.$ac_objext conftest$ac_exeext
4156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4157 (eval $ac_link) 2>conftest.er1
4159 grep -v '^ *+' conftest.er1 >conftest.err
4161 cat conftest.err >&5
4162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4163 (exit $ac_status); } &&
4164 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4169 (exit $ac_status); }; } &&
4170 { ac_try='test -s conftest$ac_exeext'
4171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4175 (exit $ac_status); }; }; then
4176 lt_cv_cc_needs_belf=yes
4178 echo "$as_me: failed program was:" >&5
4179 sed 's/^/| /' conftest.$ac_ext >&5
4181 lt_cv_cc_needs_belf=no
4183 rm -f conftest.err conftest.$ac_objext \
4184 conftest$ac_exeext conftest.$ac_ext
4186 ac_cpp='$CPP $CPPFLAGS'
4187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4192 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4193 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4194 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4195 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4196 CFLAGS="$SAVE_CFLAGS"
4204 # Save cache, so that ltconfig can load it
4205 cat >confcache <<\_ACEOF
4206 # This file is a shell script that caches the results of configure
4207 # tests run on this system so they can be shared between configure
4208 # scripts and configure runs, see configure's option --config-cache.
4209 # It is not useful on other systems. If it contains results you don't
4210 # want to keep, you may remove or edit it.
4212 # config.status only pays attention to the cache file if you give it
4213 # the --recheck option to rerun configure.
4215 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4216 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4221 # The following way of writing the cache mishandles newlines in values,
4222 # but we know of no workaround that is simple, portable, and efficient.
4223 # So, don't put newlines in cache variables' values.
4224 # Ultrix sh set writes to stderr and can't be redirected directly,
4225 # and sets the high bit in the cache file unless we assign to the vars.
4228 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4230 # `set' does not quote correctly, so add quotes (double-quote
4231 # substitution turns \\\\ into \\, and sed turns \\ into \).
4234 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4237 # `set' quotes correctly as required by POSIX, so do not add quotes.
4239 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4246 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4248 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4250 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4251 if test -w $cache_file; then
4252 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4253 cat confcache >$cache_file
4255 echo "not updating unwritable cache $cache_file"
4260 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4261 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4262 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4263 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4264 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4265 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4266 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4267 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4268 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4269 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4270 echo "$as_me: error: libtool configure failed" >&2;}
4271 { (exit 1); exit 1; }; }
4273 # Reload cache, that may have been modified by ltconfig
4274 if test -r "$cache_file"; then
4275 # Some versions of bash will fail to source /dev/null (special
4276 # files actually), so we avoid doing that.
4277 if test -f "$cache_file"; then
4278 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4279 echo "$as_me: loading cache $cache_file" >&6;}
4281 [\\/]* | ?:[\\/]* ) . $cache_file;;
4282 *) . ./$cache_file;;
4286 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4287 echo "$as_me: creating cache $cache_file" >&6;}
4292 # This can be used to rebuild libtool when needed
4293 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4295 # Always use our own libtool.
4296 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4298 # Redirect the config.log output again, so that the ltconfig log is not
4299 # clobbered by the next message.
4300 exec 5>>./config.log
4309 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4311 # We need gfortran to compile parts of the library
4312 # We can't use AC_PROG_FC because it expects a fully working gfortran.
4313 #AC_PROG_FC(gfortran)
4315 ac_ext=${FC_SRCEXT-f}
4316 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4317 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4318 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4319 if test -n "$ac_tool_prefix"; then
4320 for ac_prog in gfortran
4322 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4323 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4324 echo "$as_me:$LINENO: checking for $ac_word" >&5
4325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4326 if test "${ac_cv_prog_FC+set}" = set; then
4327 echo $ECHO_N "(cached) $ECHO_C" >&6
4329 if test -n "$FC"; then
4330 ac_cv_prog_FC="$FC" # Let the user override the test.
4332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4336 test -z "$as_dir" && as_dir=.
4337 for ac_exec_ext in '' $ac_executable_extensions; do
4338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4339 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4349 if test -n "$FC"; then
4350 echo "$as_me:$LINENO: result: $FC" >&5
4351 echo "${ECHO_T}$FC" >&6
4353 echo "$as_me:$LINENO: result: no" >&5
4354 echo "${ECHO_T}no" >&6
4357 test -n "$FC" && break
4360 if test -z "$FC"; then
4362 for ac_prog in gfortran
4364 # Extract the first word of "$ac_prog", so it can be a program name with args.
4365 set dummy $ac_prog; ac_word=$2
4366 echo "$as_me:$LINENO: checking for $ac_word" >&5
4367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4368 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4369 echo $ECHO_N "(cached) $ECHO_C" >&6
4371 if test -n "$ac_ct_FC"; then
4372 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4378 test -z "$as_dir" && as_dir=.
4379 for ac_exec_ext in '' $ac_executable_extensions; do
4380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4381 ac_cv_prog_ac_ct_FC="$ac_prog"
4382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4390 ac_ct_FC=$ac_cv_prog_ac_ct_FC
4391 if test -n "$ac_ct_FC"; then
4392 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4393 echo "${ECHO_T}$ac_ct_FC" >&6
4395 echo "$as_me:$LINENO: result: no" >&5
4396 echo "${ECHO_T}no" >&6
4399 test -n "$ac_ct_FC" && break
4406 # Provide some information about the compiler.
4407 echo "$as_me:4407:" \
4408 "checking for Fortran compiler version" >&5
4409 ac_compiler=`set X $ac_compile; echo $2`
4410 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4411 (eval $ac_compiler --version </dev/null >&5) 2>&5
4413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4414 (exit $ac_status); }
4415 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4416 (eval $ac_compiler -v </dev/null >&5) 2>&5
4418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419 (exit $ac_status); }
4420 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4421 (eval $ac_compiler -V </dev/null >&5) 2>&5
4423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424 (exit $ac_status); }
4427 # If we don't use `.F' as extension, the preprocessor is not run on the
4428 # input file. (Note that this only needs to work for GNU compilers.)
4431 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4432 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4433 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4434 echo $ECHO_N "(cached) $ECHO_C" >&6
4436 cat >conftest.$ac_ext <<_ACEOF
4444 rm -f conftest.$ac_objext
4445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4446 (eval $ac_compile) 2>conftest.er1
4448 grep -v '^ *+' conftest.er1 >conftest.err
4450 cat conftest.err >&5
4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452 (exit $ac_status); } &&
4453 { ac_try='test -z "$ac_fc_werror_flag" || test ! -s conftest.err'
4454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458 (exit $ac_status); }; } &&
4459 { ac_try='test -s conftest.$ac_objext'
4460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); }; }; then
4467 echo "$as_me: failed program was:" >&5
4468 sed 's/^/| /' conftest.$ac_ext >&5
4472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4473 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4476 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4477 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4479 ac_test_FFLAGS=${FCFLAGS+set}
4480 ac_save_FFLAGS=$FCFLAGS
4482 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4483 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4484 if test "${ac_cv_prog_fc_g+set}" = set; then
4485 echo $ECHO_N "(cached) $ECHO_C" >&6
4488 cat >conftest.$ac_ext <<_ACEOF
4493 rm -f conftest.$ac_objext
4494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4495 (eval $ac_compile) 2>conftest.er1
4497 grep -v '^ *+' conftest.er1 >conftest.err
4499 cat conftest.err >&5
4500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4501 (exit $ac_status); } &&
4502 { ac_try='test -z "$ac_fc_werror_flag" || test ! -s conftest.err'
4503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4507 (exit $ac_status); }; } &&
4508 { ac_try='test -s conftest.$ac_objext'
4509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4513 (exit $ac_status); }; }; then
4516 echo "$as_me: failed program was:" >&5
4517 sed 's/^/| /' conftest.$ac_ext >&5
4521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4524 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4525 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4526 if test "$ac_test_FFLAGS" = set; then
4527 FCFLAGS=$ac_save_FFLAGS
4528 elif test $ac_cv_prog_fc_g = yes; then
4529 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4535 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4543 ac_cpp='$CPP $CPPFLAGS'
4544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4548 FCFLAGS="$FCFLAGS -Wall -fno-repack-arrays -fno-underscoring"
4550 # Check whether --enable-largefile or --disable-largefile was given.
4551 if test "${enable_largefile+set}" = set; then
4552 enableval="$enable_largefile"
4555 if test "$enable_largefile" != no; then
4557 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4558 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4559 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4560 echo $ECHO_N "(cached) $ECHO_C" >&6
4562 ac_cv_sys_largefile_CC=no
4563 if test "$GCC" != yes; then
4566 # IRIX 6.2 and later do not support large files by default,
4567 # so use the C compiler's -n32 option if that helps.
4568 cat >conftest.$ac_ext <<_ACEOF
4571 cat confdefs.h >>conftest.$ac_ext
4572 cat >>conftest.$ac_ext <<_ACEOF
4573 /* end confdefs.h. */
4574 #include <sys/types.h>
4575 /* Check that off_t can represent 2**63 - 1 correctly.
4576 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4577 since some C++ compilers masquerading as C compilers
4578 incorrectly reject 9223372036854775807. */
4579 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4580 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4581 && LARGE_OFF_T % 2147483647 == 1)
4591 rm -f conftest.$ac_objext
4592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4593 (eval $ac_compile) 2>conftest.er1
4595 grep -v '^ *+' conftest.er1 >conftest.err
4597 cat conftest.err >&5
4598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4599 (exit $ac_status); } &&
4600 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4605 (exit $ac_status); }; } &&
4606 { ac_try='test -s conftest.$ac_objext'
4607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611 (exit $ac_status); }; }; then
4614 echo "$as_me: failed program was:" >&5
4615 sed 's/^/| /' conftest.$ac_ext >&5
4618 rm -f conftest.err conftest.$ac_objext
4620 rm -f conftest.$ac_objext
4621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4622 (eval $ac_compile) 2>conftest.er1
4624 grep -v '^ *+' conftest.er1 >conftest.err
4626 cat conftest.err >&5
4627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4628 (exit $ac_status); } &&
4629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634 (exit $ac_status); }; } &&
4635 { ac_try='test -s conftest.$ac_objext'
4636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4640 (exit $ac_status); }; }; then
4641 ac_cv_sys_largefile_CC=' -n32'; break
4643 echo "$as_me: failed program was:" >&5
4644 sed 's/^/| /' conftest.$ac_ext >&5
4647 rm -f conftest.err conftest.$ac_objext
4651 rm -f conftest.$ac_ext
4654 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4655 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4656 if test "$ac_cv_sys_largefile_CC" != no; then
4657 CC=$CC$ac_cv_sys_largefile_CC
4660 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4661 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4662 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4663 echo $ECHO_N "(cached) $ECHO_C" >&6
4666 ac_cv_sys_file_offset_bits=no
4667 cat >conftest.$ac_ext <<_ACEOF
4670 cat confdefs.h >>conftest.$ac_ext
4671 cat >>conftest.$ac_ext <<_ACEOF
4672 /* end confdefs.h. */
4673 #include <sys/types.h>
4674 /* Check that off_t can represent 2**63 - 1 correctly.
4675 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4676 since some C++ compilers masquerading as C compilers
4677 incorrectly reject 9223372036854775807. */
4678 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4679 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4680 && LARGE_OFF_T % 2147483647 == 1)
4690 rm -f conftest.$ac_objext
4691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4692 (eval $ac_compile) 2>conftest.er1
4694 grep -v '^ *+' conftest.er1 >conftest.err
4696 cat conftest.err >&5
4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698 (exit $ac_status); } &&
4699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4704 (exit $ac_status); }; } &&
4705 { ac_try='test -s conftest.$ac_objext'
4706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4710 (exit $ac_status); }; }; then
4713 echo "$as_me: failed program was:" >&5
4714 sed 's/^/| /' conftest.$ac_ext >&5
4717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4718 cat >conftest.$ac_ext <<_ACEOF
4721 cat confdefs.h >>conftest.$ac_ext
4722 cat >>conftest.$ac_ext <<_ACEOF
4723 /* end confdefs.h. */
4724 #define _FILE_OFFSET_BITS 64
4725 #include <sys/types.h>
4726 /* Check that off_t can represent 2**63 - 1 correctly.
4727 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4728 since some C++ compilers masquerading as C compilers
4729 incorrectly reject 9223372036854775807. */
4730 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4731 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4732 && LARGE_OFF_T % 2147483647 == 1)
4742 rm -f conftest.$ac_objext
4743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4744 (eval $ac_compile) 2>conftest.er1
4746 grep -v '^ *+' conftest.er1 >conftest.err
4748 cat conftest.err >&5
4749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 (exit $ac_status); } &&
4751 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756 (exit $ac_status); }; } &&
4757 { ac_try='test -s conftest.$ac_objext'
4758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762 (exit $ac_status); }; }; then
4763 ac_cv_sys_file_offset_bits=64; break
4765 echo "$as_me: failed program was:" >&5
4766 sed 's/^/| /' conftest.$ac_ext >&5
4769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4773 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4774 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4775 if test "$ac_cv_sys_file_offset_bits" != no; then
4777 cat >>confdefs.h <<_ACEOF
4778 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4783 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4784 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4785 if test "${ac_cv_sys_large_files+set}" = set; then
4786 echo $ECHO_N "(cached) $ECHO_C" >&6
4789 ac_cv_sys_large_files=no
4790 cat >conftest.$ac_ext <<_ACEOF
4793 cat confdefs.h >>conftest.$ac_ext
4794 cat >>conftest.$ac_ext <<_ACEOF
4795 /* end confdefs.h. */
4796 #include <sys/types.h>
4797 /* Check that off_t can represent 2**63 - 1 correctly.
4798 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4799 since some C++ compilers masquerading as C compilers
4800 incorrectly reject 9223372036854775807. */
4801 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4802 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4803 && LARGE_OFF_T % 2147483647 == 1)
4813 rm -f conftest.$ac_objext
4814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4815 (eval $ac_compile) 2>conftest.er1
4817 grep -v '^ *+' conftest.er1 >conftest.err
4819 cat conftest.err >&5
4820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821 (exit $ac_status); } &&
4822 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827 (exit $ac_status); }; } &&
4828 { ac_try='test -s conftest.$ac_objext'
4829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833 (exit $ac_status); }; }; then
4836 echo "$as_me: failed program was:" >&5
4837 sed 's/^/| /' conftest.$ac_ext >&5
4840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4841 cat >conftest.$ac_ext <<_ACEOF
4844 cat confdefs.h >>conftest.$ac_ext
4845 cat >>conftest.$ac_ext <<_ACEOF
4846 /* end confdefs.h. */
4847 #define _LARGE_FILES 1
4848 #include <sys/types.h>
4849 /* Check that off_t can represent 2**63 - 1 correctly.
4850 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4851 since some C++ compilers masquerading as C compilers
4852 incorrectly reject 9223372036854775807. */
4853 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4854 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4855 && LARGE_OFF_T % 2147483647 == 1)
4865 rm -f conftest.$ac_objext
4866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4867 (eval $ac_compile) 2>conftest.er1
4869 grep -v '^ *+' conftest.er1 >conftest.err
4871 cat conftest.err >&5
4872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873 (exit $ac_status); } &&
4874 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4879 (exit $ac_status); }; } &&
4880 { ac_try='test -s conftest.$ac_objext'
4881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4885 (exit $ac_status); }; }; then
4886 ac_cv_sys_large_files=1; break
4888 echo "$as_me: failed program was:" >&5
4889 sed 's/^/| /' conftest.$ac_ext >&5
4892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4896 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4897 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4898 if test "$ac_cv_sys_large_files" != no; then
4900 cat >>confdefs.h <<_ACEOF
4901 #define _LARGE_FILES $ac_cv_sys_large_files
4909 ac_cpp='$CPP $CPPFLAGS'
4910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4913 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4914 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4915 # On Suns, sometimes $CPP names a directory.
4916 if test -n "$CPP" && test -d "$CPP"; then
4919 if test -z "$CPP"; then
4920 if test "${ac_cv_prog_CPP+set}" = set; then
4921 echo $ECHO_N "(cached) $ECHO_C" >&6
4923 # Double quotes because CPP needs to be expanded
4924 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4927 for ac_c_preproc_warn_flag in '' yes
4929 # Use a header file that comes with gcc, so configuring glibc
4930 # with a fresh cross-compiler works.
4931 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4932 # <limits.h> exists even on freestanding compilers.
4933 # On the NeXT, cc -E runs the code through the compiler's parser,
4934 # not just through cpp. "Syntax error" is here to catch this case.
4935 cat >conftest.$ac_ext <<_ACEOF
4938 cat confdefs.h >>conftest.$ac_ext
4939 cat >>conftest.$ac_ext <<_ACEOF
4940 /* end confdefs.h. */
4942 # include <limits.h>
4944 # include <assert.h>
4948 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4949 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4951 grep -v '^ *+' conftest.er1 >conftest.err
4953 cat conftest.err >&5
4954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4955 (exit $ac_status); } >/dev/null; then
4956 if test -s conftest.err; then
4957 ac_cpp_err=$ac_c_preproc_warn_flag
4958 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4965 if test -z "$ac_cpp_err"; then
4968 echo "$as_me: failed program was:" >&5
4969 sed 's/^/| /' conftest.$ac_ext >&5
4971 # Broken: fails on valid input.
4974 rm -f conftest.err conftest.$ac_ext
4976 # OK, works on sane cases. Now check whether non-existent headers
4977 # can be detected and how.
4978 cat >conftest.$ac_ext <<_ACEOF
4981 cat confdefs.h >>conftest.$ac_ext
4982 cat >>conftest.$ac_ext <<_ACEOF
4983 /* end confdefs.h. */
4984 #include <ac_nonexistent.h>
4986 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4987 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4989 grep -v '^ *+' conftest.er1 >conftest.err
4991 cat conftest.err >&5
4992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4993 (exit $ac_status); } >/dev/null; then
4994 if test -s conftest.err; then
4995 ac_cpp_err=$ac_c_preproc_warn_flag
4996 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5003 if test -z "$ac_cpp_err"; then
5004 # Broken: success on invalid input.
5007 echo "$as_me: failed program was:" >&5
5008 sed 's/^/| /' conftest.$ac_ext >&5
5010 # Passes both tests.
5014 rm -f conftest.err conftest.$ac_ext
5017 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5018 rm -f conftest.err conftest.$ac_ext
5019 if $ac_preproc_ok; then
5031 echo "$as_me:$LINENO: result: $CPP" >&5
5032 echo "${ECHO_T}$CPP" >&6
5034 for ac_c_preproc_warn_flag in '' yes
5036 # Use a header file that comes with gcc, so configuring glibc
5037 # with a fresh cross-compiler works.
5038 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5039 # <limits.h> exists even on freestanding compilers.
5040 # On the NeXT, cc -E runs the code through the compiler's parser,
5041 # not just through cpp. "Syntax error" is here to catch this case.
5042 cat >conftest.$ac_ext <<_ACEOF
5045 cat confdefs.h >>conftest.$ac_ext
5046 cat >>conftest.$ac_ext <<_ACEOF
5047 /* end confdefs.h. */
5049 # include <limits.h>
5051 # include <assert.h>
5055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5056 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5058 grep -v '^ *+' conftest.er1 >conftest.err
5060 cat conftest.err >&5
5061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5062 (exit $ac_status); } >/dev/null; then
5063 if test -s conftest.err; then
5064 ac_cpp_err=$ac_c_preproc_warn_flag
5065 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5072 if test -z "$ac_cpp_err"; then
5075 echo "$as_me: failed program was:" >&5
5076 sed 's/^/| /' conftest.$ac_ext >&5
5078 # Broken: fails on valid input.
5081 rm -f conftest.err conftest.$ac_ext
5083 # OK, works on sane cases. Now check whether non-existent headers
5084 # can be detected and how.
5085 cat >conftest.$ac_ext <<_ACEOF
5088 cat confdefs.h >>conftest.$ac_ext
5089 cat >>conftest.$ac_ext <<_ACEOF
5090 /* end confdefs.h. */
5091 #include <ac_nonexistent.h>
5093 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5094 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5096 grep -v '^ *+' conftest.er1 >conftest.err
5098 cat conftest.err >&5
5099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5100 (exit $ac_status); } >/dev/null; then
5101 if test -s conftest.err; then
5102 ac_cpp_err=$ac_c_preproc_warn_flag
5103 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5110 if test -z "$ac_cpp_err"; then
5111 # Broken: success on invalid input.
5114 echo "$as_me: failed program was:" >&5
5115 sed 's/^/| /' conftest.$ac_ext >&5
5117 # Passes both tests.
5121 rm -f conftest.err conftest.$ac_ext
5124 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5125 rm -f conftest.err conftest.$ac_ext
5126 if $ac_preproc_ok; then
5129 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5130 See \`config.log' for more details." >&5
5131 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5132 See \`config.log' for more details." >&2;}
5133 { (exit 1); exit 1; }; }
5137 ac_cpp='$CPP $CPPFLAGS'
5138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5143 echo "$as_me:$LINENO: checking for egrep" >&5
5144 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5145 if test "${ac_cv_prog_egrep+set}" = set; then
5146 echo $ECHO_N "(cached) $ECHO_C" >&6
5148 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5149 then ac_cv_prog_egrep='grep -E'
5150 else ac_cv_prog_egrep='egrep'
5153 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5154 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5155 EGREP=$ac_cv_prog_egrep
5158 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5159 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5160 if test "${ac_cv_header_stdc+set}" = set; then
5161 echo $ECHO_N "(cached) $ECHO_C" >&6
5163 cat >conftest.$ac_ext <<_ACEOF
5166 cat confdefs.h >>conftest.$ac_ext
5167 cat >>conftest.$ac_ext <<_ACEOF
5168 /* end confdefs.h. */
5182 rm -f conftest.$ac_objext
5183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5184 (eval $ac_compile) 2>conftest.er1
5186 grep -v '^ *+' conftest.er1 >conftest.err
5188 cat conftest.err >&5
5189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5190 (exit $ac_status); } &&
5191 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5196 (exit $ac_status); }; } &&
5197 { ac_try='test -s conftest.$ac_objext'
5198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5202 (exit $ac_status); }; }; then
5203 ac_cv_header_stdc=yes
5205 echo "$as_me: failed program was:" >&5
5206 sed 's/^/| /' conftest.$ac_ext >&5
5208 ac_cv_header_stdc=no
5210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5212 if test $ac_cv_header_stdc = yes; then
5213 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5214 cat >conftest.$ac_ext <<_ACEOF
5217 cat confdefs.h >>conftest.$ac_ext
5218 cat >>conftest.$ac_ext <<_ACEOF
5219 /* end confdefs.h. */
5223 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5224 $EGREP "memchr" >/dev/null 2>&1; then
5227 ac_cv_header_stdc=no
5233 if test $ac_cv_header_stdc = yes; then
5234 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5235 cat >conftest.$ac_ext <<_ACEOF
5238 cat confdefs.h >>conftest.$ac_ext
5239 cat >>conftest.$ac_ext <<_ACEOF
5240 /* end confdefs.h. */
5244 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5245 $EGREP "free" >/dev/null 2>&1; then
5248 ac_cv_header_stdc=no
5254 if test $ac_cv_header_stdc = yes; then
5255 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5256 if test "$cross_compiling" = yes; then
5259 cat >conftest.$ac_ext <<_ACEOF
5262 cat confdefs.h >>conftest.$ac_ext
5263 cat >>conftest.$ac_ext <<_ACEOF
5264 /* end confdefs.h. */
5266 #if ((' ' & 0x0FF) == 0x020)
5267 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5268 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5270 # define ISLOWER(c) \
5271 (('a' <= (c) && (c) <= 'i') \
5272 || ('j' <= (c) && (c) <= 'r') \
5273 || ('s' <= (c) && (c) <= 'z'))
5274 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5277 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5282 for (i = 0; i < 256; i++)
5283 if (XOR (islower (i), ISLOWER (i))
5284 || toupper (i) != TOUPPER (i))
5289 rm -f conftest$ac_exeext
5290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5291 (eval $ac_link) 2>&5
5293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5294 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5299 (exit $ac_status); }; }; then
5302 echo "$as_me: program exited with status $ac_status" >&5
5303 echo "$as_me: failed program was:" >&5
5304 sed 's/^/| /' conftest.$ac_ext >&5
5307 ac_cv_header_stdc=no
5309 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5313 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5314 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5315 if test $ac_cv_header_stdc = yes; then
5317 cat >>confdefs.h <<\_ACEOF
5318 #define STDC_HEADERS 1
5323 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5333 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5334 inttypes.h stdint.h unistd.h
5336 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5337 echo "$as_me:$LINENO: checking for $ac_header" >&5
5338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5340 echo $ECHO_N "(cached) $ECHO_C" >&6
5342 cat >conftest.$ac_ext <<_ACEOF
5345 cat confdefs.h >>conftest.$ac_ext
5346 cat >>conftest.$ac_ext <<_ACEOF
5347 /* end confdefs.h. */
5348 $ac_includes_default
5350 #include <$ac_header>
5352 rm -f conftest.$ac_objext
5353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5354 (eval $ac_compile) 2>conftest.er1
5356 grep -v '^ *+' conftest.er1 >conftest.err
5358 cat conftest.err >&5
5359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5360 (exit $ac_status); } &&
5361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5366 (exit $ac_status); }; } &&
5367 { ac_try='test -s conftest.$ac_objext'
5368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5372 (exit $ac_status); }; }; then
5373 eval "$as_ac_Header=yes"
5375 echo "$as_me: failed program was:" >&5
5376 sed 's/^/| /' conftest.$ac_ext >&5
5378 eval "$as_ac_Header=no"
5380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5383 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5384 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5385 cat >>confdefs.h <<_ACEOF
5386 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5396 for ac_header in stdlib.h unistd.h
5398 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5400 echo "$as_me:$LINENO: checking for $ac_header" >&5
5401 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5402 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5403 echo $ECHO_N "(cached) $ECHO_C" >&6
5405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5406 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5408 # Is the header compilable?
5409 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5410 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5411 cat >conftest.$ac_ext <<_ACEOF
5414 cat confdefs.h >>conftest.$ac_ext
5415 cat >>conftest.$ac_ext <<_ACEOF
5416 /* end confdefs.h. */
5417 $ac_includes_default
5418 #include <$ac_header>
5420 rm -f conftest.$ac_objext
5421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5422 (eval $ac_compile) 2>conftest.er1
5424 grep -v '^ *+' conftest.er1 >conftest.err
5426 cat conftest.err >&5
5427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5428 (exit $ac_status); } &&
5429 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5434 (exit $ac_status); }; } &&
5435 { ac_try='test -s conftest.$ac_objext'
5436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5440 (exit $ac_status); }; }; then
5441 ac_header_compiler=yes
5443 echo "$as_me: failed program was:" >&5
5444 sed 's/^/| /' conftest.$ac_ext >&5
5446 ac_header_compiler=no
5448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5449 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5450 echo "${ECHO_T}$ac_header_compiler" >&6
5452 # Is the header present?
5453 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5454 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5455 cat >conftest.$ac_ext <<_ACEOF
5458 cat confdefs.h >>conftest.$ac_ext
5459 cat >>conftest.$ac_ext <<_ACEOF
5460 /* end confdefs.h. */
5461 #include <$ac_header>
5463 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5464 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5466 grep -v '^ *+' conftest.er1 >conftest.err
5468 cat conftest.err >&5
5469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5470 (exit $ac_status); } >/dev/null; then
5471 if test -s conftest.err; then
5472 ac_cpp_err=$ac_c_preproc_warn_flag
5473 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5480 if test -z "$ac_cpp_err"; then
5481 ac_header_preproc=yes
5483 echo "$as_me: failed program was:" >&5
5484 sed 's/^/| /' conftest.$ac_ext >&5
5486 ac_header_preproc=no
5488 rm -f conftest.err conftest.$ac_ext
5489 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5490 echo "${ECHO_T}$ac_header_preproc" >&6
5492 # So? What about this header?
5493 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5495 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5496 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5498 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5499 ac_header_preproc=yes
5502 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5503 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5504 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5505 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5506 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5507 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5508 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5509 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5510 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5511 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5512 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5513 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5516 ## ------------------------------------------------------ ##
5517 ## Report this to the GNU Fortran Runtime Library lists. ##
5518 ## ------------------------------------------------------ ##
5521 sed "s/^/$as_me: WARNING: /" >&2
5524 echo "$as_me:$LINENO: checking for $ac_header" >&5
5525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5527 echo $ECHO_N "(cached) $ECHO_C" >&6
5529 eval "$as_ac_Header=\$ac_header_preproc"
5531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5532 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5535 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5536 cat >>confdefs.h <<_ACEOF
5537 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5545 for ac_func in getpagesize
5547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5548 echo "$as_me:$LINENO: checking for $ac_func" >&5
5549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5550 if eval "test \"\${$as_ac_var+set}\" = set"; then
5551 echo $ECHO_N "(cached) $ECHO_C" >&6
5553 cat >conftest.$ac_ext <<_ACEOF
5556 cat confdefs.h >>conftest.$ac_ext
5557 cat >>conftest.$ac_ext <<_ACEOF
5558 /* end confdefs.h. */
5559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5561 #define $ac_func innocuous_$ac_func
5563 /* System header to define __stub macros and hopefully few prototypes,
5564 which can conflict with char $ac_func (); below.
5565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5566 <limits.h> exists even on freestanding compilers. */
5569 # include <limits.h>
5571 # include <assert.h>
5576 /* Override any gcc2 internal prototype to avoid an error. */
5581 /* We use char because int might match the return type of a gcc2
5582 builtin and then its argument prototype would still apply. */
5584 /* The GNU C library defines this for functions which it implements
5585 to always fail with ENOSYS. Some functions are actually named
5586 something starting with __ and the normal name is an alias. */
5587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5590 char (*f) () = $ac_func;
5599 return f != $ac_func;
5604 rm -f conftest.$ac_objext conftest$ac_exeext
5605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5606 (eval $ac_link) 2>conftest.er1
5608 grep -v '^ *+' conftest.er1 >conftest.err
5610 cat conftest.err >&5
5611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612 (exit $ac_status); } &&
5613 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5618 (exit $ac_status); }; } &&
5619 { ac_try='test -s conftest$ac_exeext'
5620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5624 (exit $ac_status); }; }; then
5625 eval "$as_ac_var=yes"
5627 echo "$as_me: failed program was:" >&5
5628 sed 's/^/| /' conftest.$ac_ext >&5
5630 eval "$as_ac_var=no"
5632 rm -f conftest.err conftest.$ac_objext \
5633 conftest$ac_exeext conftest.$ac_ext
5635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5637 if test `eval echo '${'$as_ac_var'}'` = yes; then
5638 cat >>confdefs.h <<_ACEOF
5639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5645 echo "$as_me:$LINENO: checking for working mmap" >&5
5646 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5647 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5648 echo $ECHO_N "(cached) $ECHO_C" >&6
5650 if test "$cross_compiling" = yes; then
5651 ac_cv_func_mmap_fixed_mapped=no
5653 cat >conftest.$ac_ext <<_ACEOF
5656 cat confdefs.h >>conftest.$ac_ext
5657 cat >>conftest.$ac_ext <<_ACEOF
5658 /* end confdefs.h. */
5659 $ac_includes_default
5660 /* malloc might have been renamed as rpl_malloc. */
5663 /* Thanks to Mike Haertel and Jim Avera for this test.
5664 Here is a matrix of mmap possibilities:
5665 mmap private not fixed
5666 mmap private fixed at somewhere currently unmapped
5667 mmap private fixed at somewhere already mapped
5668 mmap shared not fixed
5669 mmap shared fixed at somewhere currently unmapped
5670 mmap shared fixed at somewhere already mapped
5671 For private mappings, we should verify that changes cannot be read()
5672 back from the file, nor mmap's back from the file at a different
5673 address. (There have been systems where private was not correctly
5674 implemented like the infamous i386 svr4.0, and systems where the
5675 VM page cache was not coherent with the file system buffer cache
5676 like early versions of FreeBSD and possibly contemporary NetBSD.)
5677 For shared mappings, we should conversely verify that changes get
5678 propagated back to all the places they're supposed to be.
5680 Grep wants private fixed already mapped.
5681 The main things grep needs to know about mmap are:
5682 * does it exist and is it safe to write into the mmap'd area
5683 * how to use it (BSD variants) */
5686 #include <sys/mman.h>
5688 #if !STDC_HEADERS && !HAVE_STDLIB_H
5692 /* This mess was copied from the GNU getpagesize.h. */
5693 #if !HAVE_GETPAGESIZE
5694 /* Assume that all systems that can run configure have sys/param.h. */
5695 # if !HAVE_SYS_PARAM_H
5696 # define HAVE_SYS_PARAM_H 1
5699 # ifdef _SC_PAGESIZE
5700 # define getpagesize() sysconf(_SC_PAGESIZE)
5701 # else /* no _SC_PAGESIZE */
5702 # if HAVE_SYS_PARAM_H
5703 # include <sys/param.h>
5704 # ifdef EXEC_PAGESIZE
5705 # define getpagesize() EXEC_PAGESIZE
5706 # else /* no EXEC_PAGESIZE */
5708 # define getpagesize() NBPG * CLSIZE
5711 # endif /* no CLSIZE */
5712 # else /* no NBPG */
5714 # define getpagesize() NBPC
5715 # else /* no NBPC */
5717 # define getpagesize() PAGESIZE
5718 # endif /* PAGESIZE */
5719 # endif /* no NBPC */
5720 # endif /* no NBPG */
5721 # endif /* no EXEC_PAGESIZE */
5722 # else /* no HAVE_SYS_PARAM_H */
5723 # define getpagesize() 8192 /* punt totally */
5724 # endif /* no HAVE_SYS_PARAM_H */
5725 # endif /* no _SC_PAGESIZE */
5727 #endif /* no HAVE_GETPAGESIZE */
5732 char *data, *data2, *data3;
5736 pagesize = getpagesize ();
5738 /* First, make a file with some known garbage in it. */
5739 data = (char *) malloc (pagesize);
5742 for (i = 0; i < pagesize; ++i)
5743 *(data + i) = rand ();
5745 fd = creat ("conftest.mmap", 0600);
5748 if (write (fd, data, pagesize) != pagesize)
5752 /* Next, try to mmap the file at a fixed address which already has
5753 something else allocated at it. If we can, also make sure that
5754 we see the same garbage. */
5755 fd = open ("conftest.mmap", O_RDWR);
5758 data2 = (char *) malloc (2 * pagesize);
5761 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5762 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5763 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5765 for (i = 0; i < pagesize; ++i)
5766 if (*(data + i) != *(data2 + i))
5769 /* Finally, make sure that changes to the mapped area do not
5770 percolate back to the file as seen by read(). (This is a bug on
5771 some variants of i386 svr4.0.) */
5772 for (i = 0; i < pagesize; ++i)
5773 *(data2 + i) = *(data2 + i) + 1;
5774 data3 = (char *) malloc (pagesize);
5777 if (read (fd, data3, pagesize) != pagesize)
5779 for (i = 0; i < pagesize; ++i)
5780 if (*(data + i) != *(data3 + i))
5786 rm -f conftest$ac_exeext
5787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5788 (eval $ac_link) 2>&5
5790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5791 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5796 (exit $ac_status); }; }; then
5797 ac_cv_func_mmap_fixed_mapped=yes
5799 echo "$as_me: program exited with status $ac_status" >&5
5800 echo "$as_me: failed program was:" >&5
5801 sed 's/^/| /' conftest.$ac_ext >&5
5804 ac_cv_func_mmap_fixed_mapped=no
5806 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5809 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5810 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5811 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5813 cat >>confdefs.h <<\_ACEOF
5820 echo "$as_me:$LINENO: checking for off_t" >&5
5821 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5822 if test "${ac_cv_type_off_t+set}" = set; then
5823 echo $ECHO_N "(cached) $ECHO_C" >&6
5825 cat >conftest.$ac_ext <<_ACEOF
5828 cat confdefs.h >>conftest.$ac_ext
5829 cat >>conftest.$ac_ext <<_ACEOF
5830 /* end confdefs.h. */
5831 $ac_includes_default
5843 rm -f conftest.$ac_objext
5844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5845 (eval $ac_compile) 2>conftest.er1
5847 grep -v '^ *+' conftest.er1 >conftest.err
5849 cat conftest.err >&5
5850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5851 (exit $ac_status); } &&
5852 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5857 (exit $ac_status); }; } &&
5858 { ac_try='test -s conftest.$ac_objext'
5859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5863 (exit $ac_status); }; }; then
5864 ac_cv_type_off_t=yes
5866 echo "$as_me: failed program was:" >&5
5867 sed 's/^/| /' conftest.$ac_ext >&5
5871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5873 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5874 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5875 if test $ac_cv_type_off_t = yes; then
5879 cat >>confdefs.h <<_ACEOF
5886 # check header files
5887 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5888 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5889 if test "${ac_cv_header_stdc+set}" = set; then
5890 echo $ECHO_N "(cached) $ECHO_C" >&6
5892 cat >conftest.$ac_ext <<_ACEOF
5895 cat confdefs.h >>conftest.$ac_ext
5896 cat >>conftest.$ac_ext <<_ACEOF
5897 /* end confdefs.h. */
5911 rm -f conftest.$ac_objext
5912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5913 (eval $ac_compile) 2>conftest.er1
5915 grep -v '^ *+' conftest.er1 >conftest.err
5917 cat conftest.err >&5
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); } &&
5920 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5925 (exit $ac_status); }; } &&
5926 { ac_try='test -s conftest.$ac_objext'
5927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5931 (exit $ac_status); }; }; then
5932 ac_cv_header_stdc=yes
5934 echo "$as_me: failed program was:" >&5
5935 sed 's/^/| /' conftest.$ac_ext >&5
5937 ac_cv_header_stdc=no
5939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5941 if test $ac_cv_header_stdc = yes; then
5942 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5943 cat >conftest.$ac_ext <<_ACEOF
5946 cat confdefs.h >>conftest.$ac_ext
5947 cat >>conftest.$ac_ext <<_ACEOF
5948 /* end confdefs.h. */
5952 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5953 $EGREP "memchr" >/dev/null 2>&1; then
5956 ac_cv_header_stdc=no
5962 if test $ac_cv_header_stdc = yes; then
5963 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5964 cat >conftest.$ac_ext <<_ACEOF
5967 cat confdefs.h >>conftest.$ac_ext
5968 cat >>conftest.$ac_ext <<_ACEOF
5969 /* end confdefs.h. */
5973 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5974 $EGREP "free" >/dev/null 2>&1; then
5977 ac_cv_header_stdc=no
5983 if test $ac_cv_header_stdc = yes; then
5984 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5985 if test "$cross_compiling" = yes; then
5988 cat >conftest.$ac_ext <<_ACEOF
5991 cat confdefs.h >>conftest.$ac_ext
5992 cat >>conftest.$ac_ext <<_ACEOF
5993 /* end confdefs.h. */
5995 #if ((' ' & 0x0FF) == 0x020)
5996 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5997 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5999 # define ISLOWER(c) \
6000 (('a' <= (c) && (c) <= 'i') \
6001 || ('j' <= (c) && (c) <= 'r') \
6002 || ('s' <= (c) && (c) <= 'z'))
6003 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6006 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6011 for (i = 0; i < 256; i++)
6012 if (XOR (islower (i), ISLOWER (i))
6013 || toupper (i) != TOUPPER (i))
6018 rm -f conftest$ac_exeext
6019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6020 (eval $ac_link) 2>&5
6022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6023 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6028 (exit $ac_status); }; }; then
6031 echo "$as_me: program exited with status $ac_status" >&5
6032 echo "$as_me: failed program was:" >&5
6033 sed 's/^/| /' conftest.$ac_ext >&5
6036 ac_cv_header_stdc=no
6038 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6042 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6043 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6044 if test $ac_cv_header_stdc = yes; then
6046 cat >>confdefs.h <<\_ACEOF
6047 #define STDC_HEADERS 1
6059 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
6061 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6063 echo "$as_me:$LINENO: checking for $ac_header" >&5
6064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6066 echo $ECHO_N "(cached) $ECHO_C" >&6
6068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6071 # Is the header compilable?
6072 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6073 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6074 cat >conftest.$ac_ext <<_ACEOF
6077 cat confdefs.h >>conftest.$ac_ext
6078 cat >>conftest.$ac_ext <<_ACEOF
6079 /* end confdefs.h. */
6080 $ac_includes_default
6081 #include <$ac_header>
6083 rm -f conftest.$ac_objext
6084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6085 (eval $ac_compile) 2>conftest.er1
6087 grep -v '^ *+' conftest.er1 >conftest.err
6089 cat conftest.err >&5
6090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6091 (exit $ac_status); } &&
6092 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097 (exit $ac_status); }; } &&
6098 { ac_try='test -s conftest.$ac_objext'
6099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103 (exit $ac_status); }; }; then
6104 ac_header_compiler=yes
6106 echo "$as_me: failed program was:" >&5
6107 sed 's/^/| /' conftest.$ac_ext >&5
6109 ac_header_compiler=no
6111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6112 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6113 echo "${ECHO_T}$ac_header_compiler" >&6
6115 # Is the header present?
6116 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6117 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6118 cat >conftest.$ac_ext <<_ACEOF
6121 cat confdefs.h >>conftest.$ac_ext
6122 cat >>conftest.$ac_ext <<_ACEOF
6123 /* end confdefs.h. */
6124 #include <$ac_header>
6126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6127 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6129 grep -v '^ *+' conftest.er1 >conftest.err
6131 cat conftest.err >&5
6132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133 (exit $ac_status); } >/dev/null; then
6134 if test -s conftest.err; then
6135 ac_cpp_err=$ac_c_preproc_warn_flag
6136 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6143 if test -z "$ac_cpp_err"; then
6144 ac_header_preproc=yes
6146 echo "$as_me: failed program was:" >&5
6147 sed 's/^/| /' conftest.$ac_ext >&5
6149 ac_header_preproc=no
6151 rm -f conftest.err conftest.$ac_ext
6152 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6153 echo "${ECHO_T}$ac_header_preproc" >&6
6155 # So? What about this header?
6156 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6158 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6159 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6160 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6161 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6162 ac_header_preproc=yes
6165 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6166 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6167 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6168 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6169 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6170 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6171 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6172 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6173 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6174 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6175 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6176 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6179 ## ------------------------------------------------------ ##
6180 ## Report this to the GNU Fortran Runtime Library lists. ##
6181 ## ------------------------------------------------------ ##
6184 sed "s/^/$as_me: WARNING: /" >&2
6187 echo "$as_me:$LINENO: checking for $ac_header" >&5
6188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6189 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6190 echo $ECHO_N "(cached) $ECHO_C" >&6
6192 eval "$as_ac_Header=\$ac_header_preproc"
6194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6195 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6198 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6199 cat >>confdefs.h <<_ACEOF
6200 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6212 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
6214 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6216 echo "$as_me:$LINENO: checking for $ac_header" >&5
6217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6219 echo $ECHO_N "(cached) $ECHO_C" >&6
6221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6222 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6224 # Is the header compilable?
6225 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6226 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6227 cat >conftest.$ac_ext <<_ACEOF
6230 cat confdefs.h >>conftest.$ac_ext
6231 cat >>conftest.$ac_ext <<_ACEOF
6232 /* end confdefs.h. */
6233 $ac_includes_default
6234 #include <$ac_header>
6236 rm -f conftest.$ac_objext
6237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6238 (eval $ac_compile) 2>conftest.er1
6240 grep -v '^ *+' conftest.er1 >conftest.err
6242 cat conftest.err >&5
6243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6244 (exit $ac_status); } &&
6245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6250 (exit $ac_status); }; } &&
6251 { ac_try='test -s conftest.$ac_objext'
6252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256 (exit $ac_status); }; }; then
6257 ac_header_compiler=yes
6259 echo "$as_me: failed program was:" >&5
6260 sed 's/^/| /' conftest.$ac_ext >&5
6262 ac_header_compiler=no
6264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6265 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6266 echo "${ECHO_T}$ac_header_compiler" >&6
6268 # Is the header present?
6269 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6270 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6271 cat >conftest.$ac_ext <<_ACEOF
6274 cat confdefs.h >>conftest.$ac_ext
6275 cat >>conftest.$ac_ext <<_ACEOF
6276 /* end confdefs.h. */
6277 #include <$ac_header>
6279 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6280 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6282 grep -v '^ *+' conftest.er1 >conftest.err
6284 cat conftest.err >&5
6285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6286 (exit $ac_status); } >/dev/null; then
6287 if test -s conftest.err; then
6288 ac_cpp_err=$ac_c_preproc_warn_flag
6289 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6296 if test -z "$ac_cpp_err"; then
6297 ac_header_preproc=yes
6299 echo "$as_me: failed program was:" >&5
6300 sed 's/^/| /' conftest.$ac_ext >&5
6302 ac_header_preproc=no
6304 rm -f conftest.err conftest.$ac_ext
6305 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6306 echo "${ECHO_T}$ac_header_preproc" >&6
6308 # So? What about this header?
6309 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6311 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6312 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6313 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6314 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6315 ac_header_preproc=yes
6318 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6319 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6320 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6321 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6322 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6323 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6324 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6325 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6326 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6327 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6328 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6329 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6332 ## ------------------------------------------------------ ##
6333 ## Report this to the GNU Fortran Runtime Library lists. ##
6334 ## ------------------------------------------------------ ##
6337 sed "s/^/$as_me: WARNING: /" >&2
6340 echo "$as_me:$LINENO: checking for $ac_header" >&5
6341 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6343 echo $ECHO_N "(cached) $ECHO_C" >&6
6345 eval "$as_ac_Header=\$ac_header_preproc"
6347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6348 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6351 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6352 cat >>confdefs.h <<_ACEOF
6353 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6364 for ac_header in sys/mman.h sys/types.h sys/stat.h ieeefp.h
6366 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6368 echo "$as_me:$LINENO: checking for $ac_header" >&5
6369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6371 echo $ECHO_N "(cached) $ECHO_C" >&6
6373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6374 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6376 # Is the header compilable?
6377 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6378 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6379 cat >conftest.$ac_ext <<_ACEOF
6382 cat confdefs.h >>conftest.$ac_ext
6383 cat >>conftest.$ac_ext <<_ACEOF
6384 /* end confdefs.h. */
6385 $ac_includes_default
6386 #include <$ac_header>
6388 rm -f conftest.$ac_objext
6389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6390 (eval $ac_compile) 2>conftest.er1
6392 grep -v '^ *+' conftest.er1 >conftest.err
6394 cat conftest.err >&5
6395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6396 (exit $ac_status); } &&
6397 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6402 (exit $ac_status); }; } &&
6403 { ac_try='test -s conftest.$ac_objext'
6404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6408 (exit $ac_status); }; }; then
6409 ac_header_compiler=yes
6411 echo "$as_me: failed program was:" >&5
6412 sed 's/^/| /' conftest.$ac_ext >&5
6414 ac_header_compiler=no
6416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6417 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6418 echo "${ECHO_T}$ac_header_compiler" >&6
6420 # Is the header present?
6421 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6422 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6423 cat >conftest.$ac_ext <<_ACEOF
6426 cat confdefs.h >>conftest.$ac_ext
6427 cat >>conftest.$ac_ext <<_ACEOF
6428 /* end confdefs.h. */
6429 #include <$ac_header>
6431 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6432 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6434 grep -v '^ *+' conftest.er1 >conftest.err
6436 cat conftest.err >&5
6437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6438 (exit $ac_status); } >/dev/null; then
6439 if test -s conftest.err; then
6440 ac_cpp_err=$ac_c_preproc_warn_flag
6441 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6448 if test -z "$ac_cpp_err"; then
6449 ac_header_preproc=yes
6451 echo "$as_me: failed program was:" >&5
6452 sed 's/^/| /' conftest.$ac_ext >&5
6454 ac_header_preproc=no
6456 rm -f conftest.err conftest.$ac_ext
6457 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6458 echo "${ECHO_T}$ac_header_preproc" >&6
6460 # So? What about this header?
6461 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6463 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6464 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6465 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6466 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6467 ac_header_preproc=yes
6470 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6471 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6472 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6473 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6474 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6475 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6476 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6477 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6479 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6480 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6481 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6484 ## ------------------------------------------------------ ##
6485 ## Report this to the GNU Fortran Runtime Library lists. ##
6486 ## ------------------------------------------------------ ##
6489 sed "s/^/$as_me: WARNING: /" >&2
6492 echo "$as_me:$LINENO: checking for $ac_header" >&5
6493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6495 echo $ECHO_N "(cached) $ECHO_C" >&6
6497 eval "$as_ac_Header=\$ac_header_preproc"
6499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6500 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6503 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6504 cat >>confdefs.h <<_ACEOF
6505 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6512 if test "${ac_cv_header_complex_h+set}" = set; then
6513 echo "$as_me:$LINENO: checking for complex.h" >&5
6514 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6515 if test "${ac_cv_header_complex_h+set}" = set; then
6516 echo $ECHO_N "(cached) $ECHO_C" >&6
6518 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6519 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6521 # Is the header compilable?
6522 echo "$as_me:$LINENO: checking complex.h usability" >&5
6523 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6524 cat >conftest.$ac_ext <<_ACEOF
6527 cat confdefs.h >>conftest.$ac_ext
6528 cat >>conftest.$ac_ext <<_ACEOF
6529 /* end confdefs.h. */
6530 $ac_includes_default
6531 #include <complex.h>
6533 rm -f conftest.$ac_objext
6534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6535 (eval $ac_compile) 2>conftest.er1
6537 grep -v '^ *+' conftest.er1 >conftest.err
6539 cat conftest.err >&5
6540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6541 (exit $ac_status); } &&
6542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6547 (exit $ac_status); }; } &&
6548 { ac_try='test -s conftest.$ac_objext'
6549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6553 (exit $ac_status); }; }; then
6554 ac_header_compiler=yes
6556 echo "$as_me: failed program was:" >&5
6557 sed 's/^/| /' conftest.$ac_ext >&5
6559 ac_header_compiler=no
6561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6562 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6563 echo "${ECHO_T}$ac_header_compiler" >&6
6565 # Is the header present?
6566 echo "$as_me:$LINENO: checking complex.h presence" >&5
6567 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6568 cat >conftest.$ac_ext <<_ACEOF
6571 cat confdefs.h >>conftest.$ac_ext
6572 cat >>conftest.$ac_ext <<_ACEOF
6573 /* end confdefs.h. */
6574 #include <complex.h>
6576 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6577 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6579 grep -v '^ *+' conftest.er1 >conftest.err
6581 cat conftest.err >&5
6582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6583 (exit $ac_status); } >/dev/null; then
6584 if test -s conftest.err; then
6585 ac_cpp_err=$ac_c_preproc_warn_flag
6586 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6593 if test -z "$ac_cpp_err"; then
6594 ac_header_preproc=yes
6596 echo "$as_me: failed program was:" >&5
6597 sed 's/^/| /' conftest.$ac_ext >&5
6599 ac_header_preproc=no
6601 rm -f conftest.err conftest.$ac_ext
6602 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6603 echo "${ECHO_T}$ac_header_preproc" >&6
6605 # So? What about this header?
6606 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6608 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6609 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6610 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6611 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6612 ac_header_preproc=yes
6615 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6616 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6617 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6618 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6619 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6620 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6621 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6622 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6623 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6624 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6625 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6626 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6629 ## ------------------------------------------------------ ##
6630 ## Report this to the GNU Fortran Runtime Library lists. ##
6631 ## ------------------------------------------------------ ##
6634 sed "s/^/$as_me: WARNING: /" >&2
6637 echo "$as_me:$LINENO: checking for complex.h" >&5
6638 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6639 if test "${ac_cv_header_complex_h+set}" = set; then
6640 echo $ECHO_N "(cached) $ECHO_C" >&6
6642 ac_cv_header_complex_h=$ac_header_preproc
6644 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6645 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6648 if test $ac_cv_header_complex_h = yes; then
6650 cat >>confdefs.h <<\_ACEOF
6651 #define HAVE_COMPLEX_H 1
6658 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6659 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
6660 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6661 echo $ECHO_N "(cached) $ECHO_C" >&6
6663 cat >conftest.$ac_ext <<_ACEOF
6666 cat confdefs.h >>conftest.$ac_ext
6667 cat >>conftest.$ac_ext <<_ACEOF
6668 /* end confdefs.h. */
6669 $ac_includes_default
6673 static struct stat ac_aggr;
6674 if (ac_aggr.st_blksize)
6680 rm -f conftest.$ac_objext
6681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6682 (eval $ac_compile) 2>conftest.er1
6684 grep -v '^ *+' conftest.er1 >conftest.err
6686 cat conftest.err >&5
6687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6688 (exit $ac_status); } &&
6689 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6694 (exit $ac_status); }; } &&
6695 { ac_try='test -s conftest.$ac_objext'
6696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6700 (exit $ac_status); }; }; then
6701 ac_cv_member_struct_stat_st_blksize=yes
6703 echo "$as_me: failed program was:" >&5
6704 sed 's/^/| /' conftest.$ac_ext >&5
6706 cat >conftest.$ac_ext <<_ACEOF
6709 cat confdefs.h >>conftest.$ac_ext
6710 cat >>conftest.$ac_ext <<_ACEOF
6711 /* end confdefs.h. */
6712 $ac_includes_default
6716 static struct stat ac_aggr;
6717 if (sizeof ac_aggr.st_blksize)
6723 rm -f conftest.$ac_objext
6724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6725 (eval $ac_compile) 2>conftest.er1
6727 grep -v '^ *+' conftest.er1 >conftest.err
6729 cat conftest.err >&5
6730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6731 (exit $ac_status); } &&
6732 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6737 (exit $ac_status); }; } &&
6738 { ac_try='test -s conftest.$ac_objext'
6739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6743 (exit $ac_status); }; }; then
6744 ac_cv_member_struct_stat_st_blksize=yes
6746 echo "$as_me: failed program was:" >&5
6747 sed 's/^/| /' conftest.$ac_ext >&5
6749 ac_cv_member_struct_stat_st_blksize=no
6751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6755 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6756 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
6757 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6759 cat >>confdefs.h <<_ACEOF
6760 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6766 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6767 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
6768 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6769 echo $ECHO_N "(cached) $ECHO_C" >&6
6771 cat >conftest.$ac_ext <<_ACEOF
6774 cat confdefs.h >>conftest.$ac_ext
6775 cat >>conftest.$ac_ext <<_ACEOF
6776 /* end confdefs.h. */
6777 $ac_includes_default
6781 static struct stat ac_aggr;
6782 if (ac_aggr.st_blocks)
6788 rm -f conftest.$ac_objext
6789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6790 (eval $ac_compile) 2>conftest.er1
6792 grep -v '^ *+' conftest.er1 >conftest.err
6794 cat conftest.err >&5
6795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6796 (exit $ac_status); } &&
6797 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6802 (exit $ac_status); }; } &&
6803 { ac_try='test -s conftest.$ac_objext'
6804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6808 (exit $ac_status); }; }; then
6809 ac_cv_member_struct_stat_st_blocks=yes
6811 echo "$as_me: failed program was:" >&5
6812 sed 's/^/| /' conftest.$ac_ext >&5
6814 cat >conftest.$ac_ext <<_ACEOF
6817 cat confdefs.h >>conftest.$ac_ext
6818 cat >>conftest.$ac_ext <<_ACEOF
6819 /* end confdefs.h. */
6820 $ac_includes_default
6824 static struct stat ac_aggr;
6825 if (sizeof ac_aggr.st_blocks)
6831 rm -f conftest.$ac_objext
6832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6833 (eval $ac_compile) 2>conftest.er1
6835 grep -v '^ *+' conftest.er1 >conftest.err
6837 cat conftest.err >&5
6838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6839 (exit $ac_status); } &&
6840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6845 (exit $ac_status); }; } &&
6846 { ac_try='test -s conftest.$ac_objext'
6847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6851 (exit $ac_status); }; }; then
6852 ac_cv_member_struct_stat_st_blocks=yes
6854 echo "$as_me: failed program was:" >&5
6855 sed 's/^/| /' conftest.$ac_ext >&5
6857 ac_cv_member_struct_stat_st_blocks=no
6859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6863 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6864 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
6865 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6867 cat >>confdefs.h <<_ACEOF
6868 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6874 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6875 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
6876 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6877 echo $ECHO_N "(cached) $ECHO_C" >&6
6879 cat >conftest.$ac_ext <<_ACEOF
6882 cat confdefs.h >>conftest.$ac_ext
6883 cat >>conftest.$ac_ext <<_ACEOF
6884 /* end confdefs.h. */
6885 $ac_includes_default
6889 static struct stat ac_aggr;
6890 if (ac_aggr.st_rdev)
6896 rm -f conftest.$ac_objext
6897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6898 (eval $ac_compile) 2>conftest.er1
6900 grep -v '^ *+' conftest.er1 >conftest.err
6902 cat conftest.err >&5
6903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6904 (exit $ac_status); } &&
6905 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6910 (exit $ac_status); }; } &&
6911 { ac_try='test -s conftest.$ac_objext'
6912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6916 (exit $ac_status); }; }; then
6917 ac_cv_member_struct_stat_st_rdev=yes
6919 echo "$as_me: failed program was:" >&5
6920 sed 's/^/| /' conftest.$ac_ext >&5
6922 cat >conftest.$ac_ext <<_ACEOF
6925 cat confdefs.h >>conftest.$ac_ext
6926 cat >>conftest.$ac_ext <<_ACEOF
6927 /* end confdefs.h. */
6928 $ac_includes_default
6932 static struct stat ac_aggr;
6933 if (sizeof ac_aggr.st_rdev)
6939 rm -f conftest.$ac_objext
6940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6941 (eval $ac_compile) 2>conftest.er1
6943 grep -v '^ *+' conftest.er1 >conftest.err
6945 cat conftest.err >&5
6946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6947 (exit $ac_status); } &&
6948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953 (exit $ac_status); }; } &&
6954 { ac_try='test -s conftest.$ac_objext'
6955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959 (exit $ac_status); }; }; then
6960 ac_cv_member_struct_stat_st_rdev=yes
6962 echo "$as_me: failed program was:" >&5
6963 sed 's/^/| /' conftest.$ac_ext >&5
6965 ac_cv_member_struct_stat_st_rdev=no
6967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6971 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6972 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
6973 if test $ac_cv_member_struct_stat_st_rdev = yes; then
6975 cat >>confdefs.h <<_ACEOF
6976 #define HAVE_STRUCT_STAT_ST_RDEV 1
6983 # Check for complex math functions
6984 echo "$as_me:$LINENO: checking for csin in -lm" >&5
6985 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
6986 if test "${ac_cv_lib_m_csin+set}" = set; then
6987 echo $ECHO_N "(cached) $ECHO_C" >&6
6989 ac_check_lib_save_LIBS=$LIBS
6991 cat >conftest.$ac_ext <<_ACEOF
6994 cat confdefs.h >>conftest.$ac_ext
6995 cat >>conftest.$ac_ext <<_ACEOF
6996 /* end confdefs.h. */
6998 /* Override any gcc2 internal prototype to avoid an error. */
7002 /* We use char because int might match the return type of a gcc2
7003 builtin and then its argument prototype would still apply. */
7013 rm -f conftest.$ac_objext conftest$ac_exeext
7014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7015 (eval $ac_link) 2>conftest.er1
7017 grep -v '^ *+' conftest.er1 >conftest.err
7019 cat conftest.err >&5
7020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7021 (exit $ac_status); } &&
7022 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7027 (exit $ac_status); }; } &&
7028 { ac_try='test -s conftest$ac_exeext'
7029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7033 (exit $ac_status); }; }; then
7034 ac_cv_lib_m_csin=yes
7036 echo "$as_me: failed program was:" >&5
7037 sed 's/^/| /' conftest.$ac_ext >&5
7041 rm -f conftest.err conftest.$ac_objext \
7042 conftest$ac_exeext conftest.$ac_ext
7043 LIBS=$ac_check_lib_save_LIBS
7045 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
7046 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
7047 if test $ac_cv_lib_m_csin = yes; then
7054 # Check for library functions.
7060 for ac_func in getrusage times mkstemp strtof snprintf
7062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7063 echo "$as_me:$LINENO: checking for $ac_func" >&5
7064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7065 if eval "test \"\${$as_ac_var+set}\" = set"; then
7066 echo $ECHO_N "(cached) $ECHO_C" >&6
7068 cat >conftest.$ac_ext <<_ACEOF
7071 cat confdefs.h >>conftest.$ac_ext
7072 cat >>conftest.$ac_ext <<_ACEOF
7073 /* end confdefs.h. */
7074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7076 #define $ac_func innocuous_$ac_func
7078 /* System header to define __stub macros and hopefully few prototypes,
7079 which can conflict with char $ac_func (); below.
7080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7081 <limits.h> exists even on freestanding compilers. */
7084 # include <limits.h>
7086 # include <assert.h>
7091 /* Override any gcc2 internal prototype to avoid an error. */
7096 /* We use char because int might match the return type of a gcc2
7097 builtin and then its argument prototype would still apply. */
7099 /* The GNU C library defines this for functions which it implements
7100 to always fail with ENOSYS. Some functions are actually named
7101 something starting with __ and the normal name is an alias. */
7102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7105 char (*f) () = $ac_func;
7114 return f != $ac_func;
7119 rm -f conftest.$ac_objext conftest$ac_exeext
7120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7121 (eval $ac_link) 2>conftest.er1
7123 grep -v '^ *+' conftest.er1 >conftest.err
7125 cat conftest.err >&5
7126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7127 (exit $ac_status); } &&
7128 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7133 (exit $ac_status); }; } &&
7134 { ac_try='test -s conftest$ac_exeext'
7135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7139 (exit $ac_status); }; }; then
7140 eval "$as_ac_var=yes"
7142 echo "$as_me: failed program was:" >&5
7143 sed 's/^/| /' conftest.$ac_ext >&5
7145 eval "$as_ac_var=no"
7147 rm -f conftest.err conftest.$ac_objext \
7148 conftest$ac_exeext conftest.$ac_ext
7150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7152 if test `eval echo '${'$as_ac_var'}'` = yes; then
7153 cat >>confdefs.h <<_ACEOF
7154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7168 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
7170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7171 echo "$as_me:$LINENO: checking for $ac_func" >&5
7172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7173 if eval "test \"\${$as_ac_var+set}\" = set"; then
7174 echo $ECHO_N "(cached) $ECHO_C" >&6
7176 cat >conftest.$ac_ext <<_ACEOF
7179 cat confdefs.h >>conftest.$ac_ext
7180 cat >>conftest.$ac_ext <<_ACEOF
7181 /* end confdefs.h. */
7182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7184 #define $ac_func innocuous_$ac_func
7186 /* System header to define __stub macros and hopefully few prototypes,
7187 which can conflict with char $ac_func (); below.
7188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7189 <limits.h> exists even on freestanding compilers. */
7192 # include <limits.h>
7194 # include <assert.h>
7199 /* Override any gcc2 internal prototype to avoid an error. */
7204 /* We use char because int might match the return type of a gcc2
7205 builtin and then its argument prototype would still apply. */
7207 /* The GNU C library defines this for functions which it implements
7208 to always fail with ENOSYS. Some functions are actually named
7209 something starting with __ and the normal name is an alias. */
7210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7213 char (*f) () = $ac_func;
7222 return f != $ac_func;
7227 rm -f conftest.$ac_objext conftest$ac_exeext
7228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7229 (eval $ac_link) 2>conftest.er1
7231 grep -v '^ *+' conftest.er1 >conftest.err
7233 cat conftest.err >&5
7234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7235 (exit $ac_status); } &&
7236 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7241 (exit $ac_status); }; } &&
7242 { ac_try='test -s conftest$ac_exeext'
7243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7247 (exit $ac_status); }; }; then
7248 eval "$as_ac_var=yes"
7250 echo "$as_me: failed program was:" >&5
7251 sed 's/^/| /' conftest.$ac_ext >&5
7253 eval "$as_ac_var=no"
7255 rm -f conftest.err conftest.$ac_objext \
7256 conftest$ac_exeext conftest.$ac_ext
7258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7260 if test `eval echo '${'$as_ac_var'}'` = yes; then
7261 cat >>confdefs.h <<_ACEOF
7262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7270 for ac_func in sleep time
7272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7273 echo "$as_me:$LINENO: checking for $ac_func" >&5
7274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7275 if eval "test \"\${$as_ac_var+set}\" = set"; then
7276 echo $ECHO_N "(cached) $ECHO_C" >&6
7278 cat >conftest.$ac_ext <<_ACEOF
7281 cat confdefs.h >>conftest.$ac_ext
7282 cat >>conftest.$ac_ext <<_ACEOF
7283 /* end confdefs.h. */
7284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7286 #define $ac_func innocuous_$ac_func
7288 /* System header to define __stub macros and hopefully few prototypes,
7289 which can conflict with char $ac_func (); below.
7290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7291 <limits.h> exists even on freestanding compilers. */
7294 # include <limits.h>
7296 # include <assert.h>
7301 /* Override any gcc2 internal prototype to avoid an error. */
7306 /* We use char because int might match the return type of a gcc2
7307 builtin and then its argument prototype would still apply. */
7309 /* The GNU C library defines this for functions which it implements
7310 to always fail with ENOSYS. Some functions are actually named
7311 something starting with __ and the normal name is an alias. */
7312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7315 char (*f) () = $ac_func;
7324 return f != $ac_func;
7329 rm -f conftest.$ac_objext conftest$ac_exeext
7330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7331 (eval $ac_link) 2>conftest.er1
7333 grep -v '^ *+' conftest.er1 >conftest.err
7335 cat conftest.err >&5
7336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7337 (exit $ac_status); } &&
7338 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7343 (exit $ac_status); }; } &&
7344 { ac_try='test -s conftest$ac_exeext'
7345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7349 (exit $ac_status); }; }; then
7350 eval "$as_ac_var=yes"
7352 echo "$as_me: failed program was:" >&5
7353 sed 's/^/| /' conftest.$ac_ext >&5
7355 eval "$as_ac_var=no"
7357 rm -f conftest.err conftest.$ac_objext \
7358 conftest$ac_exeext conftest.$ac_ext
7360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7362 if test `eval echo '${'$as_ac_var'}'` = yes; then
7363 cat >>confdefs.h <<_ACEOF
7364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7371 # Check libc for getgid, getpid, getuid
7372 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
7373 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
7374 if test "${ac_cv_lib_c_getgid+set}" = set; then
7375 echo $ECHO_N "(cached) $ECHO_C" >&6
7377 ac_check_lib_save_LIBS=$LIBS
7379 cat >conftest.$ac_ext <<_ACEOF
7382 cat confdefs.h >>conftest.$ac_ext
7383 cat >>conftest.$ac_ext <<_ACEOF
7384 /* end confdefs.h. */
7386 /* Override any gcc2 internal prototype to avoid an error. */
7390 /* We use char because int might match the return type of a gcc2
7391 builtin and then its argument prototype would still apply. */
7401 rm -f conftest.$ac_objext conftest$ac_exeext
7402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7403 (eval $ac_link) 2>conftest.er1
7405 grep -v '^ *+' conftest.er1 >conftest.err
7407 cat conftest.err >&5
7408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7409 (exit $ac_status); } &&
7410 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7415 (exit $ac_status); }; } &&
7416 { ac_try='test -s conftest$ac_exeext'
7417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7421 (exit $ac_status); }; }; then
7422 ac_cv_lib_c_getgid=yes
7424 echo "$as_me: failed program was:" >&5
7425 sed 's/^/| /' conftest.$ac_ext >&5
7427 ac_cv_lib_c_getgid=no
7429 rm -f conftest.err conftest.$ac_objext \
7430 conftest$ac_exeext conftest.$ac_ext
7431 LIBS=$ac_check_lib_save_LIBS
7433 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
7434 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
7435 if test $ac_cv_lib_c_getgid = yes; then
7437 cat >>confdefs.h <<\_ACEOF
7438 #define HAVE_GETGID 1
7443 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
7444 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
7445 if test "${ac_cv_lib_c_getpid+set}" = set; then
7446 echo $ECHO_N "(cached) $ECHO_C" >&6
7448 ac_check_lib_save_LIBS=$LIBS
7450 cat >conftest.$ac_ext <<_ACEOF
7453 cat confdefs.h >>conftest.$ac_ext
7454 cat >>conftest.$ac_ext <<_ACEOF
7455 /* end confdefs.h. */
7457 /* Override any gcc2 internal prototype to avoid an error. */
7461 /* We use char because int might match the return type of a gcc2
7462 builtin and then its argument prototype would still apply. */
7472 rm -f conftest.$ac_objext conftest$ac_exeext
7473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7474 (eval $ac_link) 2>conftest.er1
7476 grep -v '^ *+' conftest.er1 >conftest.err
7478 cat conftest.err >&5
7479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480 (exit $ac_status); } &&
7481 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7486 (exit $ac_status); }; } &&
7487 { ac_try='test -s conftest$ac_exeext'
7488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7492 (exit $ac_status); }; }; then
7493 ac_cv_lib_c_getpid=yes
7495 echo "$as_me: failed program was:" >&5
7496 sed 's/^/| /' conftest.$ac_ext >&5
7498 ac_cv_lib_c_getpid=no
7500 rm -f conftest.err conftest.$ac_objext \
7501 conftest$ac_exeext conftest.$ac_ext
7502 LIBS=$ac_check_lib_save_LIBS
7504 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
7505 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
7506 if test $ac_cv_lib_c_getpid = yes; then
7508 cat >>confdefs.h <<\_ACEOF
7509 #define HAVE_GETPID 1
7514 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
7515 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
7516 if test "${ac_cv_lib_c_getuid+set}" = set; then
7517 echo $ECHO_N "(cached) $ECHO_C" >&6
7519 ac_check_lib_save_LIBS=$LIBS
7521 cat >conftest.$ac_ext <<_ACEOF
7524 cat confdefs.h >>conftest.$ac_ext
7525 cat >>conftest.$ac_ext <<_ACEOF
7526 /* end confdefs.h. */
7528 /* Override any gcc2 internal prototype to avoid an error. */
7532 /* We use char because int might match the return type of a gcc2
7533 builtin and then its argument prototype would still apply. */
7543 rm -f conftest.$ac_objext conftest$ac_exeext
7544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7545 (eval $ac_link) 2>conftest.er1
7547 grep -v '^ *+' conftest.er1 >conftest.err
7549 cat conftest.err >&5
7550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7551 (exit $ac_status); } &&
7552 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7557 (exit $ac_status); }; } &&
7558 { ac_try='test -s conftest$ac_exeext'
7559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7563 (exit $ac_status); }; }; then
7564 ac_cv_lib_c_getuid=yes
7566 echo "$as_me: failed program was:" >&5
7567 sed 's/^/| /' conftest.$ac_ext >&5
7569 ac_cv_lib_c_getuid=no
7571 rm -f conftest.err conftest.$ac_objext \
7572 conftest$ac_exeext conftest.$ac_ext
7573 LIBS=$ac_check_lib_save_LIBS
7575 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
7576 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
7577 if test $ac_cv_lib_c_getuid = yes; then
7579 cat >>confdefs.h <<\_ACEOF
7580 #define HAVE_GETUID 1
7586 # Check for C99 (and other IEEE) math functions
7587 # ??? This list seems awful long. Is there a better way to test for these?
7588 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
7589 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
7590 if test "${ac_cv_lib_m_acosf+set}" = set; then
7591 echo $ECHO_N "(cached) $ECHO_C" >&6
7593 ac_check_lib_save_LIBS=$LIBS
7595 cat >conftest.$ac_ext <<_ACEOF
7598 cat confdefs.h >>conftest.$ac_ext
7599 cat >>conftest.$ac_ext <<_ACEOF
7600 /* end confdefs.h. */
7602 /* Override any gcc2 internal prototype to avoid an error. */
7606 /* We use char because int might match the return type of a gcc2
7607 builtin and then its argument prototype would still apply. */
7617 rm -f conftest.$ac_objext conftest$ac_exeext
7618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7619 (eval $ac_link) 2>conftest.er1
7621 grep -v '^ *+' conftest.er1 >conftest.err
7623 cat conftest.err >&5
7624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7625 (exit $ac_status); } &&
7626 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7631 (exit $ac_status); }; } &&
7632 { ac_try='test -s conftest$ac_exeext'
7633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7637 (exit $ac_status); }; }; then
7638 ac_cv_lib_m_acosf=yes
7640 echo "$as_me: failed program was:" >&5
7641 sed 's/^/| /' conftest.$ac_ext >&5
7643 ac_cv_lib_m_acosf=no
7645 rm -f conftest.err conftest.$ac_objext \
7646 conftest$ac_exeext conftest.$ac_ext
7647 LIBS=$ac_check_lib_save_LIBS
7649 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
7650 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
7651 if test $ac_cv_lib_m_acosf = yes; then
7653 cat >>confdefs.h <<\_ACEOF
7654 #define HAVE_ACOSF 1
7659 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
7660 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
7661 if test "${ac_cv_lib_m_asinf+set}" = set; then
7662 echo $ECHO_N "(cached) $ECHO_C" >&6
7664 ac_check_lib_save_LIBS=$LIBS
7666 cat >conftest.$ac_ext <<_ACEOF
7669 cat confdefs.h >>conftest.$ac_ext
7670 cat >>conftest.$ac_ext <<_ACEOF
7671 /* end confdefs.h. */
7673 /* Override any gcc2 internal prototype to avoid an error. */
7677 /* We use char because int might match the return type of a gcc2
7678 builtin and then its argument prototype would still apply. */
7688 rm -f conftest.$ac_objext conftest$ac_exeext
7689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7690 (eval $ac_link) 2>conftest.er1
7692 grep -v '^ *+' conftest.er1 >conftest.err
7694 cat conftest.err >&5
7695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7696 (exit $ac_status); } &&
7697 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7702 (exit $ac_status); }; } &&
7703 { ac_try='test -s conftest$ac_exeext'
7704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7708 (exit $ac_status); }; }; then
7709 ac_cv_lib_m_asinf=yes
7711 echo "$as_me: failed program was:" >&5
7712 sed 's/^/| /' conftest.$ac_ext >&5
7714 ac_cv_lib_m_asinf=no
7716 rm -f conftest.err conftest.$ac_objext \
7717 conftest$ac_exeext conftest.$ac_ext
7718 LIBS=$ac_check_lib_save_LIBS
7720 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
7721 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
7722 if test $ac_cv_lib_m_asinf = yes; then
7724 cat >>confdefs.h <<\_ACEOF
7725 #define HAVE_ASINF 1
7730 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
7731 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
7732 if test "${ac_cv_lib_m_atan2f+set}" = set; then
7733 echo $ECHO_N "(cached) $ECHO_C" >&6
7735 ac_check_lib_save_LIBS=$LIBS
7737 cat >conftest.$ac_ext <<_ACEOF
7740 cat confdefs.h >>conftest.$ac_ext
7741 cat >>conftest.$ac_ext <<_ACEOF
7742 /* end confdefs.h. */
7744 /* Override any gcc2 internal prototype to avoid an error. */
7748 /* We use char because int might match the return type of a gcc2
7749 builtin and then its argument prototype would still apply. */
7759 rm -f conftest.$ac_objext conftest$ac_exeext
7760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7761 (eval $ac_link) 2>conftest.er1
7763 grep -v '^ *+' conftest.er1 >conftest.err
7765 cat conftest.err >&5
7766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7767 (exit $ac_status); } &&
7768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7773 (exit $ac_status); }; } &&
7774 { ac_try='test -s conftest$ac_exeext'
7775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7779 (exit $ac_status); }; }; then
7780 ac_cv_lib_m_atan2f=yes
7782 echo "$as_me: failed program was:" >&5
7783 sed 's/^/| /' conftest.$ac_ext >&5
7785 ac_cv_lib_m_atan2f=no
7787 rm -f conftest.err conftest.$ac_objext \
7788 conftest$ac_exeext conftest.$ac_ext
7789 LIBS=$ac_check_lib_save_LIBS
7791 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
7792 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
7793 if test $ac_cv_lib_m_atan2f = yes; then
7795 cat >>confdefs.h <<\_ACEOF
7796 #define HAVE_ATAN2F 1
7801 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
7802 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
7803 if test "${ac_cv_lib_m_atanf+set}" = set; then
7804 echo $ECHO_N "(cached) $ECHO_C" >&6
7806 ac_check_lib_save_LIBS=$LIBS
7808 cat >conftest.$ac_ext <<_ACEOF
7811 cat confdefs.h >>conftest.$ac_ext
7812 cat >>conftest.$ac_ext <<_ACEOF
7813 /* end confdefs.h. */
7815 /* Override any gcc2 internal prototype to avoid an error. */
7819 /* We use char because int might match the return type of a gcc2
7820 builtin and then its argument prototype would still apply. */
7830 rm -f conftest.$ac_objext conftest$ac_exeext
7831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7832 (eval $ac_link) 2>conftest.er1
7834 grep -v '^ *+' conftest.er1 >conftest.err
7836 cat conftest.err >&5
7837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7838 (exit $ac_status); } &&
7839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7844 (exit $ac_status); }; } &&
7845 { ac_try='test -s conftest$ac_exeext'
7846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7850 (exit $ac_status); }; }; then
7851 ac_cv_lib_m_atanf=yes
7853 echo "$as_me: failed program was:" >&5
7854 sed 's/^/| /' conftest.$ac_ext >&5
7856 ac_cv_lib_m_atanf=no
7858 rm -f conftest.err conftest.$ac_objext \
7859 conftest$ac_exeext conftest.$ac_ext
7860 LIBS=$ac_check_lib_save_LIBS
7862 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
7863 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
7864 if test $ac_cv_lib_m_atanf = yes; then
7866 cat >>confdefs.h <<\_ACEOF
7867 #define HAVE_ATANF 1
7872 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
7873 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
7874 if test "${ac_cv_lib_m_ceilf+set}" = set; then
7875 echo $ECHO_N "(cached) $ECHO_C" >&6
7877 ac_check_lib_save_LIBS=$LIBS
7879 cat >conftest.$ac_ext <<_ACEOF
7882 cat confdefs.h >>conftest.$ac_ext
7883 cat >>conftest.$ac_ext <<_ACEOF
7884 /* end confdefs.h. */
7886 /* Override any gcc2 internal prototype to avoid an error. */
7890 /* We use char because int might match the return type of a gcc2
7891 builtin and then its argument prototype would still apply. */
7901 rm -f conftest.$ac_objext conftest$ac_exeext
7902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7903 (eval $ac_link) 2>conftest.er1
7905 grep -v '^ *+' conftest.er1 >conftest.err
7907 cat conftest.err >&5
7908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7909 (exit $ac_status); } &&
7910 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7915 (exit $ac_status); }; } &&
7916 { ac_try='test -s conftest$ac_exeext'
7917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7921 (exit $ac_status); }; }; then
7922 ac_cv_lib_m_ceilf=yes
7924 echo "$as_me: failed program was:" >&5
7925 sed 's/^/| /' conftest.$ac_ext >&5
7927 ac_cv_lib_m_ceilf=no
7929 rm -f conftest.err conftest.$ac_objext \
7930 conftest$ac_exeext conftest.$ac_ext
7931 LIBS=$ac_check_lib_save_LIBS
7933 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
7934 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
7935 if test $ac_cv_lib_m_ceilf = yes; then
7937 cat >>confdefs.h <<\_ACEOF
7938 #define HAVE_CEILF 1
7943 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
7944 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
7945 if test "${ac_cv_lib_m_copysignf+set}" = set; then
7946 echo $ECHO_N "(cached) $ECHO_C" >&6
7948 ac_check_lib_save_LIBS=$LIBS
7950 cat >conftest.$ac_ext <<_ACEOF
7953 cat confdefs.h >>conftest.$ac_ext
7954 cat >>conftest.$ac_ext <<_ACEOF
7955 /* end confdefs.h. */
7957 /* Override any gcc2 internal prototype to avoid an error. */
7961 /* We use char because int might match the return type of a gcc2
7962 builtin and then its argument prototype would still apply. */
7972 rm -f conftest.$ac_objext conftest$ac_exeext
7973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7974 (eval $ac_link) 2>conftest.er1
7976 grep -v '^ *+' conftest.er1 >conftest.err
7978 cat conftest.err >&5
7979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7980 (exit $ac_status); } &&
7981 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7986 (exit $ac_status); }; } &&
7987 { ac_try='test -s conftest$ac_exeext'
7988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7992 (exit $ac_status); }; }; then
7993 ac_cv_lib_m_copysignf=yes
7995 echo "$as_me: failed program was:" >&5
7996 sed 's/^/| /' conftest.$ac_ext >&5
7998 ac_cv_lib_m_copysignf=no
8000 rm -f conftest.err conftest.$ac_objext \
8001 conftest$ac_exeext conftest.$ac_ext
8002 LIBS=$ac_check_lib_save_LIBS
8004 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
8005 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
8006 if test $ac_cv_lib_m_copysignf = yes; then
8008 cat >>confdefs.h <<\_ACEOF
8009 #define HAVE_COPYSIGNF 1
8014 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
8015 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
8016 if test "${ac_cv_lib_m_cosf+set}" = set; then
8017 echo $ECHO_N "(cached) $ECHO_C" >&6
8019 ac_check_lib_save_LIBS=$LIBS
8021 cat >conftest.$ac_ext <<_ACEOF
8024 cat confdefs.h >>conftest.$ac_ext
8025 cat >>conftest.$ac_ext <<_ACEOF
8026 /* end confdefs.h. */
8028 /* Override any gcc2 internal prototype to avoid an error. */
8032 /* We use char because int might match the return type of a gcc2
8033 builtin and then its argument prototype would still apply. */
8043 rm -f conftest.$ac_objext conftest$ac_exeext
8044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8045 (eval $ac_link) 2>conftest.er1
8047 grep -v '^ *+' conftest.er1 >conftest.err
8049 cat conftest.err >&5
8050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8051 (exit $ac_status); } &&
8052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8057 (exit $ac_status); }; } &&
8058 { ac_try='test -s conftest$ac_exeext'
8059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8063 (exit $ac_status); }; }; then
8064 ac_cv_lib_m_cosf=yes
8066 echo "$as_me: failed program was:" >&5
8067 sed 's/^/| /' conftest.$ac_ext >&5
8071 rm -f conftest.err conftest.$ac_objext \
8072 conftest$ac_exeext conftest.$ac_ext
8073 LIBS=$ac_check_lib_save_LIBS
8075 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
8076 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
8077 if test $ac_cv_lib_m_cosf = yes; then
8079 cat >>confdefs.h <<\_ACEOF
8085 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
8086 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
8087 if test "${ac_cv_lib_m_coshf+set}" = set; then
8088 echo $ECHO_N "(cached) $ECHO_C" >&6
8090 ac_check_lib_save_LIBS=$LIBS
8092 cat >conftest.$ac_ext <<_ACEOF
8095 cat confdefs.h >>conftest.$ac_ext
8096 cat >>conftest.$ac_ext <<_ACEOF
8097 /* end confdefs.h. */
8099 /* Override any gcc2 internal prototype to avoid an error. */
8103 /* We use char because int might match the return type of a gcc2
8104 builtin and then its argument prototype would still apply. */
8114 rm -f conftest.$ac_objext conftest$ac_exeext
8115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8116 (eval $ac_link) 2>conftest.er1
8118 grep -v '^ *+' conftest.er1 >conftest.err
8120 cat conftest.err >&5
8121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8122 (exit $ac_status); } &&
8123 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8128 (exit $ac_status); }; } &&
8129 { ac_try='test -s conftest$ac_exeext'
8130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8134 (exit $ac_status); }; }; then
8135 ac_cv_lib_m_coshf=yes
8137 echo "$as_me: failed program was:" >&5
8138 sed 's/^/| /' conftest.$ac_ext >&5
8140 ac_cv_lib_m_coshf=no
8142 rm -f conftest.err conftest.$ac_objext \
8143 conftest$ac_exeext conftest.$ac_ext
8144 LIBS=$ac_check_lib_save_LIBS
8146 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
8147 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
8148 if test $ac_cv_lib_m_coshf = yes; then
8150 cat >>confdefs.h <<\_ACEOF
8151 #define HAVE_COSHF 1
8156 echo "$as_me:$LINENO: checking for expf in -lm" >&5
8157 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
8158 if test "${ac_cv_lib_m_expf+set}" = set; then
8159 echo $ECHO_N "(cached) $ECHO_C" >&6
8161 ac_check_lib_save_LIBS=$LIBS
8163 cat >conftest.$ac_ext <<_ACEOF
8166 cat confdefs.h >>conftest.$ac_ext
8167 cat >>conftest.$ac_ext <<_ACEOF
8168 /* end confdefs.h. */
8170 /* Override any gcc2 internal prototype to avoid an error. */
8174 /* We use char because int might match the return type of a gcc2
8175 builtin and then its argument prototype would still apply. */
8185 rm -f conftest.$ac_objext conftest$ac_exeext
8186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8187 (eval $ac_link) 2>conftest.er1
8189 grep -v '^ *+' conftest.er1 >conftest.err
8191 cat conftest.err >&5
8192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8193 (exit $ac_status); } &&
8194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199 (exit $ac_status); }; } &&
8200 { ac_try='test -s conftest$ac_exeext'
8201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); }; }; then
8206 ac_cv_lib_m_expf=yes
8208 echo "$as_me: failed program was:" >&5
8209 sed 's/^/| /' conftest.$ac_ext >&5
8213 rm -f conftest.err conftest.$ac_objext \
8214 conftest$ac_exeext conftest.$ac_ext
8215 LIBS=$ac_check_lib_save_LIBS
8217 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
8218 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
8219 if test $ac_cv_lib_m_expf = yes; then
8221 cat >>confdefs.h <<\_ACEOF
8227 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
8228 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
8229 if test "${ac_cv_lib_m_fabsf+set}" = set; then
8230 echo $ECHO_N "(cached) $ECHO_C" >&6
8232 ac_check_lib_save_LIBS=$LIBS
8234 cat >conftest.$ac_ext <<_ACEOF
8237 cat confdefs.h >>conftest.$ac_ext
8238 cat >>conftest.$ac_ext <<_ACEOF
8239 /* end confdefs.h. */
8241 /* Override any gcc2 internal prototype to avoid an error. */
8245 /* We use char because int might match the return type of a gcc2
8246 builtin and then its argument prototype would still apply. */
8256 rm -f conftest.$ac_objext conftest$ac_exeext
8257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8258 (eval $ac_link) 2>conftest.er1
8260 grep -v '^ *+' conftest.er1 >conftest.err
8262 cat conftest.err >&5
8263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8264 (exit $ac_status); } &&
8265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8270 (exit $ac_status); }; } &&
8271 { ac_try='test -s conftest$ac_exeext'
8272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8276 (exit $ac_status); }; }; then
8277 ac_cv_lib_m_fabsf=yes
8279 echo "$as_me: failed program was:" >&5
8280 sed 's/^/| /' conftest.$ac_ext >&5
8282 ac_cv_lib_m_fabsf=no
8284 rm -f conftest.err conftest.$ac_objext \
8285 conftest$ac_exeext conftest.$ac_ext
8286 LIBS=$ac_check_lib_save_LIBS
8288 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
8289 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
8290 if test $ac_cv_lib_m_fabsf = yes; then
8292 cat >>confdefs.h <<\_ACEOF
8293 #define HAVE_FABSF 1
8298 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
8299 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
8300 if test "${ac_cv_lib_m_floorf+set}" = set; then
8301 echo $ECHO_N "(cached) $ECHO_C" >&6
8303 ac_check_lib_save_LIBS=$LIBS
8305 cat >conftest.$ac_ext <<_ACEOF
8308 cat confdefs.h >>conftest.$ac_ext
8309 cat >>conftest.$ac_ext <<_ACEOF
8310 /* end confdefs.h. */
8312 /* Override any gcc2 internal prototype to avoid an error. */
8316 /* We use char because int might match the return type of a gcc2
8317 builtin and then its argument prototype would still apply. */
8327 rm -f conftest.$ac_objext conftest$ac_exeext
8328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8329 (eval $ac_link) 2>conftest.er1
8331 grep -v '^ *+' conftest.er1 >conftest.err
8333 cat conftest.err >&5
8334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8335 (exit $ac_status); } &&
8336 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8341 (exit $ac_status); }; } &&
8342 { ac_try='test -s conftest$ac_exeext'
8343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8347 (exit $ac_status); }; }; then
8348 ac_cv_lib_m_floorf=yes
8350 echo "$as_me: failed program was:" >&5
8351 sed 's/^/| /' conftest.$ac_ext >&5
8353 ac_cv_lib_m_floorf=no
8355 rm -f conftest.err conftest.$ac_objext \
8356 conftest$ac_exeext conftest.$ac_ext
8357 LIBS=$ac_check_lib_save_LIBS
8359 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
8360 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
8361 if test $ac_cv_lib_m_floorf = yes; then
8363 cat >>confdefs.h <<\_ACEOF
8364 #define HAVE_FLOORF 1
8369 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
8370 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
8371 if test "${ac_cv_lib_m_frexpf+set}" = set; then
8372 echo $ECHO_N "(cached) $ECHO_C" >&6
8374 ac_check_lib_save_LIBS=$LIBS
8376 cat >conftest.$ac_ext <<_ACEOF
8379 cat confdefs.h >>conftest.$ac_ext
8380 cat >>conftest.$ac_ext <<_ACEOF
8381 /* end confdefs.h. */
8383 /* Override any gcc2 internal prototype to avoid an error. */
8387 /* We use char because int might match the return type of a gcc2
8388 builtin and then its argument prototype would still apply. */
8398 rm -f conftest.$ac_objext conftest$ac_exeext
8399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8400 (eval $ac_link) 2>conftest.er1
8402 grep -v '^ *+' conftest.er1 >conftest.err
8404 cat conftest.err >&5
8405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406 (exit $ac_status); } &&
8407 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8412 (exit $ac_status); }; } &&
8413 { ac_try='test -s conftest$ac_exeext'
8414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8418 (exit $ac_status); }; }; then
8419 ac_cv_lib_m_frexpf=yes
8421 echo "$as_me: failed program was:" >&5
8422 sed 's/^/| /' conftest.$ac_ext >&5
8424 ac_cv_lib_m_frexpf=no
8426 rm -f conftest.err conftest.$ac_objext \
8427 conftest$ac_exeext conftest.$ac_ext
8428 LIBS=$ac_check_lib_save_LIBS
8430 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
8431 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
8432 if test $ac_cv_lib_m_frexpf = yes; then
8434 cat >>confdefs.h <<\_ACEOF
8435 #define HAVE_FREXPF 1
8440 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
8441 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
8442 if test "${ac_cv_lib_m_hypotf+set}" = set; then
8443 echo $ECHO_N "(cached) $ECHO_C" >&6
8445 ac_check_lib_save_LIBS=$LIBS
8447 cat >conftest.$ac_ext <<_ACEOF
8450 cat confdefs.h >>conftest.$ac_ext
8451 cat >>conftest.$ac_ext <<_ACEOF
8452 /* end confdefs.h. */
8454 /* Override any gcc2 internal prototype to avoid an error. */
8458 /* We use char because int might match the return type of a gcc2
8459 builtin and then its argument prototype would still apply. */
8469 rm -f conftest.$ac_objext conftest$ac_exeext
8470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8471 (eval $ac_link) 2>conftest.er1
8473 grep -v '^ *+' conftest.er1 >conftest.err
8475 cat conftest.err >&5
8476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8477 (exit $ac_status); } &&
8478 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8483 (exit $ac_status); }; } &&
8484 { ac_try='test -s conftest$ac_exeext'
8485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8489 (exit $ac_status); }; }; then
8490 ac_cv_lib_m_hypotf=yes
8492 echo "$as_me: failed program was:" >&5
8493 sed 's/^/| /' conftest.$ac_ext >&5
8495 ac_cv_lib_m_hypotf=no
8497 rm -f conftest.err conftest.$ac_objext \
8498 conftest$ac_exeext conftest.$ac_ext
8499 LIBS=$ac_check_lib_save_LIBS
8501 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
8502 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
8503 if test $ac_cv_lib_m_hypotf = yes; then
8505 cat >>confdefs.h <<\_ACEOF
8506 #define HAVE_HYPOTF 1
8511 echo "$as_me:$LINENO: checking for logf in -lm" >&5
8512 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
8513 if test "${ac_cv_lib_m_logf+set}" = set; then
8514 echo $ECHO_N "(cached) $ECHO_C" >&6
8516 ac_check_lib_save_LIBS=$LIBS
8518 cat >conftest.$ac_ext <<_ACEOF
8521 cat confdefs.h >>conftest.$ac_ext
8522 cat >>conftest.$ac_ext <<_ACEOF
8523 /* end confdefs.h. */
8525 /* Override any gcc2 internal prototype to avoid an error. */
8529 /* We use char because int might match the return type of a gcc2
8530 builtin and then its argument prototype would still apply. */
8540 rm -f conftest.$ac_objext conftest$ac_exeext
8541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8542 (eval $ac_link) 2>conftest.er1
8544 grep -v '^ *+' conftest.er1 >conftest.err
8546 cat conftest.err >&5
8547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8548 (exit $ac_status); } &&
8549 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8554 (exit $ac_status); }; } &&
8555 { ac_try='test -s conftest$ac_exeext'
8556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560 (exit $ac_status); }; }; then
8561 ac_cv_lib_m_logf=yes
8563 echo "$as_me: failed program was:" >&5
8564 sed 's/^/| /' conftest.$ac_ext >&5
8568 rm -f conftest.err conftest.$ac_objext \
8569 conftest$ac_exeext conftest.$ac_ext
8570 LIBS=$ac_check_lib_save_LIBS
8572 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
8573 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
8574 if test $ac_cv_lib_m_logf = yes; then
8576 cat >>confdefs.h <<\_ACEOF
8582 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
8583 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
8584 if test "${ac_cv_lib_m_log10f+set}" = set; then
8585 echo $ECHO_N "(cached) $ECHO_C" >&6
8587 ac_check_lib_save_LIBS=$LIBS
8589 cat >conftest.$ac_ext <<_ACEOF
8592 cat confdefs.h >>conftest.$ac_ext
8593 cat >>conftest.$ac_ext <<_ACEOF
8594 /* end confdefs.h. */
8596 /* Override any gcc2 internal prototype to avoid an error. */
8600 /* We use char because int might match the return type of a gcc2
8601 builtin and then its argument prototype would still apply. */
8611 rm -f conftest.$ac_objext conftest$ac_exeext
8612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8613 (eval $ac_link) 2>conftest.er1
8615 grep -v '^ *+' conftest.er1 >conftest.err
8617 cat conftest.err >&5
8618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8619 (exit $ac_status); } &&
8620 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8625 (exit $ac_status); }; } &&
8626 { ac_try='test -s conftest$ac_exeext'
8627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8631 (exit $ac_status); }; }; then
8632 ac_cv_lib_m_log10f=yes
8634 echo "$as_me: failed program was:" >&5
8635 sed 's/^/| /' conftest.$ac_ext >&5
8637 ac_cv_lib_m_log10f=no
8639 rm -f conftest.err conftest.$ac_objext \
8640 conftest$ac_exeext conftest.$ac_ext
8641 LIBS=$ac_check_lib_save_LIBS
8643 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
8644 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
8645 if test $ac_cv_lib_m_log10f = yes; then
8647 cat >>confdefs.h <<\_ACEOF
8648 #define HAVE_LOG10F 1
8653 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
8654 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
8655 if test "${ac_cv_lib_m_nextafter+set}" = set; then
8656 echo $ECHO_N "(cached) $ECHO_C" >&6
8658 ac_check_lib_save_LIBS=$LIBS
8660 cat >conftest.$ac_ext <<_ACEOF
8663 cat confdefs.h >>conftest.$ac_ext
8664 cat >>conftest.$ac_ext <<_ACEOF
8665 /* end confdefs.h. */
8667 /* Override any gcc2 internal prototype to avoid an error. */
8671 /* We use char because int might match the return type of a gcc2
8672 builtin and then its argument prototype would still apply. */
8682 rm -f conftest.$ac_objext conftest$ac_exeext
8683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8684 (eval $ac_link) 2>conftest.er1
8686 grep -v '^ *+' conftest.er1 >conftest.err
8688 cat conftest.err >&5
8689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8690 (exit $ac_status); } &&
8691 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8696 (exit $ac_status); }; } &&
8697 { ac_try='test -s conftest$ac_exeext'
8698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8702 (exit $ac_status); }; }; then
8703 ac_cv_lib_m_nextafter=yes
8705 echo "$as_me: failed program was:" >&5
8706 sed 's/^/| /' conftest.$ac_ext >&5
8708 ac_cv_lib_m_nextafter=no
8710 rm -f conftest.err conftest.$ac_objext \
8711 conftest$ac_exeext conftest.$ac_ext
8712 LIBS=$ac_check_lib_save_LIBS
8714 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
8715 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
8716 if test $ac_cv_lib_m_nextafter = yes; then
8718 cat >>confdefs.h <<\_ACEOF
8719 #define HAVE_NEXTAFTER 1
8724 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
8725 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
8726 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
8727 echo $ECHO_N "(cached) $ECHO_C" >&6
8729 ac_check_lib_save_LIBS=$LIBS
8731 cat >conftest.$ac_ext <<_ACEOF
8734 cat confdefs.h >>conftest.$ac_ext
8735 cat >>conftest.$ac_ext <<_ACEOF
8736 /* end confdefs.h. */
8738 /* Override any gcc2 internal prototype to avoid an error. */
8742 /* We use char because int might match the return type of a gcc2
8743 builtin and then its argument prototype would still apply. */
8753 rm -f conftest.$ac_objext conftest$ac_exeext
8754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8755 (eval $ac_link) 2>conftest.er1
8757 grep -v '^ *+' conftest.er1 >conftest.err
8759 cat conftest.err >&5
8760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8761 (exit $ac_status); } &&
8762 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8767 (exit $ac_status); }; } &&
8768 { ac_try='test -s conftest$ac_exeext'
8769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8773 (exit $ac_status); }; }; then
8774 ac_cv_lib_m_nextafterf=yes
8776 echo "$as_me: failed program was:" >&5
8777 sed 's/^/| /' conftest.$ac_ext >&5
8779 ac_cv_lib_m_nextafterf=no
8781 rm -f conftest.err conftest.$ac_objext \
8782 conftest$ac_exeext conftest.$ac_ext
8783 LIBS=$ac_check_lib_save_LIBS
8785 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
8786 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
8787 if test $ac_cv_lib_m_nextafterf = yes; then
8789 cat >>confdefs.h <<\_ACEOF
8790 #define HAVE_NEXTAFTERF 1
8795 echo "$as_me:$LINENO: checking for powf in -lm" >&5
8796 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
8797 if test "${ac_cv_lib_m_powf+set}" = set; then
8798 echo $ECHO_N "(cached) $ECHO_C" >&6
8800 ac_check_lib_save_LIBS=$LIBS
8802 cat >conftest.$ac_ext <<_ACEOF
8805 cat confdefs.h >>conftest.$ac_ext
8806 cat >>conftest.$ac_ext <<_ACEOF
8807 /* end confdefs.h. */
8809 /* Override any gcc2 internal prototype to avoid an error. */
8813 /* We use char because int might match the return type of a gcc2
8814 builtin and then its argument prototype would still apply. */
8824 rm -f conftest.$ac_objext conftest$ac_exeext
8825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8826 (eval $ac_link) 2>conftest.er1
8828 grep -v '^ *+' conftest.er1 >conftest.err
8830 cat conftest.err >&5
8831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8832 (exit $ac_status); } &&
8833 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8838 (exit $ac_status); }; } &&
8839 { ac_try='test -s conftest$ac_exeext'
8840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8844 (exit $ac_status); }; }; then
8845 ac_cv_lib_m_powf=yes
8847 echo "$as_me: failed program was:" >&5
8848 sed 's/^/| /' conftest.$ac_ext >&5
8852 rm -f conftest.err conftest.$ac_objext \
8853 conftest$ac_exeext conftest.$ac_ext
8854 LIBS=$ac_check_lib_save_LIBS
8856 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
8857 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
8858 if test $ac_cv_lib_m_powf = yes; then
8860 cat >>confdefs.h <<\_ACEOF
8866 echo "$as_me:$LINENO: checking for round in -lm" >&5
8867 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
8868 if test "${ac_cv_lib_m_round+set}" = set; then
8869 echo $ECHO_N "(cached) $ECHO_C" >&6
8871 ac_check_lib_save_LIBS=$LIBS
8873 cat >conftest.$ac_ext <<_ACEOF
8876 cat confdefs.h >>conftest.$ac_ext
8877 cat >>conftest.$ac_ext <<_ACEOF
8878 /* end confdefs.h. */
8880 /* Override any gcc2 internal prototype to avoid an error. */
8884 /* We use char because int might match the return type of a gcc2
8885 builtin and then its argument prototype would still apply. */
8895 rm -f conftest.$ac_objext conftest$ac_exeext
8896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8897 (eval $ac_link) 2>conftest.er1
8899 grep -v '^ *+' conftest.er1 >conftest.err
8901 cat conftest.err >&5
8902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903 (exit $ac_status); } &&
8904 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8909 (exit $ac_status); }; } &&
8910 { ac_try='test -s conftest$ac_exeext'
8911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915 (exit $ac_status); }; }; then
8916 ac_cv_lib_m_round=yes
8918 echo "$as_me: failed program was:" >&5
8919 sed 's/^/| /' conftest.$ac_ext >&5
8921 ac_cv_lib_m_round=no
8923 rm -f conftest.err conftest.$ac_objext \
8924 conftest$ac_exeext conftest.$ac_ext
8925 LIBS=$ac_check_lib_save_LIBS
8927 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
8928 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
8929 if test $ac_cv_lib_m_round = yes; then
8931 cat >>confdefs.h <<\_ACEOF
8932 #define HAVE_ROUND 1
8937 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
8938 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
8939 if test "${ac_cv_lib_m_roundf+set}" = set; then
8940 echo $ECHO_N "(cached) $ECHO_C" >&6
8942 ac_check_lib_save_LIBS=$LIBS
8944 cat >conftest.$ac_ext <<_ACEOF
8947 cat confdefs.h >>conftest.$ac_ext
8948 cat >>conftest.$ac_ext <<_ACEOF
8949 /* end confdefs.h. */
8951 /* Override any gcc2 internal prototype to avoid an error. */
8955 /* We use char because int might match the return type of a gcc2
8956 builtin and then its argument prototype would still apply. */
8966 rm -f conftest.$ac_objext conftest$ac_exeext
8967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8968 (eval $ac_link) 2>conftest.er1
8970 grep -v '^ *+' conftest.er1 >conftest.err
8972 cat conftest.err >&5
8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974 (exit $ac_status); } &&
8975 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980 (exit $ac_status); }; } &&
8981 { ac_try='test -s conftest$ac_exeext'
8982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8986 (exit $ac_status); }; }; then
8987 ac_cv_lib_m_roundf=yes
8989 echo "$as_me: failed program was:" >&5
8990 sed 's/^/| /' conftest.$ac_ext >&5
8992 ac_cv_lib_m_roundf=no
8994 rm -f conftest.err conftest.$ac_objext \
8995 conftest$ac_exeext conftest.$ac_ext
8996 LIBS=$ac_check_lib_save_LIBS
8998 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
8999 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
9000 if test $ac_cv_lib_m_roundf = yes; then
9002 cat >>confdefs.h <<\_ACEOF
9003 #define HAVE_ROUNDF 1
9008 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
9009 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
9010 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
9011 echo $ECHO_N "(cached) $ECHO_C" >&6
9013 ac_check_lib_save_LIBS=$LIBS
9015 cat >conftest.$ac_ext <<_ACEOF
9018 cat confdefs.h >>conftest.$ac_ext
9019 cat >>conftest.$ac_ext <<_ACEOF
9020 /* end confdefs.h. */
9022 /* Override any gcc2 internal prototype to avoid an error. */
9026 /* We use char because int might match the return type of a gcc2
9027 builtin and then its argument prototype would still apply. */
9037 rm -f conftest.$ac_objext conftest$ac_exeext
9038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9039 (eval $ac_link) 2>conftest.er1
9041 grep -v '^ *+' conftest.er1 >conftest.err
9043 cat conftest.err >&5
9044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9045 (exit $ac_status); } &&
9046 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9051 (exit $ac_status); }; } &&
9052 { ac_try='test -s conftest$ac_exeext'
9053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9057 (exit $ac_status); }; }; then
9058 ac_cv_lib_m_scalbnf=yes
9060 echo "$as_me: failed program was:" >&5
9061 sed 's/^/| /' conftest.$ac_ext >&5
9063 ac_cv_lib_m_scalbnf=no
9065 rm -f conftest.err conftest.$ac_objext \
9066 conftest$ac_exeext conftest.$ac_ext
9067 LIBS=$ac_check_lib_save_LIBS
9069 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
9070 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
9071 if test $ac_cv_lib_m_scalbnf = yes; then
9073 cat >>confdefs.h <<\_ACEOF
9074 #define HAVE_SCALBNF 1
9079 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
9080 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
9081 if test "${ac_cv_lib_m_sinf+set}" = set; then
9082 echo $ECHO_N "(cached) $ECHO_C" >&6
9084 ac_check_lib_save_LIBS=$LIBS
9086 cat >conftest.$ac_ext <<_ACEOF
9089 cat confdefs.h >>conftest.$ac_ext
9090 cat >>conftest.$ac_ext <<_ACEOF
9091 /* end confdefs.h. */
9093 /* Override any gcc2 internal prototype to avoid an error. */
9097 /* We use char because int might match the return type of a gcc2
9098 builtin and then its argument prototype would still apply. */
9108 rm -f conftest.$ac_objext conftest$ac_exeext
9109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9110 (eval $ac_link) 2>conftest.er1
9112 grep -v '^ *+' conftest.er1 >conftest.err
9114 cat conftest.err >&5
9115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9116 (exit $ac_status); } &&
9117 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9122 (exit $ac_status); }; } &&
9123 { ac_try='test -s conftest$ac_exeext'
9124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9128 (exit $ac_status); }; }; then
9129 ac_cv_lib_m_sinf=yes
9131 echo "$as_me: failed program was:" >&5
9132 sed 's/^/| /' conftest.$ac_ext >&5
9136 rm -f conftest.err conftest.$ac_objext \
9137 conftest$ac_exeext conftest.$ac_ext
9138 LIBS=$ac_check_lib_save_LIBS
9140 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
9141 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
9142 if test $ac_cv_lib_m_sinf = yes; then
9144 cat >>confdefs.h <<\_ACEOF
9150 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
9151 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
9152 if test "${ac_cv_lib_m_sinhf+set}" = set; then
9153 echo $ECHO_N "(cached) $ECHO_C" >&6
9155 ac_check_lib_save_LIBS=$LIBS
9157 cat >conftest.$ac_ext <<_ACEOF
9160 cat confdefs.h >>conftest.$ac_ext
9161 cat >>conftest.$ac_ext <<_ACEOF
9162 /* end confdefs.h. */
9164 /* Override any gcc2 internal prototype to avoid an error. */
9168 /* We use char because int might match the return type of a gcc2
9169 builtin and then its argument prototype would still apply. */
9179 rm -f conftest.$ac_objext conftest$ac_exeext
9180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9181 (eval $ac_link) 2>conftest.er1
9183 grep -v '^ *+' conftest.er1 >conftest.err
9185 cat conftest.err >&5
9186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9187 (exit $ac_status); } &&
9188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9193 (exit $ac_status); }; } &&
9194 { ac_try='test -s conftest$ac_exeext'
9195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9199 (exit $ac_status); }; }; then
9200 ac_cv_lib_m_sinhf=yes
9202 echo "$as_me: failed program was:" >&5
9203 sed 's/^/| /' conftest.$ac_ext >&5
9205 ac_cv_lib_m_sinhf=no
9207 rm -f conftest.err conftest.$ac_objext \
9208 conftest$ac_exeext conftest.$ac_ext
9209 LIBS=$ac_check_lib_save_LIBS
9211 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
9212 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
9213 if test $ac_cv_lib_m_sinhf = yes; then
9215 cat >>confdefs.h <<\_ACEOF
9216 #define HAVE_SINHF 1
9221 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
9222 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
9223 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
9224 echo $ECHO_N "(cached) $ECHO_C" >&6
9226 ac_check_lib_save_LIBS=$LIBS
9228 cat >conftest.$ac_ext <<_ACEOF
9231 cat confdefs.h >>conftest.$ac_ext
9232 cat >>conftest.$ac_ext <<_ACEOF
9233 /* end confdefs.h. */
9235 /* Override any gcc2 internal prototype to avoid an error. */
9239 /* We use char because int might match the return type of a gcc2
9240 builtin and then its argument prototype would still apply. */
9250 rm -f conftest.$ac_objext conftest$ac_exeext
9251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9252 (eval $ac_link) 2>conftest.er1
9254 grep -v '^ *+' conftest.er1 >conftest.err
9256 cat conftest.err >&5
9257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9258 (exit $ac_status); } &&
9259 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9264 (exit $ac_status); }; } &&
9265 { ac_try='test -s conftest$ac_exeext'
9266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9270 (exit $ac_status); }; }; then
9271 ac_cv_lib_m_sqrtf=yes
9273 echo "$as_me: failed program was:" >&5
9274 sed 's/^/| /' conftest.$ac_ext >&5
9276 ac_cv_lib_m_sqrtf=no
9278 rm -f conftest.err conftest.$ac_objext \
9279 conftest$ac_exeext conftest.$ac_ext
9280 LIBS=$ac_check_lib_save_LIBS
9282 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
9283 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
9284 if test $ac_cv_lib_m_sqrtf = yes; then
9286 cat >>confdefs.h <<\_ACEOF
9287 #define HAVE_SQRTF 1
9292 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
9293 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
9294 if test "${ac_cv_lib_m_tanf+set}" = set; then
9295 echo $ECHO_N "(cached) $ECHO_C" >&6
9297 ac_check_lib_save_LIBS=$LIBS
9299 cat >conftest.$ac_ext <<_ACEOF
9302 cat confdefs.h >>conftest.$ac_ext
9303 cat >>conftest.$ac_ext <<_ACEOF
9304 /* end confdefs.h. */
9306 /* Override any gcc2 internal prototype to avoid an error. */
9310 /* We use char because int might match the return type of a gcc2
9311 builtin and then its argument prototype would still apply. */
9321 rm -f conftest.$ac_objext conftest$ac_exeext
9322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9323 (eval $ac_link) 2>conftest.er1
9325 grep -v '^ *+' conftest.er1 >conftest.err
9327 cat conftest.err >&5
9328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9329 (exit $ac_status); } &&
9330 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9335 (exit $ac_status); }; } &&
9336 { ac_try='test -s conftest$ac_exeext'
9337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9341 (exit $ac_status); }; }; then
9342 ac_cv_lib_m_tanf=yes
9344 echo "$as_me: failed program was:" >&5
9345 sed 's/^/| /' conftest.$ac_ext >&5
9349 rm -f conftest.err conftest.$ac_objext \
9350 conftest$ac_exeext conftest.$ac_ext
9351 LIBS=$ac_check_lib_save_LIBS
9353 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
9354 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
9355 if test $ac_cv_lib_m_tanf = yes; then
9357 cat >>confdefs.h <<\_ACEOF
9363 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
9364 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
9365 if test "${ac_cv_lib_m_tanhf+set}" = set; then
9366 echo $ECHO_N "(cached) $ECHO_C" >&6
9368 ac_check_lib_save_LIBS=$LIBS
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
9413 ac_cv_lib_m_tanhf=yes
9415 echo "$as_me: failed program was:" >&5
9416 sed 's/^/| /' conftest.$ac_ext >&5
9418 ac_cv_lib_m_tanhf=no
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_tanhf" >&5
9425 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
9426 if test $ac_cv_lib_m_tanhf = yes; then
9428 cat >>confdefs.h <<\_ACEOF
9429 #define HAVE_TANHF 1
9434 echo "$as_me:$LINENO: checking for erf in -lm" >&5
9435 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
9436 if test "${ac_cv_lib_m_erf+set}" = set; then
9437 echo $ECHO_N "(cached) $ECHO_C" >&6
9439 ac_check_lib_save_LIBS=$LIBS
9441 cat >conftest.$ac_ext <<_ACEOF
9444 cat confdefs.h >>conftest.$ac_ext
9445 cat >>conftest.$ac_ext <<_ACEOF
9446 /* end confdefs.h. */
9448 /* Override any gcc2 internal prototype to avoid an error. */
9452 /* We use char because int might match the return type of a gcc2
9453 builtin and then its argument prototype would still apply. */
9463 rm -f conftest.$ac_objext conftest$ac_exeext
9464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9465 (eval $ac_link) 2>conftest.er1
9467 grep -v '^ *+' conftest.er1 >conftest.err
9469 cat conftest.err >&5
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 (exit $ac_status); } &&
9472 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9477 (exit $ac_status); }; } &&
9478 { ac_try='test -s conftest$ac_exeext'
9479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9483 (exit $ac_status); }; }; then
9486 echo "$as_me: failed program was:" >&5
9487 sed 's/^/| /' conftest.$ac_ext >&5
9491 rm -f conftest.err conftest.$ac_objext \
9492 conftest$ac_exeext conftest.$ac_ext
9493 LIBS=$ac_check_lib_save_LIBS
9495 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
9496 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
9497 if test $ac_cv_lib_m_erf = yes; then
9499 cat >>confdefs.h <<\_ACEOF
9505 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
9506 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
9507 if test "${ac_cv_lib_m_erfc+set}" = set; then
9508 echo $ECHO_N "(cached) $ECHO_C" >&6
9510 ac_check_lib_save_LIBS=$LIBS
9512 cat >conftest.$ac_ext <<_ACEOF
9515 cat confdefs.h >>conftest.$ac_ext
9516 cat >>conftest.$ac_ext <<_ACEOF
9517 /* end confdefs.h. */
9519 /* Override any gcc2 internal prototype to avoid an error. */
9523 /* We use char because int might match the return type of a gcc2
9524 builtin and then its argument prototype would still apply. */
9534 rm -f conftest.$ac_objext conftest$ac_exeext
9535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9536 (eval $ac_link) 2>conftest.er1
9538 grep -v '^ *+' conftest.er1 >conftest.err
9540 cat conftest.err >&5
9541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9542 (exit $ac_status); } &&
9543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9548 (exit $ac_status); }; } &&
9549 { ac_try='test -s conftest$ac_exeext'
9550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9554 (exit $ac_status); }; }; then
9555 ac_cv_lib_m_erfc=yes
9557 echo "$as_me: failed program was:" >&5
9558 sed 's/^/| /' conftest.$ac_ext >&5
9562 rm -f conftest.err conftest.$ac_objext \
9563 conftest$ac_exeext conftest.$ac_ext
9564 LIBS=$ac_check_lib_save_LIBS
9566 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
9567 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
9568 if test $ac_cv_lib_m_erfc = yes; then
9570 cat >>confdefs.h <<\_ACEOF
9576 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
9577 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
9578 if test "${ac_cv_lib_m_erfcf+set}" = set; then
9579 echo $ECHO_N "(cached) $ECHO_C" >&6
9581 ac_check_lib_save_LIBS=$LIBS
9583 cat >conftest.$ac_ext <<_ACEOF
9586 cat confdefs.h >>conftest.$ac_ext
9587 cat >>conftest.$ac_ext <<_ACEOF
9588 /* end confdefs.h. */
9590 /* Override any gcc2 internal prototype to avoid an error. */
9594 /* We use char because int might match the return type of a gcc2
9595 builtin and then its argument prototype would still apply. */
9605 rm -f conftest.$ac_objext conftest$ac_exeext
9606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9607 (eval $ac_link) 2>conftest.er1
9609 grep -v '^ *+' conftest.er1 >conftest.err
9611 cat conftest.err >&5
9612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9613 (exit $ac_status); } &&
9614 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9619 (exit $ac_status); }; } &&
9620 { ac_try='test -s conftest$ac_exeext'
9621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9625 (exit $ac_status); }; }; then
9626 ac_cv_lib_m_erfcf=yes
9628 echo "$as_me: failed program was:" >&5
9629 sed 's/^/| /' conftest.$ac_ext >&5
9631 ac_cv_lib_m_erfcf=no
9633 rm -f conftest.err conftest.$ac_objext \
9634 conftest$ac_exeext conftest.$ac_ext
9635 LIBS=$ac_check_lib_save_LIBS
9637 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
9638 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
9639 if test $ac_cv_lib_m_erfcf = yes; then
9641 cat >>confdefs.h <<\_ACEOF
9642 #define HAVE_ERFCF 1
9647 echo "$as_me:$LINENO: checking for erff in -lm" >&5
9648 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
9649 if test "${ac_cv_lib_m_erff+set}" = set; then
9650 echo $ECHO_N "(cached) $ECHO_C" >&6
9652 ac_check_lib_save_LIBS=$LIBS
9654 cat >conftest.$ac_ext <<_ACEOF
9657 cat confdefs.h >>conftest.$ac_ext
9658 cat >>conftest.$ac_ext <<_ACEOF
9659 /* end confdefs.h. */
9661 /* Override any gcc2 internal prototype to avoid an error. */
9665 /* We use char because int might match the return type of a gcc2
9666 builtin and then its argument prototype would still apply. */
9676 rm -f conftest.$ac_objext conftest$ac_exeext
9677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9678 (eval $ac_link) 2>conftest.er1
9680 grep -v '^ *+' conftest.er1 >conftest.err
9682 cat conftest.err >&5
9683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9684 (exit $ac_status); } &&
9685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9690 (exit $ac_status); }; } &&
9691 { ac_try='test -s conftest$ac_exeext'
9692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9696 (exit $ac_status); }; }; then
9697 ac_cv_lib_m_erff=yes
9699 echo "$as_me: failed program was:" >&5
9700 sed 's/^/| /' conftest.$ac_ext >&5
9704 rm -f conftest.err conftest.$ac_objext \
9705 conftest$ac_exeext conftest.$ac_ext
9706 LIBS=$ac_check_lib_save_LIBS
9708 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
9709 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
9710 if test $ac_cv_lib_m_erff = yes; then
9712 cat >>confdefs.h <<\_ACEOF
9718 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
9719 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
9720 if test "${ac_cv_lib_m_j0+set}" = set; then
9721 echo $ECHO_N "(cached) $ECHO_C" >&6
9723 ac_check_lib_save_LIBS=$LIBS
9725 cat >conftest.$ac_ext <<_ACEOF
9728 cat confdefs.h >>conftest.$ac_ext
9729 cat >>conftest.$ac_ext <<_ACEOF
9730 /* end confdefs.h. */
9732 /* Override any gcc2 internal prototype to avoid an error. */
9736 /* We use char because int might match the return type of a gcc2
9737 builtin and then its argument prototype would still apply. */
9747 rm -f conftest.$ac_objext conftest$ac_exeext
9748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9749 (eval $ac_link) 2>conftest.er1
9751 grep -v '^ *+' conftest.er1 >conftest.err
9753 cat conftest.err >&5
9754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9755 (exit $ac_status); } &&
9756 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9761 (exit $ac_status); }; } &&
9762 { ac_try='test -s conftest$ac_exeext'
9763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9767 (exit $ac_status); }; }; then
9770 echo "$as_me: failed program was:" >&5
9771 sed 's/^/| /' conftest.$ac_ext >&5
9775 rm -f conftest.err conftest.$ac_objext \
9776 conftest$ac_exeext conftest.$ac_ext
9777 LIBS=$ac_check_lib_save_LIBS
9779 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
9780 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
9781 if test $ac_cv_lib_m_j0 = yes; then
9783 cat >>confdefs.h <<\_ACEOF
9789 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
9790 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
9791 if test "${ac_cv_lib_m_j0f+set}" = set; then
9792 echo $ECHO_N "(cached) $ECHO_C" >&6
9794 ac_check_lib_save_LIBS=$LIBS
9796 cat >conftest.$ac_ext <<_ACEOF
9799 cat confdefs.h >>conftest.$ac_ext
9800 cat >>conftest.$ac_ext <<_ACEOF
9801 /* end confdefs.h. */
9803 /* Override any gcc2 internal prototype to avoid an error. */
9807 /* We use char because int might match the return type of a gcc2
9808 builtin and then its argument prototype would still apply. */
9818 rm -f conftest.$ac_objext conftest$ac_exeext
9819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9820 (eval $ac_link) 2>conftest.er1
9822 grep -v '^ *+' conftest.er1 >conftest.err
9824 cat conftest.err >&5
9825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9826 (exit $ac_status); } &&
9827 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9832 (exit $ac_status); }; } &&
9833 { ac_try='test -s conftest$ac_exeext'
9834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9838 (exit $ac_status); }; }; then
9841 echo "$as_me: failed program was:" >&5
9842 sed 's/^/| /' conftest.$ac_ext >&5
9846 rm -f conftest.err conftest.$ac_objext \
9847 conftest$ac_exeext conftest.$ac_ext
9848 LIBS=$ac_check_lib_save_LIBS
9850 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
9851 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
9852 if test $ac_cv_lib_m_j0f = yes; then
9854 cat >>confdefs.h <<\_ACEOF
9860 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
9861 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
9862 if test "${ac_cv_lib_m_j1+set}" = set; then
9863 echo $ECHO_N "(cached) $ECHO_C" >&6
9865 ac_check_lib_save_LIBS=$LIBS
9867 cat >conftest.$ac_ext <<_ACEOF
9870 cat confdefs.h >>conftest.$ac_ext
9871 cat >>conftest.$ac_ext <<_ACEOF
9872 /* end confdefs.h. */
9874 /* Override any gcc2 internal prototype to avoid an error. */
9878 /* We use char because int might match the return type of a gcc2
9879 builtin and then its argument prototype would still apply. */
9889 rm -f conftest.$ac_objext conftest$ac_exeext
9890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9891 (eval $ac_link) 2>conftest.er1
9893 grep -v '^ *+' conftest.er1 >conftest.err
9895 cat conftest.err >&5
9896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9897 (exit $ac_status); } &&
9898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9903 (exit $ac_status); }; } &&
9904 { ac_try='test -s conftest$ac_exeext'
9905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9909 (exit $ac_status); }; }; then
9912 echo "$as_me: failed program was:" >&5
9913 sed 's/^/| /' conftest.$ac_ext >&5
9917 rm -f conftest.err conftest.$ac_objext \
9918 conftest$ac_exeext conftest.$ac_ext
9919 LIBS=$ac_check_lib_save_LIBS
9921 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
9922 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
9923 if test $ac_cv_lib_m_j1 = yes; then
9925 cat >>confdefs.h <<\_ACEOF
9931 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
9932 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
9933 if test "${ac_cv_lib_m_j1f+set}" = set; then
9934 echo $ECHO_N "(cached) $ECHO_C" >&6
9936 ac_check_lib_save_LIBS=$LIBS
9938 cat >conftest.$ac_ext <<_ACEOF
9941 cat confdefs.h >>conftest.$ac_ext
9942 cat >>conftest.$ac_ext <<_ACEOF
9943 /* end confdefs.h. */
9945 /* Override any gcc2 internal prototype to avoid an error. */
9949 /* We use char because int might match the return type of a gcc2
9950 builtin and then its argument prototype would still apply. */
9960 rm -f conftest.$ac_objext conftest$ac_exeext
9961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9962 (eval $ac_link) 2>conftest.er1
9964 grep -v '^ *+' conftest.er1 >conftest.err
9966 cat conftest.err >&5
9967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9968 (exit $ac_status); } &&
9969 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9974 (exit $ac_status); }; } &&
9975 { ac_try='test -s conftest$ac_exeext'
9976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9980 (exit $ac_status); }; }; then
9983 echo "$as_me: failed program was:" >&5
9984 sed 's/^/| /' conftest.$ac_ext >&5
9988 rm -f conftest.err conftest.$ac_objext \
9989 conftest$ac_exeext conftest.$ac_ext
9990 LIBS=$ac_check_lib_save_LIBS
9992 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
9993 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
9994 if test $ac_cv_lib_m_j1f = yes; then
9996 cat >>confdefs.h <<\_ACEOF
10002 echo "$as_me:$LINENO: checking for jn in -lm" >&5
10003 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
10004 if test "${ac_cv_lib_m_jn+set}" = set; then
10005 echo $ECHO_N "(cached) $ECHO_C" >&6
10007 ac_check_lib_save_LIBS=$LIBS
10009 cat >conftest.$ac_ext <<_ACEOF
10012 cat confdefs.h >>conftest.$ac_ext
10013 cat >>conftest.$ac_ext <<_ACEOF
10014 /* end confdefs.h. */
10016 /* Override any gcc2 internal prototype to avoid an error. */
10020 /* We use char because int might match the return type of a gcc2
10021 builtin and then its argument prototype would still apply. */
10031 rm -f conftest.$ac_objext conftest$ac_exeext
10032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10033 (eval $ac_link) 2>conftest.er1
10035 grep -v '^ *+' conftest.er1 >conftest.err
10037 cat conftest.err >&5
10038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10039 (exit $ac_status); } &&
10040 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10042 (eval $ac_try) 2>&5
10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 (exit $ac_status); }; } &&
10046 { ac_try='test -s conftest$ac_exeext'
10047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10048 (eval $ac_try) 2>&5
10050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10051 (exit $ac_status); }; }; then
10054 echo "$as_me: failed program was:" >&5
10055 sed 's/^/| /' conftest.$ac_ext >&5
10059 rm -f conftest.err conftest.$ac_objext \
10060 conftest$ac_exeext conftest.$ac_ext
10061 LIBS=$ac_check_lib_save_LIBS
10063 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
10064 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
10065 if test $ac_cv_lib_m_jn = yes; then
10067 cat >>confdefs.h <<\_ACEOF
10073 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
10074 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
10075 if test "${ac_cv_lib_m_jnf+set}" = set; then
10076 echo $ECHO_N "(cached) $ECHO_C" >&6
10078 ac_check_lib_save_LIBS=$LIBS
10080 cat >conftest.$ac_ext <<_ACEOF
10083 cat confdefs.h >>conftest.$ac_ext
10084 cat >>conftest.$ac_ext <<_ACEOF
10085 /* end confdefs.h. */
10087 /* Override any gcc2 internal prototype to avoid an error. */
10091 /* We use char because int might match the return type of a gcc2
10092 builtin and then its argument prototype would still apply. */
10102 rm -f conftest.$ac_objext conftest$ac_exeext
10103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10104 (eval $ac_link) 2>conftest.er1
10106 grep -v '^ *+' conftest.er1 >conftest.err
10108 cat conftest.err >&5
10109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10110 (exit $ac_status); } &&
10111 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10113 (eval $ac_try) 2>&5
10115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10116 (exit $ac_status); }; } &&
10117 { ac_try='test -s conftest$ac_exeext'
10118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10119 (eval $ac_try) 2>&5
10121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10122 (exit $ac_status); }; }; then
10123 ac_cv_lib_m_jnf=yes
10125 echo "$as_me: failed program was:" >&5
10126 sed 's/^/| /' conftest.$ac_ext >&5
10130 rm -f conftest.err conftest.$ac_objext \
10131 conftest$ac_exeext conftest.$ac_ext
10132 LIBS=$ac_check_lib_save_LIBS
10134 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
10135 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
10136 if test $ac_cv_lib_m_jnf = yes; then
10138 cat >>confdefs.h <<\_ACEOF
10144 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
10145 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
10146 if test "${ac_cv_lib_m_y0+set}" = set; then
10147 echo $ECHO_N "(cached) $ECHO_C" >&6
10149 ac_check_lib_save_LIBS=$LIBS
10151 cat >conftest.$ac_ext <<_ACEOF
10154 cat confdefs.h >>conftest.$ac_ext
10155 cat >>conftest.$ac_ext <<_ACEOF
10156 /* end confdefs.h. */
10158 /* Override any gcc2 internal prototype to avoid an error. */
10162 /* We use char because int might match the return type of a gcc2
10163 builtin and then its argument prototype would still apply. */
10173 rm -f conftest.$ac_objext conftest$ac_exeext
10174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10175 (eval $ac_link) 2>conftest.er1
10177 grep -v '^ *+' conftest.er1 >conftest.err
10179 cat conftest.err >&5
10180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10181 (exit $ac_status); } &&
10182 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10184 (eval $ac_try) 2>&5
10186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10187 (exit $ac_status); }; } &&
10188 { ac_try='test -s conftest$ac_exeext'
10189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10190 (eval $ac_try) 2>&5
10192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10193 (exit $ac_status); }; }; then
10196 echo "$as_me: failed program was:" >&5
10197 sed 's/^/| /' conftest.$ac_ext >&5
10201 rm -f conftest.err conftest.$ac_objext \
10202 conftest$ac_exeext conftest.$ac_ext
10203 LIBS=$ac_check_lib_save_LIBS
10205 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
10206 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
10207 if test $ac_cv_lib_m_y0 = yes; then
10209 cat >>confdefs.h <<\_ACEOF
10215 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
10216 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
10217 if test "${ac_cv_lib_m_y0f+set}" = set; then
10218 echo $ECHO_N "(cached) $ECHO_C" >&6
10220 ac_check_lib_save_LIBS=$LIBS
10222 cat >conftest.$ac_ext <<_ACEOF
10225 cat confdefs.h >>conftest.$ac_ext
10226 cat >>conftest.$ac_ext <<_ACEOF
10227 /* end confdefs.h. */
10229 /* Override any gcc2 internal prototype to avoid an error. */
10233 /* We use char because int might match the return type of a gcc2
10234 builtin and then its argument prototype would still apply. */
10244 rm -f conftest.$ac_objext conftest$ac_exeext
10245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10246 (eval $ac_link) 2>conftest.er1
10248 grep -v '^ *+' conftest.er1 >conftest.err
10250 cat conftest.err >&5
10251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10252 (exit $ac_status); } &&
10253 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10255 (eval $ac_try) 2>&5
10257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10258 (exit $ac_status); }; } &&
10259 { ac_try='test -s conftest$ac_exeext'
10260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10261 (eval $ac_try) 2>&5
10263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10264 (exit $ac_status); }; }; then
10265 ac_cv_lib_m_y0f=yes
10267 echo "$as_me: failed program was:" >&5
10268 sed 's/^/| /' conftest.$ac_ext >&5
10272 rm -f conftest.err conftest.$ac_objext \
10273 conftest$ac_exeext conftest.$ac_ext
10274 LIBS=$ac_check_lib_save_LIBS
10276 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
10277 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
10278 if test $ac_cv_lib_m_y0f = yes; then
10280 cat >>confdefs.h <<\_ACEOF
10286 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
10287 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
10288 if test "${ac_cv_lib_m_y1+set}" = set; then
10289 echo $ECHO_N "(cached) $ECHO_C" >&6
10291 ac_check_lib_save_LIBS=$LIBS
10293 cat >conftest.$ac_ext <<_ACEOF
10296 cat confdefs.h >>conftest.$ac_ext
10297 cat >>conftest.$ac_ext <<_ACEOF
10298 /* end confdefs.h. */
10300 /* Override any gcc2 internal prototype to avoid an error. */
10304 /* We use char because int might match the return type of a gcc2
10305 builtin and then its argument prototype would still apply. */
10315 rm -f conftest.$ac_objext conftest$ac_exeext
10316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10317 (eval $ac_link) 2>conftest.er1
10319 grep -v '^ *+' conftest.er1 >conftest.err
10321 cat conftest.err >&5
10322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10323 (exit $ac_status); } &&
10324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10326 (eval $ac_try) 2>&5
10328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10329 (exit $ac_status); }; } &&
10330 { ac_try='test -s conftest$ac_exeext'
10331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10332 (eval $ac_try) 2>&5
10334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10335 (exit $ac_status); }; }; then
10338 echo "$as_me: failed program was:" >&5
10339 sed 's/^/| /' conftest.$ac_ext >&5
10343 rm -f conftest.err conftest.$ac_objext \
10344 conftest$ac_exeext conftest.$ac_ext
10345 LIBS=$ac_check_lib_save_LIBS
10347 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
10348 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
10349 if test $ac_cv_lib_m_y1 = yes; then
10351 cat >>confdefs.h <<\_ACEOF
10357 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
10358 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
10359 if test "${ac_cv_lib_m_y1f+set}" = set; then
10360 echo $ECHO_N "(cached) $ECHO_C" >&6
10362 ac_check_lib_save_LIBS=$LIBS
10364 cat >conftest.$ac_ext <<_ACEOF
10367 cat confdefs.h >>conftest.$ac_ext
10368 cat >>conftest.$ac_ext <<_ACEOF
10369 /* end confdefs.h. */
10371 /* Override any gcc2 internal prototype to avoid an error. */
10375 /* We use char because int might match the return type of a gcc2
10376 builtin and then its argument prototype would still apply. */
10386 rm -f conftest.$ac_objext conftest$ac_exeext
10387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10388 (eval $ac_link) 2>conftest.er1
10390 grep -v '^ *+' conftest.er1 >conftest.err
10392 cat conftest.err >&5
10393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10394 (exit $ac_status); } &&
10395 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
10401 { ac_try='test -s conftest$ac_exeext'
10402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10403 (eval $ac_try) 2>&5
10405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10406 (exit $ac_status); }; }; then
10407 ac_cv_lib_m_y1f=yes
10409 echo "$as_me: failed program was:" >&5
10410 sed 's/^/| /' conftest.$ac_ext >&5
10414 rm -f conftest.err conftest.$ac_objext \
10415 conftest$ac_exeext conftest.$ac_ext
10416 LIBS=$ac_check_lib_save_LIBS
10418 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
10419 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
10420 if test $ac_cv_lib_m_y1f = yes; then
10422 cat >>confdefs.h <<\_ACEOF
10428 echo "$as_me:$LINENO: checking for yn in -lm" >&5
10429 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
10430 if test "${ac_cv_lib_m_yn+set}" = set; then
10431 echo $ECHO_N "(cached) $ECHO_C" >&6
10433 ac_check_lib_save_LIBS=$LIBS
10435 cat >conftest.$ac_ext <<_ACEOF
10438 cat confdefs.h >>conftest.$ac_ext
10439 cat >>conftest.$ac_ext <<_ACEOF
10440 /* end confdefs.h. */
10442 /* Override any gcc2 internal prototype to avoid an error. */
10446 /* We use char because int might match the return type of a gcc2
10447 builtin and then its argument prototype would still apply. */
10457 rm -f conftest.$ac_objext conftest$ac_exeext
10458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10459 (eval $ac_link) 2>conftest.er1
10461 grep -v '^ *+' conftest.er1 >conftest.err
10463 cat conftest.err >&5
10464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465 (exit $ac_status); } &&
10466 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10468 (eval $ac_try) 2>&5
10470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10471 (exit $ac_status); }; } &&
10472 { ac_try='test -s conftest$ac_exeext'
10473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10474 (eval $ac_try) 2>&5
10476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10477 (exit $ac_status); }; }; then
10480 echo "$as_me: failed program was:" >&5
10481 sed 's/^/| /' conftest.$ac_ext >&5
10485 rm -f conftest.err conftest.$ac_objext \
10486 conftest$ac_exeext conftest.$ac_ext
10487 LIBS=$ac_check_lib_save_LIBS
10489 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
10490 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
10491 if test $ac_cv_lib_m_yn = yes; then
10493 cat >>confdefs.h <<\_ACEOF
10499 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
10500 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
10501 if test "${ac_cv_lib_m_ynf+set}" = set; then
10502 echo $ECHO_N "(cached) $ECHO_C" >&6
10504 ac_check_lib_save_LIBS=$LIBS
10506 cat >conftest.$ac_ext <<_ACEOF
10509 cat confdefs.h >>conftest.$ac_ext
10510 cat >>conftest.$ac_ext <<_ACEOF
10511 /* end confdefs.h. */
10513 /* Override any gcc2 internal prototype to avoid an error. */
10517 /* We use char because int might match the return type of a gcc2
10518 builtin and then its argument prototype would still apply. */
10528 rm -f conftest.$ac_objext conftest$ac_exeext
10529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10530 (eval $ac_link) 2>conftest.er1
10532 grep -v '^ *+' conftest.er1 >conftest.err
10534 cat conftest.err >&5
10535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10536 (exit $ac_status); } &&
10537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10539 (eval $ac_try) 2>&5
10541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10542 (exit $ac_status); }; } &&
10543 { ac_try='test -s conftest$ac_exeext'
10544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10545 (eval $ac_try) 2>&5
10547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10548 (exit $ac_status); }; }; then
10549 ac_cv_lib_m_ynf=yes
10551 echo "$as_me: failed program was:" >&5
10552 sed 's/^/| /' conftest.$ac_ext >&5
10556 rm -f conftest.err conftest.$ac_objext \
10557 conftest$ac_exeext conftest.$ac_ext
10558 LIBS=$ac_check_lib_save_LIBS
10560 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
10561 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
10562 if test $ac_cv_lib_m_ynf = yes; then
10564 cat >>confdefs.h <<\_ACEOF
10571 # Fallback in case isfinite is not available.
10572 echo "$as_me:$LINENO: checking for finite in -lm" >&5
10573 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
10574 if test "${ac_cv_lib_m_finite+set}" = set; then
10575 echo $ECHO_N "(cached) $ECHO_C" >&6
10577 ac_check_lib_save_LIBS=$LIBS
10579 cat >conftest.$ac_ext <<_ACEOF
10582 cat confdefs.h >>conftest.$ac_ext
10583 cat >>conftest.$ac_ext <<_ACEOF
10584 /* end confdefs.h. */
10586 /* Override any gcc2 internal prototype to avoid an error. */
10590 /* We use char because int might match the return type of a gcc2
10591 builtin and then its argument prototype would still apply. */
10601 rm -f conftest.$ac_objext conftest$ac_exeext
10602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10603 (eval $ac_link) 2>conftest.er1
10605 grep -v '^ *+' conftest.er1 >conftest.err
10607 cat conftest.err >&5
10608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10609 (exit $ac_status); } &&
10610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10612 (eval $ac_try) 2>&5
10614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10615 (exit $ac_status); }; } &&
10616 { ac_try='test -s conftest$ac_exeext'
10617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10618 (eval $ac_try) 2>&5
10620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10621 (exit $ac_status); }; }; then
10622 ac_cv_lib_m_finite=yes
10624 echo "$as_me: failed program was:" >&5
10625 sed 's/^/| /' conftest.$ac_ext >&5
10627 ac_cv_lib_m_finite=no
10629 rm -f conftest.err conftest.$ac_objext \
10630 conftest$ac_exeext conftest.$ac_ext
10631 LIBS=$ac_check_lib_save_LIBS
10633 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
10634 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
10635 if test $ac_cv_lib_m_finite = yes; then
10637 cat >>confdefs.h <<\_ACEOF
10638 #define HAVE_FINITE 1
10644 # Let the user override this
10645 # Check whether --enable-cmath or --disable-cmath was given.
10646 if test "${enable_cmath+set}" = set; then
10647 enableval="$enable_cmath"
10648 need_math=$enableval
10650 if test "$need_math" = "yes"; then
10651 { echo "$as_me:$LINENO: Including complex math functions in libgfor" >&5
10652 echo "$as_me: Including complex math functions in libgfor" >&6;};
10653 extra_math_obj='$(gfor_cmath_obj)'
10656 MATH_OBJ="$extra_math_obj"
10659 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
10660 # for struct timezone, as you might think. We also need to check how
10661 # to call gettimeofday if we have it.
10662 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10663 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
10664 if test "${ac_cv_header_time+set}" = set; then
10665 echo $ECHO_N "(cached) $ECHO_C" >&6
10667 cat >conftest.$ac_ext <<_ACEOF
10670 cat confdefs.h >>conftest.$ac_ext
10671 cat >>conftest.$ac_ext <<_ACEOF
10672 /* end confdefs.h. */
10673 #include <sys/types.h>
10674 #include <sys/time.h>
10680 if ((struct tm *) 0)
10686 rm -f conftest.$ac_objext
10687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10688 (eval $ac_compile) 2>conftest.er1
10690 grep -v '^ *+' conftest.er1 >conftest.err
10692 cat conftest.err >&5
10693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10694 (exit $ac_status); } &&
10695 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10697 (eval $ac_try) 2>&5
10699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10700 (exit $ac_status); }; } &&
10701 { ac_try='test -s conftest.$ac_objext'
10702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10703 (eval $ac_try) 2>&5
10705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10706 (exit $ac_status); }; }; then
10707 ac_cv_header_time=yes
10709 echo "$as_me: failed program was:" >&5
10710 sed 's/^/| /' conftest.$ac_ext >&5
10712 ac_cv_header_time=no
10714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10716 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10717 echo "${ECHO_T}$ac_cv_header_time" >&6
10718 if test $ac_cv_header_time = yes; then
10720 cat >>confdefs.h <<\_ACEOF
10721 #define TIME_WITH_SYS_TIME 1
10728 for ac_func in gettimeofday
10730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10731 echo "$as_me:$LINENO: checking for $ac_func" >&5
10732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10733 if eval "test \"\${$as_ac_var+set}\" = set"; then
10734 echo $ECHO_N "(cached) $ECHO_C" >&6
10736 cat >conftest.$ac_ext <<_ACEOF
10739 cat confdefs.h >>conftest.$ac_ext
10740 cat >>conftest.$ac_ext <<_ACEOF
10741 /* end confdefs.h. */
10742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10744 #define $ac_func innocuous_$ac_func
10746 /* System header to define __stub macros and hopefully few prototypes,
10747 which can conflict with char $ac_func (); below.
10748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10749 <limits.h> exists even on freestanding compilers. */
10752 # include <limits.h>
10754 # include <assert.h>
10759 /* Override any gcc2 internal prototype to avoid an error. */
10764 /* We use char because int might match the return type of a gcc2
10765 builtin and then its argument prototype would still apply. */
10767 /* The GNU C library defines this for functions which it implements
10768 to always fail with ENOSYS. Some functions are actually named
10769 something starting with __ and the normal name is an alias. */
10770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10773 char (*f) () = $ac_func;
10782 return f != $ac_func;
10787 rm -f conftest.$ac_objext conftest$ac_exeext
10788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10789 (eval $ac_link) 2>conftest.er1
10791 grep -v '^ *+' conftest.er1 >conftest.err
10793 cat conftest.err >&5
10794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10795 (exit $ac_status); } &&
10796 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10798 (eval $ac_try) 2>&5
10800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10801 (exit $ac_status); }; } &&
10802 { ac_try='test -s conftest$ac_exeext'
10803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10804 (eval $ac_try) 2>&5
10806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10807 (exit $ac_status); }; }; then
10808 eval "$as_ac_var=yes"
10810 echo "$as_me: failed program was:" >&5
10811 sed 's/^/| /' conftest.$ac_ext >&5
10813 eval "$as_ac_var=no"
10815 rm -f conftest.err conftest.$ac_objext \
10816 conftest$ac_exeext conftest.$ac_ext
10818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10820 if test `eval echo '${'$as_ac_var'}'` = yes; then
10821 cat >>confdefs.h <<_ACEOF
10822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10828 if test "$ac_cv_func_gettimeofday" = yes; then
10829 echo "$as_me:$LINENO: checking for struct timezone" >&5
10830 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
10831 if test "${gfor_cv_struct_timezone+set}" = set; then
10832 echo $ECHO_N "(cached) $ECHO_C" >&6
10834 cat >conftest.$ac_ext <<_ACEOF
10837 cat confdefs.h >>conftest.$ac_ext
10838 cat >>conftest.$ac_ext <<_ACEOF
10839 /* end confdefs.h. */
10840 #include <sys/time.h>
10844 struct timezone tz;
10849 rm -f conftest.$ac_objext
10850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10851 (eval $ac_compile) 2>conftest.er1
10853 grep -v '^ *+' conftest.er1 >conftest.err
10855 cat conftest.err >&5
10856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10857 (exit $ac_status); } &&
10858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10860 (eval $ac_try) 2>&5
10862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10863 (exit $ac_status); }; } &&
10864 { ac_try='test -s conftest.$ac_objext'
10865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10866 (eval $ac_try) 2>&5
10868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10869 (exit $ac_status); }; }; then
10870 gfor_cv_struct_timezone=yes
10872 echo "$as_me: failed program was:" >&5
10873 sed 's/^/| /' conftest.$ac_ext >&5
10875 gfor_cv_struct_timezone=no
10877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10879 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
10880 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
10881 if test $gfor_cv_struct_timezone = yes; then
10882 if test "$cross_compiling" = yes; then
10883 gfor_have_struct_timezone=yes
10885 cat >conftest.$ac_ext <<_ACEOF
10888 cat confdefs.h >>conftest.$ac_ext
10889 cat >>conftest.$ac_ext <<_ACEOF
10890 /* end confdefs.h. */
10892 #ifdef TIME_WITH_SYS_TIME
10893 #include <sys/time.h>
10896 #ifdef HAVE_SYS_TIME_H
10897 #include <sys/time.h>
10904 struct timeval time;
10905 struct timezone dummy;
10906 if (gettimeofday (&time, &dummy))
10912 rm -f conftest$ac_exeext
10913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10914 (eval $ac_link) 2>&5
10916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10917 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10919 (eval $ac_try) 2>&5
10921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10922 (exit $ac_status); }; }; then
10923 gfor_have_struct_timezone=yes
10925 echo "$as_me: program exited with status $ac_status" >&5
10926 echo "$as_me: failed program was:" >&5
10927 sed 's/^/| /' conftest.$ac_ext >&5
10929 ( exit $ac_status )
10930 gfor_have_struct_timezone=no
10932 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10934 if test $gfor_have_struct_timezone = yes; then
10936 cat >>confdefs.h <<\_ACEOF
10937 #define HAVE_TIMEZONE 1
10943 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
10944 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
10945 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
10946 echo $ECHO_N "(cached) $ECHO_C" >&6
10948 cat >conftest.$ac_ext <<_ACEOF
10951 cat confdefs.h >>conftest.$ac_ext
10952 cat >>conftest.$ac_ext <<_ACEOF
10953 /* end confdefs.h. */
10955 #ifdef TIME_WITH_SYS_TIME
10956 #include <sys/time.h>
10959 #ifdef HAVE_SYS_TIME_H
10960 #include <sys/time.h>
10970 struct timeval time;
10971 #ifdef HAVE_TIMEZONE
10972 struct timezone dummy;
10973 #define DUMMY &dummy
10977 gettimeofday (&time, DUMMY);
10982 rm -f conftest.$ac_objext conftest$ac_exeext
10983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10984 (eval $ac_link) 2>conftest.er1
10986 grep -v '^ *+' conftest.er1 >conftest.err
10988 cat conftest.err >&5
10989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10990 (exit $ac_status); } &&
10991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10993 (eval $ac_try) 2>&5
10995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10996 (exit $ac_status); }; } &&
10997 { ac_try='test -s conftest$ac_exeext'
10998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10999 (eval $ac_try) 2>&5
11001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11002 (exit $ac_status); }; }; then
11003 emacs_cv_gettimeofday_two_arguments=yes
11005 echo "$as_me: failed program was:" >&5
11006 sed 's/^/| /' conftest.$ac_ext >&5
11008 emacs_cv_gettimeofday_two_arguments=no
11010 rm -f conftest.err conftest.$ac_objext \
11011 conftest$ac_exeext conftest.$ac_ext
11013 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
11014 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11015 if test $emacs_cv_gettimeofday_two_arguments = no; then
11017 cat >>confdefs.h <<\_ACEOF
11018 #define GETTIMEOFDAY_ONE_ARGUMENT 1
11024 # Attempt to assert that the target is of common type in case we don't
11025 # have C99 integer types at all.
11027 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
11028 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
11029 if test "${target_ilp32+set}" = set; then
11030 echo $ECHO_N "(cached) $ECHO_C" >&6
11033 save_CFLAGS="$CFLAGS"
11035 cat >conftest.$ac_ext <<_ACEOF
11038 cat confdefs.h >>conftest.$ac_ext
11039 cat >>conftest.$ac_ext <<_ACEOF
11040 /* end confdefs.h. */
11046 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
11049 undefined_function ();
11055 rm -f conftest.$ac_objext conftest$ac_exeext
11056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11057 (eval $ac_link) 2>conftest.er1
11059 grep -v '^ *+' conftest.er1 >conftest.err
11061 cat conftest.err >&5
11062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11063 (exit $ac_status); } &&
11064 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11066 (eval $ac_try) 2>&5
11068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11069 (exit $ac_status); }; } &&
11070 { ac_try='test -s conftest$ac_exeext'
11071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11072 (eval $ac_try) 2>&5
11074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11075 (exit $ac_status); }; }; then
11078 echo "$as_me: failed program was:" >&5
11079 sed 's/^/| /' conftest.$ac_ext >&5
11083 rm -f conftest.err conftest.$ac_objext \
11084 conftest$ac_exeext conftest.$ac_ext
11085 CFLAGS="$save_CFLAGS"
11087 echo "$as_me:$LINENO: result: $target_ilp32" >&5
11088 echo "${ECHO_T}$target_ilp32" >&6
11089 if test $target_ilp32 = yes; then
11091 cat >>confdefs.h <<\_ACEOF
11092 #define TARGET_ILP32 1
11098 # Check out attribute support.
11100 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
11101 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
11102 if test "${have_attribute_visibility+set}" = set; then
11103 echo $ECHO_N "(cached) $ECHO_C" >&6
11106 save_CFLAGS="$CFLAGS"
11107 CFLAGS="$CFLAGS -Werror"
11108 cat >conftest.$ac_ext <<_ACEOF
11111 cat confdefs.h >>conftest.$ac_ext
11112 cat >>conftest.$ac_ext <<_ACEOF
11113 /* end confdefs.h. */
11114 void __attribute__((visibility("hidden"))) foo(void) { }
11123 rm -f conftest.$ac_objext
11124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11125 (eval $ac_compile) 2>conftest.er1
11127 grep -v '^ *+' conftest.er1 >conftest.err
11129 cat conftest.err >&5
11130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11131 (exit $ac_status); } &&
11132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11134 (eval $ac_try) 2>&5
11136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11137 (exit $ac_status); }; } &&
11138 { ac_try='test -s conftest.$ac_objext'
11139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11140 (eval $ac_try) 2>&5
11142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 (exit $ac_status); }; }; then
11144 have_attribute_visibility=yes
11146 echo "$as_me: failed program was:" >&5
11147 sed 's/^/| /' conftest.$ac_ext >&5
11149 have_attribute_visibility=no
11151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11152 CFLAGS="$save_CFLAGS"
11154 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
11155 echo "${ECHO_T}$have_attribute_visibility" >&6
11156 if test $have_attribute_visibility = yes; then
11158 cat >>confdefs.h <<\_ACEOF
11159 #define HAVE_ATTRIBUTE_VISIBILITY 1
11164 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
11165 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
11166 if test "${have_attribute_dllexport+set}" = set; then
11167 echo $ECHO_N "(cached) $ECHO_C" >&6
11170 save_CFLAGS="$CFLAGS"
11171 CFLAGS="$CFLAGS -Werror"
11172 cat >conftest.$ac_ext <<_ACEOF
11175 cat confdefs.h >>conftest.$ac_ext
11176 cat >>conftest.$ac_ext <<_ACEOF
11177 /* end confdefs.h. */
11178 void __attribute__((dllexport)) foo(void) { }
11187 rm -f conftest.$ac_objext
11188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11189 (eval $ac_compile) 2>conftest.er1
11191 grep -v '^ *+' conftest.er1 >conftest.err
11193 cat conftest.err >&5
11194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11195 (exit $ac_status); } &&
11196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11198 (eval $ac_try) 2>&5
11200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11201 (exit $ac_status); }; } &&
11202 { ac_try='test -s conftest.$ac_objext'
11203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11204 (eval $ac_try) 2>&5
11206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207 (exit $ac_status); }; }; then
11208 have_attribute_dllexport=yes
11210 echo "$as_me: failed program was:" >&5
11211 sed 's/^/| /' conftest.$ac_ext >&5
11213 have_attribute_dllexport=no
11215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11216 CFLAGS="$save_CFLAGS"
11218 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
11219 echo "${ECHO_T}$have_attribute_dllexport" >&6
11220 if test $have_attribute_dllexport = yes; then
11222 cat >>confdefs.h <<\_ACEOF
11223 #define HAVE_ATTRIBUTE_DLLEXPORT 1
11228 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
11229 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
11230 if test "${have_attribute_alias+set}" = set; then
11231 echo $ECHO_N "(cached) $ECHO_C" >&6
11234 cat >conftest.$ac_ext <<_ACEOF
11237 cat confdefs.h >>conftest.$ac_ext
11238 cat >>conftest.$ac_ext <<_ACEOF
11239 /* end confdefs.h. */
11241 #define ULP STR1(__USER_LABEL_PREFIX__)
11242 #define STR1(x) STR2(x)
11245 extern void bar(void) __attribute__((alias(ULP "foo")));
11254 rm -f conftest.$ac_objext conftest$ac_exeext
11255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11256 (eval $ac_link) 2>conftest.er1
11258 grep -v '^ *+' conftest.er1 >conftest.err
11260 cat conftest.err >&5
11261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11262 (exit $ac_status); } &&
11263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11265 (eval $ac_try) 2>&5
11267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268 (exit $ac_status); }; } &&
11269 { ac_try='test -s conftest$ac_exeext'
11270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11271 (eval $ac_try) 2>&5
11273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11274 (exit $ac_status); }; }; then
11275 have_attribute_alias=yes
11277 echo "$as_me: failed program was:" >&5
11278 sed 's/^/| /' conftest.$ac_ext >&5
11280 have_attribute_alias=no
11282 rm -f conftest.err conftest.$ac_objext \
11283 conftest$ac_exeext conftest.$ac_ext
11285 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
11286 echo "${ECHO_T}$have_attribute_alias" >&6
11287 if test $have_attribute_alias = yes; then
11289 cat >>confdefs.h <<\_ACEOF
11290 #define HAVE_ATTRIBUTE_ALIAS 1
11295 cat >confcache <<\_ACEOF
11296 # This file is a shell script that caches the results of configure
11297 # tests run on this system so they can be shared between configure
11298 # scripts and configure runs, see configure's option --config-cache.
11299 # It is not useful on other systems. If it contains results you don't
11300 # want to keep, you may remove or edit it.
11302 # config.status only pays attention to the cache file if you give it
11303 # the --recheck option to rerun configure.
11305 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11306 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11307 # following values.
11311 # The following way of writing the cache mishandles newlines in values,
11312 # but we know of no workaround that is simple, portable, and efficient.
11313 # So, don't put newlines in cache variables' values.
11314 # Ultrix sh set writes to stderr and can't be redirected directly,
11315 # and sets the high bit in the cache file unless we assign to the vars.
11318 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11320 # `set' does not quote correctly, so add quotes (double-quote
11321 # substitution turns \\\\ into \\, and sed turns \\ into \).
11324 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11327 # `set' quotes correctly as required by POSIX, so do not add quotes.
11329 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11336 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11338 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11340 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11341 if test -w $cache_file; then
11342 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11343 cat confcache >$cache_file
11345 echo "not updating unwritable cache $cache_file"
11350 if test ${multilib} = yes; then
11351 multilib_arg="--enable-multilib"
11356 # Write our Makefile.
11357 ac_config_files="$ac_config_files Makefile"
11359 cat >confcache <<\_ACEOF
11360 # This file is a shell script that caches the results of configure
11361 # tests run on this system so they can be shared between configure
11362 # scripts and configure runs, see configure's option --config-cache.
11363 # It is not useful on other systems. If it contains results you don't
11364 # want to keep, you may remove or edit it.
11366 # config.status only pays attention to the cache file if you give it
11367 # the --recheck option to rerun configure.
11369 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11370 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11371 # following values.
11375 # The following way of writing the cache mishandles newlines in values,
11376 # but we know of no workaround that is simple, portable, and efficient.
11377 # So, don't put newlines in cache variables' values.
11378 # Ultrix sh set writes to stderr and can't be redirected directly,
11379 # and sets the high bit in the cache file unless we assign to the vars.
11382 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11384 # `set' does not quote correctly, so add quotes (double-quote
11385 # substitution turns \\\\ into \\, and sed turns \\ into \).
11388 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11391 # `set' quotes correctly as required by POSIX, so do not add quotes.
11393 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11400 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11402 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11404 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11405 if test -w $cache_file; then
11406 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11407 cat confcache >$cache_file
11409 echo "not updating unwritable cache $cache_file"
11414 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11415 # Let make expand exec_prefix.
11416 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11418 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11419 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11420 # trailing colons and then remove the whole line if VPATH becomes empty
11421 # (actually we leave an empty line to preserve line numbers).
11422 if test "x$srcdir" = x.; then
11423 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11424 s/:*\$(srcdir):*/:/;
11425 s/:*\${srcdir}:*/:/;
11427 s/^\([^=]*=[ ]*\):*/\1/;
11433 DEFS=-DHAVE_CONFIG_H
11437 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11438 # 1. Remove the extension, and $U if already installed.
11439 ac_i=`echo "$ac_i" |
11440 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11442 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
11443 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
11445 LIBOBJS=$ac_libobjs
11447 LTLIBOBJS=$ac_ltlibobjs
11450 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11451 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11452 Usually this means the macro was only invoked conditionally." >&5
11453 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11454 Usually this means the macro was only invoked conditionally." >&2;}
11455 { (exit 1); exit 1; }; }
11458 : ${CONFIG_STATUS=./config.status}
11459 ac_clean_files_save=$ac_clean_files
11460 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11461 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11462 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11463 cat >$CONFIG_STATUS <<_ACEOF
11465 # Generated by $as_me.
11466 # Run this file to recreate the current configuration.
11467 # Compiler output produced by configure, useful for debugging
11468 # configure, is in config.log if it exists.
11471 ac_cs_recheck=false
11473 SHELL=\${CONFIG_SHELL-$SHELL}
11476 cat >>$CONFIG_STATUS <<\_ACEOF
11477 ## --------------------- ##
11478 ## M4sh Initialization. ##
11479 ## --------------------- ##
11481 # Be Bourne compatible
11482 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11485 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11486 # is contrary to our usage. Disable this feature.
11487 alias -g '${1+"$@"}'='"$@"'
11488 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
11491 DUALCASE=1; export DUALCASE # for MKS sh
11493 # Support unset when possible.
11494 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11501 # Work around bugs in pre-3.0 UWIN ksh.
11502 $as_unset ENV MAIL MAILPATH
11509 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11510 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11511 LC_TELEPHONE LC_TIME
11513 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11514 eval $as_var=C; export $as_var
11520 # Required to use basename.
11521 if expr a : '\(a\)' >/dev/null 2>&1; then
11527 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
11528 as_basename=basename
11534 # Name of the executable.
11535 as_me=`$as_basename "$0" ||
11536 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11537 X"$0" : 'X\(//\)$' \| \
11538 X"$0" : 'X\(/\)$' \| \
11539 . : '\(.\)' 2>/dev/null ||
11541 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11542 /^X\/\(\/\/\)$/{ s//\1/; q; }
11543 /^X\/\(\/\).*/{ s//\1/; q; }
11547 # PATH needs CR, and LINENO needs CR and PATH.
11548 # Avoid depending upon Character Ranges.
11549 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11550 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11551 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11552 as_cr_digits='0123456789'
11553 as_cr_alnum=$as_cr_Letters$as_cr_digits
11555 # The user is always right.
11556 if test "${PATH_SEPARATOR+set}" != set; then
11557 echo "#! /bin/sh" >conf$$.sh
11558 echo "exit 0" >>conf$$.sh
11560 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11569 as_lineno_1=$LINENO
11570 as_lineno_2=$LINENO
11571 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11572 test "x$as_lineno_1" != "x$as_lineno_2" &&
11573 test "x$as_lineno_3" = "x$as_lineno_2" || {
11574 # Find who we are. Look in the path if we contain no path at all
11577 *[\\/]* ) as_myself=$0 ;;
11578 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11579 for as_dir in $PATH
11582 test -z "$as_dir" && as_dir=.
11583 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11588 # We did not find ourselves, most probably we were run as `sh COMMAND'
11589 # in which case we are not to be found in the path.
11590 if test "x$as_myself" = x; then
11593 if test ! -f "$as_myself"; then
11594 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11595 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11596 { (exit 1); exit 1; }; }
11598 case $CONFIG_SHELL in
11600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11601 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
11604 test -z "$as_dir" && as_dir=.
11605 for as_base in sh bash ksh sh5; do
11608 if ("$as_dir/$as_base" -c '
11609 as_lineno_1=$LINENO
11610 as_lineno_2=$LINENO
11611 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11612 test "x$as_lineno_1" != "x$as_lineno_2" &&
11613 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
11614 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
11615 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
11616 CONFIG_SHELL=$as_dir/$as_base
11617 export CONFIG_SHELL
11618 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11626 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11627 # uniformly replaced by the line number. The first 'sed' inserts a
11628 # line-number line before each line; the second 'sed' does the real
11629 # work. The second script uses 'N' to pair each line-number line
11630 # with the numbered line, and appends trailing '-' during
11631 # substitution so that $LINENO is not a special case at line end.
11632 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11633 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11634 sed '=' <$as_myself |
11639 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11642 s,^['$as_cr_digits']*\n,,
11643 ' >$as_me.lineno &&
11644 chmod +x $as_me.lineno ||
11645 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11646 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11647 { (exit 1); exit 1; }; }
11649 # Don't try to exec as it changes $[0], causing all sort of problems
11650 # (the dirname of $[0] is not the place where we might find the
11651 # original and so on. Autoconf is especially sensible to this).
11653 # Exit status is that of the last command.
11658 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11659 *c*,-n*) ECHO_N= ECHO_C='
11661 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
11662 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
11665 if expr a : '\(a\)' >/dev/null 2>&1; then
11671 rm -f conf$$ conf$$.exe conf$$.file
11673 if ln -s conf$$.file conf$$ 2>/dev/null; then
11674 # We could just check for DJGPP; but this test a) works b) is more generic
11675 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11676 if test -f conf$$.exe; then
11677 # Don't use ln at all; we don't have any links
11682 elif ln conf$$.file conf$$ 2>/dev/null; then
11687 rm -f conf$$ conf$$.exe conf$$.file
11689 if mkdir -p . 2>/dev/null; then
11692 test -d ./-p && rmdir ./-p
11696 as_executable_p="test -f"
11698 # Sed expression to map a string onto a valid CPP name.
11699 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11701 # Sed expression to map a string onto a valid variable name.
11702 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11706 # We need space, tab and new line, in precisely that order.
11716 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11717 # report actual input values of CONFIG_FILES etc. instead of their
11718 # values after options handling. Logging --version etc. is OK.
11722 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11723 ## Running $as_me. ##
11728 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
11729 generated by GNU Autoconf 2.59. Invocation command line was
11731 CONFIG_FILES = $CONFIG_FILES
11732 CONFIG_HEADERS = $CONFIG_HEADERS
11733 CONFIG_LINKS = $CONFIG_LINKS
11734 CONFIG_COMMANDS = $CONFIG_COMMANDS
11738 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11742 # Files that config.status was made for.
11743 if test -n "$ac_config_files"; then
11744 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11747 if test -n "$ac_config_headers"; then
11748 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11751 if test -n "$ac_config_links"; then
11752 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11755 if test -n "$ac_config_commands"; then
11756 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11759 cat >>$CONFIG_STATUS <<\_ACEOF
11762 \`$as_me' instantiates files from templates according to the
11763 current configuration.
11765 Usage: $0 [OPTIONS] [FILE]...
11767 -h, --help print this help, then exit
11768 -V, --version print version number, then exit
11769 -q, --quiet do not print progress messages
11770 -d, --debug don't remove temporary files
11771 --recheck update $as_me by reconfiguring in the same conditions
11772 --file=FILE[:TEMPLATE]
11773 instantiate the configuration file FILE
11774 --header=FILE[:TEMPLATE]
11775 instantiate the configuration header FILE
11777 Configuration files:
11780 Configuration headers:
11783 Configuration commands:
11786 Report bugs to <bug-autoconf@gnu.org>."
11789 cat >>$CONFIG_STATUS <<_ACEOF
11791 GNU Fortran Runtime Library config.status 0.2
11792 configured by $0, generated by GNU Autoconf 2.59,
11793 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11795 Copyright (C) 2003 Free Software Foundation, Inc.
11796 This config.status script is free software; the Free Software Foundation
11797 gives unlimited permission to copy, distribute and modify it."
11802 cat >>$CONFIG_STATUS <<\_ACEOF
11803 # If no file are specified by the user, then we need to provide default
11804 # value. By we need to know if files were specified by the user.
11810 ac_option=`expr "x$1" : 'x\([^=]*\)='`
11811 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
11819 *) # This is not an option, so the user has probably given explicit
11822 ac_need_defaults=false;;
11826 # Handling of the options.
11828 cat >>$CONFIG_STATUS <<\_ACEOF
11829 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11831 --version | --vers* | -V )
11832 echo "$ac_cs_version"; exit 0 ;;
11834 # Conflict between --help and --header
11835 { { echo "$as_me:$LINENO: error: ambiguous option: $1
11836 Try \`$0 --help' for more information." >&5
11837 echo "$as_me: error: ambiguous option: $1
11838 Try \`$0 --help' for more information." >&2;}
11839 { (exit 1); exit 1; }; };;
11840 --help | --hel | -h )
11841 echo "$ac_cs_usage"; exit 0 ;;
11842 --debug | --d* | -d )
11844 --file | --fil | --fi | --f )
11846 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
11847 ac_need_defaults=false;;
11848 --header | --heade | --head | --hea )
11850 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
11851 ac_need_defaults=false;;
11852 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11853 | -silent | --silent | --silen | --sile | --sil | --si | --s)
11856 # This is an error.
11857 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11858 Try \`$0 --help' for more information." >&5
11859 echo "$as_me: error: unrecognized option: $1
11860 Try \`$0 --help' for more information." >&2;}
11861 { (exit 1); exit 1; }; } ;;
11863 *) ac_config_targets="$ac_config_targets $1" ;;
11869 ac_configure_extra_args=
11871 if $ac_cs_silent; then
11873 ac_configure_extra_args="$ac_configure_extra_args --silent"
11877 cat >>$CONFIG_STATUS <<_ACEOF
11878 if \$ac_cs_recheck; then
11879 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11880 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11885 cat >>$CONFIG_STATUS <<_ACEOF
11887 # INIT-COMMANDS section.
11894 with_multisubdir="$with_multisubdir"
11895 with_multisrctop="$with_multisrctop"
11896 with_target_subdir="$with_target_subdir"
11897 ac_configure_args="${multilib_arg} ${ac_configure_args}"
11898 multi_basedir="$multi_basedir"
11899 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
11906 cat >>$CONFIG_STATUS <<\_ACEOF
11907 for ac_config_target in $ac_config_targets
11909 case "$ac_config_target" in
11910 # Handling of arguments.
11911 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11912 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
11913 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
11914 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11915 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11916 { (exit 1); exit 1; }; };;
11920 # If the user did not use the arguments to specify the items to instantiate,
11921 # then the envvar interface is used. Set only those that are not.
11922 # We use the long form for the default assignment because of an extremely
11923 # bizarre bug on SunOS 4.1.3.
11924 if $ac_need_defaults; then
11925 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11926 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11927 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
11930 # Have a temporary directory for convenience. Make it in the build tree
11931 # simply because there is no reason to put it here, and in addition,
11932 # creating and moving files from /tmp can sometimes cause problems.
11933 # Create a temporary directory, and hook for its removal unless debugging.
11936 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11937 trap '{ (exit 1); exit 1; }' 1 2 13 15
11940 # Create a (secure) tmp directory for tmp files.
11943 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11944 test -n "$tmp" && test -d "$tmp"
11947 tmp=./confstat$$-$RANDOM
11948 (umask 077 && mkdir $tmp)
11951 echo "$me: cannot create a temporary directory in ." >&2
11952 { (exit 1); exit 1; }
11957 cat >>$CONFIG_STATUS <<_ACEOF
11960 # CONFIG_FILES section.
11963 # No need to generate the scripts if there are no CONFIG_FILES.
11964 # This happens for instance when ./config.status config.h
11965 if test -n "\$CONFIG_FILES"; then
11966 # Protect against being on the right side of a sed subst in config.status.
11967 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11968 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11969 s,@SHELL@,$SHELL,;t t
11970 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11971 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11972 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11973 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11974 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11975 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11976 s,@exec_prefix@,$exec_prefix,;t t
11977 s,@prefix@,$prefix,;t t
11978 s,@program_transform_name@,$program_transform_name,;t t
11979 s,@bindir@,$bindir,;t t
11980 s,@sbindir@,$sbindir,;t t
11981 s,@libexecdir@,$libexecdir,;t t
11982 s,@datadir@,$datadir,;t t
11983 s,@sysconfdir@,$sysconfdir,;t t
11984 s,@sharedstatedir@,$sharedstatedir,;t t
11985 s,@localstatedir@,$localstatedir,;t t
11986 s,@libdir@,$libdir,;t t
11987 s,@includedir@,$includedir,;t t
11988 s,@oldincludedir@,$oldincludedir,;t t
11989 s,@infodir@,$infodir,;t t
11990 s,@mandir@,$mandir,;t t
11991 s,@build_alias@,$build_alias,;t t
11992 s,@host_alias@,$host_alias,;t t
11993 s,@target_alias@,$target_alias,;t t
11994 s,@DEFS@,$DEFS,;t t
11995 s,@ECHO_C@,$ECHO_C,;t t
11996 s,@ECHO_N@,$ECHO_N,;t t
11997 s,@ECHO_T@,$ECHO_T,;t t
11998 s,@LIBS@,$LIBS,;t t
11999 s,@build@,$build,;t t
12000 s,@build_cpu@,$build_cpu,;t t
12001 s,@build_vendor@,$build_vendor,;t t
12002 s,@build_os@,$build_os,;t t
12003 s,@host@,$host,;t t
12004 s,@host_cpu@,$host_cpu,;t t
12005 s,@host_vendor@,$host_vendor,;t t
12006 s,@host_os@,$host_os,;t t
12007 s,@target@,$target,;t t
12008 s,@target_cpu@,$target_cpu,;t t
12009 s,@target_vendor@,$target_vendor,;t t
12010 s,@target_os@,$target_os,;t t
12011 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12012 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12013 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12014 s,@CYGPATH_W@,$CYGPATH_W,;t t
12015 s,@PACKAGE@,$PACKAGE,;t t
12016 s,@VERSION@,$VERSION,;t t
12017 s,@ACLOCAL@,$ACLOCAL,;t t
12018 s,@AUTOCONF@,$AUTOCONF,;t t
12019 s,@AUTOMAKE@,$AUTOMAKE,;t t
12020 s,@AUTOHEADER@,$AUTOHEADER,;t t
12021 s,@MAKEINFO@,$MAKEINFO,;t t
12022 s,@install_sh@,$install_sh,;t t
12023 s,@STRIP@,$STRIP,;t t
12024 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12025 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
12026 s,@mkdir_p@,$mkdir_p,;t t
12028 s,@SET_MAKE@,$SET_MAKE,;t t
12029 s,@am__leading_dot@,$am__leading_dot,;t t
12030 s,@AMTAR@,$AMTAR,;t t
12031 s,@am__tar@,$am__tar,;t t
12032 s,@am__untar@,$am__untar,;t t
12033 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12034 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12035 s,@MAINT@,$MAINT,;t t
12036 s,@multi_basedir@,$multi_basedir,;t t
12037 s,@toolexecdir@,$toolexecdir,;t t
12038 s,@toolexeclibdir@,$toolexeclibdir,;t t
12040 s,@ac_ct_CC@,$ac_ct_CC,;t t
12041 s,@EXEEXT@,$EXEEXT,;t t
12042 s,@OBJEXT@,$OBJEXT,;t t
12043 s,@CFLAGS@,$CFLAGS,;t t
12045 s,@ac_ct_AS@,$ac_ct_AS,;t t
12047 s,@ac_ct_AR@,$ac_ct_AR,;t t
12048 s,@RANLIB@,$RANLIB,;t t
12049 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12050 s,@LN_S@,$LN_S,;t t
12051 s,@LIBTOOL@,$LIBTOOL,;t t
12052 s,@enable_shared@,$enable_shared,;t t
12053 s,@enable_static@,$enable_static,;t t
12055 s,@FCFLAGS@,$FCFLAGS,;t t
12056 s,@LDFLAGS@,$LDFLAGS,;t t
12057 s,@ac_ct_FC@,$ac_ct_FC,;t t
12059 s,@CPPFLAGS@,$CPPFLAGS,;t t
12060 s,@EGREP@,$EGREP,;t t
12061 s,@MATH_OBJ@,$MATH_OBJ,;t t
12062 s,@LIBOBJS@,$LIBOBJS,;t t
12063 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12068 cat >>$CONFIG_STATUS <<\_ACEOF
12069 # Split the substitutions into bite-sized pieces for seds with
12070 # small command number limits, like on Digital OSF/1 and HP-UX.
12071 ac_max_sed_lines=48
12072 ac_sed_frag=1 # Number of current file.
12073 ac_beg=1 # First line for current file.
12074 ac_end=$ac_max_sed_lines # Line after last line for current file.
12077 while $ac_more_lines; do
12078 if test $ac_beg -gt 1; then
12079 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12081 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12083 if test ! -s $tmp/subs.frag; then
12084 ac_more_lines=false
12086 # The purpose of the label and of the branching condition is to
12087 # speed up the sed processing (if there are no `@' at all, there
12088 # is no need to browse any of the substitutions).
12089 # These are the two extra sed commands mentioned above.
12091 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
12092 if test -z "$ac_sed_cmds"; then
12093 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
12095 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12097 ac_sed_frag=`expr $ac_sed_frag + 1`
12099 ac_end=`expr $ac_end + $ac_max_sed_lines`
12102 if test -z "$ac_sed_cmds"; then
12105 fi # test -n "$CONFIG_FILES"
12108 cat >>$CONFIG_STATUS <<\_ACEOF
12109 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
12110 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12112 - | *:- | *:-:* ) # input from stdin
12114 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12115 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12116 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12117 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12118 * ) ac_file_in=$ac_file.in ;;
12121 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12122 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12123 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12124 X"$ac_file" : 'X\(//\)[^/]' \| \
12125 X"$ac_file" : 'X\(//\)$' \| \
12126 X"$ac_file" : 'X\(/\)' \| \
12127 . : '\(.\)' 2>/dev/null ||
12129 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12130 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12131 /^X\(\/\/\)$/{ s//\1/; q; }
12132 /^X\(\/\).*/{ s//\1/; q; }
12134 { if $as_mkdir_p; then
12139 while test ! -d "$as_dir"; do
12140 as_dirs="$as_dir $as_dirs"
12141 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12142 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12143 X"$as_dir" : 'X\(//\)[^/]' \| \
12144 X"$as_dir" : 'X\(//\)$' \| \
12145 X"$as_dir" : 'X\(/\)' \| \
12146 . : '\(.\)' 2>/dev/null ||
12148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12149 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12150 /^X\(\/\/\)$/{ s//\1/; q; }
12151 /^X\(\/\).*/{ s//\1/; q; }
12154 test ! -n "$as_dirs" || mkdir $as_dirs
12155 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12156 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12157 { (exit 1); exit 1; }; }; }
12161 if test "$ac_dir" != .; then
12162 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12163 # A "../" for each directory in $ac_dir_suffix.
12164 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12166 ac_dir_suffix= ac_top_builddir=
12170 .) # No --srcdir option. We are building in place.
12172 if test -z "$ac_top_builddir"; then
12175 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12177 [\\/]* | ?:[\\/]* ) # Absolute path.
12178 ac_srcdir=$srcdir$ac_dir_suffix;
12179 ac_top_srcdir=$srcdir ;;
12180 *) # Relative path.
12181 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12182 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12185 # Do not use `cd foo && pwd` to compute absolute paths, because
12186 # the directories may not exist.
12188 .) ac_abs_builddir="$ac_dir";;
12191 .) ac_abs_builddir=`pwd`;;
12192 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12193 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12196 case $ac_abs_builddir in
12197 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12199 case ${ac_top_builddir}. in
12200 .) ac_abs_top_builddir=$ac_abs_builddir;;
12201 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12202 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12205 case $ac_abs_builddir in
12206 .) ac_abs_srcdir=$ac_srcdir;;
12209 .) ac_abs_srcdir=$ac_abs_builddir;;
12210 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12211 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12214 case $ac_abs_builddir in
12215 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12217 case $ac_top_srcdir in
12218 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12219 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12220 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12226 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12227 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
12230 # Let's still pretend it is `configure' which instantiates (i.e., don't
12231 # use $as_me), people would be surprised to read:
12232 # /* config.h. Generated by config.status. */
12233 if test x"$ac_file" = x-; then
12236 configure_input="$ac_file. "
12238 configure_input=$configure_input"Generated from `echo $ac_file_in |
12239 sed 's,.*/,,'` by configure."
12241 # First look for the input files in the build tree, otherwise in the
12243 ac_file_inputs=`IFS=:
12244 for f in $ac_file_in; do
12246 -) echo $tmp/stdin ;;
12248 # Absolute (can't be DOS-style, as IFS=:)
12249 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12250 echo "$as_me: error: cannot find input file: $f" >&2;}
12251 { (exit 1); exit 1; }; }
12254 if test -f "$f"; then
12257 elif test -f "$srcdir/$f"; then
12262 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12263 echo "$as_me: error: cannot find input file: $f" >&2;}
12264 { (exit 1); exit 1; }; }
12267 done` || { (exit 1); exit 1; }
12269 if test x"$ac_file" != x-; then
12270 { echo "$as_me:$LINENO: creating $ac_file" >&5
12271 echo "$as_me: creating $ac_file" >&6;}
12275 cat >>$CONFIG_STATUS <<_ACEOF
12279 cat >>$CONFIG_STATUS <<\_ACEOF
12281 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12282 s,@configure_input@,$configure_input,;t t
12283 s,@srcdir@,$ac_srcdir,;t t
12284 s,@abs_srcdir@,$ac_abs_srcdir,;t t
12285 s,@top_srcdir@,$ac_top_srcdir,;t t
12286 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
12287 s,@builddir@,$ac_builddir,;t t
12288 s,@abs_builddir@,$ac_abs_builddir,;t t
12289 s,@top_builddir@,$ac_top_builddir,;t t
12290 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
12291 s,@INSTALL@,$ac_INSTALL,;t t
12292 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12294 if test x"$ac_file" != x-; then
12295 mv $tmp/out $ac_file
12303 cat >>$CONFIG_STATUS <<\_ACEOF
12306 # CONFIG_HEADER section.
12309 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12310 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12312 # ac_d sets the value in "#define NAME VALUE" lines.
12313 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12314 ac_dB='[ ].*$,\1#\2'
12317 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12318 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12319 ac_uB='$,\1#\2define\3'
12323 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
12324 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12326 - | *:- | *:-:* ) # input from stdin
12328 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12329 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12330 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12331 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12332 * ) ac_file_in=$ac_file.in ;;
12335 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
12336 echo "$as_me: creating $ac_file" >&6;}
12338 # First look for the input files in the build tree, otherwise in the
12340 ac_file_inputs=`IFS=:
12341 for f in $ac_file_in; do
12343 -) echo $tmp/stdin ;;
12345 # Absolute (can't be DOS-style, as IFS=:)
12346 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12347 echo "$as_me: error: cannot find input file: $f" >&2;}
12348 { (exit 1); exit 1; }; }
12349 # Do quote $f, to prevent DOS paths from being IFS'd.
12352 if test -f "$f"; then
12355 elif test -f "$srcdir/$f"; then
12360 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12361 echo "$as_me: error: cannot find input file: $f" >&2;}
12362 { (exit 1); exit 1; }; }
12365 done` || { (exit 1); exit 1; }
12366 # Remove the trailing spaces.
12367 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12371 # Transform confdefs.h into two sed scripts, `conftest.defines' and
12372 # `conftest.undefs', that substitutes the proper values into
12373 # config.h.in to produce config.h. The first handles `#define'
12374 # templates, and the second `#undef' templates.
12375 # And first: Protect against being on the right side of a sed subst in
12376 # config.status. Protect against being in an unquoted here document
12377 # in config.status.
12378 rm -f conftest.defines conftest.undefs
12379 # Using a here document instead of a string reduces the quoting nightmare.
12380 # Putting comments in sed scripts is not portable.
12382 # `end' is used to avoid that the second main sed command (meant for
12383 # 0-ary CPP macros) applies to n-ary macro definitions.
12384 # See the Autoconf documentation for `clear'.
12385 cat >confdef2sed.sed <<\_ACEOF
12390 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12392 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12395 # If some macros were called several times there might be several times
12396 # the same #defines, which is useless. Nevertheless, we may not want to
12397 # sort them, since we want the *last* AC-DEFINE to be honored.
12398 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12399 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12400 rm -f confdef2sed.sed
12402 # This sed command replaces #undef with comments. This is necessary, for
12403 # example, in the case of _POSIX_SOURCE, which is predefined and required
12404 # on some systems where configure will not decide to define it.
12405 cat >>conftest.undefs <<\_ACEOF
12406 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12409 # Break up conftest.defines because some shells have a limit on the size
12410 # of here documents, and old seds have small limits too (100 cmds).
12411 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12412 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12413 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12414 echo ' :' >>$CONFIG_STATUS
12415 rm -f conftest.tail
12416 while grep . conftest.defines >/dev/null
12418 # Write a limited-size here document to $tmp/defines.sed.
12419 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12420 # Speed up: don't consider the non `#define' lines.
12421 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12422 # Work around the forget-to-reset-the-flag bug.
12423 echo 't clr' >>$CONFIG_STATUS
12424 echo ': clr' >>$CONFIG_STATUS
12425 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
12427 sed -f $tmp/defines.sed $tmp/in >$tmp/out
12429 mv $tmp/out $tmp/in
12431 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
12432 rm -f conftest.defines
12433 mv conftest.tail conftest.defines
12435 rm -f conftest.defines
12436 echo ' fi # grep' >>$CONFIG_STATUS
12437 echo >>$CONFIG_STATUS
12439 # Break up conftest.undefs because some shells have a limit on the size
12440 # of here documents, and old seds have small limits too (100 cmds).
12441 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12442 rm -f conftest.tail
12443 while grep . conftest.undefs >/dev/null
12445 # Write a limited-size here document to $tmp/undefs.sed.
12446 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12447 # Speed up: don't consider the non `#undef'
12448 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12449 # Work around the forget-to-reset-the-flag bug.
12450 echo 't clr' >>$CONFIG_STATUS
12451 echo ': clr' >>$CONFIG_STATUS
12452 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12454 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12456 mv $tmp/out $tmp/in
12458 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12459 rm -f conftest.undefs
12460 mv conftest.tail conftest.undefs
12462 rm -f conftest.undefs
12464 cat >>$CONFIG_STATUS <<\_ACEOF
12465 # Let's still pretend it is `configure' which instantiates (i.e., don't
12466 # use $as_me), people would be surprised to read:
12467 # /* config.h. Generated by config.status. */
12468 if test x"$ac_file" = x-; then
12469 echo "/* Generated by configure. */" >$tmp/config.h
12471 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12473 cat $tmp/in >>$tmp/config.h
12475 if test x"$ac_file" != x-; then
12476 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
12477 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12478 echo "$as_me: $ac_file is unchanged" >&6;}
12480 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12481 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12482 X"$ac_file" : 'X\(//\)[^/]' \| \
12483 X"$ac_file" : 'X\(//\)$' \| \
12484 X"$ac_file" : 'X\(/\)' \| \
12485 . : '\(.\)' 2>/dev/null ||
12487 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12488 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12489 /^X\(\/\/\)$/{ s//\1/; q; }
12490 /^X\(\/\).*/{ s//\1/; q; }
12492 { if $as_mkdir_p; then
12497 while test ! -d "$as_dir"; do
12498 as_dirs="$as_dir $as_dirs"
12499 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12500 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12501 X"$as_dir" : 'X\(//\)[^/]' \| \
12502 X"$as_dir" : 'X\(//\)$' \| \
12503 X"$as_dir" : 'X\(/\)' \| \
12504 . : '\(.\)' 2>/dev/null ||
12506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12507 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12508 /^X\(\/\/\)$/{ s//\1/; q; }
12509 /^X\(\/\).*/{ s//\1/; q; }
12512 test ! -n "$as_dirs" || mkdir $as_dirs
12513 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12514 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12515 { (exit 1); exit 1; }; }; }
12518 mv $tmp/config.h $ac_file
12522 rm -f $tmp/config.h
12524 # Compute $ac_file's index in $config_headers.
12526 for _am_header in $config_headers :; do
12527 case $_am_header in
12528 $ac_file | $ac_file:* )
12531 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12534 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
12535 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12536 X$ac_file : 'X\(//\)[^/]' \| \
12537 X$ac_file : 'X\(//\)$' \| \
12538 X$ac_file : 'X\(/\)' \| \
12539 . : '\(.\)' 2>/dev/null ||
12541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12542 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12543 /^X\(\/\/\)$/{ s//\1/; q; }
12544 /^X\(\/\).*/{ s//\1/; q; }
12545 s/.*/./; q'`/stamp-h$_am_stamp_count
12548 cat >>$CONFIG_STATUS <<\_ACEOF
12551 # CONFIG_COMMANDS section.
12553 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
12554 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
12555 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
12556 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
12557 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12558 X"$ac_dest" : 'X\(//\)[^/]' \| \
12559 X"$ac_dest" : 'X\(//\)$' \| \
12560 X"$ac_dest" : 'X\(/\)' \| \
12561 . : '\(.\)' 2>/dev/null ||
12563 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12564 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12565 /^X\(\/\/\)$/{ s//\1/; q; }
12566 /^X\(\/\).*/{ s//\1/; q; }
12568 { if $as_mkdir_p; then
12573 while test ! -d "$as_dir"; do
12574 as_dirs="$as_dir $as_dirs"
12575 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12576 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12577 X"$as_dir" : 'X\(//\)[^/]' \| \
12578 X"$as_dir" : 'X\(//\)$' \| \
12579 X"$as_dir" : 'X\(/\)' \| \
12580 . : '\(.\)' 2>/dev/null ||
12582 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12583 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12584 /^X\(\/\/\)$/{ s//\1/; q; }
12585 /^X\(\/\).*/{ s//\1/; q; }
12588 test ! -n "$as_dirs" || mkdir $as_dirs
12589 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12590 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12591 { (exit 1); exit 1; }; }; }
12595 if test "$ac_dir" != .; then
12596 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12597 # A "../" for each directory in $ac_dir_suffix.
12598 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12600 ac_dir_suffix= ac_top_builddir=
12604 .) # No --srcdir option. We are building in place.
12606 if test -z "$ac_top_builddir"; then
12609 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12611 [\\/]* | ?:[\\/]* ) # Absolute path.
12612 ac_srcdir=$srcdir$ac_dir_suffix;
12613 ac_top_srcdir=$srcdir ;;
12614 *) # Relative path.
12615 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12616 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12619 # Do not use `cd foo && pwd` to compute absolute paths, because
12620 # the directories may not exist.
12622 .) ac_abs_builddir="$ac_dir";;
12625 .) ac_abs_builddir=`pwd`;;
12626 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12627 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12630 case $ac_abs_builddir in
12631 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12633 case ${ac_top_builddir}. in
12634 .) ac_abs_top_builddir=$ac_abs_builddir;;
12635 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12636 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12639 case $ac_abs_builddir in
12640 .) ac_abs_srcdir=$ac_srcdir;;
12643 .) ac_abs_srcdir=$ac_abs_builddir;;
12644 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12645 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12648 case $ac_abs_builddir in
12649 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12651 case $ac_top_srcdir in
12652 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12653 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12654 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12659 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12660 echo "$as_me: executing $ac_dest commands" >&6;}
12663 # Only add multilib support code if we just rebuilt the top-level
12665 case " $CONFIG_FILES " in
12667 ac_file=Makefile . ${multi_basedir}/config-ml.in
12674 cat >>$CONFIG_STATUS <<\_ACEOF
12676 { (exit 0); exit 0; }
12678 chmod +x $CONFIG_STATUS
12679 ac_clean_files=$ac_clean_files_save
12682 # configure is writing to config.log, and then calls config.status.
12683 # config.status does its own redirection, appending to config.log.
12684 # Unfortunately, on DOS this fails, as config.log is still kept open
12685 # by configure, so config.status won't be able to write to it; its
12686 # output is simply discarded. So we exec the FD to /dev/null,
12687 # effectively closing config.log, so it can be properly (re)opened and
12688 # appended to by config.status. When coming back to configure, we
12689 # need to make the FD available again.
12690 if test "$no_create" != yes; then
12692 ac_config_status_args=
12693 test "$silent" = yes &&
12694 ac_config_status_args="$ac_config_status_args --quiet"
12696 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12698 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12699 # would make configure fail if this is the last instruction.
12700 $ac_cs_success || { (exit 1); exit 1; }