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 AM_FCFLAGS AM_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"
2572 || test ! -s conftest.err'
2573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577 (exit $ac_status); }; } &&
2578 { ac_try='test -s conftest.$ac_objext'
2579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583 (exit $ac_status); }; }; then
2586 echo "$as_me: failed program was:" >&5
2587 sed 's/^/| /' conftest.$ac_ext >&5
2591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2592 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2595 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2596 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2597 GCC=`test $ac_compiler_gnu = yes && echo yes`
2598 ac_test_CFLAGS=${CFLAGS+set}
2599 ac_save_CFLAGS=$CFLAGS
2601 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2602 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2603 if test "${ac_cv_prog_cc_g+set}" = set; then
2604 echo $ECHO_N "(cached) $ECHO_C" >&6
2606 cat >conftest.$ac_ext <<_ACEOF
2609 cat confdefs.h >>conftest.$ac_ext
2610 cat >>conftest.$ac_ext <<_ACEOF
2611 /* end confdefs.h. */
2621 rm -f conftest.$ac_objext
2622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2623 (eval $ac_compile) 2>conftest.er1
2625 grep -v '^ *+' conftest.er1 >conftest.err
2627 cat conftest.err >&5
2628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629 (exit $ac_status); } &&
2630 { ac_try='test -z "$ac_c_werror_flag"
2631 || test ! -s conftest.err'
2632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); }; } &&
2637 { ac_try='test -s conftest.$ac_objext'
2638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; }; then
2645 echo "$as_me: failed program was:" >&5
2646 sed 's/^/| /' conftest.$ac_ext >&5
2650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2652 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2653 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2654 if test "$ac_test_CFLAGS" = set; then
2655 CFLAGS=$ac_save_CFLAGS
2656 elif test $ac_cv_prog_cc_g = yes; then
2657 if test "$GCC" = yes; then
2663 if test "$GCC" = yes; then
2669 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2670 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2671 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2672 echo $ECHO_N "(cached) $ECHO_C" >&6
2674 ac_cv_prog_cc_stdc=no
2676 cat >conftest.$ac_ext <<_ACEOF
2679 cat confdefs.h >>conftest.$ac_ext
2680 cat >>conftest.$ac_ext <<_ACEOF
2681 /* end confdefs.h. */
2684 #include <sys/types.h>
2685 #include <sys/stat.h>
2686 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2687 struct buf { int x; };
2688 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2689 static char *e (p, i)
2695 static char *f (char * (*g) (char **, int), char **p, ...)
2700 s = g (p, va_arg (v,int));
2705 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2706 function prototypes and stuff, but not '\xHH' hex character constants.
2707 These don't provoke an error unfortunately, instead are silently treated
2708 as 'x'. The following induces an error, until -std1 is added to get
2709 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2710 array size at least. It's necessary to write '\x00'==0 to get something
2711 that's true only with -std1. */
2712 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2714 int test (int i, double x);
2715 struct s1 {int (*f) (int a);};
2716 struct s2 {int (*f) (double a);};
2717 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2723 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2728 # Don't try gcc -ansi; that turns off useful extensions and
2729 # breaks some systems' header files.
2730 # AIX -qlanglvl=ansi
2731 # Ultrix and OSF/1 -std1
2732 # HP-UX 10.20 and later -Ae
2733 # HP-UX older versions -Aa -D_HPUX_SOURCE
2734 # SVR4 -Xc -D__EXTENSIONS__
2735 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2737 CC="$ac_save_CC $ac_arg"
2738 rm -f conftest.$ac_objext
2739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2740 (eval $ac_compile) 2>conftest.er1
2742 grep -v '^ *+' conftest.er1 >conftest.err
2744 cat conftest.err >&5
2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746 (exit $ac_status); } &&
2747 { ac_try='test -z "$ac_c_werror_flag"
2748 || test ! -s conftest.err'
2749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); }; } &&
2754 { ac_try='test -s conftest.$ac_objext'
2755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); }; }; then
2760 ac_cv_prog_cc_stdc=$ac_arg
2763 echo "$as_me: failed program was:" >&5
2764 sed 's/^/| /' conftest.$ac_ext >&5
2767 rm -f conftest.err conftest.$ac_objext
2769 rm -f conftest.$ac_ext conftest.$ac_objext
2774 case "x$ac_cv_prog_cc_stdc" in
2776 echo "$as_me:$LINENO: result: none needed" >&5
2777 echo "${ECHO_T}none needed" >&6 ;;
2779 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2780 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2781 CC="$CC $ac_cv_prog_cc_stdc" ;;
2784 # Some people use a C++ compiler to compile C. Since we use `exit',
2785 # in C++ we need to declare it. In case someone uses the same compiler
2786 # for both compiling C and C++ we need to have the C++ compiler decide
2787 # the declaration of exit, since it's the most demanding environment.
2788 cat >conftest.$ac_ext <<_ACEOF
2793 rm -f conftest.$ac_objext
2794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2795 (eval $ac_compile) 2>conftest.er1
2797 grep -v '^ *+' conftest.er1 >conftest.err
2799 cat conftest.err >&5
2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); } &&
2802 { ac_try='test -z "$ac_c_werror_flag"
2803 || test ! -s conftest.err'
2804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808 (exit $ac_status); }; } &&
2809 { ac_try='test -s conftest.$ac_objext'
2810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814 (exit $ac_status); }; }; then
2815 for ac_declaration in \
2817 'extern "C" void std::exit (int) throw (); using std::exit;' \
2818 'extern "C" void std::exit (int); using std::exit;' \
2819 'extern "C" void exit (int) throw ();' \
2820 'extern "C" void exit (int);' \
2823 cat >conftest.$ac_ext <<_ACEOF
2826 cat confdefs.h >>conftest.$ac_ext
2827 cat >>conftest.$ac_ext <<_ACEOF
2828 /* end confdefs.h. */
2839 rm -f conftest.$ac_objext
2840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2841 (eval $ac_compile) 2>conftest.er1
2843 grep -v '^ *+' conftest.er1 >conftest.err
2845 cat conftest.err >&5
2846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); } &&
2848 { ac_try='test -z "$ac_c_werror_flag"
2849 || test ! -s conftest.err'
2850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2854 (exit $ac_status); }; } &&
2855 { ac_try='test -s conftest.$ac_objext'
2856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860 (exit $ac_status); }; }; then
2863 echo "$as_me: failed program was:" >&5
2864 sed 's/^/| /' conftest.$ac_ext >&5
2868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2869 cat >conftest.$ac_ext <<_ACEOF
2872 cat confdefs.h >>conftest.$ac_ext
2873 cat >>conftest.$ac_ext <<_ACEOF
2874 /* end confdefs.h. */
2884 rm -f conftest.$ac_objext
2885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2886 (eval $ac_compile) 2>conftest.er1
2888 grep -v '^ *+' conftest.er1 >conftest.err
2890 cat conftest.err >&5
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); } &&
2893 { ac_try='test -z "$ac_c_werror_flag"
2894 || test ! -s conftest.err'
2895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899 (exit $ac_status); }; } &&
2900 { ac_try='test -s conftest.$ac_objext'
2901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905 (exit $ac_status); }; }; then
2908 echo "$as_me: failed program was:" >&5
2909 sed 's/^/| /' conftest.$ac_ext >&5
2912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2915 if test -n "$ac_declaration"; then
2916 echo '#ifdef __cplusplus' >>confdefs.h
2917 echo $ac_declaration >>confdefs.h
2918 echo '#endif' >>confdefs.h
2922 echo "$as_me: failed program was:" >&5
2923 sed 's/^/| /' conftest.$ac_ext >&5
2926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2928 ac_cpp='$CPP $CPPFLAGS'
2929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2935 # Add -Wall if we are using GCC.
2936 if test "x$GCC" = "xyes"; then
2938 ## We like to use C99 routines when available. This makes sure that
2939 ## __STDC_VERSION__ is set such that libc includes make them available.
2940 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
2945 # Find other programs we need.
2946 if test -n "$ac_tool_prefix"; then
2947 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2948 set dummy ${ac_tool_prefix}as; ac_word=$2
2949 echo "$as_me:$LINENO: checking for $ac_word" >&5
2950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2951 if test "${ac_cv_prog_AS+set}" = set; then
2952 echo $ECHO_N "(cached) $ECHO_C" >&6
2954 if test -n "$AS"; then
2955 ac_cv_prog_AS="$AS" # Let the user override the test.
2957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2961 test -z "$as_dir" && as_dir=.
2962 for ac_exec_ext in '' $ac_executable_extensions; do
2963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2964 ac_cv_prog_AS="${ac_tool_prefix}as"
2965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2974 if test -n "$AS"; then
2975 echo "$as_me:$LINENO: result: $AS" >&5
2976 echo "${ECHO_T}$AS" >&6
2978 echo "$as_me:$LINENO: result: no" >&5
2979 echo "${ECHO_T}no" >&6
2983 if test -z "$ac_cv_prog_AS"; then
2985 # Extract the first word of "as", so it can be a program name with args.
2986 set dummy as; ac_word=$2
2987 echo "$as_me:$LINENO: checking for $ac_word" >&5
2988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2989 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2990 echo $ECHO_N "(cached) $ECHO_C" >&6
2992 if test -n "$ac_ct_AS"; then
2993 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2999 test -z "$as_dir" && as_dir=.
3000 for ac_exec_ext in '' $ac_executable_extensions; do
3001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3002 ac_cv_prog_ac_ct_AS="as"
3003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3011 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3012 if test -n "$ac_ct_AS"; then
3013 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3014 echo "${ECHO_T}$ac_ct_AS" >&6
3016 echo "$as_me:$LINENO: result: no" >&5
3017 echo "${ECHO_T}no" >&6
3025 if test -n "$ac_tool_prefix"; then
3026 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3027 set dummy ${ac_tool_prefix}ar; ac_word=$2
3028 echo "$as_me:$LINENO: checking for $ac_word" >&5
3029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3030 if test "${ac_cv_prog_AR+set}" = set; then
3031 echo $ECHO_N "(cached) $ECHO_C" >&6
3033 if test -n "$AR"; then
3034 ac_cv_prog_AR="$AR" # Let the user override the test.
3036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3040 test -z "$as_dir" && as_dir=.
3041 for ac_exec_ext in '' $ac_executable_extensions; do
3042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3043 ac_cv_prog_AR="${ac_tool_prefix}ar"
3044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3053 if test -n "$AR"; then
3054 echo "$as_me:$LINENO: result: $AR" >&5
3055 echo "${ECHO_T}$AR" >&6
3057 echo "$as_me:$LINENO: result: no" >&5
3058 echo "${ECHO_T}no" >&6
3062 if test -z "$ac_cv_prog_AR"; then
3064 # Extract the first word of "ar", so it can be a program name with args.
3065 set dummy ar; ac_word=$2
3066 echo "$as_me:$LINENO: checking for $ac_word" >&5
3067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3068 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3069 echo $ECHO_N "(cached) $ECHO_C" >&6
3071 if test -n "$ac_ct_AR"; then
3072 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3078 test -z "$as_dir" && as_dir=.
3079 for ac_exec_ext in '' $ac_executable_extensions; do
3080 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3081 ac_cv_prog_ac_ct_AR="ar"
3082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3090 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3091 if test -n "$ac_ct_AR"; then
3092 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3093 echo "${ECHO_T}$ac_ct_AR" >&6
3095 echo "$as_me:$LINENO: result: no" >&5
3096 echo "${ECHO_T}no" >&6
3104 if test -n "$ac_tool_prefix"; then
3105 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3106 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3107 echo "$as_me:$LINENO: checking for $ac_word" >&5
3108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3109 if test "${ac_cv_prog_RANLIB+set}" = set; then
3110 echo $ECHO_N "(cached) $ECHO_C" >&6
3112 if test -n "$RANLIB"; then
3113 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3119 test -z "$as_dir" && as_dir=.
3120 for ac_exec_ext in '' $ac_executable_extensions; do
3121 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3122 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3131 RANLIB=$ac_cv_prog_RANLIB
3132 if test -n "$RANLIB"; then
3133 echo "$as_me:$LINENO: result: $RANLIB" >&5
3134 echo "${ECHO_T}$RANLIB" >&6
3136 echo "$as_me:$LINENO: result: no" >&5
3137 echo "${ECHO_T}no" >&6
3141 if test -z "$ac_cv_prog_RANLIB"; then
3142 ac_ct_RANLIB=$RANLIB
3143 # Extract the first word of "ranlib", so it can be a program name with args.
3144 set dummy ranlib; ac_word=$2
3145 echo "$as_me:$LINENO: checking for $ac_word" >&5
3146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3147 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3148 echo $ECHO_N "(cached) $ECHO_C" >&6
3150 if test -n "$ac_ct_RANLIB"; then
3151 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3157 test -z "$as_dir" && as_dir=.
3158 for ac_exec_ext in '' $ac_executable_extensions; do
3159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3160 ac_cv_prog_ac_ct_RANLIB="ranlib"
3161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3167 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3170 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3171 if test -n "$ac_ct_RANLIB"; then
3172 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3173 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3175 echo "$as_me:$LINENO: result: no" >&5
3176 echo "${ECHO_T}no" >&6
3179 RANLIB=$ac_ct_RANLIB
3181 RANLIB="$ac_cv_prog_RANLIB"
3184 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3185 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3186 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3187 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3188 echo $ECHO_N "(cached) $ECHO_C" >&6
3190 cat >conftest.make <<\_ACEOF
3192 @echo 'ac_maketemp="$(MAKE)"'
3194 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3195 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3196 if test -n "$ac_maketemp"; then
3197 eval ac_cv_prog_make_${ac_make}_set=yes
3199 eval ac_cv_prog_make_${ac_make}_set=no
3203 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3204 echo "$as_me:$LINENO: result: yes" >&5
3205 echo "${ECHO_T}yes" >&6
3208 echo "$as_me:$LINENO: result: no" >&5
3209 echo "${ECHO_T}no" >&6
3210 SET_MAKE="MAKE=${MAKE-make}"
3213 # Find a good install program. We prefer a C program (faster),
3214 # so one script is as good as another. But avoid the broken or
3215 # incompatible versions:
3216 # SysV /etc/install, /usr/sbin/install
3217 # SunOS /usr/etc/install
3218 # IRIX /sbin/install
3220 # AmigaOS /C/install, which installs bootblocks on floppy discs
3221 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3222 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3223 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3224 # OS/2's system install, which has a completely different semantic
3225 # ./install, which can be erroneously created by make from ./install.sh.
3226 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3227 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3228 if test -z "$INSTALL"; then
3229 if test "${ac_cv_path_install+set}" = set; then
3230 echo $ECHO_N "(cached) $ECHO_C" >&6
3232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3236 test -z "$as_dir" && as_dir=.
3237 # Account for people who put trailing slashes in PATH elements.
3239 ./ | .// | /cC/* | \
3240 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3241 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3244 # OSF1 and SCO ODT 3.0 have their own names for install.
3245 # Don't use installbsd from OSF since it installs stuff as root
3247 for ac_prog in ginstall scoinst install; do
3248 for ac_exec_ext in '' $ac_executable_extensions; do
3249 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3250 if test $ac_prog = install &&
3251 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3252 # AIX install. It has an incompatible calling convention.
3254 elif test $ac_prog = install &&
3255 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3256 # program-specific install script used by HP pwplus--don't use.
3259 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3271 if test "${ac_cv_path_install+set}" = set; then
3272 INSTALL=$ac_cv_path_install
3274 # As a last resort, use the slow shell script. We don't cache a
3275 # path for INSTALL within a source directory, because that will
3276 # break other packages using the cache if that directory is
3277 # removed, or if the path is relative.
3278 INSTALL=$ac_install_sh
3281 echo "$as_me:$LINENO: result: $INSTALL" >&5
3282 echo "${ECHO_T}$INSTALL" >&6
3284 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3285 # It thinks the first close brace ends the variable substitution.
3286 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3288 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3290 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3294 #AC_MSG_NOTICE([====== Starting libtool configuration])
3296 # Check whether --enable-shared or --disable-shared was given.
3297 if test "${enable_shared+set}" = set; then
3298 enableval="$enable_shared"
3299 p=${PACKAGE-default}
3301 yes) enable_shared=yes ;;
3302 no) enable_shared=no ;;
3305 # Look at the argument we got. We use all the common list separators.
3306 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3307 for pkg in $enableval; do
3308 if test "X$pkg" = "X$p"; then
3318 # Check whether --enable-static or --disable-static was given.
3319 if test "${enable_static+set}" = set; then
3320 enableval="$enable_static"
3321 p=${PACKAGE-default}
3323 yes) enable_static=yes ;;
3324 no) enable_static=no ;;
3327 # Look at the argument we got. We use all the common list separators.
3328 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3329 for pkg in $enableval; do
3330 if test "X$pkg" = "X$p"; then
3340 # Check whether --enable-fast-install or --disable-fast-install was given.
3341 if test "${enable_fast_install+set}" = set; then
3342 enableval="$enable_fast_install"
3343 p=${PACKAGE-default}
3345 yes) enable_fast_install=yes ;;
3346 no) enable_fast_install=no ;;
3348 enable_fast_install=no
3349 # Look at the argument we got. We use all the common list separators.
3350 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3351 for pkg in $enableval; do
3352 if test "X$pkg" = "X$p"; then
3353 enable_fast_install=yes
3360 enable_fast_install=yes
3363 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3364 if test "${with_gnu_ld+set}" = set; then
3365 withval="$with_gnu_ld"
3366 test "$withval" = no || with_gnu_ld=yes
3371 if test "$GCC" = yes; then
3372 # Check if gcc -print-prog-name=ld gives a path.
3373 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3374 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3377 # gcc leaves a trailing carriage return which upsets mingw
3378 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3380 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3383 # Accept absolute paths.
3384 [\\/]* | [A-Za-z]:[\\/]*)
3385 re_direlt='/[^/][^/]*/\.\./'
3386 # Canonicalize the path of ld
3387 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3388 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3389 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3391 test -z "$LD" && LD="$ac_prog"
3394 # If it fails, then pretend we aren't using GCC.
3398 # If it is relative, then search for the first ld in PATH.
3402 elif test "$with_gnu_ld" = yes; then
3403 echo "$as_me:$LINENO: checking for GNU ld" >&5
3404 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3406 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3407 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3409 if test "${lt_cv_path_LD+set}" = set; then
3410 echo $ECHO_N "(cached) $ECHO_C" >&6
3412 if test -z "$LD"; then
3413 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3414 for ac_dir in $PATH; do
3415 test -z "$ac_dir" && ac_dir=.
3416 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3417 lt_cv_path_LD="$ac_dir/$ac_prog"
3418 # Check to see if the program is GNU ld. I'd rather use --version,
3419 # but apparently some GNU ld's only accept -v.
3420 # Break only if it was the GNU/non-GNU ld that we prefer.
3421 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3422 test "$with_gnu_ld" != no && break
3424 test "$with_gnu_ld" != yes && break
3430 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3435 if test -n "$LD"; then
3436 echo "$as_me:$LINENO: result: $LD" >&5
3437 echo "${ECHO_T}$LD" >&6
3439 echo "$as_me:$LINENO: result: no" >&5
3440 echo "${ECHO_T}no" >&6
3442 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3443 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3444 { (exit 1); exit 1; }; }
3445 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3446 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3447 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3448 echo $ECHO_N "(cached) $ECHO_C" >&6
3450 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3451 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3452 lt_cv_prog_gnu_ld=yes
3454 lt_cv_prog_gnu_ld=no
3457 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3458 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3459 with_gnu_ld=$lt_cv_prog_gnu_ld
3462 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3463 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3464 if test "${lt_cv_ld_reload_flag+set}" = set; then
3465 echo $ECHO_N "(cached) $ECHO_C" >&6
3467 lt_cv_ld_reload_flag='-r'
3469 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3470 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3471 reload_flag=$lt_cv_ld_reload_flag
3472 test -n "$reload_flag" && reload_flag=" $reload_flag"
3474 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3475 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3476 if test "${lt_cv_path_NM+set}" = set; then
3477 echo $ECHO_N "(cached) $ECHO_C" >&6
3479 if test -n "$NM"; then
3480 # Let the user override the test.
3483 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3484 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3485 test -z "$ac_dir" && ac_dir=.
3486 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3487 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3488 # Check to see if the nm accepts a BSD-compat flag.
3489 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3490 # nm: unknown option "B" ignored
3491 # Tru64's nm complains that /dev/null is an invalid object file
3492 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3493 lt_cv_path_NM="$tmp_nm -B"
3495 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3496 lt_cv_path_NM="$tmp_nm -p"
3499 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3500 continue # so that we can try to find one that supports BSD flags
3505 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3510 echo "$as_me:$LINENO: result: $NM" >&5
3511 echo "${ECHO_T}$NM" >&6
3513 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3514 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3516 if test "$LN_S" = "ln -s"; then
3517 echo "$as_me:$LINENO: result: yes" >&5
3518 echo "${ECHO_T}yes" >&6
3520 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3521 echo "${ECHO_T}no, using $LN_S" >&6
3524 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3525 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3526 if test "${lt_cv_deplibs_check_method+set}" = set; then
3527 echo $ECHO_N "(cached) $ECHO_C" >&6
3529 lt_cv_file_magic_cmd='$MAGIC_CMD'
3530 lt_cv_file_magic_test_file=
3531 lt_cv_deplibs_check_method='unknown'
3532 # Need to set the preceding variable on all platforms that support
3533 # interlibrary dependencies.
3534 # 'none' -- dependencies not supported.
3535 # `unknown' -- same as none, but documents that we really don't know.
3536 # 'pass_all' -- all dependencies passed with no checks.
3537 # 'test_compile' -- check by making test program.
3538 # 'file_magic [regex]' -- check by looking for files in library path
3539 # which responds to the $file_magic_cmd with a given egrep regex.
3540 # If you have `file' or equivalent on your system and you're not sure
3541 # whether `pass_all' will *always* work, you probably want this one.
3545 lt_cv_deplibs_check_method=pass_all
3549 lt_cv_deplibs_check_method=pass_all
3553 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3554 lt_cv_file_magic_cmd='/usr/bin/file -L'
3555 lt_cv_file_magic_test_file=/shlib/libc.so
3558 cygwin* | mingw* |pw32*)
3559 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3560 lt_cv_file_magic_cmd='$OBJDUMP -f'
3563 darwin* | rhapsody*)
3564 # this will be overwritten by pass_all, but leave it in just in case
3565 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3566 lt_cv_file_magic_cmd='/usr/bin/file -L'
3568 rhapsody* | darwin1.012)
3569 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3572 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3575 lt_cv_deplibs_check_method=pass_all
3578 freebsd* | kfreebsd*-gnu)
3579 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3582 # Not sure whether the presence of OpenBSD here was a mistake.
3583 # Let's accept both of them until this is cleared up.
3584 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3585 lt_cv_file_magic_cmd=/usr/bin/file
3586 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3590 lt_cv_deplibs_check_method=pass_all
3595 lt_cv_deplibs_check_method=pass_all
3601 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3602 lt_cv_file_magic_cmd=/usr/bin/file
3603 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3606 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3607 lt_cv_file_magic_cmd=/usr/bin/file
3608 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3616 # this will be overridden with pass_all, but let us keep it just in case
3617 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3621 *-32|*"-32 ") libmagic=32-bit;;
3622 *-n32|*"-n32 ") libmagic=N32;;
3623 *-64|*"-64 ") libmagic=64-bit;;
3624 *) libmagic=never-match;;
3626 # this will be overridden with pass_all, but let us keep it just in case
3627 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3630 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3631 lt_cv_deplibs_check_method=pass_all
3634 # This must be Linux ELF.
3636 lt_cv_deplibs_check_method=pass_all
3639 netbsd* | knetbsd*-gnu)
3640 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3641 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3643 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3648 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3649 lt_cv_file_magic_cmd=/usr/bin/file
3650 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3653 osf3* | osf4* | osf5*)
3654 # this will be overridden with pass_all, but let us keep it just in case
3655 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3656 lt_cv_file_magic_test_file=/shlib/libc.so
3657 lt_cv_deplibs_check_method=pass_all
3661 lt_cv_deplibs_check_method=pass_all
3665 lt_cv_deplibs_check_method=pass_all
3666 lt_cv_file_magic_test_file=/lib/libc.so
3669 sysv5uw[78]* | sysv4*uw2*)
3670 lt_cv_deplibs_check_method=pass_all
3673 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3674 case $host_vendor in
3676 lt_cv_deplibs_check_method=pass_all
3679 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]'
3680 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3687 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3688 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3689 file_magic_cmd=$lt_cv_file_magic_cmd
3690 deplibs_check_method=$lt_cv_deplibs_check_method
3696 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3698 # find the maximum length of command line arguments
3699 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3700 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3701 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3702 echo $ECHO_N "(cached) $ECHO_C" >&6
3709 # On DJGPP, this test can blow up pretty badly due to problems in libc
3710 # (any single argument exceeding 2000 bytes causes a buffer overrun
3711 # during glob expansion). Even if it were fixed, the result of this
3712 # check would be larger than it should be.
3713 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3717 # On Win9x/ME, this test blows up -- it succeeds, but takes
3718 # about 5 minutes as the teststring grows exponentially.
3719 # Worse, since 9x/ME are not pre-emptively multitasking,
3720 # you end up with a "frozen" computer, even though with patience
3721 # the test eventually succeeds (with a max line length of 256k).
3722 # Instead, let's just punt: use the minimum linelength reported by
3723 # all of the supported platforms: 8192 (on NT/2K/XP).
3724 lt_cv_sys_max_cmd_len=8192;
3728 # On AmigaOS with pdksh, this test takes hours, literally.
3729 # So we just punt and use a minimum line length of 8192.
3730 lt_cv_sys_max_cmd_len=8192;
3733 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3734 # This has been around since 386BSD, at least. Likely further.
3735 if test -x /sbin/sysctl; then
3736 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3737 elif test -x /usr/sbin/sysctl; then
3738 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3740 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
3742 # And add a safety zone
3743 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3744 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3750 if test -n "$lt_cv_sys_max_cmd_len" ; then
3751 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3752 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3754 echo "$as_me:$LINENO: result: none" >&5
3755 echo "${ECHO_T}none" >&6
3759 # Only perform the check for file, if the check method requires it
3760 case $deplibs_check_method in
3762 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3763 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3764 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3765 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3766 echo $ECHO_N "(cached) $ECHO_C" >&6
3770 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3773 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3776 ac_save_MAGIC_CMD="$MAGIC_CMD"
3777 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3778 ac_dummy="/usr/bin:$PATH"
3779 for ac_dir in $ac_dummy; do
3780 test -z "$ac_dir" && ac_dir=.
3781 if test -f $ac_dir/${ac_tool_prefix}file; then
3782 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3783 if test -n "$file_magic_test_file"; then
3784 case $deplibs_check_method in
3786 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3787 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3788 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3789 egrep "$file_magic_regex" > /dev/null; then
3794 *** Warning: the command libtool uses to detect shared libraries,
3795 *** $file_magic_cmd, produces output that libtool cannot recognize.
3796 *** The result is that libtool may fail to recognize shared libraries
3797 *** as such. This will affect the creation of libtool libraries that
3798 *** depend on shared libraries, but programs linked with such libtool
3799 *** libraries will work regardless of this problem. Nevertheless, you
3800 *** may want to report the problem to your system manager and/or to
3801 *** bug-libtool@gnu.org
3811 MAGIC_CMD="$ac_save_MAGIC_CMD"
3816 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3817 if test -n "$MAGIC_CMD"; then
3818 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3819 echo "${ECHO_T}$MAGIC_CMD" >&6
3821 echo "$as_me:$LINENO: result: no" >&5
3822 echo "${ECHO_T}no" >&6
3825 if test -z "$lt_cv_path_MAGIC_CMD"; then
3826 if test -n "$ac_tool_prefix"; then
3827 echo "$as_me:$LINENO: checking for file" >&5
3828 echo $ECHO_N "checking for file... $ECHO_C" >&6
3829 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3830 echo $ECHO_N "(cached) $ECHO_C" >&6
3834 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3837 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3840 ac_save_MAGIC_CMD="$MAGIC_CMD"
3841 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3842 ac_dummy="/usr/bin:$PATH"
3843 for ac_dir in $ac_dummy; do
3844 test -z "$ac_dir" && ac_dir=.
3845 if test -f $ac_dir/file; then
3846 lt_cv_path_MAGIC_CMD="$ac_dir/file"
3847 if test -n "$file_magic_test_file"; then
3848 case $deplibs_check_method in
3850 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3851 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3852 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3853 egrep "$file_magic_regex" > /dev/null; then
3858 *** Warning: the command libtool uses to detect shared libraries,
3859 *** $file_magic_cmd, produces output that libtool cannot recognize.
3860 *** The result is that libtool may fail to recognize shared libraries
3861 *** as such. This will affect the creation of libtool libraries that
3862 *** depend on shared libraries, but programs linked with such libtool
3863 *** libraries will work regardless of this problem. Nevertheless, you
3864 *** may want to report the problem to your system manager and/or to
3865 *** bug-libtool@gnu.org
3875 MAGIC_CMD="$ac_save_MAGIC_CMD"
3880 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3881 if test -n "$MAGIC_CMD"; then
3882 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3883 echo "${ECHO_T}$MAGIC_CMD" >&6
3885 echo "$as_me:$LINENO: result: no" >&5
3886 echo "${ECHO_T}no" >&6
3898 if test -n "$ac_tool_prefix"; then
3899 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3900 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3901 echo "$as_me:$LINENO: checking for $ac_word" >&5
3902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3903 if test "${ac_cv_prog_RANLIB+set}" = set; then
3904 echo $ECHO_N "(cached) $ECHO_C" >&6
3906 if test -n "$RANLIB"; then
3907 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3913 test -z "$as_dir" && as_dir=.
3914 for ac_exec_ext in '' $ac_executable_extensions; do
3915 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3916 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3925 RANLIB=$ac_cv_prog_RANLIB
3926 if test -n "$RANLIB"; then
3927 echo "$as_me:$LINENO: result: $RANLIB" >&5
3928 echo "${ECHO_T}$RANLIB" >&6
3930 echo "$as_me:$LINENO: result: no" >&5
3931 echo "${ECHO_T}no" >&6
3935 if test -z "$ac_cv_prog_RANLIB"; then
3936 ac_ct_RANLIB=$RANLIB
3937 # Extract the first word of "ranlib", so it can be a program name with args.
3938 set dummy ranlib; ac_word=$2
3939 echo "$as_me:$LINENO: checking for $ac_word" >&5
3940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3941 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3942 echo $ECHO_N "(cached) $ECHO_C" >&6
3944 if test -n "$ac_ct_RANLIB"; then
3945 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3951 test -z "$as_dir" && as_dir=.
3952 for ac_exec_ext in '' $ac_executable_extensions; do
3953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3954 ac_cv_prog_ac_ct_RANLIB="ranlib"
3955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3961 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3964 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3965 if test -n "$ac_ct_RANLIB"; then
3966 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3967 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3969 echo "$as_me:$LINENO: result: no" >&5
3970 echo "${ECHO_T}no" >&6
3973 RANLIB=$ac_ct_RANLIB
3975 RANLIB="$ac_cv_prog_RANLIB"
3978 if test -n "$ac_tool_prefix"; then
3979 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3980 set dummy ${ac_tool_prefix}strip; ac_word=$2
3981 echo "$as_me:$LINENO: checking for $ac_word" >&5
3982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3983 if test "${ac_cv_prog_STRIP+set}" = set; then
3984 echo $ECHO_N "(cached) $ECHO_C" >&6
3986 if test -n "$STRIP"; then
3987 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3993 test -z "$as_dir" && as_dir=.
3994 for ac_exec_ext in '' $ac_executable_extensions; do
3995 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3996 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4005 STRIP=$ac_cv_prog_STRIP
4006 if test -n "$STRIP"; then
4007 echo "$as_me:$LINENO: result: $STRIP" >&5
4008 echo "${ECHO_T}$STRIP" >&6
4010 echo "$as_me:$LINENO: result: no" >&5
4011 echo "${ECHO_T}no" >&6
4015 if test -z "$ac_cv_prog_STRIP"; then
4017 # Extract the first word of "strip", so it can be a program name with args.
4018 set dummy strip; ac_word=$2
4019 echo "$as_me:$LINENO: checking for $ac_word" >&5
4020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4021 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4022 echo $ECHO_N "(cached) $ECHO_C" >&6
4024 if test -n "$ac_ct_STRIP"; then
4025 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4031 test -z "$as_dir" && as_dir=.
4032 for ac_exec_ext in '' $ac_executable_extensions; do
4033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4034 ac_cv_prog_ac_ct_STRIP="strip"
4035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4041 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4044 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4045 if test -n "$ac_ct_STRIP"; then
4046 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4047 echo "${ECHO_T}$ac_ct_STRIP" >&6
4049 echo "$as_me:$LINENO: result: no" >&5
4050 echo "${ECHO_T}no" >&6
4055 STRIP="$ac_cv_prog_STRIP"
4059 # Check for any special flags to pass to ltconfig.
4060 libtool_flags="--cache-file=$cache_file"
4061 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4062 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4063 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4064 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4065 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4068 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4069 if test "${enable_libtool_lock+set}" = set; then
4070 enableval="$enable_libtool_lock"
4073 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4074 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4077 # Check whether --with-pic or --without-pic was given.
4078 if test "${with_pic+set}" = set; then
4084 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4085 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4087 # Some flags need to be propagated to the compiler or linker for good
4091 # Find out which ABI we are using.
4092 echo '#line 4092 "configure"' > conftest.$ac_ext
4093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4094 (eval $ac_compile) 2>&5
4096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097 (exit $ac_status); }; then
4098 if test "$lt_cv_prog_gnu_ld" = yes; then
4099 case `/usr/bin/file conftest.$ac_objext` in
4101 LD="${LD-ld} -melf32bsmip"
4104 LD="${LD-ld} -melf32bmipn32"
4107 LD="${LD-ld} -melf64bmip"
4111 case `/usr/bin/file conftest.$ac_objext` in
4128 # Find out which ABI we are using.
4129 echo 'int i;' > conftest.$ac_ext
4130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4131 (eval $ac_compile) 2>&5
4133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4134 (exit $ac_status); }; then
4135 case "`/usr/bin/file conftest.o`" in
4147 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4148 # Find out which ABI we are using.
4149 echo 'int i;' > conftest.$ac_ext
4150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4151 (eval $ac_compile) 2>&5
4153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4154 (exit $ac_status); }; then
4155 case "`/usr/bin/file conftest.o`" in
4159 LD="${LD-ld} -m elf_i386"
4161 ppc64-*linux*|powerpc64-*linux*)
4162 LD="${LD-ld} -m elf32ppclinux"
4165 LD="${LD-ld} -m elf_s390"
4168 LD="${LD-ld} -m elf32_sparc"
4175 LD="${LD-ld} -m elf_x86_64"
4177 ppc*-*linux*|powerpc*-*linux*)
4178 LD="${LD-ld} -m elf64ppc"
4181 LD="${LD-ld} -m elf64_s390"
4184 LD="${LD-ld} -m elf64_sparc"
4194 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4195 SAVE_CFLAGS="$CFLAGS"
4196 CFLAGS="$CFLAGS -belf"
4197 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4198 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4199 if test "${lt_cv_cc_needs_belf+set}" = set; then
4200 echo $ECHO_N "(cached) $ECHO_C" >&6
4205 ac_cpp='$CPP $CPPFLAGS'
4206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4210 cat >conftest.$ac_ext <<_ACEOF
4213 cat confdefs.h >>conftest.$ac_ext
4214 cat >>conftest.$ac_ext <<_ACEOF
4215 /* end confdefs.h. */
4225 rm -f conftest.$ac_objext conftest$ac_exeext
4226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4227 (eval $ac_link) 2>conftest.er1
4229 grep -v '^ *+' conftest.er1 >conftest.err
4231 cat conftest.err >&5
4232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233 (exit $ac_status); } &&
4234 { ac_try='test -z "$ac_c_werror_flag"
4235 || test ! -s conftest.err'
4236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4240 (exit $ac_status); }; } &&
4241 { ac_try='test -s conftest$ac_exeext'
4242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4246 (exit $ac_status); }; }; then
4247 lt_cv_cc_needs_belf=yes
4249 echo "$as_me: failed program was:" >&5
4250 sed 's/^/| /' conftest.$ac_ext >&5
4252 lt_cv_cc_needs_belf=no
4254 rm -f conftest.err conftest.$ac_objext \
4255 conftest$ac_exeext conftest.$ac_ext
4257 ac_cpp='$CPP $CPPFLAGS'
4258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4263 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4264 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4265 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4266 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4267 CFLAGS="$SAVE_CFLAGS"
4275 # Save cache, so that ltconfig can load it
4276 cat >confcache <<\_ACEOF
4277 # This file is a shell script that caches the results of configure
4278 # tests run on this system so they can be shared between configure
4279 # scripts and configure runs, see configure's option --config-cache.
4280 # It is not useful on other systems. If it contains results you don't
4281 # want to keep, you may remove or edit it.
4283 # config.status only pays attention to the cache file if you give it
4284 # the --recheck option to rerun configure.
4286 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4287 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4292 # The following way of writing the cache mishandles newlines in values,
4293 # but we know of no workaround that is simple, portable, and efficient.
4294 # So, don't put newlines in cache variables' values.
4295 # Ultrix sh set writes to stderr and can't be redirected directly,
4296 # and sets the high bit in the cache file unless we assign to the vars.
4299 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4301 # `set' does not quote correctly, so add quotes (double-quote
4302 # substitution turns \\\\ into \\, and sed turns \\ into \).
4305 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4308 # `set' quotes correctly as required by POSIX, so do not add quotes.
4310 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4317 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4319 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4321 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4322 if test -w $cache_file; then
4323 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4324 cat confcache >$cache_file
4326 echo "not updating unwritable cache $cache_file"
4331 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4332 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4333 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4334 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4335 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4336 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4337 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4338 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4339 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4340 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4341 echo "$as_me: error: libtool configure failed" >&2;}
4342 { (exit 1); exit 1; }; }
4344 # Reload cache, that may have been modified by ltconfig
4345 if test -r "$cache_file"; then
4346 # Some versions of bash will fail to source /dev/null (special
4347 # files actually), so we avoid doing that.
4348 if test -f "$cache_file"; then
4349 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4350 echo "$as_me: loading cache $cache_file" >&6;}
4352 [\\/]* | ?:[\\/]* ) . $cache_file;;
4353 *) . ./$cache_file;;
4357 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4358 echo "$as_me: creating cache $cache_file" >&6;}
4363 # This can be used to rebuild libtool when needed
4364 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4366 # Always use our own libtool.
4367 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4369 # Redirect the config.log output again, so that the ltconfig log is not
4370 # clobbered by the next message.
4371 exec 5>>./config.log
4380 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4382 # We need gfortran to compile parts of the library
4383 # We can't use AC_PROG_FC because it expects a fully working gfortran.
4384 #AC_PROG_FC(gfortran)
4386 ac_ext=${FC_SRCEXT-f}
4387 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4388 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4389 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4390 if test -n "$ac_tool_prefix"; then
4391 for ac_prog in gfortran
4393 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4394 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4395 echo "$as_me:$LINENO: checking for $ac_word" >&5
4396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4397 if test "${ac_cv_prog_FC+set}" = set; then
4398 echo $ECHO_N "(cached) $ECHO_C" >&6
4400 if test -n "$FC"; then
4401 ac_cv_prog_FC="$FC" # Let the user override the test.
4403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4407 test -z "$as_dir" && as_dir=.
4408 for ac_exec_ext in '' $ac_executable_extensions; do
4409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4410 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 if test -n "$FC"; then
4421 echo "$as_me:$LINENO: result: $FC" >&5
4422 echo "${ECHO_T}$FC" >&6
4424 echo "$as_me:$LINENO: result: no" >&5
4425 echo "${ECHO_T}no" >&6
4428 test -n "$FC" && break
4431 if test -z "$FC"; then
4433 for ac_prog in gfortran
4435 # Extract the first word of "$ac_prog", so it can be a program name with args.
4436 set dummy $ac_prog; ac_word=$2
4437 echo "$as_me:$LINENO: checking for $ac_word" >&5
4438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4439 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4440 echo $ECHO_N "(cached) $ECHO_C" >&6
4442 if test -n "$ac_ct_FC"; then
4443 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4449 test -z "$as_dir" && as_dir=.
4450 for ac_exec_ext in '' $ac_executable_extensions; do
4451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4452 ac_cv_prog_ac_ct_FC="$ac_prog"
4453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4461 ac_ct_FC=$ac_cv_prog_ac_ct_FC
4462 if test -n "$ac_ct_FC"; then
4463 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4464 echo "${ECHO_T}$ac_ct_FC" >&6
4466 echo "$as_me:$LINENO: result: no" >&5
4467 echo "${ECHO_T}no" >&6
4470 test -n "$ac_ct_FC" && break
4477 # Provide some information about the compiler.
4478 echo "$as_me:4478:" \
4479 "checking for Fortran compiler version" >&5
4480 ac_compiler=`set X $ac_compile; echo $2`
4481 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4482 (eval $ac_compiler --version </dev/null >&5) 2>&5
4484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4485 (exit $ac_status); }
4486 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4487 (eval $ac_compiler -v </dev/null >&5) 2>&5
4489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490 (exit $ac_status); }
4491 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4492 (eval $ac_compiler -V </dev/null >&5) 2>&5
4494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4495 (exit $ac_status); }
4498 # If we don't use `.F' as extension, the preprocessor is not run on the
4499 # input file. (Note that this only needs to work for GNU compilers.)
4502 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4503 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4504 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4505 echo $ECHO_N "(cached) $ECHO_C" >&6
4507 cat >conftest.$ac_ext <<_ACEOF
4515 rm -f conftest.$ac_objext
4516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4517 (eval $ac_compile) 2>conftest.er1
4519 grep -v '^ *+' conftest.er1 >conftest.err
4521 cat conftest.err >&5
4522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523 (exit $ac_status); } &&
4524 { ac_try='test -z "$ac_fc_werror_flag"
4525 || test ! -s conftest.err'
4526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530 (exit $ac_status); }; } &&
4531 { ac_try='test -s conftest.$ac_objext'
4532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536 (exit $ac_status); }; }; then
4539 echo "$as_me: failed program was:" >&5
4540 sed 's/^/| /' conftest.$ac_ext >&5
4544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4545 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4548 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4549 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4551 ac_test_FFLAGS=${FCFLAGS+set}
4552 ac_save_FFLAGS=$FCFLAGS
4554 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4555 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4556 if test "${ac_cv_prog_fc_g+set}" = set; then
4557 echo $ECHO_N "(cached) $ECHO_C" >&6
4560 cat >conftest.$ac_ext <<_ACEOF
4565 rm -f conftest.$ac_objext
4566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4567 (eval $ac_compile) 2>conftest.er1
4569 grep -v '^ *+' conftest.er1 >conftest.err
4571 cat conftest.err >&5
4572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4573 (exit $ac_status); } &&
4574 { ac_try='test -z "$ac_fc_werror_flag"
4575 || test ! -s conftest.err'
4576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580 (exit $ac_status); }; } &&
4581 { ac_try='test -s conftest.$ac_objext'
4582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4586 (exit $ac_status); }; }; then
4589 echo "$as_me: failed program was:" >&5
4590 sed 's/^/| /' conftest.$ac_ext >&5
4594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4597 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4598 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4599 if test "$ac_test_FFLAGS" = set; then
4600 FCFLAGS=$ac_save_FFLAGS
4601 elif test $ac_cv_prog_fc_g = yes; then
4602 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4608 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4616 ac_cpp='$CPP $CPPFLAGS'
4617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4621 FCFLAGS="$FCFLAGS -Wall -fno-repack-arrays -fno-underscoring"
4623 # extra LD Flags which are required for targets
4626 # Darwin needs -single_module when linking libgfortran
4627 extra_ldflags_libgfortran=-Wl,-single_module
4632 # Check whether --enable-largefile or --disable-largefile was given.
4633 if test "${enable_largefile+set}" = set; then
4634 enableval="$enable_largefile"
4637 if test "$enable_largefile" != no; then
4639 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4640 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4641 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4642 echo $ECHO_N "(cached) $ECHO_C" >&6
4644 ac_cv_sys_largefile_CC=no
4645 if test "$GCC" != yes; then
4648 # IRIX 6.2 and later do not support large files by default,
4649 # so use the C compiler's -n32 option if that helps.
4650 cat >conftest.$ac_ext <<_ACEOF
4653 cat confdefs.h >>conftest.$ac_ext
4654 cat >>conftest.$ac_ext <<_ACEOF
4655 /* end confdefs.h. */
4656 #include <sys/types.h>
4657 /* Check that off_t can represent 2**63 - 1 correctly.
4658 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4659 since some C++ compilers masquerading as C compilers
4660 incorrectly reject 9223372036854775807. */
4661 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4662 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4663 && LARGE_OFF_T % 2147483647 == 1)
4673 rm -f conftest.$ac_objext
4674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4675 (eval $ac_compile) 2>conftest.er1
4677 grep -v '^ *+' conftest.er1 >conftest.err
4679 cat conftest.err >&5
4680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4681 (exit $ac_status); } &&
4682 { ac_try='test -z "$ac_c_werror_flag"
4683 || test ! -s conftest.err'
4684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4688 (exit $ac_status); }; } &&
4689 { ac_try='test -s conftest.$ac_objext'
4690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4694 (exit $ac_status); }; }; then
4697 echo "$as_me: failed program was:" >&5
4698 sed 's/^/| /' conftest.$ac_ext >&5
4701 rm -f conftest.err conftest.$ac_objext
4703 rm -f conftest.$ac_objext
4704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4705 (eval $ac_compile) 2>conftest.er1
4707 grep -v '^ *+' conftest.er1 >conftest.err
4709 cat conftest.err >&5
4710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711 (exit $ac_status); } &&
4712 { ac_try='test -z "$ac_c_werror_flag"
4713 || test ! -s conftest.err'
4714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718 (exit $ac_status); }; } &&
4719 { ac_try='test -s conftest.$ac_objext'
4720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4724 (exit $ac_status); }; }; then
4725 ac_cv_sys_largefile_CC=' -n32'; break
4727 echo "$as_me: failed program was:" >&5
4728 sed 's/^/| /' conftest.$ac_ext >&5
4731 rm -f conftest.err conftest.$ac_objext
4735 rm -f conftest.$ac_ext
4738 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4739 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4740 if test "$ac_cv_sys_largefile_CC" != no; then
4741 CC=$CC$ac_cv_sys_largefile_CC
4744 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4745 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4746 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4747 echo $ECHO_N "(cached) $ECHO_C" >&6
4750 ac_cv_sys_file_offset_bits=no
4751 cat >conftest.$ac_ext <<_ACEOF
4754 cat confdefs.h >>conftest.$ac_ext
4755 cat >>conftest.$ac_ext <<_ACEOF
4756 /* end confdefs.h. */
4757 #include <sys/types.h>
4758 /* Check that off_t can represent 2**63 - 1 correctly.
4759 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4760 since some C++ compilers masquerading as C compilers
4761 incorrectly reject 9223372036854775807. */
4762 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4763 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4764 && LARGE_OFF_T % 2147483647 == 1)
4774 rm -f conftest.$ac_objext
4775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4776 (eval $ac_compile) 2>conftest.er1
4778 grep -v '^ *+' conftest.er1 >conftest.err
4780 cat conftest.err >&5
4781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4782 (exit $ac_status); } &&
4783 { ac_try='test -z "$ac_c_werror_flag"
4784 || test ! -s conftest.err'
4785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4789 (exit $ac_status); }; } &&
4790 { ac_try='test -s conftest.$ac_objext'
4791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4795 (exit $ac_status); }; }; then
4798 echo "$as_me: failed program was:" >&5
4799 sed 's/^/| /' conftest.$ac_ext >&5
4802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4803 cat >conftest.$ac_ext <<_ACEOF
4806 cat confdefs.h >>conftest.$ac_ext
4807 cat >>conftest.$ac_ext <<_ACEOF
4808 /* end confdefs.h. */
4809 #define _FILE_OFFSET_BITS 64
4810 #include <sys/types.h>
4811 /* Check that off_t can represent 2**63 - 1 correctly.
4812 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4813 since some C++ compilers masquerading as C compilers
4814 incorrectly reject 9223372036854775807. */
4815 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4816 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4817 && LARGE_OFF_T % 2147483647 == 1)
4827 rm -f conftest.$ac_objext
4828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4829 (eval $ac_compile) 2>conftest.er1
4831 grep -v '^ *+' conftest.er1 >conftest.err
4833 cat conftest.err >&5
4834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4835 (exit $ac_status); } &&
4836 { ac_try='test -z "$ac_c_werror_flag"
4837 || test ! -s conftest.err'
4838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842 (exit $ac_status); }; } &&
4843 { ac_try='test -s conftest.$ac_objext'
4844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); }; }; then
4849 ac_cv_sys_file_offset_bits=64; break
4851 echo "$as_me: failed program was:" >&5
4852 sed 's/^/| /' conftest.$ac_ext >&5
4855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4859 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4860 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4861 if test "$ac_cv_sys_file_offset_bits" != no; then
4863 cat >>confdefs.h <<_ACEOF
4864 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4869 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4870 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4871 if test "${ac_cv_sys_large_files+set}" = set; then
4872 echo $ECHO_N "(cached) $ECHO_C" >&6
4875 ac_cv_sys_large_files=no
4876 cat >conftest.$ac_ext <<_ACEOF
4879 cat confdefs.h >>conftest.$ac_ext
4880 cat >>conftest.$ac_ext <<_ACEOF
4881 /* end confdefs.h. */
4882 #include <sys/types.h>
4883 /* Check that off_t can represent 2**63 - 1 correctly.
4884 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4885 since some C++ compilers masquerading as C compilers
4886 incorrectly reject 9223372036854775807. */
4887 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4888 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4889 && LARGE_OFF_T % 2147483647 == 1)
4899 rm -f conftest.$ac_objext
4900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4901 (eval $ac_compile) 2>conftest.er1
4903 grep -v '^ *+' conftest.er1 >conftest.err
4905 cat conftest.err >&5
4906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4907 (exit $ac_status); } &&
4908 { ac_try='test -z "$ac_c_werror_flag"
4909 || test ! -s conftest.err'
4910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914 (exit $ac_status); }; } &&
4915 { ac_try='test -s conftest.$ac_objext'
4916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4920 (exit $ac_status); }; }; then
4923 echo "$as_me: failed program was:" >&5
4924 sed 's/^/| /' conftest.$ac_ext >&5
4927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4928 cat >conftest.$ac_ext <<_ACEOF
4931 cat confdefs.h >>conftest.$ac_ext
4932 cat >>conftest.$ac_ext <<_ACEOF
4933 /* end confdefs.h. */
4934 #define _LARGE_FILES 1
4935 #include <sys/types.h>
4936 /* Check that off_t can represent 2**63 - 1 correctly.
4937 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4938 since some C++ compilers masquerading as C compilers
4939 incorrectly reject 9223372036854775807. */
4940 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4941 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4942 && LARGE_OFF_T % 2147483647 == 1)
4952 rm -f conftest.$ac_objext
4953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4954 (eval $ac_compile) 2>conftest.er1
4956 grep -v '^ *+' conftest.er1 >conftest.err
4958 cat conftest.err >&5
4959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960 (exit $ac_status); } &&
4961 { ac_try='test -z "$ac_c_werror_flag"
4962 || test ! -s conftest.err'
4963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4967 (exit $ac_status); }; } &&
4968 { ac_try='test -s conftest.$ac_objext'
4969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); }; }; then
4974 ac_cv_sys_large_files=1; break
4976 echo "$as_me: failed program was:" >&5
4977 sed 's/^/| /' conftest.$ac_ext >&5
4980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4984 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4985 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4986 if test "$ac_cv_sys_large_files" != no; then
4988 cat >>confdefs.h <<_ACEOF
4989 #define _LARGE_FILES $ac_cv_sys_large_files
4997 ac_cpp='$CPP $CPPFLAGS'
4998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5001 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5002 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5003 # On Suns, sometimes $CPP names a directory.
5004 if test -n "$CPP" && test -d "$CPP"; then
5007 if test -z "$CPP"; then
5008 if test "${ac_cv_prog_CPP+set}" = set; then
5009 echo $ECHO_N "(cached) $ECHO_C" >&6
5011 # Double quotes because CPP needs to be expanded
5012 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5015 for ac_c_preproc_warn_flag in '' yes
5017 # Use a header file that comes with gcc, so configuring glibc
5018 # with a fresh cross-compiler works.
5019 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5020 # <limits.h> exists even on freestanding compilers.
5021 # On the NeXT, cc -E runs the code through the compiler's parser,
5022 # not just through cpp. "Syntax error" is here to catch this case.
5023 cat >conftest.$ac_ext <<_ACEOF
5026 cat confdefs.h >>conftest.$ac_ext
5027 cat >>conftest.$ac_ext <<_ACEOF
5028 /* end confdefs.h. */
5030 # include <limits.h>
5032 # include <assert.h>
5036 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5037 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5039 grep -v '^ *+' conftest.er1 >conftest.err
5041 cat conftest.err >&5
5042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5043 (exit $ac_status); } >/dev/null; then
5044 if test -s conftest.err; then
5045 ac_cpp_err=$ac_c_preproc_warn_flag
5046 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5053 if test -z "$ac_cpp_err"; then
5056 echo "$as_me: failed program was:" >&5
5057 sed 's/^/| /' conftest.$ac_ext >&5
5059 # Broken: fails on valid input.
5062 rm -f conftest.err conftest.$ac_ext
5064 # OK, works on sane cases. Now check whether non-existent headers
5065 # can be detected and how.
5066 cat >conftest.$ac_ext <<_ACEOF
5069 cat confdefs.h >>conftest.$ac_ext
5070 cat >>conftest.$ac_ext <<_ACEOF
5071 /* end confdefs.h. */
5072 #include <ac_nonexistent.h>
5074 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5075 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5077 grep -v '^ *+' conftest.er1 >conftest.err
5079 cat conftest.err >&5
5080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081 (exit $ac_status); } >/dev/null; then
5082 if test -s conftest.err; then
5083 ac_cpp_err=$ac_c_preproc_warn_flag
5084 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5091 if test -z "$ac_cpp_err"; then
5092 # Broken: success on invalid input.
5095 echo "$as_me: failed program was:" >&5
5096 sed 's/^/| /' conftest.$ac_ext >&5
5098 # Passes both tests.
5102 rm -f conftest.err conftest.$ac_ext
5105 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5106 rm -f conftest.err conftest.$ac_ext
5107 if $ac_preproc_ok; then
5119 echo "$as_me:$LINENO: result: $CPP" >&5
5120 echo "${ECHO_T}$CPP" >&6
5122 for ac_c_preproc_warn_flag in '' yes
5124 # Use a header file that comes with gcc, so configuring glibc
5125 # with a fresh cross-compiler works.
5126 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5127 # <limits.h> exists even on freestanding compilers.
5128 # On the NeXT, cc -E runs the code through the compiler's parser,
5129 # not just through cpp. "Syntax error" is here to catch this case.
5130 cat >conftest.$ac_ext <<_ACEOF
5133 cat confdefs.h >>conftest.$ac_ext
5134 cat >>conftest.$ac_ext <<_ACEOF
5135 /* end confdefs.h. */
5137 # include <limits.h>
5139 # include <assert.h>
5143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5144 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5146 grep -v '^ *+' conftest.er1 >conftest.err
5148 cat conftest.err >&5
5149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150 (exit $ac_status); } >/dev/null; then
5151 if test -s conftest.err; then
5152 ac_cpp_err=$ac_c_preproc_warn_flag
5153 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5160 if test -z "$ac_cpp_err"; then
5163 echo "$as_me: failed program was:" >&5
5164 sed 's/^/| /' conftest.$ac_ext >&5
5166 # Broken: fails on valid input.
5169 rm -f conftest.err conftest.$ac_ext
5171 # OK, works on sane cases. Now check whether non-existent headers
5172 # can be detected and how.
5173 cat >conftest.$ac_ext <<_ACEOF
5176 cat confdefs.h >>conftest.$ac_ext
5177 cat >>conftest.$ac_ext <<_ACEOF
5178 /* end confdefs.h. */
5179 #include <ac_nonexistent.h>
5181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5182 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5184 grep -v '^ *+' conftest.er1 >conftest.err
5186 cat conftest.err >&5
5187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5188 (exit $ac_status); } >/dev/null; then
5189 if test -s conftest.err; then
5190 ac_cpp_err=$ac_c_preproc_warn_flag
5191 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5198 if test -z "$ac_cpp_err"; then
5199 # Broken: success on invalid input.
5202 echo "$as_me: failed program was:" >&5
5203 sed 's/^/| /' conftest.$ac_ext >&5
5205 # Passes both tests.
5209 rm -f conftest.err conftest.$ac_ext
5212 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5213 rm -f conftest.err conftest.$ac_ext
5214 if $ac_preproc_ok; then
5217 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5218 See \`config.log' for more details." >&5
5219 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5220 See \`config.log' for more details." >&2;}
5221 { (exit 1); exit 1; }; }
5225 ac_cpp='$CPP $CPPFLAGS'
5226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5231 echo "$as_me:$LINENO: checking for egrep" >&5
5232 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5233 if test "${ac_cv_prog_egrep+set}" = set; then
5234 echo $ECHO_N "(cached) $ECHO_C" >&6
5236 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5237 then ac_cv_prog_egrep='grep -E'
5238 else ac_cv_prog_egrep='egrep'
5241 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5242 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5243 EGREP=$ac_cv_prog_egrep
5246 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5247 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5248 if test "${ac_cv_header_stdc+set}" = set; then
5249 echo $ECHO_N "(cached) $ECHO_C" >&6
5251 cat >conftest.$ac_ext <<_ACEOF
5254 cat confdefs.h >>conftest.$ac_ext
5255 cat >>conftest.$ac_ext <<_ACEOF
5256 /* end confdefs.h. */
5270 rm -f conftest.$ac_objext
5271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5272 (eval $ac_compile) 2>conftest.er1
5274 grep -v '^ *+' conftest.er1 >conftest.err
5276 cat conftest.err >&5
5277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5278 (exit $ac_status); } &&
5279 { ac_try='test -z "$ac_c_werror_flag"
5280 || test ! -s conftest.err'
5281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5285 (exit $ac_status); }; } &&
5286 { ac_try='test -s conftest.$ac_objext'
5287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5291 (exit $ac_status); }; }; then
5292 ac_cv_header_stdc=yes
5294 echo "$as_me: failed program was:" >&5
5295 sed 's/^/| /' conftest.$ac_ext >&5
5297 ac_cv_header_stdc=no
5299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5301 if test $ac_cv_header_stdc = yes; then
5302 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5303 cat >conftest.$ac_ext <<_ACEOF
5306 cat confdefs.h >>conftest.$ac_ext
5307 cat >>conftest.$ac_ext <<_ACEOF
5308 /* end confdefs.h. */
5312 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5313 $EGREP "memchr" >/dev/null 2>&1; then
5316 ac_cv_header_stdc=no
5322 if test $ac_cv_header_stdc = yes; then
5323 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5324 cat >conftest.$ac_ext <<_ACEOF
5327 cat confdefs.h >>conftest.$ac_ext
5328 cat >>conftest.$ac_ext <<_ACEOF
5329 /* end confdefs.h. */
5333 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5334 $EGREP "free" >/dev/null 2>&1; then
5337 ac_cv_header_stdc=no
5343 if test $ac_cv_header_stdc = yes; then
5344 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5345 if test "$cross_compiling" = yes; then
5348 cat >conftest.$ac_ext <<_ACEOF
5351 cat confdefs.h >>conftest.$ac_ext
5352 cat >>conftest.$ac_ext <<_ACEOF
5353 /* end confdefs.h. */
5355 #if ((' ' & 0x0FF) == 0x020)
5356 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5357 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5359 # define ISLOWER(c) \
5360 (('a' <= (c) && (c) <= 'i') \
5361 || ('j' <= (c) && (c) <= 'r') \
5362 || ('s' <= (c) && (c) <= 'z'))
5363 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5366 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5371 for (i = 0; i < 256; i++)
5372 if (XOR (islower (i), ISLOWER (i))
5373 || toupper (i) != TOUPPER (i))
5378 rm -f conftest$ac_exeext
5379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5380 (eval $ac_link) 2>&5
5382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5383 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5388 (exit $ac_status); }; }; then
5391 echo "$as_me: program exited with status $ac_status" >&5
5392 echo "$as_me: failed program was:" >&5
5393 sed 's/^/| /' conftest.$ac_ext >&5
5396 ac_cv_header_stdc=no
5398 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5402 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5403 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5404 if test $ac_cv_header_stdc = yes; then
5406 cat >>confdefs.h <<\_ACEOF
5407 #define STDC_HEADERS 1
5412 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5422 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5423 inttypes.h stdint.h unistd.h
5425 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5426 echo "$as_me:$LINENO: checking for $ac_header" >&5
5427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5428 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5429 echo $ECHO_N "(cached) $ECHO_C" >&6
5431 cat >conftest.$ac_ext <<_ACEOF
5434 cat confdefs.h >>conftest.$ac_ext
5435 cat >>conftest.$ac_ext <<_ACEOF
5436 /* end confdefs.h. */
5437 $ac_includes_default
5439 #include <$ac_header>
5441 rm -f conftest.$ac_objext
5442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5443 (eval $ac_compile) 2>conftest.er1
5445 grep -v '^ *+' conftest.er1 >conftest.err
5447 cat conftest.err >&5
5448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5449 (exit $ac_status); } &&
5450 { ac_try='test -z "$ac_c_werror_flag"
5451 || test ! -s conftest.err'
5452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5456 (exit $ac_status); }; } &&
5457 { ac_try='test -s conftest.$ac_objext'
5458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5462 (exit $ac_status); }; }; then
5463 eval "$as_ac_Header=yes"
5465 echo "$as_me: failed program was:" >&5
5466 sed 's/^/| /' conftest.$ac_ext >&5
5468 eval "$as_ac_Header=no"
5470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5473 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5474 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5475 cat >>confdefs.h <<_ACEOF
5476 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5486 for ac_header in stdlib.h unistd.h
5488 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5490 echo "$as_me:$LINENO: checking for $ac_header" >&5
5491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5493 echo $ECHO_N "(cached) $ECHO_C" >&6
5495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5498 # Is the header compilable?
5499 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5500 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5501 cat >conftest.$ac_ext <<_ACEOF
5504 cat confdefs.h >>conftest.$ac_ext
5505 cat >>conftest.$ac_ext <<_ACEOF
5506 /* end confdefs.h. */
5507 $ac_includes_default
5508 #include <$ac_header>
5510 rm -f conftest.$ac_objext
5511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5512 (eval $ac_compile) 2>conftest.er1
5514 grep -v '^ *+' conftest.er1 >conftest.err
5516 cat conftest.err >&5
5517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5518 (exit $ac_status); } &&
5519 { ac_try='test -z "$ac_c_werror_flag"
5520 || test ! -s conftest.err'
5521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5525 (exit $ac_status); }; } &&
5526 { ac_try='test -s conftest.$ac_objext'
5527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531 (exit $ac_status); }; }; then
5532 ac_header_compiler=yes
5534 echo "$as_me: failed program was:" >&5
5535 sed 's/^/| /' conftest.$ac_ext >&5
5537 ac_header_compiler=no
5539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5540 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5541 echo "${ECHO_T}$ac_header_compiler" >&6
5543 # Is the header present?
5544 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5545 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5546 cat >conftest.$ac_ext <<_ACEOF
5549 cat confdefs.h >>conftest.$ac_ext
5550 cat >>conftest.$ac_ext <<_ACEOF
5551 /* end confdefs.h. */
5552 #include <$ac_header>
5554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5555 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5557 grep -v '^ *+' conftest.er1 >conftest.err
5559 cat conftest.err >&5
5560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5561 (exit $ac_status); } >/dev/null; then
5562 if test -s conftest.err; then
5563 ac_cpp_err=$ac_c_preproc_warn_flag
5564 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5571 if test -z "$ac_cpp_err"; then
5572 ac_header_preproc=yes
5574 echo "$as_me: failed program was:" >&5
5575 sed 's/^/| /' conftest.$ac_ext >&5
5577 ac_header_preproc=no
5579 rm -f conftest.err conftest.$ac_ext
5580 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5581 echo "${ECHO_T}$ac_header_preproc" >&6
5583 # So? What about this header?
5584 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5586 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5587 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5589 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5590 ac_header_preproc=yes
5593 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5594 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5595 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5596 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5597 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5598 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5599 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5600 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5602 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5603 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5604 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5607 ## ------------------------------------------------------ ##
5608 ## Report this to the GNU Fortran Runtime Library lists. ##
5609 ## ------------------------------------------------------ ##
5612 sed "s/^/$as_me: WARNING: /" >&2
5615 echo "$as_me:$LINENO: checking for $ac_header" >&5
5616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5618 echo $ECHO_N "(cached) $ECHO_C" >&6
5620 eval "$as_ac_Header=\$ac_header_preproc"
5622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5623 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5626 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5627 cat >>confdefs.h <<_ACEOF
5628 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5636 for ac_func in getpagesize
5638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5639 echo "$as_me:$LINENO: checking for $ac_func" >&5
5640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5641 if eval "test \"\${$as_ac_var+set}\" = set"; then
5642 echo $ECHO_N "(cached) $ECHO_C" >&6
5644 cat >conftest.$ac_ext <<_ACEOF
5647 cat confdefs.h >>conftest.$ac_ext
5648 cat >>conftest.$ac_ext <<_ACEOF
5649 /* end confdefs.h. */
5650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5652 #define $ac_func innocuous_$ac_func
5654 /* System header to define __stub macros and hopefully few prototypes,
5655 which can conflict with char $ac_func (); below.
5656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5657 <limits.h> exists even on freestanding compilers. */
5660 # include <limits.h>
5662 # include <assert.h>
5667 /* Override any gcc2 internal prototype to avoid an error. */
5672 /* We use char because int might match the return type of a gcc2
5673 builtin and then its argument prototype would still apply. */
5675 /* The GNU C library defines this for functions which it implements
5676 to always fail with ENOSYS. Some functions are actually named
5677 something starting with __ and the normal name is an alias. */
5678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5681 char (*f) () = $ac_func;
5690 return f != $ac_func;
5695 rm -f conftest.$ac_objext conftest$ac_exeext
5696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5697 (eval $ac_link) 2>conftest.er1
5699 grep -v '^ *+' conftest.er1 >conftest.err
5701 cat conftest.err >&5
5702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5703 (exit $ac_status); } &&
5704 { ac_try='test -z "$ac_c_werror_flag"
5705 || test ! -s conftest.err'
5706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5710 (exit $ac_status); }; } &&
5711 { ac_try='test -s conftest$ac_exeext'
5712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5716 (exit $ac_status); }; }; then
5717 eval "$as_ac_var=yes"
5719 echo "$as_me: failed program was:" >&5
5720 sed 's/^/| /' conftest.$ac_ext >&5
5722 eval "$as_ac_var=no"
5724 rm -f conftest.err conftest.$ac_objext \
5725 conftest$ac_exeext conftest.$ac_ext
5727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5729 if test `eval echo '${'$as_ac_var'}'` = yes; then
5730 cat >>confdefs.h <<_ACEOF
5731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5737 echo "$as_me:$LINENO: checking for working mmap" >&5
5738 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5739 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5740 echo $ECHO_N "(cached) $ECHO_C" >&6
5742 if test "$cross_compiling" = yes; then
5743 ac_cv_func_mmap_fixed_mapped=no
5745 cat >conftest.$ac_ext <<_ACEOF
5748 cat confdefs.h >>conftest.$ac_ext
5749 cat >>conftest.$ac_ext <<_ACEOF
5750 /* end confdefs.h. */
5751 $ac_includes_default
5752 /* malloc might have been renamed as rpl_malloc. */
5755 /* Thanks to Mike Haertel and Jim Avera for this test.
5756 Here is a matrix of mmap possibilities:
5757 mmap private not fixed
5758 mmap private fixed at somewhere currently unmapped
5759 mmap private fixed at somewhere already mapped
5760 mmap shared not fixed
5761 mmap shared fixed at somewhere currently unmapped
5762 mmap shared fixed at somewhere already mapped
5763 For private mappings, we should verify that changes cannot be read()
5764 back from the file, nor mmap's back from the file at a different
5765 address. (There have been systems where private was not correctly
5766 implemented like the infamous i386 svr4.0, and systems where the
5767 VM page cache was not coherent with the file system buffer cache
5768 like early versions of FreeBSD and possibly contemporary NetBSD.)
5769 For shared mappings, we should conversely verify that changes get
5770 propagated back to all the places they're supposed to be.
5772 Grep wants private fixed already mapped.
5773 The main things grep needs to know about mmap are:
5774 * does it exist and is it safe to write into the mmap'd area
5775 * how to use it (BSD variants) */
5778 #include <sys/mman.h>
5780 #if !STDC_HEADERS && !HAVE_STDLIB_H
5784 /* This mess was copied from the GNU getpagesize.h. */
5785 #if !HAVE_GETPAGESIZE
5786 /* Assume that all systems that can run configure have sys/param.h. */
5787 # if !HAVE_SYS_PARAM_H
5788 # define HAVE_SYS_PARAM_H 1
5791 # ifdef _SC_PAGESIZE
5792 # define getpagesize() sysconf(_SC_PAGESIZE)
5793 # else /* no _SC_PAGESIZE */
5794 # if HAVE_SYS_PARAM_H
5795 # include <sys/param.h>
5796 # ifdef EXEC_PAGESIZE
5797 # define getpagesize() EXEC_PAGESIZE
5798 # else /* no EXEC_PAGESIZE */
5800 # define getpagesize() NBPG * CLSIZE
5803 # endif /* no CLSIZE */
5804 # else /* no NBPG */
5806 # define getpagesize() NBPC
5807 # else /* no NBPC */
5809 # define getpagesize() PAGESIZE
5810 # endif /* PAGESIZE */
5811 # endif /* no NBPC */
5812 # endif /* no NBPG */
5813 # endif /* no EXEC_PAGESIZE */
5814 # else /* no HAVE_SYS_PARAM_H */
5815 # define getpagesize() 8192 /* punt totally */
5816 # endif /* no HAVE_SYS_PARAM_H */
5817 # endif /* no _SC_PAGESIZE */
5819 #endif /* no HAVE_GETPAGESIZE */
5824 char *data, *data2, *data3;
5828 pagesize = getpagesize ();
5830 /* First, make a file with some known garbage in it. */
5831 data = (char *) malloc (pagesize);
5834 for (i = 0; i < pagesize; ++i)
5835 *(data + i) = rand ();
5837 fd = creat ("conftest.mmap", 0600);
5840 if (write (fd, data, pagesize) != pagesize)
5844 /* Next, try to mmap the file at a fixed address which already has
5845 something else allocated at it. If we can, also make sure that
5846 we see the same garbage. */
5847 fd = open ("conftest.mmap", O_RDWR);
5850 data2 = (char *) malloc (2 * pagesize);
5853 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5854 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5855 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5857 for (i = 0; i < pagesize; ++i)
5858 if (*(data + i) != *(data2 + i))
5861 /* Finally, make sure that changes to the mapped area do not
5862 percolate back to the file as seen by read(). (This is a bug on
5863 some variants of i386 svr4.0.) */
5864 for (i = 0; i < pagesize; ++i)
5865 *(data2 + i) = *(data2 + i) + 1;
5866 data3 = (char *) malloc (pagesize);
5869 if (read (fd, data3, pagesize) != pagesize)
5871 for (i = 0; i < pagesize; ++i)
5872 if (*(data + i) != *(data3 + i))
5878 rm -f conftest$ac_exeext
5879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5880 (eval $ac_link) 2>&5
5882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5883 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5888 (exit $ac_status); }; }; then
5889 ac_cv_func_mmap_fixed_mapped=yes
5891 echo "$as_me: program exited with status $ac_status" >&5
5892 echo "$as_me: failed program was:" >&5
5893 sed 's/^/| /' conftest.$ac_ext >&5
5896 ac_cv_func_mmap_fixed_mapped=no
5898 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5901 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5902 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5903 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5905 cat >>confdefs.h <<\_ACEOF
5912 echo "$as_me:$LINENO: checking for off_t" >&5
5913 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5914 if test "${ac_cv_type_off_t+set}" = set; then
5915 echo $ECHO_N "(cached) $ECHO_C" >&6
5917 cat >conftest.$ac_ext <<_ACEOF
5920 cat confdefs.h >>conftest.$ac_ext
5921 cat >>conftest.$ac_ext <<_ACEOF
5922 /* end confdefs.h. */
5923 $ac_includes_default
5935 rm -f conftest.$ac_objext
5936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5937 (eval $ac_compile) 2>conftest.er1
5939 grep -v '^ *+' conftest.er1 >conftest.err
5941 cat conftest.err >&5
5942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5943 (exit $ac_status); } &&
5944 { ac_try='test -z "$ac_c_werror_flag"
5945 || test ! -s conftest.err'
5946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5950 (exit $ac_status); }; } &&
5951 { ac_try='test -s conftest.$ac_objext'
5952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5956 (exit $ac_status); }; }; then
5957 ac_cv_type_off_t=yes
5959 echo "$as_me: failed program was:" >&5
5960 sed 's/^/| /' conftest.$ac_ext >&5
5964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5966 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5967 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5968 if test $ac_cv_type_off_t = yes; then
5972 cat >>confdefs.h <<_ACEOF
5979 # check header files
5980 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5981 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5982 if test "${ac_cv_header_stdc+set}" = set; then
5983 echo $ECHO_N "(cached) $ECHO_C" >&6
5985 cat >conftest.$ac_ext <<_ACEOF
5988 cat confdefs.h >>conftest.$ac_ext
5989 cat >>conftest.$ac_ext <<_ACEOF
5990 /* end confdefs.h. */
6004 rm -f conftest.$ac_objext
6005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6006 (eval $ac_compile) 2>conftest.er1
6008 grep -v '^ *+' conftest.er1 >conftest.err
6010 cat conftest.err >&5
6011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6012 (exit $ac_status); } &&
6013 { ac_try='test -z "$ac_c_werror_flag"
6014 || test ! -s conftest.err'
6015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6019 (exit $ac_status); }; } &&
6020 { ac_try='test -s conftest.$ac_objext'
6021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025 (exit $ac_status); }; }; then
6026 ac_cv_header_stdc=yes
6028 echo "$as_me: failed program was:" >&5
6029 sed 's/^/| /' conftest.$ac_ext >&5
6031 ac_cv_header_stdc=no
6033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6035 if test $ac_cv_header_stdc = yes; then
6036 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6037 cat >conftest.$ac_ext <<_ACEOF
6040 cat confdefs.h >>conftest.$ac_ext
6041 cat >>conftest.$ac_ext <<_ACEOF
6042 /* end confdefs.h. */
6046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6047 $EGREP "memchr" >/dev/null 2>&1; then
6050 ac_cv_header_stdc=no
6056 if test $ac_cv_header_stdc = yes; then
6057 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6058 cat >conftest.$ac_ext <<_ACEOF
6061 cat confdefs.h >>conftest.$ac_ext
6062 cat >>conftest.$ac_ext <<_ACEOF
6063 /* end confdefs.h. */
6067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6068 $EGREP "free" >/dev/null 2>&1; then
6071 ac_cv_header_stdc=no
6077 if test $ac_cv_header_stdc = yes; then
6078 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6079 if test "$cross_compiling" = yes; then
6082 cat >conftest.$ac_ext <<_ACEOF
6085 cat confdefs.h >>conftest.$ac_ext
6086 cat >>conftest.$ac_ext <<_ACEOF
6087 /* end confdefs.h. */
6089 #if ((' ' & 0x0FF) == 0x020)
6090 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6091 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6093 # define ISLOWER(c) \
6094 (('a' <= (c) && (c) <= 'i') \
6095 || ('j' <= (c) && (c) <= 'r') \
6096 || ('s' <= (c) && (c) <= 'z'))
6097 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6100 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6105 for (i = 0; i < 256; i++)
6106 if (XOR (islower (i), ISLOWER (i))
6107 || toupper (i) != TOUPPER (i))
6112 rm -f conftest$ac_exeext
6113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6114 (eval $ac_link) 2>&5
6116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 (exit $ac_status); }; }; then
6125 echo "$as_me: program exited with status $ac_status" >&5
6126 echo "$as_me: failed program was:" >&5
6127 sed 's/^/| /' conftest.$ac_ext >&5
6130 ac_cv_header_stdc=no
6132 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6136 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6137 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6138 if test $ac_cv_header_stdc = yes; then
6140 cat >>confdefs.h <<\_ACEOF
6141 #define STDC_HEADERS 1
6153 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
6155 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6157 echo "$as_me:$LINENO: checking for $ac_header" >&5
6158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6160 echo $ECHO_N "(cached) $ECHO_C" >&6
6162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6163 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6165 # Is the header compilable?
6166 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6167 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6168 cat >conftest.$ac_ext <<_ACEOF
6171 cat confdefs.h >>conftest.$ac_ext
6172 cat >>conftest.$ac_ext <<_ACEOF
6173 /* end confdefs.h. */
6174 $ac_includes_default
6175 #include <$ac_header>
6177 rm -f conftest.$ac_objext
6178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6179 (eval $ac_compile) 2>conftest.er1
6181 grep -v '^ *+' conftest.er1 >conftest.err
6183 cat conftest.err >&5
6184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6185 (exit $ac_status); } &&
6186 { ac_try='test -z "$ac_c_werror_flag"
6187 || test ! -s conftest.err'
6188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 (exit $ac_status); }; } &&
6193 { ac_try='test -s conftest.$ac_objext'
6194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6198 (exit $ac_status); }; }; then
6199 ac_header_compiler=yes
6201 echo "$as_me: failed program was:" >&5
6202 sed 's/^/| /' conftest.$ac_ext >&5
6204 ac_header_compiler=no
6206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6207 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6208 echo "${ECHO_T}$ac_header_compiler" >&6
6210 # Is the header present?
6211 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6212 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6213 cat >conftest.$ac_ext <<_ACEOF
6216 cat confdefs.h >>conftest.$ac_ext
6217 cat >>conftest.$ac_ext <<_ACEOF
6218 /* end confdefs.h. */
6219 #include <$ac_header>
6221 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6222 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6224 grep -v '^ *+' conftest.er1 >conftest.err
6226 cat conftest.err >&5
6227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6228 (exit $ac_status); } >/dev/null; then
6229 if test -s conftest.err; then
6230 ac_cpp_err=$ac_c_preproc_warn_flag
6231 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6238 if test -z "$ac_cpp_err"; then
6239 ac_header_preproc=yes
6241 echo "$as_me: failed program was:" >&5
6242 sed 's/^/| /' conftest.$ac_ext >&5
6244 ac_header_preproc=no
6246 rm -f conftest.err conftest.$ac_ext
6247 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6248 echo "${ECHO_T}$ac_header_preproc" >&6
6250 # So? What about this header?
6251 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6253 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6254 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6255 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6256 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6257 ac_header_preproc=yes
6260 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6261 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6262 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6263 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6264 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6265 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6266 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6267 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6268 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6269 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6270 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6271 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6274 ## ------------------------------------------------------ ##
6275 ## Report this to the GNU Fortran Runtime Library lists. ##
6276 ## ------------------------------------------------------ ##
6279 sed "s/^/$as_me: WARNING: /" >&2
6282 echo "$as_me:$LINENO: checking for $ac_header" >&5
6283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6285 echo $ECHO_N "(cached) $ECHO_C" >&6
6287 eval "$as_ac_Header=\$ac_header_preproc"
6289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6290 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6293 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6294 cat >>confdefs.h <<_ACEOF
6295 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6307 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
6309 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6311 echo "$as_me:$LINENO: checking for $ac_header" >&5
6312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6314 echo $ECHO_N "(cached) $ECHO_C" >&6
6316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6319 # Is the header compilable?
6320 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6321 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6322 cat >conftest.$ac_ext <<_ACEOF
6325 cat confdefs.h >>conftest.$ac_ext
6326 cat >>conftest.$ac_ext <<_ACEOF
6327 /* end confdefs.h. */
6328 $ac_includes_default
6329 #include <$ac_header>
6331 rm -f conftest.$ac_objext
6332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6333 (eval $ac_compile) 2>conftest.er1
6335 grep -v '^ *+' conftest.er1 >conftest.err
6337 cat conftest.err >&5
6338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6339 (exit $ac_status); } &&
6340 { ac_try='test -z "$ac_c_werror_flag"
6341 || test ! -s conftest.err'
6342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6346 (exit $ac_status); }; } &&
6347 { ac_try='test -s conftest.$ac_objext'
6348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6352 (exit $ac_status); }; }; then
6353 ac_header_compiler=yes
6355 echo "$as_me: failed program was:" >&5
6356 sed 's/^/| /' conftest.$ac_ext >&5
6358 ac_header_compiler=no
6360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6361 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6362 echo "${ECHO_T}$ac_header_compiler" >&6
6364 # Is the header present?
6365 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6366 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6367 cat >conftest.$ac_ext <<_ACEOF
6370 cat confdefs.h >>conftest.$ac_ext
6371 cat >>conftest.$ac_ext <<_ACEOF
6372 /* end confdefs.h. */
6373 #include <$ac_header>
6375 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6376 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6378 grep -v '^ *+' conftest.er1 >conftest.err
6380 cat conftest.err >&5
6381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382 (exit $ac_status); } >/dev/null; then
6383 if test -s conftest.err; then
6384 ac_cpp_err=$ac_c_preproc_warn_flag
6385 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6392 if test -z "$ac_cpp_err"; then
6393 ac_header_preproc=yes
6395 echo "$as_me: failed program was:" >&5
6396 sed 's/^/| /' conftest.$ac_ext >&5
6398 ac_header_preproc=no
6400 rm -f conftest.err conftest.$ac_ext
6401 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6402 echo "${ECHO_T}$ac_header_preproc" >&6
6404 # So? What about this header?
6405 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6407 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6408 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6409 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6410 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6411 ac_header_preproc=yes
6414 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6415 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6416 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6417 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6418 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6419 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6420 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6421 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6423 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6424 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6425 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6428 ## ------------------------------------------------------ ##
6429 ## Report this to the GNU Fortran Runtime Library lists. ##
6430 ## ------------------------------------------------------ ##
6433 sed "s/^/$as_me: WARNING: /" >&2
6436 echo "$as_me:$LINENO: checking for $ac_header" >&5
6437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6439 echo $ECHO_N "(cached) $ECHO_C" >&6
6441 eval "$as_ac_Header=\$ac_header_preproc"
6443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6444 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6447 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6448 cat >>confdefs.h <<_ACEOF
6449 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6460 for ac_header in sys/mman.h sys/types.h sys/stat.h ieeefp.h
6462 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6464 echo "$as_me:$LINENO: checking for $ac_header" >&5
6465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6467 echo $ECHO_N "(cached) $ECHO_C" >&6
6469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6470 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6472 # Is the header compilable?
6473 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6474 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6475 cat >conftest.$ac_ext <<_ACEOF
6478 cat confdefs.h >>conftest.$ac_ext
6479 cat >>conftest.$ac_ext <<_ACEOF
6480 /* end confdefs.h. */
6481 $ac_includes_default
6482 #include <$ac_header>
6484 rm -f conftest.$ac_objext
6485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6486 (eval $ac_compile) 2>conftest.er1
6488 grep -v '^ *+' conftest.er1 >conftest.err
6490 cat conftest.err >&5
6491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6492 (exit $ac_status); } &&
6493 { ac_try='test -z "$ac_c_werror_flag"
6494 || test ! -s conftest.err'
6495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6499 (exit $ac_status); }; } &&
6500 { ac_try='test -s conftest.$ac_objext'
6501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6505 (exit $ac_status); }; }; then
6506 ac_header_compiler=yes
6508 echo "$as_me: failed program was:" >&5
6509 sed 's/^/| /' conftest.$ac_ext >&5
6511 ac_header_compiler=no
6513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6514 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6515 echo "${ECHO_T}$ac_header_compiler" >&6
6517 # Is the header present?
6518 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6519 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6520 cat >conftest.$ac_ext <<_ACEOF
6523 cat confdefs.h >>conftest.$ac_ext
6524 cat >>conftest.$ac_ext <<_ACEOF
6525 /* end confdefs.h. */
6526 #include <$ac_header>
6528 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6529 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6531 grep -v '^ *+' conftest.er1 >conftest.err
6533 cat conftest.err >&5
6534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6535 (exit $ac_status); } >/dev/null; then
6536 if test -s conftest.err; then
6537 ac_cpp_err=$ac_c_preproc_warn_flag
6538 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6545 if test -z "$ac_cpp_err"; then
6546 ac_header_preproc=yes
6548 echo "$as_me: failed program was:" >&5
6549 sed 's/^/| /' conftest.$ac_ext >&5
6551 ac_header_preproc=no
6553 rm -f conftest.err conftest.$ac_ext
6554 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6555 echo "${ECHO_T}$ac_header_preproc" >&6
6557 # So? What about this header?
6558 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6560 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6561 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6562 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6563 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6564 ac_header_preproc=yes
6567 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6568 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6569 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6570 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6571 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6572 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6573 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6574 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6575 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6576 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6577 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6578 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6581 ## ------------------------------------------------------ ##
6582 ## Report this to the GNU Fortran Runtime Library lists. ##
6583 ## ------------------------------------------------------ ##
6586 sed "s/^/$as_me: WARNING: /" >&2
6589 echo "$as_me:$LINENO: checking for $ac_header" >&5
6590 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6591 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6592 echo $ECHO_N "(cached) $ECHO_C" >&6
6594 eval "$as_ac_Header=\$ac_header_preproc"
6596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6597 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6600 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6601 cat >>confdefs.h <<_ACEOF
6602 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6609 if test "${ac_cv_header_complex_h+set}" = set; then
6610 echo "$as_me:$LINENO: checking for complex.h" >&5
6611 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6612 if test "${ac_cv_header_complex_h+set}" = set; then
6613 echo $ECHO_N "(cached) $ECHO_C" >&6
6615 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6616 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6618 # Is the header compilable?
6619 echo "$as_me:$LINENO: checking complex.h usability" >&5
6620 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6621 cat >conftest.$ac_ext <<_ACEOF
6624 cat confdefs.h >>conftest.$ac_ext
6625 cat >>conftest.$ac_ext <<_ACEOF
6626 /* end confdefs.h. */
6627 $ac_includes_default
6628 #include <complex.h>
6630 rm -f conftest.$ac_objext
6631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6632 (eval $ac_compile) 2>conftest.er1
6634 grep -v '^ *+' conftest.er1 >conftest.err
6636 cat conftest.err >&5
6637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6638 (exit $ac_status); } &&
6639 { ac_try='test -z "$ac_c_werror_flag"
6640 || test ! -s conftest.err'
6641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6645 (exit $ac_status); }; } &&
6646 { ac_try='test -s conftest.$ac_objext'
6647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6651 (exit $ac_status); }; }; then
6652 ac_header_compiler=yes
6654 echo "$as_me: failed program was:" >&5
6655 sed 's/^/| /' conftest.$ac_ext >&5
6657 ac_header_compiler=no
6659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6660 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6661 echo "${ECHO_T}$ac_header_compiler" >&6
6663 # Is the header present?
6664 echo "$as_me:$LINENO: checking complex.h presence" >&5
6665 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6666 cat >conftest.$ac_ext <<_ACEOF
6669 cat confdefs.h >>conftest.$ac_ext
6670 cat >>conftest.$ac_ext <<_ACEOF
6671 /* end confdefs.h. */
6672 #include <complex.h>
6674 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6675 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6677 grep -v '^ *+' conftest.er1 >conftest.err
6679 cat conftest.err >&5
6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); } >/dev/null; then
6682 if test -s conftest.err; then
6683 ac_cpp_err=$ac_c_preproc_warn_flag
6684 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6691 if test -z "$ac_cpp_err"; then
6692 ac_header_preproc=yes
6694 echo "$as_me: failed program was:" >&5
6695 sed 's/^/| /' conftest.$ac_ext >&5
6697 ac_header_preproc=no
6699 rm -f conftest.err conftest.$ac_ext
6700 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6701 echo "${ECHO_T}$ac_header_preproc" >&6
6703 # So? What about this header?
6704 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6706 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6707 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6708 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6709 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6710 ac_header_preproc=yes
6713 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6714 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6715 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6716 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6717 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6718 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6719 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6720 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6721 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6722 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6723 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6724 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6727 ## ------------------------------------------------------ ##
6728 ## Report this to the GNU Fortran Runtime Library lists. ##
6729 ## ------------------------------------------------------ ##
6732 sed "s/^/$as_me: WARNING: /" >&2
6735 echo "$as_me:$LINENO: checking for complex.h" >&5
6736 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6737 if test "${ac_cv_header_complex_h+set}" = set; then
6738 echo $ECHO_N "(cached) $ECHO_C" >&6
6740 ac_cv_header_complex_h=$ac_header_preproc
6742 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6743 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6746 if test $ac_cv_header_complex_h = yes; then
6748 cat >>confdefs.h <<\_ACEOF
6749 #define HAVE_COMPLEX_H 1
6756 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6757 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
6758 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6759 echo $ECHO_N "(cached) $ECHO_C" >&6
6761 cat >conftest.$ac_ext <<_ACEOF
6764 cat confdefs.h >>conftest.$ac_ext
6765 cat >>conftest.$ac_ext <<_ACEOF
6766 /* end confdefs.h. */
6767 $ac_includes_default
6771 static struct stat ac_aggr;
6772 if (ac_aggr.st_blksize)
6778 rm -f conftest.$ac_objext
6779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6780 (eval $ac_compile) 2>conftest.er1
6782 grep -v '^ *+' conftest.er1 >conftest.err
6784 cat conftest.err >&5
6785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6786 (exit $ac_status); } &&
6787 { ac_try='test -z "$ac_c_werror_flag"
6788 || test ! -s conftest.err'
6789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6793 (exit $ac_status); }; } &&
6794 { ac_try='test -s conftest.$ac_objext'
6795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6799 (exit $ac_status); }; }; then
6800 ac_cv_member_struct_stat_st_blksize=yes
6802 echo "$as_me: failed program was:" >&5
6803 sed 's/^/| /' conftest.$ac_ext >&5
6805 cat >conftest.$ac_ext <<_ACEOF
6808 cat confdefs.h >>conftest.$ac_ext
6809 cat >>conftest.$ac_ext <<_ACEOF
6810 /* end confdefs.h. */
6811 $ac_includes_default
6815 static struct stat ac_aggr;
6816 if (sizeof ac_aggr.st_blksize)
6822 rm -f conftest.$ac_objext
6823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6824 (eval $ac_compile) 2>conftest.er1
6826 grep -v '^ *+' conftest.er1 >conftest.err
6828 cat conftest.err >&5
6829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6830 (exit $ac_status); } &&
6831 { ac_try='test -z "$ac_c_werror_flag"
6832 || test ! -s conftest.err'
6833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6837 (exit $ac_status); }; } &&
6838 { ac_try='test -s conftest.$ac_objext'
6839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6843 (exit $ac_status); }; }; then
6844 ac_cv_member_struct_stat_st_blksize=yes
6846 echo "$as_me: failed program was:" >&5
6847 sed 's/^/| /' conftest.$ac_ext >&5
6849 ac_cv_member_struct_stat_st_blksize=no
6851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6855 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6856 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
6857 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6859 cat >>confdefs.h <<_ACEOF
6860 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6866 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6867 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
6868 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6869 echo $ECHO_N "(cached) $ECHO_C" >&6
6871 cat >conftest.$ac_ext <<_ACEOF
6874 cat confdefs.h >>conftest.$ac_ext
6875 cat >>conftest.$ac_ext <<_ACEOF
6876 /* end confdefs.h. */
6877 $ac_includes_default
6881 static struct stat ac_aggr;
6882 if (ac_aggr.st_blocks)
6888 rm -f conftest.$ac_objext
6889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6890 (eval $ac_compile) 2>conftest.er1
6892 grep -v '^ *+' conftest.er1 >conftest.err
6894 cat conftest.err >&5
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); } &&
6897 { ac_try='test -z "$ac_c_werror_flag"
6898 || test ! -s conftest.err'
6899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6903 (exit $ac_status); }; } &&
6904 { ac_try='test -s conftest.$ac_objext'
6905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6909 (exit $ac_status); }; }; then
6910 ac_cv_member_struct_stat_st_blocks=yes
6912 echo "$as_me: failed program was:" >&5
6913 sed 's/^/| /' conftest.$ac_ext >&5
6915 cat >conftest.$ac_ext <<_ACEOF
6918 cat confdefs.h >>conftest.$ac_ext
6919 cat >>conftest.$ac_ext <<_ACEOF
6920 /* end confdefs.h. */
6921 $ac_includes_default
6925 static struct stat ac_aggr;
6926 if (sizeof ac_aggr.st_blocks)
6932 rm -f conftest.$ac_objext
6933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6934 (eval $ac_compile) 2>conftest.er1
6936 grep -v '^ *+' conftest.er1 >conftest.err
6938 cat conftest.err >&5
6939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6940 (exit $ac_status); } &&
6941 { ac_try='test -z "$ac_c_werror_flag"
6942 || test ! -s conftest.err'
6943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6947 (exit $ac_status); }; } &&
6948 { ac_try='test -s conftest.$ac_objext'
6949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953 (exit $ac_status); }; }; then
6954 ac_cv_member_struct_stat_st_blocks=yes
6956 echo "$as_me: failed program was:" >&5
6957 sed 's/^/| /' conftest.$ac_ext >&5
6959 ac_cv_member_struct_stat_st_blocks=no
6961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6965 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6966 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
6967 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6969 cat >>confdefs.h <<_ACEOF
6970 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6976 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6977 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
6978 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6979 echo $ECHO_N "(cached) $ECHO_C" >&6
6981 cat >conftest.$ac_ext <<_ACEOF
6984 cat confdefs.h >>conftest.$ac_ext
6985 cat >>conftest.$ac_ext <<_ACEOF
6986 /* end confdefs.h. */
6987 $ac_includes_default
6991 static struct stat ac_aggr;
6992 if (ac_aggr.st_rdev)
6998 rm -f conftest.$ac_objext
6999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7000 (eval $ac_compile) 2>conftest.er1
7002 grep -v '^ *+' conftest.er1 >conftest.err
7004 cat conftest.err >&5
7005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7006 (exit $ac_status); } &&
7007 { ac_try='test -z "$ac_c_werror_flag"
7008 || test ! -s conftest.err'
7009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7013 (exit $ac_status); }; } &&
7014 { ac_try='test -s conftest.$ac_objext'
7015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7019 (exit $ac_status); }; }; then
7020 ac_cv_member_struct_stat_st_rdev=yes
7022 echo "$as_me: failed program was:" >&5
7023 sed 's/^/| /' conftest.$ac_ext >&5
7025 cat >conftest.$ac_ext <<_ACEOF
7028 cat confdefs.h >>conftest.$ac_ext
7029 cat >>conftest.$ac_ext <<_ACEOF
7030 /* end confdefs.h. */
7031 $ac_includes_default
7035 static struct stat ac_aggr;
7036 if (sizeof ac_aggr.st_rdev)
7042 rm -f conftest.$ac_objext
7043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7044 (eval $ac_compile) 2>conftest.er1
7046 grep -v '^ *+' conftest.er1 >conftest.err
7048 cat conftest.err >&5
7049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7050 (exit $ac_status); } &&
7051 { ac_try='test -z "$ac_c_werror_flag"
7052 || test ! -s conftest.err'
7053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7057 (exit $ac_status); }; } &&
7058 { ac_try='test -s conftest.$ac_objext'
7059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7063 (exit $ac_status); }; }; then
7064 ac_cv_member_struct_stat_st_rdev=yes
7066 echo "$as_me: failed program was:" >&5
7067 sed 's/^/| /' conftest.$ac_ext >&5
7069 ac_cv_member_struct_stat_st_rdev=no
7071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7075 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
7076 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
7077 if test $ac_cv_member_struct_stat_st_rdev = yes; then
7079 cat >>confdefs.h <<_ACEOF
7080 #define HAVE_STRUCT_STAT_ST_RDEV 1
7087 # Check for complex math functions
7088 echo "$as_me:$LINENO: checking for csin in -lm" >&5
7089 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
7090 if test "${ac_cv_lib_m_csin+set}" = set; then
7091 echo $ECHO_N "(cached) $ECHO_C" >&6
7093 ac_check_lib_save_LIBS=$LIBS
7095 cat >conftest.$ac_ext <<_ACEOF
7098 cat confdefs.h >>conftest.$ac_ext
7099 cat >>conftest.$ac_ext <<_ACEOF
7100 /* end confdefs.h. */
7102 /* Override any gcc2 internal prototype to avoid an error. */
7106 /* We use char because int might match the return type of a gcc2
7107 builtin and then its argument prototype would still apply. */
7117 rm -f conftest.$ac_objext conftest$ac_exeext
7118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7119 (eval $ac_link) 2>conftest.er1
7121 grep -v '^ *+' conftest.er1 >conftest.err
7123 cat conftest.err >&5
7124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7125 (exit $ac_status); } &&
7126 { ac_try='test -z "$ac_c_werror_flag"
7127 || test ! -s conftest.err'
7128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7132 (exit $ac_status); }; } &&
7133 { ac_try='test -s conftest$ac_exeext'
7134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7138 (exit $ac_status); }; }; then
7139 ac_cv_lib_m_csin=yes
7141 echo "$as_me: failed program was:" >&5
7142 sed 's/^/| /' conftest.$ac_ext >&5
7146 rm -f conftest.err conftest.$ac_objext \
7147 conftest$ac_exeext conftest.$ac_ext
7148 LIBS=$ac_check_lib_save_LIBS
7150 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
7151 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
7152 if test $ac_cv_lib_m_csin = yes; then
7159 # Check for library functions.
7168 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
7170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7171 echo "$as_me:$LINENO: checking for $ac_func" >&5
7172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7173 if eval "test \"\${$as_ac_var+set}\" = set"; then
7174 echo $ECHO_N "(cached) $ECHO_C" >&6
7176 cat >conftest.$ac_ext <<_ACEOF
7179 cat confdefs.h >>conftest.$ac_ext
7180 cat >>conftest.$ac_ext <<_ACEOF
7181 /* end confdefs.h. */
7182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7184 #define $ac_func innocuous_$ac_func
7186 /* System header to define __stub macros and hopefully few prototypes,
7187 which can conflict with char $ac_func (); below.
7188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7189 <limits.h> exists even on freestanding compilers. */
7192 # include <limits.h>
7194 # include <assert.h>
7199 /* Override any gcc2 internal prototype to avoid an error. */
7204 /* We use char because int might match the return type of a gcc2
7205 builtin and then its argument prototype would still apply. */
7207 /* The GNU C library defines this for functions which it implements
7208 to always fail with ENOSYS. Some functions are actually named
7209 something starting with __ and the normal name is an alias. */
7210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7213 char (*f) () = $ac_func;
7222 return f != $ac_func;
7227 rm -f conftest.$ac_objext conftest$ac_exeext
7228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7229 (eval $ac_link) 2>conftest.er1
7231 grep -v '^ *+' conftest.er1 >conftest.err
7233 cat conftest.err >&5
7234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7235 (exit $ac_status); } &&
7236 { ac_try='test -z "$ac_c_werror_flag"
7237 || test ! -s conftest.err'
7238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7242 (exit $ac_status); }; } &&
7243 { ac_try='test -s conftest$ac_exeext'
7244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7248 (exit $ac_status); }; }; then
7249 eval "$as_ac_var=yes"
7251 echo "$as_me: failed program was:" >&5
7252 sed 's/^/| /' conftest.$ac_ext >&5
7254 eval "$as_ac_var=no"
7256 rm -f conftest.err conftest.$ac_objext \
7257 conftest$ac_exeext conftest.$ac_ext
7259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7261 if test `eval echo '${'$as_ac_var'}'` = yes; then
7262 cat >>confdefs.h <<_ACEOF
7263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7277 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
7279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7280 echo "$as_me:$LINENO: checking for $ac_func" >&5
7281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7282 if eval "test \"\${$as_ac_var+set}\" = set"; then
7283 echo $ECHO_N "(cached) $ECHO_C" >&6
7285 cat >conftest.$ac_ext <<_ACEOF
7288 cat confdefs.h >>conftest.$ac_ext
7289 cat >>conftest.$ac_ext <<_ACEOF
7290 /* end confdefs.h. */
7291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7293 #define $ac_func innocuous_$ac_func
7295 /* System header to define __stub macros and hopefully few prototypes,
7296 which can conflict with char $ac_func (); below.
7297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7298 <limits.h> exists even on freestanding compilers. */
7301 # include <limits.h>
7303 # include <assert.h>
7308 /* Override any gcc2 internal prototype to avoid an error. */
7313 /* We use char because int might match the return type of a gcc2
7314 builtin and then its argument prototype would still apply. */
7316 /* The GNU C library defines this for functions which it implements
7317 to always fail with ENOSYS. Some functions are actually named
7318 something starting with __ and the normal name is an alias. */
7319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7322 char (*f) () = $ac_func;
7331 return f != $ac_func;
7336 rm -f conftest.$ac_objext conftest$ac_exeext
7337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7338 (eval $ac_link) 2>conftest.er1
7340 grep -v '^ *+' conftest.er1 >conftest.err
7342 cat conftest.err >&5
7343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7344 (exit $ac_status); } &&
7345 { ac_try='test -z "$ac_c_werror_flag"
7346 || test ! -s conftest.err'
7347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7351 (exit $ac_status); }; } &&
7352 { ac_try='test -s conftest$ac_exeext'
7353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7357 (exit $ac_status); }; }; then
7358 eval "$as_ac_var=yes"
7360 echo "$as_me: failed program was:" >&5
7361 sed 's/^/| /' conftest.$ac_ext >&5
7363 eval "$as_ac_var=no"
7365 rm -f conftest.err conftest.$ac_objext \
7366 conftest$ac_exeext conftest.$ac_ext
7368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7370 if test `eval echo '${'$as_ac_var'}'` = yes; then
7371 cat >>confdefs.h <<_ACEOF
7372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7380 for ac_func in sleep time
7382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7383 echo "$as_me:$LINENO: checking for $ac_func" >&5
7384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7385 if eval "test \"\${$as_ac_var+set}\" = set"; then
7386 echo $ECHO_N "(cached) $ECHO_C" >&6
7388 cat >conftest.$ac_ext <<_ACEOF
7391 cat confdefs.h >>conftest.$ac_ext
7392 cat >>conftest.$ac_ext <<_ACEOF
7393 /* end confdefs.h. */
7394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7396 #define $ac_func innocuous_$ac_func
7398 /* System header to define __stub macros and hopefully few prototypes,
7399 which can conflict with char $ac_func (); below.
7400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7401 <limits.h> exists even on freestanding compilers. */
7404 # include <limits.h>
7406 # include <assert.h>
7411 /* Override any gcc2 internal prototype to avoid an error. */
7416 /* We use char because int might match the return type of a gcc2
7417 builtin and then its argument prototype would still apply. */
7419 /* The GNU C library defines this for functions which it implements
7420 to always fail with ENOSYS. Some functions are actually named
7421 something starting with __ and the normal name is an alias. */
7422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7425 char (*f) () = $ac_func;
7434 return f != $ac_func;
7439 rm -f conftest.$ac_objext conftest$ac_exeext
7440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7441 (eval $ac_link) 2>conftest.er1
7443 grep -v '^ *+' conftest.er1 >conftest.err
7445 cat conftest.err >&5
7446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7447 (exit $ac_status); } &&
7448 { ac_try='test -z "$ac_c_werror_flag"
7449 || test ! -s conftest.err'
7450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7454 (exit $ac_status); }; } &&
7455 { ac_try='test -s conftest$ac_exeext'
7456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7460 (exit $ac_status); }; }; then
7461 eval "$as_ac_var=yes"
7463 echo "$as_me: failed program was:" >&5
7464 sed 's/^/| /' conftest.$ac_ext >&5
7466 eval "$as_ac_var=no"
7468 rm -f conftest.err conftest.$ac_objext \
7469 conftest$ac_exeext conftest.$ac_ext
7471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7473 if test `eval echo '${'$as_ac_var'}'` = yes; then
7474 cat >>confdefs.h <<_ACEOF
7475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7482 # Check libc for getgid, getpid, getuid
7483 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
7484 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
7485 if test "${ac_cv_lib_c_getgid+set}" = set; then
7486 echo $ECHO_N "(cached) $ECHO_C" >&6
7488 ac_check_lib_save_LIBS=$LIBS
7490 cat >conftest.$ac_ext <<_ACEOF
7493 cat confdefs.h >>conftest.$ac_ext
7494 cat >>conftest.$ac_ext <<_ACEOF
7495 /* end confdefs.h. */
7497 /* Override any gcc2 internal prototype to avoid an error. */
7501 /* We use char because int might match the return type of a gcc2
7502 builtin and then its argument prototype would still apply. */
7512 rm -f conftest.$ac_objext conftest$ac_exeext
7513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7514 (eval $ac_link) 2>conftest.er1
7516 grep -v '^ *+' conftest.er1 >conftest.err
7518 cat conftest.err >&5
7519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7520 (exit $ac_status); } &&
7521 { ac_try='test -z "$ac_c_werror_flag"
7522 || test ! -s conftest.err'
7523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7527 (exit $ac_status); }; } &&
7528 { ac_try='test -s conftest$ac_exeext'
7529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7533 (exit $ac_status); }; }; then
7534 ac_cv_lib_c_getgid=yes
7536 echo "$as_me: failed program was:" >&5
7537 sed 's/^/| /' conftest.$ac_ext >&5
7539 ac_cv_lib_c_getgid=no
7541 rm -f conftest.err conftest.$ac_objext \
7542 conftest$ac_exeext conftest.$ac_ext
7543 LIBS=$ac_check_lib_save_LIBS
7545 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
7546 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
7547 if test $ac_cv_lib_c_getgid = yes; then
7549 cat >>confdefs.h <<\_ACEOF
7550 #define HAVE_GETGID 1
7555 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
7556 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
7557 if test "${ac_cv_lib_c_getpid+set}" = set; then
7558 echo $ECHO_N "(cached) $ECHO_C" >&6
7560 ac_check_lib_save_LIBS=$LIBS
7562 cat >conftest.$ac_ext <<_ACEOF
7565 cat confdefs.h >>conftest.$ac_ext
7566 cat >>conftest.$ac_ext <<_ACEOF
7567 /* end confdefs.h. */
7569 /* Override any gcc2 internal prototype to avoid an error. */
7573 /* We use char because int might match the return type of a gcc2
7574 builtin and then its argument prototype would still apply. */
7584 rm -f conftest.$ac_objext conftest$ac_exeext
7585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7586 (eval $ac_link) 2>conftest.er1
7588 grep -v '^ *+' conftest.er1 >conftest.err
7590 cat conftest.err >&5
7591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7592 (exit $ac_status); } &&
7593 { ac_try='test -z "$ac_c_werror_flag"
7594 || test ! -s conftest.err'
7595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7599 (exit $ac_status); }; } &&
7600 { ac_try='test -s conftest$ac_exeext'
7601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7605 (exit $ac_status); }; }; then
7606 ac_cv_lib_c_getpid=yes
7608 echo "$as_me: failed program was:" >&5
7609 sed 's/^/| /' conftest.$ac_ext >&5
7611 ac_cv_lib_c_getpid=no
7613 rm -f conftest.err conftest.$ac_objext \
7614 conftest$ac_exeext conftest.$ac_ext
7615 LIBS=$ac_check_lib_save_LIBS
7617 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
7618 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
7619 if test $ac_cv_lib_c_getpid = yes; then
7621 cat >>confdefs.h <<\_ACEOF
7622 #define HAVE_GETPID 1
7627 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
7628 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
7629 if test "${ac_cv_lib_c_getuid+set}" = set; then
7630 echo $ECHO_N "(cached) $ECHO_C" >&6
7632 ac_check_lib_save_LIBS=$LIBS
7634 cat >conftest.$ac_ext <<_ACEOF
7637 cat confdefs.h >>conftest.$ac_ext
7638 cat >>conftest.$ac_ext <<_ACEOF
7639 /* end confdefs.h. */
7641 /* Override any gcc2 internal prototype to avoid an error. */
7645 /* We use char because int might match the return type of a gcc2
7646 builtin and then its argument prototype would still apply. */
7656 rm -f conftest.$ac_objext conftest$ac_exeext
7657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7658 (eval $ac_link) 2>conftest.er1
7660 grep -v '^ *+' conftest.er1 >conftest.err
7662 cat conftest.err >&5
7663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7664 (exit $ac_status); } &&
7665 { ac_try='test -z "$ac_c_werror_flag"
7666 || test ! -s conftest.err'
7667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7671 (exit $ac_status); }; } &&
7672 { ac_try='test -s conftest$ac_exeext'
7673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7677 (exit $ac_status); }; }; then
7678 ac_cv_lib_c_getuid=yes
7680 echo "$as_me: failed program was:" >&5
7681 sed 's/^/| /' conftest.$ac_ext >&5
7683 ac_cv_lib_c_getuid=no
7685 rm -f conftest.err conftest.$ac_objext \
7686 conftest$ac_exeext conftest.$ac_ext
7687 LIBS=$ac_check_lib_save_LIBS
7689 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
7690 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
7691 if test $ac_cv_lib_c_getuid = yes; then
7693 cat >>confdefs.h <<\_ACEOF
7694 #define HAVE_GETUID 1
7700 # Check for C99 (and other IEEE) math functions
7701 # ??? This list seems awful long. Is there a better way to test for these?
7702 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
7703 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
7704 if test "${ac_cv_lib_m_acosf+set}" = set; then
7705 echo $ECHO_N "(cached) $ECHO_C" >&6
7707 ac_check_lib_save_LIBS=$LIBS
7709 cat >conftest.$ac_ext <<_ACEOF
7712 cat confdefs.h >>conftest.$ac_ext
7713 cat >>conftest.$ac_ext <<_ACEOF
7714 /* end confdefs.h. */
7716 /* Override any gcc2 internal prototype to avoid an error. */
7720 /* We use char because int might match the return type of a gcc2
7721 builtin and then its argument prototype would still apply. */
7731 rm -f conftest.$ac_objext conftest$ac_exeext
7732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7733 (eval $ac_link) 2>conftest.er1
7735 grep -v '^ *+' conftest.er1 >conftest.err
7737 cat conftest.err >&5
7738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7739 (exit $ac_status); } &&
7740 { ac_try='test -z "$ac_c_werror_flag"
7741 || test ! -s conftest.err'
7742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7746 (exit $ac_status); }; } &&
7747 { ac_try='test -s conftest$ac_exeext'
7748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752 (exit $ac_status); }; }; then
7753 ac_cv_lib_m_acosf=yes
7755 echo "$as_me: failed program was:" >&5
7756 sed 's/^/| /' conftest.$ac_ext >&5
7758 ac_cv_lib_m_acosf=no
7760 rm -f conftest.err conftest.$ac_objext \
7761 conftest$ac_exeext conftest.$ac_ext
7762 LIBS=$ac_check_lib_save_LIBS
7764 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
7765 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
7766 if test $ac_cv_lib_m_acosf = yes; then
7768 cat >>confdefs.h <<\_ACEOF
7769 #define HAVE_ACOSF 1
7774 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
7775 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
7776 if test "${ac_cv_lib_m_asinf+set}" = set; then
7777 echo $ECHO_N "(cached) $ECHO_C" >&6
7779 ac_check_lib_save_LIBS=$LIBS
7781 cat >conftest.$ac_ext <<_ACEOF
7784 cat confdefs.h >>conftest.$ac_ext
7785 cat >>conftest.$ac_ext <<_ACEOF
7786 /* end confdefs.h. */
7788 /* Override any gcc2 internal prototype to avoid an error. */
7792 /* We use char because int might match the return type of a gcc2
7793 builtin and then its argument prototype would still apply. */
7803 rm -f conftest.$ac_objext conftest$ac_exeext
7804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7805 (eval $ac_link) 2>conftest.er1
7807 grep -v '^ *+' conftest.er1 >conftest.err
7809 cat conftest.err >&5
7810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7811 (exit $ac_status); } &&
7812 { ac_try='test -z "$ac_c_werror_flag"
7813 || test ! -s conftest.err'
7814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7818 (exit $ac_status); }; } &&
7819 { ac_try='test -s conftest$ac_exeext'
7820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7824 (exit $ac_status); }; }; then
7825 ac_cv_lib_m_asinf=yes
7827 echo "$as_me: failed program was:" >&5
7828 sed 's/^/| /' conftest.$ac_ext >&5
7830 ac_cv_lib_m_asinf=no
7832 rm -f conftest.err conftest.$ac_objext \
7833 conftest$ac_exeext conftest.$ac_ext
7834 LIBS=$ac_check_lib_save_LIBS
7836 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
7837 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
7838 if test $ac_cv_lib_m_asinf = yes; then
7840 cat >>confdefs.h <<\_ACEOF
7841 #define HAVE_ASINF 1
7846 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
7847 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
7848 if test "${ac_cv_lib_m_atan2f+set}" = set; then
7849 echo $ECHO_N "(cached) $ECHO_C" >&6
7851 ac_check_lib_save_LIBS=$LIBS
7853 cat >conftest.$ac_ext <<_ACEOF
7856 cat confdefs.h >>conftest.$ac_ext
7857 cat >>conftest.$ac_ext <<_ACEOF
7858 /* end confdefs.h. */
7860 /* Override any gcc2 internal prototype to avoid an error. */
7864 /* We use char because int might match the return type of a gcc2
7865 builtin and then its argument prototype would still apply. */
7875 rm -f conftest.$ac_objext conftest$ac_exeext
7876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7877 (eval $ac_link) 2>conftest.er1
7879 grep -v '^ *+' conftest.er1 >conftest.err
7881 cat conftest.err >&5
7882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7883 (exit $ac_status); } &&
7884 { ac_try='test -z "$ac_c_werror_flag"
7885 || test ! -s conftest.err'
7886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7890 (exit $ac_status); }; } &&
7891 { ac_try='test -s conftest$ac_exeext'
7892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7896 (exit $ac_status); }; }; then
7897 ac_cv_lib_m_atan2f=yes
7899 echo "$as_me: failed program was:" >&5
7900 sed 's/^/| /' conftest.$ac_ext >&5
7902 ac_cv_lib_m_atan2f=no
7904 rm -f conftest.err conftest.$ac_objext \
7905 conftest$ac_exeext conftest.$ac_ext
7906 LIBS=$ac_check_lib_save_LIBS
7908 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
7909 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
7910 if test $ac_cv_lib_m_atan2f = yes; then
7912 cat >>confdefs.h <<\_ACEOF
7913 #define HAVE_ATAN2F 1
7918 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
7919 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
7920 if test "${ac_cv_lib_m_atanf+set}" = set; then
7921 echo $ECHO_N "(cached) $ECHO_C" >&6
7923 ac_check_lib_save_LIBS=$LIBS
7925 cat >conftest.$ac_ext <<_ACEOF
7928 cat confdefs.h >>conftest.$ac_ext
7929 cat >>conftest.$ac_ext <<_ACEOF
7930 /* end confdefs.h. */
7932 /* Override any gcc2 internal prototype to avoid an error. */
7936 /* We use char because int might match the return type of a gcc2
7937 builtin and then its argument prototype would still apply. */
7947 rm -f conftest.$ac_objext conftest$ac_exeext
7948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7949 (eval $ac_link) 2>conftest.er1
7951 grep -v '^ *+' conftest.er1 >conftest.err
7953 cat conftest.err >&5
7954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7955 (exit $ac_status); } &&
7956 { ac_try='test -z "$ac_c_werror_flag"
7957 || test ! -s conftest.err'
7958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7962 (exit $ac_status); }; } &&
7963 { ac_try='test -s conftest$ac_exeext'
7964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7968 (exit $ac_status); }; }; then
7969 ac_cv_lib_m_atanf=yes
7971 echo "$as_me: failed program was:" >&5
7972 sed 's/^/| /' conftest.$ac_ext >&5
7974 ac_cv_lib_m_atanf=no
7976 rm -f conftest.err conftest.$ac_objext \
7977 conftest$ac_exeext conftest.$ac_ext
7978 LIBS=$ac_check_lib_save_LIBS
7980 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
7981 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
7982 if test $ac_cv_lib_m_atanf = yes; then
7984 cat >>confdefs.h <<\_ACEOF
7985 #define HAVE_ATANF 1
7990 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
7991 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
7992 if test "${ac_cv_lib_m_ceilf+set}" = set; then
7993 echo $ECHO_N "(cached) $ECHO_C" >&6
7995 ac_check_lib_save_LIBS=$LIBS
7997 cat >conftest.$ac_ext <<_ACEOF
8000 cat confdefs.h >>conftest.$ac_ext
8001 cat >>conftest.$ac_ext <<_ACEOF
8002 /* end confdefs.h. */
8004 /* Override any gcc2 internal prototype to avoid an error. */
8008 /* We use char because int might match the return type of a gcc2
8009 builtin and then its argument prototype would still apply. */
8019 rm -f conftest.$ac_objext conftest$ac_exeext
8020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8021 (eval $ac_link) 2>conftest.er1
8023 grep -v '^ *+' conftest.er1 >conftest.err
8025 cat conftest.err >&5
8026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8027 (exit $ac_status); } &&
8028 { ac_try='test -z "$ac_c_werror_flag"
8029 || test ! -s conftest.err'
8030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8034 (exit $ac_status); }; } &&
8035 { ac_try='test -s conftest$ac_exeext'
8036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8040 (exit $ac_status); }; }; then
8041 ac_cv_lib_m_ceilf=yes
8043 echo "$as_me: failed program was:" >&5
8044 sed 's/^/| /' conftest.$ac_ext >&5
8046 ac_cv_lib_m_ceilf=no
8048 rm -f conftest.err conftest.$ac_objext \
8049 conftest$ac_exeext conftest.$ac_ext
8050 LIBS=$ac_check_lib_save_LIBS
8052 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
8053 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
8054 if test $ac_cv_lib_m_ceilf = yes; then
8056 cat >>confdefs.h <<\_ACEOF
8057 #define HAVE_CEILF 1
8062 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
8063 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
8064 if test "${ac_cv_lib_m_copysignf+set}" = set; then
8065 echo $ECHO_N "(cached) $ECHO_C" >&6
8067 ac_check_lib_save_LIBS=$LIBS
8069 cat >conftest.$ac_ext <<_ACEOF
8072 cat confdefs.h >>conftest.$ac_ext
8073 cat >>conftest.$ac_ext <<_ACEOF
8074 /* end confdefs.h. */
8076 /* Override any gcc2 internal prototype to avoid an error. */
8080 /* We use char because int might match the return type of a gcc2
8081 builtin and then its argument prototype would still apply. */
8091 rm -f conftest.$ac_objext conftest$ac_exeext
8092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8093 (eval $ac_link) 2>conftest.er1
8095 grep -v '^ *+' conftest.er1 >conftest.err
8097 cat conftest.err >&5
8098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8099 (exit $ac_status); } &&
8100 { ac_try='test -z "$ac_c_werror_flag"
8101 || test ! -s conftest.err'
8102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8106 (exit $ac_status); }; } &&
8107 { ac_try='test -s conftest$ac_exeext'
8108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8112 (exit $ac_status); }; }; then
8113 ac_cv_lib_m_copysignf=yes
8115 echo "$as_me: failed program was:" >&5
8116 sed 's/^/| /' conftest.$ac_ext >&5
8118 ac_cv_lib_m_copysignf=no
8120 rm -f conftest.err conftest.$ac_objext \
8121 conftest$ac_exeext conftest.$ac_ext
8122 LIBS=$ac_check_lib_save_LIBS
8124 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
8125 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
8126 if test $ac_cv_lib_m_copysignf = yes; then
8128 cat >>confdefs.h <<\_ACEOF
8129 #define HAVE_COPYSIGNF 1
8134 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
8135 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
8136 if test "${ac_cv_lib_m_cosf+set}" = set; then
8137 echo $ECHO_N "(cached) $ECHO_C" >&6
8139 ac_check_lib_save_LIBS=$LIBS
8141 cat >conftest.$ac_ext <<_ACEOF
8144 cat confdefs.h >>conftest.$ac_ext
8145 cat >>conftest.$ac_ext <<_ACEOF
8146 /* end confdefs.h. */
8148 /* Override any gcc2 internal prototype to avoid an error. */
8152 /* We use char because int might match the return type of a gcc2
8153 builtin and then its argument prototype would still apply. */
8163 rm -f conftest.$ac_objext conftest$ac_exeext
8164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8165 (eval $ac_link) 2>conftest.er1
8167 grep -v '^ *+' conftest.er1 >conftest.err
8169 cat conftest.err >&5
8170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8171 (exit $ac_status); } &&
8172 { ac_try='test -z "$ac_c_werror_flag"
8173 || test ! -s conftest.err'
8174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 (exit $ac_status); }; } &&
8179 { ac_try='test -s conftest$ac_exeext'
8180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184 (exit $ac_status); }; }; then
8185 ac_cv_lib_m_cosf=yes
8187 echo "$as_me: failed program was:" >&5
8188 sed 's/^/| /' conftest.$ac_ext >&5
8192 rm -f conftest.err conftest.$ac_objext \
8193 conftest$ac_exeext conftest.$ac_ext
8194 LIBS=$ac_check_lib_save_LIBS
8196 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
8197 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
8198 if test $ac_cv_lib_m_cosf = yes; then
8200 cat >>confdefs.h <<\_ACEOF
8206 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
8207 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
8208 if test "${ac_cv_lib_m_coshf+set}" = set; then
8209 echo $ECHO_N "(cached) $ECHO_C" >&6
8211 ac_check_lib_save_LIBS=$LIBS
8213 cat >conftest.$ac_ext <<_ACEOF
8216 cat confdefs.h >>conftest.$ac_ext
8217 cat >>conftest.$ac_ext <<_ACEOF
8218 /* end confdefs.h. */
8220 /* Override any gcc2 internal prototype to avoid an error. */
8224 /* We use char because int might match the return type of a gcc2
8225 builtin and then its argument prototype would still apply. */
8235 rm -f conftest.$ac_objext conftest$ac_exeext
8236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8237 (eval $ac_link) 2>conftest.er1
8239 grep -v '^ *+' conftest.er1 >conftest.err
8241 cat conftest.err >&5
8242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8243 (exit $ac_status); } &&
8244 { ac_try='test -z "$ac_c_werror_flag"
8245 || test ! -s conftest.err'
8246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8250 (exit $ac_status); }; } &&
8251 { ac_try='test -s conftest$ac_exeext'
8252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8256 (exit $ac_status); }; }; then
8257 ac_cv_lib_m_coshf=yes
8259 echo "$as_me: failed program was:" >&5
8260 sed 's/^/| /' conftest.$ac_ext >&5
8262 ac_cv_lib_m_coshf=no
8264 rm -f conftest.err conftest.$ac_objext \
8265 conftest$ac_exeext conftest.$ac_ext
8266 LIBS=$ac_check_lib_save_LIBS
8268 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
8269 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
8270 if test $ac_cv_lib_m_coshf = yes; then
8272 cat >>confdefs.h <<\_ACEOF
8273 #define HAVE_COSHF 1
8278 echo "$as_me:$LINENO: checking for expf in -lm" >&5
8279 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
8280 if test "${ac_cv_lib_m_expf+set}" = set; then
8281 echo $ECHO_N "(cached) $ECHO_C" >&6
8283 ac_check_lib_save_LIBS=$LIBS
8285 cat >conftest.$ac_ext <<_ACEOF
8288 cat confdefs.h >>conftest.$ac_ext
8289 cat >>conftest.$ac_ext <<_ACEOF
8290 /* end confdefs.h. */
8292 /* Override any gcc2 internal prototype to avoid an error. */
8296 /* We use char because int might match the return type of a gcc2
8297 builtin and then its argument prototype would still apply. */
8307 rm -f conftest.$ac_objext conftest$ac_exeext
8308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8309 (eval $ac_link) 2>conftest.er1
8311 grep -v '^ *+' conftest.er1 >conftest.err
8313 cat conftest.err >&5
8314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8315 (exit $ac_status); } &&
8316 { ac_try='test -z "$ac_c_werror_flag"
8317 || test ! -s conftest.err'
8318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8322 (exit $ac_status); }; } &&
8323 { ac_try='test -s conftest$ac_exeext'
8324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328 (exit $ac_status); }; }; then
8329 ac_cv_lib_m_expf=yes
8331 echo "$as_me: failed program was:" >&5
8332 sed 's/^/| /' conftest.$ac_ext >&5
8336 rm -f conftest.err conftest.$ac_objext \
8337 conftest$ac_exeext conftest.$ac_ext
8338 LIBS=$ac_check_lib_save_LIBS
8340 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
8341 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
8342 if test $ac_cv_lib_m_expf = yes; then
8344 cat >>confdefs.h <<\_ACEOF
8350 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
8351 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
8352 if test "${ac_cv_lib_m_fabsf+set}" = set; then
8353 echo $ECHO_N "(cached) $ECHO_C" >&6
8355 ac_check_lib_save_LIBS=$LIBS
8357 cat >conftest.$ac_ext <<_ACEOF
8360 cat confdefs.h >>conftest.$ac_ext
8361 cat >>conftest.$ac_ext <<_ACEOF
8362 /* end confdefs.h. */
8364 /* Override any gcc2 internal prototype to avoid an error. */
8368 /* We use char because int might match the return type of a gcc2
8369 builtin and then its argument prototype would still apply. */
8379 rm -f conftest.$ac_objext conftest$ac_exeext
8380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8381 (eval $ac_link) 2>conftest.er1
8383 grep -v '^ *+' conftest.er1 >conftest.err
8385 cat conftest.err >&5
8386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8387 (exit $ac_status); } &&
8388 { ac_try='test -z "$ac_c_werror_flag"
8389 || test ! -s conftest.err'
8390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8394 (exit $ac_status); }; } &&
8395 { ac_try='test -s conftest$ac_exeext'
8396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8400 (exit $ac_status); }; }; then
8401 ac_cv_lib_m_fabsf=yes
8403 echo "$as_me: failed program was:" >&5
8404 sed 's/^/| /' conftest.$ac_ext >&5
8406 ac_cv_lib_m_fabsf=no
8408 rm -f conftest.err conftest.$ac_objext \
8409 conftest$ac_exeext conftest.$ac_ext
8410 LIBS=$ac_check_lib_save_LIBS
8412 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
8413 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
8414 if test $ac_cv_lib_m_fabsf = yes; then
8416 cat >>confdefs.h <<\_ACEOF
8417 #define HAVE_FABSF 1
8422 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
8423 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
8424 if test "${ac_cv_lib_m_floorf+set}" = set; then
8425 echo $ECHO_N "(cached) $ECHO_C" >&6
8427 ac_check_lib_save_LIBS=$LIBS
8429 cat >conftest.$ac_ext <<_ACEOF
8432 cat confdefs.h >>conftest.$ac_ext
8433 cat >>conftest.$ac_ext <<_ACEOF
8434 /* end confdefs.h. */
8436 /* Override any gcc2 internal prototype to avoid an error. */
8440 /* We use char because int might match the return type of a gcc2
8441 builtin and then its argument prototype would still apply. */
8451 rm -f conftest.$ac_objext conftest$ac_exeext
8452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8453 (eval $ac_link) 2>conftest.er1
8455 grep -v '^ *+' conftest.er1 >conftest.err
8457 cat conftest.err >&5
8458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8459 (exit $ac_status); } &&
8460 { ac_try='test -z "$ac_c_werror_flag"
8461 || test ! -s conftest.err'
8462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8466 (exit $ac_status); }; } &&
8467 { ac_try='test -s conftest$ac_exeext'
8468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 (exit $ac_status); }; }; then
8473 ac_cv_lib_m_floorf=yes
8475 echo "$as_me: failed program was:" >&5
8476 sed 's/^/| /' conftest.$ac_ext >&5
8478 ac_cv_lib_m_floorf=no
8480 rm -f conftest.err conftest.$ac_objext \
8481 conftest$ac_exeext conftest.$ac_ext
8482 LIBS=$ac_check_lib_save_LIBS
8484 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
8485 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
8486 if test $ac_cv_lib_m_floorf = yes; then
8488 cat >>confdefs.h <<\_ACEOF
8489 #define HAVE_FLOORF 1
8494 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
8495 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
8496 if test "${ac_cv_lib_m_frexpf+set}" = set; then
8497 echo $ECHO_N "(cached) $ECHO_C" >&6
8499 ac_check_lib_save_LIBS=$LIBS
8501 cat >conftest.$ac_ext <<_ACEOF
8504 cat confdefs.h >>conftest.$ac_ext
8505 cat >>conftest.$ac_ext <<_ACEOF
8506 /* end confdefs.h. */
8508 /* Override any gcc2 internal prototype to avoid an error. */
8512 /* We use char because int might match the return type of a gcc2
8513 builtin and then its argument prototype would still apply. */
8523 rm -f conftest.$ac_objext conftest$ac_exeext
8524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8525 (eval $ac_link) 2>conftest.er1
8527 grep -v '^ *+' conftest.er1 >conftest.err
8529 cat conftest.err >&5
8530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8531 (exit $ac_status); } &&
8532 { ac_try='test -z "$ac_c_werror_flag"
8533 || test ! -s conftest.err'
8534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8538 (exit $ac_status); }; } &&
8539 { ac_try='test -s conftest$ac_exeext'
8540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544 (exit $ac_status); }; }; then
8545 ac_cv_lib_m_frexpf=yes
8547 echo "$as_me: failed program was:" >&5
8548 sed 's/^/| /' conftest.$ac_ext >&5
8550 ac_cv_lib_m_frexpf=no
8552 rm -f conftest.err conftest.$ac_objext \
8553 conftest$ac_exeext conftest.$ac_ext
8554 LIBS=$ac_check_lib_save_LIBS
8556 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
8557 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
8558 if test $ac_cv_lib_m_frexpf = yes; then
8560 cat >>confdefs.h <<\_ACEOF
8561 #define HAVE_FREXPF 1
8566 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
8567 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
8568 if test "${ac_cv_lib_m_hypotf+set}" = set; then
8569 echo $ECHO_N "(cached) $ECHO_C" >&6
8571 ac_check_lib_save_LIBS=$LIBS
8573 cat >conftest.$ac_ext <<_ACEOF
8576 cat confdefs.h >>conftest.$ac_ext
8577 cat >>conftest.$ac_ext <<_ACEOF
8578 /* end confdefs.h. */
8580 /* Override any gcc2 internal prototype to avoid an error. */
8584 /* We use char because int might match the return type of a gcc2
8585 builtin and then its argument prototype would still apply. */
8595 rm -f conftest.$ac_objext conftest$ac_exeext
8596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8597 (eval $ac_link) 2>conftest.er1
8599 grep -v '^ *+' conftest.er1 >conftest.err
8601 cat conftest.err >&5
8602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8603 (exit $ac_status); } &&
8604 { ac_try='test -z "$ac_c_werror_flag"
8605 || test ! -s conftest.err'
8606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8610 (exit $ac_status); }; } &&
8611 { ac_try='test -s conftest$ac_exeext'
8612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8616 (exit $ac_status); }; }; then
8617 ac_cv_lib_m_hypotf=yes
8619 echo "$as_me: failed program was:" >&5
8620 sed 's/^/| /' conftest.$ac_ext >&5
8622 ac_cv_lib_m_hypotf=no
8624 rm -f conftest.err conftest.$ac_objext \
8625 conftest$ac_exeext conftest.$ac_ext
8626 LIBS=$ac_check_lib_save_LIBS
8628 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
8629 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
8630 if test $ac_cv_lib_m_hypotf = yes; then
8632 cat >>confdefs.h <<\_ACEOF
8633 #define HAVE_HYPOTF 1
8638 echo "$as_me:$LINENO: checking for logf in -lm" >&5
8639 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
8640 if test "${ac_cv_lib_m_logf+set}" = set; then
8641 echo $ECHO_N "(cached) $ECHO_C" >&6
8643 ac_check_lib_save_LIBS=$LIBS
8645 cat >conftest.$ac_ext <<_ACEOF
8648 cat confdefs.h >>conftest.$ac_ext
8649 cat >>conftest.$ac_ext <<_ACEOF
8650 /* end confdefs.h. */
8652 /* Override any gcc2 internal prototype to avoid an error. */
8656 /* We use char because int might match the return type of a gcc2
8657 builtin and then its argument prototype would still apply. */
8667 rm -f conftest.$ac_objext conftest$ac_exeext
8668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8669 (eval $ac_link) 2>conftest.er1
8671 grep -v '^ *+' conftest.er1 >conftest.err
8673 cat conftest.err >&5
8674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8675 (exit $ac_status); } &&
8676 { ac_try='test -z "$ac_c_werror_flag"
8677 || test ! -s conftest.err'
8678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8682 (exit $ac_status); }; } &&
8683 { ac_try='test -s conftest$ac_exeext'
8684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8688 (exit $ac_status); }; }; then
8689 ac_cv_lib_m_logf=yes
8691 echo "$as_me: failed program was:" >&5
8692 sed 's/^/| /' conftest.$ac_ext >&5
8696 rm -f conftest.err conftest.$ac_objext \
8697 conftest$ac_exeext conftest.$ac_ext
8698 LIBS=$ac_check_lib_save_LIBS
8700 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
8701 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
8702 if test $ac_cv_lib_m_logf = yes; then
8704 cat >>confdefs.h <<\_ACEOF
8710 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
8711 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
8712 if test "${ac_cv_lib_m_log10f+set}" = set; then
8713 echo $ECHO_N "(cached) $ECHO_C" >&6
8715 ac_check_lib_save_LIBS=$LIBS
8717 cat >conftest.$ac_ext <<_ACEOF
8720 cat confdefs.h >>conftest.$ac_ext
8721 cat >>conftest.$ac_ext <<_ACEOF
8722 /* end confdefs.h. */
8724 /* Override any gcc2 internal prototype to avoid an error. */
8728 /* We use char because int might match the return type of a gcc2
8729 builtin and then its argument prototype would still apply. */
8739 rm -f conftest.$ac_objext conftest$ac_exeext
8740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8741 (eval $ac_link) 2>conftest.er1
8743 grep -v '^ *+' conftest.er1 >conftest.err
8745 cat conftest.err >&5
8746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747 (exit $ac_status); } &&
8748 { ac_try='test -z "$ac_c_werror_flag"
8749 || test ! -s conftest.err'
8750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8754 (exit $ac_status); }; } &&
8755 { ac_try='test -s conftest$ac_exeext'
8756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8760 (exit $ac_status); }; }; then
8761 ac_cv_lib_m_log10f=yes
8763 echo "$as_me: failed program was:" >&5
8764 sed 's/^/| /' conftest.$ac_ext >&5
8766 ac_cv_lib_m_log10f=no
8768 rm -f conftest.err conftest.$ac_objext \
8769 conftest$ac_exeext conftest.$ac_ext
8770 LIBS=$ac_check_lib_save_LIBS
8772 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
8773 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
8774 if test $ac_cv_lib_m_log10f = yes; then
8776 cat >>confdefs.h <<\_ACEOF
8777 #define HAVE_LOG10F 1
8782 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
8783 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
8784 if test "${ac_cv_lib_m_log10l+set}" = set; then
8785 echo $ECHO_N "(cached) $ECHO_C" >&6
8787 ac_check_lib_save_LIBS=$LIBS
8789 cat >conftest.$ac_ext <<_ACEOF
8792 cat confdefs.h >>conftest.$ac_ext
8793 cat >>conftest.$ac_ext <<_ACEOF
8794 /* end confdefs.h. */
8796 /* Override any gcc2 internal prototype to avoid an error. */
8800 /* We use char because int might match the return type of a gcc2
8801 builtin and then its argument prototype would still apply. */
8811 rm -f conftest.$ac_objext conftest$ac_exeext
8812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8813 (eval $ac_link) 2>conftest.er1
8815 grep -v '^ *+' conftest.er1 >conftest.err
8817 cat conftest.err >&5
8818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8819 (exit $ac_status); } &&
8820 { ac_try='test -z "$ac_c_werror_flag"
8821 || test ! -s conftest.err'
8822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8826 (exit $ac_status); }; } &&
8827 { ac_try='test -s conftest$ac_exeext'
8828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8832 (exit $ac_status); }; }; then
8833 ac_cv_lib_m_log10l=yes
8835 echo "$as_me: failed program was:" >&5
8836 sed 's/^/| /' conftest.$ac_ext >&5
8838 ac_cv_lib_m_log10l=no
8840 rm -f conftest.err conftest.$ac_objext \
8841 conftest$ac_exeext conftest.$ac_ext
8842 LIBS=$ac_check_lib_save_LIBS
8844 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
8845 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
8846 if test $ac_cv_lib_m_log10l = yes; then
8848 cat >>confdefs.h <<\_ACEOF
8849 #define HAVE_LOG10L 1
8854 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
8855 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
8856 if test "${ac_cv_lib_m_nextafter+set}" = set; then
8857 echo $ECHO_N "(cached) $ECHO_C" >&6
8859 ac_check_lib_save_LIBS=$LIBS
8861 cat >conftest.$ac_ext <<_ACEOF
8864 cat confdefs.h >>conftest.$ac_ext
8865 cat >>conftest.$ac_ext <<_ACEOF
8866 /* end confdefs.h. */
8868 /* Override any gcc2 internal prototype to avoid an error. */
8872 /* We use char because int might match the return type of a gcc2
8873 builtin and then its argument prototype would still apply. */
8883 rm -f conftest.$ac_objext conftest$ac_exeext
8884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8885 (eval $ac_link) 2>conftest.er1
8887 grep -v '^ *+' conftest.er1 >conftest.err
8889 cat conftest.err >&5
8890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8891 (exit $ac_status); } &&
8892 { ac_try='test -z "$ac_c_werror_flag"
8893 || test ! -s conftest.err'
8894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8898 (exit $ac_status); }; } &&
8899 { ac_try='test -s conftest$ac_exeext'
8900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904 (exit $ac_status); }; }; then
8905 ac_cv_lib_m_nextafter=yes
8907 echo "$as_me: failed program was:" >&5
8908 sed 's/^/| /' conftest.$ac_ext >&5
8910 ac_cv_lib_m_nextafter=no
8912 rm -f conftest.err conftest.$ac_objext \
8913 conftest$ac_exeext conftest.$ac_ext
8914 LIBS=$ac_check_lib_save_LIBS
8916 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
8917 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
8918 if test $ac_cv_lib_m_nextafter = yes; then
8920 cat >>confdefs.h <<\_ACEOF
8921 #define HAVE_NEXTAFTER 1
8926 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
8927 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
8928 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
8929 echo $ECHO_N "(cached) $ECHO_C" >&6
8931 ac_check_lib_save_LIBS=$LIBS
8933 cat >conftest.$ac_ext <<_ACEOF
8936 cat confdefs.h >>conftest.$ac_ext
8937 cat >>conftest.$ac_ext <<_ACEOF
8938 /* end confdefs.h. */
8940 /* Override any gcc2 internal prototype to avoid an error. */
8944 /* We use char because int might match the return type of a gcc2
8945 builtin and then its argument prototype would still apply. */
8955 rm -f conftest.$ac_objext conftest$ac_exeext
8956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8957 (eval $ac_link) 2>conftest.er1
8959 grep -v '^ *+' conftest.er1 >conftest.err
8961 cat conftest.err >&5
8962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8963 (exit $ac_status); } &&
8964 { ac_try='test -z "$ac_c_werror_flag"
8965 || test ! -s conftest.err'
8966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8970 (exit $ac_status); }; } &&
8971 { ac_try='test -s conftest$ac_exeext'
8972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8976 (exit $ac_status); }; }; then
8977 ac_cv_lib_m_nextafterf=yes
8979 echo "$as_me: failed program was:" >&5
8980 sed 's/^/| /' conftest.$ac_ext >&5
8982 ac_cv_lib_m_nextafterf=no
8984 rm -f conftest.err conftest.$ac_objext \
8985 conftest$ac_exeext conftest.$ac_ext
8986 LIBS=$ac_check_lib_save_LIBS
8988 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
8989 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
8990 if test $ac_cv_lib_m_nextafterf = yes; then
8992 cat >>confdefs.h <<\_ACEOF
8993 #define HAVE_NEXTAFTERF 1
8998 echo "$as_me:$LINENO: checking for powf in -lm" >&5
8999 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
9000 if test "${ac_cv_lib_m_powf+set}" = set; then
9001 echo $ECHO_N "(cached) $ECHO_C" >&6
9003 ac_check_lib_save_LIBS=$LIBS
9005 cat >conftest.$ac_ext <<_ACEOF
9008 cat confdefs.h >>conftest.$ac_ext
9009 cat >>conftest.$ac_ext <<_ACEOF
9010 /* end confdefs.h. */
9012 /* Override any gcc2 internal prototype to avoid an error. */
9016 /* We use char because int might match the return type of a gcc2
9017 builtin and then its argument prototype would still apply. */
9027 rm -f conftest.$ac_objext conftest$ac_exeext
9028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9029 (eval $ac_link) 2>conftest.er1
9031 grep -v '^ *+' conftest.er1 >conftest.err
9033 cat conftest.err >&5
9034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9035 (exit $ac_status); } &&
9036 { ac_try='test -z "$ac_c_werror_flag"
9037 || test ! -s conftest.err'
9038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9042 (exit $ac_status); }; } &&
9043 { ac_try='test -s conftest$ac_exeext'
9044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048 (exit $ac_status); }; }; then
9049 ac_cv_lib_m_powf=yes
9051 echo "$as_me: failed program was:" >&5
9052 sed 's/^/| /' conftest.$ac_ext >&5
9056 rm -f conftest.err conftest.$ac_objext \
9057 conftest$ac_exeext conftest.$ac_ext
9058 LIBS=$ac_check_lib_save_LIBS
9060 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
9061 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
9062 if test $ac_cv_lib_m_powf = yes; then
9064 cat >>confdefs.h <<\_ACEOF
9070 echo "$as_me:$LINENO: checking for round in -lm" >&5
9071 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
9072 if test "${ac_cv_lib_m_round+set}" = set; then
9073 echo $ECHO_N "(cached) $ECHO_C" >&6
9075 ac_check_lib_save_LIBS=$LIBS
9077 cat >conftest.$ac_ext <<_ACEOF
9080 cat confdefs.h >>conftest.$ac_ext
9081 cat >>conftest.$ac_ext <<_ACEOF
9082 /* end confdefs.h. */
9084 /* Override any gcc2 internal prototype to avoid an error. */
9088 /* We use char because int might match the return type of a gcc2
9089 builtin and then its argument prototype would still apply. */
9099 rm -f conftest.$ac_objext conftest$ac_exeext
9100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9101 (eval $ac_link) 2>conftest.er1
9103 grep -v '^ *+' conftest.er1 >conftest.err
9105 cat conftest.err >&5
9106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9107 (exit $ac_status); } &&
9108 { ac_try='test -z "$ac_c_werror_flag"
9109 || test ! -s conftest.err'
9110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9114 (exit $ac_status); }; } &&
9115 { ac_try='test -s conftest$ac_exeext'
9116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120 (exit $ac_status); }; }; then
9121 ac_cv_lib_m_round=yes
9123 echo "$as_me: failed program was:" >&5
9124 sed 's/^/| /' conftest.$ac_ext >&5
9126 ac_cv_lib_m_round=no
9128 rm -f conftest.err conftest.$ac_objext \
9129 conftest$ac_exeext conftest.$ac_ext
9130 LIBS=$ac_check_lib_save_LIBS
9132 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
9133 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
9134 if test $ac_cv_lib_m_round = yes; then
9136 cat >>confdefs.h <<\_ACEOF
9137 #define HAVE_ROUND 1
9142 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
9143 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
9144 if test "${ac_cv_lib_m_roundf+set}" = set; then
9145 echo $ECHO_N "(cached) $ECHO_C" >&6
9147 ac_check_lib_save_LIBS=$LIBS
9149 cat >conftest.$ac_ext <<_ACEOF
9152 cat confdefs.h >>conftest.$ac_ext
9153 cat >>conftest.$ac_ext <<_ACEOF
9154 /* end confdefs.h. */
9156 /* Override any gcc2 internal prototype to avoid an error. */
9160 /* We use char because int might match the return type of a gcc2
9161 builtin and then its argument prototype would still apply. */
9171 rm -f conftest.$ac_objext conftest$ac_exeext
9172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9173 (eval $ac_link) 2>conftest.er1
9175 grep -v '^ *+' conftest.er1 >conftest.err
9177 cat conftest.err >&5
9178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9179 (exit $ac_status); } &&
9180 { ac_try='test -z "$ac_c_werror_flag"
9181 || test ! -s conftest.err'
9182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9186 (exit $ac_status); }; } &&
9187 { ac_try='test -s conftest$ac_exeext'
9188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9192 (exit $ac_status); }; }; then
9193 ac_cv_lib_m_roundf=yes
9195 echo "$as_me: failed program was:" >&5
9196 sed 's/^/| /' conftest.$ac_ext >&5
9198 ac_cv_lib_m_roundf=no
9200 rm -f conftest.err conftest.$ac_objext \
9201 conftest$ac_exeext conftest.$ac_ext
9202 LIBS=$ac_check_lib_save_LIBS
9204 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
9205 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
9206 if test $ac_cv_lib_m_roundf = yes; then
9208 cat >>confdefs.h <<\_ACEOF
9209 #define HAVE_ROUNDF 1
9214 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
9215 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
9216 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
9217 echo $ECHO_N "(cached) $ECHO_C" >&6
9219 ac_check_lib_save_LIBS=$LIBS
9221 cat >conftest.$ac_ext <<_ACEOF
9224 cat confdefs.h >>conftest.$ac_ext
9225 cat >>conftest.$ac_ext <<_ACEOF
9226 /* end confdefs.h. */
9228 /* Override any gcc2 internal prototype to avoid an error. */
9232 /* We use char because int might match the return type of a gcc2
9233 builtin and then its argument prototype would still apply. */
9243 rm -f conftest.$ac_objext conftest$ac_exeext
9244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9245 (eval $ac_link) 2>conftest.er1
9247 grep -v '^ *+' conftest.er1 >conftest.err
9249 cat conftest.err >&5
9250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9251 (exit $ac_status); } &&
9252 { ac_try='test -z "$ac_c_werror_flag"
9253 || test ! -s conftest.err'
9254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9258 (exit $ac_status); }; } &&
9259 { ac_try='test -s conftest$ac_exeext'
9260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9264 (exit $ac_status); }; }; then
9265 ac_cv_lib_m_scalbnf=yes
9267 echo "$as_me: failed program was:" >&5
9268 sed 's/^/| /' conftest.$ac_ext >&5
9270 ac_cv_lib_m_scalbnf=no
9272 rm -f conftest.err conftest.$ac_objext \
9273 conftest$ac_exeext conftest.$ac_ext
9274 LIBS=$ac_check_lib_save_LIBS
9276 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
9277 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
9278 if test $ac_cv_lib_m_scalbnf = yes; then
9280 cat >>confdefs.h <<\_ACEOF
9281 #define HAVE_SCALBNF 1
9286 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
9287 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
9288 if test "${ac_cv_lib_m_scalbn+set}" = set; then
9289 echo $ECHO_N "(cached) $ECHO_C" >&6
9291 ac_check_lib_save_LIBS=$LIBS
9293 cat >conftest.$ac_ext <<_ACEOF
9296 cat confdefs.h >>conftest.$ac_ext
9297 cat >>conftest.$ac_ext <<_ACEOF
9298 /* end confdefs.h. */
9300 /* Override any gcc2 internal prototype to avoid an error. */
9304 /* We use char because int might match the return type of a gcc2
9305 builtin and then its argument prototype would still apply. */
9315 rm -f conftest.$ac_objext conftest$ac_exeext
9316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9317 (eval $ac_link) 2>conftest.er1
9319 grep -v '^ *+' conftest.er1 >conftest.err
9321 cat conftest.err >&5
9322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9323 (exit $ac_status); } &&
9324 { ac_try='test -z "$ac_c_werror_flag"
9325 || test ! -s conftest.err'
9326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9330 (exit $ac_status); }; } &&
9331 { ac_try='test -s conftest$ac_exeext'
9332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9336 (exit $ac_status); }; }; then
9337 ac_cv_lib_m_scalbn=yes
9339 echo "$as_me: failed program was:" >&5
9340 sed 's/^/| /' conftest.$ac_ext >&5
9342 ac_cv_lib_m_scalbn=no
9344 rm -f conftest.err conftest.$ac_objext \
9345 conftest$ac_exeext conftest.$ac_ext
9346 LIBS=$ac_check_lib_save_LIBS
9348 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
9349 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
9350 if test $ac_cv_lib_m_scalbn = yes; then
9352 cat >>confdefs.h <<\_ACEOF
9353 #define HAVE_SCALBN 1
9358 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
9359 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
9360 if test "${ac_cv_lib_m_sinf+set}" = set; then
9361 echo $ECHO_N "(cached) $ECHO_C" >&6
9363 ac_check_lib_save_LIBS=$LIBS
9365 cat >conftest.$ac_ext <<_ACEOF
9368 cat confdefs.h >>conftest.$ac_ext
9369 cat >>conftest.$ac_ext <<_ACEOF
9370 /* end confdefs.h. */
9372 /* Override any gcc2 internal prototype to avoid an error. */
9376 /* We use char because int might match the return type of a gcc2
9377 builtin and then its argument prototype would still apply. */
9387 rm -f conftest.$ac_objext conftest$ac_exeext
9388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9389 (eval $ac_link) 2>conftest.er1
9391 grep -v '^ *+' conftest.er1 >conftest.err
9393 cat conftest.err >&5
9394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9395 (exit $ac_status); } &&
9396 { ac_try='test -z "$ac_c_werror_flag"
9397 || test ! -s conftest.err'
9398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9402 (exit $ac_status); }; } &&
9403 { ac_try='test -s conftest$ac_exeext'
9404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9408 (exit $ac_status); }; }; then
9409 ac_cv_lib_m_sinf=yes
9411 echo "$as_me: failed program was:" >&5
9412 sed 's/^/| /' conftest.$ac_ext >&5
9416 rm -f conftest.err conftest.$ac_objext \
9417 conftest$ac_exeext conftest.$ac_ext
9418 LIBS=$ac_check_lib_save_LIBS
9420 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
9421 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
9422 if test $ac_cv_lib_m_sinf = yes; then
9424 cat >>confdefs.h <<\_ACEOF
9430 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
9431 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
9432 if test "${ac_cv_lib_m_sinhf+set}" = set; then
9433 echo $ECHO_N "(cached) $ECHO_C" >&6
9435 ac_check_lib_save_LIBS=$LIBS
9437 cat >conftest.$ac_ext <<_ACEOF
9440 cat confdefs.h >>conftest.$ac_ext
9441 cat >>conftest.$ac_ext <<_ACEOF
9442 /* end confdefs.h. */
9444 /* Override any gcc2 internal prototype to avoid an error. */
9448 /* We use char because int might match the return type of a gcc2
9449 builtin and then its argument prototype would still apply. */
9459 rm -f conftest.$ac_objext conftest$ac_exeext
9460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9461 (eval $ac_link) 2>conftest.er1
9463 grep -v '^ *+' conftest.er1 >conftest.err
9465 cat conftest.err >&5
9466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9467 (exit $ac_status); } &&
9468 { ac_try='test -z "$ac_c_werror_flag"
9469 || test ! -s conftest.err'
9470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9474 (exit $ac_status); }; } &&
9475 { ac_try='test -s conftest$ac_exeext'
9476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9480 (exit $ac_status); }; }; then
9481 ac_cv_lib_m_sinhf=yes
9483 echo "$as_me: failed program was:" >&5
9484 sed 's/^/| /' conftest.$ac_ext >&5
9486 ac_cv_lib_m_sinhf=no
9488 rm -f conftest.err conftest.$ac_objext \
9489 conftest$ac_exeext conftest.$ac_ext
9490 LIBS=$ac_check_lib_save_LIBS
9492 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
9493 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
9494 if test $ac_cv_lib_m_sinhf = yes; then
9496 cat >>confdefs.h <<\_ACEOF
9497 #define HAVE_SINHF 1
9502 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
9503 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
9504 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
9505 echo $ECHO_N "(cached) $ECHO_C" >&6
9507 ac_check_lib_save_LIBS=$LIBS
9509 cat >conftest.$ac_ext <<_ACEOF
9512 cat confdefs.h >>conftest.$ac_ext
9513 cat >>conftest.$ac_ext <<_ACEOF
9514 /* end confdefs.h. */
9516 /* Override any gcc2 internal prototype to avoid an error. */
9520 /* We use char because int might match the return type of a gcc2
9521 builtin and then its argument prototype would still apply. */
9531 rm -f conftest.$ac_objext conftest$ac_exeext
9532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9533 (eval $ac_link) 2>conftest.er1
9535 grep -v '^ *+' conftest.er1 >conftest.err
9537 cat conftest.err >&5
9538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9539 (exit $ac_status); } &&
9540 { ac_try='test -z "$ac_c_werror_flag"
9541 || test ! -s conftest.err'
9542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9546 (exit $ac_status); }; } &&
9547 { ac_try='test -s conftest$ac_exeext'
9548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9552 (exit $ac_status); }; }; then
9553 ac_cv_lib_m_sqrtf=yes
9555 echo "$as_me: failed program was:" >&5
9556 sed 's/^/| /' conftest.$ac_ext >&5
9558 ac_cv_lib_m_sqrtf=no
9560 rm -f conftest.err conftest.$ac_objext \
9561 conftest$ac_exeext conftest.$ac_ext
9562 LIBS=$ac_check_lib_save_LIBS
9564 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
9565 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
9566 if test $ac_cv_lib_m_sqrtf = yes; then
9568 cat >>confdefs.h <<\_ACEOF
9569 #define HAVE_SQRTF 1
9574 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
9575 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
9576 if test "${ac_cv_lib_m_tanf+set}" = set; then
9577 echo $ECHO_N "(cached) $ECHO_C" >&6
9579 ac_check_lib_save_LIBS=$LIBS
9581 cat >conftest.$ac_ext <<_ACEOF
9584 cat confdefs.h >>conftest.$ac_ext
9585 cat >>conftest.$ac_ext <<_ACEOF
9586 /* end confdefs.h. */
9588 /* Override any gcc2 internal prototype to avoid an error. */
9592 /* We use char because int might match the return type of a gcc2
9593 builtin and then its argument prototype would still apply. */
9603 rm -f conftest.$ac_objext conftest$ac_exeext
9604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9605 (eval $ac_link) 2>conftest.er1
9607 grep -v '^ *+' conftest.er1 >conftest.err
9609 cat conftest.err >&5
9610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9611 (exit $ac_status); } &&
9612 { ac_try='test -z "$ac_c_werror_flag"
9613 || test ! -s conftest.err'
9614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9618 (exit $ac_status); }; } &&
9619 { ac_try='test -s conftest$ac_exeext'
9620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9624 (exit $ac_status); }; }; then
9625 ac_cv_lib_m_tanf=yes
9627 echo "$as_me: failed program was:" >&5
9628 sed 's/^/| /' conftest.$ac_ext >&5
9632 rm -f conftest.err conftest.$ac_objext \
9633 conftest$ac_exeext conftest.$ac_ext
9634 LIBS=$ac_check_lib_save_LIBS
9636 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
9637 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
9638 if test $ac_cv_lib_m_tanf = yes; then
9640 cat >>confdefs.h <<\_ACEOF
9646 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
9647 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
9648 if test "${ac_cv_lib_m_tanhf+set}" = set; then
9649 echo $ECHO_N "(cached) $ECHO_C" >&6
9651 ac_check_lib_save_LIBS=$LIBS
9653 cat >conftest.$ac_ext <<_ACEOF
9656 cat confdefs.h >>conftest.$ac_ext
9657 cat >>conftest.$ac_ext <<_ACEOF
9658 /* end confdefs.h. */
9660 /* Override any gcc2 internal prototype to avoid an error. */
9664 /* We use char because int might match the return type of a gcc2
9665 builtin and then its argument prototype would still apply. */
9675 rm -f conftest.$ac_objext conftest$ac_exeext
9676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9677 (eval $ac_link) 2>conftest.er1
9679 grep -v '^ *+' conftest.er1 >conftest.err
9681 cat conftest.err >&5
9682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9683 (exit $ac_status); } &&
9684 { ac_try='test -z "$ac_c_werror_flag"
9685 || test ! -s conftest.err'
9686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9690 (exit $ac_status); }; } &&
9691 { ac_try='test -s conftest$ac_exeext'
9692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9696 (exit $ac_status); }; }; then
9697 ac_cv_lib_m_tanhf=yes
9699 echo "$as_me: failed program was:" >&5
9700 sed 's/^/| /' conftest.$ac_ext >&5
9702 ac_cv_lib_m_tanhf=no
9704 rm -f conftest.err conftest.$ac_objext \
9705 conftest$ac_exeext conftest.$ac_ext
9706 LIBS=$ac_check_lib_save_LIBS
9708 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
9709 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
9710 if test $ac_cv_lib_m_tanhf = yes; then
9712 cat >>confdefs.h <<\_ACEOF
9713 #define HAVE_TANHF 1
9718 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
9719 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
9720 if test "${ac_cv_lib_m_trunc+set}" = set; then
9721 echo $ECHO_N "(cached) $ECHO_C" >&6
9723 ac_check_lib_save_LIBS=$LIBS
9725 cat >conftest.$ac_ext <<_ACEOF
9728 cat confdefs.h >>conftest.$ac_ext
9729 cat >>conftest.$ac_ext <<_ACEOF
9730 /* end confdefs.h. */
9732 /* Override any gcc2 internal prototype to avoid an error. */
9736 /* We use char because int might match the return type of a gcc2
9737 builtin and then its argument prototype would still apply. */
9747 rm -f conftest.$ac_objext conftest$ac_exeext
9748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9749 (eval $ac_link) 2>conftest.er1
9751 grep -v '^ *+' conftest.er1 >conftest.err
9753 cat conftest.err >&5
9754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9755 (exit $ac_status); } &&
9756 { ac_try='test -z "$ac_c_werror_flag"
9757 || 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_trunc=yes
9771 echo "$as_me: failed program was:" >&5
9772 sed 's/^/| /' conftest.$ac_ext >&5
9774 ac_cv_lib_m_trunc=no
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_trunc" >&5
9781 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
9782 if test $ac_cv_lib_m_trunc = yes; then
9784 cat >>confdefs.h <<\_ACEOF
9785 #define HAVE_TRUNC 1
9790 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
9791 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
9792 if test "${ac_cv_lib_m_truncf+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"
9829 || test ! -s conftest.err'
9830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9834 (exit $ac_status); }; } &&
9835 { ac_try='test -s conftest$ac_exeext'
9836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840 (exit $ac_status); }; }; then
9841 ac_cv_lib_m_truncf=yes
9843 echo "$as_me: failed program was:" >&5
9844 sed 's/^/| /' conftest.$ac_ext >&5
9846 ac_cv_lib_m_truncf=no
9848 rm -f conftest.err conftest.$ac_objext \
9849 conftest$ac_exeext conftest.$ac_ext
9850 LIBS=$ac_check_lib_save_LIBS
9852 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
9853 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
9854 if test $ac_cv_lib_m_truncf = yes; then
9856 cat >>confdefs.h <<\_ACEOF
9857 #define HAVE_TRUNCF 1
9862 echo "$as_me:$LINENO: checking for erf in -lm" >&5
9863 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
9864 if test "${ac_cv_lib_m_erf+set}" = set; then
9865 echo $ECHO_N "(cached) $ECHO_C" >&6
9867 ac_check_lib_save_LIBS=$LIBS
9869 cat >conftest.$ac_ext <<_ACEOF
9872 cat confdefs.h >>conftest.$ac_ext
9873 cat >>conftest.$ac_ext <<_ACEOF
9874 /* end confdefs.h. */
9876 /* Override any gcc2 internal prototype to avoid an error. */
9880 /* We use char because int might match the return type of a gcc2
9881 builtin and then its argument prototype would still apply. */
9891 rm -f conftest.$ac_objext conftest$ac_exeext
9892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9893 (eval $ac_link) 2>conftest.er1
9895 grep -v '^ *+' conftest.er1 >conftest.err
9897 cat conftest.err >&5
9898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9899 (exit $ac_status); } &&
9900 { ac_try='test -z "$ac_c_werror_flag"
9901 || test ! -s conftest.err'
9902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9906 (exit $ac_status); }; } &&
9907 { ac_try='test -s conftest$ac_exeext'
9908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9912 (exit $ac_status); }; }; then
9915 echo "$as_me: failed program was:" >&5
9916 sed 's/^/| /' conftest.$ac_ext >&5
9920 rm -f conftest.err conftest.$ac_objext \
9921 conftest$ac_exeext conftest.$ac_ext
9922 LIBS=$ac_check_lib_save_LIBS
9924 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
9925 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
9926 if test $ac_cv_lib_m_erf = yes; then
9928 cat >>confdefs.h <<\_ACEOF
9934 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
9935 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
9936 if test "${ac_cv_lib_m_erfc+set}" = set; then
9937 echo $ECHO_N "(cached) $ECHO_C" >&6
9939 ac_check_lib_save_LIBS=$LIBS
9941 cat >conftest.$ac_ext <<_ACEOF
9944 cat confdefs.h >>conftest.$ac_ext
9945 cat >>conftest.$ac_ext <<_ACEOF
9946 /* end confdefs.h. */
9948 /* Override any gcc2 internal prototype to avoid an error. */
9952 /* We use char because int might match the return type of a gcc2
9953 builtin and then its argument prototype would still apply. */
9963 rm -f conftest.$ac_objext conftest$ac_exeext
9964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9965 (eval $ac_link) 2>conftest.er1
9967 grep -v '^ *+' conftest.er1 >conftest.err
9969 cat conftest.err >&5
9970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9971 (exit $ac_status); } &&
9972 { ac_try='test -z "$ac_c_werror_flag"
9973 || test ! -s conftest.err'
9974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9978 (exit $ac_status); }; } &&
9979 { ac_try='test -s conftest$ac_exeext'
9980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9984 (exit $ac_status); }; }; then
9985 ac_cv_lib_m_erfc=yes
9987 echo "$as_me: failed program was:" >&5
9988 sed 's/^/| /' conftest.$ac_ext >&5
9992 rm -f conftest.err conftest.$ac_objext \
9993 conftest$ac_exeext conftest.$ac_ext
9994 LIBS=$ac_check_lib_save_LIBS
9996 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
9997 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
9998 if test $ac_cv_lib_m_erfc = yes; then
10000 cat >>confdefs.h <<\_ACEOF
10001 #define HAVE_ERFC 1
10006 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
10007 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
10008 if test "${ac_cv_lib_m_erfcf+set}" = set; then
10009 echo $ECHO_N "(cached) $ECHO_C" >&6
10011 ac_check_lib_save_LIBS=$LIBS
10013 cat >conftest.$ac_ext <<_ACEOF
10016 cat confdefs.h >>conftest.$ac_ext
10017 cat >>conftest.$ac_ext <<_ACEOF
10018 /* end confdefs.h. */
10020 /* Override any gcc2 internal prototype to avoid an error. */
10024 /* We use char because int might match the return type of a gcc2
10025 builtin and then its argument prototype would still apply. */
10035 rm -f conftest.$ac_objext conftest$ac_exeext
10036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10037 (eval $ac_link) 2>conftest.er1
10039 grep -v '^ *+' conftest.er1 >conftest.err
10041 cat conftest.err >&5
10042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10043 (exit $ac_status); } &&
10044 { ac_try='test -z "$ac_c_werror_flag"
10045 || test ! -s conftest.err'
10046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10047 (eval $ac_try) 2>&5
10049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050 (exit $ac_status); }; } &&
10051 { ac_try='test -s conftest$ac_exeext'
10052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10053 (eval $ac_try) 2>&5
10055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10056 (exit $ac_status); }; }; then
10057 ac_cv_lib_m_erfcf=yes
10059 echo "$as_me: failed program was:" >&5
10060 sed 's/^/| /' conftest.$ac_ext >&5
10062 ac_cv_lib_m_erfcf=no
10064 rm -f conftest.err conftest.$ac_objext \
10065 conftest$ac_exeext conftest.$ac_ext
10066 LIBS=$ac_check_lib_save_LIBS
10068 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
10069 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
10070 if test $ac_cv_lib_m_erfcf = yes; then
10072 cat >>confdefs.h <<\_ACEOF
10073 #define HAVE_ERFCF 1
10078 echo "$as_me:$LINENO: checking for erff in -lm" >&5
10079 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
10080 if test "${ac_cv_lib_m_erff+set}" = set; then
10081 echo $ECHO_N "(cached) $ECHO_C" >&6
10083 ac_check_lib_save_LIBS=$LIBS
10085 cat >conftest.$ac_ext <<_ACEOF
10088 cat confdefs.h >>conftest.$ac_ext
10089 cat >>conftest.$ac_ext <<_ACEOF
10090 /* end confdefs.h. */
10092 /* Override any gcc2 internal prototype to avoid an error. */
10096 /* We use char because int might match the return type of a gcc2
10097 builtin and then its argument prototype would still apply. */
10107 rm -f conftest.$ac_objext conftest$ac_exeext
10108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10109 (eval $ac_link) 2>conftest.er1
10111 grep -v '^ *+' conftest.er1 >conftest.err
10113 cat conftest.err >&5
10114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10115 (exit $ac_status); } &&
10116 { ac_try='test -z "$ac_c_werror_flag"
10117 || test ! -s conftest.err'
10118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10119 (eval $ac_try) 2>&5
10121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10122 (exit $ac_status); }; } &&
10123 { ac_try='test -s conftest$ac_exeext'
10124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10125 (eval $ac_try) 2>&5
10127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10128 (exit $ac_status); }; }; then
10129 ac_cv_lib_m_erff=yes
10131 echo "$as_me: failed program was:" >&5
10132 sed 's/^/| /' conftest.$ac_ext >&5
10134 ac_cv_lib_m_erff=no
10136 rm -f conftest.err conftest.$ac_objext \
10137 conftest$ac_exeext conftest.$ac_ext
10138 LIBS=$ac_check_lib_save_LIBS
10140 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
10141 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
10142 if test $ac_cv_lib_m_erff = yes; then
10144 cat >>confdefs.h <<\_ACEOF
10145 #define HAVE_ERFF 1
10150 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
10151 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
10152 if test "${ac_cv_lib_m_j0+set}" = set; then
10153 echo $ECHO_N "(cached) $ECHO_C" >&6
10155 ac_check_lib_save_LIBS=$LIBS
10157 cat >conftest.$ac_ext <<_ACEOF
10160 cat confdefs.h >>conftest.$ac_ext
10161 cat >>conftest.$ac_ext <<_ACEOF
10162 /* end confdefs.h. */
10164 /* Override any gcc2 internal prototype to avoid an error. */
10168 /* We use char because int might match the return type of a gcc2
10169 builtin and then its argument prototype would still apply. */
10179 rm -f conftest.$ac_objext conftest$ac_exeext
10180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10181 (eval $ac_link) 2>conftest.er1
10183 grep -v '^ *+' conftest.er1 >conftest.err
10185 cat conftest.err >&5
10186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10187 (exit $ac_status); } &&
10188 { ac_try='test -z "$ac_c_werror_flag"
10189 || test ! -s conftest.err'
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); }; } &&
10195 { ac_try='test -s conftest$ac_exeext'
10196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10197 (eval $ac_try) 2>&5
10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10200 (exit $ac_status); }; }; then
10203 echo "$as_me: failed program was:" >&5
10204 sed 's/^/| /' conftest.$ac_ext >&5
10208 rm -f conftest.err conftest.$ac_objext \
10209 conftest$ac_exeext conftest.$ac_ext
10210 LIBS=$ac_check_lib_save_LIBS
10212 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
10213 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
10214 if test $ac_cv_lib_m_j0 = yes; then
10216 cat >>confdefs.h <<\_ACEOF
10222 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
10223 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
10224 if test "${ac_cv_lib_m_j0f+set}" = set; then
10225 echo $ECHO_N "(cached) $ECHO_C" >&6
10227 ac_check_lib_save_LIBS=$LIBS
10229 cat >conftest.$ac_ext <<_ACEOF
10232 cat confdefs.h >>conftest.$ac_ext
10233 cat >>conftest.$ac_ext <<_ACEOF
10234 /* end confdefs.h. */
10236 /* Override any gcc2 internal prototype to avoid an error. */
10240 /* We use char because int might match the return type of a gcc2
10241 builtin and then its argument prototype would still apply. */
10251 rm -f conftest.$ac_objext conftest$ac_exeext
10252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10253 (eval $ac_link) 2>conftest.er1
10255 grep -v '^ *+' conftest.er1 >conftest.err
10257 cat conftest.err >&5
10258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10259 (exit $ac_status); } &&
10260 { ac_try='test -z "$ac_c_werror_flag"
10261 || test ! -s conftest.err'
10262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10263 (eval $ac_try) 2>&5
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 (exit $ac_status); }; } &&
10267 { ac_try='test -s conftest$ac_exeext'
10268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10269 (eval $ac_try) 2>&5
10271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10272 (exit $ac_status); }; }; then
10273 ac_cv_lib_m_j0f=yes
10275 echo "$as_me: failed program was:" >&5
10276 sed 's/^/| /' conftest.$ac_ext >&5
10280 rm -f conftest.err conftest.$ac_objext \
10281 conftest$ac_exeext conftest.$ac_ext
10282 LIBS=$ac_check_lib_save_LIBS
10284 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
10285 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
10286 if test $ac_cv_lib_m_j0f = yes; then
10288 cat >>confdefs.h <<\_ACEOF
10294 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
10295 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
10296 if test "${ac_cv_lib_m_j1+set}" = set; then
10297 echo $ECHO_N "(cached) $ECHO_C" >&6
10299 ac_check_lib_save_LIBS=$LIBS
10301 cat >conftest.$ac_ext <<_ACEOF
10304 cat confdefs.h >>conftest.$ac_ext
10305 cat >>conftest.$ac_ext <<_ACEOF
10306 /* end confdefs.h. */
10308 /* Override any gcc2 internal prototype to avoid an error. */
10312 /* We use char because int might match the return type of a gcc2
10313 builtin and then its argument prototype would still apply. */
10323 rm -f conftest.$ac_objext conftest$ac_exeext
10324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10325 (eval $ac_link) 2>conftest.er1
10327 grep -v '^ *+' conftest.er1 >conftest.err
10329 cat conftest.err >&5
10330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10331 (exit $ac_status); } &&
10332 { ac_try='test -z "$ac_c_werror_flag"
10333 || test ! -s conftest.err'
10334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10335 (eval $ac_try) 2>&5
10337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10338 (exit $ac_status); }; } &&
10339 { ac_try='test -s conftest$ac_exeext'
10340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10341 (eval $ac_try) 2>&5
10343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10344 (exit $ac_status); }; }; then
10347 echo "$as_me: failed program was:" >&5
10348 sed 's/^/| /' conftest.$ac_ext >&5
10352 rm -f conftest.err conftest.$ac_objext \
10353 conftest$ac_exeext conftest.$ac_ext
10354 LIBS=$ac_check_lib_save_LIBS
10356 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
10357 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
10358 if test $ac_cv_lib_m_j1 = yes; then
10360 cat >>confdefs.h <<\_ACEOF
10366 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
10367 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
10368 if test "${ac_cv_lib_m_j1f+set}" = set; then
10369 echo $ECHO_N "(cached) $ECHO_C" >&6
10371 ac_check_lib_save_LIBS=$LIBS
10373 cat >conftest.$ac_ext <<_ACEOF
10376 cat confdefs.h >>conftest.$ac_ext
10377 cat >>conftest.$ac_ext <<_ACEOF
10378 /* end confdefs.h. */
10380 /* Override any gcc2 internal prototype to avoid an error. */
10384 /* We use char because int might match the return type of a gcc2
10385 builtin and then its argument prototype would still apply. */
10395 rm -f conftest.$ac_objext conftest$ac_exeext
10396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10397 (eval $ac_link) 2>conftest.er1
10399 grep -v '^ *+' conftest.er1 >conftest.err
10401 cat conftest.err >&5
10402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403 (exit $ac_status); } &&
10404 { ac_try='test -z "$ac_c_werror_flag"
10405 || test ! -s conftest.err'
10406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10407 (eval $ac_try) 2>&5
10409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410 (exit $ac_status); }; } &&
10411 { ac_try='test -s conftest$ac_exeext'
10412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10413 (eval $ac_try) 2>&5
10415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10416 (exit $ac_status); }; }; then
10417 ac_cv_lib_m_j1f=yes
10419 echo "$as_me: failed program was:" >&5
10420 sed 's/^/| /' conftest.$ac_ext >&5
10424 rm -f conftest.err conftest.$ac_objext \
10425 conftest$ac_exeext conftest.$ac_ext
10426 LIBS=$ac_check_lib_save_LIBS
10428 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
10429 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
10430 if test $ac_cv_lib_m_j1f = yes; then
10432 cat >>confdefs.h <<\_ACEOF
10438 echo "$as_me:$LINENO: checking for jn in -lm" >&5
10439 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
10440 if test "${ac_cv_lib_m_jn+set}" = set; then
10441 echo $ECHO_N "(cached) $ECHO_C" >&6
10443 ac_check_lib_save_LIBS=$LIBS
10445 cat >conftest.$ac_ext <<_ACEOF
10448 cat confdefs.h >>conftest.$ac_ext
10449 cat >>conftest.$ac_ext <<_ACEOF
10450 /* end confdefs.h. */
10452 /* Override any gcc2 internal prototype to avoid an error. */
10456 /* We use char because int might match the return type of a gcc2
10457 builtin and then its argument prototype would still apply. */
10467 rm -f conftest.$ac_objext conftest$ac_exeext
10468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10469 (eval $ac_link) 2>conftest.er1
10471 grep -v '^ *+' conftest.er1 >conftest.err
10473 cat conftest.err >&5
10474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10475 (exit $ac_status); } &&
10476 { ac_try='test -z "$ac_c_werror_flag"
10477 || test ! -s conftest.err'
10478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10479 (eval $ac_try) 2>&5
10481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10482 (exit $ac_status); }; } &&
10483 { ac_try='test -s conftest$ac_exeext'
10484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10485 (eval $ac_try) 2>&5
10487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10488 (exit $ac_status); }; }; then
10491 echo "$as_me: failed program was:" >&5
10492 sed 's/^/| /' conftest.$ac_ext >&5
10496 rm -f conftest.err conftest.$ac_objext \
10497 conftest$ac_exeext conftest.$ac_ext
10498 LIBS=$ac_check_lib_save_LIBS
10500 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
10501 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
10502 if test $ac_cv_lib_m_jn = yes; then
10504 cat >>confdefs.h <<\_ACEOF
10510 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
10511 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
10512 if test "${ac_cv_lib_m_jnf+set}" = set; then
10513 echo $ECHO_N "(cached) $ECHO_C" >&6
10515 ac_check_lib_save_LIBS=$LIBS
10517 cat >conftest.$ac_ext <<_ACEOF
10520 cat confdefs.h >>conftest.$ac_ext
10521 cat >>conftest.$ac_ext <<_ACEOF
10522 /* end confdefs.h. */
10524 /* Override any gcc2 internal prototype to avoid an error. */
10528 /* We use char because int might match the return type of a gcc2
10529 builtin and then its argument prototype would still apply. */
10539 rm -f conftest.$ac_objext conftest$ac_exeext
10540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10541 (eval $ac_link) 2>conftest.er1
10543 grep -v '^ *+' conftest.er1 >conftest.err
10545 cat conftest.err >&5
10546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10547 (exit $ac_status); } &&
10548 { ac_try='test -z "$ac_c_werror_flag"
10549 || test ! -s conftest.err'
10550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10551 (eval $ac_try) 2>&5
10553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10554 (exit $ac_status); }; } &&
10555 { ac_try='test -s conftest$ac_exeext'
10556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10557 (eval $ac_try) 2>&5
10559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10560 (exit $ac_status); }; }; then
10561 ac_cv_lib_m_jnf=yes
10563 echo "$as_me: failed program was:" >&5
10564 sed 's/^/| /' conftest.$ac_ext >&5
10568 rm -f conftest.err conftest.$ac_objext \
10569 conftest$ac_exeext conftest.$ac_ext
10570 LIBS=$ac_check_lib_save_LIBS
10572 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
10573 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
10574 if test $ac_cv_lib_m_jnf = yes; then
10576 cat >>confdefs.h <<\_ACEOF
10582 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
10583 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
10584 if test "${ac_cv_lib_m_y0+set}" = set; then
10585 echo $ECHO_N "(cached) $ECHO_C" >&6
10587 ac_check_lib_save_LIBS=$LIBS
10589 cat >conftest.$ac_ext <<_ACEOF
10592 cat confdefs.h >>conftest.$ac_ext
10593 cat >>conftest.$ac_ext <<_ACEOF
10594 /* end confdefs.h. */
10596 /* Override any gcc2 internal prototype to avoid an error. */
10600 /* We use char because int might match the return type of a gcc2
10601 builtin and then its argument prototype would still apply. */
10611 rm -f conftest.$ac_objext conftest$ac_exeext
10612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10613 (eval $ac_link) 2>conftest.er1
10615 grep -v '^ *+' conftest.er1 >conftest.err
10617 cat conftest.err >&5
10618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10619 (exit $ac_status); } &&
10620 { ac_try='test -z "$ac_c_werror_flag"
10621 || test ! -s conftest.err'
10622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10623 (eval $ac_try) 2>&5
10625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10626 (exit $ac_status); }; } &&
10627 { ac_try='test -s conftest$ac_exeext'
10628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10629 (eval $ac_try) 2>&5
10631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10632 (exit $ac_status); }; }; then
10635 echo "$as_me: failed program was:" >&5
10636 sed 's/^/| /' conftest.$ac_ext >&5
10640 rm -f conftest.err conftest.$ac_objext \
10641 conftest$ac_exeext conftest.$ac_ext
10642 LIBS=$ac_check_lib_save_LIBS
10644 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
10645 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
10646 if test $ac_cv_lib_m_y0 = yes; then
10648 cat >>confdefs.h <<\_ACEOF
10654 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
10655 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
10656 if test "${ac_cv_lib_m_y0f+set}" = set; then
10657 echo $ECHO_N "(cached) $ECHO_C" >&6
10659 ac_check_lib_save_LIBS=$LIBS
10661 cat >conftest.$ac_ext <<_ACEOF
10664 cat confdefs.h >>conftest.$ac_ext
10665 cat >>conftest.$ac_ext <<_ACEOF
10666 /* end confdefs.h. */
10668 /* Override any gcc2 internal prototype to avoid an error. */
10672 /* We use char because int might match the return type of a gcc2
10673 builtin and then its argument prototype would still apply. */
10683 rm -f conftest.$ac_objext conftest$ac_exeext
10684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10685 (eval $ac_link) 2>conftest.er1
10687 grep -v '^ *+' conftest.er1 >conftest.err
10689 cat conftest.err >&5
10690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10691 (exit $ac_status); } &&
10692 { ac_try='test -z "$ac_c_werror_flag"
10693 || test ! -s conftest.err'
10694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10695 (eval $ac_try) 2>&5
10697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10698 (exit $ac_status); }; } &&
10699 { ac_try='test -s conftest$ac_exeext'
10700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10701 (eval $ac_try) 2>&5
10703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10704 (exit $ac_status); }; }; then
10705 ac_cv_lib_m_y0f=yes
10707 echo "$as_me: failed program was:" >&5
10708 sed 's/^/| /' conftest.$ac_ext >&5
10712 rm -f conftest.err conftest.$ac_objext \
10713 conftest$ac_exeext conftest.$ac_ext
10714 LIBS=$ac_check_lib_save_LIBS
10716 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
10717 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
10718 if test $ac_cv_lib_m_y0f = yes; then
10720 cat >>confdefs.h <<\_ACEOF
10726 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
10727 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
10728 if test "${ac_cv_lib_m_y1+set}" = set; then
10729 echo $ECHO_N "(cached) $ECHO_C" >&6
10731 ac_check_lib_save_LIBS=$LIBS
10733 cat >conftest.$ac_ext <<_ACEOF
10736 cat confdefs.h >>conftest.$ac_ext
10737 cat >>conftest.$ac_ext <<_ACEOF
10738 /* end confdefs.h. */
10740 /* Override any gcc2 internal prototype to avoid an error. */
10744 /* We use char because int might match the return type of a gcc2
10745 builtin and then its argument prototype would still apply. */
10755 rm -f conftest.$ac_objext conftest$ac_exeext
10756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10757 (eval $ac_link) 2>conftest.er1
10759 grep -v '^ *+' conftest.er1 >conftest.err
10761 cat conftest.err >&5
10762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10763 (exit $ac_status); } &&
10764 { ac_try='test -z "$ac_c_werror_flag"
10765 || test ! -s conftest.err'
10766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10767 (eval $ac_try) 2>&5
10769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10770 (exit $ac_status); }; } &&
10771 { ac_try='test -s conftest$ac_exeext'
10772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10773 (eval $ac_try) 2>&5
10775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10776 (exit $ac_status); }; }; then
10779 echo "$as_me: failed program was:" >&5
10780 sed 's/^/| /' conftest.$ac_ext >&5
10784 rm -f conftest.err conftest.$ac_objext \
10785 conftest$ac_exeext conftest.$ac_ext
10786 LIBS=$ac_check_lib_save_LIBS
10788 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
10789 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
10790 if test $ac_cv_lib_m_y1 = yes; then
10792 cat >>confdefs.h <<\_ACEOF
10798 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
10799 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
10800 if test "${ac_cv_lib_m_y1f+set}" = set; then
10801 echo $ECHO_N "(cached) $ECHO_C" >&6
10803 ac_check_lib_save_LIBS=$LIBS
10805 cat >conftest.$ac_ext <<_ACEOF
10808 cat confdefs.h >>conftest.$ac_ext
10809 cat >>conftest.$ac_ext <<_ACEOF
10810 /* end confdefs.h. */
10812 /* Override any gcc2 internal prototype to avoid an error. */
10816 /* We use char because int might match the return type of a gcc2
10817 builtin and then its argument prototype would still apply. */
10827 rm -f conftest.$ac_objext conftest$ac_exeext
10828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10829 (eval $ac_link) 2>conftest.er1
10831 grep -v '^ *+' conftest.er1 >conftest.err
10833 cat conftest.err >&5
10834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10835 (exit $ac_status); } &&
10836 { ac_try='test -z "$ac_c_werror_flag"
10837 || test ! -s conftest.err'
10838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10839 (eval $ac_try) 2>&5
10841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10842 (exit $ac_status); }; } &&
10843 { ac_try='test -s conftest$ac_exeext'
10844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10845 (eval $ac_try) 2>&5
10847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10848 (exit $ac_status); }; }; then
10849 ac_cv_lib_m_y1f=yes
10851 echo "$as_me: failed program was:" >&5
10852 sed 's/^/| /' conftest.$ac_ext >&5
10856 rm -f conftest.err conftest.$ac_objext \
10857 conftest$ac_exeext conftest.$ac_ext
10858 LIBS=$ac_check_lib_save_LIBS
10860 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
10861 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
10862 if test $ac_cv_lib_m_y1f = yes; then
10864 cat >>confdefs.h <<\_ACEOF
10870 echo "$as_me:$LINENO: checking for yn in -lm" >&5
10871 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
10872 if test "${ac_cv_lib_m_yn+set}" = set; then
10873 echo $ECHO_N "(cached) $ECHO_C" >&6
10875 ac_check_lib_save_LIBS=$LIBS
10877 cat >conftest.$ac_ext <<_ACEOF
10880 cat confdefs.h >>conftest.$ac_ext
10881 cat >>conftest.$ac_ext <<_ACEOF
10882 /* end confdefs.h. */
10884 /* Override any gcc2 internal prototype to avoid an error. */
10888 /* We use char because int might match the return type of a gcc2
10889 builtin and then its argument prototype would still apply. */
10899 rm -f conftest.$ac_objext conftest$ac_exeext
10900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10901 (eval $ac_link) 2>conftest.er1
10903 grep -v '^ *+' conftest.er1 >conftest.err
10905 cat conftest.err >&5
10906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10907 (exit $ac_status); } &&
10908 { ac_try='test -z "$ac_c_werror_flag"
10909 || test ! -s conftest.err'
10910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10911 (eval $ac_try) 2>&5
10913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10914 (exit $ac_status); }; } &&
10915 { ac_try='test -s conftest$ac_exeext'
10916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10917 (eval $ac_try) 2>&5
10919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10920 (exit $ac_status); }; }; then
10923 echo "$as_me: failed program was:" >&5
10924 sed 's/^/| /' conftest.$ac_ext >&5
10928 rm -f conftest.err conftest.$ac_objext \
10929 conftest$ac_exeext conftest.$ac_ext
10930 LIBS=$ac_check_lib_save_LIBS
10932 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
10933 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
10934 if test $ac_cv_lib_m_yn = yes; then
10936 cat >>confdefs.h <<\_ACEOF
10942 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
10943 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
10944 if test "${ac_cv_lib_m_ynf+set}" = set; then
10945 echo $ECHO_N "(cached) $ECHO_C" >&6
10947 ac_check_lib_save_LIBS=$LIBS
10949 cat >conftest.$ac_ext <<_ACEOF
10952 cat confdefs.h >>conftest.$ac_ext
10953 cat >>conftest.$ac_ext <<_ACEOF
10954 /* end confdefs.h. */
10956 /* Override any gcc2 internal prototype to avoid an error. */
10960 /* We use char because int might match the return type of a gcc2
10961 builtin and then its argument prototype would still apply. */
10971 rm -f conftest.$ac_objext conftest$ac_exeext
10972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10973 (eval $ac_link) 2>conftest.er1
10975 grep -v '^ *+' conftest.er1 >conftest.err
10977 cat conftest.err >&5
10978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10979 (exit $ac_status); } &&
10980 { ac_try='test -z "$ac_c_werror_flag"
10981 || test ! -s conftest.err'
10982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10983 (eval $ac_try) 2>&5
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); }; } &&
10987 { ac_try='test -s conftest$ac_exeext'
10988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10989 (eval $ac_try) 2>&5
10991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10992 (exit $ac_status); }; }; then
10993 ac_cv_lib_m_ynf=yes
10995 echo "$as_me: failed program was:" >&5
10996 sed 's/^/| /' conftest.$ac_ext >&5
11000 rm -f conftest.err conftest.$ac_objext \
11001 conftest$ac_exeext conftest.$ac_ext
11002 LIBS=$ac_check_lib_save_LIBS
11004 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
11005 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
11006 if test $ac_cv_lib_m_ynf = yes; then
11008 cat >>confdefs.h <<\_ACEOF
11015 # Fallback in case isfinite is not available.
11016 echo "$as_me:$LINENO: checking for finite in -lm" >&5
11017 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
11018 if test "${ac_cv_lib_m_finite+set}" = set; then
11019 echo $ECHO_N "(cached) $ECHO_C" >&6
11021 ac_check_lib_save_LIBS=$LIBS
11023 cat >conftest.$ac_ext <<_ACEOF
11026 cat confdefs.h >>conftest.$ac_ext
11027 cat >>conftest.$ac_ext <<_ACEOF
11028 /* end confdefs.h. */
11030 /* Override any gcc2 internal prototype to avoid an error. */
11034 /* We use char because int might match the return type of a gcc2
11035 builtin and then its argument prototype would still apply. */
11045 rm -f conftest.$ac_objext conftest$ac_exeext
11046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11047 (eval $ac_link) 2>conftest.er1
11049 grep -v '^ *+' conftest.er1 >conftest.err
11051 cat conftest.err >&5
11052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11053 (exit $ac_status); } &&
11054 { ac_try='test -z "$ac_c_werror_flag"
11055 || test ! -s conftest.err'
11056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11057 (eval $ac_try) 2>&5
11059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11060 (exit $ac_status); }; } &&
11061 { ac_try='test -s conftest$ac_exeext'
11062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11063 (eval $ac_try) 2>&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); }; }; then
11067 ac_cv_lib_m_finite=yes
11069 echo "$as_me: failed program was:" >&5
11070 sed 's/^/| /' conftest.$ac_ext >&5
11072 ac_cv_lib_m_finite=no
11074 rm -f conftest.err conftest.$ac_objext \
11075 conftest$ac_exeext conftest.$ac_ext
11076 LIBS=$ac_check_lib_save_LIBS
11078 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
11079 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
11080 if test $ac_cv_lib_m_finite = yes; then
11082 cat >>confdefs.h <<\_ACEOF
11083 #define HAVE_FINITE 1
11089 # Let the user override this
11090 # Check whether --enable-cmath or --disable-cmath was given.
11091 if test "${enable_cmath+set}" = set; then
11092 enableval="$enable_cmath"
11093 need_math=$enableval
11095 if test "$need_math" = "yes"; then
11096 { echo "$as_me:$LINENO: Including complex math functions in libgfor" >&5
11097 echo "$as_me: Including complex math functions in libgfor" >&6;};
11098 extra_math_obj='$(gfor_cmath_obj)'
11101 MATH_OBJ="$extra_math_obj"
11104 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
11105 # for struct timezone, as you might think. We also need to check how
11106 # to call gettimeofday if we have it.
11107 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
11108 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
11109 if test "${ac_cv_header_time+set}" = set; then
11110 echo $ECHO_N "(cached) $ECHO_C" >&6
11112 cat >conftest.$ac_ext <<_ACEOF
11115 cat confdefs.h >>conftest.$ac_ext
11116 cat >>conftest.$ac_ext <<_ACEOF
11117 /* end confdefs.h. */
11118 #include <sys/types.h>
11119 #include <sys/time.h>
11125 if ((struct tm *) 0)
11131 rm -f conftest.$ac_objext
11132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11133 (eval $ac_compile) 2>conftest.er1
11135 grep -v '^ *+' conftest.er1 >conftest.err
11137 cat conftest.err >&5
11138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11139 (exit $ac_status); } &&
11140 { ac_try='test -z "$ac_c_werror_flag"
11141 || test ! -s conftest.err'
11142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11143 (eval $ac_try) 2>&5
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); }; } &&
11147 { ac_try='test -s conftest.$ac_objext'
11148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11149 (eval $ac_try) 2>&5
11151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11152 (exit $ac_status); }; }; then
11153 ac_cv_header_time=yes
11155 echo "$as_me: failed program was:" >&5
11156 sed 's/^/| /' conftest.$ac_ext >&5
11158 ac_cv_header_time=no
11160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11162 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
11163 echo "${ECHO_T}$ac_cv_header_time" >&6
11164 if test $ac_cv_header_time = yes; then
11166 cat >>confdefs.h <<\_ACEOF
11167 #define TIME_WITH_SYS_TIME 1
11174 for ac_func in gettimeofday
11176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11177 echo "$as_me:$LINENO: checking for $ac_func" >&5
11178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11179 if eval "test \"\${$as_ac_var+set}\" = set"; then
11180 echo $ECHO_N "(cached) $ECHO_C" >&6
11182 cat >conftest.$ac_ext <<_ACEOF
11185 cat confdefs.h >>conftest.$ac_ext
11186 cat >>conftest.$ac_ext <<_ACEOF
11187 /* end confdefs.h. */
11188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11190 #define $ac_func innocuous_$ac_func
11192 /* System header to define __stub macros and hopefully few prototypes,
11193 which can conflict with char $ac_func (); below.
11194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11195 <limits.h> exists even on freestanding compilers. */
11198 # include <limits.h>
11200 # include <assert.h>
11205 /* Override any gcc2 internal prototype to avoid an error. */
11210 /* We use char because int might match the return type of a gcc2
11211 builtin and then its argument prototype would still apply. */
11213 /* The GNU C library defines this for functions which it implements
11214 to always fail with ENOSYS. Some functions are actually named
11215 something starting with __ and the normal name is an alias. */
11216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11219 char (*f) () = $ac_func;
11228 return f != $ac_func;
11233 rm -f conftest.$ac_objext conftest$ac_exeext
11234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11235 (eval $ac_link) 2>conftest.er1
11237 grep -v '^ *+' conftest.er1 >conftest.err
11239 cat conftest.err >&5
11240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11241 (exit $ac_status); } &&
11242 { ac_try='test -z "$ac_c_werror_flag"
11243 || test ! -s conftest.err'
11244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11245 (eval $ac_try) 2>&5
11247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11248 (exit $ac_status); }; } &&
11249 { ac_try='test -s conftest$ac_exeext'
11250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11251 (eval $ac_try) 2>&5
11253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11254 (exit $ac_status); }; }; then
11255 eval "$as_ac_var=yes"
11257 echo "$as_me: failed program was:" >&5
11258 sed 's/^/| /' conftest.$ac_ext >&5
11260 eval "$as_ac_var=no"
11262 rm -f conftest.err conftest.$ac_objext \
11263 conftest$ac_exeext conftest.$ac_ext
11265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11267 if test `eval echo '${'$as_ac_var'}'` = yes; then
11268 cat >>confdefs.h <<_ACEOF
11269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11275 if test "$ac_cv_func_gettimeofday" = yes; then
11276 echo "$as_me:$LINENO: checking for struct timezone" >&5
11277 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
11278 if test "${gfor_cv_struct_timezone+set}" = set; then
11279 echo $ECHO_N "(cached) $ECHO_C" >&6
11281 cat >conftest.$ac_ext <<_ACEOF
11284 cat confdefs.h >>conftest.$ac_ext
11285 cat >>conftest.$ac_ext <<_ACEOF
11286 /* end confdefs.h. */
11287 #include <sys/time.h>
11291 struct timezone tz;
11296 rm -f conftest.$ac_objext
11297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11298 (eval $ac_compile) 2>conftest.er1
11300 grep -v '^ *+' conftest.er1 >conftest.err
11302 cat conftest.err >&5
11303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11304 (exit $ac_status); } &&
11305 { ac_try='test -z "$ac_c_werror_flag"
11306 || test ! -s conftest.err'
11307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11308 (eval $ac_try) 2>&5
11310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11311 (exit $ac_status); }; } &&
11312 { ac_try='test -s conftest.$ac_objext'
11313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11314 (eval $ac_try) 2>&5
11316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11317 (exit $ac_status); }; }; then
11318 gfor_cv_struct_timezone=yes
11320 echo "$as_me: failed program was:" >&5
11321 sed 's/^/| /' conftest.$ac_ext >&5
11323 gfor_cv_struct_timezone=no
11325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11327 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
11328 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
11329 if test $gfor_cv_struct_timezone = yes; then
11330 if test "$cross_compiling" = yes; then
11331 gfor_have_struct_timezone=yes
11333 cat >conftest.$ac_ext <<_ACEOF
11336 cat confdefs.h >>conftest.$ac_ext
11337 cat >>conftest.$ac_ext <<_ACEOF
11338 /* end confdefs.h. */
11340 #ifdef TIME_WITH_SYS_TIME
11341 #include <sys/time.h>
11344 #ifdef HAVE_SYS_TIME_H
11345 #include <sys/time.h>
11352 struct timeval time;
11353 struct timezone dummy;
11354 if (gettimeofday (&time, &dummy))
11360 rm -f conftest$ac_exeext
11361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11362 (eval $ac_link) 2>&5
11364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11365 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11367 (eval $ac_try) 2>&5
11369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11370 (exit $ac_status); }; }; then
11371 gfor_have_struct_timezone=yes
11373 echo "$as_me: program exited with status $ac_status" >&5
11374 echo "$as_me: failed program was:" >&5
11375 sed 's/^/| /' conftest.$ac_ext >&5
11377 ( exit $ac_status )
11378 gfor_have_struct_timezone=no
11380 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11382 if test $gfor_have_struct_timezone = yes; then
11384 cat >>confdefs.h <<\_ACEOF
11385 #define HAVE_TIMEZONE 1
11391 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
11392 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
11393 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11394 echo $ECHO_N "(cached) $ECHO_C" >&6
11396 cat >conftest.$ac_ext <<_ACEOF
11399 cat confdefs.h >>conftest.$ac_ext
11400 cat >>conftest.$ac_ext <<_ACEOF
11401 /* end confdefs.h. */
11403 #ifdef TIME_WITH_SYS_TIME
11404 #include <sys/time.h>
11407 #ifdef HAVE_SYS_TIME_H
11408 #include <sys/time.h>
11418 struct timeval time;
11419 #ifdef HAVE_TIMEZONE
11420 struct timezone dummy;
11421 #define DUMMY &dummy
11425 gettimeofday (&time, DUMMY);
11430 rm -f conftest.$ac_objext conftest$ac_exeext
11431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11432 (eval $ac_link) 2>conftest.er1
11434 grep -v '^ *+' conftest.er1 >conftest.err
11436 cat conftest.err >&5
11437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11438 (exit $ac_status); } &&
11439 { ac_try='test -z "$ac_c_werror_flag"
11440 || test ! -s conftest.err'
11441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11442 (eval $ac_try) 2>&5
11444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11445 (exit $ac_status); }; } &&
11446 { ac_try='test -s conftest$ac_exeext'
11447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11448 (eval $ac_try) 2>&5
11450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11451 (exit $ac_status); }; }; then
11452 emacs_cv_gettimeofday_two_arguments=yes
11454 echo "$as_me: failed program was:" >&5
11455 sed 's/^/| /' conftest.$ac_ext >&5
11457 emacs_cv_gettimeofday_two_arguments=no
11459 rm -f conftest.err conftest.$ac_objext \
11460 conftest$ac_exeext conftest.$ac_ext
11462 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
11463 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11464 if test $emacs_cv_gettimeofday_two_arguments = no; then
11466 cat >>confdefs.h <<\_ACEOF
11467 #define GETTIMEOFDAY_ONE_ARGUMENT 1
11473 # Attempt to assert that the target is of common type in case we don't
11474 # have C99 integer types at all.
11476 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
11477 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
11478 if test "${target_ilp32+set}" = set; then
11479 echo $ECHO_N "(cached) $ECHO_C" >&6
11482 save_CFLAGS="$CFLAGS"
11484 cat >conftest.$ac_ext <<_ACEOF
11487 cat confdefs.h >>conftest.$ac_ext
11488 cat >>conftest.$ac_ext <<_ACEOF
11489 /* end confdefs.h. */
11495 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
11498 undefined_function ();
11504 rm -f conftest.$ac_objext conftest$ac_exeext
11505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11506 (eval $ac_link) 2>conftest.er1
11508 grep -v '^ *+' conftest.er1 >conftest.err
11510 cat conftest.err >&5
11511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11512 (exit $ac_status); } &&
11513 { ac_try='test -z "$ac_c_werror_flag"
11514 || test ! -s conftest.err'
11515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11516 (eval $ac_try) 2>&5
11518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11519 (exit $ac_status); }; } &&
11520 { ac_try='test -s conftest$ac_exeext'
11521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11522 (eval $ac_try) 2>&5
11524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11525 (exit $ac_status); }; }; then
11528 echo "$as_me: failed program was:" >&5
11529 sed 's/^/| /' conftest.$ac_ext >&5
11533 rm -f conftest.err conftest.$ac_objext \
11534 conftest$ac_exeext conftest.$ac_ext
11535 CFLAGS="$save_CFLAGS"
11537 echo "$as_me:$LINENO: result: $target_ilp32" >&5
11538 echo "${ECHO_T}$target_ilp32" >&6
11539 if test $target_ilp32 = yes; then
11541 cat >>confdefs.h <<\_ACEOF
11542 #define TARGET_ILP32 1
11548 # Check out attribute support.
11550 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
11551 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
11552 if test "${have_attribute_visibility+set}" = set; then
11553 echo $ECHO_N "(cached) $ECHO_C" >&6
11556 save_CFLAGS="$CFLAGS"
11557 CFLAGS="$CFLAGS -Werror"
11558 cat >conftest.$ac_ext <<_ACEOF
11561 cat confdefs.h >>conftest.$ac_ext
11562 cat >>conftest.$ac_ext <<_ACEOF
11563 /* end confdefs.h. */
11564 void __attribute__((visibility("hidden"))) foo(void) { }
11573 rm -f conftest.$ac_objext
11574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11575 (eval $ac_compile) 2>conftest.er1
11577 grep -v '^ *+' conftest.er1 >conftest.err
11579 cat conftest.err >&5
11580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11581 (exit $ac_status); } &&
11582 { ac_try='test -z "$ac_c_werror_flag"
11583 || test ! -s conftest.err'
11584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11585 (eval $ac_try) 2>&5
11587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11588 (exit $ac_status); }; } &&
11589 { ac_try='test -s conftest.$ac_objext'
11590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11591 (eval $ac_try) 2>&5
11593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11594 (exit $ac_status); }; }; then
11595 have_attribute_visibility=yes
11597 echo "$as_me: failed program was:" >&5
11598 sed 's/^/| /' conftest.$ac_ext >&5
11600 have_attribute_visibility=no
11602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11603 CFLAGS="$save_CFLAGS"
11605 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
11606 echo "${ECHO_T}$have_attribute_visibility" >&6
11607 if test $have_attribute_visibility = yes; then
11609 cat >>confdefs.h <<\_ACEOF
11610 #define HAVE_ATTRIBUTE_VISIBILITY 1
11615 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
11616 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
11617 if test "${have_attribute_dllexport+set}" = set; then
11618 echo $ECHO_N "(cached) $ECHO_C" >&6
11621 save_CFLAGS="$CFLAGS"
11622 CFLAGS="$CFLAGS -Werror"
11623 cat >conftest.$ac_ext <<_ACEOF
11626 cat confdefs.h >>conftest.$ac_ext
11627 cat >>conftest.$ac_ext <<_ACEOF
11628 /* end confdefs.h. */
11629 void __attribute__((dllexport)) foo(void) { }
11638 rm -f conftest.$ac_objext
11639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11640 (eval $ac_compile) 2>conftest.er1
11642 grep -v '^ *+' conftest.er1 >conftest.err
11644 cat conftest.err >&5
11645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11646 (exit $ac_status); } &&
11647 { ac_try='test -z "$ac_c_werror_flag"
11648 || test ! -s conftest.err'
11649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11650 (eval $ac_try) 2>&5
11652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11653 (exit $ac_status); }; } &&
11654 { ac_try='test -s conftest.$ac_objext'
11655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11656 (eval $ac_try) 2>&5
11658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11659 (exit $ac_status); }; }; then
11660 have_attribute_dllexport=yes
11662 echo "$as_me: failed program was:" >&5
11663 sed 's/^/| /' conftest.$ac_ext >&5
11665 have_attribute_dllexport=no
11667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11668 CFLAGS="$save_CFLAGS"
11670 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
11671 echo "${ECHO_T}$have_attribute_dllexport" >&6
11672 if test $have_attribute_dllexport = yes; then
11674 cat >>confdefs.h <<\_ACEOF
11675 #define HAVE_ATTRIBUTE_DLLEXPORT 1
11680 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
11681 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
11682 if test "${have_attribute_alias+set}" = set; then
11683 echo $ECHO_N "(cached) $ECHO_C" >&6
11686 cat >conftest.$ac_ext <<_ACEOF
11689 cat confdefs.h >>conftest.$ac_ext
11690 cat >>conftest.$ac_ext <<_ACEOF
11691 /* end confdefs.h. */
11693 #define ULP STR1(__USER_LABEL_PREFIX__)
11694 #define STR1(x) STR2(x)
11697 extern void bar(void) __attribute__((alias(ULP "foo")));
11706 rm -f conftest.$ac_objext conftest$ac_exeext
11707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11708 (eval $ac_link) 2>conftest.er1
11710 grep -v '^ *+' conftest.er1 >conftest.err
11712 cat conftest.err >&5
11713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11714 (exit $ac_status); } &&
11715 { ac_try='test -z "$ac_c_werror_flag"
11716 || test ! -s conftest.err'
11717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11718 (eval $ac_try) 2>&5
11720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11721 (exit $ac_status); }; } &&
11722 { ac_try='test -s conftest$ac_exeext'
11723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11724 (eval $ac_try) 2>&5
11726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11727 (exit $ac_status); }; }; then
11728 have_attribute_alias=yes
11730 echo "$as_me: failed program was:" >&5
11731 sed 's/^/| /' conftest.$ac_ext >&5
11733 have_attribute_alias=no
11735 rm -f conftest.err conftest.$ac_objext \
11736 conftest$ac_exeext conftest.$ac_ext
11738 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
11739 echo "${ECHO_T}$have_attribute_alias" >&6
11740 if test $have_attribute_alias = yes; then
11742 cat >>confdefs.h <<\_ACEOF
11743 #define HAVE_ATTRIBUTE_ALIAS 1
11748 cat >confcache <<\_ACEOF
11749 # This file is a shell script that caches the results of configure
11750 # tests run on this system so they can be shared between configure
11751 # scripts and configure runs, see configure's option --config-cache.
11752 # It is not useful on other systems. If it contains results you don't
11753 # want to keep, you may remove or edit it.
11755 # config.status only pays attention to the cache file if you give it
11756 # the --recheck option to rerun configure.
11758 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11759 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11760 # following values.
11764 # The following way of writing the cache mishandles newlines in values,
11765 # but we know of no workaround that is simple, portable, and efficient.
11766 # So, don't put newlines in cache variables' values.
11767 # Ultrix sh set writes to stderr and can't be redirected directly,
11768 # and sets the high bit in the cache file unless we assign to the vars.
11771 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11773 # `set' does not quote correctly, so add quotes (double-quote
11774 # substitution turns \\\\ into \\, and sed turns \\ into \).
11777 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11780 # `set' quotes correctly as required by POSIX, so do not add quotes.
11782 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11789 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11791 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11793 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11794 if test -w $cache_file; then
11795 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11796 cat confcache >$cache_file
11798 echo "not updating unwritable cache $cache_file"
11803 if test ${multilib} = yes; then
11804 multilib_arg="--enable-multilib"
11809 # Write our Makefile.
11810 ac_config_files="$ac_config_files Makefile"
11812 cat >confcache <<\_ACEOF
11813 # This file is a shell script that caches the results of configure
11814 # tests run on this system so they can be shared between configure
11815 # scripts and configure runs, see configure's option --config-cache.
11816 # It is not useful on other systems. If it contains results you don't
11817 # want to keep, you may remove or edit it.
11819 # config.status only pays attention to the cache file if you give it
11820 # the --recheck option to rerun configure.
11822 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11823 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11824 # following values.
11828 # The following way of writing the cache mishandles newlines in values,
11829 # but we know of no workaround that is simple, portable, and efficient.
11830 # So, don't put newlines in cache variables' values.
11831 # Ultrix sh set writes to stderr and can't be redirected directly,
11832 # and sets the high bit in the cache file unless we assign to the vars.
11835 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11837 # `set' does not quote correctly, so add quotes (double-quote
11838 # substitution turns \\\\ into \\, and sed turns \\ into \).
11841 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11844 # `set' quotes correctly as required by POSIX, so do not add quotes.
11846 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11853 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11855 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11857 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11858 if test -w $cache_file; then
11859 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11860 cat confcache >$cache_file
11862 echo "not updating unwritable cache $cache_file"
11867 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11868 # Let make expand exec_prefix.
11869 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11871 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11872 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11873 # trailing colons and then remove the whole line if VPATH becomes empty
11874 # (actually we leave an empty line to preserve line numbers).
11875 if test "x$srcdir" = x.; then
11876 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11877 s/:*\$(srcdir):*/:/;
11878 s/:*\${srcdir}:*/:/;
11880 s/^\([^=]*=[ ]*\):*/\1/;
11886 DEFS=-DHAVE_CONFIG_H
11890 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11891 # 1. Remove the extension, and $U if already installed.
11892 ac_i=`echo "$ac_i" |
11893 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11895 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
11896 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
11898 LIBOBJS=$ac_libobjs
11900 LTLIBOBJS=$ac_ltlibobjs
11903 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11904 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11905 Usually this means the macro was only invoked conditionally." >&5
11906 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11907 Usually this means the macro was only invoked conditionally." >&2;}
11908 { (exit 1); exit 1; }; }
11911 : ${CONFIG_STATUS=./config.status}
11912 ac_clean_files_save=$ac_clean_files
11913 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11914 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11915 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11916 cat >$CONFIG_STATUS <<_ACEOF
11918 # Generated by $as_me.
11919 # Run this file to recreate the current configuration.
11920 # Compiler output produced by configure, useful for debugging
11921 # configure, is in config.log if it exists.
11924 ac_cs_recheck=false
11926 SHELL=\${CONFIG_SHELL-$SHELL}
11929 cat >>$CONFIG_STATUS <<\_ACEOF
11930 ## --------------------- ##
11931 ## M4sh Initialization. ##
11932 ## --------------------- ##
11934 # Be Bourne compatible
11935 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11938 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11939 # is contrary to our usage. Disable this feature.
11940 alias -g '${1+"$@"}'='"$@"'
11941 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
11944 DUALCASE=1; export DUALCASE # for MKS sh
11946 # Support unset when possible.
11947 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11954 # Work around bugs in pre-3.0 UWIN ksh.
11955 $as_unset ENV MAIL MAILPATH
11962 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11963 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11964 LC_TELEPHONE LC_TIME
11966 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11967 eval $as_var=C; export $as_var
11973 # Required to use basename.
11974 if expr a : '\(a\)' >/dev/null 2>&1; then
11980 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
11981 as_basename=basename
11987 # Name of the executable.
11988 as_me=`$as_basename "$0" ||
11989 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11990 X"$0" : 'X\(//\)$' \| \
11991 X"$0" : 'X\(/\)$' \| \
11992 . : '\(.\)' 2>/dev/null ||
11994 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11995 /^X\/\(\/\/\)$/{ s//\1/; q; }
11996 /^X\/\(\/\).*/{ s//\1/; q; }
12000 # PATH needs CR, and LINENO needs CR and PATH.
12001 # Avoid depending upon Character Ranges.
12002 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12003 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12004 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12005 as_cr_digits='0123456789'
12006 as_cr_alnum=$as_cr_Letters$as_cr_digits
12008 # The user is always right.
12009 if test "${PATH_SEPARATOR+set}" != set; then
12010 echo "#! /bin/sh" >conf$$.sh
12011 echo "exit 0" >>conf$$.sh
12013 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12022 as_lineno_1=$LINENO
12023 as_lineno_2=$LINENO
12024 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12025 test "x$as_lineno_1" != "x$as_lineno_2" &&
12026 test "x$as_lineno_3" = "x$as_lineno_2" || {
12027 # Find who we are. Look in the path if we contain no path at all
12030 *[\\/]* ) as_myself=$0 ;;
12031 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12032 for as_dir in $PATH
12035 test -z "$as_dir" && as_dir=.
12036 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12041 # We did not find ourselves, most probably we were run as `sh COMMAND'
12042 # in which case we are not to be found in the path.
12043 if test "x$as_myself" = x; then
12046 if test ! -f "$as_myself"; then
12047 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12048 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12049 { (exit 1); exit 1; }; }
12051 case $CONFIG_SHELL in
12053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12054 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
12057 test -z "$as_dir" && as_dir=.
12058 for as_base in sh bash ksh sh5; do
12061 if ("$as_dir/$as_base" -c '
12062 as_lineno_1=$LINENO
12063 as_lineno_2=$LINENO
12064 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12065 test "x$as_lineno_1" != "x$as_lineno_2" &&
12066 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
12067 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
12068 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
12069 CONFIG_SHELL=$as_dir/$as_base
12070 export CONFIG_SHELL
12071 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12079 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12080 # uniformly replaced by the line number. The first 'sed' inserts a
12081 # line-number line before each line; the second 'sed' does the real
12082 # work. The second script uses 'N' to pair each line-number line
12083 # with the numbered line, and appends trailing '-' during
12084 # substitution so that $LINENO is not a special case at line end.
12085 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12086 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12087 sed '=' <$as_myself |
12092 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12095 s,^['$as_cr_digits']*\n,,
12096 ' >$as_me.lineno &&
12097 chmod +x $as_me.lineno ||
12098 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12099 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12100 { (exit 1); exit 1; }; }
12102 # Don't try to exec as it changes $[0], causing all sort of problems
12103 # (the dirname of $[0] is not the place where we might find the
12104 # original and so on. Autoconf is especially sensible to this).
12106 # Exit status is that of the last command.
12111 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12112 *c*,-n*) ECHO_N= ECHO_C='
12114 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
12115 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
12118 if expr a : '\(a\)' >/dev/null 2>&1; then
12124 rm -f conf$$ conf$$.exe conf$$.file
12126 if ln -s conf$$.file conf$$ 2>/dev/null; then
12127 # We could just check for DJGPP; but this test a) works b) is more generic
12128 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12129 if test -f conf$$.exe; then
12130 # Don't use ln at all; we don't have any links
12135 elif ln conf$$.file conf$$ 2>/dev/null; then
12140 rm -f conf$$ conf$$.exe conf$$.file
12142 if mkdir -p . 2>/dev/null; then
12145 test -d ./-p && rmdir ./-p
12149 as_executable_p="test -f"
12151 # Sed expression to map a string onto a valid CPP name.
12152 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12154 # Sed expression to map a string onto a valid variable name.
12155 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12159 # We need space, tab and new line, in precisely that order.
12169 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12170 # report actual input values of CONFIG_FILES etc. instead of their
12171 # values after options handling. Logging --version etc. is OK.
12175 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12176 ## Running $as_me. ##
12181 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
12182 generated by GNU Autoconf 2.59. Invocation command line was
12184 CONFIG_FILES = $CONFIG_FILES
12185 CONFIG_HEADERS = $CONFIG_HEADERS
12186 CONFIG_LINKS = $CONFIG_LINKS
12187 CONFIG_COMMANDS = $CONFIG_COMMANDS
12191 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12195 # Files that config.status was made for.
12196 if test -n "$ac_config_files"; then
12197 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12200 if test -n "$ac_config_headers"; then
12201 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12204 if test -n "$ac_config_links"; then
12205 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12208 if test -n "$ac_config_commands"; then
12209 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12212 cat >>$CONFIG_STATUS <<\_ACEOF
12215 \`$as_me' instantiates files from templates according to the
12216 current configuration.
12218 Usage: $0 [OPTIONS] [FILE]...
12220 -h, --help print this help, then exit
12221 -V, --version print version number, then exit
12222 -q, --quiet do not print progress messages
12223 -d, --debug don't remove temporary files
12224 --recheck update $as_me by reconfiguring in the same conditions
12225 --file=FILE[:TEMPLATE]
12226 instantiate the configuration file FILE
12227 --header=FILE[:TEMPLATE]
12228 instantiate the configuration header FILE
12230 Configuration files:
12233 Configuration headers:
12236 Configuration commands:
12239 Report bugs to <bug-autoconf@gnu.org>."
12242 cat >>$CONFIG_STATUS <<_ACEOF
12244 GNU Fortran Runtime Library config.status 0.2
12245 configured by $0, generated by GNU Autoconf 2.59,
12246 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12248 Copyright (C) 2003 Free Software Foundation, Inc.
12249 This config.status script is free software; the Free Software Foundation
12250 gives unlimited permission to copy, distribute and modify it."
12255 cat >>$CONFIG_STATUS <<\_ACEOF
12256 # If no file are specified by the user, then we need to provide default
12257 # value. By we need to know if files were specified by the user.
12263 ac_option=`expr "x$1" : 'x\([^=]*\)='`
12264 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
12272 *) # This is not an option, so the user has probably given explicit
12275 ac_need_defaults=false;;
12279 # Handling of the options.
12281 cat >>$CONFIG_STATUS <<\_ACEOF
12282 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12284 --version | --vers* | -V )
12285 echo "$ac_cs_version"; exit 0 ;;
12287 # Conflict between --help and --header
12288 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12289 Try \`$0 --help' for more information." >&5
12290 echo "$as_me: error: ambiguous option: $1
12291 Try \`$0 --help' for more information." >&2;}
12292 { (exit 1); exit 1; }; };;
12293 --help | --hel | -h )
12294 echo "$ac_cs_usage"; exit 0 ;;
12295 --debug | --d* | -d )
12297 --file | --fil | --fi | --f )
12299 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
12300 ac_need_defaults=false;;
12301 --header | --heade | --head | --hea )
12303 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
12304 ac_need_defaults=false;;
12305 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12306 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12309 # This is an error.
12310 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12311 Try \`$0 --help' for more information." >&5
12312 echo "$as_me: error: unrecognized option: $1
12313 Try \`$0 --help' for more information." >&2;}
12314 { (exit 1); exit 1; }; } ;;
12316 *) ac_config_targets="$ac_config_targets $1" ;;
12322 ac_configure_extra_args=
12324 if $ac_cs_silent; then
12326 ac_configure_extra_args="$ac_configure_extra_args --silent"
12330 cat >>$CONFIG_STATUS <<_ACEOF
12331 if \$ac_cs_recheck; then
12332 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12333 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12338 cat >>$CONFIG_STATUS <<_ACEOF
12340 # INIT-COMMANDS section.
12347 with_multisubdir="$with_multisubdir"
12348 with_multisrctop="$with_multisrctop"
12349 with_target_subdir="$with_target_subdir"
12350 ac_configure_args="${multilib_arg} ${ac_configure_args}"
12351 multi_basedir="$multi_basedir"
12352 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
12359 cat >>$CONFIG_STATUS <<\_ACEOF
12360 for ac_config_target in $ac_config_targets
12362 case "$ac_config_target" in
12363 # Handling of arguments.
12364 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12365 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
12366 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12367 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12368 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12369 { (exit 1); exit 1; }; };;
12373 # If the user did not use the arguments to specify the items to instantiate,
12374 # then the envvar interface is used. Set only those that are not.
12375 # We use the long form for the default assignment because of an extremely
12376 # bizarre bug on SunOS 4.1.3.
12377 if $ac_need_defaults; then
12378 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12379 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12380 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12383 # Have a temporary directory for convenience. Make it in the build tree
12384 # simply because there is no reason to put it here, and in addition,
12385 # creating and moving files from /tmp can sometimes cause problems.
12386 # Create a temporary directory, and hook for its removal unless debugging.
12389 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12390 trap '{ (exit 1); exit 1; }' 1 2 13 15
12393 # Create a (secure) tmp directory for tmp files.
12396 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12397 test -n "$tmp" && test -d "$tmp"
12400 tmp=./confstat$$-$RANDOM
12401 (umask 077 && mkdir $tmp)
12404 echo "$me: cannot create a temporary directory in ." >&2
12405 { (exit 1); exit 1; }
12410 cat >>$CONFIG_STATUS <<_ACEOF
12413 # CONFIG_FILES section.
12416 # No need to generate the scripts if there are no CONFIG_FILES.
12417 # This happens for instance when ./config.status config.h
12418 if test -n "\$CONFIG_FILES"; then
12419 # Protect against being on the right side of a sed subst in config.status.
12420 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12421 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12422 s,@SHELL@,$SHELL,;t t
12423 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12424 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12425 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12426 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12427 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12428 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12429 s,@exec_prefix@,$exec_prefix,;t t
12430 s,@prefix@,$prefix,;t t
12431 s,@program_transform_name@,$program_transform_name,;t t
12432 s,@bindir@,$bindir,;t t
12433 s,@sbindir@,$sbindir,;t t
12434 s,@libexecdir@,$libexecdir,;t t
12435 s,@datadir@,$datadir,;t t
12436 s,@sysconfdir@,$sysconfdir,;t t
12437 s,@sharedstatedir@,$sharedstatedir,;t t
12438 s,@localstatedir@,$localstatedir,;t t
12439 s,@libdir@,$libdir,;t t
12440 s,@includedir@,$includedir,;t t
12441 s,@oldincludedir@,$oldincludedir,;t t
12442 s,@infodir@,$infodir,;t t
12443 s,@mandir@,$mandir,;t t
12444 s,@build_alias@,$build_alias,;t t
12445 s,@host_alias@,$host_alias,;t t
12446 s,@target_alias@,$target_alias,;t t
12447 s,@DEFS@,$DEFS,;t t
12448 s,@ECHO_C@,$ECHO_C,;t t
12449 s,@ECHO_N@,$ECHO_N,;t t
12450 s,@ECHO_T@,$ECHO_T,;t t
12451 s,@LIBS@,$LIBS,;t t
12452 s,@build@,$build,;t t
12453 s,@build_cpu@,$build_cpu,;t t
12454 s,@build_vendor@,$build_vendor,;t t
12455 s,@build_os@,$build_os,;t t
12456 s,@host@,$host,;t t
12457 s,@host_cpu@,$host_cpu,;t t
12458 s,@host_vendor@,$host_vendor,;t t
12459 s,@host_os@,$host_os,;t t
12460 s,@target@,$target,;t t
12461 s,@target_cpu@,$target_cpu,;t t
12462 s,@target_vendor@,$target_vendor,;t t
12463 s,@target_os@,$target_os,;t t
12464 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12465 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12466 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12467 s,@CYGPATH_W@,$CYGPATH_W,;t t
12468 s,@PACKAGE@,$PACKAGE,;t t
12469 s,@VERSION@,$VERSION,;t t
12470 s,@ACLOCAL@,$ACLOCAL,;t t
12471 s,@AUTOCONF@,$AUTOCONF,;t t
12472 s,@AUTOMAKE@,$AUTOMAKE,;t t
12473 s,@AUTOHEADER@,$AUTOHEADER,;t t
12474 s,@MAKEINFO@,$MAKEINFO,;t t
12475 s,@install_sh@,$install_sh,;t t
12476 s,@STRIP@,$STRIP,;t t
12477 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12478 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
12479 s,@mkdir_p@,$mkdir_p,;t t
12481 s,@SET_MAKE@,$SET_MAKE,;t t
12482 s,@am__leading_dot@,$am__leading_dot,;t t
12483 s,@AMTAR@,$AMTAR,;t t
12484 s,@am__tar@,$am__tar,;t t
12485 s,@am__untar@,$am__untar,;t t
12486 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12487 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12488 s,@MAINT@,$MAINT,;t t
12489 s,@multi_basedir@,$multi_basedir,;t t
12490 s,@toolexecdir@,$toolexecdir,;t t
12491 s,@toolexeclibdir@,$toolexeclibdir,;t t
12493 s,@ac_ct_CC@,$ac_ct_CC,;t t
12494 s,@EXEEXT@,$EXEEXT,;t t
12495 s,@OBJEXT@,$OBJEXT,;t t
12496 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
12497 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
12499 s,@ac_ct_AS@,$ac_ct_AS,;t t
12501 s,@ac_ct_AR@,$ac_ct_AR,;t t
12502 s,@RANLIB@,$RANLIB,;t t
12503 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12504 s,@LN_S@,$LN_S,;t t
12505 s,@LIBTOOL@,$LIBTOOL,;t t
12506 s,@enable_shared@,$enable_shared,;t t
12507 s,@enable_static@,$enable_static,;t t
12509 s,@FCFLAGS@,$FCFLAGS,;t t
12510 s,@LDFLAGS@,$LDFLAGS,;t t
12511 s,@ac_ct_FC@,$ac_ct_FC,;t t
12512 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
12514 s,@CPPFLAGS@,$CPPFLAGS,;t t
12515 s,@EGREP@,$EGREP,;t t
12516 s,@MATH_OBJ@,$MATH_OBJ,;t t
12517 s,@LIBOBJS@,$LIBOBJS,;t t
12518 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12523 cat >>$CONFIG_STATUS <<\_ACEOF
12524 # Split the substitutions into bite-sized pieces for seds with
12525 # small command number limits, like on Digital OSF/1 and HP-UX.
12526 ac_max_sed_lines=48
12527 ac_sed_frag=1 # Number of current file.
12528 ac_beg=1 # First line for current file.
12529 ac_end=$ac_max_sed_lines # Line after last line for current file.
12532 while $ac_more_lines; do
12533 if test $ac_beg -gt 1; then
12534 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12536 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12538 if test ! -s $tmp/subs.frag; then
12539 ac_more_lines=false
12541 # The purpose of the label and of the branching condition is to
12542 # speed up the sed processing (if there are no `@' at all, there
12543 # is no need to browse any of the substitutions).
12544 # These are the two extra sed commands mentioned above.
12546 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
12547 if test -z "$ac_sed_cmds"; then
12548 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
12550 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12552 ac_sed_frag=`expr $ac_sed_frag + 1`
12554 ac_end=`expr $ac_end + $ac_max_sed_lines`
12557 if test -z "$ac_sed_cmds"; then
12560 fi # test -n "$CONFIG_FILES"
12563 cat >>$CONFIG_STATUS <<\_ACEOF
12564 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
12565 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12567 - | *:- | *:-:* ) # input from stdin
12569 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12570 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12571 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12572 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12573 * ) ac_file_in=$ac_file.in ;;
12576 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12577 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12578 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12579 X"$ac_file" : 'X\(//\)[^/]' \| \
12580 X"$ac_file" : 'X\(//\)$' \| \
12581 X"$ac_file" : 'X\(/\)' \| \
12582 . : '\(.\)' 2>/dev/null ||
12584 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12585 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12586 /^X\(\/\/\)$/{ s//\1/; q; }
12587 /^X\(\/\).*/{ s//\1/; q; }
12589 { if $as_mkdir_p; then
12594 while test ! -d "$as_dir"; do
12595 as_dirs="$as_dir $as_dirs"
12596 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12597 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12598 X"$as_dir" : 'X\(//\)[^/]' \| \
12599 X"$as_dir" : 'X\(//\)$' \| \
12600 X"$as_dir" : 'X\(/\)' \| \
12601 . : '\(.\)' 2>/dev/null ||
12603 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12604 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12605 /^X\(\/\/\)$/{ s//\1/; q; }
12606 /^X\(\/\).*/{ s//\1/; q; }
12609 test ! -n "$as_dirs" || mkdir $as_dirs
12610 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12611 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12612 { (exit 1); exit 1; }; }; }
12616 if test "$ac_dir" != .; then
12617 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12618 # A "../" for each directory in $ac_dir_suffix.
12619 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12621 ac_dir_suffix= ac_top_builddir=
12625 .) # No --srcdir option. We are building in place.
12627 if test -z "$ac_top_builddir"; then
12630 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12632 [\\/]* | ?:[\\/]* ) # Absolute path.
12633 ac_srcdir=$srcdir$ac_dir_suffix;
12634 ac_top_srcdir=$srcdir ;;
12635 *) # Relative path.
12636 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12637 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12640 # Do not use `cd foo && pwd` to compute absolute paths, because
12641 # the directories may not exist.
12643 .) ac_abs_builddir="$ac_dir";;
12646 .) ac_abs_builddir=`pwd`;;
12647 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12648 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12651 case $ac_abs_builddir in
12652 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12654 case ${ac_top_builddir}. in
12655 .) ac_abs_top_builddir=$ac_abs_builddir;;
12656 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12657 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12660 case $ac_abs_builddir in
12661 .) ac_abs_srcdir=$ac_srcdir;;
12664 .) ac_abs_srcdir=$ac_abs_builddir;;
12665 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12666 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12669 case $ac_abs_builddir in
12670 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12672 case $ac_top_srcdir in
12673 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12674 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12675 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12681 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12682 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
12685 if test x"$ac_file" != x-; then
12686 { echo "$as_me:$LINENO: creating $ac_file" >&5
12687 echo "$as_me: creating $ac_file" >&6;}
12690 # Let's still pretend it is `configure' which instantiates (i.e., don't
12691 # use $as_me), people would be surprised to read:
12692 # /* config.h. Generated by config.status. */
12693 if test x"$ac_file" = x-; then
12696 configure_input="$ac_file. "
12698 configure_input=$configure_input"Generated from `echo $ac_file_in |
12699 sed 's,.*/,,'` by configure."
12701 # First look for the input files in the build tree, otherwise in the
12703 ac_file_inputs=`IFS=:
12704 for f in $ac_file_in; do
12706 -) echo $tmp/stdin ;;
12708 # Absolute (can't be DOS-style, as IFS=:)
12709 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12710 echo "$as_me: error: cannot find input file: $f" >&2;}
12711 { (exit 1); exit 1; }; }
12714 if test -f "$f"; then
12717 elif test -f "$srcdir/$f"; then
12722 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12723 echo "$as_me: error: cannot find input file: $f" >&2;}
12724 { (exit 1); exit 1; }; }
12727 done` || { (exit 1); exit 1; }
12729 cat >>$CONFIG_STATUS <<_ACEOF
12733 cat >>$CONFIG_STATUS <<\_ACEOF
12735 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12736 s,@configure_input@,$configure_input,;t t
12737 s,@srcdir@,$ac_srcdir,;t t
12738 s,@abs_srcdir@,$ac_abs_srcdir,;t t
12739 s,@top_srcdir@,$ac_top_srcdir,;t t
12740 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
12741 s,@builddir@,$ac_builddir,;t t
12742 s,@abs_builddir@,$ac_abs_builddir,;t t
12743 s,@top_builddir@,$ac_top_builddir,;t t
12744 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
12745 s,@INSTALL@,$ac_INSTALL,;t t
12746 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12748 if test x"$ac_file" != x-; then
12749 mv $tmp/out $ac_file
12757 cat >>$CONFIG_STATUS <<\_ACEOF
12760 # CONFIG_HEADER section.
12763 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12764 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12766 # ac_d sets the value in "#define NAME VALUE" lines.
12767 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12768 ac_dB='[ ].*$,\1#\2'
12771 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12772 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12773 ac_uB='$,\1#\2define\3'
12777 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
12778 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12780 - | *:- | *:-:* ) # input from stdin
12782 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12783 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12784 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12785 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12786 * ) ac_file_in=$ac_file.in ;;
12789 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
12790 echo "$as_me: creating $ac_file" >&6;}
12792 # First look for the input files in the build tree, otherwise in the
12794 ac_file_inputs=`IFS=:
12795 for f in $ac_file_in; do
12797 -) echo $tmp/stdin ;;
12799 # Absolute (can't be DOS-style, as IFS=:)
12800 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12801 echo "$as_me: error: cannot find input file: $f" >&2;}
12802 { (exit 1); exit 1; }; }
12803 # Do quote $f, to prevent DOS paths from being IFS'd.
12806 if test -f "$f"; then
12809 elif test -f "$srcdir/$f"; then
12814 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12815 echo "$as_me: error: cannot find input file: $f" >&2;}
12816 { (exit 1); exit 1; }; }
12819 done` || { (exit 1); exit 1; }
12820 # Remove the trailing spaces.
12821 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12825 # Transform confdefs.h into two sed scripts, `conftest.defines' and
12826 # `conftest.undefs', that substitutes the proper values into
12827 # config.h.in to produce config.h. The first handles `#define'
12828 # templates, and the second `#undef' templates.
12829 # And first: Protect against being on the right side of a sed subst in
12830 # config.status. Protect against being in an unquoted here document
12831 # in config.status.
12832 rm -f conftest.defines conftest.undefs
12833 # Using a here document instead of a string reduces the quoting nightmare.
12834 # Putting comments in sed scripts is not portable.
12836 # `end' is used to avoid that the second main sed command (meant for
12837 # 0-ary CPP macros) applies to n-ary macro definitions.
12838 # See the Autoconf documentation for `clear'.
12839 cat >confdef2sed.sed <<\_ACEOF
12844 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12846 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12849 # If some macros were called several times there might be several times
12850 # the same #defines, which is useless. Nevertheless, we may not want to
12851 # sort them, since we want the *last* AC-DEFINE to be honored.
12852 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12853 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12854 rm -f confdef2sed.sed
12856 # This sed command replaces #undef with comments. This is necessary, for
12857 # example, in the case of _POSIX_SOURCE, which is predefined and required
12858 # on some systems where configure will not decide to define it.
12859 cat >>conftest.undefs <<\_ACEOF
12860 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12863 # Break up conftest.defines because some shells have a limit on the size
12864 # of here documents, and old seds have small limits too (100 cmds).
12865 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12866 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12867 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12868 echo ' :' >>$CONFIG_STATUS
12869 rm -f conftest.tail
12870 while grep . conftest.defines >/dev/null
12872 # Write a limited-size here document to $tmp/defines.sed.
12873 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12874 # Speed up: don't consider the non `#define' lines.
12875 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12876 # Work around the forget-to-reset-the-flag bug.
12877 echo 't clr' >>$CONFIG_STATUS
12878 echo ': clr' >>$CONFIG_STATUS
12879 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
12881 sed -f $tmp/defines.sed $tmp/in >$tmp/out
12883 mv $tmp/out $tmp/in
12885 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
12886 rm -f conftest.defines
12887 mv conftest.tail conftest.defines
12889 rm -f conftest.defines
12890 echo ' fi # grep' >>$CONFIG_STATUS
12891 echo >>$CONFIG_STATUS
12893 # Break up conftest.undefs because some shells have a limit on the size
12894 # of here documents, and old seds have small limits too (100 cmds).
12895 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12896 rm -f conftest.tail
12897 while grep . conftest.undefs >/dev/null
12899 # Write a limited-size here document to $tmp/undefs.sed.
12900 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12901 # Speed up: don't consider the non `#undef'
12902 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12903 # Work around the forget-to-reset-the-flag bug.
12904 echo 't clr' >>$CONFIG_STATUS
12905 echo ': clr' >>$CONFIG_STATUS
12906 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12908 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12910 mv $tmp/out $tmp/in
12912 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12913 rm -f conftest.undefs
12914 mv conftest.tail conftest.undefs
12916 rm -f conftest.undefs
12918 cat >>$CONFIG_STATUS <<\_ACEOF
12919 # Let's still pretend it is `configure' which instantiates (i.e., don't
12920 # use $as_me), people would be surprised to read:
12921 # /* config.h. Generated by config.status. */
12922 if test x"$ac_file" = x-; then
12923 echo "/* Generated by configure. */" >$tmp/config.h
12925 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12927 cat $tmp/in >>$tmp/config.h
12929 if test x"$ac_file" != x-; then
12930 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
12931 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12932 echo "$as_me: $ac_file is unchanged" >&6;}
12934 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12935 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12936 X"$ac_file" : 'X\(//\)[^/]' \| \
12937 X"$ac_file" : 'X\(//\)$' \| \
12938 X"$ac_file" : 'X\(/\)' \| \
12939 . : '\(.\)' 2>/dev/null ||
12941 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12942 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12943 /^X\(\/\/\)$/{ s//\1/; q; }
12944 /^X\(\/\).*/{ s//\1/; q; }
12946 { if $as_mkdir_p; then
12951 while test ! -d "$as_dir"; do
12952 as_dirs="$as_dir $as_dirs"
12953 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12954 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12955 X"$as_dir" : 'X\(//\)[^/]' \| \
12956 X"$as_dir" : 'X\(//\)$' \| \
12957 X"$as_dir" : 'X\(/\)' \| \
12958 . : '\(.\)' 2>/dev/null ||
12960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12961 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12962 /^X\(\/\/\)$/{ s//\1/; q; }
12963 /^X\(\/\).*/{ s//\1/; q; }
12966 test ! -n "$as_dirs" || mkdir $as_dirs
12967 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12968 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12969 { (exit 1); exit 1; }; }; }
12972 mv $tmp/config.h $ac_file
12976 rm -f $tmp/config.h
12978 # Compute $ac_file's index in $config_headers.
12980 for _am_header in $config_headers :; do
12981 case $_am_header in
12982 $ac_file | $ac_file:* )
12985 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12988 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
12989 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12990 X$ac_file : 'X\(//\)[^/]' \| \
12991 X$ac_file : 'X\(//\)$' \| \
12992 X$ac_file : 'X\(/\)' \| \
12993 . : '\(.\)' 2>/dev/null ||
12995 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12996 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12997 /^X\(\/\/\)$/{ s//\1/; q; }
12998 /^X\(\/\).*/{ s//\1/; q; }
12999 s/.*/./; q'`/stamp-h$_am_stamp_count
13002 cat >>$CONFIG_STATUS <<\_ACEOF
13005 # CONFIG_COMMANDS section.
13007 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
13008 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
13009 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
13010 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
13011 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13012 X"$ac_dest" : 'X\(//\)[^/]' \| \
13013 X"$ac_dest" : 'X\(//\)$' \| \
13014 X"$ac_dest" : 'X\(/\)' \| \
13015 . : '\(.\)' 2>/dev/null ||
13017 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13018 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13019 /^X\(\/\/\)$/{ s//\1/; q; }
13020 /^X\(\/\).*/{ s//\1/; q; }
13022 { if $as_mkdir_p; then
13027 while test ! -d "$as_dir"; do
13028 as_dirs="$as_dir $as_dirs"
13029 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13030 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13031 X"$as_dir" : 'X\(//\)[^/]' \| \
13032 X"$as_dir" : 'X\(//\)$' \| \
13033 X"$as_dir" : 'X\(/\)' \| \
13034 . : '\(.\)' 2>/dev/null ||
13036 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13037 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13038 /^X\(\/\/\)$/{ s//\1/; q; }
13039 /^X\(\/\).*/{ s//\1/; q; }
13042 test ! -n "$as_dirs" || mkdir $as_dirs
13043 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13044 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13045 { (exit 1); exit 1; }; }; }
13049 if test "$ac_dir" != .; then
13050 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13051 # A "../" for each directory in $ac_dir_suffix.
13052 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13054 ac_dir_suffix= ac_top_builddir=
13058 .) # No --srcdir option. We are building in place.
13060 if test -z "$ac_top_builddir"; then
13063 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
13065 [\\/]* | ?:[\\/]* ) # Absolute path.
13066 ac_srcdir=$srcdir$ac_dir_suffix;
13067 ac_top_srcdir=$srcdir ;;
13068 *) # Relative path.
13069 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13070 ac_top_srcdir=$ac_top_builddir$srcdir ;;
13073 # Do not use `cd foo && pwd` to compute absolute paths, because
13074 # the directories may not exist.
13076 .) ac_abs_builddir="$ac_dir";;
13079 .) ac_abs_builddir=`pwd`;;
13080 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
13081 *) ac_abs_builddir=`pwd`/"$ac_dir";;
13084 case $ac_abs_builddir in
13085 .) ac_abs_top_builddir=${ac_top_builddir}.;;
13087 case ${ac_top_builddir}. in
13088 .) ac_abs_top_builddir=$ac_abs_builddir;;
13089 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
13090 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
13093 case $ac_abs_builddir in
13094 .) ac_abs_srcdir=$ac_srcdir;;
13097 .) ac_abs_srcdir=$ac_abs_builddir;;
13098 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
13099 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
13102 case $ac_abs_builddir in
13103 .) ac_abs_top_srcdir=$ac_top_srcdir;;
13105 case $ac_top_srcdir in
13106 .) ac_abs_top_srcdir=$ac_abs_builddir;;
13107 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
13108 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
13113 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
13114 echo "$as_me: executing $ac_dest commands" >&6;}
13117 # Only add multilib support code if we just rebuilt the top-level
13119 case " $CONFIG_FILES " in
13121 ac_file=Makefile . ${multi_basedir}/config-ml.in
13128 cat >>$CONFIG_STATUS <<\_ACEOF
13130 { (exit 0); exit 0; }
13132 chmod +x $CONFIG_STATUS
13133 ac_clean_files=$ac_clean_files_save
13136 # configure is writing to config.log, and then calls config.status.
13137 # config.status does its own redirection, appending to config.log.
13138 # Unfortunately, on DOS this fails, as config.log is still kept open
13139 # by configure, so config.status won't be able to write to it; its
13140 # output is simply discarded. So we exec the FD to /dev/null,
13141 # effectively closing config.log, so it can be properly (re)opened and
13142 # appended to by config.status. When coming back to configure, we
13143 # need to make the FD available again.
13144 if test "$no_create" != yes; then
13146 ac_config_status_args=
13147 test "$silent" = yes &&
13148 ac_config_status_args="$ac_config_status_args --quiet"
13150 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13152 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13153 # would make configure fail if this is the last instruction.
13154 $ac_cs_success || { (exit 1); exit 1; }