2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.2.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='GNU Fortran Runtime Library'
269 PACKAGE_TARNAME='libgfortran'
270 PACKAGE_VERSION='0.2'
271 PACKAGE_STRING='GNU Fortran Runtime Library 0.2'
274 # Factoring default headers for most tests.
275 ac_includes_default="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran CPP CPPFLAGS EGREP MATH_OBJ LIBOBJS LTLIBOBJS'
314 # Initialize some variables set by options.
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name=s,x,x,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
378 -cache-file | --cache-file | --cache-fil | --cache-fi \
379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380 ac_prev=cache_file ;;
381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383 cache_file=$ac_optarg ;;
386 cache_file=config.cache ;;
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 datadir=$ac_optarg ;;
394 -disable-* | --disable-*)
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* | --enable-*)
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418 | --exec | --exe | --ex)
419 ac_prev=exec_prefix ;;
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422 | --exec=* | --exe=* | --ex=*)
423 exec_prefix=$ac_optarg ;;
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
429 -help | --help | --hel | --he | -h)
431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432 ac_init_help=recursive ;;
433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434 ac_init_help=short ;;
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
441 -includedir | --includedir | --includedi | --included | --include \
442 | --includ | --inclu | --incl | --inc)
443 ac_prev=includedir ;;
444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445 | --includ=* | --inclu=* | --incl=* | --inc=*)
446 includedir=$ac_optarg ;;
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
453 -libdir | --libdir | --libdi | --libd)
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459 | --libexe | --libex | --libe)
460 ac_prev=libexecdir ;;
461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462 | --libexe=* | --libex=* | --libe=*)
463 libexecdir=$ac_optarg ;;
465 -localstatedir | --localstatedir | --localstatedi | --localstated \
466 | --localstate | --localstat | --localsta | --localst \
467 | --locals | --local | --loca | --loc | --lo)
468 ac_prev=localstatedir ;;
469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472 localstatedir=$ac_optarg ;;
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480 # Obsolete; use --without-fp.
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493 | --oldin | --oldi | --old | --ol | --o)
494 ac_prev=oldincludedir ;;
495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498 oldincludedir=$ac_optarg ;;
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
505 -program-prefix | --program-prefix | --program-prefi | --program-pref \
506 | --program-pre | --program-pr | --program-p)
507 ac_prev=program_prefix ;;
508 -program-prefix=* | --program-prefix=* | --program-prefi=* \
509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510 program_prefix=$ac_optarg ;;
512 -program-suffix | --program-suffix | --program-suffi | --program-suff \
513 | --program-suf | --program-su | --program-s)
514 ac_prev=program_suffix ;;
515 -program-suffix=* | --program-suffix=* | --program-suffi=* \
516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517 program_suffix=$ac_optarg ;;
519 -program-transform-name | --program-transform-name \
520 | --program-transform-nam | --program-transform-na \
521 | --program-transform-n | --program-transform- \
522 | --program-transform | --program-transfor \
523 | --program-transfo | --program-transf \
524 | --program-trans | --program-tran \
525 | --progr-tra | --program-tr | --program-t)
526 ac_prev=program_transform_name ;;
527 -program-transform-name=* | --program-transform-name=* \
528 | --program-transform-nam=* | --program-transform-na=* \
529 | --program-transform-n=* | --program-transform-=* \
530 | --program-transform=* | --program-transfor=* \
531 | --program-transfo=* | --program-transf=* \
532 | --program-trans=* | --program-tran=* \
533 | --progr-tra=* | --program-tr=* | --program-t=*)
534 program_transform_name=$ac_optarg ;;
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 sbindir=$ac_optarg ;;
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548 | --sharedst | --shareds | --shared | --share | --shar \
550 ac_prev=sharedstatedir ;;
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 sharedstatedir=$ac_optarg ;;
557 -site | --site | --sit)
559 -site=* | --site=* | --sit=*)
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568 | --syscon | --sysco | --sysc | --sys | --sy)
569 ac_prev=sysconfdir ;;
570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572 sysconfdir=$ac_optarg ;;
574 -target | --target | --targe | --targ | --tar | --ta | --t)
575 ac_prev=target_alias ;;
576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577 target_alias=$ac_optarg ;;
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
582 -version | --version | --versio | --versi | --vers | -V)
586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* | --without-*)
599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612 | --x-incl | --x-inc | --x-in | --x-i)
613 ac_prev=x_includes ;;
614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616 x_includes=$ac_optarg ;;
618 -x-libraries | --x-libraries | --x-librarie | --x-librari \
619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620 ac_prev=x_libraries ;;
621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623 x_libraries=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
660 eval ac_val=$`echo $ac_var`
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val=$`echo $ac_var`
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689 if test "x$build_alias" = x; then
690 cross_compiling=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701 test "$silent" = yes && exec 6>/dev/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_FC_set=${FC+set}
754 ac_cv_env_FC_set=${FC+set}
755 ac_cv_env_FC_value=$FC
756 ac_env_FCFLAGS_set=${FCFLAGS+set}
757 ac_env_FCFLAGS_value=$FCFLAGS
758 ac_cv_env_FCFLAGS_set=${FCFLAGS+set}
759 ac_cv_env_FCFLAGS_value=$FCFLAGS
760 ac_env_LDFLAGS_set=${LDFLAGS+set}
761 ac_env_LDFLAGS_value=$LDFLAGS
762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value=$LDFLAGS
764 ac_env_CPP_set=${CPP+set}
765 ac_env_CPP_value=$CPP
766 ac_cv_env_CPP_set=${CPP+set}
767 ac_cv_env_CPP_value=$CPP
768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
774 # Report the --help message.
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
780 \`configure' configures GNU Fortran Runtime Library 0.2 to adapt to many kinds of systems.
782 Usage: $0 [OPTION]... [VAR=VALUE]...
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
787 Defaults for the options are specified in brackets.
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
814 For better control, use the options below.
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
834 --program-prefix=PREFIX prepend PREFIX to installed program names
835 --program-suffix=SUFFIX append SUFFIX to installed program names
836 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
839 --build=BUILD configure for building on BUILD [guessed]
840 --host=HOST cross-compile to build programs to run on HOST [BUILD]
841 --target=TARGET configure for building compilers for TARGET [HOST]
845 if test -n "$ac_init_help"; then
846 case $ac_init_help in
847 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.2:";;
852 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
853 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
854 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
855 --enable-maintainer-mode enable make rules and dependencies not useful
856 (and sometimes confusing) to the casual installer
857 --enable-multilib build many library versions (default)
858 --enable-shared=PKGS build shared libraries default=yes
859 --enable-static=PKGS build static libraries default=yes
860 --enable-fast-install=PKGS optimize for fast installation default=yes
861 --disable-libtool-lock avoid locking (might break parallel builds)
862 --disable-largefile omit support for large files
863 --enable-cmath Include complex math functions
866 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
867 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
868 --with-gnu-ld assume the C compiler uses GNU ld default=no
869 --with-pic try to use only PIC/non-PIC objects default=use both
871 Some influential environment variables:
872 CC C compiler command
873 CFLAGS C compiler flags
874 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
875 nonstandard directory <lib dir>
876 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
877 headers in a nonstandard directory <include dir>
878 FC Fortran compiler command
879 FCFLAGS Fortran compiler flags
882 Use these variables to override the choices made by `configure' or to help
883 it to find libraries and programs with nonstandard names/locations.
888 if test "$ac_init_help" = "recursive"; then
889 # If there are subdirs, report their specific --help.
891 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
892 test -d $ac_dir || continue
895 if test "$ac_dir" != .; then
896 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
897 # A "../" for each directory in $ac_dir_suffix.
898 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
900 ac_dir_suffix= ac_top_builddir=
904 .) # No --srcdir option. We are building in place.
906 if test -z "$ac_top_builddir"; then
909 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
911 [\\/]* | ?:[\\/]* ) # Absolute path.
912 ac_srcdir=$srcdir$ac_dir_suffix;
913 ac_top_srcdir=$srcdir ;;
915 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
916 ac_top_srcdir=$ac_top_builddir$srcdir ;;
919 # Do not use `cd foo && pwd` to compute absolute paths, because
920 # the directories may not exist.
922 .) ac_abs_builddir="$ac_dir";;
925 .) ac_abs_builddir=`pwd`;;
926 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
927 *) ac_abs_builddir=`pwd`/"$ac_dir";;
930 case $ac_abs_builddir in
931 .) ac_abs_top_builddir=${ac_top_builddir}.;;
933 case ${ac_top_builddir}. in
934 .) ac_abs_top_builddir=$ac_abs_builddir;;
935 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
936 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
939 case $ac_abs_builddir in
940 .) ac_abs_srcdir=$ac_srcdir;;
943 .) ac_abs_srcdir=$ac_abs_builddir;;
944 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
945 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
948 case $ac_abs_builddir in
949 .) ac_abs_top_srcdir=$ac_top_srcdir;;
951 case $ac_top_srcdir in
952 .) ac_abs_top_srcdir=$ac_abs_builddir;;
953 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
954 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
959 # Check for guested configure; otherwise get Cygnus style configure.
960 if test -f $ac_srcdir/configure.gnu; then
962 $SHELL $ac_srcdir/configure.gnu --help=recursive
963 elif test -f $ac_srcdir/configure; then
965 $SHELL $ac_srcdir/configure --help=recursive
966 elif test -f $ac_srcdir/configure.ac ||
967 test -f $ac_srcdir/configure.in; then
971 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
977 test -n "$ac_init_help" && exit 0
978 if $ac_init_version; then
980 GNU Fortran Runtime Library configure 0.2
981 generated by GNU Autoconf 2.59
983 Copyright (C) 2003 Free Software Foundation, Inc.
984 This configure script is free software; the Free Software Foundation
985 gives unlimited permission to copy, distribute and modify it.
991 This file contains any messages produced by compilers while
992 running configure, to aid debugging if configure makes a mistake.
994 It was created by GNU Fortran Runtime Library $as_me 0.2, which was
995 generated by GNU Autoconf 2.59. Invocation command line was
1006 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1007 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1008 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1009 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1010 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1012 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1013 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1015 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1016 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1017 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1018 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1019 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1020 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1021 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1029 test -z "$as_dir" && as_dir=.
1030 echo "PATH: $as_dir"
1045 # Keep a trace of the command line.
1046 # Strip out --no-create and --no-recursion so they do not pile up.
1047 # Strip out --silent because we don't want to record it for future runs.
1048 # Also quote any args containing shell meta-characters.
1049 # Make two passes to allow for proper duplicate-argument suppression.
1054 ac_must_keep_next=false
1060 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1064 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1065 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1068 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1070 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1071 if test $ac_must_keep_next = true; then
1072 ac_must_keep_next=false # Got value, back to normal.
1075 *=* | --config-cache | -C | -disable-* | --disable-* \
1076 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1077 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1078 | -with-* | --with-* | -without-* | --without-* | --x)
1079 case "$ac_configure_args0 " in
1080 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1083 -* ) ac_must_keep_next=true ;;
1086 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1087 # Get rid of the leading space.
1093 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1094 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1096 # When interrupted or exit'd, cleanup temporary files, and complete
1097 # config.log. We remove comments because anyway the quotes in there
1098 # would cause problems or look ugly.
1099 # WARNING: Be sure not to use single quotes in there, as some shells,
1100 # such as our DU 5.0 friend, will then `close' the trap.
1101 trap 'exit_status=$?
1102 # Save into config.log some information that might help in debugging.
1107 ## ---------------- ##
1108 ## Cache variables. ##
1109 ## ---------------- ##
1112 # The following way of writing the cache mishandles newlines in values,
1115 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1118 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1123 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1130 ## ----------------- ##
1131 ## Output variables. ##
1132 ## ----------------- ##
1135 for ac_var in $ac_subst_vars
1137 eval ac_val=$`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1142 if test -n "$ac_subst_files"; then
1149 for ac_var in $ac_subst_files
1151 eval ac_val=$`echo $ac_var`
1152 echo "$ac_var='"'"'$ac_val'"'"'"
1157 if test -s confdefs.h; then
1164 sed "/^$/d" confdefs.h | sort
1167 test "$ac_signal" != 0 &&
1168 echo "$as_me: caught signal $ac_signal"
1169 echo "$as_me: exit $exit_status"
1171 rm -f core *.core &&
1172 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1175 for ac_signal in 1 2 13 15; do
1176 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1180 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1181 rm -rf conftest* confdefs.h
1182 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1185 # Predefined preprocessor variables.
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_NAME "$PACKAGE_NAME"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_STRING "$PACKAGE_STRING"
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1212 # Let the site file select an alternate cache file if it wants to.
1213 # Prefer explicitly selected file to automatically selected ones.
1214 if test -z "$CONFIG_SITE"; then
1215 if test "x$prefix" != xNONE; then
1216 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1218 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1221 for ac_site_file in $CONFIG_SITE; do
1222 if test -r "$ac_site_file"; then
1223 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1224 echo "$as_me: loading site script $ac_site_file" >&6;}
1225 sed 's/^/| /' "$ac_site_file" >&5
1230 if test -r "$cache_file"; then
1231 # Some versions of bash will fail to source /dev/null (special
1232 # files actually), so we avoid doing that.
1233 if test -f "$cache_file"; then
1234 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1235 echo "$as_me: loading cache $cache_file" >&6;}
1237 [\\/]* | ?:[\\/]* ) . $cache_file;;
1238 *) . ./$cache_file;;
1242 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1243 echo "$as_me: creating cache $cache_file" >&6;}
1247 # Check that the precious variables saved in the cache have kept the same
1249 ac_cache_corrupted=false
1250 for ac_var in `(set) 2>&1 |
1251 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1252 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1253 eval ac_new_set=\$ac_env_${ac_var}_set
1254 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1255 eval ac_new_val="\$ac_env_${ac_var}_value"
1256 case $ac_old_set,$ac_new_set in
1258 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1260 ac_cache_corrupted=: ;;
1262 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1263 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1264 ac_cache_corrupted=: ;;
1267 if test "x$ac_old_val" != "x$ac_new_val"; then
1268 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1269 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1270 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1271 echo "$as_me: former value: $ac_old_val" >&2;}
1272 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1273 echo "$as_me: current value: $ac_new_val" >&2;}
1274 ac_cache_corrupted=:
1277 # Pass precious variables to config.status.
1278 if test "$ac_new_set" = set; then
1280 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1282 *) ac_arg=$ac_var=$ac_new_val ;;
1284 case " $ac_configure_args " in
1285 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1286 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1290 if $ac_cache_corrupted; then
1291 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1292 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1293 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1294 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1295 { (exit 1); exit 1; }; }
1299 ac_cpp='$CPP $CPPFLAGS'
1300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1330 ac_config_headers="$ac_config_headers config.h"
1337 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1338 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1339 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1340 if test "${enable_version_specific_runtime_libs+set}" = set; then
1341 enableval="$enable_version_specific_runtime_libs"
1342 case "$enableval" in
1343 yes) version_specific_libs=yes ;;
1344 no) version_specific_libs=no ;;
1345 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1346 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1347 { (exit 1); exit 1; }; };;
1350 version_specific_libs=no
1352 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1353 echo "${ECHO_T}$version_specific_libs" >&6
1356 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1358 # You will slowly go insane if you do not grok the following fact: when
1359 # building this library, the top-level /target/ becomes the library's /host/.
1361 # configure then causes --target to default to --host, exactly like any
1362 # other package using autoconf. Therefore, 'target' and 'host' will
1363 # always be the same. This makes sense both for native and cross compilers
1364 # just think about it for a little while. :-)
1366 # Also, if this library is being configured as part of a cross compiler, the
1367 # top-level configure script will pass the "real" host as $with_cross_host.
1369 # Do not delete or change the following two lines. For why, see
1370 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1372 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1373 if test -f $ac_dir/install-sh; then
1375 ac_install_sh="$ac_aux_dir/install-sh -c"
1377 elif test -f $ac_dir/install.sh; then
1379 ac_install_sh="$ac_aux_dir/install.sh -c"
1381 elif test -f $ac_dir/shtool; then
1383 ac_install_sh="$ac_aux_dir/shtool install -c"
1387 if test -z "$ac_aux_dir"; then
1388 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1389 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1390 { (exit 1); exit 1; }; }
1392 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1393 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1394 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1396 # Make sure we can run config.sub.
1397 $ac_config_sub sun4 >/dev/null 2>&1 ||
1398 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1399 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1400 { (exit 1); exit 1; }; }
1402 echo "$as_me:$LINENO: checking build system type" >&5
1403 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1404 if test "${ac_cv_build+set}" = set; then
1405 echo $ECHO_N "(cached) $ECHO_C" >&6
1407 ac_cv_build_alias=$build_alias
1408 test -z "$ac_cv_build_alias" &&
1409 ac_cv_build_alias=`$ac_config_guess`
1410 test -z "$ac_cv_build_alias" &&
1411 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1412 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1413 { (exit 1); exit 1; }; }
1414 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1415 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1416 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1417 { (exit 1); exit 1; }; }
1420 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1421 echo "${ECHO_T}$ac_cv_build" >&6
1423 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1424 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1425 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1428 echo "$as_me:$LINENO: checking host system type" >&5
1429 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1430 if test "${ac_cv_host+set}" = set; then
1431 echo $ECHO_N "(cached) $ECHO_C" >&6
1433 ac_cv_host_alias=$host_alias
1434 test -z "$ac_cv_host_alias" &&
1435 ac_cv_host_alias=$ac_cv_build_alias
1436 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1437 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1438 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1439 { (exit 1); exit 1; }; }
1442 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1443 echo "${ECHO_T}$ac_cv_host" >&6
1445 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1446 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1447 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1450 echo "$as_me:$LINENO: checking target system type" >&5
1451 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1452 if test "${ac_cv_target+set}" = set; then
1453 echo $ECHO_N "(cached) $ECHO_C" >&6
1455 ac_cv_target_alias=$target_alias
1456 test "x$ac_cv_target_alias" = "x" &&
1457 ac_cv_target_alias=$ac_cv_host_alias
1458 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1459 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1460 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1461 { (exit 1); exit 1; }; }
1464 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1465 echo "${ECHO_T}$ac_cv_target" >&6
1466 target=$ac_cv_target
1467 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1468 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1469 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1472 # The aliases save the names the user supplied, while $host etc.
1473 # will get canonicalized.
1474 test -n "$target_alias" &&
1475 test "$program_prefix$program_suffix$program_transform_name" = \
1477 program_prefix=${target_alias}-
1478 target_alias=${target_alias-$host_alias}
1480 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1481 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1482 # 1.8.2: minimum required version
1483 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1484 # of other PACKAGE_* variables will, however, and there's nothing
1485 # we can do about that; they come from AC_INIT).
1486 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1487 # file in the top srcdir, etc, etc), so stop complaining.
1488 # no-dependencies: turns off auto dependency generation (just for now)
1489 # -Wall: turns on all automake warnings...
1490 # -Wno-portability: ...except this one, since GNU make is required.
1491 am__api_version="1.9"
1492 # Find a good install program. We prefer a C program (faster),
1493 # so one script is as good as another. But avoid the broken or
1494 # incompatible versions:
1495 # SysV /etc/install, /usr/sbin/install
1496 # SunOS /usr/etc/install
1497 # IRIX /sbin/install
1499 # AmigaOS /C/install, which installs bootblocks on floppy discs
1500 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1501 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1502 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1503 # OS/2's system install, which has a completely different semantic
1504 # ./install, which can be erroneously created by make from ./install.sh.
1505 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1506 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1507 if test -z "$INSTALL"; then
1508 if test "${ac_cv_path_install+set}" = set; then
1509 echo $ECHO_N "(cached) $ECHO_C" >&6
1511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1515 test -z "$as_dir" && as_dir=.
1516 # Account for people who put trailing slashes in PATH elements.
1518 ./ | .// | /cC/* | \
1519 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1520 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1523 # OSF1 and SCO ODT 3.0 have their own names for install.
1524 # Don't use installbsd from OSF since it installs stuff as root
1526 for ac_prog in ginstall scoinst install; do
1527 for ac_exec_ext in '' $ac_executable_extensions; do
1528 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1529 if test $ac_prog = install &&
1530 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1531 # AIX install. It has an incompatible calling convention.
1533 elif test $ac_prog = install &&
1534 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1535 # program-specific install script used by HP pwplus--don't use.
1538 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1550 if test "${ac_cv_path_install+set}" = set; then
1551 INSTALL=$ac_cv_path_install
1553 # As a last resort, use the slow shell script. We don't cache a
1554 # path for INSTALL within a source directory, because that will
1555 # break other packages using the cache if that directory is
1556 # removed, or if the path is relative.
1557 INSTALL=$ac_install_sh
1560 echo "$as_me:$LINENO: result: $INSTALL" >&5
1561 echo "${ECHO_T}$INSTALL" >&6
1563 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1564 # It thinks the first close brace ends the variable substitution.
1565 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1567 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1569 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1571 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1572 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1575 echo timestamp > conftest.file
1576 # Do `set' in a subshell so we don't clobber the current shell's
1577 # arguments. Must try -L first in case configure is actually a
1578 # symlink; some systems play weird games with the mod time of symlinks
1579 # (eg FreeBSD returns the mod time of the symlink's containing
1582 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1583 if test "$*" = "X"; then
1585 set X `ls -t $srcdir/configure conftest.file`
1588 if test "$*" != "X $srcdir/configure conftest.file" \
1589 && test "$*" != "X conftest.file $srcdir/configure"; then
1591 # If neither matched, then we have a broken ls. This can happen
1592 # if, for instance, CONFIG_SHELL is bash and it inherits a
1593 # broken ls alias from the environment. This has actually
1594 # happened. Such a system could not be considered "sane".
1595 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1596 alias in your environment" >&5
1597 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1598 alias in your environment" >&2;}
1599 { (exit 1); exit 1; }; }
1602 test "$2" = conftest.file
1608 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1609 Check your system clock" >&5
1610 echo "$as_me: error: newly created file is older than distributed files!
1611 Check your system clock" >&2;}
1612 { (exit 1); exit 1; }; }
1614 echo "$as_me:$LINENO: result: yes" >&5
1615 echo "${ECHO_T}yes" >&6
1616 test "$program_prefix" != NONE &&
1617 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1618 # Use a double $ so make ignores it.
1619 test "$program_suffix" != NONE &&
1620 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1621 # Double any \ or $. echo might interpret backslashes.
1622 # By default was `s,x,x', remove it if useless.
1623 cat <<\_ACEOF >conftest.sed
1624 s/[\\$]/&&/g;s/;s,x,x,$//
1626 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1629 # expand $ac_aux_dir to an absolute path
1630 am_aux_dir=`cd $ac_aux_dir && pwd`
1632 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1633 # Use eval to expand $SHELL
1634 if eval "$MISSING --run true"; then
1635 am_missing_run="$MISSING --run "
1638 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1639 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1642 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1643 # We used to keeping the `.' as first argument, in order to
1644 # allow $(mkdir_p) to be used without argument. As in
1645 # $(mkdir_p) $(somedir)
1646 # where $(somedir) is conditionally defined. However this is wrong
1648 # 1. if the package is installed by a user who cannot write `.'
1649 # make install will fail,
1650 # 2. the above comment should most certainly read
1651 # $(mkdir_p) $(DESTDIR)$(somedir)
1652 # so it does not work when $(somedir) is undefined and
1653 # $(DESTDIR) is not.
1654 # To support the latter case, we have to write
1655 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1656 # so the `.' trick is pointless.
1657 mkdir_p='mkdir -p --'
1659 # On NextStep and OpenStep, the `mkdir' command does not
1660 # recognize any option. It will interpret all options as
1661 # directories to create, and then abort because `.' already
1663 for d in ./-p ./--version;
1665 test -d $d && rmdir $d
1667 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1668 if test -f "$ac_aux_dir/mkinstalldirs"; then
1669 mkdir_p='$(mkinstalldirs)'
1671 mkdir_p='$(install_sh) -d'
1675 for ac_prog in gawk mawk nawk awk
1677 # Extract the first word of "$ac_prog", so it can be a program name with args.
1678 set dummy $ac_prog; ac_word=$2
1679 echo "$as_me:$LINENO: checking for $ac_word" >&5
1680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1681 if test "${ac_cv_prog_AWK+set}" = set; then
1682 echo $ECHO_N "(cached) $ECHO_C" >&6
1684 if test -n "$AWK"; then
1685 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1691 test -z "$as_dir" && as_dir=.
1692 for ac_exec_ext in '' $ac_executable_extensions; do
1693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1694 ac_cv_prog_AWK="$ac_prog"
1695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1704 if test -n "$AWK"; then
1705 echo "$as_me:$LINENO: result: $AWK" >&5
1706 echo "${ECHO_T}$AWK" >&6
1708 echo "$as_me:$LINENO: result: no" >&5
1709 echo "${ECHO_T}no" >&6
1712 test -n "$AWK" && break
1715 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1716 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1717 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1718 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1719 echo $ECHO_N "(cached) $ECHO_C" >&6
1721 cat >conftest.make <<\_ACEOF
1723 @echo 'ac_maketemp="$(MAKE)"'
1725 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1726 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1727 if test -n "$ac_maketemp"; then
1728 eval ac_cv_prog_make_${ac_make}_set=yes
1730 eval ac_cv_prog_make_${ac_make}_set=no
1734 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1735 echo "$as_me:$LINENO: result: yes" >&5
1736 echo "${ECHO_T}yes" >&6
1739 echo "$as_me:$LINENO: result: no" >&5
1740 echo "${ECHO_T}no" >&6
1741 SET_MAKE="MAKE=${MAKE-make}"
1744 rm -rf .tst 2>/dev/null
1745 mkdir .tst 2>/dev/null
1746 if test -d .tst; then
1751 rmdir .tst 2>/dev/null
1753 # test to see if srcdir already configured
1754 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1755 test -f $srcdir/config.status; then
1756 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1757 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1758 { (exit 1); exit 1; }; }
1761 # test whether we have cygpath
1762 if test -z "$CYGPATH_W"; then
1763 if (cygpath --version) >/dev/null 2>/dev/null; then
1764 CYGPATH_W='cygpath -w'
1771 # Define the identity of the package.
1772 PACKAGE='libgfortran'
1776 # Some tools Automake needs.
1778 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1781 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1784 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1787 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1790 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1792 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1794 # Installed binaries are usually stripped using `strip' when the user
1795 # run `make install-strip'. However `strip' might not be the right
1796 # tool to use in cross-compilation environments, therefore Automake
1797 # will honor the `STRIP' environment variable to overrule this program.
1798 if test "$cross_compiling" != no; then
1799 if test -n "$ac_tool_prefix"; then
1800 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1801 set dummy ${ac_tool_prefix}strip; ac_word=$2
1802 echo "$as_me:$LINENO: checking for $ac_word" >&5
1803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1804 if test "${ac_cv_prog_STRIP+set}" = set; then
1805 echo $ECHO_N "(cached) $ECHO_C" >&6
1807 if test -n "$STRIP"; then
1808 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1814 test -z "$as_dir" && as_dir=.
1815 for ac_exec_ext in '' $ac_executable_extensions; do
1816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1817 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1826 STRIP=$ac_cv_prog_STRIP
1827 if test -n "$STRIP"; then
1828 echo "$as_me:$LINENO: result: $STRIP" >&5
1829 echo "${ECHO_T}$STRIP" >&6
1831 echo "$as_me:$LINENO: result: no" >&5
1832 echo "${ECHO_T}no" >&6
1836 if test -z "$ac_cv_prog_STRIP"; then
1838 # Extract the first word of "strip", so it can be a program name with args.
1839 set dummy strip; ac_word=$2
1840 echo "$as_me:$LINENO: checking for $ac_word" >&5
1841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1842 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1843 echo $ECHO_N "(cached) $ECHO_C" >&6
1845 if test -n "$ac_ct_STRIP"; then
1846 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1852 test -z "$as_dir" && as_dir=.
1853 for ac_exec_ext in '' $ac_executable_extensions; do
1854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1855 ac_cv_prog_ac_ct_STRIP="strip"
1856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1862 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1865 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1866 if test -n "$ac_ct_STRIP"; then
1867 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1868 echo "${ECHO_T}$ac_ct_STRIP" >&6
1870 echo "$as_me:$LINENO: result: no" >&5
1871 echo "${ECHO_T}no" >&6
1876 STRIP="$ac_cv_prog_STRIP"
1880 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1882 # We need awk for the "check" target. The system "awk" is bad on
1884 # Always define AMTAR for backward compatibility.
1886 AMTAR=${AMTAR-"${am_missing_run}tar"}
1888 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1895 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1896 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1897 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1898 if test "${enable_maintainer_mode+set}" = set; then
1899 enableval="$enable_maintainer_mode"
1900 USE_MAINTAINER_MODE=$enableval
1902 USE_MAINTAINER_MODE=no
1904 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1905 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1908 if test $USE_MAINTAINER_MODE = yes; then
1909 MAINTAINER_MODE_TRUE=
1910 MAINTAINER_MODE_FALSE='#'
1912 MAINTAINER_MODE_TRUE='#'
1913 MAINTAINER_MODE_FALSE=
1916 MAINT=$MAINTAINER_MODE_TRUE
1919 # Default to --enable-multilib
1920 # Check whether --enable-multilib or --disable-multilib was given.
1921 if test "${enable_multilib+set}" = set; then
1922 enableval="$enable_multilib"
1923 case "$enableval" in
1924 yes) multilib=yes ;;
1926 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1927 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1928 { (exit 1); exit 1; }; } ;;
1934 # We may get other options which we leave undocumented:
1935 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1936 # See config-ml.in if you want the gory details.
1938 if test "$srcdir" = "."; then
1939 if test "$with_target_subdir" != "."; then
1940 multi_basedir="$srcdir/$with_multisrctop../.."
1942 multi_basedir="$srcdir/$with_multisrctop.."
1945 multi_basedir="$srcdir/.."
1949 ac_config_commands="$ac_config_commands default-1"
1952 # Handy for debugging:
1953 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1955 # Are we being configured with some form of cross compiler?
1956 # NB: We don't actually need to know this just now, but when, say, a test
1957 # suite is included, we'll have to know.
1958 if test "$build" != "$host"; then
1959 LIBGFOR_IS_NATIVE=false
1962 LIBGFOR_IS_NATIVE=true
1965 # Calculate toolexeclibdir
1966 # Also toolexecdir, though it's only used in toolexeclibdir
1967 case ${version_specific_libs} in
1969 # Need the gcc compiler version to know where to install libraries
1970 # and header files if --enable-version-specific-runtime-libs option
1972 toolexecdir='$(libdir)/gcc/$(target_alias)'
1973 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
1976 if test -n "$with_cross_host" &&
1977 test x"$with_cross_host" != x"no"; then
1978 # Install a library built with a cross compiler in tooldir, not libdir.
1979 toolexecdir='$(exec_prefix)/$(target_alias)'
1980 toolexeclibdir='$(toolexecdir)/lib'
1982 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
1983 toolexeclibdir='$(libdir)'
1985 multi_os_directory=`$CC -print-multi-os-directory`
1986 case $multi_os_directory in
1987 .) ;; # Avoid trailing /.
1988 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
1995 # Check the compiler.
1996 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1997 # We must force CC to /not/ be precious variables; otherwise
1998 # the wrong, non-multilib-adjusted value will be used in multilibs.
1999 # As a side effect, we have to subst CFLAGS ourselves.
2004 ac_cpp='$CPP $CPPFLAGS'
2005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2008 if test -n "$ac_tool_prefix"; then
2009 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2010 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2011 echo "$as_me:$LINENO: checking for $ac_word" >&5
2012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2013 if test "${ac_cv_prog_CC+set}" = set; then
2014 echo $ECHO_N "(cached) $ECHO_C" >&6
2016 if test -n "$CC"; then
2017 ac_cv_prog_CC="$CC" # Let the user override the test.
2019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2023 test -z "$as_dir" && as_dir=.
2024 for ac_exec_ext in '' $ac_executable_extensions; do
2025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2026 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2036 if test -n "$CC"; then
2037 echo "$as_me:$LINENO: result: $CC" >&5
2038 echo "${ECHO_T}$CC" >&6
2040 echo "$as_me:$LINENO: result: no" >&5
2041 echo "${ECHO_T}no" >&6
2045 if test -z "$ac_cv_prog_CC"; then
2047 # Extract the first word of "gcc", so it can be a program name with args.
2048 set dummy gcc; ac_word=$2
2049 echo "$as_me:$LINENO: checking for $ac_word" >&5
2050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2051 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2052 echo $ECHO_N "(cached) $ECHO_C" >&6
2054 if test -n "$ac_ct_CC"; then
2055 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2061 test -z "$as_dir" && as_dir=.
2062 for ac_exec_ext in '' $ac_executable_extensions; do
2063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2064 ac_cv_prog_ac_ct_CC="gcc"
2065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2073 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2074 if test -n "$ac_ct_CC"; then
2075 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2076 echo "${ECHO_T}$ac_ct_CC" >&6
2078 echo "$as_me:$LINENO: result: no" >&5
2079 echo "${ECHO_T}no" >&6
2087 if test -z "$CC"; then
2088 if test -n "$ac_tool_prefix"; then
2089 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2090 set dummy ${ac_tool_prefix}cc; ac_word=$2
2091 echo "$as_me:$LINENO: checking for $ac_word" >&5
2092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2093 if test "${ac_cv_prog_CC+set}" = set; then
2094 echo $ECHO_N "(cached) $ECHO_C" >&6
2096 if test -n "$CC"; then
2097 ac_cv_prog_CC="$CC" # Let the user override the test.
2099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2103 test -z "$as_dir" && as_dir=.
2104 for ac_exec_ext in '' $ac_executable_extensions; do
2105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2106 ac_cv_prog_CC="${ac_tool_prefix}cc"
2107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2116 if test -n "$CC"; then
2117 echo "$as_me:$LINENO: result: $CC" >&5
2118 echo "${ECHO_T}$CC" >&6
2120 echo "$as_me:$LINENO: result: no" >&5
2121 echo "${ECHO_T}no" >&6
2125 if test -z "$ac_cv_prog_CC"; then
2127 # Extract the first word of "cc", so it can be a program name with args.
2128 set dummy cc; ac_word=$2
2129 echo "$as_me:$LINENO: checking for $ac_word" >&5
2130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2131 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2132 echo $ECHO_N "(cached) $ECHO_C" >&6
2134 if test -n "$ac_ct_CC"; then
2135 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2141 test -z "$as_dir" && as_dir=.
2142 for ac_exec_ext in '' $ac_executable_extensions; do
2143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2144 ac_cv_prog_ac_ct_CC="cc"
2145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2153 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2154 if test -n "$ac_ct_CC"; then
2155 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2156 echo "${ECHO_T}$ac_ct_CC" >&6
2158 echo "$as_me:$LINENO: result: no" >&5
2159 echo "${ECHO_T}no" >&6
2168 if test -z "$CC"; then
2169 # Extract the first word of "cc", so it can be a program name with args.
2170 set dummy cc; ac_word=$2
2171 echo "$as_me:$LINENO: checking for $ac_word" >&5
2172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2173 if test "${ac_cv_prog_CC+set}" = set; then
2174 echo $ECHO_N "(cached) $ECHO_C" >&6
2176 if test -n "$CC"; then
2177 ac_cv_prog_CC="$CC" # Let the user override the test.
2180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2184 test -z "$as_dir" && as_dir=.
2185 for ac_exec_ext in '' $ac_executable_extensions; do
2186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2187 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2188 ac_prog_rejected=yes
2192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2198 if test $ac_prog_rejected = yes; then
2199 # We found a bogon in the path, so make sure we never use it.
2200 set dummy $ac_cv_prog_CC
2202 if test $# != 0; then
2203 # We chose a different compiler from the bogus one.
2204 # However, it has the same basename, so the bogon will be chosen
2205 # first if we set CC to just the basename; use the full file name.
2207 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2213 if test -n "$CC"; then
2214 echo "$as_me:$LINENO: result: $CC" >&5
2215 echo "${ECHO_T}$CC" >&6
2217 echo "$as_me:$LINENO: result: no" >&5
2218 echo "${ECHO_T}no" >&6
2222 if test -z "$CC"; then
2223 if test -n "$ac_tool_prefix"; then
2226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2227 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2228 echo "$as_me:$LINENO: checking for $ac_word" >&5
2229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2230 if test "${ac_cv_prog_CC+set}" = set; then
2231 echo $ECHO_N "(cached) $ECHO_C" >&6
2233 if test -n "$CC"; then
2234 ac_cv_prog_CC="$CC" # Let the user override the test.
2236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2240 test -z "$as_dir" && as_dir=.
2241 for ac_exec_ext in '' $ac_executable_extensions; do
2242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2243 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2253 if test -n "$CC"; then
2254 echo "$as_me:$LINENO: result: $CC" >&5
2255 echo "${ECHO_T}$CC" >&6
2257 echo "$as_me:$LINENO: result: no" >&5
2258 echo "${ECHO_T}no" >&6
2261 test -n "$CC" && break
2264 if test -z "$CC"; then
2268 # Extract the first word of "$ac_prog", so it can be a program name with args.
2269 set dummy $ac_prog; ac_word=$2
2270 echo "$as_me:$LINENO: checking for $ac_word" >&5
2271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2272 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2273 echo $ECHO_N "(cached) $ECHO_C" >&6
2275 if test -n "$ac_ct_CC"; then
2276 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2282 test -z "$as_dir" && as_dir=.
2283 for ac_exec_ext in '' $ac_executable_extensions; do
2284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2285 ac_cv_prog_ac_ct_CC="$ac_prog"
2286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2294 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2295 if test -n "$ac_ct_CC"; then
2296 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2297 echo "${ECHO_T}$ac_ct_CC" >&6
2299 echo "$as_me:$LINENO: result: no" >&5
2300 echo "${ECHO_T}no" >&6
2303 test -n "$ac_ct_CC" && break
2312 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2313 See \`config.log' for more details." >&5
2314 echo "$as_me: error: no acceptable C compiler found in \$PATH
2315 See \`config.log' for more details." >&2;}
2316 { (exit 1); exit 1; }; }
2318 # Provide some information about the compiler.
2319 echo "$as_me:$LINENO:" \
2320 "checking for C compiler version" >&5
2321 ac_compiler=`set X $ac_compile; echo $2`
2322 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2323 (eval $ac_compiler --version </dev/null >&5) 2>&5
2325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2326 (exit $ac_status); }
2327 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2328 (eval $ac_compiler -v </dev/null >&5) 2>&5
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); }
2332 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2333 (eval $ac_compiler -V </dev/null >&5) 2>&5
2335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336 (exit $ac_status); }
2338 cat >conftest.$ac_ext <<_ACEOF
2341 cat confdefs.h >>conftest.$ac_ext
2342 cat >>conftest.$ac_ext <<_ACEOF
2343 /* end confdefs.h. */
2353 ac_clean_files_save=$ac_clean_files
2354 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2355 # Try to create an executable without -o first, disregard a.out.
2356 # It will help us diagnose broken compilers, and finding out an intuition
2358 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2359 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2360 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2361 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2362 (eval $ac_link_default) 2>&5
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }; then
2366 # Find the output, starting from the most likely. This scheme is
2367 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2370 # Be careful to initialize this variable, since it used to be cached.
2371 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2373 # b.out is created by i960 compilers.
2374 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2376 test -f "$ac_file" || continue
2378 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2381 # This is the source file.
2384 # We found the default executable, but exeext='' is most
2388 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2389 # FIXME: I believe we export ac_cv_exeext for Libtool,
2390 # but it would be cool to find out if it's true. Does anybody
2391 # maintain Libtool? --akim.
2399 echo "$as_me: failed program was:" >&5
2400 sed 's/^/| /' conftest.$ac_ext >&5
2402 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2403 See \`config.log' for more details." >&5
2404 echo "$as_me: error: C compiler cannot create executables
2405 See \`config.log' for more details." >&2;}
2406 { (exit 77); exit 77; }; }
2409 ac_exeext=$ac_cv_exeext
2410 echo "$as_me:$LINENO: result: $ac_file" >&5
2411 echo "${ECHO_T}$ac_file" >&6
2413 # Check the compiler produces executables we can run. If not, either
2414 # the compiler is broken, or we cross compile.
2415 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2416 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2417 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2418 # If not cross compiling, check that we can run a simple program.
2419 if test "$cross_compiling" != yes; then
2420 if { ac_try='./$ac_file'
2421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2425 (exit $ac_status); }; }; then
2428 if test "$cross_compiling" = maybe; then
2431 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2432 If you meant to cross compile, use \`--host'.
2433 See \`config.log' for more details." >&5
2434 echo "$as_me: error: cannot run C compiled programs.
2435 If you meant to cross compile, use \`--host'.
2436 See \`config.log' for more details." >&2;}
2437 { (exit 1); exit 1; }; }
2441 echo "$as_me:$LINENO: result: yes" >&5
2442 echo "${ECHO_T}yes" >&6
2444 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2445 ac_clean_files=$ac_clean_files_save
2446 # Check the compiler produces executables we can run. If not, either
2447 # the compiler is broken, or we cross compile.
2448 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2449 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2450 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2451 echo "${ECHO_T}$cross_compiling" >&6
2453 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2454 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2456 (eval $ac_link) 2>&5
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); }; then
2460 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2461 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2462 # work properly (i.e., refer to `conftest.exe'), while it won't with
2464 for ac_file in conftest.exe conftest conftest.*; do
2465 test -f "$ac_file" || continue
2467 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2468 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2475 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2476 See \`config.log' for more details." >&5
2477 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2478 See \`config.log' for more details." >&2;}
2479 { (exit 1); exit 1; }; }
2482 rm -f conftest$ac_cv_exeext
2483 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2484 echo "${ECHO_T}$ac_cv_exeext" >&6
2486 rm -f conftest.$ac_ext
2487 EXEEXT=$ac_cv_exeext
2489 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2490 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2491 if test "${ac_cv_objext+set}" = set; then
2492 echo $ECHO_N "(cached) $ECHO_C" >&6
2494 cat >conftest.$ac_ext <<_ACEOF
2497 cat confdefs.h >>conftest.$ac_ext
2498 cat >>conftest.$ac_ext <<_ACEOF
2499 /* end confdefs.h. */
2509 rm -f conftest.o conftest.obj
2510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2511 (eval $ac_compile) 2>&5
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; then
2515 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2517 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2518 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2523 echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.$ac_ext >&5
2526 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2527 See \`config.log' for more details." >&5
2528 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2529 See \`config.log' for more details." >&2;}
2530 { (exit 1); exit 1; }; }
2533 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2535 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2536 echo "${ECHO_T}$ac_cv_objext" >&6
2537 OBJEXT=$ac_cv_objext
2539 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2540 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2541 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2542 echo $ECHO_N "(cached) $ECHO_C" >&6
2544 cat >conftest.$ac_ext <<_ACEOF
2547 cat confdefs.h >>conftest.$ac_ext
2548 cat >>conftest.$ac_ext <<_ACEOF
2549 /* end confdefs.h. */
2562 rm -f conftest.$ac_objext
2563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2564 (eval $ac_compile) 2>conftest.er1
2566 grep -v '^ *+' conftest.er1 >conftest.err
2568 cat conftest.err >&5
2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570 (exit $ac_status); } &&
2571 { ac_try='test -z "$ac_c_werror_flag" || 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 # find the maximum length of command line arguments
3690 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3691 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3692 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3693 echo $ECHO_N "(cached) $ECHO_C" >&6
3700 # On DJGPP, this test can blow up pretty badly due to problems in libc
3701 # (any single argument exceeding 2000 bytes causes a buffer overrun
3702 # during glob expansion). Even if it were fixed, the result of this
3703 # check would be larger than it should be.
3704 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3708 # On Win9x/ME, this test blows up -- it succeeds, but takes
3709 # about 5 minutes as the teststring grows exponentially.
3710 # Worse, since 9x/ME are not pre-emptively multitasking,
3711 # you end up with a "frozen" computer, even though with patience
3712 # the test eventually succeeds (with a max line length of 256k).
3713 # Instead, let's just punt: use the minimum linelength reported by
3714 # all of the supported platforms: 8192 (on NT/2K/XP).
3715 lt_cv_sys_max_cmd_len=8192;
3719 # On AmigaOS with pdksh, this test takes hours, literally.
3720 # So we just punt and use a minimum line length of 8192.
3721 lt_cv_sys_max_cmd_len=8192;
3724 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3725 # This has been around since 386BSD, at least. Likely further.
3726 if test -x /sbin/sysctl; then
3727 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3728 elif test -x /usr/sbin/sysctl; then
3729 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3731 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
3733 # And add a safety zone
3734 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3735 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3741 if test -n $lt_cv_sys_max_cmd_len ; then
3742 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3743 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3745 echo "$as_me:$LINENO: result: none" >&5
3746 echo "${ECHO_T}none" >&6
3750 # Only perform the check for file, if the check method requires it
3751 case $deplibs_check_method in
3753 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3754 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3755 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3756 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3757 echo $ECHO_N "(cached) $ECHO_C" >&6
3761 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3764 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3767 ac_save_MAGIC_CMD="$MAGIC_CMD"
3768 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3769 ac_dummy="/usr/bin:$PATH"
3770 for ac_dir in $ac_dummy; do
3771 test -z "$ac_dir" && ac_dir=.
3772 if test -f $ac_dir/${ac_tool_prefix}file; then
3773 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3774 if test -n "$file_magic_test_file"; then
3775 case $deplibs_check_method in
3777 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3778 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3779 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3780 egrep "$file_magic_regex" > /dev/null; then
3785 *** Warning: the command libtool uses to detect shared libraries,
3786 *** $file_magic_cmd, produces output that libtool cannot recognize.
3787 *** The result is that libtool may fail to recognize shared libraries
3788 *** as such. This will affect the creation of libtool libraries that
3789 *** depend on shared libraries, but programs linked with such libtool
3790 *** libraries will work regardless of this problem. Nevertheless, you
3791 *** may want to report the problem to your system manager and/or to
3792 *** bug-libtool@gnu.org
3802 MAGIC_CMD="$ac_save_MAGIC_CMD"
3807 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3808 if test -n "$MAGIC_CMD"; then
3809 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3810 echo "${ECHO_T}$MAGIC_CMD" >&6
3812 echo "$as_me:$LINENO: result: no" >&5
3813 echo "${ECHO_T}no" >&6
3816 if test -z "$lt_cv_path_MAGIC_CMD"; then
3817 if test -n "$ac_tool_prefix"; then
3818 echo "$as_me:$LINENO: checking for file" >&5
3819 echo $ECHO_N "checking for file... $ECHO_C" >&6
3820 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3821 echo $ECHO_N "(cached) $ECHO_C" >&6
3825 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3828 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3831 ac_save_MAGIC_CMD="$MAGIC_CMD"
3832 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3833 ac_dummy="/usr/bin:$PATH"
3834 for ac_dir in $ac_dummy; do
3835 test -z "$ac_dir" && ac_dir=.
3836 if test -f $ac_dir/file; then
3837 lt_cv_path_MAGIC_CMD="$ac_dir/file"
3838 if test -n "$file_magic_test_file"; then
3839 case $deplibs_check_method in
3841 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3842 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3843 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3844 egrep "$file_magic_regex" > /dev/null; then
3849 *** Warning: the command libtool uses to detect shared libraries,
3850 *** $file_magic_cmd, produces output that libtool cannot recognize.
3851 *** The result is that libtool may fail to recognize shared libraries
3852 *** as such. This will affect the creation of libtool libraries that
3853 *** depend on shared libraries, but programs linked with such libtool
3854 *** libraries will work regardless of this problem. Nevertheless, you
3855 *** may want to report the problem to your system manager and/or to
3856 *** bug-libtool@gnu.org
3866 MAGIC_CMD="$ac_save_MAGIC_CMD"
3871 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3872 if test -n "$MAGIC_CMD"; then
3873 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3874 echo "${ECHO_T}$MAGIC_CMD" >&6
3876 echo "$as_me:$LINENO: result: no" >&5
3877 echo "${ECHO_T}no" >&6
3889 if test -n "$ac_tool_prefix"; then
3890 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3891 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3892 echo "$as_me:$LINENO: checking for $ac_word" >&5
3893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3894 if test "${ac_cv_prog_RANLIB+set}" = set; then
3895 echo $ECHO_N "(cached) $ECHO_C" >&6
3897 if test -n "$RANLIB"; then
3898 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3904 test -z "$as_dir" && as_dir=.
3905 for ac_exec_ext in '' $ac_executable_extensions; do
3906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3907 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3916 RANLIB=$ac_cv_prog_RANLIB
3917 if test -n "$RANLIB"; then
3918 echo "$as_me:$LINENO: result: $RANLIB" >&5
3919 echo "${ECHO_T}$RANLIB" >&6
3921 echo "$as_me:$LINENO: result: no" >&5
3922 echo "${ECHO_T}no" >&6
3926 if test -z "$ac_cv_prog_RANLIB"; then
3927 ac_ct_RANLIB=$RANLIB
3928 # Extract the first word of "ranlib", so it can be a program name with args.
3929 set dummy ranlib; ac_word=$2
3930 echo "$as_me:$LINENO: checking for $ac_word" >&5
3931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3932 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3933 echo $ECHO_N "(cached) $ECHO_C" >&6
3935 if test -n "$ac_ct_RANLIB"; then
3936 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3942 test -z "$as_dir" && as_dir=.
3943 for ac_exec_ext in '' $ac_executable_extensions; do
3944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3945 ac_cv_prog_ac_ct_RANLIB="ranlib"
3946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3952 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3955 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3956 if test -n "$ac_ct_RANLIB"; then
3957 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3958 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3960 echo "$as_me:$LINENO: result: no" >&5
3961 echo "${ECHO_T}no" >&6
3964 RANLIB=$ac_ct_RANLIB
3966 RANLIB="$ac_cv_prog_RANLIB"
3969 if test -n "$ac_tool_prefix"; then
3970 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3971 set dummy ${ac_tool_prefix}strip; ac_word=$2
3972 echo "$as_me:$LINENO: checking for $ac_word" >&5
3973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3974 if test "${ac_cv_prog_STRIP+set}" = set; then
3975 echo $ECHO_N "(cached) $ECHO_C" >&6
3977 if test -n "$STRIP"; then
3978 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3984 test -z "$as_dir" && as_dir=.
3985 for ac_exec_ext in '' $ac_executable_extensions; do
3986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3987 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3996 STRIP=$ac_cv_prog_STRIP
3997 if test -n "$STRIP"; then
3998 echo "$as_me:$LINENO: result: $STRIP" >&5
3999 echo "${ECHO_T}$STRIP" >&6
4001 echo "$as_me:$LINENO: result: no" >&5
4002 echo "${ECHO_T}no" >&6
4006 if test -z "$ac_cv_prog_STRIP"; then
4008 # Extract the first word of "strip", so it can be a program name with args.
4009 set dummy strip; ac_word=$2
4010 echo "$as_me:$LINENO: checking for $ac_word" >&5
4011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4012 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4013 echo $ECHO_N "(cached) $ECHO_C" >&6
4015 if test -n "$ac_ct_STRIP"; then
4016 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4022 test -z "$as_dir" && as_dir=.
4023 for ac_exec_ext in '' $ac_executable_extensions; do
4024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4025 ac_cv_prog_ac_ct_STRIP="strip"
4026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4032 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4035 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4036 if test -n "$ac_ct_STRIP"; then
4037 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4038 echo "${ECHO_T}$ac_ct_STRIP" >&6
4040 echo "$as_me:$LINENO: result: no" >&5
4041 echo "${ECHO_T}no" >&6
4046 STRIP="$ac_cv_prog_STRIP"
4050 # Check for any special flags to pass to ltconfig.
4051 libtool_flags="--cache-file=$cache_file"
4052 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4053 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4054 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4055 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4056 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4059 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4060 if test "${enable_libtool_lock+set}" = set; then
4061 enableval="$enable_libtool_lock"
4064 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4065 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4068 # Check whether --with-pic or --without-pic was given.
4069 if test "${with_pic+set}" = set; then
4075 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4076 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4078 # Some flags need to be propagated to the compiler or linker for good
4082 # Find out which ABI we are using.
4083 echo '#line 4083 "configure"' > conftest.$ac_ext
4084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4085 (eval $ac_compile) 2>&5
4087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088 (exit $ac_status); }; then
4089 if test "$lt_cv_prog_gnu_ld" = yes; then
4090 case `/usr/bin/file conftest.$ac_objext` in
4092 LD="${LD-ld} -melf32bsmip"
4095 LD="${LD-ld} -melf32bmipn32"
4098 LD="${LD-ld} -melf64bmip"
4102 case `/usr/bin/file conftest.$ac_objext` in
4119 # Find out which ABI we are using.
4120 echo 'int i;' > conftest.$ac_ext
4121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4122 (eval $ac_compile) 2>&5
4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4125 (exit $ac_status); }; then
4126 case "`/usr/bin/file conftest.o`" in
4138 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4139 # Find out which ABI we are using.
4140 echo 'int i;' > conftest.$ac_ext
4141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4142 (eval $ac_compile) 2>&5
4144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4145 (exit $ac_status); }; then
4146 case "`/usr/bin/file conftest.o`" in
4150 LD="${LD-ld} -m elf_i386"
4152 ppc64-*linux*|powerpc64-*linux*)
4153 LD="${LD-ld} -m elf32ppclinux"
4156 LD="${LD-ld} -m elf_s390"
4159 LD="${LD-ld} -m elf32_sparc"
4166 LD="${LD-ld} -m elf_x86_64"
4168 ppc*-*linux*|powerpc*-*linux*)
4169 LD="${LD-ld} -m elf64ppc"
4172 LD="${LD-ld} -m elf64_s390"
4175 LD="${LD-ld} -m elf64_sparc"
4185 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4186 SAVE_CFLAGS="$CFLAGS"
4187 CFLAGS="$CFLAGS -belf"
4188 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4189 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4190 if test "${lt_cv_cc_needs_belf+set}" = set; then
4191 echo $ECHO_N "(cached) $ECHO_C" >&6
4196 ac_cpp='$CPP $CPPFLAGS'
4197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4201 cat >conftest.$ac_ext <<_ACEOF
4204 cat confdefs.h >>conftest.$ac_ext
4205 cat >>conftest.$ac_ext <<_ACEOF
4206 /* end confdefs.h. */
4216 rm -f conftest.$ac_objext conftest$ac_exeext
4217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4218 (eval $ac_link) 2>conftest.er1
4220 grep -v '^ *+' conftest.er1 >conftest.err
4222 cat conftest.err >&5
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); } &&
4225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4230 (exit $ac_status); }; } &&
4231 { ac_try='test -s conftest$ac_exeext'
4232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236 (exit $ac_status); }; }; then
4237 lt_cv_cc_needs_belf=yes
4239 echo "$as_me: failed program was:" >&5
4240 sed 's/^/| /' conftest.$ac_ext >&5
4242 lt_cv_cc_needs_belf=no
4244 rm -f conftest.err conftest.$ac_objext \
4245 conftest$ac_exeext conftest.$ac_ext
4247 ac_cpp='$CPP $CPPFLAGS'
4248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4253 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4254 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4255 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4256 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4257 CFLAGS="$SAVE_CFLAGS"
4265 # Save cache, so that ltconfig can load it
4266 cat >confcache <<\_ACEOF
4267 # This file is a shell script that caches the results of configure
4268 # tests run on this system so they can be shared between configure
4269 # scripts and configure runs, see configure's option --config-cache.
4270 # It is not useful on other systems. If it contains results you don't
4271 # want to keep, you may remove or edit it.
4273 # config.status only pays attention to the cache file if you give it
4274 # the --recheck option to rerun configure.
4276 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4277 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4282 # The following way of writing the cache mishandles newlines in values,
4283 # but we know of no workaround that is simple, portable, and efficient.
4284 # So, don't put newlines in cache variables' values.
4285 # Ultrix sh set writes to stderr and can't be redirected directly,
4286 # and sets the high bit in the cache file unless we assign to the vars.
4289 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4291 # `set' does not quote correctly, so add quotes (double-quote
4292 # substitution turns \\\\ into \\, and sed turns \\ into \).
4295 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4298 # `set' quotes correctly as required by POSIX, so do not add quotes.
4300 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4307 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4309 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4311 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4312 if test -w $cache_file; then
4313 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4314 cat confcache >$cache_file
4316 echo "not updating unwritable cache $cache_file"
4321 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4322 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4323 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4324 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4325 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4326 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4327 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4328 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4329 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4330 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4331 echo "$as_me: error: libtool configure failed" >&2;}
4332 { (exit 1); exit 1; }; }
4334 # Reload cache, that may have been modified by ltconfig
4335 if test -r "$cache_file"; then
4336 # Some versions of bash will fail to source /dev/null (special
4337 # files actually), so we avoid doing that.
4338 if test -f "$cache_file"; then
4339 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4340 echo "$as_me: loading cache $cache_file" >&6;}
4342 [\\/]* | ?:[\\/]* ) . $cache_file;;
4343 *) . ./$cache_file;;
4347 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4348 echo "$as_me: creating cache $cache_file" >&6;}
4353 # This can be used to rebuild libtool when needed
4354 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4356 # Always use our own libtool.
4357 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4359 # Redirect the config.log output again, so that the ltconfig log is not
4360 # clobbered by the next message.
4361 exec 5>>./config.log
4370 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4372 # We need gfortran to compile parts of the library
4373 # We can't use AC_PROG_FC because it expects a fully working gfortran.
4374 #AC_PROG_FC(gfortran)
4376 ac_ext=${FC_SRCEXT-f}
4377 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4378 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4379 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4380 if test -n "$ac_tool_prefix"; then
4381 for ac_prog in gfortran
4383 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4384 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4385 echo "$as_me:$LINENO: checking for $ac_word" >&5
4386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4387 if test "${ac_cv_prog_FC+set}" = set; then
4388 echo $ECHO_N "(cached) $ECHO_C" >&6
4390 if test -n "$FC"; then
4391 ac_cv_prog_FC="$FC" # Let the user override the test.
4393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4397 test -z "$as_dir" && as_dir=.
4398 for ac_exec_ext in '' $ac_executable_extensions; do
4399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4400 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4410 if test -n "$FC"; then
4411 echo "$as_me:$LINENO: result: $FC" >&5
4412 echo "${ECHO_T}$FC" >&6
4414 echo "$as_me:$LINENO: result: no" >&5
4415 echo "${ECHO_T}no" >&6
4418 test -n "$FC" && break
4421 if test -z "$FC"; then
4423 for ac_prog in gfortran
4425 # Extract the first word of "$ac_prog", so it can be a program name with args.
4426 set dummy $ac_prog; ac_word=$2
4427 echo "$as_me:$LINENO: checking for $ac_word" >&5
4428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4429 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4430 echo $ECHO_N "(cached) $ECHO_C" >&6
4432 if test -n "$ac_ct_FC"; then
4433 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4439 test -z "$as_dir" && as_dir=.
4440 for ac_exec_ext in '' $ac_executable_extensions; do
4441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4442 ac_cv_prog_ac_ct_FC="$ac_prog"
4443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4451 ac_ct_FC=$ac_cv_prog_ac_ct_FC
4452 if test -n "$ac_ct_FC"; then
4453 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4454 echo "${ECHO_T}$ac_ct_FC" >&6
4456 echo "$as_me:$LINENO: result: no" >&5
4457 echo "${ECHO_T}no" >&6
4460 test -n "$ac_ct_FC" && break
4467 # Provide some information about the compiler.
4468 echo "$as_me:4468:" \
4469 "checking for Fortran compiler version" >&5
4470 ac_compiler=`set X $ac_compile; echo $2`
4471 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4472 (eval $ac_compiler --version </dev/null >&5) 2>&5
4474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4475 (exit $ac_status); }
4476 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4477 (eval $ac_compiler -v </dev/null >&5) 2>&5
4479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4480 (exit $ac_status); }
4481 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4482 (eval $ac_compiler -V </dev/null >&5) 2>&5
4484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4485 (exit $ac_status); }
4488 # If we don't use `.F' as extension, the preprocessor is not run on the
4489 # input file. (Note that this only needs to work for GNU compilers.)
4492 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4493 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4494 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4495 echo $ECHO_N "(cached) $ECHO_C" >&6
4497 cat >conftest.$ac_ext <<_ACEOF
4505 rm -f conftest.$ac_objext
4506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4507 (eval $ac_compile) 2>conftest.er1
4509 grep -v '^ *+' conftest.er1 >conftest.err
4511 cat conftest.err >&5
4512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4513 (exit $ac_status); } &&
4514 { ac_try='test -z "$ac_fc_werror_flag" || test ! -s conftest.err'
4515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4519 (exit $ac_status); }; } &&
4520 { ac_try='test -s conftest.$ac_objext'
4521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525 (exit $ac_status); }; }; then
4528 echo "$as_me: failed program was:" >&5
4529 sed 's/^/| /' conftest.$ac_ext >&5
4533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4534 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4537 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4538 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4540 ac_test_FFLAGS=${FCFLAGS+set}
4541 ac_save_FFLAGS=$FCFLAGS
4543 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4544 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4545 if test "${ac_cv_prog_fc_g+set}" = set; then
4546 echo $ECHO_N "(cached) $ECHO_C" >&6
4549 cat >conftest.$ac_ext <<_ACEOF
4554 rm -f conftest.$ac_objext
4555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4556 (eval $ac_compile) 2>conftest.er1
4558 grep -v '^ *+' conftest.er1 >conftest.err
4560 cat conftest.err >&5
4561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4562 (exit $ac_status); } &&
4563 { ac_try='test -z "$ac_fc_werror_flag" || test ! -s conftest.err'
4564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568 (exit $ac_status); }; } &&
4569 { ac_try='test -s conftest.$ac_objext'
4570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4574 (exit $ac_status); }; }; then
4577 echo "$as_me: failed program was:" >&5
4578 sed 's/^/| /' conftest.$ac_ext >&5
4582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4585 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4586 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4587 if test "$ac_test_FFLAGS" = set; then
4588 FCFLAGS=$ac_save_FFLAGS
4589 elif test $ac_cv_prog_fc_g = yes; then
4590 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4596 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4604 ac_cpp='$CPP $CPPFLAGS'
4605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4609 FCFLAGS="$FCFLAGS -Wall -fno-repack-arrays -fno-underscoring"
4611 # extra LD Flags which are required for targets
4614 # Darwin needs -single_module when linking libgfortran
4615 extra_ldflags_libgfortran=-Wl,-single_module
4620 # Check whether --enable-largefile or --disable-largefile was given.
4621 if test "${enable_largefile+set}" = set; then
4622 enableval="$enable_largefile"
4625 if test "$enable_largefile" != no; then
4627 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4628 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4629 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4630 echo $ECHO_N "(cached) $ECHO_C" >&6
4632 ac_cv_sys_largefile_CC=no
4633 if test "$GCC" != yes; then
4636 # IRIX 6.2 and later do not support large files by default,
4637 # so use the C compiler's -n32 option if that helps.
4638 cat >conftest.$ac_ext <<_ACEOF
4641 cat confdefs.h >>conftest.$ac_ext
4642 cat >>conftest.$ac_ext <<_ACEOF
4643 /* end confdefs.h. */
4644 #include <sys/types.h>
4645 /* Check that off_t can represent 2**63 - 1 correctly.
4646 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4647 since some C++ compilers masquerading as C compilers
4648 incorrectly reject 9223372036854775807. */
4649 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4650 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4651 && LARGE_OFF_T % 2147483647 == 1)
4661 rm -f conftest.$ac_objext
4662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4663 (eval $ac_compile) 2>conftest.er1
4665 grep -v '^ *+' conftest.er1 >conftest.err
4667 cat conftest.err >&5
4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 (exit $ac_status); } &&
4670 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4675 (exit $ac_status); }; } &&
4676 { ac_try='test -s conftest.$ac_objext'
4677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4681 (exit $ac_status); }; }; then
4684 echo "$as_me: failed program was:" >&5
4685 sed 's/^/| /' conftest.$ac_ext >&5
4688 rm -f conftest.err conftest.$ac_objext
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
4711 ac_cv_sys_largefile_CC=' -n32'; break
4713 echo "$as_me: failed program was:" >&5
4714 sed 's/^/| /' conftest.$ac_ext >&5
4717 rm -f conftest.err conftest.$ac_objext
4721 rm -f conftest.$ac_ext
4724 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4725 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4726 if test "$ac_cv_sys_largefile_CC" != no; then
4727 CC=$CC$ac_cv_sys_largefile_CC
4730 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4731 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4732 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4733 echo $ECHO_N "(cached) $ECHO_C" >&6
4736 ac_cv_sys_file_offset_bits=no
4737 cat >conftest.$ac_ext <<_ACEOF
4740 cat confdefs.h >>conftest.$ac_ext
4741 cat >>conftest.$ac_ext <<_ACEOF
4742 /* end confdefs.h. */
4743 #include <sys/types.h>
4744 /* Check that off_t can represent 2**63 - 1 correctly.
4745 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4746 since some C++ compilers masquerading as C compilers
4747 incorrectly reject 9223372036854775807. */
4748 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4749 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4750 && LARGE_OFF_T % 2147483647 == 1)
4760 rm -f conftest.$ac_objext
4761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4762 (eval $ac_compile) 2>conftest.er1
4764 grep -v '^ *+' conftest.er1 >conftest.err
4766 cat conftest.err >&5
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); } &&
4769 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4774 (exit $ac_status); }; } &&
4775 { ac_try='test -s conftest.$ac_objext'
4776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4780 (exit $ac_status); }; }; then
4783 echo "$as_me: failed program was:" >&5
4784 sed 's/^/| /' conftest.$ac_ext >&5
4787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4788 cat >conftest.$ac_ext <<_ACEOF
4791 cat confdefs.h >>conftest.$ac_ext
4792 cat >>conftest.$ac_ext <<_ACEOF
4793 /* end confdefs.h. */
4794 #define _FILE_OFFSET_BITS 64
4795 #include <sys/types.h>
4796 /* Check that off_t can represent 2**63 - 1 correctly.
4797 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4798 since some C++ compilers masquerading as C compilers
4799 incorrectly reject 9223372036854775807. */
4800 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4801 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4802 && LARGE_OFF_T % 2147483647 == 1)
4812 rm -f conftest.$ac_objext
4813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4814 (eval $ac_compile) 2>conftest.er1
4816 grep -v '^ *+' conftest.er1 >conftest.err
4818 cat conftest.err >&5
4819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4820 (exit $ac_status); } &&
4821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4826 (exit $ac_status); }; } &&
4827 { ac_try='test -s conftest.$ac_objext'
4828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832 (exit $ac_status); }; }; then
4833 ac_cv_sys_file_offset_bits=64; break
4835 echo "$as_me: failed program was:" >&5
4836 sed 's/^/| /' conftest.$ac_ext >&5
4839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4843 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4844 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4845 if test "$ac_cv_sys_file_offset_bits" != no; then
4847 cat >>confdefs.h <<_ACEOF
4848 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4853 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4854 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4855 if test "${ac_cv_sys_large_files+set}" = set; then
4856 echo $ECHO_N "(cached) $ECHO_C" >&6
4859 ac_cv_sys_large_files=no
4860 cat >conftest.$ac_ext <<_ACEOF
4863 cat confdefs.h >>conftest.$ac_ext
4864 cat >>conftest.$ac_ext <<_ACEOF
4865 /* end confdefs.h. */
4866 #include <sys/types.h>
4867 /* Check that off_t can represent 2**63 - 1 correctly.
4868 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4869 since some C++ compilers masquerading as C compilers
4870 incorrectly reject 9223372036854775807. */
4871 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4872 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4873 && LARGE_OFF_T % 2147483647 == 1)
4883 rm -f conftest.$ac_objext
4884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4885 (eval $ac_compile) 2>conftest.er1
4887 grep -v '^ *+' conftest.er1 >conftest.err
4889 cat conftest.err >&5
4890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891 (exit $ac_status); } &&
4892 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897 (exit $ac_status); }; } &&
4898 { ac_try='test -s conftest.$ac_objext'
4899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); }; }; then
4906 echo "$as_me: failed program was:" >&5
4907 sed 's/^/| /' conftest.$ac_ext >&5
4910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4911 cat >conftest.$ac_ext <<_ACEOF
4914 cat confdefs.h >>conftest.$ac_ext
4915 cat >>conftest.$ac_ext <<_ACEOF
4916 /* end confdefs.h. */
4917 #define _LARGE_FILES 1
4918 #include <sys/types.h>
4919 /* Check that off_t can represent 2**63 - 1 correctly.
4920 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4921 since some C++ compilers masquerading as C compilers
4922 incorrectly reject 9223372036854775807. */
4923 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4924 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4925 && LARGE_OFF_T % 2147483647 == 1)
4935 rm -f conftest.$ac_objext
4936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4937 (eval $ac_compile) 2>conftest.er1
4939 grep -v '^ *+' conftest.er1 >conftest.err
4941 cat conftest.err >&5
4942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943 (exit $ac_status); } &&
4944 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949 (exit $ac_status); }; } &&
4950 { ac_try='test -s conftest.$ac_objext'
4951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4955 (exit $ac_status); }; }; then
4956 ac_cv_sys_large_files=1; break
4958 echo "$as_me: failed program was:" >&5
4959 sed 's/^/| /' conftest.$ac_ext >&5
4962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4966 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4967 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4968 if test "$ac_cv_sys_large_files" != no; then
4970 cat >>confdefs.h <<_ACEOF
4971 #define _LARGE_FILES $ac_cv_sys_large_files
4979 ac_cpp='$CPP $CPPFLAGS'
4980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4983 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4984 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4985 # On Suns, sometimes $CPP names a directory.
4986 if test -n "$CPP" && test -d "$CPP"; then
4989 if test -z "$CPP"; then
4990 if test "${ac_cv_prog_CPP+set}" = set; then
4991 echo $ECHO_N "(cached) $ECHO_C" >&6
4993 # Double quotes because CPP needs to be expanded
4994 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4997 for ac_c_preproc_warn_flag in '' yes
4999 # Use a header file that comes with gcc, so configuring glibc
5000 # with a fresh cross-compiler works.
5001 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5002 # <limits.h> exists even on freestanding compilers.
5003 # On the NeXT, cc -E runs the code through the compiler's parser,
5004 # not just through cpp. "Syntax error" is here to catch this case.
5005 cat >conftest.$ac_ext <<_ACEOF
5008 cat confdefs.h >>conftest.$ac_ext
5009 cat >>conftest.$ac_ext <<_ACEOF
5010 /* end confdefs.h. */
5012 # include <limits.h>
5014 # include <assert.h>
5018 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5019 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5021 grep -v '^ *+' conftest.er1 >conftest.err
5023 cat conftest.err >&5
5024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5025 (exit $ac_status); } >/dev/null; then
5026 if test -s conftest.err; then
5027 ac_cpp_err=$ac_c_preproc_warn_flag
5028 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5035 if test -z "$ac_cpp_err"; then
5038 echo "$as_me: failed program was:" >&5
5039 sed 's/^/| /' conftest.$ac_ext >&5
5041 # Broken: fails on valid input.
5044 rm -f conftest.err conftest.$ac_ext
5046 # OK, works on sane cases. Now check whether non-existent headers
5047 # can be detected and how.
5048 cat >conftest.$ac_ext <<_ACEOF
5051 cat confdefs.h >>conftest.$ac_ext
5052 cat >>conftest.$ac_ext <<_ACEOF
5053 /* end confdefs.h. */
5054 #include <ac_nonexistent.h>
5056 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5057 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5059 grep -v '^ *+' conftest.er1 >conftest.err
5061 cat conftest.err >&5
5062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5063 (exit $ac_status); } >/dev/null; then
5064 if test -s conftest.err; then
5065 ac_cpp_err=$ac_c_preproc_warn_flag
5066 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5073 if test -z "$ac_cpp_err"; then
5074 # Broken: success on invalid input.
5077 echo "$as_me: failed program was:" >&5
5078 sed 's/^/| /' conftest.$ac_ext >&5
5080 # Passes both tests.
5084 rm -f conftest.err conftest.$ac_ext
5087 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5088 rm -f conftest.err conftest.$ac_ext
5089 if $ac_preproc_ok; then
5101 echo "$as_me:$LINENO: result: $CPP" >&5
5102 echo "${ECHO_T}$CPP" >&6
5104 for ac_c_preproc_warn_flag in '' yes
5106 # Use a header file that comes with gcc, so configuring glibc
5107 # with a fresh cross-compiler works.
5108 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5109 # <limits.h> exists even on freestanding compilers.
5110 # On the NeXT, cc -E runs the code through the compiler's parser,
5111 # not just through cpp. "Syntax error" is here to catch this case.
5112 cat >conftest.$ac_ext <<_ACEOF
5115 cat confdefs.h >>conftest.$ac_ext
5116 cat >>conftest.$ac_ext <<_ACEOF
5117 /* end confdefs.h. */
5119 # include <limits.h>
5121 # include <assert.h>
5125 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5126 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5128 grep -v '^ *+' conftest.er1 >conftest.err
5130 cat conftest.err >&5
5131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5132 (exit $ac_status); } >/dev/null; then
5133 if test -s conftest.err; then
5134 ac_cpp_err=$ac_c_preproc_warn_flag
5135 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5142 if test -z "$ac_cpp_err"; then
5145 echo "$as_me: failed program was:" >&5
5146 sed 's/^/| /' conftest.$ac_ext >&5
5148 # Broken: fails on valid input.
5151 rm -f conftest.err conftest.$ac_ext
5153 # OK, works on sane cases. Now check whether non-existent headers
5154 # can be detected and how.
5155 cat >conftest.$ac_ext <<_ACEOF
5158 cat confdefs.h >>conftest.$ac_ext
5159 cat >>conftest.$ac_ext <<_ACEOF
5160 /* end confdefs.h. */
5161 #include <ac_nonexistent.h>
5163 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5164 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5166 grep -v '^ *+' conftest.er1 >conftest.err
5168 cat conftest.err >&5
5169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5170 (exit $ac_status); } >/dev/null; then
5171 if test -s conftest.err; then
5172 ac_cpp_err=$ac_c_preproc_warn_flag
5173 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5180 if test -z "$ac_cpp_err"; then
5181 # Broken: success on invalid input.
5184 echo "$as_me: failed program was:" >&5
5185 sed 's/^/| /' conftest.$ac_ext >&5
5187 # Passes both tests.
5191 rm -f conftest.err conftest.$ac_ext
5194 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5195 rm -f conftest.err conftest.$ac_ext
5196 if $ac_preproc_ok; then
5199 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5200 See \`config.log' for more details." >&5
5201 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5202 See \`config.log' for more details." >&2;}
5203 { (exit 1); exit 1; }; }
5207 ac_cpp='$CPP $CPPFLAGS'
5208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5213 echo "$as_me:$LINENO: checking for egrep" >&5
5214 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5215 if test "${ac_cv_prog_egrep+set}" = set; then
5216 echo $ECHO_N "(cached) $ECHO_C" >&6
5218 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5219 then ac_cv_prog_egrep='grep -E'
5220 else ac_cv_prog_egrep='egrep'
5223 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5224 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5225 EGREP=$ac_cv_prog_egrep
5228 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5229 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5230 if test "${ac_cv_header_stdc+set}" = set; then
5231 echo $ECHO_N "(cached) $ECHO_C" >&6
5233 cat >conftest.$ac_ext <<_ACEOF
5236 cat confdefs.h >>conftest.$ac_ext
5237 cat >>conftest.$ac_ext <<_ACEOF
5238 /* end confdefs.h. */
5252 rm -f conftest.$ac_objext
5253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5254 (eval $ac_compile) 2>conftest.er1
5256 grep -v '^ *+' conftest.er1 >conftest.err
5258 cat conftest.err >&5
5259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5260 (exit $ac_status); } &&
5261 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5266 (exit $ac_status); }; } &&
5267 { ac_try='test -s conftest.$ac_objext'
5268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5272 (exit $ac_status); }; }; then
5273 ac_cv_header_stdc=yes
5275 echo "$as_me: failed program was:" >&5
5276 sed 's/^/| /' conftest.$ac_ext >&5
5278 ac_cv_header_stdc=no
5280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5282 if test $ac_cv_header_stdc = yes; then
5283 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5284 cat >conftest.$ac_ext <<_ACEOF
5287 cat confdefs.h >>conftest.$ac_ext
5288 cat >>conftest.$ac_ext <<_ACEOF
5289 /* end confdefs.h. */
5293 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5294 $EGREP "memchr" >/dev/null 2>&1; then
5297 ac_cv_header_stdc=no
5303 if test $ac_cv_header_stdc = yes; then
5304 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5305 cat >conftest.$ac_ext <<_ACEOF
5308 cat confdefs.h >>conftest.$ac_ext
5309 cat >>conftest.$ac_ext <<_ACEOF
5310 /* end confdefs.h. */
5314 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5315 $EGREP "free" >/dev/null 2>&1; then
5318 ac_cv_header_stdc=no
5324 if test $ac_cv_header_stdc = yes; then
5325 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5326 if test "$cross_compiling" = yes; then
5329 cat >conftest.$ac_ext <<_ACEOF
5332 cat confdefs.h >>conftest.$ac_ext
5333 cat >>conftest.$ac_ext <<_ACEOF
5334 /* end confdefs.h. */
5336 #if ((' ' & 0x0FF) == 0x020)
5337 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5338 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5340 # define ISLOWER(c) \
5341 (('a' <= (c) && (c) <= 'i') \
5342 || ('j' <= (c) && (c) <= 'r') \
5343 || ('s' <= (c) && (c) <= 'z'))
5344 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5347 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5352 for (i = 0; i < 256; i++)
5353 if (XOR (islower (i), ISLOWER (i))
5354 || toupper (i) != TOUPPER (i))
5359 rm -f conftest$ac_exeext
5360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5361 (eval $ac_link) 2>&5
5363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5364 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5369 (exit $ac_status); }; }; then
5372 echo "$as_me: program exited with status $ac_status" >&5
5373 echo "$as_me: failed program was:" >&5
5374 sed 's/^/| /' conftest.$ac_ext >&5
5377 ac_cv_header_stdc=no
5379 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5383 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5384 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5385 if test $ac_cv_header_stdc = yes; then
5387 cat >>confdefs.h <<\_ACEOF
5388 #define STDC_HEADERS 1
5393 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5403 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5404 inttypes.h stdint.h unistd.h
5406 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5407 echo "$as_me:$LINENO: checking for $ac_header" >&5
5408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5410 echo $ECHO_N "(cached) $ECHO_C" >&6
5412 cat >conftest.$ac_ext <<_ACEOF
5415 cat confdefs.h >>conftest.$ac_ext
5416 cat >>conftest.$ac_ext <<_ACEOF
5417 /* end confdefs.h. */
5418 $ac_includes_default
5420 #include <$ac_header>
5422 rm -f conftest.$ac_objext
5423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5424 (eval $ac_compile) 2>conftest.er1
5426 grep -v '^ *+' conftest.er1 >conftest.err
5428 cat conftest.err >&5
5429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5430 (exit $ac_status); } &&
5431 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5436 (exit $ac_status); }; } &&
5437 { ac_try='test -s conftest.$ac_objext'
5438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5442 (exit $ac_status); }; }; then
5443 eval "$as_ac_Header=yes"
5445 echo "$as_me: failed program was:" >&5
5446 sed 's/^/| /' conftest.$ac_ext >&5
5448 eval "$as_ac_Header=no"
5450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5453 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5454 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5455 cat >>confdefs.h <<_ACEOF
5456 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5466 for ac_header in stdlib.h unistd.h
5468 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5470 echo "$as_me:$LINENO: checking for $ac_header" >&5
5471 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5473 echo $ECHO_N "(cached) $ECHO_C" >&6
5475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5476 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5478 # Is the header compilable?
5479 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5480 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5481 cat >conftest.$ac_ext <<_ACEOF
5484 cat confdefs.h >>conftest.$ac_ext
5485 cat >>conftest.$ac_ext <<_ACEOF
5486 /* end confdefs.h. */
5487 $ac_includes_default
5488 #include <$ac_header>
5490 rm -f conftest.$ac_objext
5491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5492 (eval $ac_compile) 2>conftest.er1
5494 grep -v '^ *+' conftest.er1 >conftest.err
5496 cat conftest.err >&5
5497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5498 (exit $ac_status); } &&
5499 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5504 (exit $ac_status); }; } &&
5505 { ac_try='test -s conftest.$ac_objext'
5506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510 (exit $ac_status); }; }; then
5511 ac_header_compiler=yes
5513 echo "$as_me: failed program was:" >&5
5514 sed 's/^/| /' conftest.$ac_ext >&5
5516 ac_header_compiler=no
5518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5519 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5520 echo "${ECHO_T}$ac_header_compiler" >&6
5522 # Is the header present?
5523 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5524 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5525 cat >conftest.$ac_ext <<_ACEOF
5528 cat confdefs.h >>conftest.$ac_ext
5529 cat >>conftest.$ac_ext <<_ACEOF
5530 /* end confdefs.h. */
5531 #include <$ac_header>
5533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5534 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5536 grep -v '^ *+' conftest.er1 >conftest.err
5538 cat conftest.err >&5
5539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5540 (exit $ac_status); } >/dev/null; then
5541 if test -s conftest.err; then
5542 ac_cpp_err=$ac_c_preproc_warn_flag
5543 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5550 if test -z "$ac_cpp_err"; then
5551 ac_header_preproc=yes
5553 echo "$as_me: failed program was:" >&5
5554 sed 's/^/| /' conftest.$ac_ext >&5
5556 ac_header_preproc=no
5558 rm -f conftest.err conftest.$ac_ext
5559 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5560 echo "${ECHO_T}$ac_header_preproc" >&6
5562 # So? What about this header?
5563 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5565 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5566 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5567 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5568 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5569 ac_header_preproc=yes
5572 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5573 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5574 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5575 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5576 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5577 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5578 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5579 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5580 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5581 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5582 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5583 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5586 ## ------------------------------------------------------ ##
5587 ## Report this to the GNU Fortran Runtime Library lists. ##
5588 ## ------------------------------------------------------ ##
5591 sed "s/^/$as_me: WARNING: /" >&2
5594 echo "$as_me:$LINENO: checking for $ac_header" >&5
5595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5597 echo $ECHO_N "(cached) $ECHO_C" >&6
5599 eval "$as_ac_Header=\$ac_header_preproc"
5601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5602 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5605 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5606 cat >>confdefs.h <<_ACEOF
5607 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5615 for ac_func in getpagesize
5617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5618 echo "$as_me:$LINENO: checking for $ac_func" >&5
5619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5620 if eval "test \"\${$as_ac_var+set}\" = set"; then
5621 echo $ECHO_N "(cached) $ECHO_C" >&6
5623 cat >conftest.$ac_ext <<_ACEOF
5626 cat confdefs.h >>conftest.$ac_ext
5627 cat >>conftest.$ac_ext <<_ACEOF
5628 /* end confdefs.h. */
5629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5631 #define $ac_func innocuous_$ac_func
5633 /* System header to define __stub macros and hopefully few prototypes,
5634 which can conflict with char $ac_func (); below.
5635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5636 <limits.h> exists even on freestanding compilers. */
5639 # include <limits.h>
5641 # include <assert.h>
5646 /* Override any gcc2 internal prototype to avoid an error. */
5651 /* We use char because int might match the return type of a gcc2
5652 builtin and then its argument prototype would still apply. */
5654 /* The GNU C library defines this for functions which it implements
5655 to always fail with ENOSYS. Some functions are actually named
5656 something starting with __ and the normal name is an alias. */
5657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5660 char (*f) () = $ac_func;
5669 return f != $ac_func;
5674 rm -f conftest.$ac_objext conftest$ac_exeext
5675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5676 (eval $ac_link) 2>conftest.er1
5678 grep -v '^ *+' conftest.er1 >conftest.err
5680 cat conftest.err >&5
5681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5682 (exit $ac_status); } &&
5683 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688 (exit $ac_status); }; } &&
5689 { ac_try='test -s conftest$ac_exeext'
5690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5694 (exit $ac_status); }; }; then
5695 eval "$as_ac_var=yes"
5697 echo "$as_me: failed program was:" >&5
5698 sed 's/^/| /' conftest.$ac_ext >&5
5700 eval "$as_ac_var=no"
5702 rm -f conftest.err conftest.$ac_objext \
5703 conftest$ac_exeext conftest.$ac_ext
5705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5707 if test `eval echo '${'$as_ac_var'}'` = yes; then
5708 cat >>confdefs.h <<_ACEOF
5709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5715 echo "$as_me:$LINENO: checking for working mmap" >&5
5716 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5717 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5718 echo $ECHO_N "(cached) $ECHO_C" >&6
5720 if test "$cross_compiling" = yes; then
5721 ac_cv_func_mmap_fixed_mapped=no
5723 cat >conftest.$ac_ext <<_ACEOF
5726 cat confdefs.h >>conftest.$ac_ext
5727 cat >>conftest.$ac_ext <<_ACEOF
5728 /* end confdefs.h. */
5729 $ac_includes_default
5730 /* malloc might have been renamed as rpl_malloc. */
5733 /* Thanks to Mike Haertel and Jim Avera for this test.
5734 Here is a matrix of mmap possibilities:
5735 mmap private not fixed
5736 mmap private fixed at somewhere currently unmapped
5737 mmap private fixed at somewhere already mapped
5738 mmap shared not fixed
5739 mmap shared fixed at somewhere currently unmapped
5740 mmap shared fixed at somewhere already mapped
5741 For private mappings, we should verify that changes cannot be read()
5742 back from the file, nor mmap's back from the file at a different
5743 address. (There have been systems where private was not correctly
5744 implemented like the infamous i386 svr4.0, and systems where the
5745 VM page cache was not coherent with the file system buffer cache
5746 like early versions of FreeBSD and possibly contemporary NetBSD.)
5747 For shared mappings, we should conversely verify that changes get
5748 propagated back to all the places they're supposed to be.
5750 Grep wants private fixed already mapped.
5751 The main things grep needs to know about mmap are:
5752 * does it exist and is it safe to write into the mmap'd area
5753 * how to use it (BSD variants) */
5756 #include <sys/mman.h>
5758 #if !STDC_HEADERS && !HAVE_STDLIB_H
5762 /* This mess was copied from the GNU getpagesize.h. */
5763 #if !HAVE_GETPAGESIZE
5764 /* Assume that all systems that can run configure have sys/param.h. */
5765 # if !HAVE_SYS_PARAM_H
5766 # define HAVE_SYS_PARAM_H 1
5769 # ifdef _SC_PAGESIZE
5770 # define getpagesize() sysconf(_SC_PAGESIZE)
5771 # else /* no _SC_PAGESIZE */
5772 # if HAVE_SYS_PARAM_H
5773 # include <sys/param.h>
5774 # ifdef EXEC_PAGESIZE
5775 # define getpagesize() EXEC_PAGESIZE
5776 # else /* no EXEC_PAGESIZE */
5778 # define getpagesize() NBPG * CLSIZE
5781 # endif /* no CLSIZE */
5782 # else /* no NBPG */
5784 # define getpagesize() NBPC
5785 # else /* no NBPC */
5787 # define getpagesize() PAGESIZE
5788 # endif /* PAGESIZE */
5789 # endif /* no NBPC */
5790 # endif /* no NBPG */
5791 # endif /* no EXEC_PAGESIZE */
5792 # else /* no HAVE_SYS_PARAM_H */
5793 # define getpagesize() 8192 /* punt totally */
5794 # endif /* no HAVE_SYS_PARAM_H */
5795 # endif /* no _SC_PAGESIZE */
5797 #endif /* no HAVE_GETPAGESIZE */
5802 char *data, *data2, *data3;
5806 pagesize = getpagesize ();
5808 /* First, make a file with some known garbage in it. */
5809 data = (char *) malloc (pagesize);
5812 for (i = 0; i < pagesize; ++i)
5813 *(data + i) = rand ();
5815 fd = creat ("conftest.mmap", 0600);
5818 if (write (fd, data, pagesize) != pagesize)
5822 /* Next, try to mmap the file at a fixed address which already has
5823 something else allocated at it. If we can, also make sure that
5824 we see the same garbage. */
5825 fd = open ("conftest.mmap", O_RDWR);
5828 data2 = (char *) malloc (2 * pagesize);
5831 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5832 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5833 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5835 for (i = 0; i < pagesize; ++i)
5836 if (*(data + i) != *(data2 + i))
5839 /* Finally, make sure that changes to the mapped area do not
5840 percolate back to the file as seen by read(). (This is a bug on
5841 some variants of i386 svr4.0.) */
5842 for (i = 0; i < pagesize; ++i)
5843 *(data2 + i) = *(data2 + i) + 1;
5844 data3 = (char *) malloc (pagesize);
5847 if (read (fd, data3, pagesize) != pagesize)
5849 for (i = 0; i < pagesize; ++i)
5850 if (*(data + i) != *(data3 + i))
5856 rm -f conftest$ac_exeext
5857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5858 (eval $ac_link) 2>&5
5860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5861 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5866 (exit $ac_status); }; }; then
5867 ac_cv_func_mmap_fixed_mapped=yes
5869 echo "$as_me: program exited with status $ac_status" >&5
5870 echo "$as_me: failed program was:" >&5
5871 sed 's/^/| /' conftest.$ac_ext >&5
5874 ac_cv_func_mmap_fixed_mapped=no
5876 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5879 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5880 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5881 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5883 cat >>confdefs.h <<\_ACEOF
5890 echo "$as_me:$LINENO: checking for off_t" >&5
5891 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5892 if test "${ac_cv_type_off_t+set}" = set; then
5893 echo $ECHO_N "(cached) $ECHO_C" >&6
5895 cat >conftest.$ac_ext <<_ACEOF
5898 cat confdefs.h >>conftest.$ac_ext
5899 cat >>conftest.$ac_ext <<_ACEOF
5900 /* end confdefs.h. */
5901 $ac_includes_default
5913 rm -f conftest.$ac_objext
5914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5915 (eval $ac_compile) 2>conftest.er1
5917 grep -v '^ *+' conftest.er1 >conftest.err
5919 cat conftest.err >&5
5920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5921 (exit $ac_status); } &&
5922 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5927 (exit $ac_status); }; } &&
5928 { ac_try='test -s conftest.$ac_objext'
5929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5933 (exit $ac_status); }; }; then
5934 ac_cv_type_off_t=yes
5936 echo "$as_me: failed program was:" >&5
5937 sed 's/^/| /' conftest.$ac_ext >&5
5941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5943 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5944 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5945 if test $ac_cv_type_off_t = yes; then
5949 cat >>confdefs.h <<_ACEOF
5956 # check header files
5957 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5958 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5959 if test "${ac_cv_header_stdc+set}" = set; then
5960 echo $ECHO_N "(cached) $ECHO_C" >&6
5962 cat >conftest.$ac_ext <<_ACEOF
5965 cat confdefs.h >>conftest.$ac_ext
5966 cat >>conftest.$ac_ext <<_ACEOF
5967 /* end confdefs.h. */
5981 rm -f conftest.$ac_objext
5982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5983 (eval $ac_compile) 2>conftest.er1
5985 grep -v '^ *+' conftest.er1 >conftest.err
5987 cat conftest.err >&5
5988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5989 (exit $ac_status); } &&
5990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5995 (exit $ac_status); }; } &&
5996 { ac_try='test -s conftest.$ac_objext'
5997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6001 (exit $ac_status); }; }; then
6002 ac_cv_header_stdc=yes
6004 echo "$as_me: failed program was:" >&5
6005 sed 's/^/| /' conftest.$ac_ext >&5
6007 ac_cv_header_stdc=no
6009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6011 if test $ac_cv_header_stdc = yes; then
6012 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6013 cat >conftest.$ac_ext <<_ACEOF
6016 cat confdefs.h >>conftest.$ac_ext
6017 cat >>conftest.$ac_ext <<_ACEOF
6018 /* end confdefs.h. */
6022 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6023 $EGREP "memchr" >/dev/null 2>&1; then
6026 ac_cv_header_stdc=no
6032 if test $ac_cv_header_stdc = yes; then
6033 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6034 cat >conftest.$ac_ext <<_ACEOF
6037 cat confdefs.h >>conftest.$ac_ext
6038 cat >>conftest.$ac_ext <<_ACEOF
6039 /* end confdefs.h. */
6043 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6044 $EGREP "free" >/dev/null 2>&1; then
6047 ac_cv_header_stdc=no
6053 if test $ac_cv_header_stdc = yes; then
6054 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6055 if test "$cross_compiling" = yes; then
6058 cat >conftest.$ac_ext <<_ACEOF
6061 cat confdefs.h >>conftest.$ac_ext
6062 cat >>conftest.$ac_ext <<_ACEOF
6063 /* end confdefs.h. */
6065 #if ((' ' & 0x0FF) == 0x020)
6066 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6067 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6069 # define ISLOWER(c) \
6070 (('a' <= (c) && (c) <= 'i') \
6071 || ('j' <= (c) && (c) <= 'r') \
6072 || ('s' <= (c) && (c) <= 'z'))
6073 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6076 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6081 for (i = 0; i < 256; i++)
6082 if (XOR (islower (i), ISLOWER (i))
6083 || toupper (i) != TOUPPER (i))
6088 rm -f conftest$ac_exeext
6089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6090 (eval $ac_link) 2>&5
6092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6093 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6098 (exit $ac_status); }; }; then
6101 echo "$as_me: program exited with status $ac_status" >&5
6102 echo "$as_me: failed program was:" >&5
6103 sed 's/^/| /' conftest.$ac_ext >&5
6106 ac_cv_header_stdc=no
6108 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6112 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6113 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6114 if test $ac_cv_header_stdc = yes; then
6116 cat >>confdefs.h <<\_ACEOF
6117 #define STDC_HEADERS 1
6129 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
6131 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6132 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6133 echo "$as_me:$LINENO: checking for $ac_header" >&5
6134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6136 echo $ECHO_N "(cached) $ECHO_C" >&6
6138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6139 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6141 # Is the header compilable?
6142 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6143 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6144 cat >conftest.$ac_ext <<_ACEOF
6147 cat confdefs.h >>conftest.$ac_ext
6148 cat >>conftest.$ac_ext <<_ACEOF
6149 /* end confdefs.h. */
6150 $ac_includes_default
6151 #include <$ac_header>
6153 rm -f conftest.$ac_objext
6154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6155 (eval $ac_compile) 2>conftest.er1
6157 grep -v '^ *+' conftest.er1 >conftest.err
6159 cat conftest.err >&5
6160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6161 (exit $ac_status); } &&
6162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167 (exit $ac_status); }; } &&
6168 { ac_try='test -s conftest.$ac_objext'
6169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173 (exit $ac_status); }; }; then
6174 ac_header_compiler=yes
6176 echo "$as_me: failed program was:" >&5
6177 sed 's/^/| /' conftest.$ac_ext >&5
6179 ac_header_compiler=no
6181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6182 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6183 echo "${ECHO_T}$ac_header_compiler" >&6
6185 # Is the header present?
6186 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6187 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6188 cat >conftest.$ac_ext <<_ACEOF
6191 cat confdefs.h >>conftest.$ac_ext
6192 cat >>conftest.$ac_ext <<_ACEOF
6193 /* end confdefs.h. */
6194 #include <$ac_header>
6196 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6197 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6199 grep -v '^ *+' conftest.er1 >conftest.err
6201 cat conftest.err >&5
6202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6203 (exit $ac_status); } >/dev/null; then
6204 if test -s conftest.err; then
6205 ac_cpp_err=$ac_c_preproc_warn_flag
6206 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6213 if test -z "$ac_cpp_err"; then
6214 ac_header_preproc=yes
6216 echo "$as_me: failed program was:" >&5
6217 sed 's/^/| /' conftest.$ac_ext >&5
6219 ac_header_preproc=no
6221 rm -f conftest.err conftest.$ac_ext
6222 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6223 echo "${ECHO_T}$ac_header_preproc" >&6
6225 # So? What about this header?
6226 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6228 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6229 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6230 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6231 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6232 ac_header_preproc=yes
6235 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6236 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6237 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6238 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6239 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6240 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6241 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6242 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6243 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6244 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6245 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6246 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6249 ## ------------------------------------------------------ ##
6250 ## Report this to the GNU Fortran Runtime Library lists. ##
6251 ## ------------------------------------------------------ ##
6254 sed "s/^/$as_me: WARNING: /" >&2
6257 echo "$as_me:$LINENO: checking for $ac_header" >&5
6258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6260 echo $ECHO_N "(cached) $ECHO_C" >&6
6262 eval "$as_ac_Header=\$ac_header_preproc"
6264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6265 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6269 cat >>confdefs.h <<_ACEOF
6270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6282 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
6284 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6286 echo "$as_me:$LINENO: checking for $ac_header" >&5
6287 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6288 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6289 echo $ECHO_N "(cached) $ECHO_C" >&6
6291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6292 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6294 # Is the header compilable?
6295 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6296 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6297 cat >conftest.$ac_ext <<_ACEOF
6300 cat confdefs.h >>conftest.$ac_ext
6301 cat >>conftest.$ac_ext <<_ACEOF
6302 /* end confdefs.h. */
6303 $ac_includes_default
6304 #include <$ac_header>
6306 rm -f conftest.$ac_objext
6307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6308 (eval $ac_compile) 2>conftest.er1
6310 grep -v '^ *+' conftest.er1 >conftest.err
6312 cat conftest.err >&5
6313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6314 (exit $ac_status); } &&
6315 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6320 (exit $ac_status); }; } &&
6321 { ac_try='test -s conftest.$ac_objext'
6322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6326 (exit $ac_status); }; }; then
6327 ac_header_compiler=yes
6329 echo "$as_me: failed program was:" >&5
6330 sed 's/^/| /' conftest.$ac_ext >&5
6332 ac_header_compiler=no
6334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6335 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6336 echo "${ECHO_T}$ac_header_compiler" >&6
6338 # Is the header present?
6339 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6340 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6341 cat >conftest.$ac_ext <<_ACEOF
6344 cat confdefs.h >>conftest.$ac_ext
6345 cat >>conftest.$ac_ext <<_ACEOF
6346 /* end confdefs.h. */
6347 #include <$ac_header>
6349 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6350 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6352 grep -v '^ *+' conftest.er1 >conftest.err
6354 cat conftest.err >&5
6355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6356 (exit $ac_status); } >/dev/null; then
6357 if test -s conftest.err; then
6358 ac_cpp_err=$ac_c_preproc_warn_flag
6359 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6366 if test -z "$ac_cpp_err"; then
6367 ac_header_preproc=yes
6369 echo "$as_me: failed program was:" >&5
6370 sed 's/^/| /' conftest.$ac_ext >&5
6372 ac_header_preproc=no
6374 rm -f conftest.err conftest.$ac_ext
6375 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6376 echo "${ECHO_T}$ac_header_preproc" >&6
6378 # So? What about this header?
6379 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6381 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6382 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6383 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6384 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6385 ac_header_preproc=yes
6388 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6389 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6390 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6391 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6392 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6393 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6394 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6395 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6396 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6397 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6398 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6399 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6402 ## ------------------------------------------------------ ##
6403 ## Report this to the GNU Fortran Runtime Library lists. ##
6404 ## ------------------------------------------------------ ##
6407 sed "s/^/$as_me: WARNING: /" >&2
6410 echo "$as_me:$LINENO: checking for $ac_header" >&5
6411 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6412 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6413 echo $ECHO_N "(cached) $ECHO_C" >&6
6415 eval "$as_ac_Header=\$ac_header_preproc"
6417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6418 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6421 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6422 cat >>confdefs.h <<_ACEOF
6423 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6434 for ac_header in sys/mman.h sys/types.h sys/stat.h ieeefp.h
6436 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6438 echo "$as_me:$LINENO: checking for $ac_header" >&5
6439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6441 echo $ECHO_N "(cached) $ECHO_C" >&6
6443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6444 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6446 # Is the header compilable?
6447 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6448 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6449 cat >conftest.$ac_ext <<_ACEOF
6452 cat confdefs.h >>conftest.$ac_ext
6453 cat >>conftest.$ac_ext <<_ACEOF
6454 /* end confdefs.h. */
6455 $ac_includes_default
6456 #include <$ac_header>
6458 rm -f conftest.$ac_objext
6459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6460 (eval $ac_compile) 2>conftest.er1
6462 grep -v '^ *+' conftest.er1 >conftest.err
6464 cat conftest.err >&5
6465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6466 (exit $ac_status); } &&
6467 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6472 (exit $ac_status); }; } &&
6473 { ac_try='test -s conftest.$ac_objext'
6474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6478 (exit $ac_status); }; }; then
6479 ac_header_compiler=yes
6481 echo "$as_me: failed program was:" >&5
6482 sed 's/^/| /' conftest.$ac_ext >&5
6484 ac_header_compiler=no
6486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6487 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6488 echo "${ECHO_T}$ac_header_compiler" >&6
6490 # Is the header present?
6491 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6492 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6493 cat >conftest.$ac_ext <<_ACEOF
6496 cat confdefs.h >>conftest.$ac_ext
6497 cat >>conftest.$ac_ext <<_ACEOF
6498 /* end confdefs.h. */
6499 #include <$ac_header>
6501 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6502 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6504 grep -v '^ *+' conftest.er1 >conftest.err
6506 cat conftest.err >&5
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 (exit $ac_status); } >/dev/null; then
6509 if test -s conftest.err; then
6510 ac_cpp_err=$ac_c_preproc_warn_flag
6511 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6518 if test -z "$ac_cpp_err"; then
6519 ac_header_preproc=yes
6521 echo "$as_me: failed program was:" >&5
6522 sed 's/^/| /' conftest.$ac_ext >&5
6524 ac_header_preproc=no
6526 rm -f conftest.err conftest.$ac_ext
6527 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6528 echo "${ECHO_T}$ac_header_preproc" >&6
6530 # So? What about this header?
6531 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6533 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6534 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6535 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6536 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6537 ac_header_preproc=yes
6540 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6541 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6542 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6543 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6544 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6545 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6546 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6547 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6548 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6549 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6550 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6551 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6554 ## ------------------------------------------------------ ##
6555 ## Report this to the GNU Fortran Runtime Library lists. ##
6556 ## ------------------------------------------------------ ##
6559 sed "s/^/$as_me: WARNING: /" >&2
6562 echo "$as_me:$LINENO: checking for $ac_header" >&5
6563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6565 echo $ECHO_N "(cached) $ECHO_C" >&6
6567 eval "$as_ac_Header=\$ac_header_preproc"
6569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6570 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6573 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6574 cat >>confdefs.h <<_ACEOF
6575 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6582 if test "${ac_cv_header_complex_h+set}" = set; then
6583 echo "$as_me:$LINENO: checking for complex.h" >&5
6584 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6585 if test "${ac_cv_header_complex_h+set}" = set; then
6586 echo $ECHO_N "(cached) $ECHO_C" >&6
6588 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6589 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6591 # Is the header compilable?
6592 echo "$as_me:$LINENO: checking complex.h usability" >&5
6593 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6594 cat >conftest.$ac_ext <<_ACEOF
6597 cat confdefs.h >>conftest.$ac_ext
6598 cat >>conftest.$ac_ext <<_ACEOF
6599 /* end confdefs.h. */
6600 $ac_includes_default
6601 #include <complex.h>
6603 rm -f conftest.$ac_objext
6604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6605 (eval $ac_compile) 2>conftest.er1
6607 grep -v '^ *+' conftest.er1 >conftest.err
6609 cat conftest.err >&5
6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); } &&
6612 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6617 (exit $ac_status); }; } &&
6618 { ac_try='test -s conftest.$ac_objext'
6619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6623 (exit $ac_status); }; }; then
6624 ac_header_compiler=yes
6626 echo "$as_me: failed program was:" >&5
6627 sed 's/^/| /' conftest.$ac_ext >&5
6629 ac_header_compiler=no
6631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6632 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6633 echo "${ECHO_T}$ac_header_compiler" >&6
6635 # Is the header present?
6636 echo "$as_me:$LINENO: checking complex.h presence" >&5
6637 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6638 cat >conftest.$ac_ext <<_ACEOF
6641 cat confdefs.h >>conftest.$ac_ext
6642 cat >>conftest.$ac_ext <<_ACEOF
6643 /* end confdefs.h. */
6644 #include <complex.h>
6646 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6647 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6649 grep -v '^ *+' conftest.er1 >conftest.err
6651 cat conftest.err >&5
6652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6653 (exit $ac_status); } >/dev/null; then
6654 if test -s conftest.err; then
6655 ac_cpp_err=$ac_c_preproc_warn_flag
6656 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6663 if test -z "$ac_cpp_err"; then
6664 ac_header_preproc=yes
6666 echo "$as_me: failed program was:" >&5
6667 sed 's/^/| /' conftest.$ac_ext >&5
6669 ac_header_preproc=no
6671 rm -f conftest.err conftest.$ac_ext
6672 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6673 echo "${ECHO_T}$ac_header_preproc" >&6
6675 # So? What about this header?
6676 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6678 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6679 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6680 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6681 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6682 ac_header_preproc=yes
6685 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6686 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6687 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6688 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6689 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6690 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6691 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6692 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6693 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6694 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6695 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6696 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6699 ## ------------------------------------------------------ ##
6700 ## Report this to the GNU Fortran Runtime Library lists. ##
6701 ## ------------------------------------------------------ ##
6704 sed "s/^/$as_me: WARNING: /" >&2
6707 echo "$as_me:$LINENO: checking for complex.h" >&5
6708 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6709 if test "${ac_cv_header_complex_h+set}" = set; then
6710 echo $ECHO_N "(cached) $ECHO_C" >&6
6712 ac_cv_header_complex_h=$ac_header_preproc
6714 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6715 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6718 if test $ac_cv_header_complex_h = yes; then
6720 cat >>confdefs.h <<\_ACEOF
6721 #define HAVE_COMPLEX_H 1
6728 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6729 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
6730 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6731 echo $ECHO_N "(cached) $ECHO_C" >&6
6733 cat >conftest.$ac_ext <<_ACEOF
6736 cat confdefs.h >>conftest.$ac_ext
6737 cat >>conftest.$ac_ext <<_ACEOF
6738 /* end confdefs.h. */
6739 $ac_includes_default
6743 static struct stat ac_aggr;
6744 if (ac_aggr.st_blksize)
6750 rm -f conftest.$ac_objext
6751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6752 (eval $ac_compile) 2>conftest.er1
6754 grep -v '^ *+' conftest.er1 >conftest.err
6756 cat conftest.err >&5
6757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6758 (exit $ac_status); } &&
6759 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6764 (exit $ac_status); }; } &&
6765 { ac_try='test -s conftest.$ac_objext'
6766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6770 (exit $ac_status); }; }; then
6771 ac_cv_member_struct_stat_st_blksize=yes
6773 echo "$as_me: failed program was:" >&5
6774 sed 's/^/| /' conftest.$ac_ext >&5
6776 cat >conftest.$ac_ext <<_ACEOF
6779 cat confdefs.h >>conftest.$ac_ext
6780 cat >>conftest.$ac_ext <<_ACEOF
6781 /* end confdefs.h. */
6782 $ac_includes_default
6786 static struct stat ac_aggr;
6787 if (sizeof ac_aggr.st_blksize)
6793 rm -f conftest.$ac_objext
6794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6795 (eval $ac_compile) 2>conftest.er1
6797 grep -v '^ *+' conftest.er1 >conftest.err
6799 cat conftest.err >&5
6800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6801 (exit $ac_status); } &&
6802 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6807 (exit $ac_status); }; } &&
6808 { ac_try='test -s conftest.$ac_objext'
6809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6813 (exit $ac_status); }; }; then
6814 ac_cv_member_struct_stat_st_blksize=yes
6816 echo "$as_me: failed program was:" >&5
6817 sed 's/^/| /' conftest.$ac_ext >&5
6819 ac_cv_member_struct_stat_st_blksize=no
6821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6825 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6826 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
6827 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6829 cat >>confdefs.h <<_ACEOF
6830 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6836 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6837 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
6838 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6839 echo $ECHO_N "(cached) $ECHO_C" >&6
6841 cat >conftest.$ac_ext <<_ACEOF
6844 cat confdefs.h >>conftest.$ac_ext
6845 cat >>conftest.$ac_ext <<_ACEOF
6846 /* end confdefs.h. */
6847 $ac_includes_default
6851 static struct stat ac_aggr;
6852 if (ac_aggr.st_blocks)
6858 rm -f conftest.$ac_objext
6859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6860 (eval $ac_compile) 2>conftest.er1
6862 grep -v '^ *+' conftest.er1 >conftest.err
6864 cat conftest.err >&5
6865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6866 (exit $ac_status); } &&
6867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6872 (exit $ac_status); }; } &&
6873 { ac_try='test -s conftest.$ac_objext'
6874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6878 (exit $ac_status); }; }; then
6879 ac_cv_member_struct_stat_st_blocks=yes
6881 echo "$as_me: failed program was:" >&5
6882 sed 's/^/| /' conftest.$ac_ext >&5
6884 cat >conftest.$ac_ext <<_ACEOF
6887 cat confdefs.h >>conftest.$ac_ext
6888 cat >>conftest.$ac_ext <<_ACEOF
6889 /* end confdefs.h. */
6890 $ac_includes_default
6894 static struct stat ac_aggr;
6895 if (sizeof ac_aggr.st_blocks)
6901 rm -f conftest.$ac_objext
6902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6903 (eval $ac_compile) 2>conftest.er1
6905 grep -v '^ *+' conftest.er1 >conftest.err
6907 cat conftest.err >&5
6908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6909 (exit $ac_status); } &&
6910 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6915 (exit $ac_status); }; } &&
6916 { ac_try='test -s conftest.$ac_objext'
6917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6921 (exit $ac_status); }; }; then
6922 ac_cv_member_struct_stat_st_blocks=yes
6924 echo "$as_me: failed program was:" >&5
6925 sed 's/^/| /' conftest.$ac_ext >&5
6927 ac_cv_member_struct_stat_st_blocks=no
6929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6933 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6934 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
6935 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6937 cat >>confdefs.h <<_ACEOF
6938 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6944 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6945 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
6946 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6947 echo $ECHO_N "(cached) $ECHO_C" >&6
6949 cat >conftest.$ac_ext <<_ACEOF
6952 cat confdefs.h >>conftest.$ac_ext
6953 cat >>conftest.$ac_ext <<_ACEOF
6954 /* end confdefs.h. */
6955 $ac_includes_default
6959 static struct stat ac_aggr;
6960 if (ac_aggr.st_rdev)
6966 rm -f conftest.$ac_objext
6967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6968 (eval $ac_compile) 2>conftest.er1
6970 grep -v '^ *+' conftest.er1 >conftest.err
6972 cat conftest.err >&5
6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 (exit $ac_status); } &&
6975 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6980 (exit $ac_status); }; } &&
6981 { ac_try='test -s conftest.$ac_objext'
6982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6986 (exit $ac_status); }; }; then
6987 ac_cv_member_struct_stat_st_rdev=yes
6989 echo "$as_me: failed program was:" >&5
6990 sed 's/^/| /' conftest.$ac_ext >&5
6992 cat >conftest.$ac_ext <<_ACEOF
6995 cat confdefs.h >>conftest.$ac_ext
6996 cat >>conftest.$ac_ext <<_ACEOF
6997 /* end confdefs.h. */
6998 $ac_includes_default
7002 static struct stat ac_aggr;
7003 if (sizeof ac_aggr.st_rdev)
7009 rm -f conftest.$ac_objext
7010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7011 (eval $ac_compile) 2>conftest.er1
7013 grep -v '^ *+' conftest.er1 >conftest.err
7015 cat conftest.err >&5
7016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7017 (exit $ac_status); } &&
7018 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7023 (exit $ac_status); }; } &&
7024 { ac_try='test -s conftest.$ac_objext'
7025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7029 (exit $ac_status); }; }; then
7030 ac_cv_member_struct_stat_st_rdev=yes
7032 echo "$as_me: failed program was:" >&5
7033 sed 's/^/| /' conftest.$ac_ext >&5
7035 ac_cv_member_struct_stat_st_rdev=no
7037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7041 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
7042 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
7043 if test $ac_cv_member_struct_stat_st_rdev = yes; then
7045 cat >>confdefs.h <<_ACEOF
7046 #define HAVE_STRUCT_STAT_ST_RDEV 1
7053 # Check for complex math functions
7054 echo "$as_me:$LINENO: checking for csin in -lm" >&5
7055 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
7056 if test "${ac_cv_lib_m_csin+set}" = set; then
7057 echo $ECHO_N "(cached) $ECHO_C" >&6
7059 ac_check_lib_save_LIBS=$LIBS
7061 cat >conftest.$ac_ext <<_ACEOF
7064 cat confdefs.h >>conftest.$ac_ext
7065 cat >>conftest.$ac_ext <<_ACEOF
7066 /* end confdefs.h. */
7068 /* Override any gcc2 internal prototype to avoid an error. */
7072 /* We use char because int might match the return type of a gcc2
7073 builtin and then its argument prototype would still apply. */
7083 rm -f conftest.$ac_objext conftest$ac_exeext
7084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7085 (eval $ac_link) 2>conftest.er1
7087 grep -v '^ *+' conftest.er1 >conftest.err
7089 cat conftest.err >&5
7090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7091 (exit $ac_status); } &&
7092 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7097 (exit $ac_status); }; } &&
7098 { ac_try='test -s conftest$ac_exeext'
7099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7103 (exit $ac_status); }; }; then
7104 ac_cv_lib_m_csin=yes
7106 echo "$as_me: failed program was:" >&5
7107 sed 's/^/| /' conftest.$ac_ext >&5
7111 rm -f conftest.err conftest.$ac_objext \
7112 conftest$ac_exeext conftest.$ac_ext
7113 LIBS=$ac_check_lib_save_LIBS
7115 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
7116 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
7117 if test $ac_cv_lib_m_csin = yes; then
7124 # Check for library functions.
7132 for ac_func in getrusage times mkstemp strtof snprintf ftruncate chsize
7134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7135 echo "$as_me:$LINENO: checking for $ac_func" >&5
7136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7137 if eval "test \"\${$as_ac_var+set}\" = set"; then
7138 echo $ECHO_N "(cached) $ECHO_C" >&6
7140 cat >conftest.$ac_ext <<_ACEOF
7143 cat confdefs.h >>conftest.$ac_ext
7144 cat >>conftest.$ac_ext <<_ACEOF
7145 /* end confdefs.h. */
7146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7148 #define $ac_func innocuous_$ac_func
7150 /* System header to define __stub macros and hopefully few prototypes,
7151 which can conflict with char $ac_func (); below.
7152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7153 <limits.h> exists even on freestanding compilers. */
7156 # include <limits.h>
7158 # include <assert.h>
7163 /* Override any gcc2 internal prototype to avoid an error. */
7168 /* We use char because int might match the return type of a gcc2
7169 builtin and then its argument prototype would still apply. */
7171 /* The GNU C library defines this for functions which it implements
7172 to always fail with ENOSYS. Some functions are actually named
7173 something starting with __ and the normal name is an alias. */
7174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7177 char (*f) () = $ac_func;
7186 return f != $ac_func;
7191 rm -f conftest.$ac_objext conftest$ac_exeext
7192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7193 (eval $ac_link) 2>conftest.er1
7195 grep -v '^ *+' conftest.er1 >conftest.err
7197 cat conftest.err >&5
7198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7199 (exit $ac_status); } &&
7200 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7205 (exit $ac_status); }; } &&
7206 { ac_try='test -s conftest$ac_exeext'
7207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7211 (exit $ac_status); }; }; then
7212 eval "$as_ac_var=yes"
7214 echo "$as_me: failed program was:" >&5
7215 sed 's/^/| /' conftest.$ac_ext >&5
7217 eval "$as_ac_var=no"
7219 rm -f conftest.err conftest.$ac_objext \
7220 conftest$ac_exeext conftest.$ac_ext
7222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7224 if test `eval echo '${'$as_ac_var'}'` = yes; then
7225 cat >>confdefs.h <<_ACEOF
7226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7240 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
7242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7243 echo "$as_me:$LINENO: checking for $ac_func" >&5
7244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7245 if eval "test \"\${$as_ac_var+set}\" = set"; then
7246 echo $ECHO_N "(cached) $ECHO_C" >&6
7248 cat >conftest.$ac_ext <<_ACEOF
7251 cat confdefs.h >>conftest.$ac_ext
7252 cat >>conftest.$ac_ext <<_ACEOF
7253 /* end confdefs.h. */
7254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7256 #define $ac_func innocuous_$ac_func
7258 /* System header to define __stub macros and hopefully few prototypes,
7259 which can conflict with char $ac_func (); below.
7260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7261 <limits.h> exists even on freestanding compilers. */
7264 # include <limits.h>
7266 # include <assert.h>
7271 /* Override any gcc2 internal prototype to avoid an error. */
7276 /* We use char because int might match the return type of a gcc2
7277 builtin and then its argument prototype would still apply. */
7279 /* The GNU C library defines this for functions which it implements
7280 to always fail with ENOSYS. Some functions are actually named
7281 something starting with __ and the normal name is an alias. */
7282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7285 char (*f) () = $ac_func;
7294 return f != $ac_func;
7299 rm -f conftest.$ac_objext conftest$ac_exeext
7300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7301 (eval $ac_link) 2>conftest.er1
7303 grep -v '^ *+' conftest.er1 >conftest.err
7305 cat conftest.err >&5
7306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7307 (exit $ac_status); } &&
7308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7313 (exit $ac_status); }; } &&
7314 { ac_try='test -s conftest$ac_exeext'
7315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7319 (exit $ac_status); }; }; then
7320 eval "$as_ac_var=yes"
7322 echo "$as_me: failed program was:" >&5
7323 sed 's/^/| /' conftest.$ac_ext >&5
7325 eval "$as_ac_var=no"
7327 rm -f conftest.err conftest.$ac_objext \
7328 conftest$ac_exeext conftest.$ac_ext
7330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7332 if test `eval echo '${'$as_ac_var'}'` = yes; then
7333 cat >>confdefs.h <<_ACEOF
7334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7342 for ac_func in sleep time
7344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7345 echo "$as_me:$LINENO: checking for $ac_func" >&5
7346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7347 if eval "test \"\${$as_ac_var+set}\" = set"; then
7348 echo $ECHO_N "(cached) $ECHO_C" >&6
7350 cat >conftest.$ac_ext <<_ACEOF
7353 cat confdefs.h >>conftest.$ac_ext
7354 cat >>conftest.$ac_ext <<_ACEOF
7355 /* end confdefs.h. */
7356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7358 #define $ac_func innocuous_$ac_func
7360 /* System header to define __stub macros and hopefully few prototypes,
7361 which can conflict with char $ac_func (); below.
7362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7363 <limits.h> exists even on freestanding compilers. */
7366 # include <limits.h>
7368 # include <assert.h>
7373 /* Override any gcc2 internal prototype to avoid an error. */
7378 /* We use char because int might match the return type of a gcc2
7379 builtin and then its argument prototype would still apply. */
7381 /* The GNU C library defines this for functions which it implements
7382 to always fail with ENOSYS. Some functions are actually named
7383 something starting with __ and the normal name is an alias. */
7384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7387 char (*f) () = $ac_func;
7396 return f != $ac_func;
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 eval "$as_ac_var=yes"
7424 echo "$as_me: failed program was:" >&5
7425 sed 's/^/| /' conftest.$ac_ext >&5
7427 eval "$as_ac_var=no"
7429 rm -f conftest.err conftest.$ac_objext \
7430 conftest$ac_exeext conftest.$ac_ext
7432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7434 if test `eval echo '${'$as_ac_var'}'` = yes; then
7435 cat >>confdefs.h <<_ACEOF
7436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7443 # Check libc for getgid, getpid, getuid
7444 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
7445 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
7446 if test "${ac_cv_lib_c_getgid+set}" = set; then
7447 echo $ECHO_N "(cached) $ECHO_C" >&6
7449 ac_check_lib_save_LIBS=$LIBS
7451 cat >conftest.$ac_ext <<_ACEOF
7454 cat confdefs.h >>conftest.$ac_ext
7455 cat >>conftest.$ac_ext <<_ACEOF
7456 /* end confdefs.h. */
7458 /* Override any gcc2 internal prototype to avoid an error. */
7462 /* We use char because int might match the return type of a gcc2
7463 builtin and then its argument prototype would still apply. */
7473 rm -f conftest.$ac_objext conftest$ac_exeext
7474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7475 (eval $ac_link) 2>conftest.er1
7477 grep -v '^ *+' conftest.er1 >conftest.err
7479 cat conftest.err >&5
7480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7481 (exit $ac_status); } &&
7482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7487 (exit $ac_status); }; } &&
7488 { ac_try='test -s conftest$ac_exeext'
7489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7493 (exit $ac_status); }; }; then
7494 ac_cv_lib_c_getgid=yes
7496 echo "$as_me: failed program was:" >&5
7497 sed 's/^/| /' conftest.$ac_ext >&5
7499 ac_cv_lib_c_getgid=no
7501 rm -f conftest.err conftest.$ac_objext \
7502 conftest$ac_exeext conftest.$ac_ext
7503 LIBS=$ac_check_lib_save_LIBS
7505 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
7506 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
7507 if test $ac_cv_lib_c_getgid = yes; then
7509 cat >>confdefs.h <<\_ACEOF
7510 #define HAVE_GETGID 1
7515 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
7516 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
7517 if test "${ac_cv_lib_c_getpid+set}" = set; then
7518 echo $ECHO_N "(cached) $ECHO_C" >&6
7520 ac_check_lib_save_LIBS=$LIBS
7522 cat >conftest.$ac_ext <<_ACEOF
7525 cat confdefs.h >>conftest.$ac_ext
7526 cat >>conftest.$ac_ext <<_ACEOF
7527 /* end confdefs.h. */
7529 /* Override any gcc2 internal prototype to avoid an error. */
7533 /* We use char because int might match the return type of a gcc2
7534 builtin and then its argument prototype would still apply. */
7544 rm -f conftest.$ac_objext conftest$ac_exeext
7545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7546 (eval $ac_link) 2>conftest.er1
7548 grep -v '^ *+' conftest.er1 >conftest.err
7550 cat conftest.err >&5
7551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7552 (exit $ac_status); } &&
7553 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7558 (exit $ac_status); }; } &&
7559 { ac_try='test -s conftest$ac_exeext'
7560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7564 (exit $ac_status); }; }; then
7565 ac_cv_lib_c_getpid=yes
7567 echo "$as_me: failed program was:" >&5
7568 sed 's/^/| /' conftest.$ac_ext >&5
7570 ac_cv_lib_c_getpid=no
7572 rm -f conftest.err conftest.$ac_objext \
7573 conftest$ac_exeext conftest.$ac_ext
7574 LIBS=$ac_check_lib_save_LIBS
7576 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
7577 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
7578 if test $ac_cv_lib_c_getpid = yes; then
7580 cat >>confdefs.h <<\_ACEOF
7581 #define HAVE_GETPID 1
7586 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
7587 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
7588 if test "${ac_cv_lib_c_getuid+set}" = set; then
7589 echo $ECHO_N "(cached) $ECHO_C" >&6
7591 ac_check_lib_save_LIBS=$LIBS
7593 cat >conftest.$ac_ext <<_ACEOF
7596 cat confdefs.h >>conftest.$ac_ext
7597 cat >>conftest.$ac_ext <<_ACEOF
7598 /* end confdefs.h. */
7600 /* Override any gcc2 internal prototype to avoid an error. */
7604 /* We use char because int might match the return type of a gcc2
7605 builtin and then its argument prototype would still apply. */
7615 rm -f conftest.$ac_objext conftest$ac_exeext
7616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7617 (eval $ac_link) 2>conftest.er1
7619 grep -v '^ *+' conftest.er1 >conftest.err
7621 cat conftest.err >&5
7622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7623 (exit $ac_status); } &&
7624 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7629 (exit $ac_status); }; } &&
7630 { ac_try='test -s conftest$ac_exeext'
7631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7635 (exit $ac_status); }; }; then
7636 ac_cv_lib_c_getuid=yes
7638 echo "$as_me: failed program was:" >&5
7639 sed 's/^/| /' conftest.$ac_ext >&5
7641 ac_cv_lib_c_getuid=no
7643 rm -f conftest.err conftest.$ac_objext \
7644 conftest$ac_exeext conftest.$ac_ext
7645 LIBS=$ac_check_lib_save_LIBS
7647 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
7648 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
7649 if test $ac_cv_lib_c_getuid = yes; then
7651 cat >>confdefs.h <<\_ACEOF
7652 #define HAVE_GETUID 1
7658 # Check for C99 (and other IEEE) math functions
7659 # ??? This list seems awful long. Is there a better way to test for these?
7660 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
7661 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
7662 if test "${ac_cv_lib_m_acosf+set}" = set; then
7663 echo $ECHO_N "(cached) $ECHO_C" >&6
7665 ac_check_lib_save_LIBS=$LIBS
7667 cat >conftest.$ac_ext <<_ACEOF
7670 cat confdefs.h >>conftest.$ac_ext
7671 cat >>conftest.$ac_ext <<_ACEOF
7672 /* end confdefs.h. */
7674 /* Override any gcc2 internal prototype to avoid an error. */
7678 /* We use char because int might match the return type of a gcc2
7679 builtin and then its argument prototype would still apply. */
7689 rm -f conftest.$ac_objext conftest$ac_exeext
7690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7691 (eval $ac_link) 2>conftest.er1
7693 grep -v '^ *+' conftest.er1 >conftest.err
7695 cat conftest.err >&5
7696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7697 (exit $ac_status); } &&
7698 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7703 (exit $ac_status); }; } &&
7704 { ac_try='test -s conftest$ac_exeext'
7705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7709 (exit $ac_status); }; }; then
7710 ac_cv_lib_m_acosf=yes
7712 echo "$as_me: failed program was:" >&5
7713 sed 's/^/| /' conftest.$ac_ext >&5
7715 ac_cv_lib_m_acosf=no
7717 rm -f conftest.err conftest.$ac_objext \
7718 conftest$ac_exeext conftest.$ac_ext
7719 LIBS=$ac_check_lib_save_LIBS
7721 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
7722 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
7723 if test $ac_cv_lib_m_acosf = yes; then
7725 cat >>confdefs.h <<\_ACEOF
7726 #define HAVE_ACOSF 1
7731 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
7732 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
7733 if test "${ac_cv_lib_m_asinf+set}" = set; then
7734 echo $ECHO_N "(cached) $ECHO_C" >&6
7736 ac_check_lib_save_LIBS=$LIBS
7738 cat >conftest.$ac_ext <<_ACEOF
7741 cat confdefs.h >>conftest.$ac_ext
7742 cat >>conftest.$ac_ext <<_ACEOF
7743 /* end confdefs.h. */
7745 /* Override any gcc2 internal prototype to avoid an error. */
7749 /* We use char because int might match the return type of a gcc2
7750 builtin and then its argument prototype would still apply. */
7760 rm -f conftest.$ac_objext conftest$ac_exeext
7761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7762 (eval $ac_link) 2>conftest.er1
7764 grep -v '^ *+' conftest.er1 >conftest.err
7766 cat conftest.err >&5
7767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7768 (exit $ac_status); } &&
7769 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7774 (exit $ac_status); }; } &&
7775 { ac_try='test -s conftest$ac_exeext'
7776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7780 (exit $ac_status); }; }; then
7781 ac_cv_lib_m_asinf=yes
7783 echo "$as_me: failed program was:" >&5
7784 sed 's/^/| /' conftest.$ac_ext >&5
7786 ac_cv_lib_m_asinf=no
7788 rm -f conftest.err conftest.$ac_objext \
7789 conftest$ac_exeext conftest.$ac_ext
7790 LIBS=$ac_check_lib_save_LIBS
7792 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
7793 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
7794 if test $ac_cv_lib_m_asinf = yes; then
7796 cat >>confdefs.h <<\_ACEOF
7797 #define HAVE_ASINF 1
7802 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
7803 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
7804 if test "${ac_cv_lib_m_atan2f+set}" = set; then
7805 echo $ECHO_N "(cached) $ECHO_C" >&6
7807 ac_check_lib_save_LIBS=$LIBS
7809 cat >conftest.$ac_ext <<_ACEOF
7812 cat confdefs.h >>conftest.$ac_ext
7813 cat >>conftest.$ac_ext <<_ACEOF
7814 /* end confdefs.h. */
7816 /* Override any gcc2 internal prototype to avoid an error. */
7820 /* We use char because int might match the return type of a gcc2
7821 builtin and then its argument prototype would still apply. */
7831 rm -f conftest.$ac_objext conftest$ac_exeext
7832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7833 (eval $ac_link) 2>conftest.er1
7835 grep -v '^ *+' conftest.er1 >conftest.err
7837 cat conftest.err >&5
7838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7839 (exit $ac_status); } &&
7840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7845 (exit $ac_status); }; } &&
7846 { ac_try='test -s conftest$ac_exeext'
7847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7851 (exit $ac_status); }; }; then
7852 ac_cv_lib_m_atan2f=yes
7854 echo "$as_me: failed program was:" >&5
7855 sed 's/^/| /' conftest.$ac_ext >&5
7857 ac_cv_lib_m_atan2f=no
7859 rm -f conftest.err conftest.$ac_objext \
7860 conftest$ac_exeext conftest.$ac_ext
7861 LIBS=$ac_check_lib_save_LIBS
7863 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
7864 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
7865 if test $ac_cv_lib_m_atan2f = yes; then
7867 cat >>confdefs.h <<\_ACEOF
7868 #define HAVE_ATAN2F 1
7873 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
7874 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
7875 if test "${ac_cv_lib_m_atanf+set}" = set; then
7876 echo $ECHO_N "(cached) $ECHO_C" >&6
7878 ac_check_lib_save_LIBS=$LIBS
7880 cat >conftest.$ac_ext <<_ACEOF
7883 cat confdefs.h >>conftest.$ac_ext
7884 cat >>conftest.$ac_ext <<_ACEOF
7885 /* end confdefs.h. */
7887 /* Override any gcc2 internal prototype to avoid an error. */
7891 /* We use char because int might match the return type of a gcc2
7892 builtin and then its argument prototype would still apply. */
7902 rm -f conftest.$ac_objext conftest$ac_exeext
7903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7904 (eval $ac_link) 2>conftest.er1
7906 grep -v '^ *+' conftest.er1 >conftest.err
7908 cat conftest.err >&5
7909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7910 (exit $ac_status); } &&
7911 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7916 (exit $ac_status); }; } &&
7917 { ac_try='test -s conftest$ac_exeext'
7918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7922 (exit $ac_status); }; }; then
7923 ac_cv_lib_m_atanf=yes
7925 echo "$as_me: failed program was:" >&5
7926 sed 's/^/| /' conftest.$ac_ext >&5
7928 ac_cv_lib_m_atanf=no
7930 rm -f conftest.err conftest.$ac_objext \
7931 conftest$ac_exeext conftest.$ac_ext
7932 LIBS=$ac_check_lib_save_LIBS
7934 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
7935 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
7936 if test $ac_cv_lib_m_atanf = yes; then
7938 cat >>confdefs.h <<\_ACEOF
7939 #define HAVE_ATANF 1
7944 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
7945 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
7946 if test "${ac_cv_lib_m_ceilf+set}" = set; then
7947 echo $ECHO_N "(cached) $ECHO_C" >&6
7949 ac_check_lib_save_LIBS=$LIBS
7951 cat >conftest.$ac_ext <<_ACEOF
7954 cat confdefs.h >>conftest.$ac_ext
7955 cat >>conftest.$ac_ext <<_ACEOF
7956 /* end confdefs.h. */
7958 /* Override any gcc2 internal prototype to avoid an error. */
7962 /* We use char because int might match the return type of a gcc2
7963 builtin and then its argument prototype would still apply. */
7973 rm -f conftest.$ac_objext conftest$ac_exeext
7974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7975 (eval $ac_link) 2>conftest.er1
7977 grep -v '^ *+' conftest.er1 >conftest.err
7979 cat conftest.err >&5
7980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7981 (exit $ac_status); } &&
7982 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7987 (exit $ac_status); }; } &&
7988 { ac_try='test -s conftest$ac_exeext'
7989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7993 (exit $ac_status); }; }; then
7994 ac_cv_lib_m_ceilf=yes
7996 echo "$as_me: failed program was:" >&5
7997 sed 's/^/| /' conftest.$ac_ext >&5
7999 ac_cv_lib_m_ceilf=no
8001 rm -f conftest.err conftest.$ac_objext \
8002 conftest$ac_exeext conftest.$ac_ext
8003 LIBS=$ac_check_lib_save_LIBS
8005 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
8006 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
8007 if test $ac_cv_lib_m_ceilf = yes; then
8009 cat >>confdefs.h <<\_ACEOF
8010 #define HAVE_CEILF 1
8015 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
8016 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
8017 if test "${ac_cv_lib_m_copysignf+set}" = set; then
8018 echo $ECHO_N "(cached) $ECHO_C" >&6
8020 ac_check_lib_save_LIBS=$LIBS
8022 cat >conftest.$ac_ext <<_ACEOF
8025 cat confdefs.h >>conftest.$ac_ext
8026 cat >>conftest.$ac_ext <<_ACEOF
8027 /* end confdefs.h. */
8029 /* Override any gcc2 internal prototype to avoid an error. */
8033 /* We use char because int might match the return type of a gcc2
8034 builtin and then its argument prototype would still apply. */
8044 rm -f conftest.$ac_objext conftest$ac_exeext
8045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8046 (eval $ac_link) 2>conftest.er1
8048 grep -v '^ *+' conftest.er1 >conftest.err
8050 cat conftest.err >&5
8051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8052 (exit $ac_status); } &&
8053 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8058 (exit $ac_status); }; } &&
8059 { ac_try='test -s conftest$ac_exeext'
8060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8064 (exit $ac_status); }; }; then
8065 ac_cv_lib_m_copysignf=yes
8067 echo "$as_me: failed program was:" >&5
8068 sed 's/^/| /' conftest.$ac_ext >&5
8070 ac_cv_lib_m_copysignf=no
8072 rm -f conftest.err conftest.$ac_objext \
8073 conftest$ac_exeext conftest.$ac_ext
8074 LIBS=$ac_check_lib_save_LIBS
8076 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
8077 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
8078 if test $ac_cv_lib_m_copysignf = yes; then
8080 cat >>confdefs.h <<\_ACEOF
8081 #define HAVE_COPYSIGNF 1
8086 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
8087 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
8088 if test "${ac_cv_lib_m_cosf+set}" = set; then
8089 echo $ECHO_N "(cached) $ECHO_C" >&6
8091 ac_check_lib_save_LIBS=$LIBS
8093 cat >conftest.$ac_ext <<_ACEOF
8096 cat confdefs.h >>conftest.$ac_ext
8097 cat >>conftest.$ac_ext <<_ACEOF
8098 /* end confdefs.h. */
8100 /* Override any gcc2 internal prototype to avoid an error. */
8104 /* We use char because int might match the return type of a gcc2
8105 builtin and then its argument prototype would still apply. */
8115 rm -f conftest.$ac_objext conftest$ac_exeext
8116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8117 (eval $ac_link) 2>conftest.er1
8119 grep -v '^ *+' conftest.er1 >conftest.err
8121 cat conftest.err >&5
8122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123 (exit $ac_status); } &&
8124 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8129 (exit $ac_status); }; } &&
8130 { ac_try='test -s conftest$ac_exeext'
8131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8135 (exit $ac_status); }; }; then
8136 ac_cv_lib_m_cosf=yes
8138 echo "$as_me: failed program was:" >&5
8139 sed 's/^/| /' conftest.$ac_ext >&5
8143 rm -f conftest.err conftest.$ac_objext \
8144 conftest$ac_exeext conftest.$ac_ext
8145 LIBS=$ac_check_lib_save_LIBS
8147 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
8148 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
8149 if test $ac_cv_lib_m_cosf = yes; then
8151 cat >>confdefs.h <<\_ACEOF
8157 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
8158 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
8159 if test "${ac_cv_lib_m_coshf+set}" = set; then
8160 echo $ECHO_N "(cached) $ECHO_C" >&6
8162 ac_check_lib_save_LIBS=$LIBS
8164 cat >conftest.$ac_ext <<_ACEOF
8167 cat confdefs.h >>conftest.$ac_ext
8168 cat >>conftest.$ac_ext <<_ACEOF
8169 /* end confdefs.h. */
8171 /* Override any gcc2 internal prototype to avoid an error. */
8175 /* We use char because int might match the return type of a gcc2
8176 builtin and then its argument prototype would still apply. */
8186 rm -f conftest.$ac_objext conftest$ac_exeext
8187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8188 (eval $ac_link) 2>conftest.er1
8190 grep -v '^ *+' conftest.er1 >conftest.err
8192 cat conftest.err >&5
8193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8194 (exit $ac_status); } &&
8195 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8200 (exit $ac_status); }; } &&
8201 { ac_try='test -s conftest$ac_exeext'
8202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8206 (exit $ac_status); }; }; then
8207 ac_cv_lib_m_coshf=yes
8209 echo "$as_me: failed program was:" >&5
8210 sed 's/^/| /' conftest.$ac_ext >&5
8212 ac_cv_lib_m_coshf=no
8214 rm -f conftest.err conftest.$ac_objext \
8215 conftest$ac_exeext conftest.$ac_ext
8216 LIBS=$ac_check_lib_save_LIBS
8218 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
8219 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
8220 if test $ac_cv_lib_m_coshf = yes; then
8222 cat >>confdefs.h <<\_ACEOF
8223 #define HAVE_COSHF 1
8228 echo "$as_me:$LINENO: checking for expf in -lm" >&5
8229 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
8230 if test "${ac_cv_lib_m_expf+set}" = set; then
8231 echo $ECHO_N "(cached) $ECHO_C" >&6
8233 ac_check_lib_save_LIBS=$LIBS
8235 cat >conftest.$ac_ext <<_ACEOF
8238 cat confdefs.h >>conftest.$ac_ext
8239 cat >>conftest.$ac_ext <<_ACEOF
8240 /* end confdefs.h. */
8242 /* Override any gcc2 internal prototype to avoid an error. */
8246 /* We use char because int might match the return type of a gcc2
8247 builtin and then its argument prototype would still apply. */
8257 rm -f conftest.$ac_objext conftest$ac_exeext
8258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8259 (eval $ac_link) 2>conftest.er1
8261 grep -v '^ *+' conftest.er1 >conftest.err
8263 cat conftest.err >&5
8264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8265 (exit $ac_status); } &&
8266 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8271 (exit $ac_status); }; } &&
8272 { ac_try='test -s conftest$ac_exeext'
8273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8277 (exit $ac_status); }; }; then
8278 ac_cv_lib_m_expf=yes
8280 echo "$as_me: failed program was:" >&5
8281 sed 's/^/| /' conftest.$ac_ext >&5
8285 rm -f conftest.err conftest.$ac_objext \
8286 conftest$ac_exeext conftest.$ac_ext
8287 LIBS=$ac_check_lib_save_LIBS
8289 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
8290 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
8291 if test $ac_cv_lib_m_expf = yes; then
8293 cat >>confdefs.h <<\_ACEOF
8299 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
8300 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
8301 if test "${ac_cv_lib_m_fabsf+set}" = set; then
8302 echo $ECHO_N "(cached) $ECHO_C" >&6
8304 ac_check_lib_save_LIBS=$LIBS
8306 cat >conftest.$ac_ext <<_ACEOF
8309 cat confdefs.h >>conftest.$ac_ext
8310 cat >>conftest.$ac_ext <<_ACEOF
8311 /* end confdefs.h. */
8313 /* Override any gcc2 internal prototype to avoid an error. */
8317 /* We use char because int might match the return type of a gcc2
8318 builtin and then its argument prototype would still apply. */
8328 rm -f conftest.$ac_objext conftest$ac_exeext
8329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8330 (eval $ac_link) 2>conftest.er1
8332 grep -v '^ *+' conftest.er1 >conftest.err
8334 cat conftest.err >&5
8335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8336 (exit $ac_status); } &&
8337 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8342 (exit $ac_status); }; } &&
8343 { ac_try='test -s conftest$ac_exeext'
8344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8348 (exit $ac_status); }; }; then
8349 ac_cv_lib_m_fabsf=yes
8351 echo "$as_me: failed program was:" >&5
8352 sed 's/^/| /' conftest.$ac_ext >&5
8354 ac_cv_lib_m_fabsf=no
8356 rm -f conftest.err conftest.$ac_objext \
8357 conftest$ac_exeext conftest.$ac_ext
8358 LIBS=$ac_check_lib_save_LIBS
8360 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
8361 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
8362 if test $ac_cv_lib_m_fabsf = yes; then
8364 cat >>confdefs.h <<\_ACEOF
8365 #define HAVE_FABSF 1
8370 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
8371 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
8372 if test "${ac_cv_lib_m_floorf+set}" = set; then
8373 echo $ECHO_N "(cached) $ECHO_C" >&6
8375 ac_check_lib_save_LIBS=$LIBS
8377 cat >conftest.$ac_ext <<_ACEOF
8380 cat confdefs.h >>conftest.$ac_ext
8381 cat >>conftest.$ac_ext <<_ACEOF
8382 /* end confdefs.h. */
8384 /* Override any gcc2 internal prototype to avoid an error. */
8388 /* We use char because int might match the return type of a gcc2
8389 builtin and then its argument prototype would still apply. */
8399 rm -f conftest.$ac_objext conftest$ac_exeext
8400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8401 (eval $ac_link) 2>conftest.er1
8403 grep -v '^ *+' conftest.er1 >conftest.err
8405 cat conftest.err >&5
8406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8407 (exit $ac_status); } &&
8408 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8413 (exit $ac_status); }; } &&
8414 { ac_try='test -s conftest$ac_exeext'
8415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8419 (exit $ac_status); }; }; then
8420 ac_cv_lib_m_floorf=yes
8422 echo "$as_me: failed program was:" >&5
8423 sed 's/^/| /' conftest.$ac_ext >&5
8425 ac_cv_lib_m_floorf=no
8427 rm -f conftest.err conftest.$ac_objext \
8428 conftest$ac_exeext conftest.$ac_ext
8429 LIBS=$ac_check_lib_save_LIBS
8431 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
8432 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
8433 if test $ac_cv_lib_m_floorf = yes; then
8435 cat >>confdefs.h <<\_ACEOF
8436 #define HAVE_FLOORF 1
8441 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
8442 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
8443 if test "${ac_cv_lib_m_frexpf+set}" = set; then
8444 echo $ECHO_N "(cached) $ECHO_C" >&6
8446 ac_check_lib_save_LIBS=$LIBS
8448 cat >conftest.$ac_ext <<_ACEOF
8451 cat confdefs.h >>conftest.$ac_ext
8452 cat >>conftest.$ac_ext <<_ACEOF
8453 /* end confdefs.h. */
8455 /* Override any gcc2 internal prototype to avoid an error. */
8459 /* We use char because int might match the return type of a gcc2
8460 builtin and then its argument prototype would still apply. */
8470 rm -f conftest.$ac_objext conftest$ac_exeext
8471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8472 (eval $ac_link) 2>conftest.er1
8474 grep -v '^ *+' conftest.er1 >conftest.err
8476 cat conftest.err >&5
8477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8478 (exit $ac_status); } &&
8479 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8484 (exit $ac_status); }; } &&
8485 { ac_try='test -s conftest$ac_exeext'
8486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8490 (exit $ac_status); }; }; then
8491 ac_cv_lib_m_frexpf=yes
8493 echo "$as_me: failed program was:" >&5
8494 sed 's/^/| /' conftest.$ac_ext >&5
8496 ac_cv_lib_m_frexpf=no
8498 rm -f conftest.err conftest.$ac_objext \
8499 conftest$ac_exeext conftest.$ac_ext
8500 LIBS=$ac_check_lib_save_LIBS
8502 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
8503 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
8504 if test $ac_cv_lib_m_frexpf = yes; then
8506 cat >>confdefs.h <<\_ACEOF
8507 #define HAVE_FREXPF 1
8512 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
8513 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
8514 if test "${ac_cv_lib_m_hypotf+set}" = set; then
8515 echo $ECHO_N "(cached) $ECHO_C" >&6
8517 ac_check_lib_save_LIBS=$LIBS
8519 cat >conftest.$ac_ext <<_ACEOF
8522 cat confdefs.h >>conftest.$ac_ext
8523 cat >>conftest.$ac_ext <<_ACEOF
8524 /* end confdefs.h. */
8526 /* Override any gcc2 internal prototype to avoid an error. */
8530 /* We use char because int might match the return type of a gcc2
8531 builtin and then its argument prototype would still apply. */
8541 rm -f conftest.$ac_objext conftest$ac_exeext
8542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8543 (eval $ac_link) 2>conftest.er1
8545 grep -v '^ *+' conftest.er1 >conftest.err
8547 cat conftest.err >&5
8548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8549 (exit $ac_status); } &&
8550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8555 (exit $ac_status); }; } &&
8556 { ac_try='test -s conftest$ac_exeext'
8557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8561 (exit $ac_status); }; }; then
8562 ac_cv_lib_m_hypotf=yes
8564 echo "$as_me: failed program was:" >&5
8565 sed 's/^/| /' conftest.$ac_ext >&5
8567 ac_cv_lib_m_hypotf=no
8569 rm -f conftest.err conftest.$ac_objext \
8570 conftest$ac_exeext conftest.$ac_ext
8571 LIBS=$ac_check_lib_save_LIBS
8573 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
8574 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
8575 if test $ac_cv_lib_m_hypotf = yes; then
8577 cat >>confdefs.h <<\_ACEOF
8578 #define HAVE_HYPOTF 1
8583 echo "$as_me:$LINENO: checking for logf in -lm" >&5
8584 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
8585 if test "${ac_cv_lib_m_logf+set}" = set; then
8586 echo $ECHO_N "(cached) $ECHO_C" >&6
8588 ac_check_lib_save_LIBS=$LIBS
8590 cat >conftest.$ac_ext <<_ACEOF
8593 cat confdefs.h >>conftest.$ac_ext
8594 cat >>conftest.$ac_ext <<_ACEOF
8595 /* end confdefs.h. */
8597 /* Override any gcc2 internal prototype to avoid an error. */
8601 /* We use char because int might match the return type of a gcc2
8602 builtin and then its argument prototype would still apply. */
8612 rm -f conftest.$ac_objext conftest$ac_exeext
8613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8614 (eval $ac_link) 2>conftest.er1
8616 grep -v '^ *+' conftest.er1 >conftest.err
8618 cat conftest.err >&5
8619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8620 (exit $ac_status); } &&
8621 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8626 (exit $ac_status); }; } &&
8627 { ac_try='test -s conftest$ac_exeext'
8628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8632 (exit $ac_status); }; }; then
8633 ac_cv_lib_m_logf=yes
8635 echo "$as_me: failed program was:" >&5
8636 sed 's/^/| /' conftest.$ac_ext >&5
8640 rm -f conftest.err conftest.$ac_objext \
8641 conftest$ac_exeext conftest.$ac_ext
8642 LIBS=$ac_check_lib_save_LIBS
8644 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
8645 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
8646 if test $ac_cv_lib_m_logf = yes; then
8648 cat >>confdefs.h <<\_ACEOF
8654 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
8655 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
8656 if test "${ac_cv_lib_m_log10f+set}" = set; then
8657 echo $ECHO_N "(cached) $ECHO_C" >&6
8659 ac_check_lib_save_LIBS=$LIBS
8661 cat >conftest.$ac_ext <<_ACEOF
8664 cat confdefs.h >>conftest.$ac_ext
8665 cat >>conftest.$ac_ext <<_ACEOF
8666 /* end confdefs.h. */
8668 /* Override any gcc2 internal prototype to avoid an error. */
8672 /* We use char because int might match the return type of a gcc2
8673 builtin and then its argument prototype would still apply. */
8683 rm -f conftest.$ac_objext conftest$ac_exeext
8684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8685 (eval $ac_link) 2>conftest.er1
8687 grep -v '^ *+' conftest.er1 >conftest.err
8689 cat conftest.err >&5
8690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8691 (exit $ac_status); } &&
8692 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8697 (exit $ac_status); }; } &&
8698 { ac_try='test -s conftest$ac_exeext'
8699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8703 (exit $ac_status); }; }; then
8704 ac_cv_lib_m_log10f=yes
8706 echo "$as_me: failed program was:" >&5
8707 sed 's/^/| /' conftest.$ac_ext >&5
8709 ac_cv_lib_m_log10f=no
8711 rm -f conftest.err conftest.$ac_objext \
8712 conftest$ac_exeext conftest.$ac_ext
8713 LIBS=$ac_check_lib_save_LIBS
8715 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
8716 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
8717 if test $ac_cv_lib_m_log10f = yes; then
8719 cat >>confdefs.h <<\_ACEOF
8720 #define HAVE_LOG10F 1
8725 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
8726 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
8727 if test "${ac_cv_lib_m_nextafter+set}" = set; then
8728 echo $ECHO_N "(cached) $ECHO_C" >&6
8730 ac_check_lib_save_LIBS=$LIBS
8732 cat >conftest.$ac_ext <<_ACEOF
8735 cat confdefs.h >>conftest.$ac_ext
8736 cat >>conftest.$ac_ext <<_ACEOF
8737 /* end confdefs.h. */
8739 /* Override any gcc2 internal prototype to avoid an error. */
8743 /* We use char because int might match the return type of a gcc2
8744 builtin and then its argument prototype would still apply. */
8754 rm -f conftest.$ac_objext conftest$ac_exeext
8755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8756 (eval $ac_link) 2>conftest.er1
8758 grep -v '^ *+' conftest.er1 >conftest.err
8760 cat conftest.err >&5
8761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8762 (exit $ac_status); } &&
8763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8768 (exit $ac_status); }; } &&
8769 { ac_try='test -s conftest$ac_exeext'
8770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8774 (exit $ac_status); }; }; then
8775 ac_cv_lib_m_nextafter=yes
8777 echo "$as_me: failed program was:" >&5
8778 sed 's/^/| /' conftest.$ac_ext >&5
8780 ac_cv_lib_m_nextafter=no
8782 rm -f conftest.err conftest.$ac_objext \
8783 conftest$ac_exeext conftest.$ac_ext
8784 LIBS=$ac_check_lib_save_LIBS
8786 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
8787 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
8788 if test $ac_cv_lib_m_nextafter = yes; then
8790 cat >>confdefs.h <<\_ACEOF
8791 #define HAVE_NEXTAFTER 1
8796 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
8797 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
8798 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
8799 echo $ECHO_N "(cached) $ECHO_C" >&6
8801 ac_check_lib_save_LIBS=$LIBS
8803 cat >conftest.$ac_ext <<_ACEOF
8806 cat confdefs.h >>conftest.$ac_ext
8807 cat >>conftest.$ac_ext <<_ACEOF
8808 /* end confdefs.h. */
8810 /* Override any gcc2 internal prototype to avoid an error. */
8814 /* We use char because int might match the return type of a gcc2
8815 builtin and then its argument prototype would still apply. */
8825 rm -f conftest.$ac_objext conftest$ac_exeext
8826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8827 (eval $ac_link) 2>conftest.er1
8829 grep -v '^ *+' conftest.er1 >conftest.err
8831 cat conftest.err >&5
8832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8833 (exit $ac_status); } &&
8834 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8839 (exit $ac_status); }; } &&
8840 { ac_try='test -s conftest$ac_exeext'
8841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8845 (exit $ac_status); }; }; then
8846 ac_cv_lib_m_nextafterf=yes
8848 echo "$as_me: failed program was:" >&5
8849 sed 's/^/| /' conftest.$ac_ext >&5
8851 ac_cv_lib_m_nextafterf=no
8853 rm -f conftest.err conftest.$ac_objext \
8854 conftest$ac_exeext conftest.$ac_ext
8855 LIBS=$ac_check_lib_save_LIBS
8857 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
8858 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
8859 if test $ac_cv_lib_m_nextafterf = yes; then
8861 cat >>confdefs.h <<\_ACEOF
8862 #define HAVE_NEXTAFTERF 1
8867 echo "$as_me:$LINENO: checking for powf in -lm" >&5
8868 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
8869 if test "${ac_cv_lib_m_powf+set}" = set; then
8870 echo $ECHO_N "(cached) $ECHO_C" >&6
8872 ac_check_lib_save_LIBS=$LIBS
8874 cat >conftest.$ac_ext <<_ACEOF
8877 cat confdefs.h >>conftest.$ac_ext
8878 cat >>conftest.$ac_ext <<_ACEOF
8879 /* end confdefs.h. */
8881 /* Override any gcc2 internal prototype to avoid an error. */
8885 /* We use char because int might match the return type of a gcc2
8886 builtin and then its argument prototype would still apply. */
8896 rm -f conftest.$ac_objext conftest$ac_exeext
8897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8898 (eval $ac_link) 2>conftest.er1
8900 grep -v '^ *+' conftest.er1 >conftest.err
8902 cat conftest.err >&5
8903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904 (exit $ac_status); } &&
8905 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8910 (exit $ac_status); }; } &&
8911 { ac_try='test -s conftest$ac_exeext'
8912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8916 (exit $ac_status); }; }; then
8917 ac_cv_lib_m_powf=yes
8919 echo "$as_me: failed program was:" >&5
8920 sed 's/^/| /' conftest.$ac_ext >&5
8924 rm -f conftest.err conftest.$ac_objext \
8925 conftest$ac_exeext conftest.$ac_ext
8926 LIBS=$ac_check_lib_save_LIBS
8928 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
8929 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
8930 if test $ac_cv_lib_m_powf = yes; then
8932 cat >>confdefs.h <<\_ACEOF
8938 echo "$as_me:$LINENO: checking for round in -lm" >&5
8939 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
8940 if test "${ac_cv_lib_m_round+set}" = set; then
8941 echo $ECHO_N "(cached) $ECHO_C" >&6
8943 ac_check_lib_save_LIBS=$LIBS
8945 cat >conftest.$ac_ext <<_ACEOF
8948 cat confdefs.h >>conftest.$ac_ext
8949 cat >>conftest.$ac_ext <<_ACEOF
8950 /* end confdefs.h. */
8952 /* Override any gcc2 internal prototype to avoid an error. */
8956 /* We use char because int might match the return type of a gcc2
8957 builtin and then its argument prototype would still apply. */
8967 rm -f conftest.$ac_objext conftest$ac_exeext
8968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8969 (eval $ac_link) 2>conftest.er1
8971 grep -v '^ *+' conftest.er1 >conftest.err
8973 cat conftest.err >&5
8974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8975 (exit $ac_status); } &&
8976 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981 (exit $ac_status); }; } &&
8982 { ac_try='test -s conftest$ac_exeext'
8983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8987 (exit $ac_status); }; }; then
8988 ac_cv_lib_m_round=yes
8990 echo "$as_me: failed program was:" >&5
8991 sed 's/^/| /' conftest.$ac_ext >&5
8993 ac_cv_lib_m_round=no
8995 rm -f conftest.err conftest.$ac_objext \
8996 conftest$ac_exeext conftest.$ac_ext
8997 LIBS=$ac_check_lib_save_LIBS
8999 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
9000 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
9001 if test $ac_cv_lib_m_round = yes; then
9003 cat >>confdefs.h <<\_ACEOF
9004 #define HAVE_ROUND 1
9009 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
9010 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
9011 if test "${ac_cv_lib_m_roundf+set}" = set; then
9012 echo $ECHO_N "(cached) $ECHO_C" >&6
9014 ac_check_lib_save_LIBS=$LIBS
9016 cat >conftest.$ac_ext <<_ACEOF
9019 cat confdefs.h >>conftest.$ac_ext
9020 cat >>conftest.$ac_ext <<_ACEOF
9021 /* end confdefs.h. */
9023 /* Override any gcc2 internal prototype to avoid an error. */
9027 /* We use char because int might match the return type of a gcc2
9028 builtin and then its argument prototype would still apply. */
9038 rm -f conftest.$ac_objext conftest$ac_exeext
9039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9040 (eval $ac_link) 2>conftest.er1
9042 grep -v '^ *+' conftest.er1 >conftest.err
9044 cat conftest.err >&5
9045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9046 (exit $ac_status); } &&
9047 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9052 (exit $ac_status); }; } &&
9053 { ac_try='test -s conftest$ac_exeext'
9054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9058 (exit $ac_status); }; }; then
9059 ac_cv_lib_m_roundf=yes
9061 echo "$as_me: failed program was:" >&5
9062 sed 's/^/| /' conftest.$ac_ext >&5
9064 ac_cv_lib_m_roundf=no
9066 rm -f conftest.err conftest.$ac_objext \
9067 conftest$ac_exeext conftest.$ac_ext
9068 LIBS=$ac_check_lib_save_LIBS
9070 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
9071 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
9072 if test $ac_cv_lib_m_roundf = yes; then
9074 cat >>confdefs.h <<\_ACEOF
9075 #define HAVE_ROUNDF 1
9080 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
9081 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
9082 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
9083 echo $ECHO_N "(cached) $ECHO_C" >&6
9085 ac_check_lib_save_LIBS=$LIBS
9087 cat >conftest.$ac_ext <<_ACEOF
9090 cat confdefs.h >>conftest.$ac_ext
9091 cat >>conftest.$ac_ext <<_ACEOF
9092 /* end confdefs.h. */
9094 /* Override any gcc2 internal prototype to avoid an error. */
9098 /* We use char because int might match the return type of a gcc2
9099 builtin and then its argument prototype would still apply. */
9109 rm -f conftest.$ac_objext conftest$ac_exeext
9110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9111 (eval $ac_link) 2>conftest.er1
9113 grep -v '^ *+' conftest.er1 >conftest.err
9115 cat conftest.err >&5
9116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9117 (exit $ac_status); } &&
9118 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9123 (exit $ac_status); }; } &&
9124 { ac_try='test -s conftest$ac_exeext'
9125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9129 (exit $ac_status); }; }; then
9130 ac_cv_lib_m_scalbnf=yes
9132 echo "$as_me: failed program was:" >&5
9133 sed 's/^/| /' conftest.$ac_ext >&5
9135 ac_cv_lib_m_scalbnf=no
9137 rm -f conftest.err conftest.$ac_objext \
9138 conftest$ac_exeext conftest.$ac_ext
9139 LIBS=$ac_check_lib_save_LIBS
9141 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
9142 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
9143 if test $ac_cv_lib_m_scalbnf = yes; then
9145 cat >>confdefs.h <<\_ACEOF
9146 #define HAVE_SCALBNF 1
9151 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
9152 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
9153 if test "${ac_cv_lib_m_sinf+set}" = set; then
9154 echo $ECHO_N "(cached) $ECHO_C" >&6
9156 ac_check_lib_save_LIBS=$LIBS
9158 cat >conftest.$ac_ext <<_ACEOF
9161 cat confdefs.h >>conftest.$ac_ext
9162 cat >>conftest.$ac_ext <<_ACEOF
9163 /* end confdefs.h. */
9165 /* Override any gcc2 internal prototype to avoid an error. */
9169 /* We use char because int might match the return type of a gcc2
9170 builtin and then its argument prototype would still apply. */
9180 rm -f conftest.$ac_objext conftest$ac_exeext
9181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9182 (eval $ac_link) 2>conftest.er1
9184 grep -v '^ *+' conftest.er1 >conftest.err
9186 cat conftest.err >&5
9187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9188 (exit $ac_status); } &&
9189 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9194 (exit $ac_status); }; } &&
9195 { ac_try='test -s conftest$ac_exeext'
9196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9200 (exit $ac_status); }; }; then
9201 ac_cv_lib_m_sinf=yes
9203 echo "$as_me: failed program was:" >&5
9204 sed 's/^/| /' conftest.$ac_ext >&5
9208 rm -f conftest.err conftest.$ac_objext \
9209 conftest$ac_exeext conftest.$ac_ext
9210 LIBS=$ac_check_lib_save_LIBS
9212 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
9213 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
9214 if test $ac_cv_lib_m_sinf = yes; then
9216 cat >>confdefs.h <<\_ACEOF
9222 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
9223 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
9224 if test "${ac_cv_lib_m_sinhf+set}" = set; then
9225 echo $ECHO_N "(cached) $ECHO_C" >&6
9227 ac_check_lib_save_LIBS=$LIBS
9229 cat >conftest.$ac_ext <<_ACEOF
9232 cat confdefs.h >>conftest.$ac_ext
9233 cat >>conftest.$ac_ext <<_ACEOF
9234 /* end confdefs.h. */
9236 /* Override any gcc2 internal prototype to avoid an error. */
9240 /* We use char because int might match the return type of a gcc2
9241 builtin and then its argument prototype would still apply. */
9251 rm -f conftest.$ac_objext conftest$ac_exeext
9252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9253 (eval $ac_link) 2>conftest.er1
9255 grep -v '^ *+' conftest.er1 >conftest.err
9257 cat conftest.err >&5
9258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9259 (exit $ac_status); } &&
9260 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9265 (exit $ac_status); }; } &&
9266 { ac_try='test -s conftest$ac_exeext'
9267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9271 (exit $ac_status); }; }; then
9272 ac_cv_lib_m_sinhf=yes
9274 echo "$as_me: failed program was:" >&5
9275 sed 's/^/| /' conftest.$ac_ext >&5
9277 ac_cv_lib_m_sinhf=no
9279 rm -f conftest.err conftest.$ac_objext \
9280 conftest$ac_exeext conftest.$ac_ext
9281 LIBS=$ac_check_lib_save_LIBS
9283 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
9284 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
9285 if test $ac_cv_lib_m_sinhf = yes; then
9287 cat >>confdefs.h <<\_ACEOF
9288 #define HAVE_SINHF 1
9293 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
9294 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
9295 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
9296 echo $ECHO_N "(cached) $ECHO_C" >&6
9298 ac_check_lib_save_LIBS=$LIBS
9300 cat >conftest.$ac_ext <<_ACEOF
9303 cat confdefs.h >>conftest.$ac_ext
9304 cat >>conftest.$ac_ext <<_ACEOF
9305 /* end confdefs.h. */
9307 /* Override any gcc2 internal prototype to avoid an error. */
9311 /* We use char because int might match the return type of a gcc2
9312 builtin and then its argument prototype would still apply. */
9322 rm -f conftest.$ac_objext conftest$ac_exeext
9323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9324 (eval $ac_link) 2>conftest.er1
9326 grep -v '^ *+' conftest.er1 >conftest.err
9328 cat conftest.err >&5
9329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9330 (exit $ac_status); } &&
9331 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9336 (exit $ac_status); }; } &&
9337 { ac_try='test -s conftest$ac_exeext'
9338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9342 (exit $ac_status); }; }; then
9343 ac_cv_lib_m_sqrtf=yes
9345 echo "$as_me: failed program was:" >&5
9346 sed 's/^/| /' conftest.$ac_ext >&5
9348 ac_cv_lib_m_sqrtf=no
9350 rm -f conftest.err conftest.$ac_objext \
9351 conftest$ac_exeext conftest.$ac_ext
9352 LIBS=$ac_check_lib_save_LIBS
9354 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
9355 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
9356 if test $ac_cv_lib_m_sqrtf = yes; then
9358 cat >>confdefs.h <<\_ACEOF
9359 #define HAVE_SQRTF 1
9364 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
9365 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
9366 if test "${ac_cv_lib_m_tanf+set}" = set; then
9367 echo $ECHO_N "(cached) $ECHO_C" >&6
9369 ac_check_lib_save_LIBS=$LIBS
9371 cat >conftest.$ac_ext <<_ACEOF
9374 cat confdefs.h >>conftest.$ac_ext
9375 cat >>conftest.$ac_ext <<_ACEOF
9376 /* end confdefs.h. */
9378 /* Override any gcc2 internal prototype to avoid an error. */
9382 /* We use char because int might match the return type of a gcc2
9383 builtin and then its argument prototype would still apply. */
9393 rm -f conftest.$ac_objext conftest$ac_exeext
9394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9395 (eval $ac_link) 2>conftest.er1
9397 grep -v '^ *+' conftest.er1 >conftest.err
9399 cat conftest.err >&5
9400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9401 (exit $ac_status); } &&
9402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9407 (exit $ac_status); }; } &&
9408 { ac_try='test -s conftest$ac_exeext'
9409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9413 (exit $ac_status); }; }; then
9414 ac_cv_lib_m_tanf=yes
9416 echo "$as_me: failed program was:" >&5
9417 sed 's/^/| /' conftest.$ac_ext >&5
9421 rm -f conftest.err conftest.$ac_objext \
9422 conftest$ac_exeext conftest.$ac_ext
9423 LIBS=$ac_check_lib_save_LIBS
9425 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
9426 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
9427 if test $ac_cv_lib_m_tanf = yes; then
9429 cat >>confdefs.h <<\_ACEOF
9435 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
9436 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
9437 if test "${ac_cv_lib_m_tanhf+set}" = set; then
9438 echo $ECHO_N "(cached) $ECHO_C" >&6
9440 ac_check_lib_save_LIBS=$LIBS
9442 cat >conftest.$ac_ext <<_ACEOF
9445 cat confdefs.h >>conftest.$ac_ext
9446 cat >>conftest.$ac_ext <<_ACEOF
9447 /* end confdefs.h. */
9449 /* Override any gcc2 internal prototype to avoid an error. */
9453 /* We use char because int might match the return type of a gcc2
9454 builtin and then its argument prototype would still apply. */
9464 rm -f conftest.$ac_objext conftest$ac_exeext
9465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9466 (eval $ac_link) 2>conftest.er1
9468 grep -v '^ *+' conftest.er1 >conftest.err
9470 cat conftest.err >&5
9471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9472 (exit $ac_status); } &&
9473 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478 (exit $ac_status); }; } &&
9479 { ac_try='test -s conftest$ac_exeext'
9480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9484 (exit $ac_status); }; }; then
9485 ac_cv_lib_m_tanhf=yes
9487 echo "$as_me: failed program was:" >&5
9488 sed 's/^/| /' conftest.$ac_ext >&5
9490 ac_cv_lib_m_tanhf=no
9492 rm -f conftest.err conftest.$ac_objext \
9493 conftest$ac_exeext conftest.$ac_ext
9494 LIBS=$ac_check_lib_save_LIBS
9496 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
9497 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
9498 if test $ac_cv_lib_m_tanhf = yes; then
9500 cat >>confdefs.h <<\_ACEOF
9501 #define HAVE_TANHF 1
9506 echo "$as_me:$LINENO: checking for erf in -lm" >&5
9507 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
9508 if test "${ac_cv_lib_m_erf+set}" = set; then
9509 echo $ECHO_N "(cached) $ECHO_C" >&6
9511 ac_check_lib_save_LIBS=$LIBS
9513 cat >conftest.$ac_ext <<_ACEOF
9516 cat confdefs.h >>conftest.$ac_ext
9517 cat >>conftest.$ac_ext <<_ACEOF
9518 /* end confdefs.h. */
9520 /* Override any gcc2 internal prototype to avoid an error. */
9524 /* We use char because int might match the return type of a gcc2
9525 builtin and then its argument prototype would still apply. */
9535 rm -f conftest.$ac_objext conftest$ac_exeext
9536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9537 (eval $ac_link) 2>conftest.er1
9539 grep -v '^ *+' conftest.er1 >conftest.err
9541 cat conftest.err >&5
9542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9543 (exit $ac_status); } &&
9544 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9549 (exit $ac_status); }; } &&
9550 { ac_try='test -s conftest$ac_exeext'
9551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9555 (exit $ac_status); }; }; then
9558 echo "$as_me: failed program was:" >&5
9559 sed 's/^/| /' conftest.$ac_ext >&5
9563 rm -f conftest.err conftest.$ac_objext \
9564 conftest$ac_exeext conftest.$ac_ext
9565 LIBS=$ac_check_lib_save_LIBS
9567 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
9568 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
9569 if test $ac_cv_lib_m_erf = yes; then
9571 cat >>confdefs.h <<\_ACEOF
9577 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
9578 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
9579 if test "${ac_cv_lib_m_erfc+set}" = set; then
9580 echo $ECHO_N "(cached) $ECHO_C" >&6
9582 ac_check_lib_save_LIBS=$LIBS
9584 cat >conftest.$ac_ext <<_ACEOF
9587 cat confdefs.h >>conftest.$ac_ext
9588 cat >>conftest.$ac_ext <<_ACEOF
9589 /* end confdefs.h. */
9591 /* Override any gcc2 internal prototype to avoid an error. */
9595 /* We use char because int might match the return type of a gcc2
9596 builtin and then its argument prototype would still apply. */
9606 rm -f conftest.$ac_objext conftest$ac_exeext
9607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9608 (eval $ac_link) 2>conftest.er1
9610 grep -v '^ *+' conftest.er1 >conftest.err
9612 cat conftest.err >&5
9613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9614 (exit $ac_status); } &&
9615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9620 (exit $ac_status); }; } &&
9621 { ac_try='test -s conftest$ac_exeext'
9622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9626 (exit $ac_status); }; }; then
9627 ac_cv_lib_m_erfc=yes
9629 echo "$as_me: failed program was:" >&5
9630 sed 's/^/| /' conftest.$ac_ext >&5
9634 rm -f conftest.err conftest.$ac_objext \
9635 conftest$ac_exeext conftest.$ac_ext
9636 LIBS=$ac_check_lib_save_LIBS
9638 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
9639 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
9640 if test $ac_cv_lib_m_erfc = yes; then
9642 cat >>confdefs.h <<\_ACEOF
9648 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
9649 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
9650 if test "${ac_cv_lib_m_erfcf+set}" = set; then
9651 echo $ECHO_N "(cached) $ECHO_C" >&6
9653 ac_check_lib_save_LIBS=$LIBS
9655 cat >conftest.$ac_ext <<_ACEOF
9658 cat confdefs.h >>conftest.$ac_ext
9659 cat >>conftest.$ac_ext <<_ACEOF
9660 /* end confdefs.h. */
9662 /* Override any gcc2 internal prototype to avoid an error. */
9666 /* We use char because int might match the return type of a gcc2
9667 builtin and then its argument prototype would still apply. */
9677 rm -f conftest.$ac_objext conftest$ac_exeext
9678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9679 (eval $ac_link) 2>conftest.er1
9681 grep -v '^ *+' conftest.er1 >conftest.err
9683 cat conftest.err >&5
9684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9685 (exit $ac_status); } &&
9686 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9691 (exit $ac_status); }; } &&
9692 { ac_try='test -s conftest$ac_exeext'
9693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9697 (exit $ac_status); }; }; then
9698 ac_cv_lib_m_erfcf=yes
9700 echo "$as_me: failed program was:" >&5
9701 sed 's/^/| /' conftest.$ac_ext >&5
9703 ac_cv_lib_m_erfcf=no
9705 rm -f conftest.err conftest.$ac_objext \
9706 conftest$ac_exeext conftest.$ac_ext
9707 LIBS=$ac_check_lib_save_LIBS
9709 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
9710 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
9711 if test $ac_cv_lib_m_erfcf = yes; then
9713 cat >>confdefs.h <<\_ACEOF
9714 #define HAVE_ERFCF 1
9719 echo "$as_me:$LINENO: checking for erff in -lm" >&5
9720 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
9721 if test "${ac_cv_lib_m_erff+set}" = set; then
9722 echo $ECHO_N "(cached) $ECHO_C" >&6
9724 ac_check_lib_save_LIBS=$LIBS
9726 cat >conftest.$ac_ext <<_ACEOF
9729 cat confdefs.h >>conftest.$ac_ext
9730 cat >>conftest.$ac_ext <<_ACEOF
9731 /* end confdefs.h. */
9733 /* Override any gcc2 internal prototype to avoid an error. */
9737 /* We use char because int might match the return type of a gcc2
9738 builtin and then its argument prototype would still apply. */
9748 rm -f conftest.$ac_objext conftest$ac_exeext
9749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9750 (eval $ac_link) 2>conftest.er1
9752 grep -v '^ *+' conftest.er1 >conftest.err
9754 cat conftest.err >&5
9755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9756 (exit $ac_status); } &&
9757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762 (exit $ac_status); }; } &&
9763 { ac_try='test -s conftest$ac_exeext'
9764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9768 (exit $ac_status); }; }; then
9769 ac_cv_lib_m_erff=yes
9771 echo "$as_me: failed program was:" >&5
9772 sed 's/^/| /' conftest.$ac_ext >&5
9776 rm -f conftest.err conftest.$ac_objext \
9777 conftest$ac_exeext conftest.$ac_ext
9778 LIBS=$ac_check_lib_save_LIBS
9780 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
9781 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
9782 if test $ac_cv_lib_m_erff = yes; then
9784 cat >>confdefs.h <<\_ACEOF
9790 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
9791 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
9792 if test "${ac_cv_lib_m_j0+set}" = set; then
9793 echo $ECHO_N "(cached) $ECHO_C" >&6
9795 ac_check_lib_save_LIBS=$LIBS
9797 cat >conftest.$ac_ext <<_ACEOF
9800 cat confdefs.h >>conftest.$ac_ext
9801 cat >>conftest.$ac_ext <<_ACEOF
9802 /* end confdefs.h. */
9804 /* Override any gcc2 internal prototype to avoid an error. */
9808 /* We use char because int might match the return type of a gcc2
9809 builtin and then its argument prototype would still apply. */
9819 rm -f conftest.$ac_objext conftest$ac_exeext
9820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9821 (eval $ac_link) 2>conftest.er1
9823 grep -v '^ *+' conftest.er1 >conftest.err
9825 cat conftest.err >&5
9826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9827 (exit $ac_status); } &&
9828 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9833 (exit $ac_status); }; } &&
9834 { ac_try='test -s conftest$ac_exeext'
9835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9839 (exit $ac_status); }; }; then
9842 echo "$as_me: failed program was:" >&5
9843 sed 's/^/| /' conftest.$ac_ext >&5
9847 rm -f conftest.err conftest.$ac_objext \
9848 conftest$ac_exeext conftest.$ac_ext
9849 LIBS=$ac_check_lib_save_LIBS
9851 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
9852 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
9853 if test $ac_cv_lib_m_j0 = yes; then
9855 cat >>confdefs.h <<\_ACEOF
9861 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
9862 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
9863 if test "${ac_cv_lib_m_j0f+set}" = set; then
9864 echo $ECHO_N "(cached) $ECHO_C" >&6
9866 ac_check_lib_save_LIBS=$LIBS
9868 cat >conftest.$ac_ext <<_ACEOF
9871 cat confdefs.h >>conftest.$ac_ext
9872 cat >>conftest.$ac_ext <<_ACEOF
9873 /* end confdefs.h. */
9875 /* Override any gcc2 internal prototype to avoid an error. */
9879 /* We use char because int might match the return type of a gcc2
9880 builtin and then its argument prototype would still apply. */
9890 rm -f conftest.$ac_objext conftest$ac_exeext
9891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9892 (eval $ac_link) 2>conftest.er1
9894 grep -v '^ *+' conftest.er1 >conftest.err
9896 cat conftest.err >&5
9897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9898 (exit $ac_status); } &&
9899 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9904 (exit $ac_status); }; } &&
9905 { ac_try='test -s conftest$ac_exeext'
9906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9910 (exit $ac_status); }; }; then
9913 echo "$as_me: failed program was:" >&5
9914 sed 's/^/| /' conftest.$ac_ext >&5
9918 rm -f conftest.err conftest.$ac_objext \
9919 conftest$ac_exeext conftest.$ac_ext
9920 LIBS=$ac_check_lib_save_LIBS
9922 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
9923 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
9924 if test $ac_cv_lib_m_j0f = yes; then
9926 cat >>confdefs.h <<\_ACEOF
9932 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
9933 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
9934 if test "${ac_cv_lib_m_j1+set}" = set; then
9935 echo $ECHO_N "(cached) $ECHO_C" >&6
9937 ac_check_lib_save_LIBS=$LIBS
9939 cat >conftest.$ac_ext <<_ACEOF
9942 cat confdefs.h >>conftest.$ac_ext
9943 cat >>conftest.$ac_ext <<_ACEOF
9944 /* end confdefs.h. */
9946 /* Override any gcc2 internal prototype to avoid an error. */
9950 /* We use char because int might match the return type of a gcc2
9951 builtin and then its argument prototype would still apply. */
9961 rm -f conftest.$ac_objext conftest$ac_exeext
9962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9963 (eval $ac_link) 2>conftest.er1
9965 grep -v '^ *+' conftest.er1 >conftest.err
9967 cat conftest.err >&5
9968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9969 (exit $ac_status); } &&
9970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9975 (exit $ac_status); }; } &&
9976 { ac_try='test -s conftest$ac_exeext'
9977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9981 (exit $ac_status); }; }; then
9984 echo "$as_me: failed program was:" >&5
9985 sed 's/^/| /' conftest.$ac_ext >&5
9989 rm -f conftest.err conftest.$ac_objext \
9990 conftest$ac_exeext conftest.$ac_ext
9991 LIBS=$ac_check_lib_save_LIBS
9993 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
9994 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
9995 if test $ac_cv_lib_m_j1 = yes; then
9997 cat >>confdefs.h <<\_ACEOF
10003 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
10004 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
10005 if test "${ac_cv_lib_m_j1f+set}" = set; then
10006 echo $ECHO_N "(cached) $ECHO_C" >&6
10008 ac_check_lib_save_LIBS=$LIBS
10010 cat >conftest.$ac_ext <<_ACEOF
10013 cat confdefs.h >>conftest.$ac_ext
10014 cat >>conftest.$ac_ext <<_ACEOF
10015 /* end confdefs.h. */
10017 /* Override any gcc2 internal prototype to avoid an error. */
10021 /* We use char because int might match the return type of a gcc2
10022 builtin and then its argument prototype would still apply. */
10032 rm -f conftest.$ac_objext conftest$ac_exeext
10033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10034 (eval $ac_link) 2>conftest.er1
10036 grep -v '^ *+' conftest.er1 >conftest.err
10038 cat conftest.err >&5
10039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10040 (exit $ac_status); } &&
10041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10043 (eval $ac_try) 2>&5
10045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10046 (exit $ac_status); }; } &&
10047 { ac_try='test -s conftest$ac_exeext'
10048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10049 (eval $ac_try) 2>&5
10051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10052 (exit $ac_status); }; }; then
10053 ac_cv_lib_m_j1f=yes
10055 echo "$as_me: failed program was:" >&5
10056 sed 's/^/| /' conftest.$ac_ext >&5
10060 rm -f conftest.err conftest.$ac_objext \
10061 conftest$ac_exeext conftest.$ac_ext
10062 LIBS=$ac_check_lib_save_LIBS
10064 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
10065 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
10066 if test $ac_cv_lib_m_j1f = yes; then
10068 cat >>confdefs.h <<\_ACEOF
10074 echo "$as_me:$LINENO: checking for jn in -lm" >&5
10075 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
10076 if test "${ac_cv_lib_m_jn+set}" = set; then
10077 echo $ECHO_N "(cached) $ECHO_C" >&6
10079 ac_check_lib_save_LIBS=$LIBS
10081 cat >conftest.$ac_ext <<_ACEOF
10084 cat confdefs.h >>conftest.$ac_ext
10085 cat >>conftest.$ac_ext <<_ACEOF
10086 /* end confdefs.h. */
10088 /* Override any gcc2 internal prototype to avoid an error. */
10092 /* We use char because int might match the return type of a gcc2
10093 builtin and then its argument prototype would still apply. */
10103 rm -f conftest.$ac_objext conftest$ac_exeext
10104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10105 (eval $ac_link) 2>conftest.er1
10107 grep -v '^ *+' conftest.er1 >conftest.err
10109 cat conftest.err >&5
10110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10111 (exit $ac_status); } &&
10112 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10114 (eval $ac_try) 2>&5
10116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10117 (exit $ac_status); }; } &&
10118 { ac_try='test -s conftest$ac_exeext'
10119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10120 (eval $ac_try) 2>&5
10122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10123 (exit $ac_status); }; }; then
10126 echo "$as_me: failed program was:" >&5
10127 sed 's/^/| /' conftest.$ac_ext >&5
10131 rm -f conftest.err conftest.$ac_objext \
10132 conftest$ac_exeext conftest.$ac_ext
10133 LIBS=$ac_check_lib_save_LIBS
10135 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
10136 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
10137 if test $ac_cv_lib_m_jn = yes; then
10139 cat >>confdefs.h <<\_ACEOF
10145 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
10146 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
10147 if test "${ac_cv_lib_m_jnf+set}" = set; then
10148 echo $ECHO_N "(cached) $ECHO_C" >&6
10150 ac_check_lib_save_LIBS=$LIBS
10152 cat >conftest.$ac_ext <<_ACEOF
10155 cat confdefs.h >>conftest.$ac_ext
10156 cat >>conftest.$ac_ext <<_ACEOF
10157 /* end confdefs.h. */
10159 /* Override any gcc2 internal prototype to avoid an error. */
10163 /* We use char because int might match the return type of a gcc2
10164 builtin and then its argument prototype would still apply. */
10174 rm -f conftest.$ac_objext conftest$ac_exeext
10175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10176 (eval $ac_link) 2>conftest.er1
10178 grep -v '^ *+' conftest.er1 >conftest.err
10180 cat conftest.err >&5
10181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10182 (exit $ac_status); } &&
10183 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10185 (eval $ac_try) 2>&5
10187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10188 (exit $ac_status); }; } &&
10189 { ac_try='test -s conftest$ac_exeext'
10190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10191 (eval $ac_try) 2>&5
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); }; }; then
10195 ac_cv_lib_m_jnf=yes
10197 echo "$as_me: failed program was:" >&5
10198 sed 's/^/| /' conftest.$ac_ext >&5
10202 rm -f conftest.err conftest.$ac_objext \
10203 conftest$ac_exeext conftest.$ac_ext
10204 LIBS=$ac_check_lib_save_LIBS
10206 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
10207 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
10208 if test $ac_cv_lib_m_jnf = yes; then
10210 cat >>confdefs.h <<\_ACEOF
10216 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
10217 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
10218 if test "${ac_cv_lib_m_y0+set}" = set; then
10219 echo $ECHO_N "(cached) $ECHO_C" >&6
10221 ac_check_lib_save_LIBS=$LIBS
10223 cat >conftest.$ac_ext <<_ACEOF
10226 cat confdefs.h >>conftest.$ac_ext
10227 cat >>conftest.$ac_ext <<_ACEOF
10228 /* end confdefs.h. */
10230 /* Override any gcc2 internal prototype to avoid an error. */
10234 /* We use char because int might match the return type of a gcc2
10235 builtin and then its argument prototype would still apply. */
10245 rm -f conftest.$ac_objext conftest$ac_exeext
10246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10247 (eval $ac_link) 2>conftest.er1
10249 grep -v '^ *+' conftest.er1 >conftest.err
10251 cat conftest.err >&5
10252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 (exit $ac_status); } &&
10254 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10256 (eval $ac_try) 2>&5
10258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10259 (exit $ac_status); }; } &&
10260 { ac_try='test -s conftest$ac_exeext'
10261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10262 (eval $ac_try) 2>&5
10264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10265 (exit $ac_status); }; }; then
10268 echo "$as_me: failed program was:" >&5
10269 sed 's/^/| /' conftest.$ac_ext >&5
10273 rm -f conftest.err conftest.$ac_objext \
10274 conftest$ac_exeext conftest.$ac_ext
10275 LIBS=$ac_check_lib_save_LIBS
10277 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
10278 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
10279 if test $ac_cv_lib_m_y0 = yes; then
10281 cat >>confdefs.h <<\_ACEOF
10287 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
10288 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
10289 if test "${ac_cv_lib_m_y0f+set}" = set; then
10290 echo $ECHO_N "(cached) $ECHO_C" >&6
10292 ac_check_lib_save_LIBS=$LIBS
10294 cat >conftest.$ac_ext <<_ACEOF
10297 cat confdefs.h >>conftest.$ac_ext
10298 cat >>conftest.$ac_ext <<_ACEOF
10299 /* end confdefs.h. */
10301 /* Override any gcc2 internal prototype to avoid an error. */
10305 /* We use char because int might match the return type of a gcc2
10306 builtin and then its argument prototype would still apply. */
10316 rm -f conftest.$ac_objext conftest$ac_exeext
10317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10318 (eval $ac_link) 2>conftest.er1
10320 grep -v '^ *+' conftest.er1 >conftest.err
10322 cat conftest.err >&5
10323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10324 (exit $ac_status); } &&
10325 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10327 (eval $ac_try) 2>&5
10329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10330 (exit $ac_status); }; } &&
10331 { ac_try='test -s conftest$ac_exeext'
10332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10333 (eval $ac_try) 2>&5
10335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10336 (exit $ac_status); }; }; then
10337 ac_cv_lib_m_y0f=yes
10339 echo "$as_me: failed program was:" >&5
10340 sed 's/^/| /' conftest.$ac_ext >&5
10344 rm -f conftest.err conftest.$ac_objext \
10345 conftest$ac_exeext conftest.$ac_ext
10346 LIBS=$ac_check_lib_save_LIBS
10348 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
10349 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
10350 if test $ac_cv_lib_m_y0f = yes; then
10352 cat >>confdefs.h <<\_ACEOF
10358 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
10359 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
10360 if test "${ac_cv_lib_m_y1+set}" = set; then
10361 echo $ECHO_N "(cached) $ECHO_C" >&6
10363 ac_check_lib_save_LIBS=$LIBS
10365 cat >conftest.$ac_ext <<_ACEOF
10368 cat confdefs.h >>conftest.$ac_ext
10369 cat >>conftest.$ac_ext <<_ACEOF
10370 /* end confdefs.h. */
10372 /* Override any gcc2 internal prototype to avoid an error. */
10376 /* We use char because int might match the return type of a gcc2
10377 builtin and then its argument prototype would still apply. */
10387 rm -f conftest.$ac_objext conftest$ac_exeext
10388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10389 (eval $ac_link) 2>conftest.er1
10391 grep -v '^ *+' conftest.er1 >conftest.err
10393 cat conftest.err >&5
10394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10395 (exit $ac_status); } &&
10396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10398 (eval $ac_try) 2>&5
10400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10401 (exit $ac_status); }; } &&
10402 { ac_try='test -s conftest$ac_exeext'
10403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10404 (eval $ac_try) 2>&5
10406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10407 (exit $ac_status); }; }; then
10410 echo "$as_me: failed program was:" >&5
10411 sed 's/^/| /' conftest.$ac_ext >&5
10415 rm -f conftest.err conftest.$ac_objext \
10416 conftest$ac_exeext conftest.$ac_ext
10417 LIBS=$ac_check_lib_save_LIBS
10419 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
10420 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
10421 if test $ac_cv_lib_m_y1 = yes; then
10423 cat >>confdefs.h <<\_ACEOF
10429 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
10430 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
10431 if test "${ac_cv_lib_m_y1f+set}" = set; then
10432 echo $ECHO_N "(cached) $ECHO_C" >&6
10434 ac_check_lib_save_LIBS=$LIBS
10436 cat >conftest.$ac_ext <<_ACEOF
10439 cat confdefs.h >>conftest.$ac_ext
10440 cat >>conftest.$ac_ext <<_ACEOF
10441 /* end confdefs.h. */
10443 /* Override any gcc2 internal prototype to avoid an error. */
10447 /* We use char because int might match the return type of a gcc2
10448 builtin and then its argument prototype would still apply. */
10458 rm -f conftest.$ac_objext conftest$ac_exeext
10459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10460 (eval $ac_link) 2>conftest.er1
10462 grep -v '^ *+' conftest.er1 >conftest.err
10464 cat conftest.err >&5
10465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10466 (exit $ac_status); } &&
10467 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10469 (eval $ac_try) 2>&5
10471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10472 (exit $ac_status); }; } &&
10473 { ac_try='test -s conftest$ac_exeext'
10474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10475 (eval $ac_try) 2>&5
10477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10478 (exit $ac_status); }; }; then
10479 ac_cv_lib_m_y1f=yes
10481 echo "$as_me: failed program was:" >&5
10482 sed 's/^/| /' conftest.$ac_ext >&5
10486 rm -f conftest.err conftest.$ac_objext \
10487 conftest$ac_exeext conftest.$ac_ext
10488 LIBS=$ac_check_lib_save_LIBS
10490 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
10491 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
10492 if test $ac_cv_lib_m_y1f = yes; then
10494 cat >>confdefs.h <<\_ACEOF
10500 echo "$as_me:$LINENO: checking for yn in -lm" >&5
10501 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
10502 if test "${ac_cv_lib_m_yn+set}" = set; then
10503 echo $ECHO_N "(cached) $ECHO_C" >&6
10505 ac_check_lib_save_LIBS=$LIBS
10507 cat >conftest.$ac_ext <<_ACEOF
10510 cat confdefs.h >>conftest.$ac_ext
10511 cat >>conftest.$ac_ext <<_ACEOF
10512 /* end confdefs.h. */
10514 /* Override any gcc2 internal prototype to avoid an error. */
10518 /* We use char because int might match the return type of a gcc2
10519 builtin and then its argument prototype would still apply. */
10529 rm -f conftest.$ac_objext conftest$ac_exeext
10530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10531 (eval $ac_link) 2>conftest.er1
10533 grep -v '^ *+' conftest.er1 >conftest.err
10535 cat conftest.err >&5
10536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10537 (exit $ac_status); } &&
10538 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10540 (eval $ac_try) 2>&5
10542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10543 (exit $ac_status); }; } &&
10544 { ac_try='test -s conftest$ac_exeext'
10545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10546 (eval $ac_try) 2>&5
10548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10549 (exit $ac_status); }; }; then
10552 echo "$as_me: failed program was:" >&5
10553 sed 's/^/| /' conftest.$ac_ext >&5
10557 rm -f conftest.err conftest.$ac_objext \
10558 conftest$ac_exeext conftest.$ac_ext
10559 LIBS=$ac_check_lib_save_LIBS
10561 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
10562 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
10563 if test $ac_cv_lib_m_yn = yes; then
10565 cat >>confdefs.h <<\_ACEOF
10571 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
10572 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
10573 if test "${ac_cv_lib_m_ynf+set}" = set; then
10574 echo $ECHO_N "(cached) $ECHO_C" >&6
10576 ac_check_lib_save_LIBS=$LIBS
10578 cat >conftest.$ac_ext <<_ACEOF
10581 cat confdefs.h >>conftest.$ac_ext
10582 cat >>conftest.$ac_ext <<_ACEOF
10583 /* end confdefs.h. */
10585 /* Override any gcc2 internal prototype to avoid an error. */
10589 /* We use char because int might match the return type of a gcc2
10590 builtin and then its argument prototype would still apply. */
10600 rm -f conftest.$ac_objext conftest$ac_exeext
10601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10602 (eval $ac_link) 2>conftest.er1
10604 grep -v '^ *+' conftest.er1 >conftest.err
10606 cat conftest.err >&5
10607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608 (exit $ac_status); } &&
10609 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10611 (eval $ac_try) 2>&5
10613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10614 (exit $ac_status); }; } &&
10615 { ac_try='test -s conftest$ac_exeext'
10616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10617 (eval $ac_try) 2>&5
10619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10620 (exit $ac_status); }; }; then
10621 ac_cv_lib_m_ynf=yes
10623 echo "$as_me: failed program was:" >&5
10624 sed 's/^/| /' conftest.$ac_ext >&5
10628 rm -f conftest.err conftest.$ac_objext \
10629 conftest$ac_exeext conftest.$ac_ext
10630 LIBS=$ac_check_lib_save_LIBS
10632 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
10633 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
10634 if test $ac_cv_lib_m_ynf = yes; then
10636 cat >>confdefs.h <<\_ACEOF
10643 # Fallback in case isfinite is not available.
10644 echo "$as_me:$LINENO: checking for finite in -lm" >&5
10645 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
10646 if test "${ac_cv_lib_m_finite+set}" = set; then
10647 echo $ECHO_N "(cached) $ECHO_C" >&6
10649 ac_check_lib_save_LIBS=$LIBS
10651 cat >conftest.$ac_ext <<_ACEOF
10654 cat confdefs.h >>conftest.$ac_ext
10655 cat >>conftest.$ac_ext <<_ACEOF
10656 /* end confdefs.h. */
10658 /* Override any gcc2 internal prototype to avoid an error. */
10662 /* We use char because int might match the return type of a gcc2
10663 builtin and then its argument prototype would still apply. */
10673 rm -f conftest.$ac_objext conftest$ac_exeext
10674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10675 (eval $ac_link) 2>conftest.er1
10677 grep -v '^ *+' conftest.er1 >conftest.err
10679 cat conftest.err >&5
10680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10681 (exit $ac_status); } &&
10682 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10684 (eval $ac_try) 2>&5
10686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10687 (exit $ac_status); }; } &&
10688 { ac_try='test -s conftest$ac_exeext'
10689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10690 (eval $ac_try) 2>&5
10692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10693 (exit $ac_status); }; }; then
10694 ac_cv_lib_m_finite=yes
10696 echo "$as_me: failed program was:" >&5
10697 sed 's/^/| /' conftest.$ac_ext >&5
10699 ac_cv_lib_m_finite=no
10701 rm -f conftest.err conftest.$ac_objext \
10702 conftest$ac_exeext conftest.$ac_ext
10703 LIBS=$ac_check_lib_save_LIBS
10705 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
10706 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
10707 if test $ac_cv_lib_m_finite = yes; then
10709 cat >>confdefs.h <<\_ACEOF
10710 #define HAVE_FINITE 1
10716 # Let the user override this
10717 # Check whether --enable-cmath or --disable-cmath was given.
10718 if test "${enable_cmath+set}" = set; then
10719 enableval="$enable_cmath"
10720 need_math=$enableval
10722 if test "$need_math" = "yes"; then
10723 { echo "$as_me:$LINENO: Including complex math functions in libgfor" >&5
10724 echo "$as_me: Including complex math functions in libgfor" >&6;};
10725 extra_math_obj='$(gfor_cmath_obj)'
10728 MATH_OBJ="$extra_math_obj"
10731 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
10732 # for struct timezone, as you might think. We also need to check how
10733 # to call gettimeofday if we have it.
10734 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10735 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
10736 if test "${ac_cv_header_time+set}" = set; then
10737 echo $ECHO_N "(cached) $ECHO_C" >&6
10739 cat >conftest.$ac_ext <<_ACEOF
10742 cat confdefs.h >>conftest.$ac_ext
10743 cat >>conftest.$ac_ext <<_ACEOF
10744 /* end confdefs.h. */
10745 #include <sys/types.h>
10746 #include <sys/time.h>
10752 if ((struct tm *) 0)
10758 rm -f conftest.$ac_objext
10759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10760 (eval $ac_compile) 2>conftest.er1
10762 grep -v '^ *+' conftest.er1 >conftest.err
10764 cat conftest.err >&5
10765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10766 (exit $ac_status); } &&
10767 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10769 (eval $ac_try) 2>&5
10771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10772 (exit $ac_status); }; } &&
10773 { ac_try='test -s conftest.$ac_objext'
10774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10775 (eval $ac_try) 2>&5
10777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10778 (exit $ac_status); }; }; then
10779 ac_cv_header_time=yes
10781 echo "$as_me: failed program was:" >&5
10782 sed 's/^/| /' conftest.$ac_ext >&5
10784 ac_cv_header_time=no
10786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10788 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10789 echo "${ECHO_T}$ac_cv_header_time" >&6
10790 if test $ac_cv_header_time = yes; then
10792 cat >>confdefs.h <<\_ACEOF
10793 #define TIME_WITH_SYS_TIME 1
10800 for ac_func in gettimeofday
10802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10803 echo "$as_me:$LINENO: checking for $ac_func" >&5
10804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10805 if eval "test \"\${$as_ac_var+set}\" = set"; then
10806 echo $ECHO_N "(cached) $ECHO_C" >&6
10808 cat >conftest.$ac_ext <<_ACEOF
10811 cat confdefs.h >>conftest.$ac_ext
10812 cat >>conftest.$ac_ext <<_ACEOF
10813 /* end confdefs.h. */
10814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10816 #define $ac_func innocuous_$ac_func
10818 /* System header to define __stub macros and hopefully few prototypes,
10819 which can conflict with char $ac_func (); below.
10820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10821 <limits.h> exists even on freestanding compilers. */
10824 # include <limits.h>
10826 # include <assert.h>
10831 /* Override any gcc2 internal prototype to avoid an error. */
10836 /* We use char because int might match the return type of a gcc2
10837 builtin and then its argument prototype would still apply. */
10839 /* The GNU C library defines this for functions which it implements
10840 to always fail with ENOSYS. Some functions are actually named
10841 something starting with __ and the normal name is an alias. */
10842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10845 char (*f) () = $ac_func;
10854 return f != $ac_func;
10859 rm -f conftest.$ac_objext conftest$ac_exeext
10860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10861 (eval $ac_link) 2>conftest.er1
10863 grep -v '^ *+' conftest.er1 >conftest.err
10865 cat conftest.err >&5
10866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10867 (exit $ac_status); } &&
10868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10870 (eval $ac_try) 2>&5
10872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10873 (exit $ac_status); }; } &&
10874 { ac_try='test -s conftest$ac_exeext'
10875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10876 (eval $ac_try) 2>&5
10878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10879 (exit $ac_status); }; }; then
10880 eval "$as_ac_var=yes"
10882 echo "$as_me: failed program was:" >&5
10883 sed 's/^/| /' conftest.$ac_ext >&5
10885 eval "$as_ac_var=no"
10887 rm -f conftest.err conftest.$ac_objext \
10888 conftest$ac_exeext conftest.$ac_ext
10890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10892 if test `eval echo '${'$as_ac_var'}'` = yes; then
10893 cat >>confdefs.h <<_ACEOF
10894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10900 if test "$ac_cv_func_gettimeofday" = yes; then
10901 echo "$as_me:$LINENO: checking for struct timezone" >&5
10902 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
10903 if test "${gfor_cv_struct_timezone+set}" = set; then
10904 echo $ECHO_N "(cached) $ECHO_C" >&6
10906 cat >conftest.$ac_ext <<_ACEOF
10909 cat confdefs.h >>conftest.$ac_ext
10910 cat >>conftest.$ac_ext <<_ACEOF
10911 /* end confdefs.h. */
10912 #include <sys/time.h>
10916 struct timezone tz;
10921 rm -f conftest.$ac_objext
10922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10923 (eval $ac_compile) 2>conftest.er1
10925 grep -v '^ *+' conftest.er1 >conftest.err
10927 cat conftest.err >&5
10928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10929 (exit $ac_status); } &&
10930 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10932 (eval $ac_try) 2>&5
10934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10935 (exit $ac_status); }; } &&
10936 { ac_try='test -s conftest.$ac_objext'
10937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10938 (eval $ac_try) 2>&5
10940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10941 (exit $ac_status); }; }; then
10942 gfor_cv_struct_timezone=yes
10944 echo "$as_me: failed program was:" >&5
10945 sed 's/^/| /' conftest.$ac_ext >&5
10947 gfor_cv_struct_timezone=no
10949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10951 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
10952 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
10953 if test $gfor_cv_struct_timezone = yes; then
10954 if test "$cross_compiling" = yes; then
10955 gfor_have_struct_timezone=yes
10957 cat >conftest.$ac_ext <<_ACEOF
10960 cat confdefs.h >>conftest.$ac_ext
10961 cat >>conftest.$ac_ext <<_ACEOF
10962 /* end confdefs.h. */
10964 #ifdef TIME_WITH_SYS_TIME
10965 #include <sys/time.h>
10968 #ifdef HAVE_SYS_TIME_H
10969 #include <sys/time.h>
10976 struct timeval time;
10977 struct timezone dummy;
10978 if (gettimeofday (&time, &dummy))
10984 rm -f conftest$ac_exeext
10985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10986 (eval $ac_link) 2>&5
10988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10989 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10991 (eval $ac_try) 2>&5
10993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10994 (exit $ac_status); }; }; then
10995 gfor_have_struct_timezone=yes
10997 echo "$as_me: program exited with status $ac_status" >&5
10998 echo "$as_me: failed program was:" >&5
10999 sed 's/^/| /' conftest.$ac_ext >&5
11001 ( exit $ac_status )
11002 gfor_have_struct_timezone=no
11004 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11006 if test $gfor_have_struct_timezone = yes; then
11008 cat >>confdefs.h <<\_ACEOF
11009 #define HAVE_TIMEZONE 1
11015 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
11016 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
11017 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11018 echo $ECHO_N "(cached) $ECHO_C" >&6
11020 cat >conftest.$ac_ext <<_ACEOF
11023 cat confdefs.h >>conftest.$ac_ext
11024 cat >>conftest.$ac_ext <<_ACEOF
11025 /* end confdefs.h. */
11027 #ifdef TIME_WITH_SYS_TIME
11028 #include <sys/time.h>
11031 #ifdef HAVE_SYS_TIME_H
11032 #include <sys/time.h>
11042 struct timeval time;
11043 #ifdef HAVE_TIMEZONE
11044 struct timezone dummy;
11045 #define DUMMY &dummy
11049 gettimeofday (&time, DUMMY);
11054 rm -f conftest.$ac_objext conftest$ac_exeext
11055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11056 (eval $ac_link) 2>conftest.er1
11058 grep -v '^ *+' conftest.er1 >conftest.err
11060 cat conftest.err >&5
11061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 (exit $ac_status); } &&
11063 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11065 (eval $ac_try) 2>&5
11067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068 (exit $ac_status); }; } &&
11069 { ac_try='test -s conftest$ac_exeext'
11070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11071 (eval $ac_try) 2>&5
11073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 (exit $ac_status); }; }; then
11075 emacs_cv_gettimeofday_two_arguments=yes
11077 echo "$as_me: failed program was:" >&5
11078 sed 's/^/| /' conftest.$ac_ext >&5
11080 emacs_cv_gettimeofday_two_arguments=no
11082 rm -f conftest.err conftest.$ac_objext \
11083 conftest$ac_exeext conftest.$ac_ext
11085 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
11086 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11087 if test $emacs_cv_gettimeofday_two_arguments = no; then
11089 cat >>confdefs.h <<\_ACEOF
11090 #define GETTIMEOFDAY_ONE_ARGUMENT 1
11096 # Attempt to assert that the target is of common type in case we don't
11097 # have C99 integer types at all.
11099 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
11100 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
11101 if test "${target_ilp32+set}" = set; then
11102 echo $ECHO_N "(cached) $ECHO_C" >&6
11105 save_CFLAGS="$CFLAGS"
11107 cat >conftest.$ac_ext <<_ACEOF
11110 cat confdefs.h >>conftest.$ac_ext
11111 cat >>conftest.$ac_ext <<_ACEOF
11112 /* end confdefs.h. */
11118 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
11121 undefined_function ();
11127 rm -f conftest.$ac_objext conftest$ac_exeext
11128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11129 (eval $ac_link) 2>conftest.er1
11131 grep -v '^ *+' conftest.er1 >conftest.err
11133 cat conftest.err >&5
11134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11135 (exit $ac_status); } &&
11136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11138 (eval $ac_try) 2>&5
11140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11141 (exit $ac_status); }; } &&
11142 { ac_try='test -s conftest$ac_exeext'
11143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11144 (eval $ac_try) 2>&5
11146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11147 (exit $ac_status); }; }; then
11150 echo "$as_me: failed program was:" >&5
11151 sed 's/^/| /' conftest.$ac_ext >&5
11155 rm -f conftest.err conftest.$ac_objext \
11156 conftest$ac_exeext conftest.$ac_ext
11157 CFLAGS="$save_CFLAGS"
11159 echo "$as_me:$LINENO: result: $target_ilp32" >&5
11160 echo "${ECHO_T}$target_ilp32" >&6
11161 if test $target_ilp32 = yes; then
11163 cat >>confdefs.h <<\_ACEOF
11164 #define TARGET_ILP32 1
11170 # Check out attribute support.
11172 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
11173 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
11174 if test "${have_attribute_visibility+set}" = set; then
11175 echo $ECHO_N "(cached) $ECHO_C" >&6
11178 save_CFLAGS="$CFLAGS"
11179 CFLAGS="$CFLAGS -Werror"
11180 cat >conftest.$ac_ext <<_ACEOF
11183 cat confdefs.h >>conftest.$ac_ext
11184 cat >>conftest.$ac_ext <<_ACEOF
11185 /* end confdefs.h. */
11186 void __attribute__((visibility("hidden"))) foo(void) { }
11195 rm -f conftest.$ac_objext
11196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11197 (eval $ac_compile) 2>conftest.er1
11199 grep -v '^ *+' conftest.er1 >conftest.err
11201 cat conftest.err >&5
11202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11203 (exit $ac_status); } &&
11204 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11206 (eval $ac_try) 2>&5
11208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11209 (exit $ac_status); }; } &&
11210 { ac_try='test -s conftest.$ac_objext'
11211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11212 (eval $ac_try) 2>&5
11214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11215 (exit $ac_status); }; }; then
11216 have_attribute_visibility=yes
11218 echo "$as_me: failed program was:" >&5
11219 sed 's/^/| /' conftest.$ac_ext >&5
11221 have_attribute_visibility=no
11223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11224 CFLAGS="$save_CFLAGS"
11226 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
11227 echo "${ECHO_T}$have_attribute_visibility" >&6
11228 if test $have_attribute_visibility = yes; then
11230 cat >>confdefs.h <<\_ACEOF
11231 #define HAVE_ATTRIBUTE_VISIBILITY 1
11236 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
11237 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
11238 if test "${have_attribute_dllexport+set}" = set; then
11239 echo $ECHO_N "(cached) $ECHO_C" >&6
11242 save_CFLAGS="$CFLAGS"
11243 CFLAGS="$CFLAGS -Werror"
11244 cat >conftest.$ac_ext <<_ACEOF
11247 cat confdefs.h >>conftest.$ac_ext
11248 cat >>conftest.$ac_ext <<_ACEOF
11249 /* end confdefs.h. */
11250 void __attribute__((dllexport)) foo(void) { }
11259 rm -f conftest.$ac_objext
11260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11261 (eval $ac_compile) 2>conftest.er1
11263 grep -v '^ *+' conftest.er1 >conftest.err
11265 cat conftest.err >&5
11266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11267 (exit $ac_status); } &&
11268 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11270 (eval $ac_try) 2>&5
11272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11273 (exit $ac_status); }; } &&
11274 { ac_try='test -s conftest.$ac_objext'
11275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11276 (eval $ac_try) 2>&5
11278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11279 (exit $ac_status); }; }; then
11280 have_attribute_dllexport=yes
11282 echo "$as_me: failed program was:" >&5
11283 sed 's/^/| /' conftest.$ac_ext >&5
11285 have_attribute_dllexport=no
11287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11288 CFLAGS="$save_CFLAGS"
11290 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
11291 echo "${ECHO_T}$have_attribute_dllexport" >&6
11292 if test $have_attribute_dllexport = yes; then
11294 cat >>confdefs.h <<\_ACEOF
11295 #define HAVE_ATTRIBUTE_DLLEXPORT 1
11300 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
11301 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
11302 if test "${have_attribute_alias+set}" = set; then
11303 echo $ECHO_N "(cached) $ECHO_C" >&6
11306 cat >conftest.$ac_ext <<_ACEOF
11309 cat confdefs.h >>conftest.$ac_ext
11310 cat >>conftest.$ac_ext <<_ACEOF
11311 /* end confdefs.h. */
11313 #define ULP STR1(__USER_LABEL_PREFIX__)
11314 #define STR1(x) STR2(x)
11317 extern void bar(void) __attribute__((alias(ULP "foo")));
11326 rm -f conftest.$ac_objext conftest$ac_exeext
11327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11328 (eval $ac_link) 2>conftest.er1
11330 grep -v '^ *+' conftest.er1 >conftest.err
11332 cat conftest.err >&5
11333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11334 (exit $ac_status); } &&
11335 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11337 (eval $ac_try) 2>&5
11339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11340 (exit $ac_status); }; } &&
11341 { ac_try='test -s conftest$ac_exeext'
11342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11343 (eval $ac_try) 2>&5
11345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11346 (exit $ac_status); }; }; then
11347 have_attribute_alias=yes
11349 echo "$as_me: failed program was:" >&5
11350 sed 's/^/| /' conftest.$ac_ext >&5
11352 have_attribute_alias=no
11354 rm -f conftest.err conftest.$ac_objext \
11355 conftest$ac_exeext conftest.$ac_ext
11357 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
11358 echo "${ECHO_T}$have_attribute_alias" >&6
11359 if test $have_attribute_alias = yes; then
11361 cat >>confdefs.h <<\_ACEOF
11362 #define HAVE_ATTRIBUTE_ALIAS 1
11367 cat >confcache <<\_ACEOF
11368 # This file is a shell script that caches the results of configure
11369 # tests run on this system so they can be shared between configure
11370 # scripts and configure runs, see configure's option --config-cache.
11371 # It is not useful on other systems. If it contains results you don't
11372 # want to keep, you may remove or edit it.
11374 # config.status only pays attention to the cache file if you give it
11375 # the --recheck option to rerun configure.
11377 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11378 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11379 # following values.
11383 # The following way of writing the cache mishandles newlines in values,
11384 # but we know of no workaround that is simple, portable, and efficient.
11385 # So, don't put newlines in cache variables' values.
11386 # Ultrix sh set writes to stderr and can't be redirected directly,
11387 # and sets the high bit in the cache file unless we assign to the vars.
11390 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11392 # `set' does not quote correctly, so add quotes (double-quote
11393 # substitution turns \\\\ into \\, and sed turns \\ into \).
11396 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11399 # `set' quotes correctly as required by POSIX, so do not add quotes.
11401 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11408 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11410 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11412 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11413 if test -w $cache_file; then
11414 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11415 cat confcache >$cache_file
11417 echo "not updating unwritable cache $cache_file"
11422 if test ${multilib} = yes; then
11423 multilib_arg="--enable-multilib"
11428 # Write our Makefile.
11429 ac_config_files="$ac_config_files Makefile"
11431 cat >confcache <<\_ACEOF
11432 # This file is a shell script that caches the results of configure
11433 # tests run on this system so they can be shared between configure
11434 # scripts and configure runs, see configure's option --config-cache.
11435 # It is not useful on other systems. If it contains results you don't
11436 # want to keep, you may remove or edit it.
11438 # config.status only pays attention to the cache file if you give it
11439 # the --recheck option to rerun configure.
11441 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11442 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11443 # following values.
11447 # The following way of writing the cache mishandles newlines in values,
11448 # but we know of no workaround that is simple, portable, and efficient.
11449 # So, don't put newlines in cache variables' values.
11450 # Ultrix sh set writes to stderr and can't be redirected directly,
11451 # and sets the high bit in the cache file unless we assign to the vars.
11454 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11456 # `set' does not quote correctly, so add quotes (double-quote
11457 # substitution turns \\\\ into \\, and sed turns \\ into \).
11460 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11463 # `set' quotes correctly as required by POSIX, so do not add quotes.
11465 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11472 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11474 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11476 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11477 if test -w $cache_file; then
11478 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11479 cat confcache >$cache_file
11481 echo "not updating unwritable cache $cache_file"
11486 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11487 # Let make expand exec_prefix.
11488 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11490 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11491 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11492 # trailing colons and then remove the whole line if VPATH becomes empty
11493 # (actually we leave an empty line to preserve line numbers).
11494 if test "x$srcdir" = x.; then
11495 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11496 s/:*\$(srcdir):*/:/;
11497 s/:*\${srcdir}:*/:/;
11499 s/^\([^=]*=[ ]*\):*/\1/;
11505 DEFS=-DHAVE_CONFIG_H
11509 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11510 # 1. Remove the extension, and $U if already installed.
11511 ac_i=`echo "$ac_i" |
11512 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11514 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
11515 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
11517 LIBOBJS=$ac_libobjs
11519 LTLIBOBJS=$ac_ltlibobjs
11522 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11523 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11524 Usually this means the macro was only invoked conditionally." >&5
11525 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11526 Usually this means the macro was only invoked conditionally." >&2;}
11527 { (exit 1); exit 1; }; }
11530 : ${CONFIG_STATUS=./config.status}
11531 ac_clean_files_save=$ac_clean_files
11532 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11533 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11534 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11535 cat >$CONFIG_STATUS <<_ACEOF
11537 # Generated by $as_me.
11538 # Run this file to recreate the current configuration.
11539 # Compiler output produced by configure, useful for debugging
11540 # configure, is in config.log if it exists.
11543 ac_cs_recheck=false
11545 SHELL=\${CONFIG_SHELL-$SHELL}
11548 cat >>$CONFIG_STATUS <<\_ACEOF
11549 ## --------------------- ##
11550 ## M4sh Initialization. ##
11551 ## --------------------- ##
11553 # Be Bourne compatible
11554 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11557 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11558 # is contrary to our usage. Disable this feature.
11559 alias -g '${1+"$@"}'='"$@"'
11560 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
11563 DUALCASE=1; export DUALCASE # for MKS sh
11565 # Support unset when possible.
11566 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11573 # Work around bugs in pre-3.0 UWIN ksh.
11574 $as_unset ENV MAIL MAILPATH
11581 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11582 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11583 LC_TELEPHONE LC_TIME
11585 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11586 eval $as_var=C; export $as_var
11592 # Required to use basename.
11593 if expr a : '\(a\)' >/dev/null 2>&1; then
11599 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
11600 as_basename=basename
11606 # Name of the executable.
11607 as_me=`$as_basename "$0" ||
11608 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11609 X"$0" : 'X\(//\)$' \| \
11610 X"$0" : 'X\(/\)$' \| \
11611 . : '\(.\)' 2>/dev/null ||
11613 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11614 /^X\/\(\/\/\)$/{ s//\1/; q; }
11615 /^X\/\(\/\).*/{ s//\1/; q; }
11619 # PATH needs CR, and LINENO needs CR and PATH.
11620 # Avoid depending upon Character Ranges.
11621 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11622 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11623 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11624 as_cr_digits='0123456789'
11625 as_cr_alnum=$as_cr_Letters$as_cr_digits
11627 # The user is always right.
11628 if test "${PATH_SEPARATOR+set}" != set; then
11629 echo "#! /bin/sh" >conf$$.sh
11630 echo "exit 0" >>conf$$.sh
11632 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11641 as_lineno_1=$LINENO
11642 as_lineno_2=$LINENO
11643 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11644 test "x$as_lineno_1" != "x$as_lineno_2" &&
11645 test "x$as_lineno_3" = "x$as_lineno_2" || {
11646 # Find who we are. Look in the path if we contain no path at all
11649 *[\\/]* ) as_myself=$0 ;;
11650 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11651 for as_dir in $PATH
11654 test -z "$as_dir" && as_dir=.
11655 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11660 # We did not find ourselves, most probably we were run as `sh COMMAND'
11661 # in which case we are not to be found in the path.
11662 if test "x$as_myself" = x; then
11665 if test ! -f "$as_myself"; then
11666 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11667 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11668 { (exit 1); exit 1; }; }
11670 case $CONFIG_SHELL in
11672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11673 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
11676 test -z "$as_dir" && as_dir=.
11677 for as_base in sh bash ksh sh5; do
11680 if ("$as_dir/$as_base" -c '
11681 as_lineno_1=$LINENO
11682 as_lineno_2=$LINENO
11683 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11684 test "x$as_lineno_1" != "x$as_lineno_2" &&
11685 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
11686 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
11687 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
11688 CONFIG_SHELL=$as_dir/$as_base
11689 export CONFIG_SHELL
11690 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11698 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11699 # uniformly replaced by the line number. The first 'sed' inserts a
11700 # line-number line before each line; the second 'sed' does the real
11701 # work. The second script uses 'N' to pair each line-number line
11702 # with the numbered line, and appends trailing '-' during
11703 # substitution so that $LINENO is not a special case at line end.
11704 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11705 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11706 sed '=' <$as_myself |
11711 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11714 s,^['$as_cr_digits']*\n,,
11715 ' >$as_me.lineno &&
11716 chmod +x $as_me.lineno ||
11717 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11718 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11719 { (exit 1); exit 1; }; }
11721 # Don't try to exec as it changes $[0], causing all sort of problems
11722 # (the dirname of $[0] is not the place where we might find the
11723 # original and so on. Autoconf is especially sensible to this).
11725 # Exit status is that of the last command.
11730 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11731 *c*,-n*) ECHO_N= ECHO_C='
11733 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
11734 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
11737 if expr a : '\(a\)' >/dev/null 2>&1; then
11743 rm -f conf$$ conf$$.exe conf$$.file
11745 if ln -s conf$$.file conf$$ 2>/dev/null; then
11746 # We could just check for DJGPP; but this test a) works b) is more generic
11747 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11748 if test -f conf$$.exe; then
11749 # Don't use ln at all; we don't have any links
11754 elif ln conf$$.file conf$$ 2>/dev/null; then
11759 rm -f conf$$ conf$$.exe conf$$.file
11761 if mkdir -p . 2>/dev/null; then
11764 test -d ./-p && rmdir ./-p
11768 as_executable_p="test -f"
11770 # Sed expression to map a string onto a valid CPP name.
11771 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11773 # Sed expression to map a string onto a valid variable name.
11774 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11778 # We need space, tab and new line, in precisely that order.
11788 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11789 # report actual input values of CONFIG_FILES etc. instead of their
11790 # values after options handling. Logging --version etc. is OK.
11794 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11795 ## Running $as_me. ##
11800 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
11801 generated by GNU Autoconf 2.59. Invocation command line was
11803 CONFIG_FILES = $CONFIG_FILES
11804 CONFIG_HEADERS = $CONFIG_HEADERS
11805 CONFIG_LINKS = $CONFIG_LINKS
11806 CONFIG_COMMANDS = $CONFIG_COMMANDS
11810 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11814 # Files that config.status was made for.
11815 if test -n "$ac_config_files"; then
11816 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11819 if test -n "$ac_config_headers"; then
11820 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11823 if test -n "$ac_config_links"; then
11824 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11827 if test -n "$ac_config_commands"; then
11828 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11831 cat >>$CONFIG_STATUS <<\_ACEOF
11834 \`$as_me' instantiates files from templates according to the
11835 current configuration.
11837 Usage: $0 [OPTIONS] [FILE]...
11839 -h, --help print this help, then exit
11840 -V, --version print version number, then exit
11841 -q, --quiet do not print progress messages
11842 -d, --debug don't remove temporary files
11843 --recheck update $as_me by reconfiguring in the same conditions
11844 --file=FILE[:TEMPLATE]
11845 instantiate the configuration file FILE
11846 --header=FILE[:TEMPLATE]
11847 instantiate the configuration header FILE
11849 Configuration files:
11852 Configuration headers:
11855 Configuration commands:
11858 Report bugs to <bug-autoconf@gnu.org>."
11861 cat >>$CONFIG_STATUS <<_ACEOF
11863 GNU Fortran Runtime Library config.status 0.2
11864 configured by $0, generated by GNU Autoconf 2.59,
11865 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11867 Copyright (C) 2003 Free Software Foundation, Inc.
11868 This config.status script is free software; the Free Software Foundation
11869 gives unlimited permission to copy, distribute and modify it."
11874 cat >>$CONFIG_STATUS <<\_ACEOF
11875 # If no file are specified by the user, then we need to provide default
11876 # value. By we need to know if files were specified by the user.
11882 ac_option=`expr "x$1" : 'x\([^=]*\)='`
11883 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
11891 *) # This is not an option, so the user has probably given explicit
11894 ac_need_defaults=false;;
11898 # Handling of the options.
11900 cat >>$CONFIG_STATUS <<\_ACEOF
11901 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11903 --version | --vers* | -V )
11904 echo "$ac_cs_version"; exit 0 ;;
11906 # Conflict between --help and --header
11907 { { echo "$as_me:$LINENO: error: ambiguous option: $1
11908 Try \`$0 --help' for more information." >&5
11909 echo "$as_me: error: ambiguous option: $1
11910 Try \`$0 --help' for more information." >&2;}
11911 { (exit 1); exit 1; }; };;
11912 --help | --hel | -h )
11913 echo "$ac_cs_usage"; exit 0 ;;
11914 --debug | --d* | -d )
11916 --file | --fil | --fi | --f )
11918 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
11919 ac_need_defaults=false;;
11920 --header | --heade | --head | --hea )
11922 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
11923 ac_need_defaults=false;;
11924 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11925 | -silent | --silent | --silen | --sile | --sil | --si | --s)
11928 # This is an error.
11929 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11930 Try \`$0 --help' for more information." >&5
11931 echo "$as_me: error: unrecognized option: $1
11932 Try \`$0 --help' for more information." >&2;}
11933 { (exit 1); exit 1; }; } ;;
11935 *) ac_config_targets="$ac_config_targets $1" ;;
11941 ac_configure_extra_args=
11943 if $ac_cs_silent; then
11945 ac_configure_extra_args="$ac_configure_extra_args --silent"
11949 cat >>$CONFIG_STATUS <<_ACEOF
11950 if \$ac_cs_recheck; then
11951 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11952 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11957 cat >>$CONFIG_STATUS <<_ACEOF
11959 # INIT-COMMANDS section.
11966 with_multisubdir="$with_multisubdir"
11967 with_multisrctop="$with_multisrctop"
11968 with_target_subdir="$with_target_subdir"
11969 ac_configure_args="${multilib_arg} ${ac_configure_args}"
11970 multi_basedir="$multi_basedir"
11971 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
11978 cat >>$CONFIG_STATUS <<\_ACEOF
11979 for ac_config_target in $ac_config_targets
11981 case "$ac_config_target" in
11982 # Handling of arguments.
11983 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11984 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
11985 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
11986 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11987 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11988 { (exit 1); exit 1; }; };;
11992 # If the user did not use the arguments to specify the items to instantiate,
11993 # then the envvar interface is used. Set only those that are not.
11994 # We use the long form for the default assignment because of an extremely
11995 # bizarre bug on SunOS 4.1.3.
11996 if $ac_need_defaults; then
11997 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11998 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11999 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12002 # Have a temporary directory for convenience. Make it in the build tree
12003 # simply because there is no reason to put it here, and in addition,
12004 # creating and moving files from /tmp can sometimes cause problems.
12005 # Create a temporary directory, and hook for its removal unless debugging.
12008 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12009 trap '{ (exit 1); exit 1; }' 1 2 13 15
12012 # Create a (secure) tmp directory for tmp files.
12015 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12016 test -n "$tmp" && test -d "$tmp"
12019 tmp=./confstat$$-$RANDOM
12020 (umask 077 && mkdir $tmp)
12023 echo "$me: cannot create a temporary directory in ." >&2
12024 { (exit 1); exit 1; }
12029 cat >>$CONFIG_STATUS <<_ACEOF
12032 # CONFIG_FILES section.
12035 # No need to generate the scripts if there are no CONFIG_FILES.
12036 # This happens for instance when ./config.status config.h
12037 if test -n "\$CONFIG_FILES"; then
12038 # Protect against being on the right side of a sed subst in config.status.
12039 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12040 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12041 s,@SHELL@,$SHELL,;t t
12042 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12043 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12044 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12045 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12046 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12047 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12048 s,@exec_prefix@,$exec_prefix,;t t
12049 s,@prefix@,$prefix,;t t
12050 s,@program_transform_name@,$program_transform_name,;t t
12051 s,@bindir@,$bindir,;t t
12052 s,@sbindir@,$sbindir,;t t
12053 s,@libexecdir@,$libexecdir,;t t
12054 s,@datadir@,$datadir,;t t
12055 s,@sysconfdir@,$sysconfdir,;t t
12056 s,@sharedstatedir@,$sharedstatedir,;t t
12057 s,@localstatedir@,$localstatedir,;t t
12058 s,@libdir@,$libdir,;t t
12059 s,@includedir@,$includedir,;t t
12060 s,@oldincludedir@,$oldincludedir,;t t
12061 s,@infodir@,$infodir,;t t
12062 s,@mandir@,$mandir,;t t
12063 s,@build_alias@,$build_alias,;t t
12064 s,@host_alias@,$host_alias,;t t
12065 s,@target_alias@,$target_alias,;t t
12066 s,@DEFS@,$DEFS,;t t
12067 s,@ECHO_C@,$ECHO_C,;t t
12068 s,@ECHO_N@,$ECHO_N,;t t
12069 s,@ECHO_T@,$ECHO_T,;t t
12070 s,@LIBS@,$LIBS,;t t
12071 s,@build@,$build,;t t
12072 s,@build_cpu@,$build_cpu,;t t
12073 s,@build_vendor@,$build_vendor,;t t
12074 s,@build_os@,$build_os,;t t
12075 s,@host@,$host,;t t
12076 s,@host_cpu@,$host_cpu,;t t
12077 s,@host_vendor@,$host_vendor,;t t
12078 s,@host_os@,$host_os,;t t
12079 s,@target@,$target,;t t
12080 s,@target_cpu@,$target_cpu,;t t
12081 s,@target_vendor@,$target_vendor,;t t
12082 s,@target_os@,$target_os,;t t
12083 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12084 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12085 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12086 s,@CYGPATH_W@,$CYGPATH_W,;t t
12087 s,@PACKAGE@,$PACKAGE,;t t
12088 s,@VERSION@,$VERSION,;t t
12089 s,@ACLOCAL@,$ACLOCAL,;t t
12090 s,@AUTOCONF@,$AUTOCONF,;t t
12091 s,@AUTOMAKE@,$AUTOMAKE,;t t
12092 s,@AUTOHEADER@,$AUTOHEADER,;t t
12093 s,@MAKEINFO@,$MAKEINFO,;t t
12094 s,@install_sh@,$install_sh,;t t
12095 s,@STRIP@,$STRIP,;t t
12096 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12097 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
12098 s,@mkdir_p@,$mkdir_p,;t t
12100 s,@SET_MAKE@,$SET_MAKE,;t t
12101 s,@am__leading_dot@,$am__leading_dot,;t t
12102 s,@AMTAR@,$AMTAR,;t t
12103 s,@am__tar@,$am__tar,;t t
12104 s,@am__untar@,$am__untar,;t t
12105 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12106 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12107 s,@MAINT@,$MAINT,;t t
12108 s,@multi_basedir@,$multi_basedir,;t t
12109 s,@toolexecdir@,$toolexecdir,;t t
12110 s,@toolexeclibdir@,$toolexeclibdir,;t t
12112 s,@ac_ct_CC@,$ac_ct_CC,;t t
12113 s,@EXEEXT@,$EXEEXT,;t t
12114 s,@OBJEXT@,$OBJEXT,;t t
12115 s,@CFLAGS@,$CFLAGS,;t t
12117 s,@ac_ct_AS@,$ac_ct_AS,;t t
12119 s,@ac_ct_AR@,$ac_ct_AR,;t t
12120 s,@RANLIB@,$RANLIB,;t t
12121 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12122 s,@LN_S@,$LN_S,;t t
12123 s,@LIBTOOL@,$LIBTOOL,;t t
12124 s,@enable_shared@,$enable_shared,;t t
12125 s,@enable_static@,$enable_static,;t t
12127 s,@FCFLAGS@,$FCFLAGS,;t t
12128 s,@LDFLAGS@,$LDFLAGS,;t t
12129 s,@ac_ct_FC@,$ac_ct_FC,;t t
12130 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
12132 s,@CPPFLAGS@,$CPPFLAGS,;t t
12133 s,@EGREP@,$EGREP,;t t
12134 s,@MATH_OBJ@,$MATH_OBJ,;t t
12135 s,@LIBOBJS@,$LIBOBJS,;t t
12136 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12141 cat >>$CONFIG_STATUS <<\_ACEOF
12142 # Split the substitutions into bite-sized pieces for seds with
12143 # small command number limits, like on Digital OSF/1 and HP-UX.
12144 ac_max_sed_lines=48
12145 ac_sed_frag=1 # Number of current file.
12146 ac_beg=1 # First line for current file.
12147 ac_end=$ac_max_sed_lines # Line after last line for current file.
12150 while $ac_more_lines; do
12151 if test $ac_beg -gt 1; then
12152 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12154 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12156 if test ! -s $tmp/subs.frag; then
12157 ac_more_lines=false
12159 # The purpose of the label and of the branching condition is to
12160 # speed up the sed processing (if there are no `@' at all, there
12161 # is no need to browse any of the substitutions).
12162 # These are the two extra sed commands mentioned above.
12164 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
12165 if test -z "$ac_sed_cmds"; then
12166 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
12168 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12170 ac_sed_frag=`expr $ac_sed_frag + 1`
12172 ac_end=`expr $ac_end + $ac_max_sed_lines`
12175 if test -z "$ac_sed_cmds"; then
12178 fi # test -n "$CONFIG_FILES"
12181 cat >>$CONFIG_STATUS <<\_ACEOF
12182 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
12183 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12185 - | *:- | *:-:* ) # input from stdin
12187 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12188 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12189 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12190 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12191 * ) ac_file_in=$ac_file.in ;;
12194 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12195 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12196 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12197 X"$ac_file" : 'X\(//\)[^/]' \| \
12198 X"$ac_file" : 'X\(//\)$' \| \
12199 X"$ac_file" : 'X\(/\)' \| \
12200 . : '\(.\)' 2>/dev/null ||
12202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12203 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12204 /^X\(\/\/\)$/{ s//\1/; q; }
12205 /^X\(\/\).*/{ s//\1/; q; }
12207 { if $as_mkdir_p; then
12212 while test ! -d "$as_dir"; do
12213 as_dirs="$as_dir $as_dirs"
12214 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12215 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12216 X"$as_dir" : 'X\(//\)[^/]' \| \
12217 X"$as_dir" : 'X\(//\)$' \| \
12218 X"$as_dir" : 'X\(/\)' \| \
12219 . : '\(.\)' 2>/dev/null ||
12221 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12222 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12223 /^X\(\/\/\)$/{ s//\1/; q; }
12224 /^X\(\/\).*/{ s//\1/; q; }
12227 test ! -n "$as_dirs" || mkdir $as_dirs
12228 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12229 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12230 { (exit 1); exit 1; }; }; }
12234 if test "$ac_dir" != .; then
12235 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12236 # A "../" for each directory in $ac_dir_suffix.
12237 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12239 ac_dir_suffix= ac_top_builddir=
12243 .) # No --srcdir option. We are building in place.
12245 if test -z "$ac_top_builddir"; then
12248 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12250 [\\/]* | ?:[\\/]* ) # Absolute path.
12251 ac_srcdir=$srcdir$ac_dir_suffix;
12252 ac_top_srcdir=$srcdir ;;
12253 *) # Relative path.
12254 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12255 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12258 # Do not use `cd foo && pwd` to compute absolute paths, because
12259 # the directories may not exist.
12261 .) ac_abs_builddir="$ac_dir";;
12264 .) ac_abs_builddir=`pwd`;;
12265 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12266 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12269 case $ac_abs_builddir in
12270 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12272 case ${ac_top_builddir}. in
12273 .) ac_abs_top_builddir=$ac_abs_builddir;;
12274 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12275 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12278 case $ac_abs_builddir in
12279 .) ac_abs_srcdir=$ac_srcdir;;
12282 .) ac_abs_srcdir=$ac_abs_builddir;;
12283 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12284 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12287 case $ac_abs_builddir in
12288 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12290 case $ac_top_srcdir in
12291 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12292 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12293 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12299 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12300 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
12303 # Let's still pretend it is `configure' which instantiates (i.e., don't
12304 # use $as_me), people would be surprised to read:
12305 # /* config.h. Generated by config.status. */
12306 if test x"$ac_file" = x-; then
12309 configure_input="$ac_file. "
12311 configure_input=$configure_input"Generated from `echo $ac_file_in |
12312 sed 's,.*/,,'` by configure."
12314 # First look for the input files in the build tree, otherwise in the
12316 ac_file_inputs=`IFS=:
12317 for f in $ac_file_in; do
12319 -) echo $tmp/stdin ;;
12321 # Absolute (can't be DOS-style, as IFS=:)
12322 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12323 echo "$as_me: error: cannot find input file: $f" >&2;}
12324 { (exit 1); exit 1; }; }
12327 if test -f "$f"; then
12330 elif test -f "$srcdir/$f"; then
12335 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12336 echo "$as_me: error: cannot find input file: $f" >&2;}
12337 { (exit 1); exit 1; }; }
12340 done` || { (exit 1); exit 1; }
12342 if test x"$ac_file" != x-; then
12343 { echo "$as_me:$LINENO: creating $ac_file" >&5
12344 echo "$as_me: creating $ac_file" >&6;}
12348 cat >>$CONFIG_STATUS <<_ACEOF
12352 cat >>$CONFIG_STATUS <<\_ACEOF
12354 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12355 s,@configure_input@,$configure_input,;t t
12356 s,@srcdir@,$ac_srcdir,;t t
12357 s,@abs_srcdir@,$ac_abs_srcdir,;t t
12358 s,@top_srcdir@,$ac_top_srcdir,;t t
12359 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
12360 s,@builddir@,$ac_builddir,;t t
12361 s,@abs_builddir@,$ac_abs_builddir,;t t
12362 s,@top_builddir@,$ac_top_builddir,;t t
12363 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
12364 s,@INSTALL@,$ac_INSTALL,;t t
12365 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12367 if test x"$ac_file" != x-; then
12368 mv $tmp/out $ac_file
12376 cat >>$CONFIG_STATUS <<\_ACEOF
12379 # CONFIG_HEADER section.
12382 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12383 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12385 # ac_d sets the value in "#define NAME VALUE" lines.
12386 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12387 ac_dB='[ ].*$,\1#\2'
12390 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12391 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12392 ac_uB='$,\1#\2define\3'
12396 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
12397 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12399 - | *:- | *:-:* ) # input from stdin
12401 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12402 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12403 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12404 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12405 * ) ac_file_in=$ac_file.in ;;
12408 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
12409 echo "$as_me: creating $ac_file" >&6;}
12411 # First look for the input files in the build tree, otherwise in the
12413 ac_file_inputs=`IFS=:
12414 for f in $ac_file_in; do
12416 -) echo $tmp/stdin ;;
12418 # Absolute (can't be DOS-style, as IFS=:)
12419 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12420 echo "$as_me: error: cannot find input file: $f" >&2;}
12421 { (exit 1); exit 1; }; }
12422 # Do quote $f, to prevent DOS paths from being IFS'd.
12425 if test -f "$f"; then
12428 elif test -f "$srcdir/$f"; then
12433 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12434 echo "$as_me: error: cannot find input file: $f" >&2;}
12435 { (exit 1); exit 1; }; }
12438 done` || { (exit 1); exit 1; }
12439 # Remove the trailing spaces.
12440 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12444 # Transform confdefs.h into two sed scripts, `conftest.defines' and
12445 # `conftest.undefs', that substitutes the proper values into
12446 # config.h.in to produce config.h. The first handles `#define'
12447 # templates, and the second `#undef' templates.
12448 # And first: Protect against being on the right side of a sed subst in
12449 # config.status. Protect against being in an unquoted here document
12450 # in config.status.
12451 rm -f conftest.defines conftest.undefs
12452 # Using a here document instead of a string reduces the quoting nightmare.
12453 # Putting comments in sed scripts is not portable.
12455 # `end' is used to avoid that the second main sed command (meant for
12456 # 0-ary CPP macros) applies to n-ary macro definitions.
12457 # See the Autoconf documentation for `clear'.
12458 cat >confdef2sed.sed <<\_ACEOF
12463 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12465 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12468 # If some macros were called several times there might be several times
12469 # the same #defines, which is useless. Nevertheless, we may not want to
12470 # sort them, since we want the *last* AC-DEFINE to be honored.
12471 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12472 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12473 rm -f confdef2sed.sed
12475 # This sed command replaces #undef with comments. This is necessary, for
12476 # example, in the case of _POSIX_SOURCE, which is predefined and required
12477 # on some systems where configure will not decide to define it.
12478 cat >>conftest.undefs <<\_ACEOF
12479 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12482 # Break up conftest.defines because some shells have a limit on the size
12483 # of here documents, and old seds have small limits too (100 cmds).
12484 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12485 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12486 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12487 echo ' :' >>$CONFIG_STATUS
12488 rm -f conftest.tail
12489 while grep . conftest.defines >/dev/null
12491 # Write a limited-size here document to $tmp/defines.sed.
12492 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12493 # Speed up: don't consider the non `#define' lines.
12494 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12495 # Work around the forget-to-reset-the-flag bug.
12496 echo 't clr' >>$CONFIG_STATUS
12497 echo ': clr' >>$CONFIG_STATUS
12498 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
12500 sed -f $tmp/defines.sed $tmp/in >$tmp/out
12502 mv $tmp/out $tmp/in
12504 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
12505 rm -f conftest.defines
12506 mv conftest.tail conftest.defines
12508 rm -f conftest.defines
12509 echo ' fi # grep' >>$CONFIG_STATUS
12510 echo >>$CONFIG_STATUS
12512 # Break up conftest.undefs because some shells have a limit on the size
12513 # of here documents, and old seds have small limits too (100 cmds).
12514 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12515 rm -f conftest.tail
12516 while grep . conftest.undefs >/dev/null
12518 # Write a limited-size here document to $tmp/undefs.sed.
12519 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12520 # Speed up: don't consider the non `#undef'
12521 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12522 # Work around the forget-to-reset-the-flag bug.
12523 echo 't clr' >>$CONFIG_STATUS
12524 echo ': clr' >>$CONFIG_STATUS
12525 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12527 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12529 mv $tmp/out $tmp/in
12531 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12532 rm -f conftest.undefs
12533 mv conftest.tail conftest.undefs
12535 rm -f conftest.undefs
12537 cat >>$CONFIG_STATUS <<\_ACEOF
12538 # Let's still pretend it is `configure' which instantiates (i.e., don't
12539 # use $as_me), people would be surprised to read:
12540 # /* config.h. Generated by config.status. */
12541 if test x"$ac_file" = x-; then
12542 echo "/* Generated by configure. */" >$tmp/config.h
12544 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12546 cat $tmp/in >>$tmp/config.h
12548 if test x"$ac_file" != x-; then
12549 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
12550 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12551 echo "$as_me: $ac_file is unchanged" >&6;}
12553 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12554 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12555 X"$ac_file" : 'X\(//\)[^/]' \| \
12556 X"$ac_file" : 'X\(//\)$' \| \
12557 X"$ac_file" : 'X\(/\)' \| \
12558 . : '\(.\)' 2>/dev/null ||
12560 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12561 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12562 /^X\(\/\/\)$/{ s//\1/; q; }
12563 /^X\(\/\).*/{ s//\1/; q; }
12565 { if $as_mkdir_p; then
12570 while test ! -d "$as_dir"; do
12571 as_dirs="$as_dir $as_dirs"
12572 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12573 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12574 X"$as_dir" : 'X\(//\)[^/]' \| \
12575 X"$as_dir" : 'X\(//\)$' \| \
12576 X"$as_dir" : 'X\(/\)' \| \
12577 . : '\(.\)' 2>/dev/null ||
12579 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12580 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12581 /^X\(\/\/\)$/{ s//\1/; q; }
12582 /^X\(\/\).*/{ s//\1/; q; }
12585 test ! -n "$as_dirs" || mkdir $as_dirs
12586 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12587 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12588 { (exit 1); exit 1; }; }; }
12591 mv $tmp/config.h $ac_file
12595 rm -f $tmp/config.h
12597 # Compute $ac_file's index in $config_headers.
12599 for _am_header in $config_headers :; do
12600 case $_am_header in
12601 $ac_file | $ac_file:* )
12604 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12607 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
12608 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12609 X$ac_file : 'X\(//\)[^/]' \| \
12610 X$ac_file : 'X\(//\)$' \| \
12611 X$ac_file : 'X\(/\)' \| \
12612 . : '\(.\)' 2>/dev/null ||
12614 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12615 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12616 /^X\(\/\/\)$/{ s//\1/; q; }
12617 /^X\(\/\).*/{ s//\1/; q; }
12618 s/.*/./; q'`/stamp-h$_am_stamp_count
12621 cat >>$CONFIG_STATUS <<\_ACEOF
12624 # CONFIG_COMMANDS section.
12626 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
12627 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
12628 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
12629 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
12630 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12631 X"$ac_dest" : 'X\(//\)[^/]' \| \
12632 X"$ac_dest" : 'X\(//\)$' \| \
12633 X"$ac_dest" : 'X\(/\)' \| \
12634 . : '\(.\)' 2>/dev/null ||
12636 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12637 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12638 /^X\(\/\/\)$/{ s//\1/; q; }
12639 /^X\(\/\).*/{ s//\1/; q; }
12641 { if $as_mkdir_p; then
12646 while test ! -d "$as_dir"; do
12647 as_dirs="$as_dir $as_dirs"
12648 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12649 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12650 X"$as_dir" : 'X\(//\)[^/]' \| \
12651 X"$as_dir" : 'X\(//\)$' \| \
12652 X"$as_dir" : 'X\(/\)' \| \
12653 . : '\(.\)' 2>/dev/null ||
12655 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12656 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12657 /^X\(\/\/\)$/{ s//\1/; q; }
12658 /^X\(\/\).*/{ s//\1/; q; }
12661 test ! -n "$as_dirs" || mkdir $as_dirs
12662 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12663 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12664 { (exit 1); exit 1; }; }; }
12668 if test "$ac_dir" != .; then
12669 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12670 # A "../" for each directory in $ac_dir_suffix.
12671 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12673 ac_dir_suffix= ac_top_builddir=
12677 .) # No --srcdir option. We are building in place.
12679 if test -z "$ac_top_builddir"; then
12682 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12684 [\\/]* | ?:[\\/]* ) # Absolute path.
12685 ac_srcdir=$srcdir$ac_dir_suffix;
12686 ac_top_srcdir=$srcdir ;;
12687 *) # Relative path.
12688 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12689 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12692 # Do not use `cd foo && pwd` to compute absolute paths, because
12693 # the directories may not exist.
12695 .) ac_abs_builddir="$ac_dir";;
12698 .) ac_abs_builddir=`pwd`;;
12699 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12700 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12703 case $ac_abs_builddir in
12704 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12706 case ${ac_top_builddir}. in
12707 .) ac_abs_top_builddir=$ac_abs_builddir;;
12708 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12709 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12712 case $ac_abs_builddir in
12713 .) ac_abs_srcdir=$ac_srcdir;;
12716 .) ac_abs_srcdir=$ac_abs_builddir;;
12717 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12718 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12721 case $ac_abs_builddir in
12722 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12724 case $ac_top_srcdir in
12725 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12726 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12727 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12732 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12733 echo "$as_me: executing $ac_dest commands" >&6;}
12736 # Only add multilib support code if we just rebuilt the top-level
12738 case " $CONFIG_FILES " in
12740 ac_file=Makefile . ${multi_basedir}/config-ml.in
12747 cat >>$CONFIG_STATUS <<\_ACEOF
12749 { (exit 0); exit 0; }
12751 chmod +x $CONFIG_STATUS
12752 ac_clean_files=$ac_clean_files_save
12755 # configure is writing to config.log, and then calls config.status.
12756 # config.status does its own redirection, appending to config.log.
12757 # Unfortunately, on DOS this fails, as config.log is still kept open
12758 # by configure, so config.status won't be able to write to it; its
12759 # output is simply discarded. So we exec the FD to /dev/null,
12760 # effectively closing config.log, so it can be properly (re)opened and
12761 # appended to by config.status. When coming back to configure, we
12762 # need to make the FD available again.
12763 if test "$no_create" != yes; then
12765 ac_config_status_args=
12766 test "$silent" = yes &&
12767 ac_config_status_args="$ac_config_status_args --quiet"
12769 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12771 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12772 # would make configure fail if this is the last instruction.
12773 $ac_cs_success || { (exit 1); exit 1; }