2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.2.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='GNU Fortran Runtime Library'
269 PACKAGE_TARNAME='libgfortran'
270 PACKAGE_VERSION='0.2'
271 PACKAGE_STRING='GNU Fortran Runtime Library 0.2'
274 # Factoring default headers for most tests.
275 ac_includes_default="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran CPP CPPFLAGS EGREP MATH_OBJ LIBOBJS LTLIBOBJS'
314 # Initialize some variables set by options.
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name=s,x,x,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
378 -cache-file | --cache-file | --cache-fil | --cache-fi \
379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380 ac_prev=cache_file ;;
381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383 cache_file=$ac_optarg ;;
386 cache_file=config.cache ;;
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 datadir=$ac_optarg ;;
394 -disable-* | --disable-*)
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* | --enable-*)
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418 | --exec | --exe | --ex)
419 ac_prev=exec_prefix ;;
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422 | --exec=* | --exe=* | --ex=*)
423 exec_prefix=$ac_optarg ;;
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
429 -help | --help | --hel | --he | -h)
431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432 ac_init_help=recursive ;;
433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434 ac_init_help=short ;;
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
441 -includedir | --includedir | --includedi | --included | --include \
442 | --includ | --inclu | --incl | --inc)
443 ac_prev=includedir ;;
444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445 | --includ=* | --inclu=* | --incl=* | --inc=*)
446 includedir=$ac_optarg ;;
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
453 -libdir | --libdir | --libdi | --libd)
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459 | --libexe | --libex | --libe)
460 ac_prev=libexecdir ;;
461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462 | --libexe=* | --libex=* | --libe=*)
463 libexecdir=$ac_optarg ;;
465 -localstatedir | --localstatedir | --localstatedi | --localstated \
466 | --localstate | --localstat | --localsta | --localst \
467 | --locals | --local | --loca | --loc | --lo)
468 ac_prev=localstatedir ;;
469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472 localstatedir=$ac_optarg ;;
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480 # Obsolete; use --without-fp.
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493 | --oldin | --oldi | --old | --ol | --o)
494 ac_prev=oldincludedir ;;
495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498 oldincludedir=$ac_optarg ;;
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
505 -program-prefix | --program-prefix | --program-prefi | --program-pref \
506 | --program-pre | --program-pr | --program-p)
507 ac_prev=program_prefix ;;
508 -program-prefix=* | --program-prefix=* | --program-prefi=* \
509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510 program_prefix=$ac_optarg ;;
512 -program-suffix | --program-suffix | --program-suffi | --program-suff \
513 | --program-suf | --program-su | --program-s)
514 ac_prev=program_suffix ;;
515 -program-suffix=* | --program-suffix=* | --program-suffi=* \
516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517 program_suffix=$ac_optarg ;;
519 -program-transform-name | --program-transform-name \
520 | --program-transform-nam | --program-transform-na \
521 | --program-transform-n | --program-transform- \
522 | --program-transform | --program-transfor \
523 | --program-transfo | --program-transf \
524 | --program-trans | --program-tran \
525 | --progr-tra | --program-tr | --program-t)
526 ac_prev=program_transform_name ;;
527 -program-transform-name=* | --program-transform-name=* \
528 | --program-transform-nam=* | --program-transform-na=* \
529 | --program-transform-n=* | --program-transform-=* \
530 | --program-transform=* | --program-transfor=* \
531 | --program-transfo=* | --program-transf=* \
532 | --program-trans=* | --program-tran=* \
533 | --progr-tra=* | --program-tr=* | --program-t=*)
534 program_transform_name=$ac_optarg ;;
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 sbindir=$ac_optarg ;;
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548 | --sharedst | --shareds | --shared | --share | --shar \
550 ac_prev=sharedstatedir ;;
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 sharedstatedir=$ac_optarg ;;
557 -site | --site | --sit)
559 -site=* | --site=* | --sit=*)
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568 | --syscon | --sysco | --sysc | --sys | --sy)
569 ac_prev=sysconfdir ;;
570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572 sysconfdir=$ac_optarg ;;
574 -target | --target | --targe | --targ | --tar | --ta | --t)
575 ac_prev=target_alias ;;
576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577 target_alias=$ac_optarg ;;
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
582 -version | --version | --versio | --versi | --vers | -V)
586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* | --without-*)
599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612 | --x-incl | --x-inc | --x-in | --x-i)
613 ac_prev=x_includes ;;
614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616 x_includes=$ac_optarg ;;
618 -x-libraries | --x-libraries | --x-librarie | --x-librari \
619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620 ac_prev=x_libraries ;;
621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623 x_libraries=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
660 eval ac_val=$`echo $ac_var`
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val=$`echo $ac_var`
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689 if test "x$build_alias" = x; then
690 cross_compiling=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701 test "$silent" = yes && exec 6>/dev/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_FC_set=${FC+set}
754 ac_cv_env_FC_set=${FC+set}
755 ac_cv_env_FC_value=$FC
756 ac_env_FCFLAGS_set=${FCFLAGS+set}
757 ac_env_FCFLAGS_value=$FCFLAGS
758 ac_cv_env_FCFLAGS_set=${FCFLAGS+set}
759 ac_cv_env_FCFLAGS_value=$FCFLAGS
760 ac_env_LDFLAGS_set=${LDFLAGS+set}
761 ac_env_LDFLAGS_value=$LDFLAGS
762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value=$LDFLAGS
764 ac_env_CPP_set=${CPP+set}
765 ac_env_CPP_value=$CPP
766 ac_cv_env_CPP_set=${CPP+set}
767 ac_cv_env_CPP_value=$CPP
768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
774 # Report the --help message.
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
780 \`configure' configures GNU Fortran Runtime Library 0.2 to adapt to many kinds of systems.
782 Usage: $0 [OPTION]... [VAR=VALUE]...
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
787 Defaults for the options are specified in brackets.
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
814 For better control, use the options below.
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
834 --program-prefix=PREFIX prepend PREFIX to installed program names
835 --program-suffix=SUFFIX append SUFFIX to installed program names
836 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
839 --build=BUILD configure for building on BUILD [guessed]
840 --host=HOST cross-compile to build programs to run on HOST [BUILD]
841 --target=TARGET configure for building compilers for TARGET [HOST]
845 if test -n "$ac_init_help"; then
846 case $ac_init_help in
847 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.2:";;
852 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
853 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
854 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
855 --enable-maintainer-mode enable make rules and dependencies not useful
856 (and sometimes confusing) to the casual installer
857 --enable-multilib build many library versions (default)
858 --enable-shared=PKGS build shared libraries default=yes
859 --enable-static=PKGS build static libraries default=yes
860 --enable-fast-install=PKGS optimize for fast installation default=yes
861 --disable-libtool-lock avoid locking (might break parallel builds)
862 --disable-largefile omit support for large files
863 --enable-cmath Include complex math functions
866 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
867 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
868 --with-gnu-ld assume the C compiler uses GNU ld default=no
869 --with-pic try to use only PIC/non-PIC objects default=use both
871 Some influential environment variables:
872 CC C compiler command
873 CFLAGS C compiler flags
874 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
875 nonstandard directory <lib dir>
876 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
877 headers in a nonstandard directory <include dir>
878 FC Fortran compiler command
879 FCFLAGS Fortran compiler flags
882 Use these variables to override the choices made by `configure' or to help
883 it to find libraries and programs with nonstandard names/locations.
888 if test "$ac_init_help" = "recursive"; then
889 # If there are subdirs, report their specific --help.
891 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
892 test -d $ac_dir || continue
895 if test "$ac_dir" != .; then
896 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
897 # A "../" for each directory in $ac_dir_suffix.
898 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
900 ac_dir_suffix= ac_top_builddir=
904 .) # No --srcdir option. We are building in place.
906 if test -z "$ac_top_builddir"; then
909 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
911 [\\/]* | ?:[\\/]* ) # Absolute path.
912 ac_srcdir=$srcdir$ac_dir_suffix;
913 ac_top_srcdir=$srcdir ;;
915 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
916 ac_top_srcdir=$ac_top_builddir$srcdir ;;
919 # Do not use `cd foo && pwd` to compute absolute paths, because
920 # the directories may not exist.
922 .) ac_abs_builddir="$ac_dir";;
925 .) ac_abs_builddir=`pwd`;;
926 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
927 *) ac_abs_builddir=`pwd`/"$ac_dir";;
930 case $ac_abs_builddir in
931 .) ac_abs_top_builddir=${ac_top_builddir}.;;
933 case ${ac_top_builddir}. in
934 .) ac_abs_top_builddir=$ac_abs_builddir;;
935 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
936 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
939 case $ac_abs_builddir in
940 .) ac_abs_srcdir=$ac_srcdir;;
943 .) ac_abs_srcdir=$ac_abs_builddir;;
944 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
945 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
948 case $ac_abs_builddir in
949 .) ac_abs_top_srcdir=$ac_top_srcdir;;
951 case $ac_top_srcdir in
952 .) ac_abs_top_srcdir=$ac_abs_builddir;;
953 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
954 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
959 # Check for guested configure; otherwise get Cygnus style configure.
960 if test -f $ac_srcdir/configure.gnu; then
962 $SHELL $ac_srcdir/configure.gnu --help=recursive
963 elif test -f $ac_srcdir/configure; then
965 $SHELL $ac_srcdir/configure --help=recursive
966 elif test -f $ac_srcdir/configure.ac ||
967 test -f $ac_srcdir/configure.in; then
971 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
977 test -n "$ac_init_help" && exit 0
978 if $ac_init_version; then
980 GNU Fortran Runtime Library configure 0.2
981 generated by GNU Autoconf 2.59
983 Copyright (C) 2003 Free Software Foundation, Inc.
984 This configure script is free software; the Free Software Foundation
985 gives unlimited permission to copy, distribute and modify it.
991 This file contains any messages produced by compilers while
992 running configure, to aid debugging if configure makes a mistake.
994 It was created by GNU Fortran Runtime Library $as_me 0.2, which was
995 generated by GNU Autoconf 2.59. Invocation command line was
1006 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1007 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1008 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1009 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1010 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1012 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1013 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1015 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1016 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1017 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1018 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1019 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1020 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1021 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1029 test -z "$as_dir" && as_dir=.
1030 echo "PATH: $as_dir"
1045 # Keep a trace of the command line.
1046 # Strip out --no-create and --no-recursion so they do not pile up.
1047 # Strip out --silent because we don't want to record it for future runs.
1048 # Also quote any args containing shell meta-characters.
1049 # Make two passes to allow for proper duplicate-argument suppression.
1054 ac_must_keep_next=false
1060 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1064 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1065 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1068 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1070 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1071 if test $ac_must_keep_next = true; then
1072 ac_must_keep_next=false # Got value, back to normal.
1075 *=* | --config-cache | -C | -disable-* | --disable-* \
1076 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1077 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1078 | -with-* | --with-* | -without-* | --without-* | --x)
1079 case "$ac_configure_args0 " in
1080 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1083 -* ) ac_must_keep_next=true ;;
1086 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1087 # Get rid of the leading space.
1093 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1094 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1096 # When interrupted or exit'd, cleanup temporary files, and complete
1097 # config.log. We remove comments because anyway the quotes in there
1098 # would cause problems or look ugly.
1099 # WARNING: Be sure not to use single quotes in there, as some shells,
1100 # such as our DU 5.0 friend, will then `close' the trap.
1101 trap 'exit_status=$?
1102 # Save into config.log some information that might help in debugging.
1107 ## ---------------- ##
1108 ## Cache variables. ##
1109 ## ---------------- ##
1112 # The following way of writing the cache mishandles newlines in values,
1115 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1118 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1123 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1130 ## ----------------- ##
1131 ## Output variables. ##
1132 ## ----------------- ##
1135 for ac_var in $ac_subst_vars
1137 eval ac_val=$`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1142 if test -n "$ac_subst_files"; then
1149 for ac_var in $ac_subst_files
1151 eval ac_val=$`echo $ac_var`
1152 echo "$ac_var='"'"'$ac_val'"'"'"
1157 if test -s confdefs.h; then
1164 sed "/^$/d" confdefs.h | sort
1167 test "$ac_signal" != 0 &&
1168 echo "$as_me: caught signal $ac_signal"
1169 echo "$as_me: exit $exit_status"
1171 rm -f core *.core &&
1172 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1175 for ac_signal in 1 2 13 15; do
1176 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1180 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1181 rm -rf conftest* confdefs.h
1182 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1185 # Predefined preprocessor variables.
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_NAME "$PACKAGE_NAME"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_STRING "$PACKAGE_STRING"
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1212 # Let the site file select an alternate cache file if it wants to.
1213 # Prefer explicitly selected file to automatically selected ones.
1214 if test -z "$CONFIG_SITE"; then
1215 if test "x$prefix" != xNONE; then
1216 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1218 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1221 for ac_site_file in $CONFIG_SITE; do
1222 if test -r "$ac_site_file"; then
1223 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1224 echo "$as_me: loading site script $ac_site_file" >&6;}
1225 sed 's/^/| /' "$ac_site_file" >&5
1230 if test -r "$cache_file"; then
1231 # Some versions of bash will fail to source /dev/null (special
1232 # files actually), so we avoid doing that.
1233 if test -f "$cache_file"; then
1234 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1235 echo "$as_me: loading cache $cache_file" >&6;}
1237 [\\/]* | ?:[\\/]* ) . $cache_file;;
1238 *) . ./$cache_file;;
1242 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1243 echo "$as_me: creating cache $cache_file" >&6;}
1247 # Check that the precious variables saved in the cache have kept the same
1249 ac_cache_corrupted=false
1250 for ac_var in `(set) 2>&1 |
1251 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1252 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1253 eval ac_new_set=\$ac_env_${ac_var}_set
1254 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1255 eval ac_new_val="\$ac_env_${ac_var}_value"
1256 case $ac_old_set,$ac_new_set in
1258 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1260 ac_cache_corrupted=: ;;
1262 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1263 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1264 ac_cache_corrupted=: ;;
1267 if test "x$ac_old_val" != "x$ac_new_val"; then
1268 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1269 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1270 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1271 echo "$as_me: former value: $ac_old_val" >&2;}
1272 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1273 echo "$as_me: current value: $ac_new_val" >&2;}
1274 ac_cache_corrupted=:
1277 # Pass precious variables to config.status.
1278 if test "$ac_new_set" = set; then
1280 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1282 *) ac_arg=$ac_var=$ac_new_val ;;
1284 case " $ac_configure_args " in
1285 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1286 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1290 if $ac_cache_corrupted; then
1291 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1292 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1293 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1294 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1295 { (exit 1); exit 1; }; }
1299 ac_cpp='$CPP $CPPFLAGS'
1300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1330 ac_config_headers="$ac_config_headers config.h"
1337 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1338 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1339 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1340 if test "${enable_version_specific_runtime_libs+set}" = set; then
1341 enableval="$enable_version_specific_runtime_libs"
1342 case "$enableval" in
1343 yes) version_specific_libs=yes ;;
1344 no) version_specific_libs=no ;;
1345 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1346 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1347 { (exit 1); exit 1; }; };;
1350 version_specific_libs=no
1352 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1353 echo "${ECHO_T}$version_specific_libs" >&6
1356 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1358 # You will slowly go insane if you do not grok the following fact: when
1359 # building this library, the top-level /target/ becomes the library's /host/.
1361 # configure then causes --target to default to --host, exactly like any
1362 # other package using autoconf. Therefore, 'target' and 'host' will
1363 # always be the same. This makes sense both for native and cross compilers
1364 # just think about it for a little while. :-)
1366 # Also, if this library is being configured as part of a cross compiler, the
1367 # top-level configure script will pass the "real" host as $with_cross_host.
1369 # Do not delete or change the following two lines. For why, see
1370 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1372 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1373 if test -f $ac_dir/install-sh; then
1375 ac_install_sh="$ac_aux_dir/install-sh -c"
1377 elif test -f $ac_dir/install.sh; then
1379 ac_install_sh="$ac_aux_dir/install.sh -c"
1381 elif test -f $ac_dir/shtool; then
1383 ac_install_sh="$ac_aux_dir/shtool install -c"
1387 if test -z "$ac_aux_dir"; then
1388 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1389 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1390 { (exit 1); exit 1; }; }
1392 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1393 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1394 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1396 # Make sure we can run config.sub.
1397 $ac_config_sub sun4 >/dev/null 2>&1 ||
1398 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1399 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1400 { (exit 1); exit 1; }; }
1402 echo "$as_me:$LINENO: checking build system type" >&5
1403 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1404 if test "${ac_cv_build+set}" = set; then
1405 echo $ECHO_N "(cached) $ECHO_C" >&6
1407 ac_cv_build_alias=$build_alias
1408 test -z "$ac_cv_build_alias" &&
1409 ac_cv_build_alias=`$ac_config_guess`
1410 test -z "$ac_cv_build_alias" &&
1411 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1412 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1413 { (exit 1); exit 1; }; }
1414 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1415 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1416 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1417 { (exit 1); exit 1; }; }
1420 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1421 echo "${ECHO_T}$ac_cv_build" >&6
1423 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1424 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1425 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1428 echo "$as_me:$LINENO: checking host system type" >&5
1429 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1430 if test "${ac_cv_host+set}" = set; then
1431 echo $ECHO_N "(cached) $ECHO_C" >&6
1433 ac_cv_host_alias=$host_alias
1434 test -z "$ac_cv_host_alias" &&
1435 ac_cv_host_alias=$ac_cv_build_alias
1436 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1437 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1438 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1439 { (exit 1); exit 1; }; }
1442 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1443 echo "${ECHO_T}$ac_cv_host" >&6
1445 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1446 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1447 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1450 echo "$as_me:$LINENO: checking target system type" >&5
1451 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1452 if test "${ac_cv_target+set}" = set; then
1453 echo $ECHO_N "(cached) $ECHO_C" >&6
1455 ac_cv_target_alias=$target_alias
1456 test "x$ac_cv_target_alias" = "x" &&
1457 ac_cv_target_alias=$ac_cv_host_alias
1458 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1459 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1460 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1461 { (exit 1); exit 1; }; }
1464 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1465 echo "${ECHO_T}$ac_cv_target" >&6
1466 target=$ac_cv_target
1467 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1468 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1469 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1472 # The aliases save the names the user supplied, while $host etc.
1473 # will get canonicalized.
1474 test -n "$target_alias" &&
1475 test "$program_prefix$program_suffix$program_transform_name" = \
1477 program_prefix=${target_alias}-
1478 target_alias=${target_alias-$host_alias}
1480 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1481 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1482 # 1.8.2: minimum required version
1483 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1484 # of other PACKAGE_* variables will, however, and there's nothing
1485 # we can do about that; they come from AC_INIT).
1486 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1487 # file in the top srcdir, etc, etc), so stop complaining.
1488 # no-dependencies: turns off auto dependency generation (just for now)
1489 # -Wall: turns on all automake warnings...
1490 # -Wno-portability: ...except this one, since GNU make is required.
1491 am__api_version="1.9"
1492 # Find a good install program. We prefer a C program (faster),
1493 # so one script is as good as another. But avoid the broken or
1494 # incompatible versions:
1495 # SysV /etc/install, /usr/sbin/install
1496 # SunOS /usr/etc/install
1497 # IRIX /sbin/install
1499 # AmigaOS /C/install, which installs bootblocks on floppy discs
1500 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1501 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1502 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1503 # OS/2's system install, which has a completely different semantic
1504 # ./install, which can be erroneously created by make from ./install.sh.
1505 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1506 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1507 if test -z "$INSTALL"; then
1508 if test "${ac_cv_path_install+set}" = set; then
1509 echo $ECHO_N "(cached) $ECHO_C" >&6
1511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1515 test -z "$as_dir" && as_dir=.
1516 # Account for people who put trailing slashes in PATH elements.
1518 ./ | .// | /cC/* | \
1519 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1520 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1523 # OSF1 and SCO ODT 3.0 have their own names for install.
1524 # Don't use installbsd from OSF since it installs stuff as root
1526 for ac_prog in ginstall scoinst install; do
1527 for ac_exec_ext in '' $ac_executable_extensions; do
1528 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1529 if test $ac_prog = install &&
1530 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1531 # AIX install. It has an incompatible calling convention.
1533 elif test $ac_prog = install &&
1534 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1535 # program-specific install script used by HP pwplus--don't use.
1538 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1550 if test "${ac_cv_path_install+set}" = set; then
1551 INSTALL=$ac_cv_path_install
1553 # As a last resort, use the slow shell script. We don't cache a
1554 # path for INSTALL within a source directory, because that will
1555 # break other packages using the cache if that directory is
1556 # removed, or if the path is relative.
1557 INSTALL=$ac_install_sh
1560 echo "$as_me:$LINENO: result: $INSTALL" >&5
1561 echo "${ECHO_T}$INSTALL" >&6
1563 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1564 # It thinks the first close brace ends the variable substitution.
1565 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1567 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1569 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1571 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1572 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1575 echo timestamp > conftest.file
1576 # Do `set' in a subshell so we don't clobber the current shell's
1577 # arguments. Must try -L first in case configure is actually a
1578 # symlink; some systems play weird games with the mod time of symlinks
1579 # (eg FreeBSD returns the mod time of the symlink's containing
1582 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1583 if test "$*" = "X"; then
1585 set X `ls -t $srcdir/configure conftest.file`
1588 if test "$*" != "X $srcdir/configure conftest.file" \
1589 && test "$*" != "X conftest.file $srcdir/configure"; then
1591 # If neither matched, then we have a broken ls. This can happen
1592 # if, for instance, CONFIG_SHELL is bash and it inherits a
1593 # broken ls alias from the environment. This has actually
1594 # happened. Such a system could not be considered "sane".
1595 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1596 alias in your environment" >&5
1597 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1598 alias in your environment" >&2;}
1599 { (exit 1); exit 1; }; }
1602 test "$2" = conftest.file
1608 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1609 Check your system clock" >&5
1610 echo "$as_me: error: newly created file is older than distributed files!
1611 Check your system clock" >&2;}
1612 { (exit 1); exit 1; }; }
1614 echo "$as_me:$LINENO: result: yes" >&5
1615 echo "${ECHO_T}yes" >&6
1616 test "$program_prefix" != NONE &&
1617 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1618 # Use a double $ so make ignores it.
1619 test "$program_suffix" != NONE &&
1620 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1621 # Double any \ or $. echo might interpret backslashes.
1622 # By default was `s,x,x', remove it if useless.
1623 cat <<\_ACEOF >conftest.sed
1624 s/[\\$]/&&/g;s/;s,x,x,$//
1626 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1629 # expand $ac_aux_dir to an absolute path
1630 am_aux_dir=`cd $ac_aux_dir && pwd`
1632 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1633 # Use eval to expand $SHELL
1634 if eval "$MISSING --run true"; then
1635 am_missing_run="$MISSING --run "
1638 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1639 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1642 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1643 # We used to keeping the `.' as first argument, in order to
1644 # allow $(mkdir_p) to be used without argument. As in
1645 # $(mkdir_p) $(somedir)
1646 # where $(somedir) is conditionally defined. However this is wrong
1648 # 1. if the package is installed by a user who cannot write `.'
1649 # make install will fail,
1650 # 2. the above comment should most certainly read
1651 # $(mkdir_p) $(DESTDIR)$(somedir)
1652 # so it does not work when $(somedir) is undefined and
1653 # $(DESTDIR) is not.
1654 # To support the latter case, we have to write
1655 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1656 # so the `.' trick is pointless.
1657 mkdir_p='mkdir -p --'
1659 # On NextStep and OpenStep, the `mkdir' command does not
1660 # recognize any option. It will interpret all options as
1661 # directories to create, and then abort because `.' already
1663 for d in ./-p ./--version;
1665 test -d $d && rmdir $d
1667 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1668 if test -f "$ac_aux_dir/mkinstalldirs"; then
1669 mkdir_p='$(mkinstalldirs)'
1671 mkdir_p='$(install_sh) -d'
1675 for ac_prog in gawk mawk nawk awk
1677 # Extract the first word of "$ac_prog", so it can be a program name with args.
1678 set dummy $ac_prog; ac_word=$2
1679 echo "$as_me:$LINENO: checking for $ac_word" >&5
1680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1681 if test "${ac_cv_prog_AWK+set}" = set; then
1682 echo $ECHO_N "(cached) $ECHO_C" >&6
1684 if test -n "$AWK"; then
1685 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1691 test -z "$as_dir" && as_dir=.
1692 for ac_exec_ext in '' $ac_executable_extensions; do
1693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1694 ac_cv_prog_AWK="$ac_prog"
1695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1704 if test -n "$AWK"; then
1705 echo "$as_me:$LINENO: result: $AWK" >&5
1706 echo "${ECHO_T}$AWK" >&6
1708 echo "$as_me:$LINENO: result: no" >&5
1709 echo "${ECHO_T}no" >&6
1712 test -n "$AWK" && break
1715 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1716 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1717 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1718 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1719 echo $ECHO_N "(cached) $ECHO_C" >&6
1721 cat >conftest.make <<\_ACEOF
1723 @echo 'ac_maketemp="$(MAKE)"'
1725 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1726 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1727 if test -n "$ac_maketemp"; then
1728 eval ac_cv_prog_make_${ac_make}_set=yes
1730 eval ac_cv_prog_make_${ac_make}_set=no
1734 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1735 echo "$as_me:$LINENO: result: yes" >&5
1736 echo "${ECHO_T}yes" >&6
1739 echo "$as_me:$LINENO: result: no" >&5
1740 echo "${ECHO_T}no" >&6
1741 SET_MAKE="MAKE=${MAKE-make}"
1744 rm -rf .tst 2>/dev/null
1745 mkdir .tst 2>/dev/null
1746 if test -d .tst; then
1751 rmdir .tst 2>/dev/null
1753 # test to see if srcdir already configured
1754 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1755 test -f $srcdir/config.status; then
1756 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1757 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1758 { (exit 1); exit 1; }; }
1761 # test whether we have cygpath
1762 if test -z "$CYGPATH_W"; then
1763 if (cygpath --version) >/dev/null 2>/dev/null; then
1764 CYGPATH_W='cygpath -w'
1771 # Define the identity of the package.
1772 PACKAGE='libgfortran'
1776 # Some tools Automake needs.
1778 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1781 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1784 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1787 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1790 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1792 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1794 # Installed binaries are usually stripped using `strip' when the user
1795 # run `make install-strip'. However `strip' might not be the right
1796 # tool to use in cross-compilation environments, therefore Automake
1797 # will honor the `STRIP' environment variable to overrule this program.
1798 if test "$cross_compiling" != no; then
1799 if test -n "$ac_tool_prefix"; then
1800 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1801 set dummy ${ac_tool_prefix}strip; ac_word=$2
1802 echo "$as_me:$LINENO: checking for $ac_word" >&5
1803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1804 if test "${ac_cv_prog_STRIP+set}" = set; then
1805 echo $ECHO_N "(cached) $ECHO_C" >&6
1807 if test -n "$STRIP"; then
1808 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1814 test -z "$as_dir" && as_dir=.
1815 for ac_exec_ext in '' $ac_executable_extensions; do
1816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1817 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1826 STRIP=$ac_cv_prog_STRIP
1827 if test -n "$STRIP"; then
1828 echo "$as_me:$LINENO: result: $STRIP" >&5
1829 echo "${ECHO_T}$STRIP" >&6
1831 echo "$as_me:$LINENO: result: no" >&5
1832 echo "${ECHO_T}no" >&6
1836 if test -z "$ac_cv_prog_STRIP"; then
1838 # Extract the first word of "strip", so it can be a program name with args.
1839 set dummy strip; ac_word=$2
1840 echo "$as_me:$LINENO: checking for $ac_word" >&5
1841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1842 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1843 echo $ECHO_N "(cached) $ECHO_C" >&6
1845 if test -n "$ac_ct_STRIP"; then
1846 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1852 test -z "$as_dir" && as_dir=.
1853 for ac_exec_ext in '' $ac_executable_extensions; do
1854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1855 ac_cv_prog_ac_ct_STRIP="strip"
1856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1862 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1865 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1866 if test -n "$ac_ct_STRIP"; then
1867 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1868 echo "${ECHO_T}$ac_ct_STRIP" >&6
1870 echo "$as_me:$LINENO: result: no" >&5
1871 echo "${ECHO_T}no" >&6
1876 STRIP="$ac_cv_prog_STRIP"
1880 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1882 # We need awk for the "check" target. The system "awk" is bad on
1884 # Always define AMTAR for backward compatibility.
1886 AMTAR=${AMTAR-"${am_missing_run}tar"}
1888 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1895 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1896 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1897 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1898 if test "${enable_maintainer_mode+set}" = set; then
1899 enableval="$enable_maintainer_mode"
1900 USE_MAINTAINER_MODE=$enableval
1902 USE_MAINTAINER_MODE=no
1904 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1905 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1908 if test $USE_MAINTAINER_MODE = yes; then
1909 MAINTAINER_MODE_TRUE=
1910 MAINTAINER_MODE_FALSE='#'
1912 MAINTAINER_MODE_TRUE='#'
1913 MAINTAINER_MODE_FALSE=
1916 MAINT=$MAINTAINER_MODE_TRUE
1919 # Default to --enable-multilib
1920 # Check whether --enable-multilib or --disable-multilib was given.
1921 if test "${enable_multilib+set}" = set; then
1922 enableval="$enable_multilib"
1923 case "$enableval" in
1924 yes) multilib=yes ;;
1926 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1927 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1928 { (exit 1); exit 1; }; } ;;
1934 # We may get other options which we leave undocumented:
1935 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1936 # See config-ml.in if you want the gory details.
1938 if test "$srcdir" = "."; then
1939 if test "$with_target_subdir" != "."; then
1940 multi_basedir="$srcdir/$with_multisrctop../.."
1942 multi_basedir="$srcdir/$with_multisrctop.."
1945 multi_basedir="$srcdir/.."
1949 ac_config_commands="$ac_config_commands default-1"
1952 # Handy for debugging:
1953 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1955 # Are we being configured with some form of cross compiler?
1956 # NB: We don't actually need to know this just now, but when, say, a test
1957 # suite is included, we'll have to know.
1958 if test "$build" != "$host"; then
1959 LIBGFOR_IS_NATIVE=false
1962 LIBGFOR_IS_NATIVE=true
1965 # Calculate toolexeclibdir
1966 # Also toolexecdir, though it's only used in toolexeclibdir
1967 case ${version_specific_libs} in
1969 # Need the gcc compiler version to know where to install libraries
1970 # and header files if --enable-version-specific-runtime-libs option
1972 toolexecdir='$(libdir)/gcc/$(target_alias)'
1973 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
1976 if test -n "$with_cross_host" &&
1977 test x"$with_cross_host" != x"no"; then
1978 # Install a library built with a cross compiler in tooldir, not libdir.
1979 toolexecdir='$(exec_prefix)/$(target_alias)'
1980 toolexeclibdir='$(toolexecdir)/lib'
1982 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
1983 toolexeclibdir='$(libdir)'
1985 multi_os_directory=`$CC -print-multi-os-directory`
1986 case $multi_os_directory in
1987 .) ;; # Avoid trailing /.
1988 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
1995 # Check the compiler.
1996 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1997 # We must force CC to /not/ be precious variables; otherwise
1998 # the wrong, non-multilib-adjusted value will be used in multilibs.
1999 # As a side effect, we have to subst CFLAGS ourselves.
2004 ac_cpp='$CPP $CPPFLAGS'
2005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2008 if test -n "$ac_tool_prefix"; then
2009 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2010 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2011 echo "$as_me:$LINENO: checking for $ac_word" >&5
2012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2013 if test "${ac_cv_prog_CC+set}" = set; then
2014 echo $ECHO_N "(cached) $ECHO_C" >&6
2016 if test -n "$CC"; then
2017 ac_cv_prog_CC="$CC" # Let the user override the test.
2019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2023 test -z "$as_dir" && as_dir=.
2024 for ac_exec_ext in '' $ac_executable_extensions; do
2025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2026 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2036 if test -n "$CC"; then
2037 echo "$as_me:$LINENO: result: $CC" >&5
2038 echo "${ECHO_T}$CC" >&6
2040 echo "$as_me:$LINENO: result: no" >&5
2041 echo "${ECHO_T}no" >&6
2045 if test -z "$ac_cv_prog_CC"; then
2047 # Extract the first word of "gcc", so it can be a program name with args.
2048 set dummy gcc; ac_word=$2
2049 echo "$as_me:$LINENO: checking for $ac_word" >&5
2050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2051 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2052 echo $ECHO_N "(cached) $ECHO_C" >&6
2054 if test -n "$ac_ct_CC"; then
2055 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2061 test -z "$as_dir" && as_dir=.
2062 for ac_exec_ext in '' $ac_executable_extensions; do
2063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2064 ac_cv_prog_ac_ct_CC="gcc"
2065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2073 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2074 if test -n "$ac_ct_CC"; then
2075 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2076 echo "${ECHO_T}$ac_ct_CC" >&6
2078 echo "$as_me:$LINENO: result: no" >&5
2079 echo "${ECHO_T}no" >&6
2087 if test -z "$CC"; then
2088 if test -n "$ac_tool_prefix"; then
2089 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2090 set dummy ${ac_tool_prefix}cc; ac_word=$2
2091 echo "$as_me:$LINENO: checking for $ac_word" >&5
2092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2093 if test "${ac_cv_prog_CC+set}" = set; then
2094 echo $ECHO_N "(cached) $ECHO_C" >&6
2096 if test -n "$CC"; then
2097 ac_cv_prog_CC="$CC" # Let the user override the test.
2099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2103 test -z "$as_dir" && as_dir=.
2104 for ac_exec_ext in '' $ac_executable_extensions; do
2105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2106 ac_cv_prog_CC="${ac_tool_prefix}cc"
2107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2116 if test -n "$CC"; then
2117 echo "$as_me:$LINENO: result: $CC" >&5
2118 echo "${ECHO_T}$CC" >&6
2120 echo "$as_me:$LINENO: result: no" >&5
2121 echo "${ECHO_T}no" >&6
2125 if test -z "$ac_cv_prog_CC"; then
2127 # Extract the first word of "cc", so it can be a program name with args.
2128 set dummy cc; ac_word=$2
2129 echo "$as_me:$LINENO: checking for $ac_word" >&5
2130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2131 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2132 echo $ECHO_N "(cached) $ECHO_C" >&6
2134 if test -n "$ac_ct_CC"; then
2135 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2141 test -z "$as_dir" && as_dir=.
2142 for ac_exec_ext in '' $ac_executable_extensions; do
2143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2144 ac_cv_prog_ac_ct_CC="cc"
2145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2153 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2154 if test -n "$ac_ct_CC"; then
2155 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2156 echo "${ECHO_T}$ac_ct_CC" >&6
2158 echo "$as_me:$LINENO: result: no" >&5
2159 echo "${ECHO_T}no" >&6
2168 if test -z "$CC"; then
2169 # Extract the first word of "cc", so it can be a program name with args.
2170 set dummy cc; ac_word=$2
2171 echo "$as_me:$LINENO: checking for $ac_word" >&5
2172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2173 if test "${ac_cv_prog_CC+set}" = set; then
2174 echo $ECHO_N "(cached) $ECHO_C" >&6
2176 if test -n "$CC"; then
2177 ac_cv_prog_CC="$CC" # Let the user override the test.
2180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2184 test -z "$as_dir" && as_dir=.
2185 for ac_exec_ext in '' $ac_executable_extensions; do
2186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2187 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2188 ac_prog_rejected=yes
2192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2198 if test $ac_prog_rejected = yes; then
2199 # We found a bogon in the path, so make sure we never use it.
2200 set dummy $ac_cv_prog_CC
2202 if test $# != 0; then
2203 # We chose a different compiler from the bogus one.
2204 # However, it has the same basename, so the bogon will be chosen
2205 # first if we set CC to just the basename; use the full file name.
2207 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2213 if test -n "$CC"; then
2214 echo "$as_me:$LINENO: result: $CC" >&5
2215 echo "${ECHO_T}$CC" >&6
2217 echo "$as_me:$LINENO: result: no" >&5
2218 echo "${ECHO_T}no" >&6
2222 if test -z "$CC"; then
2223 if test -n "$ac_tool_prefix"; then
2226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2227 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2228 echo "$as_me:$LINENO: checking for $ac_word" >&5
2229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2230 if test "${ac_cv_prog_CC+set}" = set; then
2231 echo $ECHO_N "(cached) $ECHO_C" >&6
2233 if test -n "$CC"; then
2234 ac_cv_prog_CC="$CC" # Let the user override the test.
2236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2240 test -z "$as_dir" && as_dir=.
2241 for ac_exec_ext in '' $ac_executable_extensions; do
2242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2243 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2253 if test -n "$CC"; then
2254 echo "$as_me:$LINENO: result: $CC" >&5
2255 echo "${ECHO_T}$CC" >&6
2257 echo "$as_me:$LINENO: result: no" >&5
2258 echo "${ECHO_T}no" >&6
2261 test -n "$CC" && break
2264 if test -z "$CC"; then
2268 # Extract the first word of "$ac_prog", so it can be a program name with args.
2269 set dummy $ac_prog; ac_word=$2
2270 echo "$as_me:$LINENO: checking for $ac_word" >&5
2271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2272 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2273 echo $ECHO_N "(cached) $ECHO_C" >&6
2275 if test -n "$ac_ct_CC"; then
2276 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2282 test -z "$as_dir" && as_dir=.
2283 for ac_exec_ext in '' $ac_executable_extensions; do
2284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2285 ac_cv_prog_ac_ct_CC="$ac_prog"
2286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2294 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2295 if test -n "$ac_ct_CC"; then
2296 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2297 echo "${ECHO_T}$ac_ct_CC" >&6
2299 echo "$as_me:$LINENO: result: no" >&5
2300 echo "${ECHO_T}no" >&6
2303 test -n "$ac_ct_CC" && break
2312 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2313 See \`config.log' for more details." >&5
2314 echo "$as_me: error: no acceptable C compiler found in \$PATH
2315 See \`config.log' for more details." >&2;}
2316 { (exit 1); exit 1; }; }
2318 # Provide some information about the compiler.
2319 echo "$as_me:$LINENO:" \
2320 "checking for C compiler version" >&5
2321 ac_compiler=`set X $ac_compile; echo $2`
2322 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2323 (eval $ac_compiler --version </dev/null >&5) 2>&5
2325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2326 (exit $ac_status); }
2327 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2328 (eval $ac_compiler -v </dev/null >&5) 2>&5
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); }
2332 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2333 (eval $ac_compiler -V </dev/null >&5) 2>&5
2335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336 (exit $ac_status); }
2338 cat >conftest.$ac_ext <<_ACEOF
2341 cat confdefs.h >>conftest.$ac_ext
2342 cat >>conftest.$ac_ext <<_ACEOF
2343 /* end confdefs.h. */
2353 ac_clean_files_save=$ac_clean_files
2354 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2355 # Try to create an executable without -o first, disregard a.out.
2356 # It will help us diagnose broken compilers, and finding out an intuition
2358 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2359 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2360 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2361 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2362 (eval $ac_link_default) 2>&5
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }; then
2366 # Find the output, starting from the most likely. This scheme is
2367 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2370 # Be careful to initialize this variable, since it used to be cached.
2371 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2373 # b.out is created by i960 compilers.
2374 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2376 test -f "$ac_file" || continue
2378 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2381 # This is the source file.
2384 # We found the default executable, but exeext='' is most
2388 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2389 # FIXME: I believe we export ac_cv_exeext for Libtool,
2390 # but it would be cool to find out if it's true. Does anybody
2391 # maintain Libtool? --akim.
2399 echo "$as_me: failed program was:" >&5
2400 sed 's/^/| /' conftest.$ac_ext >&5
2402 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2403 See \`config.log' for more details." >&5
2404 echo "$as_me: error: C compiler cannot create executables
2405 See \`config.log' for more details." >&2;}
2406 { (exit 77); exit 77; }; }
2409 ac_exeext=$ac_cv_exeext
2410 echo "$as_me:$LINENO: result: $ac_file" >&5
2411 echo "${ECHO_T}$ac_file" >&6
2413 # Check the compiler produces executables we can run. If not, either
2414 # the compiler is broken, or we cross compile.
2415 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2416 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2417 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2418 # If not cross compiling, check that we can run a simple program.
2419 if test "$cross_compiling" != yes; then
2420 if { ac_try='./$ac_file'
2421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2425 (exit $ac_status); }; }; then
2428 if test "$cross_compiling" = maybe; then
2431 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2432 If you meant to cross compile, use \`--host'.
2433 See \`config.log' for more details." >&5
2434 echo "$as_me: error: cannot run C compiled programs.
2435 If you meant to cross compile, use \`--host'.
2436 See \`config.log' for more details." >&2;}
2437 { (exit 1); exit 1; }; }
2441 echo "$as_me:$LINENO: result: yes" >&5
2442 echo "${ECHO_T}yes" >&6
2444 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2445 ac_clean_files=$ac_clean_files_save
2446 # Check the compiler produces executables we can run. If not, either
2447 # the compiler is broken, or we cross compile.
2448 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2449 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2450 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2451 echo "${ECHO_T}$cross_compiling" >&6
2453 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2454 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2456 (eval $ac_link) 2>&5
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); }; then
2460 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2461 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2462 # work properly (i.e., refer to `conftest.exe'), while it won't with
2464 for ac_file in conftest.exe conftest conftest.*; do
2465 test -f "$ac_file" || continue
2467 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2468 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2475 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2476 See \`config.log' for more details." >&5
2477 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2478 See \`config.log' for more details." >&2;}
2479 { (exit 1); exit 1; }; }
2482 rm -f conftest$ac_cv_exeext
2483 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2484 echo "${ECHO_T}$ac_cv_exeext" >&6
2486 rm -f conftest.$ac_ext
2487 EXEEXT=$ac_cv_exeext
2489 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2490 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2491 if test "${ac_cv_objext+set}" = set; then
2492 echo $ECHO_N "(cached) $ECHO_C" >&6
2494 cat >conftest.$ac_ext <<_ACEOF
2497 cat confdefs.h >>conftest.$ac_ext
2498 cat >>conftest.$ac_ext <<_ACEOF
2499 /* end confdefs.h. */
2509 rm -f conftest.o conftest.obj
2510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2511 (eval $ac_compile) 2>&5
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; then
2515 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2517 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2518 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2523 echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.$ac_ext >&5
2526 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2527 See \`config.log' for more details." >&5
2528 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2529 See \`config.log' for more details." >&2;}
2530 { (exit 1); exit 1; }; }
2533 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2535 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2536 echo "${ECHO_T}$ac_cv_objext" >&6
2537 OBJEXT=$ac_cv_objext
2539 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2540 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2541 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2542 echo $ECHO_N "(cached) $ECHO_C" >&6
2544 cat >conftest.$ac_ext <<_ACEOF
2547 cat confdefs.h >>conftest.$ac_ext
2548 cat >>conftest.$ac_ext <<_ACEOF
2549 /* end confdefs.h. */
2562 rm -f conftest.$ac_objext
2563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2564 (eval $ac_compile) 2>conftest.er1
2566 grep -v '^ *+' conftest.er1 >conftest.err
2568 cat conftest.err >&5
2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570 (exit $ac_status); } &&
2571 { ac_try='test -z "$ac_c_werror_flag"
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
2937 # Add -Wall if we are using GCC.
2938 if test "x$GCC" = "xyes"; then
2939 CFLAGS="$CFLAGS -Wall"
2942 # Find other programs we need.
2943 if test -n "$ac_tool_prefix"; then
2944 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2945 set dummy ${ac_tool_prefix}as; ac_word=$2
2946 echo "$as_me:$LINENO: checking for $ac_word" >&5
2947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2948 if test "${ac_cv_prog_AS+set}" = set; then
2949 echo $ECHO_N "(cached) $ECHO_C" >&6
2951 if test -n "$AS"; then
2952 ac_cv_prog_AS="$AS" # Let the user override the test.
2954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2958 test -z "$as_dir" && as_dir=.
2959 for ac_exec_ext in '' $ac_executable_extensions; do
2960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2961 ac_cv_prog_AS="${ac_tool_prefix}as"
2962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2971 if test -n "$AS"; then
2972 echo "$as_me:$LINENO: result: $AS" >&5
2973 echo "${ECHO_T}$AS" >&6
2975 echo "$as_me:$LINENO: result: no" >&5
2976 echo "${ECHO_T}no" >&6
2980 if test -z "$ac_cv_prog_AS"; then
2982 # Extract the first word of "as", so it can be a program name with args.
2983 set dummy as; ac_word=$2
2984 echo "$as_me:$LINENO: checking for $ac_word" >&5
2985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2986 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2987 echo $ECHO_N "(cached) $ECHO_C" >&6
2989 if test -n "$ac_ct_AS"; then
2990 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2996 test -z "$as_dir" && as_dir=.
2997 for ac_exec_ext in '' $ac_executable_extensions; do
2998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2999 ac_cv_prog_ac_ct_AS="as"
3000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3008 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3009 if test -n "$ac_ct_AS"; then
3010 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3011 echo "${ECHO_T}$ac_ct_AS" >&6
3013 echo "$as_me:$LINENO: result: no" >&5
3014 echo "${ECHO_T}no" >&6
3022 if test -n "$ac_tool_prefix"; then
3023 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3024 set dummy ${ac_tool_prefix}ar; ac_word=$2
3025 echo "$as_me:$LINENO: checking for $ac_word" >&5
3026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3027 if test "${ac_cv_prog_AR+set}" = set; then
3028 echo $ECHO_N "(cached) $ECHO_C" >&6
3030 if test -n "$AR"; then
3031 ac_cv_prog_AR="$AR" # Let the user override the test.
3033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3037 test -z "$as_dir" && as_dir=.
3038 for ac_exec_ext in '' $ac_executable_extensions; do
3039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3040 ac_cv_prog_AR="${ac_tool_prefix}ar"
3041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3050 if test -n "$AR"; then
3051 echo "$as_me:$LINENO: result: $AR" >&5
3052 echo "${ECHO_T}$AR" >&6
3054 echo "$as_me:$LINENO: result: no" >&5
3055 echo "${ECHO_T}no" >&6
3059 if test -z "$ac_cv_prog_AR"; then
3061 # Extract the first word of "ar", so it can be a program name with args.
3062 set dummy ar; ac_word=$2
3063 echo "$as_me:$LINENO: checking for $ac_word" >&5
3064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3065 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3066 echo $ECHO_N "(cached) $ECHO_C" >&6
3068 if test -n "$ac_ct_AR"; then
3069 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3075 test -z "$as_dir" && as_dir=.
3076 for ac_exec_ext in '' $ac_executable_extensions; do
3077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3078 ac_cv_prog_ac_ct_AR="ar"
3079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3087 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3088 if test -n "$ac_ct_AR"; then
3089 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3090 echo "${ECHO_T}$ac_ct_AR" >&6
3092 echo "$as_me:$LINENO: result: no" >&5
3093 echo "${ECHO_T}no" >&6
3101 if test -n "$ac_tool_prefix"; then
3102 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3103 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3104 echo "$as_me:$LINENO: checking for $ac_word" >&5
3105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3106 if test "${ac_cv_prog_RANLIB+set}" = set; then
3107 echo $ECHO_N "(cached) $ECHO_C" >&6
3109 if test -n "$RANLIB"; then
3110 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3116 test -z "$as_dir" && as_dir=.
3117 for ac_exec_ext in '' $ac_executable_extensions; do
3118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3119 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3128 RANLIB=$ac_cv_prog_RANLIB
3129 if test -n "$RANLIB"; then
3130 echo "$as_me:$LINENO: result: $RANLIB" >&5
3131 echo "${ECHO_T}$RANLIB" >&6
3133 echo "$as_me:$LINENO: result: no" >&5
3134 echo "${ECHO_T}no" >&6
3138 if test -z "$ac_cv_prog_RANLIB"; then
3139 ac_ct_RANLIB=$RANLIB
3140 # Extract the first word of "ranlib", so it can be a program name with args.
3141 set dummy ranlib; ac_word=$2
3142 echo "$as_me:$LINENO: checking for $ac_word" >&5
3143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3144 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3145 echo $ECHO_N "(cached) $ECHO_C" >&6
3147 if test -n "$ac_ct_RANLIB"; then
3148 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3154 test -z "$as_dir" && as_dir=.
3155 for ac_exec_ext in '' $ac_executable_extensions; do
3156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3157 ac_cv_prog_ac_ct_RANLIB="ranlib"
3158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3164 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3167 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3168 if test -n "$ac_ct_RANLIB"; then
3169 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3170 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3172 echo "$as_me:$LINENO: result: no" >&5
3173 echo "${ECHO_T}no" >&6
3176 RANLIB=$ac_ct_RANLIB
3178 RANLIB="$ac_cv_prog_RANLIB"
3181 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3182 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3183 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3184 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3185 echo $ECHO_N "(cached) $ECHO_C" >&6
3187 cat >conftest.make <<\_ACEOF
3189 @echo 'ac_maketemp="$(MAKE)"'
3191 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3192 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3193 if test -n "$ac_maketemp"; then
3194 eval ac_cv_prog_make_${ac_make}_set=yes
3196 eval ac_cv_prog_make_${ac_make}_set=no
3200 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3201 echo "$as_me:$LINENO: result: yes" >&5
3202 echo "${ECHO_T}yes" >&6
3205 echo "$as_me:$LINENO: result: no" >&5
3206 echo "${ECHO_T}no" >&6
3207 SET_MAKE="MAKE=${MAKE-make}"
3210 # Find a good install program. We prefer a C program (faster),
3211 # so one script is as good as another. But avoid the broken or
3212 # incompatible versions:
3213 # SysV /etc/install, /usr/sbin/install
3214 # SunOS /usr/etc/install
3215 # IRIX /sbin/install
3217 # AmigaOS /C/install, which installs bootblocks on floppy discs
3218 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3219 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3220 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3221 # OS/2's system install, which has a completely different semantic
3222 # ./install, which can be erroneously created by make from ./install.sh.
3223 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3224 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3225 if test -z "$INSTALL"; then
3226 if test "${ac_cv_path_install+set}" = set; then
3227 echo $ECHO_N "(cached) $ECHO_C" >&6
3229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3233 test -z "$as_dir" && as_dir=.
3234 # Account for people who put trailing slashes in PATH elements.
3236 ./ | .// | /cC/* | \
3237 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3238 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3241 # OSF1 and SCO ODT 3.0 have their own names for install.
3242 # Don't use installbsd from OSF since it installs stuff as root
3244 for ac_prog in ginstall scoinst install; do
3245 for ac_exec_ext in '' $ac_executable_extensions; do
3246 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3247 if test $ac_prog = install &&
3248 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3249 # AIX install. It has an incompatible calling convention.
3251 elif test $ac_prog = install &&
3252 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3253 # program-specific install script used by HP pwplus--don't use.
3256 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3268 if test "${ac_cv_path_install+set}" = set; then
3269 INSTALL=$ac_cv_path_install
3271 # As a last resort, use the slow shell script. We don't cache a
3272 # path for INSTALL within a source directory, because that will
3273 # break other packages using the cache if that directory is
3274 # removed, or if the path is relative.
3275 INSTALL=$ac_install_sh
3278 echo "$as_me:$LINENO: result: $INSTALL" >&5
3279 echo "${ECHO_T}$INSTALL" >&6
3281 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3282 # It thinks the first close brace ends the variable substitution.
3283 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3285 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3287 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3291 #AC_MSG_NOTICE([====== Starting libtool configuration])
3293 # Check whether --enable-shared or --disable-shared was given.
3294 if test "${enable_shared+set}" = set; then
3295 enableval="$enable_shared"
3296 p=${PACKAGE-default}
3298 yes) enable_shared=yes ;;
3299 no) enable_shared=no ;;
3302 # Look at the argument we got. We use all the common list separators.
3303 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3304 for pkg in $enableval; do
3305 if test "X$pkg" = "X$p"; then
3315 # Check whether --enable-static or --disable-static was given.
3316 if test "${enable_static+set}" = set; then
3317 enableval="$enable_static"
3318 p=${PACKAGE-default}
3320 yes) enable_static=yes ;;
3321 no) enable_static=no ;;
3324 # Look at the argument we got. We use all the common list separators.
3325 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3326 for pkg in $enableval; do
3327 if test "X$pkg" = "X$p"; then
3337 # Check whether --enable-fast-install or --disable-fast-install was given.
3338 if test "${enable_fast_install+set}" = set; then
3339 enableval="$enable_fast_install"
3340 p=${PACKAGE-default}
3342 yes) enable_fast_install=yes ;;
3343 no) enable_fast_install=no ;;
3345 enable_fast_install=no
3346 # Look at the argument we got. We use all the common list separators.
3347 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3348 for pkg in $enableval; do
3349 if test "X$pkg" = "X$p"; then
3350 enable_fast_install=yes
3357 enable_fast_install=yes
3360 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3361 if test "${with_gnu_ld+set}" = set; then
3362 withval="$with_gnu_ld"
3363 test "$withval" = no || with_gnu_ld=yes
3368 if test "$GCC" = yes; then
3369 # Check if gcc -print-prog-name=ld gives a path.
3370 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3371 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3374 # gcc leaves a trailing carriage return which upsets mingw
3375 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3377 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3380 # Accept absolute paths.
3381 [\\/]* | [A-Za-z]:[\\/]*)
3382 re_direlt='/[^/][^/]*/\.\./'
3383 # Canonicalize the path of ld
3384 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3385 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3386 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3388 test -z "$LD" && LD="$ac_prog"
3391 # If it fails, then pretend we aren't using GCC.
3395 # If it is relative, then search for the first ld in PATH.
3399 elif test "$with_gnu_ld" = yes; then
3400 echo "$as_me:$LINENO: checking for GNU ld" >&5
3401 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3403 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3404 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3406 if test "${lt_cv_path_LD+set}" = set; then
3407 echo $ECHO_N "(cached) $ECHO_C" >&6
3409 if test -z "$LD"; then
3410 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3411 for ac_dir in $PATH; do
3412 test -z "$ac_dir" && ac_dir=.
3413 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3414 lt_cv_path_LD="$ac_dir/$ac_prog"
3415 # Check to see if the program is GNU ld. I'd rather use --version,
3416 # but apparently some GNU ld's only accept -v.
3417 # Break only if it was the GNU/non-GNU ld that we prefer.
3418 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3419 test "$with_gnu_ld" != no && break
3421 test "$with_gnu_ld" != yes && break
3427 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3432 if test -n "$LD"; then
3433 echo "$as_me:$LINENO: result: $LD" >&5
3434 echo "${ECHO_T}$LD" >&6
3436 echo "$as_me:$LINENO: result: no" >&5
3437 echo "${ECHO_T}no" >&6
3439 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3440 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3441 { (exit 1); exit 1; }; }
3442 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3443 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3444 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3445 echo $ECHO_N "(cached) $ECHO_C" >&6
3447 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3448 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3449 lt_cv_prog_gnu_ld=yes
3451 lt_cv_prog_gnu_ld=no
3454 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3455 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3456 with_gnu_ld=$lt_cv_prog_gnu_ld
3459 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3460 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3461 if test "${lt_cv_ld_reload_flag+set}" = set; then
3462 echo $ECHO_N "(cached) $ECHO_C" >&6
3464 lt_cv_ld_reload_flag='-r'
3466 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3467 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3468 reload_flag=$lt_cv_ld_reload_flag
3469 test -n "$reload_flag" && reload_flag=" $reload_flag"
3471 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3472 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3473 if test "${lt_cv_path_NM+set}" = set; then
3474 echo $ECHO_N "(cached) $ECHO_C" >&6
3476 if test -n "$NM"; then
3477 # Let the user override the test.
3480 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3481 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3482 test -z "$ac_dir" && ac_dir=.
3483 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3484 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3485 # Check to see if the nm accepts a BSD-compat flag.
3486 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3487 # nm: unknown option "B" ignored
3488 # Tru64's nm complains that /dev/null is an invalid object file
3489 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3490 lt_cv_path_NM="$tmp_nm -B"
3492 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3493 lt_cv_path_NM="$tmp_nm -p"
3496 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3497 continue # so that we can try to find one that supports BSD flags
3502 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3507 echo "$as_me:$LINENO: result: $NM" >&5
3508 echo "${ECHO_T}$NM" >&6
3510 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3511 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3513 if test "$LN_S" = "ln -s"; then
3514 echo "$as_me:$LINENO: result: yes" >&5
3515 echo "${ECHO_T}yes" >&6
3517 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3518 echo "${ECHO_T}no, using $LN_S" >&6
3521 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3522 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3523 if test "${lt_cv_deplibs_check_method+set}" = set; then
3524 echo $ECHO_N "(cached) $ECHO_C" >&6
3526 lt_cv_file_magic_cmd='$MAGIC_CMD'
3527 lt_cv_file_magic_test_file=
3528 lt_cv_deplibs_check_method='unknown'
3529 # Need to set the preceding variable on all platforms that support
3530 # interlibrary dependencies.
3531 # 'none' -- dependencies not supported.
3532 # `unknown' -- same as none, but documents that we really don't know.
3533 # 'pass_all' -- all dependencies passed with no checks.
3534 # 'test_compile' -- check by making test program.
3535 # 'file_magic [regex]' -- check by looking for files in library path
3536 # which responds to the $file_magic_cmd with a given egrep regex.
3537 # If you have `file' or equivalent on your system and you're not sure
3538 # whether `pass_all' will *always* work, you probably want this one.
3542 lt_cv_deplibs_check_method=pass_all
3546 lt_cv_deplibs_check_method=pass_all
3550 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3551 lt_cv_file_magic_cmd='/usr/bin/file -L'
3552 lt_cv_file_magic_test_file=/shlib/libc.so
3555 cygwin* | mingw* |pw32*)
3556 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3557 lt_cv_file_magic_cmd='$OBJDUMP -f'
3560 darwin* | rhapsody*)
3561 # this will be overwritten by pass_all, but leave it in just in case
3562 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3563 lt_cv_file_magic_cmd='/usr/bin/file -L'
3565 rhapsody* | darwin1.012)
3566 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3569 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3572 lt_cv_deplibs_check_method=pass_all
3575 freebsd* | kfreebsd*-gnu)
3576 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3579 # Not sure whether the presence of OpenBSD here was a mistake.
3580 # Let's accept both of them until this is cleared up.
3581 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3582 lt_cv_file_magic_cmd=/usr/bin/file
3583 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3587 lt_cv_deplibs_check_method=pass_all
3592 lt_cv_deplibs_check_method=pass_all
3598 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3599 lt_cv_file_magic_cmd=/usr/bin/file
3600 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3603 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3604 lt_cv_file_magic_cmd=/usr/bin/file
3605 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3613 # this will be overridden with pass_all, but let us keep it just in case
3614 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3618 *-32|*"-32 ") libmagic=32-bit;;
3619 *-n32|*"-n32 ") libmagic=N32;;
3620 *-64|*"-64 ") libmagic=64-bit;;
3621 *) libmagic=never-match;;
3623 # this will be overridden with pass_all, but let us keep it just in case
3624 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3627 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3628 lt_cv_deplibs_check_method=pass_all
3631 # This must be Linux ELF.
3633 lt_cv_deplibs_check_method=pass_all
3636 netbsd* | knetbsd*-gnu)
3637 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3638 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3640 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3645 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3646 lt_cv_file_magic_cmd=/usr/bin/file
3647 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3650 osf3* | osf4* | osf5*)
3651 # this will be overridden with pass_all, but let us keep it just in case
3652 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3653 lt_cv_file_magic_test_file=/shlib/libc.so
3654 lt_cv_deplibs_check_method=pass_all
3658 lt_cv_deplibs_check_method=pass_all
3662 lt_cv_deplibs_check_method=pass_all
3663 lt_cv_file_magic_test_file=/lib/libc.so
3666 sysv5uw[78]* | sysv4*uw2*)
3667 lt_cv_deplibs_check_method=pass_all
3670 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3671 case $host_vendor in
3673 lt_cv_deplibs_check_method=pass_all
3676 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]'
3677 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3684 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3685 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3686 file_magic_cmd=$lt_cv_file_magic_cmd
3687 deplibs_check_method=$lt_cv_deplibs_check_method
3693 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3695 # Only perform the check for file, if the check method requires it
3696 case $deplibs_check_method in
3698 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3699 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3700 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3701 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3702 echo $ECHO_N "(cached) $ECHO_C" >&6
3706 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3709 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3712 ac_save_MAGIC_CMD="$MAGIC_CMD"
3713 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3714 ac_dummy="/usr/bin:$PATH"
3715 for ac_dir in $ac_dummy; do
3716 test -z "$ac_dir" && ac_dir=.
3717 if test -f $ac_dir/${ac_tool_prefix}file; then
3718 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3719 if test -n "$file_magic_test_file"; then
3720 case $deplibs_check_method in
3722 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3723 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3724 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3725 egrep "$file_magic_regex" > /dev/null; then
3730 *** Warning: the command libtool uses to detect shared libraries,
3731 *** $file_magic_cmd, produces output that libtool cannot recognize.
3732 *** The result is that libtool may fail to recognize shared libraries
3733 *** as such. This will affect the creation of libtool libraries that
3734 *** depend on shared libraries, but programs linked with such libtool
3735 *** libraries will work regardless of this problem. Nevertheless, you
3736 *** may want to report the problem to your system manager and/or to
3737 *** bug-libtool@gnu.org
3747 MAGIC_CMD="$ac_save_MAGIC_CMD"
3752 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3753 if test -n "$MAGIC_CMD"; then
3754 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3755 echo "${ECHO_T}$MAGIC_CMD" >&6
3757 echo "$as_me:$LINENO: result: no" >&5
3758 echo "${ECHO_T}no" >&6
3761 if test -z "$lt_cv_path_MAGIC_CMD"; then
3762 if test -n "$ac_tool_prefix"; then
3763 echo "$as_me:$LINENO: checking for file" >&5
3764 echo $ECHO_N "checking for 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/file; then
3782 lt_cv_path_MAGIC_CMD="$ac_dir/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
3834 if test -n "$ac_tool_prefix"; then
3835 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3836 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3837 echo "$as_me:$LINENO: checking for $ac_word" >&5
3838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3839 if test "${ac_cv_prog_RANLIB+set}" = set; then
3840 echo $ECHO_N "(cached) $ECHO_C" >&6
3842 if test -n "$RANLIB"; then
3843 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3849 test -z "$as_dir" && as_dir=.
3850 for ac_exec_ext in '' $ac_executable_extensions; do
3851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3852 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3861 RANLIB=$ac_cv_prog_RANLIB
3862 if test -n "$RANLIB"; then
3863 echo "$as_me:$LINENO: result: $RANLIB" >&5
3864 echo "${ECHO_T}$RANLIB" >&6
3866 echo "$as_me:$LINENO: result: no" >&5
3867 echo "${ECHO_T}no" >&6
3871 if test -z "$ac_cv_prog_RANLIB"; then
3872 ac_ct_RANLIB=$RANLIB
3873 # Extract the first word of "ranlib", so it can be a program name with args.
3874 set dummy ranlib; ac_word=$2
3875 echo "$as_me:$LINENO: checking for $ac_word" >&5
3876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3877 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3878 echo $ECHO_N "(cached) $ECHO_C" >&6
3880 if test -n "$ac_ct_RANLIB"; then
3881 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3887 test -z "$as_dir" && as_dir=.
3888 for ac_exec_ext in '' $ac_executable_extensions; do
3889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3890 ac_cv_prog_ac_ct_RANLIB="ranlib"
3891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3897 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3900 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3901 if test -n "$ac_ct_RANLIB"; then
3902 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3903 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3905 echo "$as_me:$LINENO: result: no" >&5
3906 echo "${ECHO_T}no" >&6
3909 RANLIB=$ac_ct_RANLIB
3911 RANLIB="$ac_cv_prog_RANLIB"
3914 if test -n "$ac_tool_prefix"; then
3915 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3916 set dummy ${ac_tool_prefix}strip; ac_word=$2
3917 echo "$as_me:$LINENO: checking for $ac_word" >&5
3918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3919 if test "${ac_cv_prog_STRIP+set}" = set; then
3920 echo $ECHO_N "(cached) $ECHO_C" >&6
3922 if test -n "$STRIP"; then
3923 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3929 test -z "$as_dir" && as_dir=.
3930 for ac_exec_ext in '' $ac_executable_extensions; do
3931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3932 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3941 STRIP=$ac_cv_prog_STRIP
3942 if test -n "$STRIP"; then
3943 echo "$as_me:$LINENO: result: $STRIP" >&5
3944 echo "${ECHO_T}$STRIP" >&6
3946 echo "$as_me:$LINENO: result: no" >&5
3947 echo "${ECHO_T}no" >&6
3951 if test -z "$ac_cv_prog_STRIP"; then
3953 # Extract the first word of "strip", so it can be a program name with args.
3954 set dummy strip; ac_word=$2
3955 echo "$as_me:$LINENO: checking for $ac_word" >&5
3956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3957 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3958 echo $ECHO_N "(cached) $ECHO_C" >&6
3960 if test -n "$ac_ct_STRIP"; then
3961 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3967 test -z "$as_dir" && as_dir=.
3968 for ac_exec_ext in '' $ac_executable_extensions; do
3969 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3970 ac_cv_prog_ac_ct_STRIP="strip"
3971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3977 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
3980 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3981 if test -n "$ac_ct_STRIP"; then
3982 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3983 echo "${ECHO_T}$ac_ct_STRIP" >&6
3985 echo "$as_me:$LINENO: result: no" >&5
3986 echo "${ECHO_T}no" >&6
3991 STRIP="$ac_cv_prog_STRIP"
3995 # Check for any special flags to pass to ltconfig.
3996 libtool_flags="--cache-file=$cache_file"
3997 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
3998 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
3999 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4000 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4001 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4004 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4005 if test "${enable_libtool_lock+set}" = set; then
4006 enableval="$enable_libtool_lock"
4009 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4010 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4013 # Check whether --with-pic or --without-pic was given.
4014 if test "${with_pic+set}" = set; then
4020 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4021 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4023 # Some flags need to be propagated to the compiler or linker for good
4027 # Find out which ABI we are using.
4028 echo '#line 4028 "configure"' > conftest.$ac_ext
4029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4030 (eval $ac_compile) 2>&5
4032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4033 (exit $ac_status); }; then
4034 if test "$lt_cv_prog_gnu_ld" = yes; then
4035 case `/usr/bin/file conftest.$ac_objext` in
4037 LD="${LD-ld} -melf32bsmip"
4040 LD="${LD-ld} -melf32bmipn32"
4043 LD="${LD-ld} -melf64bmip"
4047 case `/usr/bin/file conftest.$ac_objext` in
4064 # Find out which ABI we are using.
4065 echo 'int i;' > conftest.$ac_ext
4066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4067 (eval $ac_compile) 2>&5
4069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4070 (exit $ac_status); }; then
4071 case "`/usr/bin/file conftest.o`" in
4083 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4084 # Find out which ABI we are using.
4085 echo 'int i;' > conftest.$ac_ext
4086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4087 (eval $ac_compile) 2>&5
4089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090 (exit $ac_status); }; then
4091 case "`/usr/bin/file conftest.o`" in
4095 LD="${LD-ld} -m elf_i386"
4097 ppc64-*linux*|powerpc64-*linux*)
4098 LD="${LD-ld} -m elf32ppclinux"
4101 LD="${LD-ld} -m elf_s390"
4104 LD="${LD-ld} -m elf32_sparc"
4111 LD="${LD-ld} -m elf_x86_64"
4113 ppc*-*linux*|powerpc*-*linux*)
4114 LD="${LD-ld} -m elf64ppc"
4117 LD="${LD-ld} -m elf64_s390"
4120 LD="${LD-ld} -m elf64_sparc"
4130 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4131 SAVE_CFLAGS="$CFLAGS"
4132 CFLAGS="$CFLAGS -belf"
4133 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4134 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4135 if test "${lt_cv_cc_needs_belf+set}" = set; then
4136 echo $ECHO_N "(cached) $ECHO_C" >&6
4141 ac_cpp='$CPP $CPPFLAGS'
4142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4146 cat >conftest.$ac_ext <<_ACEOF
4149 cat confdefs.h >>conftest.$ac_ext
4150 cat >>conftest.$ac_ext <<_ACEOF
4151 /* end confdefs.h. */
4161 rm -f conftest.$ac_objext conftest$ac_exeext
4162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4163 (eval $ac_link) 2>conftest.er1
4165 grep -v '^ *+' conftest.er1 >conftest.err
4167 cat conftest.err >&5
4168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4169 (exit $ac_status); } &&
4170 { ac_try='test -z "$ac_c_werror_flag"
4171 || test ! -s conftest.err'
4172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4176 (exit $ac_status); }; } &&
4177 { ac_try='test -s conftest$ac_exeext'
4178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182 (exit $ac_status); }; }; then
4183 lt_cv_cc_needs_belf=yes
4185 echo "$as_me: failed program was:" >&5
4186 sed 's/^/| /' conftest.$ac_ext >&5
4188 lt_cv_cc_needs_belf=no
4190 rm -f conftest.err conftest.$ac_objext \
4191 conftest$ac_exeext conftest.$ac_ext
4193 ac_cpp='$CPP $CPPFLAGS'
4194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4199 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4200 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4201 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4202 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4203 CFLAGS="$SAVE_CFLAGS"
4211 # Save cache, so that ltconfig can load it
4212 cat >confcache <<\_ACEOF
4213 # This file is a shell script that caches the results of configure
4214 # tests run on this system so they can be shared between configure
4215 # scripts and configure runs, see configure's option --config-cache.
4216 # It is not useful on other systems. If it contains results you don't
4217 # want to keep, you may remove or edit it.
4219 # config.status only pays attention to the cache file if you give it
4220 # the --recheck option to rerun configure.
4222 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4223 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4228 # The following way of writing the cache mishandles newlines in values,
4229 # but we know of no workaround that is simple, portable, and efficient.
4230 # So, don't put newlines in cache variables' values.
4231 # Ultrix sh set writes to stderr and can't be redirected directly,
4232 # and sets the high bit in the cache file unless we assign to the vars.
4235 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4237 # `set' does not quote correctly, so add quotes (double-quote
4238 # substitution turns \\\\ into \\, and sed turns \\ into \).
4241 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4244 # `set' quotes correctly as required by POSIX, so do not add quotes.
4246 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4253 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4255 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4257 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4258 if test -w $cache_file; then
4259 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4260 cat confcache >$cache_file
4262 echo "not updating unwritable cache $cache_file"
4267 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4268 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4269 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4270 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4271 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4272 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4273 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4274 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4275 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4276 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4277 echo "$as_me: error: libtool configure failed" >&2;}
4278 { (exit 1); exit 1; }; }
4280 # Reload cache, that may have been modified by ltconfig
4281 if test -r "$cache_file"; then
4282 # Some versions of bash will fail to source /dev/null (special
4283 # files actually), so we avoid doing that.
4284 if test -f "$cache_file"; then
4285 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4286 echo "$as_me: loading cache $cache_file" >&6;}
4288 [\\/]* | ?:[\\/]* ) . $cache_file;;
4289 *) . ./$cache_file;;
4293 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4294 echo "$as_me: creating cache $cache_file" >&6;}
4299 # This can be used to rebuild libtool when needed
4300 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4302 # Always use our own libtool.
4303 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4305 # Redirect the config.log output again, so that the ltconfig log is not
4306 # clobbered by the next message.
4307 exec 5>>./config.log
4316 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4318 # We need gfortran to compile parts of the library
4319 # We can't use AC_PROG_FC because it expects a fully working gfortran.
4320 #AC_PROG_FC(gfortran)
4322 ac_ext=${FC_SRCEXT-f}
4323 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4324 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4325 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4326 if test -n "$ac_tool_prefix"; then
4327 for ac_prog in gfortran
4329 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4330 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4331 echo "$as_me:$LINENO: checking for $ac_word" >&5
4332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4333 if test "${ac_cv_prog_FC+set}" = set; then
4334 echo $ECHO_N "(cached) $ECHO_C" >&6
4336 if test -n "$FC"; then
4337 ac_cv_prog_FC="$FC" # Let the user override the test.
4339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4343 test -z "$as_dir" && as_dir=.
4344 for ac_exec_ext in '' $ac_executable_extensions; do
4345 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4346 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4356 if test -n "$FC"; then
4357 echo "$as_me:$LINENO: result: $FC" >&5
4358 echo "${ECHO_T}$FC" >&6
4360 echo "$as_me:$LINENO: result: no" >&5
4361 echo "${ECHO_T}no" >&6
4364 test -n "$FC" && break
4367 if test -z "$FC"; then
4369 for ac_prog in gfortran
4371 # Extract the first word of "$ac_prog", so it can be a program name with args.
4372 set dummy $ac_prog; ac_word=$2
4373 echo "$as_me:$LINENO: checking for $ac_word" >&5
4374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4375 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4376 echo $ECHO_N "(cached) $ECHO_C" >&6
4378 if test -n "$ac_ct_FC"; then
4379 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4385 test -z "$as_dir" && as_dir=.
4386 for ac_exec_ext in '' $ac_executable_extensions; do
4387 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4388 ac_cv_prog_ac_ct_FC="$ac_prog"
4389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4397 ac_ct_FC=$ac_cv_prog_ac_ct_FC
4398 if test -n "$ac_ct_FC"; then
4399 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4400 echo "${ECHO_T}$ac_ct_FC" >&6
4402 echo "$as_me:$LINENO: result: no" >&5
4403 echo "${ECHO_T}no" >&6
4406 test -n "$ac_ct_FC" && break
4413 # Provide some information about the compiler.
4414 echo "$as_me:4414:" \
4415 "checking for Fortran compiler version" >&5
4416 ac_compiler=`set X $ac_compile; echo $2`
4417 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4418 (eval $ac_compiler --version </dev/null >&5) 2>&5
4420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4421 (exit $ac_status); }
4422 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4423 (eval $ac_compiler -v </dev/null >&5) 2>&5
4425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4426 (exit $ac_status); }
4427 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4428 (eval $ac_compiler -V </dev/null >&5) 2>&5
4430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4431 (exit $ac_status); }
4434 # If we don't use `.F' as extension, the preprocessor is not run on the
4435 # input file. (Note that this only needs to work for GNU compilers.)
4438 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4439 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4440 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4441 echo $ECHO_N "(cached) $ECHO_C" >&6
4443 cat >conftest.$ac_ext <<_ACEOF
4451 rm -f conftest.$ac_objext
4452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4453 (eval $ac_compile) 2>conftest.er1
4455 grep -v '^ *+' conftest.er1 >conftest.err
4457 cat conftest.err >&5
4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459 (exit $ac_status); } &&
4460 { ac_try='test -z "$ac_fc_werror_flag"
4461 || test ! -s conftest.err'
4462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466 (exit $ac_status); }; } &&
4467 { ac_try='test -s conftest.$ac_objext'
4468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4472 (exit $ac_status); }; }; then
4475 echo "$as_me: failed program was:" >&5
4476 sed 's/^/| /' conftest.$ac_ext >&5
4480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4481 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4484 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4485 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4487 ac_test_FFLAGS=${FCFLAGS+set}
4488 ac_save_FFLAGS=$FCFLAGS
4490 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4491 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4492 if test "${ac_cv_prog_fc_g+set}" = set; then
4493 echo $ECHO_N "(cached) $ECHO_C" >&6
4496 cat >conftest.$ac_ext <<_ACEOF
4501 rm -f conftest.$ac_objext
4502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4503 (eval $ac_compile) 2>conftest.er1
4505 grep -v '^ *+' conftest.er1 >conftest.err
4507 cat conftest.err >&5
4508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4509 (exit $ac_status); } &&
4510 { ac_try='test -z "$ac_fc_werror_flag"
4511 || test ! -s conftest.err'
4512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4516 (exit $ac_status); }; } &&
4517 { ac_try='test -s conftest.$ac_objext'
4518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4522 (exit $ac_status); }; }; then
4525 echo "$as_me: failed program was:" >&5
4526 sed 's/^/| /' conftest.$ac_ext >&5
4530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4533 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4534 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4535 if test "$ac_test_FFLAGS" = set; then
4536 FCFLAGS=$ac_save_FFLAGS
4537 elif test $ac_cv_prog_fc_g = yes; then
4538 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4544 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4552 ac_cpp='$CPP $CPPFLAGS'
4553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4557 FCFLAGS="$FCFLAGS -Wall -fno-repack-arrays -fno-underscoring"
4559 # extra LD Flags which are required for targets
4562 # Darwin needs -single_module when linking libgfortran
4563 extra_ldflags_libgfortran=-Wl,-single_module
4568 # Check whether --enable-largefile or --disable-largefile was given.
4569 if test "${enable_largefile+set}" = set; then
4570 enableval="$enable_largefile"
4573 if test "$enable_largefile" != no; then
4575 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4576 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4577 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4578 echo $ECHO_N "(cached) $ECHO_C" >&6
4580 ac_cv_sys_largefile_CC=no
4581 if test "$GCC" != yes; then
4584 # IRIX 6.2 and later do not support large files by default,
4585 # so use the C compiler's -n32 option if that helps.
4586 cat >conftest.$ac_ext <<_ACEOF
4589 cat confdefs.h >>conftest.$ac_ext
4590 cat >>conftest.$ac_ext <<_ACEOF
4591 /* end confdefs.h. */
4592 #include <sys/types.h>
4593 /* Check that off_t can represent 2**63 - 1 correctly.
4594 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4595 since some C++ compilers masquerading as C compilers
4596 incorrectly reject 9223372036854775807. */
4597 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4598 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4599 && LARGE_OFF_T % 2147483647 == 1)
4609 rm -f conftest.$ac_objext
4610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4611 (eval $ac_compile) 2>conftest.er1
4613 grep -v '^ *+' conftest.er1 >conftest.err
4615 cat conftest.err >&5
4616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4617 (exit $ac_status); } &&
4618 { ac_try='test -z "$ac_c_werror_flag"
4619 || test ! -s conftest.err'
4620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4624 (exit $ac_status); }; } &&
4625 { ac_try='test -s conftest.$ac_objext'
4626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630 (exit $ac_status); }; }; then
4633 echo "$as_me: failed program was:" >&5
4634 sed 's/^/| /' conftest.$ac_ext >&5
4637 rm -f conftest.err conftest.$ac_objext
4639 rm -f conftest.$ac_objext
4640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4641 (eval $ac_compile) 2>conftest.er1
4643 grep -v '^ *+' conftest.er1 >conftest.err
4645 cat conftest.err >&5
4646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4647 (exit $ac_status); } &&
4648 { ac_try='test -z "$ac_c_werror_flag"
4649 || test ! -s conftest.err'
4650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654 (exit $ac_status); }; } &&
4655 { ac_try='test -s conftest.$ac_objext'
4656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660 (exit $ac_status); }; }; then
4661 ac_cv_sys_largefile_CC=' -n32'; break
4663 echo "$as_me: failed program was:" >&5
4664 sed 's/^/| /' conftest.$ac_ext >&5
4667 rm -f conftest.err conftest.$ac_objext
4671 rm -f conftest.$ac_ext
4674 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4675 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4676 if test "$ac_cv_sys_largefile_CC" != no; then
4677 CC=$CC$ac_cv_sys_largefile_CC
4680 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4681 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4682 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4683 echo $ECHO_N "(cached) $ECHO_C" >&6
4686 ac_cv_sys_file_offset_bits=no
4687 cat >conftest.$ac_ext <<_ACEOF
4690 cat confdefs.h >>conftest.$ac_ext
4691 cat >>conftest.$ac_ext <<_ACEOF
4692 /* end confdefs.h. */
4693 #include <sys/types.h>
4694 /* Check that off_t can represent 2**63 - 1 correctly.
4695 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4696 since some C++ compilers masquerading as C compilers
4697 incorrectly reject 9223372036854775807. */
4698 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4699 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4700 && LARGE_OFF_T % 2147483647 == 1)
4710 rm -f conftest.$ac_objext
4711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4712 (eval $ac_compile) 2>conftest.er1
4714 grep -v '^ *+' conftest.er1 >conftest.err
4716 cat conftest.err >&5
4717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718 (exit $ac_status); } &&
4719 { ac_try='test -z "$ac_c_werror_flag"
4720 || test ! -s conftest.err'
4721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4725 (exit $ac_status); }; } &&
4726 { ac_try='test -s conftest.$ac_objext'
4727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731 (exit $ac_status); }; }; then
4734 echo "$as_me: failed program was:" >&5
4735 sed 's/^/| /' conftest.$ac_ext >&5
4738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4739 cat >conftest.$ac_ext <<_ACEOF
4742 cat confdefs.h >>conftest.$ac_ext
4743 cat >>conftest.$ac_ext <<_ACEOF
4744 /* end confdefs.h. */
4745 #define _FILE_OFFSET_BITS 64
4746 #include <sys/types.h>
4747 /* Check that off_t can represent 2**63 - 1 correctly.
4748 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4749 since some C++ compilers masquerading as C compilers
4750 incorrectly reject 9223372036854775807. */
4751 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4752 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4753 && LARGE_OFF_T % 2147483647 == 1)
4763 rm -f conftest.$ac_objext
4764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4765 (eval $ac_compile) 2>conftest.er1
4767 grep -v '^ *+' conftest.er1 >conftest.err
4769 cat conftest.err >&5
4770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771 (exit $ac_status); } &&
4772 { ac_try='test -z "$ac_c_werror_flag"
4773 || test ! -s conftest.err'
4774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4778 (exit $ac_status); }; } &&
4779 { ac_try='test -s conftest.$ac_objext'
4780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784 (exit $ac_status); }; }; then
4785 ac_cv_sys_file_offset_bits=64; break
4787 echo "$as_me: failed program was:" >&5
4788 sed 's/^/| /' conftest.$ac_ext >&5
4791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4795 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4796 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4797 if test "$ac_cv_sys_file_offset_bits" != no; then
4799 cat >>confdefs.h <<_ACEOF
4800 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4805 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4806 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4807 if test "${ac_cv_sys_large_files+set}" = set; then
4808 echo $ECHO_N "(cached) $ECHO_C" >&6
4811 ac_cv_sys_large_files=no
4812 cat >conftest.$ac_ext <<_ACEOF
4815 cat confdefs.h >>conftest.$ac_ext
4816 cat >>conftest.$ac_ext <<_ACEOF
4817 /* end confdefs.h. */
4818 #include <sys/types.h>
4819 /* Check that off_t can represent 2**63 - 1 correctly.
4820 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4821 since some C++ compilers masquerading as C compilers
4822 incorrectly reject 9223372036854775807. */
4823 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4824 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4825 && LARGE_OFF_T % 2147483647 == 1)
4835 rm -f conftest.$ac_objext
4836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4837 (eval $ac_compile) 2>conftest.er1
4839 grep -v '^ *+' conftest.er1 >conftest.err
4841 cat conftest.err >&5
4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); } &&
4844 { ac_try='test -z "$ac_c_werror_flag"
4845 || test ! -s conftest.err'
4846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4850 (exit $ac_status); }; } &&
4851 { ac_try='test -s conftest.$ac_objext'
4852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4856 (exit $ac_status); }; }; then
4859 echo "$as_me: failed program was:" >&5
4860 sed 's/^/| /' conftest.$ac_ext >&5
4863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4864 cat >conftest.$ac_ext <<_ACEOF
4867 cat confdefs.h >>conftest.$ac_ext
4868 cat >>conftest.$ac_ext <<_ACEOF
4869 /* end confdefs.h. */
4870 #define _LARGE_FILES 1
4871 #include <sys/types.h>
4872 /* Check that off_t can represent 2**63 - 1 correctly.
4873 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4874 since some C++ compilers masquerading as C compilers
4875 incorrectly reject 9223372036854775807. */
4876 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4877 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4878 && LARGE_OFF_T % 2147483647 == 1)
4888 rm -f conftest.$ac_objext
4889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4890 (eval $ac_compile) 2>conftest.er1
4892 grep -v '^ *+' conftest.er1 >conftest.err
4894 cat conftest.err >&5
4895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896 (exit $ac_status); } &&
4897 { ac_try='test -z "$ac_c_werror_flag"
4898 || test ! -s conftest.err'
4899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); }; } &&
4904 { ac_try='test -s conftest.$ac_objext'
4905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4909 (exit $ac_status); }; }; then
4910 ac_cv_sys_large_files=1; break
4912 echo "$as_me: failed program was:" >&5
4913 sed 's/^/| /' conftest.$ac_ext >&5
4916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4920 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4921 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4922 if test "$ac_cv_sys_large_files" != no; then
4924 cat >>confdefs.h <<_ACEOF
4925 #define _LARGE_FILES $ac_cv_sys_large_files
4933 ac_cpp='$CPP $CPPFLAGS'
4934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4937 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4938 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4939 # On Suns, sometimes $CPP names a directory.
4940 if test -n "$CPP" && test -d "$CPP"; then
4943 if test -z "$CPP"; then
4944 if test "${ac_cv_prog_CPP+set}" = set; then
4945 echo $ECHO_N "(cached) $ECHO_C" >&6
4947 # Double quotes because CPP needs to be expanded
4948 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4951 for ac_c_preproc_warn_flag in '' yes
4953 # Use a header file that comes with gcc, so configuring glibc
4954 # with a fresh cross-compiler works.
4955 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4956 # <limits.h> exists even on freestanding compilers.
4957 # On the NeXT, cc -E runs the code through the compiler's parser,
4958 # not just through cpp. "Syntax error" is here to catch this case.
4959 cat >conftest.$ac_ext <<_ACEOF
4962 cat confdefs.h >>conftest.$ac_ext
4963 cat >>conftest.$ac_ext <<_ACEOF
4964 /* end confdefs.h. */
4966 # include <limits.h>
4968 # include <assert.h>
4972 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4973 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4975 grep -v '^ *+' conftest.er1 >conftest.err
4977 cat conftest.err >&5
4978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979 (exit $ac_status); } >/dev/null; then
4980 if test -s conftest.err; then
4981 ac_cpp_err=$ac_c_preproc_warn_flag
4982 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4989 if test -z "$ac_cpp_err"; then
4992 echo "$as_me: failed program was:" >&5
4993 sed 's/^/| /' conftest.$ac_ext >&5
4995 # Broken: fails on valid input.
4998 rm -f conftest.err conftest.$ac_ext
5000 # OK, works on sane cases. Now check whether non-existent headers
5001 # can be detected and how.
5002 cat >conftest.$ac_ext <<_ACEOF
5005 cat confdefs.h >>conftest.$ac_ext
5006 cat >>conftest.$ac_ext <<_ACEOF
5007 /* end confdefs.h. */
5008 #include <ac_nonexistent.h>
5010 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5011 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5013 grep -v '^ *+' conftest.er1 >conftest.err
5015 cat conftest.err >&5
5016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5017 (exit $ac_status); } >/dev/null; then
5018 if test -s conftest.err; then
5019 ac_cpp_err=$ac_c_preproc_warn_flag
5020 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5027 if test -z "$ac_cpp_err"; then
5028 # Broken: success on invalid input.
5031 echo "$as_me: failed program was:" >&5
5032 sed 's/^/| /' conftest.$ac_ext >&5
5034 # Passes both tests.
5038 rm -f conftest.err conftest.$ac_ext
5041 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5042 rm -f conftest.err conftest.$ac_ext
5043 if $ac_preproc_ok; then
5055 echo "$as_me:$LINENO: result: $CPP" >&5
5056 echo "${ECHO_T}$CPP" >&6
5058 for ac_c_preproc_warn_flag in '' yes
5060 # Use a header file that comes with gcc, so configuring glibc
5061 # with a fresh cross-compiler works.
5062 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5063 # <limits.h> exists even on freestanding compilers.
5064 # On the NeXT, cc -E runs the code through the compiler's parser,
5065 # not just through cpp. "Syntax error" is here to catch this case.
5066 cat >conftest.$ac_ext <<_ACEOF
5069 cat confdefs.h >>conftest.$ac_ext
5070 cat >>conftest.$ac_ext <<_ACEOF
5071 /* end confdefs.h. */
5073 # include <limits.h>
5075 # include <assert.h>
5079 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5080 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5082 grep -v '^ *+' conftest.er1 >conftest.err
5084 cat conftest.err >&5
5085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5086 (exit $ac_status); } >/dev/null; then
5087 if test -s conftest.err; then
5088 ac_cpp_err=$ac_c_preproc_warn_flag
5089 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5096 if test -z "$ac_cpp_err"; then
5099 echo "$as_me: failed program was:" >&5
5100 sed 's/^/| /' conftest.$ac_ext >&5
5102 # Broken: fails on valid input.
5105 rm -f conftest.err conftest.$ac_ext
5107 # OK, works on sane cases. Now check whether non-existent headers
5108 # can be detected and how.
5109 cat >conftest.$ac_ext <<_ACEOF
5112 cat confdefs.h >>conftest.$ac_ext
5113 cat >>conftest.$ac_ext <<_ACEOF
5114 /* end confdefs.h. */
5115 #include <ac_nonexistent.h>
5117 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5118 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5120 grep -v '^ *+' conftest.er1 >conftest.err
5122 cat conftest.err >&5
5123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124 (exit $ac_status); } >/dev/null; then
5125 if test -s conftest.err; then
5126 ac_cpp_err=$ac_c_preproc_warn_flag
5127 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5134 if test -z "$ac_cpp_err"; then
5135 # Broken: success on invalid input.
5138 echo "$as_me: failed program was:" >&5
5139 sed 's/^/| /' conftest.$ac_ext >&5
5141 # Passes both tests.
5145 rm -f conftest.err conftest.$ac_ext
5148 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5149 rm -f conftest.err conftest.$ac_ext
5150 if $ac_preproc_ok; then
5153 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5154 See \`config.log' for more details." >&5
5155 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5156 See \`config.log' for more details." >&2;}
5157 { (exit 1); exit 1; }; }
5161 ac_cpp='$CPP $CPPFLAGS'
5162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5167 echo "$as_me:$LINENO: checking for egrep" >&5
5168 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5169 if test "${ac_cv_prog_egrep+set}" = set; then
5170 echo $ECHO_N "(cached) $ECHO_C" >&6
5172 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5173 then ac_cv_prog_egrep='grep -E'
5174 else ac_cv_prog_egrep='egrep'
5177 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5178 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5179 EGREP=$ac_cv_prog_egrep
5182 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5183 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5184 if test "${ac_cv_header_stdc+set}" = set; then
5185 echo $ECHO_N "(cached) $ECHO_C" >&6
5187 cat >conftest.$ac_ext <<_ACEOF
5190 cat confdefs.h >>conftest.$ac_ext
5191 cat >>conftest.$ac_ext <<_ACEOF
5192 /* end confdefs.h. */
5206 rm -f conftest.$ac_objext
5207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5208 (eval $ac_compile) 2>conftest.er1
5210 grep -v '^ *+' conftest.er1 >conftest.err
5212 cat conftest.err >&5
5213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5214 (exit $ac_status); } &&
5215 { ac_try='test -z "$ac_c_werror_flag"
5216 || test ! -s conftest.err'
5217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5221 (exit $ac_status); }; } &&
5222 { ac_try='test -s conftest.$ac_objext'
5223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5227 (exit $ac_status); }; }; then
5228 ac_cv_header_stdc=yes
5230 echo "$as_me: failed program was:" >&5
5231 sed 's/^/| /' conftest.$ac_ext >&5
5233 ac_cv_header_stdc=no
5235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5237 if test $ac_cv_header_stdc = yes; then
5238 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5239 cat >conftest.$ac_ext <<_ACEOF
5242 cat confdefs.h >>conftest.$ac_ext
5243 cat >>conftest.$ac_ext <<_ACEOF
5244 /* end confdefs.h. */
5248 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5249 $EGREP "memchr" >/dev/null 2>&1; then
5252 ac_cv_header_stdc=no
5258 if test $ac_cv_header_stdc = yes; then
5259 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5260 cat >conftest.$ac_ext <<_ACEOF
5263 cat confdefs.h >>conftest.$ac_ext
5264 cat >>conftest.$ac_ext <<_ACEOF
5265 /* end confdefs.h. */
5269 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5270 $EGREP "free" >/dev/null 2>&1; then
5273 ac_cv_header_stdc=no
5279 if test $ac_cv_header_stdc = yes; then
5280 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5281 if test "$cross_compiling" = yes; then
5284 cat >conftest.$ac_ext <<_ACEOF
5287 cat confdefs.h >>conftest.$ac_ext
5288 cat >>conftest.$ac_ext <<_ACEOF
5289 /* end confdefs.h. */
5291 #if ((' ' & 0x0FF) == 0x020)
5292 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5293 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5295 # define ISLOWER(c) \
5296 (('a' <= (c) && (c) <= 'i') \
5297 || ('j' <= (c) && (c) <= 'r') \
5298 || ('s' <= (c) && (c) <= 'z'))
5299 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5302 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5307 for (i = 0; i < 256; i++)
5308 if (XOR (islower (i), ISLOWER (i))
5309 || toupper (i) != TOUPPER (i))
5314 rm -f conftest$ac_exeext
5315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5316 (eval $ac_link) 2>&5
5318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5319 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5324 (exit $ac_status); }; }; then
5327 echo "$as_me: program exited with status $ac_status" >&5
5328 echo "$as_me: failed program was:" >&5
5329 sed 's/^/| /' conftest.$ac_ext >&5
5332 ac_cv_header_stdc=no
5334 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5338 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5339 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5340 if test $ac_cv_header_stdc = yes; then
5342 cat >>confdefs.h <<\_ACEOF
5343 #define STDC_HEADERS 1
5348 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5358 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5359 inttypes.h stdint.h unistd.h
5361 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5362 echo "$as_me:$LINENO: checking for $ac_header" >&5
5363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5365 echo $ECHO_N "(cached) $ECHO_C" >&6
5367 cat >conftest.$ac_ext <<_ACEOF
5370 cat confdefs.h >>conftest.$ac_ext
5371 cat >>conftest.$ac_ext <<_ACEOF
5372 /* end confdefs.h. */
5373 $ac_includes_default
5375 #include <$ac_header>
5377 rm -f conftest.$ac_objext
5378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5379 (eval $ac_compile) 2>conftest.er1
5381 grep -v '^ *+' conftest.er1 >conftest.err
5383 cat conftest.err >&5
5384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5385 (exit $ac_status); } &&
5386 { ac_try='test -z "$ac_c_werror_flag"
5387 || test ! -s conftest.err'
5388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5392 (exit $ac_status); }; } &&
5393 { ac_try='test -s conftest.$ac_objext'
5394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398 (exit $ac_status); }; }; then
5399 eval "$as_ac_Header=yes"
5401 echo "$as_me: failed program was:" >&5
5402 sed 's/^/| /' conftest.$ac_ext >&5
5404 eval "$as_ac_Header=no"
5406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5409 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5410 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5411 cat >>confdefs.h <<_ACEOF
5412 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5422 for ac_header in stdlib.h unistd.h
5424 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
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 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5432 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5434 # Is the header compilable?
5435 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5436 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5437 cat >conftest.$ac_ext <<_ACEOF
5440 cat confdefs.h >>conftest.$ac_ext
5441 cat >>conftest.$ac_ext <<_ACEOF
5442 /* end confdefs.h. */
5443 $ac_includes_default
5444 #include <$ac_header>
5446 rm -f conftest.$ac_objext
5447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5448 (eval $ac_compile) 2>conftest.er1
5450 grep -v '^ *+' conftest.er1 >conftest.err
5452 cat conftest.err >&5
5453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5454 (exit $ac_status); } &&
5455 { ac_try='test -z "$ac_c_werror_flag"
5456 || test ! -s conftest.err'
5457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5461 (exit $ac_status); }; } &&
5462 { ac_try='test -s conftest.$ac_objext'
5463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5467 (exit $ac_status); }; }; then
5468 ac_header_compiler=yes
5470 echo "$as_me: failed program was:" >&5
5471 sed 's/^/| /' conftest.$ac_ext >&5
5473 ac_header_compiler=no
5475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5476 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5477 echo "${ECHO_T}$ac_header_compiler" >&6
5479 # Is the header present?
5480 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5481 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5482 cat >conftest.$ac_ext <<_ACEOF
5485 cat confdefs.h >>conftest.$ac_ext
5486 cat >>conftest.$ac_ext <<_ACEOF
5487 /* end confdefs.h. */
5488 #include <$ac_header>
5490 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5491 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5493 grep -v '^ *+' conftest.er1 >conftest.err
5495 cat conftest.err >&5
5496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5497 (exit $ac_status); } >/dev/null; then
5498 if test -s conftest.err; then
5499 ac_cpp_err=$ac_c_preproc_warn_flag
5500 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5507 if test -z "$ac_cpp_err"; then
5508 ac_header_preproc=yes
5510 echo "$as_me: failed program was:" >&5
5511 sed 's/^/| /' conftest.$ac_ext >&5
5513 ac_header_preproc=no
5515 rm -f conftest.err conftest.$ac_ext
5516 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5517 echo "${ECHO_T}$ac_header_preproc" >&6
5519 # So? What about this header?
5520 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5522 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5523 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5524 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5525 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5526 ac_header_preproc=yes
5529 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5530 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5531 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5532 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5533 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5534 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5535 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5536 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5537 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5538 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5539 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5540 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5543 ## ------------------------------------------------------ ##
5544 ## Report this to the GNU Fortran Runtime Library lists. ##
5545 ## ------------------------------------------------------ ##
5548 sed "s/^/$as_me: WARNING: /" >&2
5551 echo "$as_me:$LINENO: checking for $ac_header" >&5
5552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5553 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5554 echo $ECHO_N "(cached) $ECHO_C" >&6
5556 eval "$as_ac_Header=\$ac_header_preproc"
5558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5559 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5562 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5563 cat >>confdefs.h <<_ACEOF
5564 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5572 for ac_func in getpagesize
5574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5575 echo "$as_me:$LINENO: checking for $ac_func" >&5
5576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5577 if eval "test \"\${$as_ac_var+set}\" = set"; then
5578 echo $ECHO_N "(cached) $ECHO_C" >&6
5580 cat >conftest.$ac_ext <<_ACEOF
5583 cat confdefs.h >>conftest.$ac_ext
5584 cat >>conftest.$ac_ext <<_ACEOF
5585 /* end confdefs.h. */
5586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5588 #define $ac_func innocuous_$ac_func
5590 /* System header to define __stub macros and hopefully few prototypes,
5591 which can conflict with char $ac_func (); below.
5592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5593 <limits.h> exists even on freestanding compilers. */
5596 # include <limits.h>
5598 # include <assert.h>
5603 /* Override any gcc2 internal prototype to avoid an error. */
5608 /* We use char because int might match the return type of a gcc2
5609 builtin and then its argument prototype would still apply. */
5611 /* The GNU C library defines this for functions which it implements
5612 to always fail with ENOSYS. Some functions are actually named
5613 something starting with __ and the normal name is an alias. */
5614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5617 char (*f) () = $ac_func;
5626 return f != $ac_func;
5631 rm -f conftest.$ac_objext conftest$ac_exeext
5632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5633 (eval $ac_link) 2>conftest.er1
5635 grep -v '^ *+' conftest.er1 >conftest.err
5637 cat conftest.err >&5
5638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639 (exit $ac_status); } &&
5640 { ac_try='test -z "$ac_c_werror_flag"
5641 || test ! -s conftest.err'
5642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5646 (exit $ac_status); }; } &&
5647 { ac_try='test -s conftest$ac_exeext'
5648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5652 (exit $ac_status); }; }; then
5653 eval "$as_ac_var=yes"
5655 echo "$as_me: failed program was:" >&5
5656 sed 's/^/| /' conftest.$ac_ext >&5
5658 eval "$as_ac_var=no"
5660 rm -f conftest.err conftest.$ac_objext \
5661 conftest$ac_exeext conftest.$ac_ext
5663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5665 if test `eval echo '${'$as_ac_var'}'` = yes; then
5666 cat >>confdefs.h <<_ACEOF
5667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5673 echo "$as_me:$LINENO: checking for working mmap" >&5
5674 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5675 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5676 echo $ECHO_N "(cached) $ECHO_C" >&6
5678 if test "$cross_compiling" = yes; then
5679 ac_cv_func_mmap_fixed_mapped=no
5681 cat >conftest.$ac_ext <<_ACEOF
5684 cat confdefs.h >>conftest.$ac_ext
5685 cat >>conftest.$ac_ext <<_ACEOF
5686 /* end confdefs.h. */
5687 $ac_includes_default
5688 /* malloc might have been renamed as rpl_malloc. */
5691 /* Thanks to Mike Haertel and Jim Avera for this test.
5692 Here is a matrix of mmap possibilities:
5693 mmap private not fixed
5694 mmap private fixed at somewhere currently unmapped
5695 mmap private fixed at somewhere already mapped
5696 mmap shared not fixed
5697 mmap shared fixed at somewhere currently unmapped
5698 mmap shared fixed at somewhere already mapped
5699 For private mappings, we should verify that changes cannot be read()
5700 back from the file, nor mmap's back from the file at a different
5701 address. (There have been systems where private was not correctly
5702 implemented like the infamous i386 svr4.0, and systems where the
5703 VM page cache was not coherent with the file system buffer cache
5704 like early versions of FreeBSD and possibly contemporary NetBSD.)
5705 For shared mappings, we should conversely verify that changes get
5706 propagated back to all the places they're supposed to be.
5708 Grep wants private fixed already mapped.
5709 The main things grep needs to know about mmap are:
5710 * does it exist and is it safe to write into the mmap'd area
5711 * how to use it (BSD variants) */
5714 #include <sys/mman.h>
5716 #if !STDC_HEADERS && !HAVE_STDLIB_H
5720 /* This mess was copied from the GNU getpagesize.h. */
5721 #if !HAVE_GETPAGESIZE
5722 /* Assume that all systems that can run configure have sys/param.h. */
5723 # if !HAVE_SYS_PARAM_H
5724 # define HAVE_SYS_PARAM_H 1
5727 # ifdef _SC_PAGESIZE
5728 # define getpagesize() sysconf(_SC_PAGESIZE)
5729 # else /* no _SC_PAGESIZE */
5730 # if HAVE_SYS_PARAM_H
5731 # include <sys/param.h>
5732 # ifdef EXEC_PAGESIZE
5733 # define getpagesize() EXEC_PAGESIZE
5734 # else /* no EXEC_PAGESIZE */
5736 # define getpagesize() NBPG * CLSIZE
5739 # endif /* no CLSIZE */
5740 # else /* no NBPG */
5742 # define getpagesize() NBPC
5743 # else /* no NBPC */
5745 # define getpagesize() PAGESIZE
5746 # endif /* PAGESIZE */
5747 # endif /* no NBPC */
5748 # endif /* no NBPG */
5749 # endif /* no EXEC_PAGESIZE */
5750 # else /* no HAVE_SYS_PARAM_H */
5751 # define getpagesize() 8192 /* punt totally */
5752 # endif /* no HAVE_SYS_PARAM_H */
5753 # endif /* no _SC_PAGESIZE */
5755 #endif /* no HAVE_GETPAGESIZE */
5760 char *data, *data2, *data3;
5764 pagesize = getpagesize ();
5766 /* First, make a file with some known garbage in it. */
5767 data = (char *) malloc (pagesize);
5770 for (i = 0; i < pagesize; ++i)
5771 *(data + i) = rand ();
5773 fd = creat ("conftest.mmap", 0600);
5776 if (write (fd, data, pagesize) != pagesize)
5780 /* Next, try to mmap the file at a fixed address which already has
5781 something else allocated at it. If we can, also make sure that
5782 we see the same garbage. */
5783 fd = open ("conftest.mmap", O_RDWR);
5786 data2 = (char *) malloc (2 * pagesize);
5789 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5790 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5791 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5793 for (i = 0; i < pagesize; ++i)
5794 if (*(data + i) != *(data2 + i))
5797 /* Finally, make sure that changes to the mapped area do not
5798 percolate back to the file as seen by read(). (This is a bug on
5799 some variants of i386 svr4.0.) */
5800 for (i = 0; i < pagesize; ++i)
5801 *(data2 + i) = *(data2 + i) + 1;
5802 data3 = (char *) malloc (pagesize);
5805 if (read (fd, data3, pagesize) != pagesize)
5807 for (i = 0; i < pagesize; ++i)
5808 if (*(data + i) != *(data3 + i))
5814 rm -f conftest$ac_exeext
5815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5816 (eval $ac_link) 2>&5
5818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5819 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5824 (exit $ac_status); }; }; then
5825 ac_cv_func_mmap_fixed_mapped=yes
5827 echo "$as_me: program exited with status $ac_status" >&5
5828 echo "$as_me: failed program was:" >&5
5829 sed 's/^/| /' conftest.$ac_ext >&5
5832 ac_cv_func_mmap_fixed_mapped=no
5834 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5837 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5838 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5839 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5841 cat >>confdefs.h <<\_ACEOF
5848 echo "$as_me:$LINENO: checking for off_t" >&5
5849 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5850 if test "${ac_cv_type_off_t+set}" = set; then
5851 echo $ECHO_N "(cached) $ECHO_C" >&6
5853 cat >conftest.$ac_ext <<_ACEOF
5856 cat confdefs.h >>conftest.$ac_ext
5857 cat >>conftest.$ac_ext <<_ACEOF
5858 /* end confdefs.h. */
5859 $ac_includes_default
5871 rm -f conftest.$ac_objext
5872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5873 (eval $ac_compile) 2>conftest.er1
5875 grep -v '^ *+' conftest.er1 >conftest.err
5877 cat conftest.err >&5
5878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5879 (exit $ac_status); } &&
5880 { ac_try='test -z "$ac_c_werror_flag"
5881 || test ! -s conftest.err'
5882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5886 (exit $ac_status); }; } &&
5887 { ac_try='test -s conftest.$ac_objext'
5888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5892 (exit $ac_status); }; }; then
5893 ac_cv_type_off_t=yes
5895 echo "$as_me: failed program was:" >&5
5896 sed 's/^/| /' conftest.$ac_ext >&5
5900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5902 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5903 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5904 if test $ac_cv_type_off_t = yes; then
5908 cat >>confdefs.h <<_ACEOF
5915 # check header files
5916 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5917 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5918 if test "${ac_cv_header_stdc+set}" = set; then
5919 echo $ECHO_N "(cached) $ECHO_C" >&6
5921 cat >conftest.$ac_ext <<_ACEOF
5924 cat confdefs.h >>conftest.$ac_ext
5925 cat >>conftest.$ac_ext <<_ACEOF
5926 /* end confdefs.h. */
5940 rm -f conftest.$ac_objext
5941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5942 (eval $ac_compile) 2>conftest.er1
5944 grep -v '^ *+' conftest.er1 >conftest.err
5946 cat conftest.err >&5
5947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5948 (exit $ac_status); } &&
5949 { ac_try='test -z "$ac_c_werror_flag"
5950 || test ! -s conftest.err'
5951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5955 (exit $ac_status); }; } &&
5956 { ac_try='test -s conftest.$ac_objext'
5957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961 (exit $ac_status); }; }; then
5962 ac_cv_header_stdc=yes
5964 echo "$as_me: failed program was:" >&5
5965 sed 's/^/| /' conftest.$ac_ext >&5
5967 ac_cv_header_stdc=no
5969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5971 if test $ac_cv_header_stdc = yes; then
5972 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5973 cat >conftest.$ac_ext <<_ACEOF
5976 cat confdefs.h >>conftest.$ac_ext
5977 cat >>conftest.$ac_ext <<_ACEOF
5978 /* end confdefs.h. */
5982 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5983 $EGREP "memchr" >/dev/null 2>&1; then
5986 ac_cv_header_stdc=no
5992 if test $ac_cv_header_stdc = yes; then
5993 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5994 cat >conftest.$ac_ext <<_ACEOF
5997 cat confdefs.h >>conftest.$ac_ext
5998 cat >>conftest.$ac_ext <<_ACEOF
5999 /* end confdefs.h. */
6003 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6004 $EGREP "free" >/dev/null 2>&1; then
6007 ac_cv_header_stdc=no
6013 if test $ac_cv_header_stdc = yes; then
6014 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6015 if test "$cross_compiling" = yes; then
6018 cat >conftest.$ac_ext <<_ACEOF
6021 cat confdefs.h >>conftest.$ac_ext
6022 cat >>conftest.$ac_ext <<_ACEOF
6023 /* end confdefs.h. */
6025 #if ((' ' & 0x0FF) == 0x020)
6026 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6027 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6029 # define ISLOWER(c) \
6030 (('a' <= (c) && (c) <= 'i') \
6031 || ('j' <= (c) && (c) <= 'r') \
6032 || ('s' <= (c) && (c) <= 'z'))
6033 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6036 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6041 for (i = 0; i < 256; i++)
6042 if (XOR (islower (i), ISLOWER (i))
6043 || toupper (i) != TOUPPER (i))
6048 rm -f conftest$ac_exeext
6049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6050 (eval $ac_link) 2>&5
6052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6053 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6058 (exit $ac_status); }; }; then
6061 echo "$as_me: program exited with status $ac_status" >&5
6062 echo "$as_me: failed program was:" >&5
6063 sed 's/^/| /' conftest.$ac_ext >&5
6066 ac_cv_header_stdc=no
6068 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6072 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6073 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6074 if test $ac_cv_header_stdc = yes; then
6076 cat >>confdefs.h <<\_ACEOF
6077 #define STDC_HEADERS 1
6089 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
6091 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6093 echo "$as_me:$LINENO: checking for $ac_header" >&5
6094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6096 echo $ECHO_N "(cached) $ECHO_C" >&6
6098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6101 # Is the header compilable?
6102 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6103 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6104 cat >conftest.$ac_ext <<_ACEOF
6107 cat confdefs.h >>conftest.$ac_ext
6108 cat >>conftest.$ac_ext <<_ACEOF
6109 /* end confdefs.h. */
6110 $ac_includes_default
6111 #include <$ac_header>
6113 rm -f conftest.$ac_objext
6114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6115 (eval $ac_compile) 2>conftest.er1
6117 grep -v '^ *+' conftest.er1 >conftest.err
6119 cat conftest.err >&5
6120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6121 (exit $ac_status); } &&
6122 { ac_try='test -z "$ac_c_werror_flag"
6123 || test ! -s conftest.err'
6124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6128 (exit $ac_status); }; } &&
6129 { ac_try='test -s conftest.$ac_objext'
6130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6134 (exit $ac_status); }; }; then
6135 ac_header_compiler=yes
6137 echo "$as_me: failed program was:" >&5
6138 sed 's/^/| /' conftest.$ac_ext >&5
6140 ac_header_compiler=no
6142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6143 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6144 echo "${ECHO_T}$ac_header_compiler" >&6
6146 # Is the header present?
6147 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6148 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6149 cat >conftest.$ac_ext <<_ACEOF
6152 cat confdefs.h >>conftest.$ac_ext
6153 cat >>conftest.$ac_ext <<_ACEOF
6154 /* end confdefs.h. */
6155 #include <$ac_header>
6157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6158 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6160 grep -v '^ *+' conftest.er1 >conftest.err
6162 cat conftest.err >&5
6163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6164 (exit $ac_status); } >/dev/null; then
6165 if test -s conftest.err; then
6166 ac_cpp_err=$ac_c_preproc_warn_flag
6167 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6174 if test -z "$ac_cpp_err"; then
6175 ac_header_preproc=yes
6177 echo "$as_me: failed program was:" >&5
6178 sed 's/^/| /' conftest.$ac_ext >&5
6180 ac_header_preproc=no
6182 rm -f conftest.err conftest.$ac_ext
6183 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6184 echo "${ECHO_T}$ac_header_preproc" >&6
6186 # So? What about this header?
6187 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6189 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6190 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6191 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6192 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6193 ac_header_preproc=yes
6196 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6197 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6198 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6199 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6200 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6201 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6202 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6203 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6204 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6205 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6206 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6207 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6210 ## ------------------------------------------------------ ##
6211 ## Report this to the GNU Fortran Runtime Library lists. ##
6212 ## ------------------------------------------------------ ##
6215 sed "s/^/$as_me: WARNING: /" >&2
6218 echo "$as_me:$LINENO: checking for $ac_header" >&5
6219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6221 echo $ECHO_N "(cached) $ECHO_C" >&6
6223 eval "$as_ac_Header=\$ac_header_preproc"
6225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6226 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6230 cat >>confdefs.h <<_ACEOF
6231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6243 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
6245 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6246 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6247 echo "$as_me:$LINENO: checking for $ac_header" >&5
6248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6250 echo $ECHO_N "(cached) $ECHO_C" >&6
6252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6253 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6255 # Is the header compilable?
6256 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6257 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6258 cat >conftest.$ac_ext <<_ACEOF
6261 cat confdefs.h >>conftest.$ac_ext
6262 cat >>conftest.$ac_ext <<_ACEOF
6263 /* end confdefs.h. */
6264 $ac_includes_default
6265 #include <$ac_header>
6267 rm -f conftest.$ac_objext
6268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6269 (eval $ac_compile) 2>conftest.er1
6271 grep -v '^ *+' conftest.er1 >conftest.err
6273 cat conftest.err >&5
6274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6275 (exit $ac_status); } &&
6276 { ac_try='test -z "$ac_c_werror_flag"
6277 || test ! -s conftest.err'
6278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6282 (exit $ac_status); }; } &&
6283 { ac_try='test -s conftest.$ac_objext'
6284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6288 (exit $ac_status); }; }; then
6289 ac_header_compiler=yes
6291 echo "$as_me: failed program was:" >&5
6292 sed 's/^/| /' conftest.$ac_ext >&5
6294 ac_header_compiler=no
6296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6297 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6298 echo "${ECHO_T}$ac_header_compiler" >&6
6300 # Is the header present?
6301 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6302 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6303 cat >conftest.$ac_ext <<_ACEOF
6306 cat confdefs.h >>conftest.$ac_ext
6307 cat >>conftest.$ac_ext <<_ACEOF
6308 /* end confdefs.h. */
6309 #include <$ac_header>
6311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6312 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6314 grep -v '^ *+' conftest.er1 >conftest.err
6316 cat conftest.err >&5
6317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6318 (exit $ac_status); } >/dev/null; then
6319 if test -s conftest.err; then
6320 ac_cpp_err=$ac_c_preproc_warn_flag
6321 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6328 if test -z "$ac_cpp_err"; then
6329 ac_header_preproc=yes
6331 echo "$as_me: failed program was:" >&5
6332 sed 's/^/| /' conftest.$ac_ext >&5
6334 ac_header_preproc=no
6336 rm -f conftest.err conftest.$ac_ext
6337 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6338 echo "${ECHO_T}$ac_header_preproc" >&6
6340 # So? What about this header?
6341 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6343 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6344 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6346 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6347 ac_header_preproc=yes
6350 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6351 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6352 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6353 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6354 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6355 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6356 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6357 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6359 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6360 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6361 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6364 ## ------------------------------------------------------ ##
6365 ## Report this to the GNU Fortran Runtime Library lists. ##
6366 ## ------------------------------------------------------ ##
6369 sed "s/^/$as_me: WARNING: /" >&2
6372 echo "$as_me:$LINENO: checking for $ac_header" >&5
6373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6375 echo $ECHO_N "(cached) $ECHO_C" >&6
6377 eval "$as_ac_Header=\$ac_header_preproc"
6379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6380 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6383 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6384 cat >>confdefs.h <<_ACEOF
6385 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6396 for ac_header in sys/mman.h sys/types.h sys/stat.h ieeefp.h
6398 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6400 echo "$as_me:$LINENO: checking for $ac_header" >&5
6401 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6402 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6403 echo $ECHO_N "(cached) $ECHO_C" >&6
6405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6406 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6408 # Is the header compilable?
6409 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6410 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6411 cat >conftest.$ac_ext <<_ACEOF
6414 cat confdefs.h >>conftest.$ac_ext
6415 cat >>conftest.$ac_ext <<_ACEOF
6416 /* end confdefs.h. */
6417 $ac_includes_default
6418 #include <$ac_header>
6420 rm -f conftest.$ac_objext
6421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6422 (eval $ac_compile) 2>conftest.er1
6424 grep -v '^ *+' conftest.er1 >conftest.err
6426 cat conftest.err >&5
6427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6428 (exit $ac_status); } &&
6429 { ac_try='test -z "$ac_c_werror_flag"
6430 || test ! -s conftest.err'
6431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435 (exit $ac_status); }; } &&
6436 { ac_try='test -s conftest.$ac_objext'
6437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441 (exit $ac_status); }; }; then
6442 ac_header_compiler=yes
6444 echo "$as_me: failed program was:" >&5
6445 sed 's/^/| /' conftest.$ac_ext >&5
6447 ac_header_compiler=no
6449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6450 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6451 echo "${ECHO_T}$ac_header_compiler" >&6
6453 # Is the header present?
6454 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6455 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6456 cat >conftest.$ac_ext <<_ACEOF
6459 cat confdefs.h >>conftest.$ac_ext
6460 cat >>conftest.$ac_ext <<_ACEOF
6461 /* end confdefs.h. */
6462 #include <$ac_header>
6464 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6465 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6467 grep -v '^ *+' conftest.er1 >conftest.err
6469 cat conftest.err >&5
6470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6471 (exit $ac_status); } >/dev/null; then
6472 if test -s conftest.err; then
6473 ac_cpp_err=$ac_c_preproc_warn_flag
6474 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6481 if test -z "$ac_cpp_err"; then
6482 ac_header_preproc=yes
6484 echo "$as_me: failed program was:" >&5
6485 sed 's/^/| /' conftest.$ac_ext >&5
6487 ac_header_preproc=no
6489 rm -f conftest.err conftest.$ac_ext
6490 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6491 echo "${ECHO_T}$ac_header_preproc" >&6
6493 # So? What about this header?
6494 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6496 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6497 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6498 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6499 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6500 ac_header_preproc=yes
6503 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6504 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6505 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6506 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6507 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6508 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6509 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6510 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6511 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6512 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6513 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6514 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6517 ## ------------------------------------------------------ ##
6518 ## Report this to the GNU Fortran Runtime Library lists. ##
6519 ## ------------------------------------------------------ ##
6522 sed "s/^/$as_me: WARNING: /" >&2
6525 echo "$as_me:$LINENO: checking for $ac_header" >&5
6526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6528 echo $ECHO_N "(cached) $ECHO_C" >&6
6530 eval "$as_ac_Header=\$ac_header_preproc"
6532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6533 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6536 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6537 cat >>confdefs.h <<_ACEOF
6538 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6545 if test "${ac_cv_header_complex_h+set}" = set; then
6546 echo "$as_me:$LINENO: checking for complex.h" >&5
6547 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6548 if test "${ac_cv_header_complex_h+set}" = set; then
6549 echo $ECHO_N "(cached) $ECHO_C" >&6
6551 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6552 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6554 # Is the header compilable?
6555 echo "$as_me:$LINENO: checking complex.h usability" >&5
6556 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6557 cat >conftest.$ac_ext <<_ACEOF
6560 cat confdefs.h >>conftest.$ac_ext
6561 cat >>conftest.$ac_ext <<_ACEOF
6562 /* end confdefs.h. */
6563 $ac_includes_default
6564 #include <complex.h>
6566 rm -f conftest.$ac_objext
6567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6568 (eval $ac_compile) 2>conftest.er1
6570 grep -v '^ *+' conftest.er1 >conftest.err
6572 cat conftest.err >&5
6573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6574 (exit $ac_status); } &&
6575 { ac_try='test -z "$ac_c_werror_flag"
6576 || test ! -s conftest.err'
6577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6581 (exit $ac_status); }; } &&
6582 { ac_try='test -s conftest.$ac_objext'
6583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6587 (exit $ac_status); }; }; then
6588 ac_header_compiler=yes
6590 echo "$as_me: failed program was:" >&5
6591 sed 's/^/| /' conftest.$ac_ext >&5
6593 ac_header_compiler=no
6595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6596 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6597 echo "${ECHO_T}$ac_header_compiler" >&6
6599 # Is the header present?
6600 echo "$as_me:$LINENO: checking complex.h presence" >&5
6601 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6602 cat >conftest.$ac_ext <<_ACEOF
6605 cat confdefs.h >>conftest.$ac_ext
6606 cat >>conftest.$ac_ext <<_ACEOF
6607 /* end confdefs.h. */
6608 #include <complex.h>
6610 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6611 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6613 grep -v '^ *+' conftest.er1 >conftest.err
6615 cat conftest.err >&5
6616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6617 (exit $ac_status); } >/dev/null; then
6618 if test -s conftest.err; then
6619 ac_cpp_err=$ac_c_preproc_warn_flag
6620 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6627 if test -z "$ac_cpp_err"; then
6628 ac_header_preproc=yes
6630 echo "$as_me: failed program was:" >&5
6631 sed 's/^/| /' conftest.$ac_ext >&5
6633 ac_header_preproc=no
6635 rm -f conftest.err conftest.$ac_ext
6636 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6637 echo "${ECHO_T}$ac_header_preproc" >&6
6639 # So? What about this header?
6640 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6642 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6643 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6644 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6645 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6646 ac_header_preproc=yes
6649 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6650 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6651 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6652 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6653 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6654 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6655 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6656 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6657 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6658 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6659 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6660 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6663 ## ------------------------------------------------------ ##
6664 ## Report this to the GNU Fortran Runtime Library lists. ##
6665 ## ------------------------------------------------------ ##
6668 sed "s/^/$as_me: WARNING: /" >&2
6671 echo "$as_me:$LINENO: checking for complex.h" >&5
6672 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6673 if test "${ac_cv_header_complex_h+set}" = set; then
6674 echo $ECHO_N "(cached) $ECHO_C" >&6
6676 ac_cv_header_complex_h=$ac_header_preproc
6678 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6679 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6682 if test $ac_cv_header_complex_h = yes; then
6684 cat >>confdefs.h <<\_ACEOF
6685 #define HAVE_COMPLEX_H 1
6692 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6693 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
6694 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6695 echo $ECHO_N "(cached) $ECHO_C" >&6
6697 cat >conftest.$ac_ext <<_ACEOF
6700 cat confdefs.h >>conftest.$ac_ext
6701 cat >>conftest.$ac_ext <<_ACEOF
6702 /* end confdefs.h. */
6703 $ac_includes_default
6707 static struct stat ac_aggr;
6708 if (ac_aggr.st_blksize)
6714 rm -f conftest.$ac_objext
6715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6716 (eval $ac_compile) 2>conftest.er1
6718 grep -v '^ *+' conftest.er1 >conftest.err
6720 cat conftest.err >&5
6721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6722 (exit $ac_status); } &&
6723 { ac_try='test -z "$ac_c_werror_flag"
6724 || test ! -s conftest.err'
6725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6729 (exit $ac_status); }; } &&
6730 { ac_try='test -s conftest.$ac_objext'
6731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6735 (exit $ac_status); }; }; then
6736 ac_cv_member_struct_stat_st_blksize=yes
6738 echo "$as_me: failed program was:" >&5
6739 sed 's/^/| /' conftest.$ac_ext >&5
6741 cat >conftest.$ac_ext <<_ACEOF
6744 cat confdefs.h >>conftest.$ac_ext
6745 cat >>conftest.$ac_ext <<_ACEOF
6746 /* end confdefs.h. */
6747 $ac_includes_default
6751 static struct stat ac_aggr;
6752 if (sizeof ac_aggr.st_blksize)
6758 rm -f conftest.$ac_objext
6759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6760 (eval $ac_compile) 2>conftest.er1
6762 grep -v '^ *+' conftest.er1 >conftest.err
6764 cat conftest.err >&5
6765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6766 (exit $ac_status); } &&
6767 { ac_try='test -z "$ac_c_werror_flag"
6768 || test ! -s conftest.err'
6769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6773 (exit $ac_status); }; } &&
6774 { ac_try='test -s conftest.$ac_objext'
6775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779 (exit $ac_status); }; }; then
6780 ac_cv_member_struct_stat_st_blksize=yes
6782 echo "$as_me: failed program was:" >&5
6783 sed 's/^/| /' conftest.$ac_ext >&5
6785 ac_cv_member_struct_stat_st_blksize=no
6787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6791 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6792 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
6793 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6795 cat >>confdefs.h <<_ACEOF
6796 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6802 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6803 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
6804 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6805 echo $ECHO_N "(cached) $ECHO_C" >&6
6807 cat >conftest.$ac_ext <<_ACEOF
6810 cat confdefs.h >>conftest.$ac_ext
6811 cat >>conftest.$ac_ext <<_ACEOF
6812 /* end confdefs.h. */
6813 $ac_includes_default
6817 static struct stat ac_aggr;
6818 if (ac_aggr.st_blocks)
6824 rm -f conftest.$ac_objext
6825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6826 (eval $ac_compile) 2>conftest.er1
6828 grep -v '^ *+' conftest.er1 >conftest.err
6830 cat conftest.err >&5
6831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6832 (exit $ac_status); } &&
6833 { ac_try='test -z "$ac_c_werror_flag"
6834 || test ! -s conftest.err'
6835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6839 (exit $ac_status); }; } &&
6840 { ac_try='test -s conftest.$ac_objext'
6841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6845 (exit $ac_status); }; }; then
6846 ac_cv_member_struct_stat_st_blocks=yes
6848 echo "$as_me: failed program was:" >&5
6849 sed 's/^/| /' conftest.$ac_ext >&5
6851 cat >conftest.$ac_ext <<_ACEOF
6854 cat confdefs.h >>conftest.$ac_ext
6855 cat >>conftest.$ac_ext <<_ACEOF
6856 /* end confdefs.h. */
6857 $ac_includes_default
6861 static struct stat ac_aggr;
6862 if (sizeof ac_aggr.st_blocks)
6868 rm -f conftest.$ac_objext
6869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6870 (eval $ac_compile) 2>conftest.er1
6872 grep -v '^ *+' conftest.er1 >conftest.err
6874 cat conftest.err >&5
6875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6876 (exit $ac_status); } &&
6877 { ac_try='test -z "$ac_c_werror_flag"
6878 || test ! -s conftest.err'
6879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883 (exit $ac_status); }; } &&
6884 { ac_try='test -s conftest.$ac_objext'
6885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6889 (exit $ac_status); }; }; then
6890 ac_cv_member_struct_stat_st_blocks=yes
6892 echo "$as_me: failed program was:" >&5
6893 sed 's/^/| /' conftest.$ac_ext >&5
6895 ac_cv_member_struct_stat_st_blocks=no
6897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6901 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6902 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
6903 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6905 cat >>confdefs.h <<_ACEOF
6906 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6912 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6913 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
6914 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6915 echo $ECHO_N "(cached) $ECHO_C" >&6
6917 cat >conftest.$ac_ext <<_ACEOF
6920 cat confdefs.h >>conftest.$ac_ext
6921 cat >>conftest.$ac_ext <<_ACEOF
6922 /* end confdefs.h. */
6923 $ac_includes_default
6927 static struct stat ac_aggr;
6928 if (ac_aggr.st_rdev)
6934 rm -f conftest.$ac_objext
6935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6936 (eval $ac_compile) 2>conftest.er1
6938 grep -v '^ *+' conftest.er1 >conftest.err
6940 cat conftest.err >&5
6941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6942 (exit $ac_status); } &&
6943 { ac_try='test -z "$ac_c_werror_flag"
6944 || test ! -s conftest.err'
6945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6949 (exit $ac_status); }; } &&
6950 { ac_try='test -s conftest.$ac_objext'
6951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6955 (exit $ac_status); }; }; then
6956 ac_cv_member_struct_stat_st_rdev=yes
6958 echo "$as_me: failed program was:" >&5
6959 sed 's/^/| /' conftest.$ac_ext >&5
6961 cat >conftest.$ac_ext <<_ACEOF
6964 cat confdefs.h >>conftest.$ac_ext
6965 cat >>conftest.$ac_ext <<_ACEOF
6966 /* end confdefs.h. */
6967 $ac_includes_default
6971 static struct stat ac_aggr;
6972 if (sizeof ac_aggr.st_rdev)
6978 rm -f conftest.$ac_objext
6979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6980 (eval $ac_compile) 2>conftest.er1
6982 grep -v '^ *+' conftest.er1 >conftest.err
6984 cat conftest.err >&5
6985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6986 (exit $ac_status); } &&
6987 { ac_try='test -z "$ac_c_werror_flag"
6988 || test ! -s conftest.err'
6989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6993 (exit $ac_status); }; } &&
6994 { ac_try='test -s conftest.$ac_objext'
6995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6999 (exit $ac_status); }; }; then
7000 ac_cv_member_struct_stat_st_rdev=yes
7002 echo "$as_me: failed program was:" >&5
7003 sed 's/^/| /' conftest.$ac_ext >&5
7005 ac_cv_member_struct_stat_st_rdev=no
7007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7011 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
7012 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
7013 if test $ac_cv_member_struct_stat_st_rdev = yes; then
7015 cat >>confdefs.h <<_ACEOF
7016 #define HAVE_STRUCT_STAT_ST_RDEV 1
7023 # Check for complex math functions
7024 echo "$as_me:$LINENO: checking for csin in -lm" >&5
7025 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
7026 if test "${ac_cv_lib_m_csin+set}" = set; then
7027 echo $ECHO_N "(cached) $ECHO_C" >&6
7029 ac_check_lib_save_LIBS=$LIBS
7031 cat >conftest.$ac_ext <<_ACEOF
7034 cat confdefs.h >>conftest.$ac_ext
7035 cat >>conftest.$ac_ext <<_ACEOF
7036 /* end confdefs.h. */
7038 /* Override any gcc2 internal prototype to avoid an error. */
7042 /* We use char because int might match the return type of a gcc2
7043 builtin and then its argument prototype would still apply. */
7053 rm -f conftest.$ac_objext conftest$ac_exeext
7054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7055 (eval $ac_link) 2>conftest.er1
7057 grep -v '^ *+' conftest.er1 >conftest.err
7059 cat conftest.err >&5
7060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7061 (exit $ac_status); } &&
7062 { ac_try='test -z "$ac_c_werror_flag"
7063 || test ! -s conftest.err'
7064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7068 (exit $ac_status); }; } &&
7069 { ac_try='test -s conftest$ac_exeext'
7070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7074 (exit $ac_status); }; }; then
7075 ac_cv_lib_m_csin=yes
7077 echo "$as_me: failed program was:" >&5
7078 sed 's/^/| /' conftest.$ac_ext >&5
7082 rm -f conftest.err conftest.$ac_objext \
7083 conftest$ac_exeext conftest.$ac_ext
7084 LIBS=$ac_check_lib_save_LIBS
7086 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
7087 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
7088 if test $ac_cv_lib_m_csin = yes; then
7095 # Check for library functions.
7101 for ac_func in getrusage times mkstemp strtof snprintf
7103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7104 echo "$as_me:$LINENO: checking for $ac_func" >&5
7105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7106 if eval "test \"\${$as_ac_var+set}\" = set"; then
7107 echo $ECHO_N "(cached) $ECHO_C" >&6
7109 cat >conftest.$ac_ext <<_ACEOF
7112 cat confdefs.h >>conftest.$ac_ext
7113 cat >>conftest.$ac_ext <<_ACEOF
7114 /* end confdefs.h. */
7115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7117 #define $ac_func innocuous_$ac_func
7119 /* System header to define __stub macros and hopefully few prototypes,
7120 which can conflict with char $ac_func (); below.
7121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7122 <limits.h> exists even on freestanding compilers. */
7125 # include <limits.h>
7127 # include <assert.h>
7132 /* Override any gcc2 internal prototype to avoid an error. */
7137 /* We use char because int might match the return type of a gcc2
7138 builtin and then its argument prototype would still apply. */
7140 /* The GNU C library defines this for functions which it implements
7141 to always fail with ENOSYS. Some functions are actually named
7142 something starting with __ and the normal name is an alias. */
7143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7146 char (*f) () = $ac_func;
7155 return f != $ac_func;
7160 rm -f conftest.$ac_objext conftest$ac_exeext
7161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7162 (eval $ac_link) 2>conftest.er1
7164 grep -v '^ *+' conftest.er1 >conftest.err
7166 cat conftest.err >&5
7167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7168 (exit $ac_status); } &&
7169 { ac_try='test -z "$ac_c_werror_flag"
7170 || test ! -s conftest.err'
7171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7175 (exit $ac_status); }; } &&
7176 { ac_try='test -s conftest$ac_exeext'
7177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7181 (exit $ac_status); }; }; then
7182 eval "$as_ac_var=yes"
7184 echo "$as_me: failed program was:" >&5
7185 sed 's/^/| /' conftest.$ac_ext >&5
7187 eval "$as_ac_var=no"
7189 rm -f conftest.err conftest.$ac_objext \
7190 conftest$ac_exeext conftest.$ac_ext
7192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7194 if test `eval echo '${'$as_ac_var'}'` = yes; then
7195 cat >>confdefs.h <<_ACEOF
7196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7210 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
7212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7213 echo "$as_me:$LINENO: checking for $ac_func" >&5
7214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7215 if eval "test \"\${$as_ac_var+set}\" = set"; then
7216 echo $ECHO_N "(cached) $ECHO_C" >&6
7218 cat >conftest.$ac_ext <<_ACEOF
7221 cat confdefs.h >>conftest.$ac_ext
7222 cat >>conftest.$ac_ext <<_ACEOF
7223 /* end confdefs.h. */
7224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7226 #define $ac_func innocuous_$ac_func
7228 /* System header to define __stub macros and hopefully few prototypes,
7229 which can conflict with char $ac_func (); below.
7230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7231 <limits.h> exists even on freestanding compilers. */
7234 # include <limits.h>
7236 # include <assert.h>
7241 /* Override any gcc2 internal prototype to avoid an error. */
7246 /* We use char because int might match the return type of a gcc2
7247 builtin and then its argument prototype would still apply. */
7249 /* The GNU C library defines this for functions which it implements
7250 to always fail with ENOSYS. Some functions are actually named
7251 something starting with __ and the normal name is an alias. */
7252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7255 char (*f) () = $ac_func;
7264 return f != $ac_func;
7269 rm -f conftest.$ac_objext conftest$ac_exeext
7270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7271 (eval $ac_link) 2>conftest.er1
7273 grep -v '^ *+' conftest.er1 >conftest.err
7275 cat conftest.err >&5
7276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7277 (exit $ac_status); } &&
7278 { ac_try='test -z "$ac_c_werror_flag"
7279 || test ! -s conftest.err'
7280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7284 (exit $ac_status); }; } &&
7285 { ac_try='test -s conftest$ac_exeext'
7286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7290 (exit $ac_status); }; }; then
7291 eval "$as_ac_var=yes"
7293 echo "$as_me: failed program was:" >&5
7294 sed 's/^/| /' conftest.$ac_ext >&5
7296 eval "$as_ac_var=no"
7298 rm -f conftest.err conftest.$ac_objext \
7299 conftest$ac_exeext conftest.$ac_ext
7301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7303 if test `eval echo '${'$as_ac_var'}'` = yes; then
7304 cat >>confdefs.h <<_ACEOF
7305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7313 for ac_func in sleep time
7315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7316 echo "$as_me:$LINENO: checking for $ac_func" >&5
7317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7318 if eval "test \"\${$as_ac_var+set}\" = set"; then
7319 echo $ECHO_N "(cached) $ECHO_C" >&6
7321 cat >conftest.$ac_ext <<_ACEOF
7324 cat confdefs.h >>conftest.$ac_ext
7325 cat >>conftest.$ac_ext <<_ACEOF
7326 /* end confdefs.h. */
7327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7329 #define $ac_func innocuous_$ac_func
7331 /* System header to define __stub macros and hopefully few prototypes,
7332 which can conflict with char $ac_func (); below.
7333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7334 <limits.h> exists even on freestanding compilers. */
7337 # include <limits.h>
7339 # include <assert.h>
7344 /* Override any gcc2 internal prototype to avoid an error. */
7349 /* We use char because int might match the return type of a gcc2
7350 builtin and then its argument prototype would still apply. */
7352 /* The GNU C library defines this for functions which it implements
7353 to always fail with ENOSYS. Some functions are actually named
7354 something starting with __ and the normal name is an alias. */
7355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7358 char (*f) () = $ac_func;
7367 return f != $ac_func;
7372 rm -f conftest.$ac_objext conftest$ac_exeext
7373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7374 (eval $ac_link) 2>conftest.er1
7376 grep -v '^ *+' conftest.er1 >conftest.err
7378 cat conftest.err >&5
7379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7380 (exit $ac_status); } &&
7381 { ac_try='test -z "$ac_c_werror_flag"
7382 || test ! -s conftest.err'
7383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7387 (exit $ac_status); }; } &&
7388 { ac_try='test -s conftest$ac_exeext'
7389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7393 (exit $ac_status); }; }; then
7394 eval "$as_ac_var=yes"
7396 echo "$as_me: failed program was:" >&5
7397 sed 's/^/| /' conftest.$ac_ext >&5
7399 eval "$as_ac_var=no"
7401 rm -f conftest.err conftest.$ac_objext \
7402 conftest$ac_exeext conftest.$ac_ext
7404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7406 if test `eval echo '${'$as_ac_var'}'` = yes; then
7407 cat >>confdefs.h <<_ACEOF
7408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7415 # Check libc for getgid, getpid, getuid
7416 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
7417 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
7418 if test "${ac_cv_lib_c_getgid+set}" = set; then
7419 echo $ECHO_N "(cached) $ECHO_C" >&6
7421 ac_check_lib_save_LIBS=$LIBS
7423 cat >conftest.$ac_ext <<_ACEOF
7426 cat confdefs.h >>conftest.$ac_ext
7427 cat >>conftest.$ac_ext <<_ACEOF
7428 /* end confdefs.h. */
7430 /* Override any gcc2 internal prototype to avoid an error. */
7434 /* We use char because int might match the return type of a gcc2
7435 builtin and then its argument prototype would still apply. */
7445 rm -f conftest.$ac_objext conftest$ac_exeext
7446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7447 (eval $ac_link) 2>conftest.er1
7449 grep -v '^ *+' conftest.er1 >conftest.err
7451 cat conftest.err >&5
7452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7453 (exit $ac_status); } &&
7454 { ac_try='test -z "$ac_c_werror_flag"
7455 || test ! -s conftest.err'
7456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7460 (exit $ac_status); }; } &&
7461 { ac_try='test -s conftest$ac_exeext'
7462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7466 (exit $ac_status); }; }; then
7467 ac_cv_lib_c_getgid=yes
7469 echo "$as_me: failed program was:" >&5
7470 sed 's/^/| /' conftest.$ac_ext >&5
7472 ac_cv_lib_c_getgid=no
7474 rm -f conftest.err conftest.$ac_objext \
7475 conftest$ac_exeext conftest.$ac_ext
7476 LIBS=$ac_check_lib_save_LIBS
7478 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
7479 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
7480 if test $ac_cv_lib_c_getgid = yes; then
7482 cat >>confdefs.h <<\_ACEOF
7483 #define HAVE_GETGID 1
7488 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
7489 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
7490 if test "${ac_cv_lib_c_getpid+set}" = set; then
7491 echo $ECHO_N "(cached) $ECHO_C" >&6
7493 ac_check_lib_save_LIBS=$LIBS
7495 cat >conftest.$ac_ext <<_ACEOF
7498 cat confdefs.h >>conftest.$ac_ext
7499 cat >>conftest.$ac_ext <<_ACEOF
7500 /* end confdefs.h. */
7502 /* Override any gcc2 internal prototype to avoid an error. */
7506 /* We use char because int might match the return type of a gcc2
7507 builtin and then its argument prototype would still apply. */
7517 rm -f conftest.$ac_objext conftest$ac_exeext
7518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7519 (eval $ac_link) 2>conftest.er1
7521 grep -v '^ *+' conftest.er1 >conftest.err
7523 cat conftest.err >&5
7524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7525 (exit $ac_status); } &&
7526 { ac_try='test -z "$ac_c_werror_flag"
7527 || test ! -s conftest.err'
7528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532 (exit $ac_status); }; } &&
7533 { ac_try='test -s conftest$ac_exeext'
7534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7538 (exit $ac_status); }; }; then
7539 ac_cv_lib_c_getpid=yes
7541 echo "$as_me: failed program was:" >&5
7542 sed 's/^/| /' conftest.$ac_ext >&5
7544 ac_cv_lib_c_getpid=no
7546 rm -f conftest.err conftest.$ac_objext \
7547 conftest$ac_exeext conftest.$ac_ext
7548 LIBS=$ac_check_lib_save_LIBS
7550 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
7551 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
7552 if test $ac_cv_lib_c_getpid = yes; then
7554 cat >>confdefs.h <<\_ACEOF
7555 #define HAVE_GETPID 1
7560 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
7561 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
7562 if test "${ac_cv_lib_c_getuid+set}" = set; then
7563 echo $ECHO_N "(cached) $ECHO_C" >&6
7565 ac_check_lib_save_LIBS=$LIBS
7567 cat >conftest.$ac_ext <<_ACEOF
7570 cat confdefs.h >>conftest.$ac_ext
7571 cat >>conftest.$ac_ext <<_ACEOF
7572 /* end confdefs.h. */
7574 /* Override any gcc2 internal prototype to avoid an error. */
7578 /* We use char because int might match the return type of a gcc2
7579 builtin and then its argument prototype would still apply. */
7589 rm -f conftest.$ac_objext conftest$ac_exeext
7590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7591 (eval $ac_link) 2>conftest.er1
7593 grep -v '^ *+' conftest.er1 >conftest.err
7595 cat conftest.err >&5
7596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7597 (exit $ac_status); } &&
7598 { ac_try='test -z "$ac_c_werror_flag"
7599 || test ! -s conftest.err'
7600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7604 (exit $ac_status); }; } &&
7605 { ac_try='test -s conftest$ac_exeext'
7606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7610 (exit $ac_status); }; }; then
7611 ac_cv_lib_c_getuid=yes
7613 echo "$as_me: failed program was:" >&5
7614 sed 's/^/| /' conftest.$ac_ext >&5
7616 ac_cv_lib_c_getuid=no
7618 rm -f conftest.err conftest.$ac_objext \
7619 conftest$ac_exeext conftest.$ac_ext
7620 LIBS=$ac_check_lib_save_LIBS
7622 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
7623 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
7624 if test $ac_cv_lib_c_getuid = yes; then
7626 cat >>confdefs.h <<\_ACEOF
7627 #define HAVE_GETUID 1
7633 # Check for C99 (and other IEEE) math functions
7634 # ??? This list seems awful long. Is there a better way to test for these?
7635 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
7636 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
7637 if test "${ac_cv_lib_m_acosf+set}" = set; then
7638 echo $ECHO_N "(cached) $ECHO_C" >&6
7640 ac_check_lib_save_LIBS=$LIBS
7642 cat >conftest.$ac_ext <<_ACEOF
7645 cat confdefs.h >>conftest.$ac_ext
7646 cat >>conftest.$ac_ext <<_ACEOF
7647 /* end confdefs.h. */
7649 /* Override any gcc2 internal prototype to avoid an error. */
7653 /* We use char because int might match the return type of a gcc2
7654 builtin and then its argument prototype would still apply. */
7664 rm -f conftest.$ac_objext conftest$ac_exeext
7665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7666 (eval $ac_link) 2>conftest.er1
7668 grep -v '^ *+' conftest.er1 >conftest.err
7670 cat conftest.err >&5
7671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7672 (exit $ac_status); } &&
7673 { ac_try='test -z "$ac_c_werror_flag"
7674 || test ! -s conftest.err'
7675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7679 (exit $ac_status); }; } &&
7680 { ac_try='test -s conftest$ac_exeext'
7681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7685 (exit $ac_status); }; }; then
7686 ac_cv_lib_m_acosf=yes
7688 echo "$as_me: failed program was:" >&5
7689 sed 's/^/| /' conftest.$ac_ext >&5
7691 ac_cv_lib_m_acosf=no
7693 rm -f conftest.err conftest.$ac_objext \
7694 conftest$ac_exeext conftest.$ac_ext
7695 LIBS=$ac_check_lib_save_LIBS
7697 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
7698 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
7699 if test $ac_cv_lib_m_acosf = yes; then
7701 cat >>confdefs.h <<\_ACEOF
7702 #define HAVE_ACOSF 1
7707 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
7708 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
7709 if test "${ac_cv_lib_m_asinf+set}" = set; then
7710 echo $ECHO_N "(cached) $ECHO_C" >&6
7712 ac_check_lib_save_LIBS=$LIBS
7714 cat >conftest.$ac_ext <<_ACEOF
7717 cat confdefs.h >>conftest.$ac_ext
7718 cat >>conftest.$ac_ext <<_ACEOF
7719 /* end confdefs.h. */
7721 /* Override any gcc2 internal prototype to avoid an error. */
7725 /* We use char because int might match the return type of a gcc2
7726 builtin and then its argument prototype would still apply. */
7736 rm -f conftest.$ac_objext conftest$ac_exeext
7737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7738 (eval $ac_link) 2>conftest.er1
7740 grep -v '^ *+' conftest.er1 >conftest.err
7742 cat conftest.err >&5
7743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7744 (exit $ac_status); } &&
7745 { ac_try='test -z "$ac_c_werror_flag"
7746 || test ! -s conftest.err'
7747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7751 (exit $ac_status); }; } &&
7752 { ac_try='test -s conftest$ac_exeext'
7753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7757 (exit $ac_status); }; }; then
7758 ac_cv_lib_m_asinf=yes
7760 echo "$as_me: failed program was:" >&5
7761 sed 's/^/| /' conftest.$ac_ext >&5
7763 ac_cv_lib_m_asinf=no
7765 rm -f conftest.err conftest.$ac_objext \
7766 conftest$ac_exeext conftest.$ac_ext
7767 LIBS=$ac_check_lib_save_LIBS
7769 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
7770 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
7771 if test $ac_cv_lib_m_asinf = yes; then
7773 cat >>confdefs.h <<\_ACEOF
7774 #define HAVE_ASINF 1
7779 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
7780 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
7781 if test "${ac_cv_lib_m_atan2f+set}" = set; then
7782 echo $ECHO_N "(cached) $ECHO_C" >&6
7784 ac_check_lib_save_LIBS=$LIBS
7786 cat >conftest.$ac_ext <<_ACEOF
7789 cat confdefs.h >>conftest.$ac_ext
7790 cat >>conftest.$ac_ext <<_ACEOF
7791 /* end confdefs.h. */
7793 /* Override any gcc2 internal prototype to avoid an error. */
7797 /* We use char because int might match the return type of a gcc2
7798 builtin and then its argument prototype would still apply. */
7808 rm -f conftest.$ac_objext conftest$ac_exeext
7809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7810 (eval $ac_link) 2>conftest.er1
7812 grep -v '^ *+' conftest.er1 >conftest.err
7814 cat conftest.err >&5
7815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7816 (exit $ac_status); } &&
7817 { ac_try='test -z "$ac_c_werror_flag"
7818 || test ! -s conftest.err'
7819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7823 (exit $ac_status); }; } &&
7824 { ac_try='test -s conftest$ac_exeext'
7825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7829 (exit $ac_status); }; }; then
7830 ac_cv_lib_m_atan2f=yes
7832 echo "$as_me: failed program was:" >&5
7833 sed 's/^/| /' conftest.$ac_ext >&5
7835 ac_cv_lib_m_atan2f=no
7837 rm -f conftest.err conftest.$ac_objext \
7838 conftest$ac_exeext conftest.$ac_ext
7839 LIBS=$ac_check_lib_save_LIBS
7841 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
7842 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
7843 if test $ac_cv_lib_m_atan2f = yes; then
7845 cat >>confdefs.h <<\_ACEOF
7846 #define HAVE_ATAN2F 1
7851 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
7852 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
7853 if test "${ac_cv_lib_m_atanf+set}" = set; then
7854 echo $ECHO_N "(cached) $ECHO_C" >&6
7856 ac_check_lib_save_LIBS=$LIBS
7858 cat >conftest.$ac_ext <<_ACEOF
7861 cat confdefs.h >>conftest.$ac_ext
7862 cat >>conftest.$ac_ext <<_ACEOF
7863 /* end confdefs.h. */
7865 /* Override any gcc2 internal prototype to avoid an error. */
7869 /* We use char because int might match the return type of a gcc2
7870 builtin and then its argument prototype would still apply. */
7880 rm -f conftest.$ac_objext conftest$ac_exeext
7881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7882 (eval $ac_link) 2>conftest.er1
7884 grep -v '^ *+' conftest.er1 >conftest.err
7886 cat conftest.err >&5
7887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7888 (exit $ac_status); } &&
7889 { ac_try='test -z "$ac_c_werror_flag"
7890 || test ! -s conftest.err'
7891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7895 (exit $ac_status); }; } &&
7896 { ac_try='test -s conftest$ac_exeext'
7897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7901 (exit $ac_status); }; }; then
7902 ac_cv_lib_m_atanf=yes
7904 echo "$as_me: failed program was:" >&5
7905 sed 's/^/| /' conftest.$ac_ext >&5
7907 ac_cv_lib_m_atanf=no
7909 rm -f conftest.err conftest.$ac_objext \
7910 conftest$ac_exeext conftest.$ac_ext
7911 LIBS=$ac_check_lib_save_LIBS
7913 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
7914 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
7915 if test $ac_cv_lib_m_atanf = yes; then
7917 cat >>confdefs.h <<\_ACEOF
7918 #define HAVE_ATANF 1
7923 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
7924 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
7925 if test "${ac_cv_lib_m_ceilf+set}" = set; then
7926 echo $ECHO_N "(cached) $ECHO_C" >&6
7928 ac_check_lib_save_LIBS=$LIBS
7930 cat >conftest.$ac_ext <<_ACEOF
7933 cat confdefs.h >>conftest.$ac_ext
7934 cat >>conftest.$ac_ext <<_ACEOF
7935 /* end confdefs.h. */
7937 /* Override any gcc2 internal prototype to avoid an error. */
7941 /* We use char because int might match the return type of a gcc2
7942 builtin and then its argument prototype would still apply. */
7952 rm -f conftest.$ac_objext conftest$ac_exeext
7953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7954 (eval $ac_link) 2>conftest.er1
7956 grep -v '^ *+' conftest.er1 >conftest.err
7958 cat conftest.err >&5
7959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7960 (exit $ac_status); } &&
7961 { ac_try='test -z "$ac_c_werror_flag"
7962 || test ! -s conftest.err'
7963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7967 (exit $ac_status); }; } &&
7968 { ac_try='test -s conftest$ac_exeext'
7969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7973 (exit $ac_status); }; }; then
7974 ac_cv_lib_m_ceilf=yes
7976 echo "$as_me: failed program was:" >&5
7977 sed 's/^/| /' conftest.$ac_ext >&5
7979 ac_cv_lib_m_ceilf=no
7981 rm -f conftest.err conftest.$ac_objext \
7982 conftest$ac_exeext conftest.$ac_ext
7983 LIBS=$ac_check_lib_save_LIBS
7985 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
7986 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
7987 if test $ac_cv_lib_m_ceilf = yes; then
7989 cat >>confdefs.h <<\_ACEOF
7990 #define HAVE_CEILF 1
7995 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
7996 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
7997 if test "${ac_cv_lib_m_copysignf+set}" = set; then
7998 echo $ECHO_N "(cached) $ECHO_C" >&6
8000 ac_check_lib_save_LIBS=$LIBS
8002 cat >conftest.$ac_ext <<_ACEOF
8005 cat confdefs.h >>conftest.$ac_ext
8006 cat >>conftest.$ac_ext <<_ACEOF
8007 /* end confdefs.h. */
8009 /* Override any gcc2 internal prototype to avoid an error. */
8013 /* We use char because int might match the return type of a gcc2
8014 builtin and then its argument prototype would still apply. */
8024 rm -f conftest.$ac_objext conftest$ac_exeext
8025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8026 (eval $ac_link) 2>conftest.er1
8028 grep -v '^ *+' conftest.er1 >conftest.err
8030 cat conftest.err >&5
8031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8032 (exit $ac_status); } &&
8033 { ac_try='test -z "$ac_c_werror_flag"
8034 || test ! -s conftest.err'
8035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8039 (exit $ac_status); }; } &&
8040 { ac_try='test -s conftest$ac_exeext'
8041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8045 (exit $ac_status); }; }; then
8046 ac_cv_lib_m_copysignf=yes
8048 echo "$as_me: failed program was:" >&5
8049 sed 's/^/| /' conftest.$ac_ext >&5
8051 ac_cv_lib_m_copysignf=no
8053 rm -f conftest.err conftest.$ac_objext \
8054 conftest$ac_exeext conftest.$ac_ext
8055 LIBS=$ac_check_lib_save_LIBS
8057 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
8058 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
8059 if test $ac_cv_lib_m_copysignf = yes; then
8061 cat >>confdefs.h <<\_ACEOF
8062 #define HAVE_COPYSIGNF 1
8067 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
8068 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
8069 if test "${ac_cv_lib_m_cosf+set}" = set; then
8070 echo $ECHO_N "(cached) $ECHO_C" >&6
8072 ac_check_lib_save_LIBS=$LIBS
8074 cat >conftest.$ac_ext <<_ACEOF
8077 cat confdefs.h >>conftest.$ac_ext
8078 cat >>conftest.$ac_ext <<_ACEOF
8079 /* end confdefs.h. */
8081 /* Override any gcc2 internal prototype to avoid an error. */
8085 /* We use char because int might match the return type of a gcc2
8086 builtin and then its argument prototype would still apply. */
8096 rm -f conftest.$ac_objext conftest$ac_exeext
8097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8098 (eval $ac_link) 2>conftest.er1
8100 grep -v '^ *+' conftest.er1 >conftest.err
8102 cat conftest.err >&5
8103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8104 (exit $ac_status); } &&
8105 { ac_try='test -z "$ac_c_werror_flag"
8106 || test ! -s conftest.err'
8107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8111 (exit $ac_status); }; } &&
8112 { ac_try='test -s conftest$ac_exeext'
8113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8117 (exit $ac_status); }; }; then
8118 ac_cv_lib_m_cosf=yes
8120 echo "$as_me: failed program was:" >&5
8121 sed 's/^/| /' conftest.$ac_ext >&5
8125 rm -f conftest.err conftest.$ac_objext \
8126 conftest$ac_exeext conftest.$ac_ext
8127 LIBS=$ac_check_lib_save_LIBS
8129 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
8130 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
8131 if test $ac_cv_lib_m_cosf = yes; then
8133 cat >>confdefs.h <<\_ACEOF
8139 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
8140 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
8141 if test "${ac_cv_lib_m_coshf+set}" = set; then
8142 echo $ECHO_N "(cached) $ECHO_C" >&6
8144 ac_check_lib_save_LIBS=$LIBS
8146 cat >conftest.$ac_ext <<_ACEOF
8149 cat confdefs.h >>conftest.$ac_ext
8150 cat >>conftest.$ac_ext <<_ACEOF
8151 /* end confdefs.h. */
8153 /* Override any gcc2 internal prototype to avoid an error. */
8157 /* We use char because int might match the return type of a gcc2
8158 builtin and then its argument prototype would still apply. */
8168 rm -f conftest.$ac_objext conftest$ac_exeext
8169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8170 (eval $ac_link) 2>conftest.er1
8172 grep -v '^ *+' conftest.er1 >conftest.err
8174 cat conftest.err >&5
8175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8176 (exit $ac_status); } &&
8177 { ac_try='test -z "$ac_c_werror_flag"
8178 || test ! -s conftest.err'
8179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8183 (exit $ac_status); }; } &&
8184 { ac_try='test -s conftest$ac_exeext'
8185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8189 (exit $ac_status); }; }; then
8190 ac_cv_lib_m_coshf=yes
8192 echo "$as_me: failed program was:" >&5
8193 sed 's/^/| /' conftest.$ac_ext >&5
8195 ac_cv_lib_m_coshf=no
8197 rm -f conftest.err conftest.$ac_objext \
8198 conftest$ac_exeext conftest.$ac_ext
8199 LIBS=$ac_check_lib_save_LIBS
8201 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
8202 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
8203 if test $ac_cv_lib_m_coshf = yes; then
8205 cat >>confdefs.h <<\_ACEOF
8206 #define HAVE_COSHF 1
8211 echo "$as_me:$LINENO: checking for expf in -lm" >&5
8212 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
8213 if test "${ac_cv_lib_m_expf+set}" = set; then
8214 echo $ECHO_N "(cached) $ECHO_C" >&6
8216 ac_check_lib_save_LIBS=$LIBS
8218 cat >conftest.$ac_ext <<_ACEOF
8221 cat confdefs.h >>conftest.$ac_ext
8222 cat >>conftest.$ac_ext <<_ACEOF
8223 /* end confdefs.h. */
8225 /* Override any gcc2 internal prototype to avoid an error. */
8229 /* We use char because int might match the return type of a gcc2
8230 builtin and then its argument prototype would still apply. */
8240 rm -f conftest.$ac_objext conftest$ac_exeext
8241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8242 (eval $ac_link) 2>conftest.er1
8244 grep -v '^ *+' conftest.er1 >conftest.err
8246 cat conftest.err >&5
8247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248 (exit $ac_status); } &&
8249 { ac_try='test -z "$ac_c_werror_flag"
8250 || test ! -s conftest.err'
8251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8255 (exit $ac_status); }; } &&
8256 { ac_try='test -s conftest$ac_exeext'
8257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8261 (exit $ac_status); }; }; then
8262 ac_cv_lib_m_expf=yes
8264 echo "$as_me: failed program was:" >&5
8265 sed 's/^/| /' conftest.$ac_ext >&5
8269 rm -f conftest.err conftest.$ac_objext \
8270 conftest$ac_exeext conftest.$ac_ext
8271 LIBS=$ac_check_lib_save_LIBS
8273 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
8274 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
8275 if test $ac_cv_lib_m_expf = yes; then
8277 cat >>confdefs.h <<\_ACEOF
8283 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
8284 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
8285 if test "${ac_cv_lib_m_fabsf+set}" = set; then
8286 echo $ECHO_N "(cached) $ECHO_C" >&6
8288 ac_check_lib_save_LIBS=$LIBS
8290 cat >conftest.$ac_ext <<_ACEOF
8293 cat confdefs.h >>conftest.$ac_ext
8294 cat >>conftest.$ac_ext <<_ACEOF
8295 /* end confdefs.h. */
8297 /* Override any gcc2 internal prototype to avoid an error. */
8301 /* We use char because int might match the return type of a gcc2
8302 builtin and then its argument prototype would still apply. */
8312 rm -f conftest.$ac_objext conftest$ac_exeext
8313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8314 (eval $ac_link) 2>conftest.er1
8316 grep -v '^ *+' conftest.er1 >conftest.err
8318 cat conftest.err >&5
8319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8320 (exit $ac_status); } &&
8321 { ac_try='test -z "$ac_c_werror_flag"
8322 || test ! -s conftest.err'
8323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8327 (exit $ac_status); }; } &&
8328 { ac_try='test -s conftest$ac_exeext'
8329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8333 (exit $ac_status); }; }; then
8334 ac_cv_lib_m_fabsf=yes
8336 echo "$as_me: failed program was:" >&5
8337 sed 's/^/| /' conftest.$ac_ext >&5
8339 ac_cv_lib_m_fabsf=no
8341 rm -f conftest.err conftest.$ac_objext \
8342 conftest$ac_exeext conftest.$ac_ext
8343 LIBS=$ac_check_lib_save_LIBS
8345 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
8346 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
8347 if test $ac_cv_lib_m_fabsf = yes; then
8349 cat >>confdefs.h <<\_ACEOF
8350 #define HAVE_FABSF 1
8355 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
8356 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
8357 if test "${ac_cv_lib_m_floorf+set}" = set; then
8358 echo $ECHO_N "(cached) $ECHO_C" >&6
8360 ac_check_lib_save_LIBS=$LIBS
8362 cat >conftest.$ac_ext <<_ACEOF
8365 cat confdefs.h >>conftest.$ac_ext
8366 cat >>conftest.$ac_ext <<_ACEOF
8367 /* end confdefs.h. */
8369 /* Override any gcc2 internal prototype to avoid an error. */
8373 /* We use char because int might match the return type of a gcc2
8374 builtin and then its argument prototype would still apply. */
8384 rm -f conftest.$ac_objext conftest$ac_exeext
8385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8386 (eval $ac_link) 2>conftest.er1
8388 grep -v '^ *+' conftest.er1 >conftest.err
8390 cat conftest.err >&5
8391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8392 (exit $ac_status); } &&
8393 { ac_try='test -z "$ac_c_werror_flag"
8394 || test ! -s conftest.err'
8395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8399 (exit $ac_status); }; } &&
8400 { ac_try='test -s conftest$ac_exeext'
8401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8405 (exit $ac_status); }; }; then
8406 ac_cv_lib_m_floorf=yes
8408 echo "$as_me: failed program was:" >&5
8409 sed 's/^/| /' conftest.$ac_ext >&5
8411 ac_cv_lib_m_floorf=no
8413 rm -f conftest.err conftest.$ac_objext \
8414 conftest$ac_exeext conftest.$ac_ext
8415 LIBS=$ac_check_lib_save_LIBS
8417 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
8418 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
8419 if test $ac_cv_lib_m_floorf = yes; then
8421 cat >>confdefs.h <<\_ACEOF
8422 #define HAVE_FLOORF 1
8427 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
8428 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
8429 if test "${ac_cv_lib_m_frexpf+set}" = set; then
8430 echo $ECHO_N "(cached) $ECHO_C" >&6
8432 ac_check_lib_save_LIBS=$LIBS
8434 cat >conftest.$ac_ext <<_ACEOF
8437 cat confdefs.h >>conftest.$ac_ext
8438 cat >>conftest.$ac_ext <<_ACEOF
8439 /* end confdefs.h. */
8441 /* Override any gcc2 internal prototype to avoid an error. */
8445 /* We use char because int might match the return type of a gcc2
8446 builtin and then its argument prototype would still apply. */
8456 rm -f conftest.$ac_objext conftest$ac_exeext
8457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8458 (eval $ac_link) 2>conftest.er1
8460 grep -v '^ *+' conftest.er1 >conftest.err
8462 cat conftest.err >&5
8463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8464 (exit $ac_status); } &&
8465 { ac_try='test -z "$ac_c_werror_flag"
8466 || test ! -s conftest.err'
8467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8471 (exit $ac_status); }; } &&
8472 { ac_try='test -s conftest$ac_exeext'
8473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8477 (exit $ac_status); }; }; then
8478 ac_cv_lib_m_frexpf=yes
8480 echo "$as_me: failed program was:" >&5
8481 sed 's/^/| /' conftest.$ac_ext >&5
8483 ac_cv_lib_m_frexpf=no
8485 rm -f conftest.err conftest.$ac_objext \
8486 conftest$ac_exeext conftest.$ac_ext
8487 LIBS=$ac_check_lib_save_LIBS
8489 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
8490 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
8491 if test $ac_cv_lib_m_frexpf = yes; then
8493 cat >>confdefs.h <<\_ACEOF
8494 #define HAVE_FREXPF 1
8499 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
8500 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
8501 if test "${ac_cv_lib_m_hypotf+set}" = set; then
8502 echo $ECHO_N "(cached) $ECHO_C" >&6
8504 ac_check_lib_save_LIBS=$LIBS
8506 cat >conftest.$ac_ext <<_ACEOF
8509 cat confdefs.h >>conftest.$ac_ext
8510 cat >>conftest.$ac_ext <<_ACEOF
8511 /* end confdefs.h. */
8513 /* Override any gcc2 internal prototype to avoid an error. */
8517 /* We use char because int might match the return type of a gcc2
8518 builtin and then its argument prototype would still apply. */
8528 rm -f conftest.$ac_objext conftest$ac_exeext
8529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8530 (eval $ac_link) 2>conftest.er1
8532 grep -v '^ *+' conftest.er1 >conftest.err
8534 cat conftest.err >&5
8535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8536 (exit $ac_status); } &&
8537 { ac_try='test -z "$ac_c_werror_flag"
8538 || test ! -s conftest.err'
8539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8543 (exit $ac_status); }; } &&
8544 { ac_try='test -s conftest$ac_exeext'
8545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8549 (exit $ac_status); }; }; then
8550 ac_cv_lib_m_hypotf=yes
8552 echo "$as_me: failed program was:" >&5
8553 sed 's/^/| /' conftest.$ac_ext >&5
8555 ac_cv_lib_m_hypotf=no
8557 rm -f conftest.err conftest.$ac_objext \
8558 conftest$ac_exeext conftest.$ac_ext
8559 LIBS=$ac_check_lib_save_LIBS
8561 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
8562 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
8563 if test $ac_cv_lib_m_hypotf = yes; then
8565 cat >>confdefs.h <<\_ACEOF
8566 #define HAVE_HYPOTF 1
8571 echo "$as_me:$LINENO: checking for logf in -lm" >&5
8572 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
8573 if test "${ac_cv_lib_m_logf+set}" = set; then
8574 echo $ECHO_N "(cached) $ECHO_C" >&6
8576 ac_check_lib_save_LIBS=$LIBS
8578 cat >conftest.$ac_ext <<_ACEOF
8581 cat confdefs.h >>conftest.$ac_ext
8582 cat >>conftest.$ac_ext <<_ACEOF
8583 /* end confdefs.h. */
8585 /* Override any gcc2 internal prototype to avoid an error. */
8589 /* We use char because int might match the return type of a gcc2
8590 builtin and then its argument prototype would still apply. */
8600 rm -f conftest.$ac_objext conftest$ac_exeext
8601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8602 (eval $ac_link) 2>conftest.er1
8604 grep -v '^ *+' conftest.er1 >conftest.err
8606 cat conftest.err >&5
8607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8608 (exit $ac_status); } &&
8609 { ac_try='test -z "$ac_c_werror_flag"
8610 || test ! -s conftest.err'
8611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615 (exit $ac_status); }; } &&
8616 { ac_try='test -s conftest$ac_exeext'
8617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8621 (exit $ac_status); }; }; then
8622 ac_cv_lib_m_logf=yes
8624 echo "$as_me: failed program was:" >&5
8625 sed 's/^/| /' conftest.$ac_ext >&5
8629 rm -f conftest.err conftest.$ac_objext \
8630 conftest$ac_exeext conftest.$ac_ext
8631 LIBS=$ac_check_lib_save_LIBS
8633 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
8634 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
8635 if test $ac_cv_lib_m_logf = yes; then
8637 cat >>confdefs.h <<\_ACEOF
8643 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
8644 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
8645 if test "${ac_cv_lib_m_log10f+set}" = set; then
8646 echo $ECHO_N "(cached) $ECHO_C" >&6
8648 ac_check_lib_save_LIBS=$LIBS
8650 cat >conftest.$ac_ext <<_ACEOF
8653 cat confdefs.h >>conftest.$ac_ext
8654 cat >>conftest.$ac_ext <<_ACEOF
8655 /* end confdefs.h. */
8657 /* Override any gcc2 internal prototype to avoid an error. */
8661 /* We use char because int might match the return type of a gcc2
8662 builtin and then its argument prototype would still apply. */
8672 rm -f conftest.$ac_objext conftest$ac_exeext
8673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8674 (eval $ac_link) 2>conftest.er1
8676 grep -v '^ *+' conftest.er1 >conftest.err
8678 cat conftest.err >&5
8679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680 (exit $ac_status); } &&
8681 { ac_try='test -z "$ac_c_werror_flag"
8682 || test ! -s conftest.err'
8683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8687 (exit $ac_status); }; } &&
8688 { ac_try='test -s conftest$ac_exeext'
8689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8693 (exit $ac_status); }; }; then
8694 ac_cv_lib_m_log10f=yes
8696 echo "$as_me: failed program was:" >&5
8697 sed 's/^/| /' conftest.$ac_ext >&5
8699 ac_cv_lib_m_log10f=no
8701 rm -f conftest.err conftest.$ac_objext \
8702 conftest$ac_exeext conftest.$ac_ext
8703 LIBS=$ac_check_lib_save_LIBS
8705 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
8706 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
8707 if test $ac_cv_lib_m_log10f = yes; then
8709 cat >>confdefs.h <<\_ACEOF
8710 #define HAVE_LOG10F 1
8715 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
8716 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
8717 if test "${ac_cv_lib_m_nextafter+set}" = set; then
8718 echo $ECHO_N "(cached) $ECHO_C" >&6
8720 ac_check_lib_save_LIBS=$LIBS
8722 cat >conftest.$ac_ext <<_ACEOF
8725 cat confdefs.h >>conftest.$ac_ext
8726 cat >>conftest.$ac_ext <<_ACEOF
8727 /* end confdefs.h. */
8729 /* Override any gcc2 internal prototype to avoid an error. */
8733 /* We use char because int might match the return type of a gcc2
8734 builtin and then its argument prototype would still apply. */
8744 rm -f conftest.$ac_objext conftest$ac_exeext
8745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8746 (eval $ac_link) 2>conftest.er1
8748 grep -v '^ *+' conftest.er1 >conftest.err
8750 cat conftest.err >&5
8751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8752 (exit $ac_status); } &&
8753 { ac_try='test -z "$ac_c_werror_flag"
8754 || test ! -s conftest.err'
8755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8759 (exit $ac_status); }; } &&
8760 { ac_try='test -s conftest$ac_exeext'
8761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8765 (exit $ac_status); }; }; then
8766 ac_cv_lib_m_nextafter=yes
8768 echo "$as_me: failed program was:" >&5
8769 sed 's/^/| /' conftest.$ac_ext >&5
8771 ac_cv_lib_m_nextafter=no
8773 rm -f conftest.err conftest.$ac_objext \
8774 conftest$ac_exeext conftest.$ac_ext
8775 LIBS=$ac_check_lib_save_LIBS
8777 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
8778 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
8779 if test $ac_cv_lib_m_nextafter = yes; then
8781 cat >>confdefs.h <<\_ACEOF
8782 #define HAVE_NEXTAFTER 1
8787 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
8788 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
8789 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
8790 echo $ECHO_N "(cached) $ECHO_C" >&6
8792 ac_check_lib_save_LIBS=$LIBS
8794 cat >conftest.$ac_ext <<_ACEOF
8797 cat confdefs.h >>conftest.$ac_ext
8798 cat >>conftest.$ac_ext <<_ACEOF
8799 /* end confdefs.h. */
8801 /* Override any gcc2 internal prototype to avoid an error. */
8805 /* We use char because int might match the return type of a gcc2
8806 builtin and then its argument prototype would still apply. */
8816 rm -f conftest.$ac_objext conftest$ac_exeext
8817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8818 (eval $ac_link) 2>conftest.er1
8820 grep -v '^ *+' conftest.er1 >conftest.err
8822 cat conftest.err >&5
8823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824 (exit $ac_status); } &&
8825 { ac_try='test -z "$ac_c_werror_flag"
8826 || test ! -s conftest.err'
8827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8831 (exit $ac_status); }; } &&
8832 { ac_try='test -s conftest$ac_exeext'
8833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8837 (exit $ac_status); }; }; then
8838 ac_cv_lib_m_nextafterf=yes
8840 echo "$as_me: failed program was:" >&5
8841 sed 's/^/| /' conftest.$ac_ext >&5
8843 ac_cv_lib_m_nextafterf=no
8845 rm -f conftest.err conftest.$ac_objext \
8846 conftest$ac_exeext conftest.$ac_ext
8847 LIBS=$ac_check_lib_save_LIBS
8849 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
8850 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
8851 if test $ac_cv_lib_m_nextafterf = yes; then
8853 cat >>confdefs.h <<\_ACEOF
8854 #define HAVE_NEXTAFTERF 1
8859 echo "$as_me:$LINENO: checking for powf in -lm" >&5
8860 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
8861 if test "${ac_cv_lib_m_powf+set}" = set; then
8862 echo $ECHO_N "(cached) $ECHO_C" >&6
8864 ac_check_lib_save_LIBS=$LIBS
8866 cat >conftest.$ac_ext <<_ACEOF
8869 cat confdefs.h >>conftest.$ac_ext
8870 cat >>conftest.$ac_ext <<_ACEOF
8871 /* end confdefs.h. */
8873 /* Override any gcc2 internal prototype to avoid an error. */
8877 /* We use char because int might match the return type of a gcc2
8878 builtin and then its argument prototype would still apply. */
8888 rm -f conftest.$ac_objext conftest$ac_exeext
8889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8890 (eval $ac_link) 2>conftest.er1
8892 grep -v '^ *+' conftest.er1 >conftest.err
8894 cat conftest.err >&5
8895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8896 (exit $ac_status); } &&
8897 { ac_try='test -z "$ac_c_werror_flag"
8898 || test ! -s conftest.err'
8899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903 (exit $ac_status); }; } &&
8904 { ac_try='test -s conftest$ac_exeext'
8905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8909 (exit $ac_status); }; }; then
8910 ac_cv_lib_m_powf=yes
8912 echo "$as_me: failed program was:" >&5
8913 sed 's/^/| /' conftest.$ac_ext >&5
8917 rm -f conftest.err conftest.$ac_objext \
8918 conftest$ac_exeext conftest.$ac_ext
8919 LIBS=$ac_check_lib_save_LIBS
8921 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
8922 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
8923 if test $ac_cv_lib_m_powf = yes; then
8925 cat >>confdefs.h <<\_ACEOF
8931 echo "$as_me:$LINENO: checking for round in -lm" >&5
8932 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
8933 if test "${ac_cv_lib_m_round+set}" = set; then
8934 echo $ECHO_N "(cached) $ECHO_C" >&6
8936 ac_check_lib_save_LIBS=$LIBS
8938 cat >conftest.$ac_ext <<_ACEOF
8941 cat confdefs.h >>conftest.$ac_ext
8942 cat >>conftest.$ac_ext <<_ACEOF
8943 /* end confdefs.h. */
8945 /* Override any gcc2 internal prototype to avoid an error. */
8949 /* We use char because int might match the return type of a gcc2
8950 builtin and then its argument prototype would still apply. */
8960 rm -f conftest.$ac_objext conftest$ac_exeext
8961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8962 (eval $ac_link) 2>conftest.er1
8964 grep -v '^ *+' conftest.er1 >conftest.err
8966 cat conftest.err >&5
8967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8968 (exit $ac_status); } &&
8969 { ac_try='test -z "$ac_c_werror_flag"
8970 || test ! -s conftest.err'
8971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8975 (exit $ac_status); }; } &&
8976 { ac_try='test -s conftest$ac_exeext'
8977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981 (exit $ac_status); }; }; then
8982 ac_cv_lib_m_round=yes
8984 echo "$as_me: failed program was:" >&5
8985 sed 's/^/| /' conftest.$ac_ext >&5
8987 ac_cv_lib_m_round=no
8989 rm -f conftest.err conftest.$ac_objext \
8990 conftest$ac_exeext conftest.$ac_ext
8991 LIBS=$ac_check_lib_save_LIBS
8993 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
8994 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
8995 if test $ac_cv_lib_m_round = yes; then
8997 cat >>confdefs.h <<\_ACEOF
8998 #define HAVE_ROUND 1
9003 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
9004 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
9005 if test "${ac_cv_lib_m_roundf+set}" = set; then
9006 echo $ECHO_N "(cached) $ECHO_C" >&6
9008 ac_check_lib_save_LIBS=$LIBS
9010 cat >conftest.$ac_ext <<_ACEOF
9013 cat confdefs.h >>conftest.$ac_ext
9014 cat >>conftest.$ac_ext <<_ACEOF
9015 /* end confdefs.h. */
9017 /* Override any gcc2 internal prototype to avoid an error. */
9021 /* We use char because int might match the return type of a gcc2
9022 builtin and then its argument prototype would still apply. */
9032 rm -f conftest.$ac_objext conftest$ac_exeext
9033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9034 (eval $ac_link) 2>conftest.er1
9036 grep -v '^ *+' conftest.er1 >conftest.err
9038 cat conftest.err >&5
9039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9040 (exit $ac_status); } &&
9041 { ac_try='test -z "$ac_c_werror_flag"
9042 || test ! -s conftest.err'
9043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9047 (exit $ac_status); }; } &&
9048 { ac_try='test -s conftest$ac_exeext'
9049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9053 (exit $ac_status); }; }; then
9054 ac_cv_lib_m_roundf=yes
9056 echo "$as_me: failed program was:" >&5
9057 sed 's/^/| /' conftest.$ac_ext >&5
9059 ac_cv_lib_m_roundf=no
9061 rm -f conftest.err conftest.$ac_objext \
9062 conftest$ac_exeext conftest.$ac_ext
9063 LIBS=$ac_check_lib_save_LIBS
9065 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
9066 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
9067 if test $ac_cv_lib_m_roundf = yes; then
9069 cat >>confdefs.h <<\_ACEOF
9070 #define HAVE_ROUNDF 1
9075 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
9076 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
9077 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
9078 echo $ECHO_N "(cached) $ECHO_C" >&6
9080 ac_check_lib_save_LIBS=$LIBS
9082 cat >conftest.$ac_ext <<_ACEOF
9085 cat confdefs.h >>conftest.$ac_ext
9086 cat >>conftest.$ac_ext <<_ACEOF
9087 /* end confdefs.h. */
9089 /* Override any gcc2 internal prototype to avoid an error. */
9093 /* We use char because int might match the return type of a gcc2
9094 builtin and then its argument prototype would still apply. */
9104 rm -f conftest.$ac_objext conftest$ac_exeext
9105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9106 (eval $ac_link) 2>conftest.er1
9108 grep -v '^ *+' conftest.er1 >conftest.err
9110 cat conftest.err >&5
9111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9112 (exit $ac_status); } &&
9113 { ac_try='test -z "$ac_c_werror_flag"
9114 || test ! -s conftest.err'
9115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9119 (exit $ac_status); }; } &&
9120 { ac_try='test -s conftest$ac_exeext'
9121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9125 (exit $ac_status); }; }; then
9126 ac_cv_lib_m_scalbnf=yes
9128 echo "$as_me: failed program was:" >&5
9129 sed 's/^/| /' conftest.$ac_ext >&5
9131 ac_cv_lib_m_scalbnf=no
9133 rm -f conftest.err conftest.$ac_objext \
9134 conftest$ac_exeext conftest.$ac_ext
9135 LIBS=$ac_check_lib_save_LIBS
9137 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
9138 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
9139 if test $ac_cv_lib_m_scalbnf = yes; then
9141 cat >>confdefs.h <<\_ACEOF
9142 #define HAVE_SCALBNF 1
9147 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
9148 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
9149 if test "${ac_cv_lib_m_sinf+set}" = set; then
9150 echo $ECHO_N "(cached) $ECHO_C" >&6
9152 ac_check_lib_save_LIBS=$LIBS
9154 cat >conftest.$ac_ext <<_ACEOF
9157 cat confdefs.h >>conftest.$ac_ext
9158 cat >>conftest.$ac_ext <<_ACEOF
9159 /* end confdefs.h. */
9161 /* Override any gcc2 internal prototype to avoid an error. */
9165 /* We use char because int might match the return type of a gcc2
9166 builtin and then its argument prototype would still apply. */
9176 rm -f conftest.$ac_objext conftest$ac_exeext
9177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9178 (eval $ac_link) 2>conftest.er1
9180 grep -v '^ *+' conftest.er1 >conftest.err
9182 cat conftest.err >&5
9183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9184 (exit $ac_status); } &&
9185 { ac_try='test -z "$ac_c_werror_flag"
9186 || test ! -s conftest.err'
9187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9191 (exit $ac_status); }; } &&
9192 { ac_try='test -s conftest$ac_exeext'
9193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9197 (exit $ac_status); }; }; then
9198 ac_cv_lib_m_sinf=yes
9200 echo "$as_me: failed program was:" >&5
9201 sed 's/^/| /' conftest.$ac_ext >&5
9205 rm -f conftest.err conftest.$ac_objext \
9206 conftest$ac_exeext conftest.$ac_ext
9207 LIBS=$ac_check_lib_save_LIBS
9209 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
9210 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
9211 if test $ac_cv_lib_m_sinf = yes; then
9213 cat >>confdefs.h <<\_ACEOF
9219 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
9220 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
9221 if test "${ac_cv_lib_m_sinhf+set}" = set; then
9222 echo $ECHO_N "(cached) $ECHO_C" >&6
9224 ac_check_lib_save_LIBS=$LIBS
9226 cat >conftest.$ac_ext <<_ACEOF
9229 cat confdefs.h >>conftest.$ac_ext
9230 cat >>conftest.$ac_ext <<_ACEOF
9231 /* end confdefs.h. */
9233 /* Override any gcc2 internal prototype to avoid an error. */
9237 /* We use char because int might match the return type of a gcc2
9238 builtin and then its argument prototype would still apply. */
9248 rm -f conftest.$ac_objext conftest$ac_exeext
9249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9250 (eval $ac_link) 2>conftest.er1
9252 grep -v '^ *+' conftest.er1 >conftest.err
9254 cat conftest.err >&5
9255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9256 (exit $ac_status); } &&
9257 { ac_try='test -z "$ac_c_werror_flag"
9258 || test ! -s conftest.err'
9259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9263 (exit $ac_status); }; } &&
9264 { ac_try='test -s conftest$ac_exeext'
9265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9269 (exit $ac_status); }; }; then
9270 ac_cv_lib_m_sinhf=yes
9272 echo "$as_me: failed program was:" >&5
9273 sed 's/^/| /' conftest.$ac_ext >&5
9275 ac_cv_lib_m_sinhf=no
9277 rm -f conftest.err conftest.$ac_objext \
9278 conftest$ac_exeext conftest.$ac_ext
9279 LIBS=$ac_check_lib_save_LIBS
9281 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
9282 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
9283 if test $ac_cv_lib_m_sinhf = yes; then
9285 cat >>confdefs.h <<\_ACEOF
9286 #define HAVE_SINHF 1
9291 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
9292 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
9293 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
9294 echo $ECHO_N "(cached) $ECHO_C" >&6
9296 ac_check_lib_save_LIBS=$LIBS
9298 cat >conftest.$ac_ext <<_ACEOF
9301 cat confdefs.h >>conftest.$ac_ext
9302 cat >>conftest.$ac_ext <<_ACEOF
9303 /* end confdefs.h. */
9305 /* Override any gcc2 internal prototype to avoid an error. */
9309 /* We use char because int might match the return type of a gcc2
9310 builtin and then its argument prototype would still apply. */
9320 rm -f conftest.$ac_objext conftest$ac_exeext
9321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9322 (eval $ac_link) 2>conftest.er1
9324 grep -v '^ *+' conftest.er1 >conftest.err
9326 cat conftest.err >&5
9327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9328 (exit $ac_status); } &&
9329 { ac_try='test -z "$ac_c_werror_flag"
9330 || test ! -s conftest.err'
9331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9335 (exit $ac_status); }; } &&
9336 { ac_try='test -s conftest$ac_exeext'
9337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9341 (exit $ac_status); }; }; then
9342 ac_cv_lib_m_sqrtf=yes
9344 echo "$as_me: failed program was:" >&5
9345 sed 's/^/| /' conftest.$ac_ext >&5
9347 ac_cv_lib_m_sqrtf=no
9349 rm -f conftest.err conftest.$ac_objext \
9350 conftest$ac_exeext conftest.$ac_ext
9351 LIBS=$ac_check_lib_save_LIBS
9353 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
9354 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
9355 if test $ac_cv_lib_m_sqrtf = yes; then
9357 cat >>confdefs.h <<\_ACEOF
9358 #define HAVE_SQRTF 1
9363 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
9364 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
9365 if test "${ac_cv_lib_m_tanf+set}" = set; then
9366 echo $ECHO_N "(cached) $ECHO_C" >&6
9368 ac_check_lib_save_LIBS=$LIBS
9370 cat >conftest.$ac_ext <<_ACEOF
9373 cat confdefs.h >>conftest.$ac_ext
9374 cat >>conftest.$ac_ext <<_ACEOF
9375 /* end confdefs.h. */
9377 /* Override any gcc2 internal prototype to avoid an error. */
9381 /* We use char because int might match the return type of a gcc2
9382 builtin and then its argument prototype would still apply. */
9392 rm -f conftest.$ac_objext conftest$ac_exeext
9393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9394 (eval $ac_link) 2>conftest.er1
9396 grep -v '^ *+' conftest.er1 >conftest.err
9398 cat conftest.err >&5
9399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9400 (exit $ac_status); } &&
9401 { ac_try='test -z "$ac_c_werror_flag"
9402 || test ! -s conftest.err'
9403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9407 (exit $ac_status); }; } &&
9408 { ac_try='test -s conftest$ac_exeext'
9409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9413 (exit $ac_status); }; }; then
9414 ac_cv_lib_m_tanf=yes
9416 echo "$as_me: failed program was:" >&5
9417 sed 's/^/| /' conftest.$ac_ext >&5
9421 rm -f conftest.err conftest.$ac_objext \
9422 conftest$ac_exeext conftest.$ac_ext
9423 LIBS=$ac_check_lib_save_LIBS
9425 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
9426 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
9427 if test $ac_cv_lib_m_tanf = yes; then
9429 cat >>confdefs.h <<\_ACEOF
9435 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
9436 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
9437 if test "${ac_cv_lib_m_tanhf+set}" = set; then
9438 echo $ECHO_N "(cached) $ECHO_C" >&6
9440 ac_check_lib_save_LIBS=$LIBS
9442 cat >conftest.$ac_ext <<_ACEOF
9445 cat confdefs.h >>conftest.$ac_ext
9446 cat >>conftest.$ac_ext <<_ACEOF
9447 /* end confdefs.h. */
9449 /* Override any gcc2 internal prototype to avoid an error. */
9453 /* We use char because int might match the return type of a gcc2
9454 builtin and then its argument prototype would still apply. */
9464 rm -f conftest.$ac_objext conftest$ac_exeext
9465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9466 (eval $ac_link) 2>conftest.er1
9468 grep -v '^ *+' conftest.er1 >conftest.err
9470 cat conftest.err >&5
9471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9472 (exit $ac_status); } &&
9473 { ac_try='test -z "$ac_c_werror_flag"
9474 || test ! -s conftest.err'
9475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9479 (exit $ac_status); }; } &&
9480 { ac_try='test -s conftest$ac_exeext'
9481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9485 (exit $ac_status); }; }; then
9486 ac_cv_lib_m_tanhf=yes
9488 echo "$as_me: failed program was:" >&5
9489 sed 's/^/| /' conftest.$ac_ext >&5
9491 ac_cv_lib_m_tanhf=no
9493 rm -f conftest.err conftest.$ac_objext \
9494 conftest$ac_exeext conftest.$ac_ext
9495 LIBS=$ac_check_lib_save_LIBS
9497 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
9498 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
9499 if test $ac_cv_lib_m_tanhf = yes; then
9501 cat >>confdefs.h <<\_ACEOF
9502 #define HAVE_TANHF 1
9507 echo "$as_me:$LINENO: checking for erf in -lm" >&5
9508 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
9509 if test "${ac_cv_lib_m_erf+set}" = set; then
9510 echo $ECHO_N "(cached) $ECHO_C" >&6
9512 ac_check_lib_save_LIBS=$LIBS
9514 cat >conftest.$ac_ext <<_ACEOF
9517 cat confdefs.h >>conftest.$ac_ext
9518 cat >>conftest.$ac_ext <<_ACEOF
9519 /* end confdefs.h. */
9521 /* Override any gcc2 internal prototype to avoid an error. */
9525 /* We use char because int might match the return type of a gcc2
9526 builtin and then its argument prototype would still apply. */
9536 rm -f conftest.$ac_objext conftest$ac_exeext
9537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9538 (eval $ac_link) 2>conftest.er1
9540 grep -v '^ *+' conftest.er1 >conftest.err
9542 cat conftest.err >&5
9543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9544 (exit $ac_status); } &&
9545 { ac_try='test -z "$ac_c_werror_flag"
9546 || test ! -s conftest.err'
9547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9551 (exit $ac_status); }; } &&
9552 { ac_try='test -s conftest$ac_exeext'
9553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9557 (exit $ac_status); }; }; then
9560 echo "$as_me: failed program was:" >&5
9561 sed 's/^/| /' conftest.$ac_ext >&5
9565 rm -f conftest.err conftest.$ac_objext \
9566 conftest$ac_exeext conftest.$ac_ext
9567 LIBS=$ac_check_lib_save_LIBS
9569 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
9570 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
9571 if test $ac_cv_lib_m_erf = yes; then
9573 cat >>confdefs.h <<\_ACEOF
9579 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
9580 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
9581 if test "${ac_cv_lib_m_erfc+set}" = set; then
9582 echo $ECHO_N "(cached) $ECHO_C" >&6
9584 ac_check_lib_save_LIBS=$LIBS
9586 cat >conftest.$ac_ext <<_ACEOF
9589 cat confdefs.h >>conftest.$ac_ext
9590 cat >>conftest.$ac_ext <<_ACEOF
9591 /* end confdefs.h. */
9593 /* Override any gcc2 internal prototype to avoid an error. */
9597 /* We use char because int might match the return type of a gcc2
9598 builtin and then its argument prototype would still apply. */
9608 rm -f conftest.$ac_objext conftest$ac_exeext
9609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9610 (eval $ac_link) 2>conftest.er1
9612 grep -v '^ *+' conftest.er1 >conftest.err
9614 cat conftest.err >&5
9615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9616 (exit $ac_status); } &&
9617 { ac_try='test -z "$ac_c_werror_flag"
9618 || test ! -s conftest.err'
9619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623 (exit $ac_status); }; } &&
9624 { ac_try='test -s conftest$ac_exeext'
9625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9629 (exit $ac_status); }; }; then
9630 ac_cv_lib_m_erfc=yes
9632 echo "$as_me: failed program was:" >&5
9633 sed 's/^/| /' conftest.$ac_ext >&5
9637 rm -f conftest.err conftest.$ac_objext \
9638 conftest$ac_exeext conftest.$ac_ext
9639 LIBS=$ac_check_lib_save_LIBS
9641 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
9642 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
9643 if test $ac_cv_lib_m_erfc = yes; then
9645 cat >>confdefs.h <<\_ACEOF
9651 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
9652 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
9653 if test "${ac_cv_lib_m_erfcf+set}" = set; then
9654 echo $ECHO_N "(cached) $ECHO_C" >&6
9656 ac_check_lib_save_LIBS=$LIBS
9658 cat >conftest.$ac_ext <<_ACEOF
9661 cat confdefs.h >>conftest.$ac_ext
9662 cat >>conftest.$ac_ext <<_ACEOF
9663 /* end confdefs.h. */
9665 /* Override any gcc2 internal prototype to avoid an error. */
9669 /* We use char because int might match the return type of a gcc2
9670 builtin and then its argument prototype would still apply. */
9680 rm -f conftest.$ac_objext conftest$ac_exeext
9681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9682 (eval $ac_link) 2>conftest.er1
9684 grep -v '^ *+' conftest.er1 >conftest.err
9686 cat conftest.err >&5
9687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9688 (exit $ac_status); } &&
9689 { ac_try='test -z "$ac_c_werror_flag"
9690 || test ! -s conftest.err'
9691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9695 (exit $ac_status); }; } &&
9696 { ac_try='test -s conftest$ac_exeext'
9697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9701 (exit $ac_status); }; }; then
9702 ac_cv_lib_m_erfcf=yes
9704 echo "$as_me: failed program was:" >&5
9705 sed 's/^/| /' conftest.$ac_ext >&5
9707 ac_cv_lib_m_erfcf=no
9709 rm -f conftest.err conftest.$ac_objext \
9710 conftest$ac_exeext conftest.$ac_ext
9711 LIBS=$ac_check_lib_save_LIBS
9713 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
9714 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
9715 if test $ac_cv_lib_m_erfcf = yes; then
9717 cat >>confdefs.h <<\_ACEOF
9718 #define HAVE_ERFCF 1
9723 echo "$as_me:$LINENO: checking for erff in -lm" >&5
9724 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
9725 if test "${ac_cv_lib_m_erff+set}" = set; then
9726 echo $ECHO_N "(cached) $ECHO_C" >&6
9728 ac_check_lib_save_LIBS=$LIBS
9730 cat >conftest.$ac_ext <<_ACEOF
9733 cat confdefs.h >>conftest.$ac_ext
9734 cat >>conftest.$ac_ext <<_ACEOF
9735 /* end confdefs.h. */
9737 /* Override any gcc2 internal prototype to avoid an error. */
9741 /* We use char because int might match the return type of a gcc2
9742 builtin and then its argument prototype would still apply. */
9752 rm -f conftest.$ac_objext conftest$ac_exeext
9753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9754 (eval $ac_link) 2>conftest.er1
9756 grep -v '^ *+' conftest.er1 >conftest.err
9758 cat conftest.err >&5
9759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9760 (exit $ac_status); } &&
9761 { ac_try='test -z "$ac_c_werror_flag"
9762 || test ! -s conftest.err'
9763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9767 (exit $ac_status); }; } &&
9768 { ac_try='test -s conftest$ac_exeext'
9769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9773 (exit $ac_status); }; }; then
9774 ac_cv_lib_m_erff=yes
9776 echo "$as_me: failed program was:" >&5
9777 sed 's/^/| /' conftest.$ac_ext >&5
9781 rm -f conftest.err conftest.$ac_objext \
9782 conftest$ac_exeext conftest.$ac_ext
9783 LIBS=$ac_check_lib_save_LIBS
9785 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
9786 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
9787 if test $ac_cv_lib_m_erff = yes; then
9789 cat >>confdefs.h <<\_ACEOF
9795 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
9796 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
9797 if test "${ac_cv_lib_m_j0+set}" = set; then
9798 echo $ECHO_N "(cached) $ECHO_C" >&6
9800 ac_check_lib_save_LIBS=$LIBS
9802 cat >conftest.$ac_ext <<_ACEOF
9805 cat confdefs.h >>conftest.$ac_ext
9806 cat >>conftest.$ac_ext <<_ACEOF
9807 /* end confdefs.h. */
9809 /* Override any gcc2 internal prototype to avoid an error. */
9813 /* We use char because int might match the return type of a gcc2
9814 builtin and then its argument prototype would still apply. */
9824 rm -f conftest.$ac_objext conftest$ac_exeext
9825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9826 (eval $ac_link) 2>conftest.er1
9828 grep -v '^ *+' conftest.er1 >conftest.err
9830 cat conftest.err >&5
9831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9832 (exit $ac_status); } &&
9833 { ac_try='test -z "$ac_c_werror_flag"
9834 || test ! -s conftest.err'
9835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9839 (exit $ac_status); }; } &&
9840 { ac_try='test -s conftest$ac_exeext'
9841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845 (exit $ac_status); }; }; then
9848 echo "$as_me: failed program was:" >&5
9849 sed 's/^/| /' conftest.$ac_ext >&5
9853 rm -f conftest.err conftest.$ac_objext \
9854 conftest$ac_exeext conftest.$ac_ext
9855 LIBS=$ac_check_lib_save_LIBS
9857 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
9858 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
9859 if test $ac_cv_lib_m_j0 = yes; then
9861 cat >>confdefs.h <<\_ACEOF
9867 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
9868 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
9869 if test "${ac_cv_lib_m_j0f+set}" = set; then
9870 echo $ECHO_N "(cached) $ECHO_C" >&6
9872 ac_check_lib_save_LIBS=$LIBS
9874 cat >conftest.$ac_ext <<_ACEOF
9877 cat confdefs.h >>conftest.$ac_ext
9878 cat >>conftest.$ac_ext <<_ACEOF
9879 /* end confdefs.h. */
9881 /* Override any gcc2 internal prototype to avoid an error. */
9885 /* We use char because int might match the return type of a gcc2
9886 builtin and then its argument prototype would still apply. */
9896 rm -f conftest.$ac_objext conftest$ac_exeext
9897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9898 (eval $ac_link) 2>conftest.er1
9900 grep -v '^ *+' conftest.er1 >conftest.err
9902 cat conftest.err >&5
9903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9904 (exit $ac_status); } &&
9905 { ac_try='test -z "$ac_c_werror_flag"
9906 || test ! -s conftest.err'
9907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9911 (exit $ac_status); }; } &&
9912 { ac_try='test -s conftest$ac_exeext'
9913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9917 (exit $ac_status); }; }; then
9920 echo "$as_me: failed program was:" >&5
9921 sed 's/^/| /' conftest.$ac_ext >&5
9925 rm -f conftest.err conftest.$ac_objext \
9926 conftest$ac_exeext conftest.$ac_ext
9927 LIBS=$ac_check_lib_save_LIBS
9929 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
9930 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
9931 if test $ac_cv_lib_m_j0f = yes; then
9933 cat >>confdefs.h <<\_ACEOF
9939 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
9940 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
9941 if test "${ac_cv_lib_m_j1+set}" = set; then
9942 echo $ECHO_N "(cached) $ECHO_C" >&6
9944 ac_check_lib_save_LIBS=$LIBS
9946 cat >conftest.$ac_ext <<_ACEOF
9949 cat confdefs.h >>conftest.$ac_ext
9950 cat >>conftest.$ac_ext <<_ACEOF
9951 /* end confdefs.h. */
9953 /* Override any gcc2 internal prototype to avoid an error. */
9957 /* We use char because int might match the return type of a gcc2
9958 builtin and then its argument prototype would still apply. */
9968 rm -f conftest.$ac_objext conftest$ac_exeext
9969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9970 (eval $ac_link) 2>conftest.er1
9972 grep -v '^ *+' conftest.er1 >conftest.err
9974 cat conftest.err >&5
9975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9976 (exit $ac_status); } &&
9977 { ac_try='test -z "$ac_c_werror_flag"
9978 || test ! -s conftest.err'
9979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9983 (exit $ac_status); }; } &&
9984 { ac_try='test -s conftest$ac_exeext'
9985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9989 (exit $ac_status); }; }; then
9992 echo "$as_me: failed program was:" >&5
9993 sed 's/^/| /' conftest.$ac_ext >&5
9997 rm -f conftest.err conftest.$ac_objext \
9998 conftest$ac_exeext conftest.$ac_ext
9999 LIBS=$ac_check_lib_save_LIBS
10001 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
10002 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
10003 if test $ac_cv_lib_m_j1 = yes; then
10005 cat >>confdefs.h <<\_ACEOF
10011 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
10012 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
10013 if test "${ac_cv_lib_m_j1f+set}" = set; then
10014 echo $ECHO_N "(cached) $ECHO_C" >&6
10016 ac_check_lib_save_LIBS=$LIBS
10018 cat >conftest.$ac_ext <<_ACEOF
10021 cat confdefs.h >>conftest.$ac_ext
10022 cat >>conftest.$ac_ext <<_ACEOF
10023 /* end confdefs.h. */
10025 /* Override any gcc2 internal prototype to avoid an error. */
10029 /* We use char because int might match the return type of a gcc2
10030 builtin and then its argument prototype would still apply. */
10040 rm -f conftest.$ac_objext conftest$ac_exeext
10041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10042 (eval $ac_link) 2>conftest.er1
10044 grep -v '^ *+' conftest.er1 >conftest.err
10046 cat conftest.err >&5
10047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10048 (exit $ac_status); } &&
10049 { ac_try='test -z "$ac_c_werror_flag"
10050 || test ! -s conftest.err'
10051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10052 (eval $ac_try) 2>&5
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 (exit $ac_status); }; } &&
10056 { ac_try='test -s conftest$ac_exeext'
10057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10058 (eval $ac_try) 2>&5
10060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10061 (exit $ac_status); }; }; then
10062 ac_cv_lib_m_j1f=yes
10064 echo "$as_me: failed program was:" >&5
10065 sed 's/^/| /' conftest.$ac_ext >&5
10069 rm -f conftest.err conftest.$ac_objext \
10070 conftest$ac_exeext conftest.$ac_ext
10071 LIBS=$ac_check_lib_save_LIBS
10073 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
10074 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
10075 if test $ac_cv_lib_m_j1f = yes; then
10077 cat >>confdefs.h <<\_ACEOF
10083 echo "$as_me:$LINENO: checking for jn in -lm" >&5
10084 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
10085 if test "${ac_cv_lib_m_jn+set}" = set; then
10086 echo $ECHO_N "(cached) $ECHO_C" >&6
10088 ac_check_lib_save_LIBS=$LIBS
10090 cat >conftest.$ac_ext <<_ACEOF
10093 cat confdefs.h >>conftest.$ac_ext
10094 cat >>conftest.$ac_ext <<_ACEOF
10095 /* end confdefs.h. */
10097 /* Override any gcc2 internal prototype to avoid an error. */
10101 /* We use char because int might match the return type of a gcc2
10102 builtin and then its argument prototype would still apply. */
10112 rm -f conftest.$ac_objext conftest$ac_exeext
10113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10114 (eval $ac_link) 2>conftest.er1
10116 grep -v '^ *+' conftest.er1 >conftest.err
10118 cat conftest.err >&5
10119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10120 (exit $ac_status); } &&
10121 { ac_try='test -z "$ac_c_werror_flag"
10122 || test ! -s conftest.err'
10123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10124 (eval $ac_try) 2>&5
10126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10127 (exit $ac_status); }; } &&
10128 { ac_try='test -s conftest$ac_exeext'
10129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10130 (eval $ac_try) 2>&5
10132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10133 (exit $ac_status); }; }; then
10136 echo "$as_me: failed program was:" >&5
10137 sed 's/^/| /' conftest.$ac_ext >&5
10141 rm -f conftest.err conftest.$ac_objext \
10142 conftest$ac_exeext conftest.$ac_ext
10143 LIBS=$ac_check_lib_save_LIBS
10145 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
10146 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
10147 if test $ac_cv_lib_m_jn = yes; then
10149 cat >>confdefs.h <<\_ACEOF
10155 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
10156 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
10157 if test "${ac_cv_lib_m_jnf+set}" = set; then
10158 echo $ECHO_N "(cached) $ECHO_C" >&6
10160 ac_check_lib_save_LIBS=$LIBS
10162 cat >conftest.$ac_ext <<_ACEOF
10165 cat confdefs.h >>conftest.$ac_ext
10166 cat >>conftest.$ac_ext <<_ACEOF
10167 /* end confdefs.h. */
10169 /* Override any gcc2 internal prototype to avoid an error. */
10173 /* We use char because int might match the return type of a gcc2
10174 builtin and then its argument prototype would still apply. */
10184 rm -f conftest.$ac_objext conftest$ac_exeext
10185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10186 (eval $ac_link) 2>conftest.er1
10188 grep -v '^ *+' conftest.er1 >conftest.err
10190 cat conftest.err >&5
10191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10192 (exit $ac_status); } &&
10193 { ac_try='test -z "$ac_c_werror_flag"
10194 || test ! -s conftest.err'
10195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10196 (eval $ac_try) 2>&5
10198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10199 (exit $ac_status); }; } &&
10200 { ac_try='test -s conftest$ac_exeext'
10201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10202 (eval $ac_try) 2>&5
10204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10205 (exit $ac_status); }; }; then
10206 ac_cv_lib_m_jnf=yes
10208 echo "$as_me: failed program was:" >&5
10209 sed 's/^/| /' conftest.$ac_ext >&5
10213 rm -f conftest.err conftest.$ac_objext \
10214 conftest$ac_exeext conftest.$ac_ext
10215 LIBS=$ac_check_lib_save_LIBS
10217 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
10218 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
10219 if test $ac_cv_lib_m_jnf = yes; then
10221 cat >>confdefs.h <<\_ACEOF
10227 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
10228 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
10229 if test "${ac_cv_lib_m_y0+set}" = set; then
10230 echo $ECHO_N "(cached) $ECHO_C" >&6
10232 ac_check_lib_save_LIBS=$LIBS
10234 cat >conftest.$ac_ext <<_ACEOF
10237 cat confdefs.h >>conftest.$ac_ext
10238 cat >>conftest.$ac_ext <<_ACEOF
10239 /* end confdefs.h. */
10241 /* Override any gcc2 internal prototype to avoid an error. */
10245 /* We use char because int might match the return type of a gcc2
10246 builtin and then its argument prototype would still apply. */
10256 rm -f conftest.$ac_objext conftest$ac_exeext
10257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10258 (eval $ac_link) 2>conftest.er1
10260 grep -v '^ *+' conftest.er1 >conftest.err
10262 cat conftest.err >&5
10263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10264 (exit $ac_status); } &&
10265 { ac_try='test -z "$ac_c_werror_flag"
10266 || test ! -s conftest.err'
10267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10268 (eval $ac_try) 2>&5
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); }; } &&
10272 { ac_try='test -s conftest$ac_exeext'
10273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10274 (eval $ac_try) 2>&5
10276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10277 (exit $ac_status); }; }; then
10280 echo "$as_me: failed program was:" >&5
10281 sed 's/^/| /' conftest.$ac_ext >&5
10285 rm -f conftest.err conftest.$ac_objext \
10286 conftest$ac_exeext conftest.$ac_ext
10287 LIBS=$ac_check_lib_save_LIBS
10289 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
10290 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
10291 if test $ac_cv_lib_m_y0 = yes; then
10293 cat >>confdefs.h <<\_ACEOF
10299 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
10300 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
10301 if test "${ac_cv_lib_m_y0f+set}" = set; then
10302 echo $ECHO_N "(cached) $ECHO_C" >&6
10304 ac_check_lib_save_LIBS=$LIBS
10306 cat >conftest.$ac_ext <<_ACEOF
10309 cat confdefs.h >>conftest.$ac_ext
10310 cat >>conftest.$ac_ext <<_ACEOF
10311 /* end confdefs.h. */
10313 /* Override any gcc2 internal prototype to avoid an error. */
10317 /* We use char because int might match the return type of a gcc2
10318 builtin and then its argument prototype would still apply. */
10328 rm -f conftest.$ac_objext conftest$ac_exeext
10329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10330 (eval $ac_link) 2>conftest.er1
10332 grep -v '^ *+' conftest.er1 >conftest.err
10334 cat conftest.err >&5
10335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10336 (exit $ac_status); } &&
10337 { ac_try='test -z "$ac_c_werror_flag"
10338 || test ! -s conftest.err'
10339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10340 (eval $ac_try) 2>&5
10342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10343 (exit $ac_status); }; } &&
10344 { ac_try='test -s conftest$ac_exeext'
10345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10346 (eval $ac_try) 2>&5
10348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10349 (exit $ac_status); }; }; then
10350 ac_cv_lib_m_y0f=yes
10352 echo "$as_me: failed program was:" >&5
10353 sed 's/^/| /' conftest.$ac_ext >&5
10357 rm -f conftest.err conftest.$ac_objext \
10358 conftest$ac_exeext conftest.$ac_ext
10359 LIBS=$ac_check_lib_save_LIBS
10361 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
10362 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
10363 if test $ac_cv_lib_m_y0f = yes; then
10365 cat >>confdefs.h <<\_ACEOF
10371 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
10372 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
10373 if test "${ac_cv_lib_m_y1+set}" = set; then
10374 echo $ECHO_N "(cached) $ECHO_C" >&6
10376 ac_check_lib_save_LIBS=$LIBS
10378 cat >conftest.$ac_ext <<_ACEOF
10381 cat confdefs.h >>conftest.$ac_ext
10382 cat >>conftest.$ac_ext <<_ACEOF
10383 /* end confdefs.h. */
10385 /* Override any gcc2 internal prototype to avoid an error. */
10389 /* We use char because int might match the return type of a gcc2
10390 builtin and then its argument prototype would still apply. */
10400 rm -f conftest.$ac_objext conftest$ac_exeext
10401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10402 (eval $ac_link) 2>conftest.er1
10404 grep -v '^ *+' conftest.er1 >conftest.err
10406 cat conftest.err >&5
10407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10408 (exit $ac_status); } &&
10409 { ac_try='test -z "$ac_c_werror_flag"
10410 || test ! -s conftest.err'
10411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10412 (eval $ac_try) 2>&5
10414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10415 (exit $ac_status); }; } &&
10416 { ac_try='test -s conftest$ac_exeext'
10417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10418 (eval $ac_try) 2>&5
10420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10421 (exit $ac_status); }; }; then
10424 echo "$as_me: failed program was:" >&5
10425 sed 's/^/| /' conftest.$ac_ext >&5
10429 rm -f conftest.err conftest.$ac_objext \
10430 conftest$ac_exeext conftest.$ac_ext
10431 LIBS=$ac_check_lib_save_LIBS
10433 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
10434 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
10435 if test $ac_cv_lib_m_y1 = yes; then
10437 cat >>confdefs.h <<\_ACEOF
10443 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
10444 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
10445 if test "${ac_cv_lib_m_y1f+set}" = set; then
10446 echo $ECHO_N "(cached) $ECHO_C" >&6
10448 ac_check_lib_save_LIBS=$LIBS
10450 cat >conftest.$ac_ext <<_ACEOF
10453 cat confdefs.h >>conftest.$ac_ext
10454 cat >>conftest.$ac_ext <<_ACEOF
10455 /* end confdefs.h. */
10457 /* Override any gcc2 internal prototype to avoid an error. */
10461 /* We use char because int might match the return type of a gcc2
10462 builtin and then its argument prototype would still apply. */
10472 rm -f conftest.$ac_objext conftest$ac_exeext
10473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10474 (eval $ac_link) 2>conftest.er1
10476 grep -v '^ *+' conftest.er1 >conftest.err
10478 cat conftest.err >&5
10479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480 (exit $ac_status); } &&
10481 { ac_try='test -z "$ac_c_werror_flag"
10482 || test ! -s conftest.err'
10483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10484 (eval $ac_try) 2>&5
10486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10487 (exit $ac_status); }; } &&
10488 { ac_try='test -s conftest$ac_exeext'
10489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10490 (eval $ac_try) 2>&5
10492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10493 (exit $ac_status); }; }; then
10494 ac_cv_lib_m_y1f=yes
10496 echo "$as_me: failed program was:" >&5
10497 sed 's/^/| /' conftest.$ac_ext >&5
10501 rm -f conftest.err conftest.$ac_objext \
10502 conftest$ac_exeext conftest.$ac_ext
10503 LIBS=$ac_check_lib_save_LIBS
10505 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
10506 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
10507 if test $ac_cv_lib_m_y1f = yes; then
10509 cat >>confdefs.h <<\_ACEOF
10515 echo "$as_me:$LINENO: checking for yn in -lm" >&5
10516 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
10517 if test "${ac_cv_lib_m_yn+set}" = set; then
10518 echo $ECHO_N "(cached) $ECHO_C" >&6
10520 ac_check_lib_save_LIBS=$LIBS
10522 cat >conftest.$ac_ext <<_ACEOF
10525 cat confdefs.h >>conftest.$ac_ext
10526 cat >>conftest.$ac_ext <<_ACEOF
10527 /* end confdefs.h. */
10529 /* Override any gcc2 internal prototype to avoid an error. */
10533 /* We use char because int might match the return type of a gcc2
10534 builtin and then its argument prototype would still apply. */
10544 rm -f conftest.$ac_objext conftest$ac_exeext
10545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10546 (eval $ac_link) 2>conftest.er1
10548 grep -v '^ *+' conftest.er1 >conftest.err
10550 cat conftest.err >&5
10551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10552 (exit $ac_status); } &&
10553 { ac_try='test -z "$ac_c_werror_flag"
10554 || test ! -s conftest.err'
10555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10556 (eval $ac_try) 2>&5
10558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10559 (exit $ac_status); }; } &&
10560 { ac_try='test -s conftest$ac_exeext'
10561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10562 (eval $ac_try) 2>&5
10564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565 (exit $ac_status); }; }; then
10568 echo "$as_me: failed program was:" >&5
10569 sed 's/^/| /' conftest.$ac_ext >&5
10573 rm -f conftest.err conftest.$ac_objext \
10574 conftest$ac_exeext conftest.$ac_ext
10575 LIBS=$ac_check_lib_save_LIBS
10577 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
10578 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
10579 if test $ac_cv_lib_m_yn = yes; then
10581 cat >>confdefs.h <<\_ACEOF
10587 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
10588 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
10589 if test "${ac_cv_lib_m_ynf+set}" = set; then
10590 echo $ECHO_N "(cached) $ECHO_C" >&6
10592 ac_check_lib_save_LIBS=$LIBS
10594 cat >conftest.$ac_ext <<_ACEOF
10597 cat confdefs.h >>conftest.$ac_ext
10598 cat >>conftest.$ac_ext <<_ACEOF
10599 /* end confdefs.h. */
10601 /* Override any gcc2 internal prototype to avoid an error. */
10605 /* We use char because int might match the return type of a gcc2
10606 builtin and then its argument prototype would still apply. */
10616 rm -f conftest.$ac_objext conftest$ac_exeext
10617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10618 (eval $ac_link) 2>conftest.er1
10620 grep -v '^ *+' conftest.er1 >conftest.err
10622 cat conftest.err >&5
10623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10624 (exit $ac_status); } &&
10625 { ac_try='test -z "$ac_c_werror_flag"
10626 || test ! -s conftest.err'
10627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10628 (eval $ac_try) 2>&5
10630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10631 (exit $ac_status); }; } &&
10632 { ac_try='test -s conftest$ac_exeext'
10633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10634 (eval $ac_try) 2>&5
10636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10637 (exit $ac_status); }; }; then
10638 ac_cv_lib_m_ynf=yes
10640 echo "$as_me: failed program was:" >&5
10641 sed 's/^/| /' conftest.$ac_ext >&5
10645 rm -f conftest.err conftest.$ac_objext \
10646 conftest$ac_exeext conftest.$ac_ext
10647 LIBS=$ac_check_lib_save_LIBS
10649 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
10650 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
10651 if test $ac_cv_lib_m_ynf = yes; then
10653 cat >>confdefs.h <<\_ACEOF
10660 # Fallback in case isfinite is not available.
10661 echo "$as_me:$LINENO: checking for finite in -lm" >&5
10662 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
10663 if test "${ac_cv_lib_m_finite+set}" = set; then
10664 echo $ECHO_N "(cached) $ECHO_C" >&6
10666 ac_check_lib_save_LIBS=$LIBS
10668 cat >conftest.$ac_ext <<_ACEOF
10671 cat confdefs.h >>conftest.$ac_ext
10672 cat >>conftest.$ac_ext <<_ACEOF
10673 /* end confdefs.h. */
10675 /* Override any gcc2 internal prototype to avoid an error. */
10679 /* We use char because int might match the return type of a gcc2
10680 builtin and then its argument prototype would still apply. */
10690 rm -f conftest.$ac_objext conftest$ac_exeext
10691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10692 (eval $ac_link) 2>conftest.er1
10694 grep -v '^ *+' conftest.er1 >conftest.err
10696 cat conftest.err >&5
10697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10698 (exit $ac_status); } &&
10699 { ac_try='test -z "$ac_c_werror_flag"
10700 || test ! -s conftest.err'
10701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10702 (eval $ac_try) 2>&5
10704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10705 (exit $ac_status); }; } &&
10706 { ac_try='test -s conftest$ac_exeext'
10707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10708 (eval $ac_try) 2>&5
10710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10711 (exit $ac_status); }; }; then
10712 ac_cv_lib_m_finite=yes
10714 echo "$as_me: failed program was:" >&5
10715 sed 's/^/| /' conftest.$ac_ext >&5
10717 ac_cv_lib_m_finite=no
10719 rm -f conftest.err conftest.$ac_objext \
10720 conftest$ac_exeext conftest.$ac_ext
10721 LIBS=$ac_check_lib_save_LIBS
10723 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
10724 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
10725 if test $ac_cv_lib_m_finite = yes; then
10727 cat >>confdefs.h <<\_ACEOF
10728 #define HAVE_FINITE 1
10734 # Let the user override this
10735 # Check whether --enable-cmath or --disable-cmath was given.
10736 if test "${enable_cmath+set}" = set; then
10737 enableval="$enable_cmath"
10738 need_math=$enableval
10740 if test "$need_math" = "yes"; then
10741 { echo "$as_me:$LINENO: Including complex math functions in libgfor" >&5
10742 echo "$as_me: Including complex math functions in libgfor" >&6;};
10743 extra_math_obj='$(gfor_cmath_obj)'
10746 MATH_OBJ="$extra_math_obj"
10749 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
10750 # for struct timezone, as you might think. We also need to check how
10751 # to call gettimeofday if we have it.
10752 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10753 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
10754 if test "${ac_cv_header_time+set}" = set; then
10755 echo $ECHO_N "(cached) $ECHO_C" >&6
10757 cat >conftest.$ac_ext <<_ACEOF
10760 cat confdefs.h >>conftest.$ac_ext
10761 cat >>conftest.$ac_ext <<_ACEOF
10762 /* end confdefs.h. */
10763 #include <sys/types.h>
10764 #include <sys/time.h>
10770 if ((struct tm *) 0)
10776 rm -f conftest.$ac_objext
10777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10778 (eval $ac_compile) 2>conftest.er1
10780 grep -v '^ *+' conftest.er1 >conftest.err
10782 cat conftest.err >&5
10783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784 (exit $ac_status); } &&
10785 { ac_try='test -z "$ac_c_werror_flag"
10786 || test ! -s conftest.err'
10787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10788 (eval $ac_try) 2>&5
10790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10791 (exit $ac_status); }; } &&
10792 { ac_try='test -s conftest.$ac_objext'
10793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10794 (eval $ac_try) 2>&5
10796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10797 (exit $ac_status); }; }; then
10798 ac_cv_header_time=yes
10800 echo "$as_me: failed program was:" >&5
10801 sed 's/^/| /' conftest.$ac_ext >&5
10803 ac_cv_header_time=no
10805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10807 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10808 echo "${ECHO_T}$ac_cv_header_time" >&6
10809 if test $ac_cv_header_time = yes; then
10811 cat >>confdefs.h <<\_ACEOF
10812 #define TIME_WITH_SYS_TIME 1
10819 for ac_func in gettimeofday
10821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10822 echo "$as_me:$LINENO: checking for $ac_func" >&5
10823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10824 if eval "test \"\${$as_ac_var+set}\" = set"; then
10825 echo $ECHO_N "(cached) $ECHO_C" >&6
10827 cat >conftest.$ac_ext <<_ACEOF
10830 cat confdefs.h >>conftest.$ac_ext
10831 cat >>conftest.$ac_ext <<_ACEOF
10832 /* end confdefs.h. */
10833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10835 #define $ac_func innocuous_$ac_func
10837 /* System header to define __stub macros and hopefully few prototypes,
10838 which can conflict with char $ac_func (); below.
10839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10840 <limits.h> exists even on freestanding compilers. */
10843 # include <limits.h>
10845 # include <assert.h>
10850 /* Override any gcc2 internal prototype to avoid an error. */
10855 /* We use char because int might match the return type of a gcc2
10856 builtin and then its argument prototype would still apply. */
10858 /* The GNU C library defines this for functions which it implements
10859 to always fail with ENOSYS. Some functions are actually named
10860 something starting with __ and the normal name is an alias. */
10861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10864 char (*f) () = $ac_func;
10873 return f != $ac_func;
10878 rm -f conftest.$ac_objext conftest$ac_exeext
10879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10880 (eval $ac_link) 2>conftest.er1
10882 grep -v '^ *+' conftest.er1 >conftest.err
10884 cat conftest.err >&5
10885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10886 (exit $ac_status); } &&
10887 { ac_try='test -z "$ac_c_werror_flag"
10888 || test ! -s conftest.err'
10889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10890 (eval $ac_try) 2>&5
10892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893 (exit $ac_status); }; } &&
10894 { ac_try='test -s conftest$ac_exeext'
10895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10896 (eval $ac_try) 2>&5
10898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10899 (exit $ac_status); }; }; then
10900 eval "$as_ac_var=yes"
10902 echo "$as_me: failed program was:" >&5
10903 sed 's/^/| /' conftest.$ac_ext >&5
10905 eval "$as_ac_var=no"
10907 rm -f conftest.err conftest.$ac_objext \
10908 conftest$ac_exeext conftest.$ac_ext
10910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10912 if test `eval echo '${'$as_ac_var'}'` = yes; then
10913 cat >>confdefs.h <<_ACEOF
10914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10920 if test "$ac_cv_func_gettimeofday" = yes; then
10921 echo "$as_me:$LINENO: checking for struct timezone" >&5
10922 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
10923 if test "${gfor_cv_struct_timezone+set}" = set; then
10924 echo $ECHO_N "(cached) $ECHO_C" >&6
10926 cat >conftest.$ac_ext <<_ACEOF
10929 cat confdefs.h >>conftest.$ac_ext
10930 cat >>conftest.$ac_ext <<_ACEOF
10931 /* end confdefs.h. */
10932 #include <sys/time.h>
10936 struct timezone tz;
10941 rm -f conftest.$ac_objext
10942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10943 (eval $ac_compile) 2>conftest.er1
10945 grep -v '^ *+' conftest.er1 >conftest.err
10947 cat conftest.err >&5
10948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10949 (exit $ac_status); } &&
10950 { ac_try='test -z "$ac_c_werror_flag"
10951 || test ! -s conftest.err'
10952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10953 (eval $ac_try) 2>&5
10955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10956 (exit $ac_status); }; } &&
10957 { ac_try='test -s conftest.$ac_objext'
10958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10959 (eval $ac_try) 2>&5
10961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10962 (exit $ac_status); }; }; then
10963 gfor_cv_struct_timezone=yes
10965 echo "$as_me: failed program was:" >&5
10966 sed 's/^/| /' conftest.$ac_ext >&5
10968 gfor_cv_struct_timezone=no
10970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10972 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
10973 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
10974 if test $gfor_cv_struct_timezone = yes; then
10975 if test "$cross_compiling" = yes; then
10976 gfor_have_struct_timezone=yes
10978 cat >conftest.$ac_ext <<_ACEOF
10981 cat confdefs.h >>conftest.$ac_ext
10982 cat >>conftest.$ac_ext <<_ACEOF
10983 /* end confdefs.h. */
10985 #ifdef TIME_WITH_SYS_TIME
10986 #include <sys/time.h>
10989 #ifdef HAVE_SYS_TIME_H
10990 #include <sys/time.h>
10997 struct timeval time;
10998 struct timezone dummy;
10999 if (gettimeofday (&time, &dummy))
11005 rm -f conftest$ac_exeext
11006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11007 (eval $ac_link) 2>&5
11009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11010 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11012 (eval $ac_try) 2>&5
11014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11015 (exit $ac_status); }; }; then
11016 gfor_have_struct_timezone=yes
11018 echo "$as_me: program exited with status $ac_status" >&5
11019 echo "$as_me: failed program was:" >&5
11020 sed 's/^/| /' conftest.$ac_ext >&5
11022 ( exit $ac_status )
11023 gfor_have_struct_timezone=no
11025 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11027 if test $gfor_have_struct_timezone = yes; then
11029 cat >>confdefs.h <<\_ACEOF
11030 #define HAVE_TIMEZONE 1
11036 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
11037 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
11038 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11039 echo $ECHO_N "(cached) $ECHO_C" >&6
11041 cat >conftest.$ac_ext <<_ACEOF
11044 cat confdefs.h >>conftest.$ac_ext
11045 cat >>conftest.$ac_ext <<_ACEOF
11046 /* end confdefs.h. */
11048 #ifdef TIME_WITH_SYS_TIME
11049 #include <sys/time.h>
11052 #ifdef HAVE_SYS_TIME_H
11053 #include <sys/time.h>
11063 struct timeval time;
11064 #ifdef HAVE_TIMEZONE
11065 struct timezone dummy;
11066 #define DUMMY &dummy
11070 gettimeofday (&time, DUMMY);
11075 rm -f conftest.$ac_objext conftest$ac_exeext
11076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11077 (eval $ac_link) 2>conftest.er1
11079 grep -v '^ *+' conftest.er1 >conftest.err
11081 cat conftest.err >&5
11082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11083 (exit $ac_status); } &&
11084 { ac_try='test -z "$ac_c_werror_flag"
11085 || test ! -s conftest.err'
11086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11087 (eval $ac_try) 2>&5
11089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11090 (exit $ac_status); }; } &&
11091 { ac_try='test -s conftest$ac_exeext'
11092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11093 (eval $ac_try) 2>&5
11095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11096 (exit $ac_status); }; }; then
11097 emacs_cv_gettimeofday_two_arguments=yes
11099 echo "$as_me: failed program was:" >&5
11100 sed 's/^/| /' conftest.$ac_ext >&5
11102 emacs_cv_gettimeofday_two_arguments=no
11104 rm -f conftest.err conftest.$ac_objext \
11105 conftest$ac_exeext conftest.$ac_ext
11107 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
11108 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11109 if test $emacs_cv_gettimeofday_two_arguments = no; then
11111 cat >>confdefs.h <<\_ACEOF
11112 #define GETTIMEOFDAY_ONE_ARGUMENT 1
11118 # Attempt to assert that the target is of common type in case we don't
11119 # have C99 integer types at all.
11121 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
11122 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
11123 if test "${target_ilp32+set}" = set; then
11124 echo $ECHO_N "(cached) $ECHO_C" >&6
11127 save_CFLAGS="$CFLAGS"
11129 cat >conftest.$ac_ext <<_ACEOF
11132 cat confdefs.h >>conftest.$ac_ext
11133 cat >>conftest.$ac_ext <<_ACEOF
11134 /* end confdefs.h. */
11140 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
11143 undefined_function ();
11149 rm -f conftest.$ac_objext conftest$ac_exeext
11150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11151 (eval $ac_link) 2>conftest.er1
11153 grep -v '^ *+' conftest.er1 >conftest.err
11155 cat conftest.err >&5
11156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11157 (exit $ac_status); } &&
11158 { ac_try='test -z "$ac_c_werror_flag"
11159 || test ! -s conftest.err'
11160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11161 (eval $ac_try) 2>&5
11163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11164 (exit $ac_status); }; } &&
11165 { ac_try='test -s conftest$ac_exeext'
11166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11167 (eval $ac_try) 2>&5
11169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11170 (exit $ac_status); }; }; then
11173 echo "$as_me: failed program was:" >&5
11174 sed 's/^/| /' conftest.$ac_ext >&5
11178 rm -f conftest.err conftest.$ac_objext \
11179 conftest$ac_exeext conftest.$ac_ext
11180 CFLAGS="$save_CFLAGS"
11182 echo "$as_me:$LINENO: result: $target_ilp32" >&5
11183 echo "${ECHO_T}$target_ilp32" >&6
11184 if test $target_ilp32 = yes; then
11186 cat >>confdefs.h <<\_ACEOF
11187 #define TARGET_ILP32 1
11193 # Check out attribute support.
11195 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
11196 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
11197 if test "${have_attribute_visibility+set}" = set; then
11198 echo $ECHO_N "(cached) $ECHO_C" >&6
11201 save_CFLAGS="$CFLAGS"
11202 CFLAGS="$CFLAGS -Werror"
11203 cat >conftest.$ac_ext <<_ACEOF
11206 cat confdefs.h >>conftest.$ac_ext
11207 cat >>conftest.$ac_ext <<_ACEOF
11208 /* end confdefs.h. */
11209 void __attribute__((visibility("hidden"))) foo(void) { }
11218 rm -f conftest.$ac_objext
11219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11220 (eval $ac_compile) 2>conftest.er1
11222 grep -v '^ *+' conftest.er1 >conftest.err
11224 cat conftest.err >&5
11225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11226 (exit $ac_status); } &&
11227 { ac_try='test -z "$ac_c_werror_flag"
11228 || test ! -s conftest.err'
11229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11230 (eval $ac_try) 2>&5
11232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233 (exit $ac_status); }; } &&
11234 { ac_try='test -s conftest.$ac_objext'
11235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11236 (eval $ac_try) 2>&5
11238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11239 (exit $ac_status); }; }; then
11240 have_attribute_visibility=yes
11242 echo "$as_me: failed program was:" >&5
11243 sed 's/^/| /' conftest.$ac_ext >&5
11245 have_attribute_visibility=no
11247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11248 CFLAGS="$save_CFLAGS"
11250 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
11251 echo "${ECHO_T}$have_attribute_visibility" >&6
11252 if test $have_attribute_visibility = yes; then
11254 cat >>confdefs.h <<\_ACEOF
11255 #define HAVE_ATTRIBUTE_VISIBILITY 1
11260 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
11261 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
11262 if test "${have_attribute_dllexport+set}" = set; then
11263 echo $ECHO_N "(cached) $ECHO_C" >&6
11266 save_CFLAGS="$CFLAGS"
11267 CFLAGS="$CFLAGS -Werror"
11268 cat >conftest.$ac_ext <<_ACEOF
11271 cat confdefs.h >>conftest.$ac_ext
11272 cat >>conftest.$ac_ext <<_ACEOF
11273 /* end confdefs.h. */
11274 void __attribute__((dllexport)) foo(void) { }
11283 rm -f conftest.$ac_objext
11284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11285 (eval $ac_compile) 2>conftest.er1
11287 grep -v '^ *+' conftest.er1 >conftest.err
11289 cat conftest.err >&5
11290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11291 (exit $ac_status); } &&
11292 { ac_try='test -z "$ac_c_werror_flag"
11293 || test ! -s conftest.err'
11294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11295 (eval $ac_try) 2>&5
11297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11298 (exit $ac_status); }; } &&
11299 { ac_try='test -s conftest.$ac_objext'
11300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11301 (eval $ac_try) 2>&5
11303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11304 (exit $ac_status); }; }; then
11305 have_attribute_dllexport=yes
11307 echo "$as_me: failed program was:" >&5
11308 sed 's/^/| /' conftest.$ac_ext >&5
11310 have_attribute_dllexport=no
11312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11313 CFLAGS="$save_CFLAGS"
11315 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
11316 echo "${ECHO_T}$have_attribute_dllexport" >&6
11317 if test $have_attribute_dllexport = yes; then
11319 cat >>confdefs.h <<\_ACEOF
11320 #define HAVE_ATTRIBUTE_DLLEXPORT 1
11325 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
11326 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
11327 if test "${have_attribute_alias+set}" = set; then
11328 echo $ECHO_N "(cached) $ECHO_C" >&6
11331 cat >conftest.$ac_ext <<_ACEOF
11334 cat confdefs.h >>conftest.$ac_ext
11335 cat >>conftest.$ac_ext <<_ACEOF
11336 /* end confdefs.h. */
11338 #define ULP STR1(__USER_LABEL_PREFIX__)
11339 #define STR1(x) STR2(x)
11342 extern void bar(void) __attribute__((alias(ULP "foo")));
11351 rm -f conftest.$ac_objext conftest$ac_exeext
11352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11353 (eval $ac_link) 2>conftest.er1
11355 grep -v '^ *+' conftest.er1 >conftest.err
11357 cat conftest.err >&5
11358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11359 (exit $ac_status); } &&
11360 { ac_try='test -z "$ac_c_werror_flag"
11361 || test ! -s conftest.err'
11362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11363 (eval $ac_try) 2>&5
11365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11366 (exit $ac_status); }; } &&
11367 { ac_try='test -s conftest$ac_exeext'
11368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11369 (eval $ac_try) 2>&5
11371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11372 (exit $ac_status); }; }; then
11373 have_attribute_alias=yes
11375 echo "$as_me: failed program was:" >&5
11376 sed 's/^/| /' conftest.$ac_ext >&5
11378 have_attribute_alias=no
11380 rm -f conftest.err conftest.$ac_objext \
11381 conftest$ac_exeext conftest.$ac_ext
11383 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
11384 echo "${ECHO_T}$have_attribute_alias" >&6
11385 if test $have_attribute_alias = yes; then
11387 cat >>confdefs.h <<\_ACEOF
11388 #define HAVE_ATTRIBUTE_ALIAS 1
11393 cat >confcache <<\_ACEOF
11394 # This file is a shell script that caches the results of configure
11395 # tests run on this system so they can be shared between configure
11396 # scripts and configure runs, see configure's option --config-cache.
11397 # It is not useful on other systems. If it contains results you don't
11398 # want to keep, you may remove or edit it.
11400 # config.status only pays attention to the cache file if you give it
11401 # the --recheck option to rerun configure.
11403 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11404 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11405 # following values.
11409 # The following way of writing the cache mishandles newlines in values,
11410 # but we know of no workaround that is simple, portable, and efficient.
11411 # So, don't put newlines in cache variables' values.
11412 # Ultrix sh set writes to stderr and can't be redirected directly,
11413 # and sets the high bit in the cache file unless we assign to the vars.
11416 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11418 # `set' does not quote correctly, so add quotes (double-quote
11419 # substitution turns \\\\ into \\, and sed turns \\ into \).
11422 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11425 # `set' quotes correctly as required by POSIX, so do not add quotes.
11427 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11434 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11436 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11438 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11439 if test -w $cache_file; then
11440 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11441 cat confcache >$cache_file
11443 echo "not updating unwritable cache $cache_file"
11448 if test ${multilib} = yes; then
11449 multilib_arg="--enable-multilib"
11454 # Write our Makefile.
11455 ac_config_files="$ac_config_files Makefile"
11457 cat >confcache <<\_ACEOF
11458 # This file is a shell script that caches the results of configure
11459 # tests run on this system so they can be shared between configure
11460 # scripts and configure runs, see configure's option --config-cache.
11461 # It is not useful on other systems. If it contains results you don't
11462 # want to keep, you may remove or edit it.
11464 # config.status only pays attention to the cache file if you give it
11465 # the --recheck option to rerun configure.
11467 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11468 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11469 # following values.
11473 # The following way of writing the cache mishandles newlines in values,
11474 # but we know of no workaround that is simple, portable, and efficient.
11475 # So, don't put newlines in cache variables' values.
11476 # Ultrix sh set writes to stderr and can't be redirected directly,
11477 # and sets the high bit in the cache file unless we assign to the vars.
11480 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11482 # `set' does not quote correctly, so add quotes (double-quote
11483 # substitution turns \\\\ into \\, and sed turns \\ into \).
11486 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11489 # `set' quotes correctly as required by POSIX, so do not add quotes.
11491 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11498 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11500 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11502 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11503 if test -w $cache_file; then
11504 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11505 cat confcache >$cache_file
11507 echo "not updating unwritable cache $cache_file"
11512 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11513 # Let make expand exec_prefix.
11514 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11516 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11517 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11518 # trailing colons and then remove the whole line if VPATH becomes empty
11519 # (actually we leave an empty line to preserve line numbers).
11520 if test "x$srcdir" = x.; then
11521 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11522 s/:*\$(srcdir):*/:/;
11523 s/:*\${srcdir}:*/:/;
11525 s/^\([^=]*=[ ]*\):*/\1/;
11531 DEFS=-DHAVE_CONFIG_H
11535 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11536 # 1. Remove the extension, and $U if already installed.
11537 ac_i=`echo "$ac_i" |
11538 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11540 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
11541 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
11543 LIBOBJS=$ac_libobjs
11545 LTLIBOBJS=$ac_ltlibobjs
11548 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11549 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11550 Usually this means the macro was only invoked conditionally." >&5
11551 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11552 Usually this means the macro was only invoked conditionally." >&2;}
11553 { (exit 1); exit 1; }; }
11556 : ${CONFIG_STATUS=./config.status}
11557 ac_clean_files_save=$ac_clean_files
11558 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11559 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11560 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11561 cat >$CONFIG_STATUS <<_ACEOF
11563 # Generated by $as_me.
11564 # Run this file to recreate the current configuration.
11565 # Compiler output produced by configure, useful for debugging
11566 # configure, is in config.log if it exists.
11569 ac_cs_recheck=false
11571 SHELL=\${CONFIG_SHELL-$SHELL}
11574 cat >>$CONFIG_STATUS <<\_ACEOF
11575 ## --------------------- ##
11576 ## M4sh Initialization. ##
11577 ## --------------------- ##
11579 # Be Bourne compatible
11580 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11583 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11584 # is contrary to our usage. Disable this feature.
11585 alias -g '${1+"$@"}'='"$@"'
11586 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
11589 DUALCASE=1; export DUALCASE # for MKS sh
11591 # Support unset when possible.
11592 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11599 # Work around bugs in pre-3.0 UWIN ksh.
11600 $as_unset ENV MAIL MAILPATH
11607 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11608 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11609 LC_TELEPHONE LC_TIME
11611 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11612 eval $as_var=C; export $as_var
11618 # Required to use basename.
11619 if expr a : '\(a\)' >/dev/null 2>&1; then
11625 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
11626 as_basename=basename
11632 # Name of the executable.
11633 as_me=`$as_basename "$0" ||
11634 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11635 X"$0" : 'X\(//\)$' \| \
11636 X"$0" : 'X\(/\)$' \| \
11637 . : '\(.\)' 2>/dev/null ||
11639 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11640 /^X\/\(\/\/\)$/{ s//\1/; q; }
11641 /^X\/\(\/\).*/{ s//\1/; q; }
11645 # PATH needs CR, and LINENO needs CR and PATH.
11646 # Avoid depending upon Character Ranges.
11647 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11648 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11649 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11650 as_cr_digits='0123456789'
11651 as_cr_alnum=$as_cr_Letters$as_cr_digits
11653 # The user is always right.
11654 if test "${PATH_SEPARATOR+set}" != set; then
11655 echo "#! /bin/sh" >conf$$.sh
11656 echo "exit 0" >>conf$$.sh
11658 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11667 as_lineno_1=$LINENO
11668 as_lineno_2=$LINENO
11669 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11670 test "x$as_lineno_1" != "x$as_lineno_2" &&
11671 test "x$as_lineno_3" = "x$as_lineno_2" || {
11672 # Find who we are. Look in the path if we contain no path at all
11675 *[\\/]* ) as_myself=$0 ;;
11676 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11677 for as_dir in $PATH
11680 test -z "$as_dir" && as_dir=.
11681 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11686 # We did not find ourselves, most probably we were run as `sh COMMAND'
11687 # in which case we are not to be found in the path.
11688 if test "x$as_myself" = x; then
11691 if test ! -f "$as_myself"; then
11692 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11693 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11694 { (exit 1); exit 1; }; }
11696 case $CONFIG_SHELL in
11698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11699 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
11702 test -z "$as_dir" && as_dir=.
11703 for as_base in sh bash ksh sh5; do
11706 if ("$as_dir/$as_base" -c '
11707 as_lineno_1=$LINENO
11708 as_lineno_2=$LINENO
11709 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11710 test "x$as_lineno_1" != "x$as_lineno_2" &&
11711 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
11712 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
11713 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
11714 CONFIG_SHELL=$as_dir/$as_base
11715 export CONFIG_SHELL
11716 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11724 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11725 # uniformly replaced by the line number. The first 'sed' inserts a
11726 # line-number line before each line; the second 'sed' does the real
11727 # work. The second script uses 'N' to pair each line-number line
11728 # with the numbered line, and appends trailing '-' during
11729 # substitution so that $LINENO is not a special case at line end.
11730 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11731 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11732 sed '=' <$as_myself |
11737 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11740 s,^['$as_cr_digits']*\n,,
11741 ' >$as_me.lineno &&
11742 chmod +x $as_me.lineno ||
11743 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11744 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11745 { (exit 1); exit 1; }; }
11747 # Don't try to exec as it changes $[0], causing all sort of problems
11748 # (the dirname of $[0] is not the place where we might find the
11749 # original and so on. Autoconf is especially sensible to this).
11751 # Exit status is that of the last command.
11756 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11757 *c*,-n*) ECHO_N= ECHO_C='
11759 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
11760 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
11763 if expr a : '\(a\)' >/dev/null 2>&1; then
11769 rm -f conf$$ conf$$.exe conf$$.file
11771 if ln -s conf$$.file conf$$ 2>/dev/null; then
11772 # We could just check for DJGPP; but this test a) works b) is more generic
11773 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11774 if test -f conf$$.exe; then
11775 # Don't use ln at all; we don't have any links
11780 elif ln conf$$.file conf$$ 2>/dev/null; then
11785 rm -f conf$$ conf$$.exe conf$$.file
11787 if mkdir -p . 2>/dev/null; then
11790 test -d ./-p && rmdir ./-p
11794 as_executable_p="test -f"
11796 # Sed expression to map a string onto a valid CPP name.
11797 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11799 # Sed expression to map a string onto a valid variable name.
11800 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11804 # We need space, tab and new line, in precisely that order.
11814 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11815 # report actual input values of CONFIG_FILES etc. instead of their
11816 # values after options handling. Logging --version etc. is OK.
11820 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11821 ## Running $as_me. ##
11826 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
11827 generated by GNU Autoconf 2.59. Invocation command line was
11829 CONFIG_FILES = $CONFIG_FILES
11830 CONFIG_HEADERS = $CONFIG_HEADERS
11831 CONFIG_LINKS = $CONFIG_LINKS
11832 CONFIG_COMMANDS = $CONFIG_COMMANDS
11836 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11840 # Files that config.status was made for.
11841 if test -n "$ac_config_files"; then
11842 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11845 if test -n "$ac_config_headers"; then
11846 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11849 if test -n "$ac_config_links"; then
11850 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11853 if test -n "$ac_config_commands"; then
11854 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11857 cat >>$CONFIG_STATUS <<\_ACEOF
11860 \`$as_me' instantiates files from templates according to the
11861 current configuration.
11863 Usage: $0 [OPTIONS] [FILE]...
11865 -h, --help print this help, then exit
11866 -V, --version print version number, then exit
11867 -q, --quiet do not print progress messages
11868 -d, --debug don't remove temporary files
11869 --recheck update $as_me by reconfiguring in the same conditions
11870 --file=FILE[:TEMPLATE]
11871 instantiate the configuration file FILE
11872 --header=FILE[:TEMPLATE]
11873 instantiate the configuration header FILE
11875 Configuration files:
11878 Configuration headers:
11881 Configuration commands:
11884 Report bugs to <bug-autoconf@gnu.org>."
11887 cat >>$CONFIG_STATUS <<_ACEOF
11889 GNU Fortran Runtime Library config.status 0.2
11890 configured by $0, generated by GNU Autoconf 2.59,
11891 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11893 Copyright (C) 2003 Free Software Foundation, Inc.
11894 This config.status script is free software; the Free Software Foundation
11895 gives unlimited permission to copy, distribute and modify it."
11900 cat >>$CONFIG_STATUS <<\_ACEOF
11901 # If no file are specified by the user, then we need to provide default
11902 # value. By we need to know if files were specified by the user.
11908 ac_option=`expr "x$1" : 'x\([^=]*\)='`
11909 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
11917 *) # This is not an option, so the user has probably given explicit
11920 ac_need_defaults=false;;
11924 # Handling of the options.
11926 cat >>$CONFIG_STATUS <<\_ACEOF
11927 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11929 --version | --vers* | -V )
11930 echo "$ac_cs_version"; exit 0 ;;
11932 # Conflict between --help and --header
11933 { { echo "$as_me:$LINENO: error: ambiguous option: $1
11934 Try \`$0 --help' for more information." >&5
11935 echo "$as_me: error: ambiguous option: $1
11936 Try \`$0 --help' for more information." >&2;}
11937 { (exit 1); exit 1; }; };;
11938 --help | --hel | -h )
11939 echo "$ac_cs_usage"; exit 0 ;;
11940 --debug | --d* | -d )
11942 --file | --fil | --fi | --f )
11944 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
11945 ac_need_defaults=false;;
11946 --header | --heade | --head | --hea )
11948 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
11949 ac_need_defaults=false;;
11950 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11951 | -silent | --silent | --silen | --sile | --sil | --si | --s)
11954 # This is an error.
11955 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11956 Try \`$0 --help' for more information." >&5
11957 echo "$as_me: error: unrecognized option: $1
11958 Try \`$0 --help' for more information." >&2;}
11959 { (exit 1); exit 1; }; } ;;
11961 *) ac_config_targets="$ac_config_targets $1" ;;
11967 ac_configure_extra_args=
11969 if $ac_cs_silent; then
11971 ac_configure_extra_args="$ac_configure_extra_args --silent"
11975 cat >>$CONFIG_STATUS <<_ACEOF
11976 if \$ac_cs_recheck; then
11977 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11978 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11983 cat >>$CONFIG_STATUS <<_ACEOF
11985 # INIT-COMMANDS section.
11992 with_multisubdir="$with_multisubdir"
11993 with_multisrctop="$with_multisrctop"
11994 with_target_subdir="$with_target_subdir"
11995 ac_configure_args="${multilib_arg} ${ac_configure_args}"
11996 multi_basedir="$multi_basedir"
11997 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
12004 cat >>$CONFIG_STATUS <<\_ACEOF
12005 for ac_config_target in $ac_config_targets
12007 case "$ac_config_target" in
12008 # Handling of arguments.
12009 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12010 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
12011 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12012 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12013 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12014 { (exit 1); exit 1; }; };;
12018 # If the user did not use the arguments to specify the items to instantiate,
12019 # then the envvar interface is used. Set only those that are not.
12020 # We use the long form for the default assignment because of an extremely
12021 # bizarre bug on SunOS 4.1.3.
12022 if $ac_need_defaults; then
12023 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12024 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12025 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12028 # Have a temporary directory for convenience. Make it in the build tree
12029 # simply because there is no reason to put it here, and in addition,
12030 # creating and moving files from /tmp can sometimes cause problems.
12031 # Create a temporary directory, and hook for its removal unless debugging.
12034 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12035 trap '{ (exit 1); exit 1; }' 1 2 13 15
12038 # Create a (secure) tmp directory for tmp files.
12041 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12042 test -n "$tmp" && test -d "$tmp"
12045 tmp=./confstat$$-$RANDOM
12046 (umask 077 && mkdir $tmp)
12049 echo "$me: cannot create a temporary directory in ." >&2
12050 { (exit 1); exit 1; }
12055 cat >>$CONFIG_STATUS <<_ACEOF
12058 # CONFIG_FILES section.
12061 # No need to generate the scripts if there are no CONFIG_FILES.
12062 # This happens for instance when ./config.status config.h
12063 if test -n "\$CONFIG_FILES"; then
12064 # Protect against being on the right side of a sed subst in config.status.
12065 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12066 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12067 s,@SHELL@,$SHELL,;t t
12068 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12069 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12070 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12071 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12072 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12073 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12074 s,@exec_prefix@,$exec_prefix,;t t
12075 s,@prefix@,$prefix,;t t
12076 s,@program_transform_name@,$program_transform_name,;t t
12077 s,@bindir@,$bindir,;t t
12078 s,@sbindir@,$sbindir,;t t
12079 s,@libexecdir@,$libexecdir,;t t
12080 s,@datadir@,$datadir,;t t
12081 s,@sysconfdir@,$sysconfdir,;t t
12082 s,@sharedstatedir@,$sharedstatedir,;t t
12083 s,@localstatedir@,$localstatedir,;t t
12084 s,@libdir@,$libdir,;t t
12085 s,@includedir@,$includedir,;t t
12086 s,@oldincludedir@,$oldincludedir,;t t
12087 s,@infodir@,$infodir,;t t
12088 s,@mandir@,$mandir,;t t
12089 s,@build_alias@,$build_alias,;t t
12090 s,@host_alias@,$host_alias,;t t
12091 s,@target_alias@,$target_alias,;t t
12092 s,@DEFS@,$DEFS,;t t
12093 s,@ECHO_C@,$ECHO_C,;t t
12094 s,@ECHO_N@,$ECHO_N,;t t
12095 s,@ECHO_T@,$ECHO_T,;t t
12096 s,@LIBS@,$LIBS,;t t
12097 s,@build@,$build,;t t
12098 s,@build_cpu@,$build_cpu,;t t
12099 s,@build_vendor@,$build_vendor,;t t
12100 s,@build_os@,$build_os,;t t
12101 s,@host@,$host,;t t
12102 s,@host_cpu@,$host_cpu,;t t
12103 s,@host_vendor@,$host_vendor,;t t
12104 s,@host_os@,$host_os,;t t
12105 s,@target@,$target,;t t
12106 s,@target_cpu@,$target_cpu,;t t
12107 s,@target_vendor@,$target_vendor,;t t
12108 s,@target_os@,$target_os,;t t
12109 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12110 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12111 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12112 s,@CYGPATH_W@,$CYGPATH_W,;t t
12113 s,@PACKAGE@,$PACKAGE,;t t
12114 s,@VERSION@,$VERSION,;t t
12115 s,@ACLOCAL@,$ACLOCAL,;t t
12116 s,@AUTOCONF@,$AUTOCONF,;t t
12117 s,@AUTOMAKE@,$AUTOMAKE,;t t
12118 s,@AUTOHEADER@,$AUTOHEADER,;t t
12119 s,@MAKEINFO@,$MAKEINFO,;t t
12120 s,@install_sh@,$install_sh,;t t
12121 s,@STRIP@,$STRIP,;t t
12122 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12123 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
12124 s,@mkdir_p@,$mkdir_p,;t t
12126 s,@SET_MAKE@,$SET_MAKE,;t t
12127 s,@am__leading_dot@,$am__leading_dot,;t t
12128 s,@AMTAR@,$AMTAR,;t t
12129 s,@am__tar@,$am__tar,;t t
12130 s,@am__untar@,$am__untar,;t t
12131 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12132 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12133 s,@MAINT@,$MAINT,;t t
12134 s,@multi_basedir@,$multi_basedir,;t t
12135 s,@toolexecdir@,$toolexecdir,;t t
12136 s,@toolexeclibdir@,$toolexeclibdir,;t t
12138 s,@ac_ct_CC@,$ac_ct_CC,;t t
12139 s,@EXEEXT@,$EXEEXT,;t t
12140 s,@OBJEXT@,$OBJEXT,;t t
12141 s,@CFLAGS@,$CFLAGS,;t t
12143 s,@ac_ct_AS@,$ac_ct_AS,;t t
12145 s,@ac_ct_AR@,$ac_ct_AR,;t t
12146 s,@RANLIB@,$RANLIB,;t t
12147 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12148 s,@LN_S@,$LN_S,;t t
12149 s,@LIBTOOL@,$LIBTOOL,;t t
12150 s,@enable_shared@,$enable_shared,;t t
12151 s,@enable_static@,$enable_static,;t t
12153 s,@FCFLAGS@,$FCFLAGS,;t t
12154 s,@LDFLAGS@,$LDFLAGS,;t t
12155 s,@ac_ct_FC@,$ac_ct_FC,;t t
12156 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
12158 s,@CPPFLAGS@,$CPPFLAGS,;t t
12159 s,@EGREP@,$EGREP,;t t
12160 s,@MATH_OBJ@,$MATH_OBJ,;t t
12161 s,@LIBOBJS@,$LIBOBJS,;t t
12162 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12167 cat >>$CONFIG_STATUS <<\_ACEOF
12168 # Split the substitutions into bite-sized pieces for seds with
12169 # small command number limits, like on Digital OSF/1 and HP-UX.
12170 ac_max_sed_lines=48
12171 ac_sed_frag=1 # Number of current file.
12172 ac_beg=1 # First line for current file.
12173 ac_end=$ac_max_sed_lines # Line after last line for current file.
12176 while $ac_more_lines; do
12177 if test $ac_beg -gt 1; then
12178 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12180 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12182 if test ! -s $tmp/subs.frag; then
12183 ac_more_lines=false
12185 # The purpose of the label and of the branching condition is to
12186 # speed up the sed processing (if there are no `@' at all, there
12187 # is no need to browse any of the substitutions).
12188 # These are the two extra sed commands mentioned above.
12190 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
12191 if test -z "$ac_sed_cmds"; then
12192 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
12194 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12196 ac_sed_frag=`expr $ac_sed_frag + 1`
12198 ac_end=`expr $ac_end + $ac_max_sed_lines`
12201 if test -z "$ac_sed_cmds"; then
12204 fi # test -n "$CONFIG_FILES"
12207 cat >>$CONFIG_STATUS <<\_ACEOF
12208 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
12209 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12211 - | *:- | *:-:* ) # input from stdin
12213 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12214 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12215 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12216 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12217 * ) ac_file_in=$ac_file.in ;;
12220 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12221 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12222 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12223 X"$ac_file" : 'X\(//\)[^/]' \| \
12224 X"$ac_file" : 'X\(//\)$' \| \
12225 X"$ac_file" : 'X\(/\)' \| \
12226 . : '\(.\)' 2>/dev/null ||
12228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12229 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12230 /^X\(\/\/\)$/{ s//\1/; q; }
12231 /^X\(\/\).*/{ s//\1/; q; }
12233 { if $as_mkdir_p; then
12238 while test ! -d "$as_dir"; do
12239 as_dirs="$as_dir $as_dirs"
12240 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12241 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12242 X"$as_dir" : 'X\(//\)[^/]' \| \
12243 X"$as_dir" : 'X\(//\)$' \| \
12244 X"$as_dir" : 'X\(/\)' \| \
12245 . : '\(.\)' 2>/dev/null ||
12247 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12248 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12249 /^X\(\/\/\)$/{ s//\1/; q; }
12250 /^X\(\/\).*/{ s//\1/; q; }
12253 test ! -n "$as_dirs" || mkdir $as_dirs
12254 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12255 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12256 { (exit 1); exit 1; }; }; }
12260 if test "$ac_dir" != .; then
12261 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12262 # A "../" for each directory in $ac_dir_suffix.
12263 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12265 ac_dir_suffix= ac_top_builddir=
12269 .) # No --srcdir option. We are building in place.
12271 if test -z "$ac_top_builddir"; then
12274 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12276 [\\/]* | ?:[\\/]* ) # Absolute path.
12277 ac_srcdir=$srcdir$ac_dir_suffix;
12278 ac_top_srcdir=$srcdir ;;
12279 *) # Relative path.
12280 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12281 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12284 # Do not use `cd foo && pwd` to compute absolute paths, because
12285 # the directories may not exist.
12287 .) ac_abs_builddir="$ac_dir";;
12290 .) ac_abs_builddir=`pwd`;;
12291 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12292 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12295 case $ac_abs_builddir in
12296 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12298 case ${ac_top_builddir}. in
12299 .) ac_abs_top_builddir=$ac_abs_builddir;;
12300 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12301 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12304 case $ac_abs_builddir in
12305 .) ac_abs_srcdir=$ac_srcdir;;
12308 .) ac_abs_srcdir=$ac_abs_builddir;;
12309 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12310 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12313 case $ac_abs_builddir in
12314 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12316 case $ac_top_srcdir in
12317 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12318 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12319 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12325 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12326 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
12329 if test x"$ac_file" != x-; then
12330 { echo "$as_me:$LINENO: creating $ac_file" >&5
12331 echo "$as_me: creating $ac_file" >&6;}
12334 # Let's still pretend it is `configure' which instantiates (i.e., don't
12335 # use $as_me), people would be surprised to read:
12336 # /* config.h. Generated by config.status. */
12337 if test x"$ac_file" = x-; then
12340 configure_input="$ac_file. "
12342 configure_input=$configure_input"Generated from `echo $ac_file_in |
12343 sed 's,.*/,,'` by configure."
12345 # First look for the input files in the build tree, otherwise in the
12347 ac_file_inputs=`IFS=:
12348 for f in $ac_file_in; do
12350 -) echo $tmp/stdin ;;
12352 # Absolute (can't be DOS-style, as IFS=:)
12353 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12354 echo "$as_me: error: cannot find input file: $f" >&2;}
12355 { (exit 1); exit 1; }; }
12358 if test -f "$f"; then
12361 elif test -f "$srcdir/$f"; then
12366 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12367 echo "$as_me: error: cannot find input file: $f" >&2;}
12368 { (exit 1); exit 1; }; }
12371 done` || { (exit 1); exit 1; }
12373 cat >>$CONFIG_STATUS <<_ACEOF
12377 cat >>$CONFIG_STATUS <<\_ACEOF
12379 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12380 s,@configure_input@,$configure_input,;t t
12381 s,@srcdir@,$ac_srcdir,;t t
12382 s,@abs_srcdir@,$ac_abs_srcdir,;t t
12383 s,@top_srcdir@,$ac_top_srcdir,;t t
12384 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
12385 s,@builddir@,$ac_builddir,;t t
12386 s,@abs_builddir@,$ac_abs_builddir,;t t
12387 s,@top_builddir@,$ac_top_builddir,;t t
12388 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
12389 s,@INSTALL@,$ac_INSTALL,;t t
12390 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12392 if test x"$ac_file" != x-; then
12393 mv $tmp/out $ac_file
12401 cat >>$CONFIG_STATUS <<\_ACEOF
12404 # CONFIG_HEADER section.
12407 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12408 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12410 # ac_d sets the value in "#define NAME VALUE" lines.
12411 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12412 ac_dB='[ ].*$,\1#\2'
12415 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12416 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12417 ac_uB='$,\1#\2define\3'
12421 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
12422 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12424 - | *:- | *:-:* ) # input from stdin
12426 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12427 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12428 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12429 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12430 * ) ac_file_in=$ac_file.in ;;
12433 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
12434 echo "$as_me: creating $ac_file" >&6;}
12436 # First look for the input files in the build tree, otherwise in the
12438 ac_file_inputs=`IFS=:
12439 for f in $ac_file_in; do
12441 -) echo $tmp/stdin ;;
12443 # Absolute (can't be DOS-style, as IFS=:)
12444 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12445 echo "$as_me: error: cannot find input file: $f" >&2;}
12446 { (exit 1); exit 1; }; }
12447 # Do quote $f, to prevent DOS paths from being IFS'd.
12450 if test -f "$f"; then
12453 elif test -f "$srcdir/$f"; then
12458 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12459 echo "$as_me: error: cannot find input file: $f" >&2;}
12460 { (exit 1); exit 1; }; }
12463 done` || { (exit 1); exit 1; }
12464 # Remove the trailing spaces.
12465 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12469 # Transform confdefs.h into two sed scripts, `conftest.defines' and
12470 # `conftest.undefs', that substitutes the proper values into
12471 # config.h.in to produce config.h. The first handles `#define'
12472 # templates, and the second `#undef' templates.
12473 # And first: Protect against being on the right side of a sed subst in
12474 # config.status. Protect against being in an unquoted here document
12475 # in config.status.
12476 rm -f conftest.defines conftest.undefs
12477 # Using a here document instead of a string reduces the quoting nightmare.
12478 # Putting comments in sed scripts is not portable.
12480 # `end' is used to avoid that the second main sed command (meant for
12481 # 0-ary CPP macros) applies to n-ary macro definitions.
12482 # See the Autoconf documentation for `clear'.
12483 cat >confdef2sed.sed <<\_ACEOF
12488 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12490 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12493 # If some macros were called several times there might be several times
12494 # the same #defines, which is useless. Nevertheless, we may not want to
12495 # sort them, since we want the *last* AC-DEFINE to be honored.
12496 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12497 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12498 rm -f confdef2sed.sed
12500 # This sed command replaces #undef with comments. This is necessary, for
12501 # example, in the case of _POSIX_SOURCE, which is predefined and required
12502 # on some systems where configure will not decide to define it.
12503 cat >>conftest.undefs <<\_ACEOF
12504 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12507 # Break up conftest.defines because some shells have a limit on the size
12508 # of here documents, and old seds have small limits too (100 cmds).
12509 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12510 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12511 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12512 echo ' :' >>$CONFIG_STATUS
12513 rm -f conftest.tail
12514 while grep . conftest.defines >/dev/null
12516 # Write a limited-size here document to $tmp/defines.sed.
12517 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12518 # Speed up: don't consider the non `#define' lines.
12519 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12520 # Work around the forget-to-reset-the-flag bug.
12521 echo 't clr' >>$CONFIG_STATUS
12522 echo ': clr' >>$CONFIG_STATUS
12523 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
12525 sed -f $tmp/defines.sed $tmp/in >$tmp/out
12527 mv $tmp/out $tmp/in
12529 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
12530 rm -f conftest.defines
12531 mv conftest.tail conftest.defines
12533 rm -f conftest.defines
12534 echo ' fi # grep' >>$CONFIG_STATUS
12535 echo >>$CONFIG_STATUS
12537 # Break up conftest.undefs because some shells have a limit on the size
12538 # of here documents, and old seds have small limits too (100 cmds).
12539 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12540 rm -f conftest.tail
12541 while grep . conftest.undefs >/dev/null
12543 # Write a limited-size here document to $tmp/undefs.sed.
12544 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12545 # Speed up: don't consider the non `#undef'
12546 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12547 # Work around the forget-to-reset-the-flag bug.
12548 echo 't clr' >>$CONFIG_STATUS
12549 echo ': clr' >>$CONFIG_STATUS
12550 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12552 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12554 mv $tmp/out $tmp/in
12556 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12557 rm -f conftest.undefs
12558 mv conftest.tail conftest.undefs
12560 rm -f conftest.undefs
12562 cat >>$CONFIG_STATUS <<\_ACEOF
12563 # Let's still pretend it is `configure' which instantiates (i.e., don't
12564 # use $as_me), people would be surprised to read:
12565 # /* config.h. Generated by config.status. */
12566 if test x"$ac_file" = x-; then
12567 echo "/* Generated by configure. */" >$tmp/config.h
12569 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12571 cat $tmp/in >>$tmp/config.h
12573 if test x"$ac_file" != x-; then
12574 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
12575 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12576 echo "$as_me: $ac_file is unchanged" >&6;}
12578 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12579 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12580 X"$ac_file" : 'X\(//\)[^/]' \| \
12581 X"$ac_file" : 'X\(//\)$' \| \
12582 X"$ac_file" : 'X\(/\)' \| \
12583 . : '\(.\)' 2>/dev/null ||
12585 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12586 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12587 /^X\(\/\/\)$/{ s//\1/; q; }
12588 /^X\(\/\).*/{ s//\1/; q; }
12590 { if $as_mkdir_p; then
12595 while test ! -d "$as_dir"; do
12596 as_dirs="$as_dir $as_dirs"
12597 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12598 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12599 X"$as_dir" : 'X\(//\)[^/]' \| \
12600 X"$as_dir" : 'X\(//\)$' \| \
12601 X"$as_dir" : 'X\(/\)' \| \
12602 . : '\(.\)' 2>/dev/null ||
12604 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12605 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12606 /^X\(\/\/\)$/{ s//\1/; q; }
12607 /^X\(\/\).*/{ s//\1/; q; }
12610 test ! -n "$as_dirs" || mkdir $as_dirs
12611 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12612 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12613 { (exit 1); exit 1; }; }; }
12616 mv $tmp/config.h $ac_file
12620 rm -f $tmp/config.h
12622 # Compute $ac_file's index in $config_headers.
12624 for _am_header in $config_headers :; do
12625 case $_am_header in
12626 $ac_file | $ac_file:* )
12629 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12632 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
12633 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12634 X$ac_file : 'X\(//\)[^/]' \| \
12635 X$ac_file : 'X\(//\)$' \| \
12636 X$ac_file : 'X\(/\)' \| \
12637 . : '\(.\)' 2>/dev/null ||
12639 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12640 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12641 /^X\(\/\/\)$/{ s//\1/; q; }
12642 /^X\(\/\).*/{ s//\1/; q; }
12643 s/.*/./; q'`/stamp-h$_am_stamp_count
12646 cat >>$CONFIG_STATUS <<\_ACEOF
12649 # CONFIG_COMMANDS section.
12651 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
12652 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
12653 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
12654 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
12655 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12656 X"$ac_dest" : 'X\(//\)[^/]' \| \
12657 X"$ac_dest" : 'X\(//\)$' \| \
12658 X"$ac_dest" : 'X\(/\)' \| \
12659 . : '\(.\)' 2>/dev/null ||
12661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12662 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12663 /^X\(\/\/\)$/{ s//\1/; q; }
12664 /^X\(\/\).*/{ s//\1/; q; }
12666 { if $as_mkdir_p; then
12671 while test ! -d "$as_dir"; do
12672 as_dirs="$as_dir $as_dirs"
12673 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12674 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12675 X"$as_dir" : 'X\(//\)[^/]' \| \
12676 X"$as_dir" : 'X\(//\)$' \| \
12677 X"$as_dir" : 'X\(/\)' \| \
12678 . : '\(.\)' 2>/dev/null ||
12680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12682 /^X\(\/\/\)$/{ s//\1/; q; }
12683 /^X\(\/\).*/{ s//\1/; q; }
12686 test ! -n "$as_dirs" || mkdir $as_dirs
12687 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12688 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12689 { (exit 1); exit 1; }; }; }
12693 if test "$ac_dir" != .; then
12694 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12695 # A "../" for each directory in $ac_dir_suffix.
12696 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12698 ac_dir_suffix= ac_top_builddir=
12702 .) # No --srcdir option. We are building in place.
12704 if test -z "$ac_top_builddir"; then
12707 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12709 [\\/]* | ?:[\\/]* ) # Absolute path.
12710 ac_srcdir=$srcdir$ac_dir_suffix;
12711 ac_top_srcdir=$srcdir ;;
12712 *) # Relative path.
12713 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12714 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12717 # Do not use `cd foo && pwd` to compute absolute paths, because
12718 # the directories may not exist.
12720 .) ac_abs_builddir="$ac_dir";;
12723 .) ac_abs_builddir=`pwd`;;
12724 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12725 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12728 case $ac_abs_builddir in
12729 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12731 case ${ac_top_builddir}. in
12732 .) ac_abs_top_builddir=$ac_abs_builddir;;
12733 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12734 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12737 case $ac_abs_builddir in
12738 .) ac_abs_srcdir=$ac_srcdir;;
12741 .) ac_abs_srcdir=$ac_abs_builddir;;
12742 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12743 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12746 case $ac_abs_builddir in
12747 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12749 case $ac_top_srcdir in
12750 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12751 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12752 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12757 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12758 echo "$as_me: executing $ac_dest commands" >&6;}
12761 # Only add multilib support code if we just rebuilt the top-level
12763 case " $CONFIG_FILES " in
12765 ac_file=Makefile . ${multi_basedir}/config-ml.in
12772 cat >>$CONFIG_STATUS <<\_ACEOF
12774 { (exit 0); exit 0; }
12776 chmod +x $CONFIG_STATUS
12777 ac_clean_files=$ac_clean_files_save
12780 # configure is writing to config.log, and then calls config.status.
12781 # config.status does its own redirection, appending to config.log.
12782 # Unfortunately, on DOS this fails, as config.log is still kept open
12783 # by configure, so config.status won't be able to write to it; its
12784 # output is simply discarded. So we exec the FD to /dev/null,
12785 # effectively closing config.log, so it can be properly (re)opened and
12786 # appended to by config.status. When coming back to configure, we
12787 # need to make the FD available again.
12788 if test "$no_create" != yes; then
12790 ac_config_status_args=
12791 test "$silent" = yes &&
12792 ac_config_status_args="$ac_config_status_args --quiet"
12794 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12796 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12797 # would make configure fail if this is the last instruction.
12798 $ac_cs_success || { (exit 1); exit 1; }